1 2015-08-03 Doug Evans <dje@google.com>
3 * lib/perftest/reporter.py (SUM_FILE_NAME): New global.
4 (LOG_FILE_NAME): New global.
5 (TextReporter.__init__): Initialize self.txt_sum.
6 (TextReporter.report): Add support for multiple data-points.
7 Move report to perftest.sum, put raw data in perftest.log.
8 (TextReporter.start): Open sum and log files.
9 (TextReporter.end): Close sum and log files.
10 * lib/perftest/testresult.py (SingleStatisticTestResult.record): Handle
13 2015-07-31 Pedro Alves <palves@redhat.com>
15 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
16 Use spawn_id_get_pid. Wait for spawn id after eof. Use
17 kill_wait_spawned_process instead of explicit "kill -9".
18 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
19 returning a spawn id instead of a pid. Use spawn_id_get_pid and
20 kill_wait_spawned_process.
21 * gdb.base/attach-twice.exp: Likewise.
22 * gdb.base/attach.exp: Likewise.
23 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
25 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
26 returning a spawn id instead of a pid. Use spawn_id_get_pid and
27 kill_wait_spawned_process.
28 * gdb.base/valgrind-infcall.exp: Likewise.
29 * gdb.multi/multi-attach.exp: Likewise.
30 * gdb.python/py-prompt.exp: Likewise.
31 * gdb.python/py-sync-interp.exp: Likewise.
32 * gdb.server/ext-attach.exp: Likewise.
33 * gdb.threads/attach-into-signal.exp (corefunc): Use
34 spawn_wait_for_attach, spawn_id_get_pid and
35 kill_wait_spawned_process.
36 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
37 spawn_wait_for_attach returning a spawn id instead of a pid. Use
38 spawn_id_get_pid and kill_wait_spawned_process.
39 * gdb.threads/attach-stopped.exp (corefunc): Use
40 spawn_wait_for_attach, spawn_id_get_pid and
41 kill_wait_spawned_process.
42 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
43 Use spawn_id_get_pid. Wait for spawn id after eof. Use
44 kill_wait_spawned_process instead of explicit "kill -9".
45 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
46 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
47 (spawn_wait_for_attach): Use spawn instead of exec to spawn
48 processes. Don't map cygwin/windows pids here. Now returns a
51 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
53 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
54 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
57 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
59 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
61 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
64 2014-05-21 Mark Wielaard <mjw@redhat.com>
66 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
68 2015-07-30 Pedro Alves <palves@redhat.com>
70 * linux-low.c (handle_extended_wait): Set the child's last
71 reported status to TARGET_WAITKIND_STOPPED.
73 2015-07-30 Pedro Alves <palves@redhat.com>
76 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
77 only shows inferior 1.
79 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
80 Pedro Alves <palves@redhat.com>
83 * gdb.threads/fork-plus-threads.c: New file.
84 * gdb.threads/fork-plus-threads.exp: New file.
86 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
88 * gdb.base/batch-preserve-term-settings.exp
89 (test_terminal_settings_preserved_after_cli_exit): Use
92 2015-07-29 Pedro Alves <palves@redhat.com>
93 Don Breazeal <donb@codesourcery.com>
95 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
96 output from both inferior_spawn_id and gdb_spawn_id.
98 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
100 * gdb.threads/attach-into-signal.exp (corefunc): Use
101 with_test_prefix on nested loops, uniquefying the test messages.
103 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
105 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
108 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
110 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
112 (test_terminal_settings_preserved_after_sigterm): New test.
114 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
116 * gdb.base/batch-preserve-term-settings.exp
117 (test_terminal_settings_preserved_after_cli_exit): New test.
119 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
121 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
122 manipulation of saved_gdbflags.
123 (test_terminal_settings_preserved): Remove global declaration of
124 the unused variable pagination_prompt. Remove manipulation of
125 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
128 2015-07-29 Pedro Alves <palves@redhat.com>
130 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
132 2015-07-29 Pedro Alves <palves@redhat.com>
134 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
137 2015-07-29 Pedro Alves <palves@redhat.com>
139 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
140 (main): Call gdb_unbuffer_output.
141 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
142 (main): Call gdb_unbuffer_output.
143 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
144 (main): Call gdb_unbuffer_output.
145 * gdb.base/call-strs.exp: Adjust to step over the
146 gdb_unbuffer_output call.
147 * gdb.base/catch-gdb-caused-signals.c: Include
148 "../lib/unbuffer_output.c".
149 (main): Call gdb_unbuffer_output.
150 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
151 (main): Call gdb_unbuffer_output.
152 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
153 (main): Call gdb_unbuffer_output.
154 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
155 (main): Call gdb_unbuffer_output.
156 * gdb.base/shlib-call.exp: Adjust to step over the
157 gdb_unbuffer_output call.
158 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
159 (main): Call gdb_unbuffer_output.
160 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
161 (main): Call gdb_unbuffer_output.
162 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
163 (main): Rename to ...
166 * gdb.base/varargs.exp: Run to test instead of to main.
167 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
168 (main): Call gdb_unbuffer_output.
170 2015-07-29 Pedro Alves <palves@redhat.com>
172 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
173 factore out from mi_continue_dprintf. For call-style dprintfs,
174 expect dprintf output out of $inferior_spawn_id.
175 (mi_continue_dprintf): Use mi_expect_dprintf.
176 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
177 (main): Call gdb_unbuffer_output.
179 2015-07-29 Pedro Alves <palves@redhat.com>
181 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
182 (default_mi_gdb_start): Set inferior_spawn_id instead of
183 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
185 (mi_gdb_test): Always expect inferior output from both
186 $inferior_spawn_id and $gdb_spawn_id.
188 2015-07-29 Pedro Alves <palves@redhat.com>
190 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
191 send_inferior and $inferior_spawn_id.
193 2015-07-29 Pedro Alves <palves@redhat.com>
195 * gdb.gdb/complaints.exp (test_initial_complaints)
196 (test_serial_complaints, test_short_complaints): Use
198 (test_empty_complaint): Handle $inferior_spawn_id !=
201 2015-07-29 Pedro Alves <palves@redhat.com>
203 * gdb.base/varargs.exp: Use gdb_test_stdio.
205 2015-07-29 Pedro Alves <palves@redhat.com>
207 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
209 2015-07-29 Pedro Alves <palves@redhat.com>
211 * gdb.base/ending-run.exp: Use gdb_test_stdio.
213 2015-07-29 Pedro Alves <palves@redhat.com>
215 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
216 parameter into two new parameters, "inf_result" and "gdb_result".
217 Expect inferior output and gdb output from $inferior_spawn_id and
218 $gdb_spawn_id, respectively. Adjust all callers.
220 2015-07-29 Pedro Alves <palves@redhat.com>
222 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
223 of gdb_test_sequence.
225 2015-07-29 Pedro Alves <palves@redhat.com>
227 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
228 (saw_spurious_output): Expect inferior output from
229 $inferior_spawn_id. Use gdb_test_stdio.
231 2015-07-29 Pedro Alves <palves@redhat.com>
233 * gdb.base/dprintf.exp: Use standard_testfile. Change
234 prepare_for_testing call.
235 (srcfile): Don't set.
236 (restart): New procedure.
237 (test_dprintf): New procecure, use to continue over dprintfs.
238 (test_call, test_agent): New procedures, tests moved here.
239 Restart gdb and recreate dprintfs. Adjust expected output.
241 2015-07-29 Pedro Alves <palves@redhat.com>
243 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
245 2015-07-29 Pedro Alves <palves@redhat.com>
247 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
249 2015-07-29 Pedro Alves <palves@redhat.com>
251 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
254 2015-07-29 Pedro Alves <palves@redhat.com>
256 * lib/gdb.exp (gdb_test_stdio): New procedure.
258 2015-07-29 Pedro Alves <palves@redhat.com>
260 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
262 2015-07-29 Pedro Alves <palves@redhat.com>
264 * gdb.base/call-signal-resume.exp: Remove check for
265 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
266 * gdb.base/unwindonsignal.exp: Likewise.
267 * gdb.base/call-signals.c (gen_signal): Remove printf call.
268 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
270 2015-07-29 Pedro Alves <palves@redhat.com>
272 * gdb.base/siginfo-addr.c (pass): New function.
273 (handler): Call it iff si_addr is correct.
274 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
275 Set a breakpoint at "pass" and continue to it.
277 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
279 * gdb.python/py-objfile.exp: Make some tests have unique names.
280 * gdb.python/py-pp-registration.exp: Likewise.
282 2015-07-28 Pedro Alves <palves@redhat.com>
284 * gdb.server/server-exec-info.exp: Issue a "disconnect".
286 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
288 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
290 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
292 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
294 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
296 * gdb.base/gdb-sigterm-2.exp: New test.
298 2015-07-25 Doug Evans <xdje42@gmail.com>
301 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
302 (workers/%.worker, build-perf): New rule.
303 (GDB_PERFTEST_MODE): New variable.
304 (check-perf): Use it.
305 (clean): Clean up gdb.perf parallel build subdirs.
306 * lib/build-piece.exp: New file.
307 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
308 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
310 (standard_temp_file): Ditto.
311 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
314 2015-07-24 Doug Evans <dje@google.com>
316 * gdb.perf/README: New file.
317 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
318 * lib/gen-perf-test.exp: New file.
320 2015-07-24 Doug Evans <dje@google.com>
322 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
323 (PerfTest::startup): New function.
324 (PerfTest::run): Return result of calling body.
325 (PerfTest::assemble): Rewrite.
326 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
327 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
328 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
329 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
330 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
332 2015-07-24 Doug Evans <dje@google.com>
334 * lib/gdb.exp (clean_restart): Make executable optional.
336 2015-07-24 Doug Evans <dje@google.com>
338 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
339 compiler_info references.
340 * gdb.cp/temargs.exp: Ditto.
341 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
342 (get_compiler_info): Early exit if already computed. Set compiler_info
343 to "unknown" if there was a problem.
344 (test_compiler_info): Add function comment. Call get_compiler_info.
346 2015-07-24 Doug Evans <dje@google.com>
348 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
349 (workers/%.worker, build-perf): New rule.
350 (GDB_PERFTEST_MODE): New variable.
351 (check-perf): Use it.
352 (clean): Clean up gdb.perf parallel build subdirs.
353 * lib/build-piece.exp: New file.
354 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
355 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
357 (standard_temp_file): Ditto.
358 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
361 2015-07-24 Doug Evans <dje@google.com>
363 * lib/future.exp (gdb_default_target_compile): New option
365 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
368 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
370 * gdb.base/catch-syscall.exp: Call gdb_exit before
373 2015-07-24 Pedro Alves <palves@redhat.com>
375 * gdb.python/py-events.exp: Accept output between the stop event
377 * gdb.python/py-evsignal.exp: Likewise.
378 * gdb.python/py-evthreads.exp: Likewise.
380 2015-07-24 Pedro Alves <palves@redhat.com>
383 * gdb.threads/non-ldr-exit.c: New file.
384 * gdb.threads/non-ldr-exit.exp: New file.
386 2015-07-24 Yao Qi <yao.qi@linaro.org>
388 * gdb.server/ext-wrapper.exp: Test --wrapper option when
391 2015-07-24 Yao Qi <yao.qi@linaro.org>
393 * gdb.server/ext-restart.exp: New file.
395 2015-07-24 Yao Qi <yao.qi@linaro.org>
397 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
399 * gdb.server/ext-wrapper.exp: New file.
401 2015-07-23 Doug Evans <dje@google.com>
403 * gdb.dwarf2/dw2-dummy-cu.S: New file.
404 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
406 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
408 * gdb.ada/var_arr_typedef.exp: New testcase.
409 * gdb.ada/var_arr_typedef/pack.adb: New file.
410 * gdb.ada/var_arr_typedef/pack.ads: New file.
411 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
413 2015-07-20 Joel Brobecker <brobecker@adacore.com>
415 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
417 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
419 * gdb.arch/i386-biarch-core.exp: Replace istarget
420 by "complete set gnutarget". Remove expectation for the "core-file"
423 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
425 Revert the previous commit:
426 Tests for validate symbol file using build-id.
428 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
430 Tests for validate symbol file using build-id.
431 * gdb.base/solib-mismatch-lib.c: New file.
432 * gdb.base/solib-mismatch-libmod.c: New file.
433 * gdb.base/solib-mismatch.c: New file.
434 * gdb.base/solib-mismatch.exp: New file.
436 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
438 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
440 * gdb.base/sigbpt.exp (stepi_out): Likewise.
441 * gdb.base/siginfo.exp: Likewise.
442 * gdb.base/sigstep.exp (advance, advancei): Likewise.
444 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
446 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
448 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
450 * gdb.trace/range-stepping.exp: Check that the target supports
453 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
455 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
457 2015-07-14 Pedro Alves <palves@redhat.com>
459 * gdb.base/killed-outside.exp: New file.
460 * gdb.base/killed-outside.c: New file.
462 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
464 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
466 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
468 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
470 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
471 infcall tests instead of setting up for KFAIL.
473 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
475 * gdb.btrace/record_goto-step.exp: New.
477 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
480 * gdb.compile/compile.c (struct struct_type): Add volatile to
482 * gdb.compile/compile.exp
483 (compile code struct_object.selffield = &struct_object): Skip further
484 struct_object tests if this one xfails.
486 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
489 * gdb.trace/ax.exp: Add test.
491 2015-07-07 Yao Qi <yao.qi@linaro.org>
493 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
494 instead of istarget "aarch64*-*-*".
495 * gdb.arch/aarch64-fp.exp: Likewise.
496 * gdb.base/float.exp: Likewise.
497 * gdb.reverse/aarch64.exp: Likewise.
498 * lib/gdb.exp (is_aarch64_target): New proc.
500 2015-07-07 Yao Qi <yao.qi@linaro.org>
502 * lib/gdb.exp (is_aarch32_target): New proc.
503 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
504 instead of "istarget "arm*-*-*"".
505 * gdb.arch/arm-disp-step.exp: Likewise.
506 * gdb.arch/thumb-bx-pc.exp: Likewise.
507 * gdb.arch/thumb-prologue.exp: Likewise.
508 * gdb.arch/thumb-singlestep.exp: Likewise.
509 * gdb.base/disp-step-syscall.exp: Likewise.
510 * gdb.base/float.exp: Likewise.
512 2015-07-07 Yao Qi <yao.qi@linaro.org>
514 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
515 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
517 2015-07-07 Yao Qi <yao.qi@linaro.org>
519 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
520 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
522 * gdb.multi/multi-arch.exp: Likewise.
524 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
526 * gdb.python/py-lazy-string.exp: Add missing parentheses to
529 2015-07-07 Yao Qi <yao.qi@linaro.org>
531 * gdb.arch/thumb-singlestep.exp: Do one more single step.
533 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
535 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
536 '[' and ']' characters.
538 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
540 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
542 2015-06-29 Pedro Alves <palves@redhat.com>
545 * gdb.threads/hand-call-new-thread.c: New file.
546 * gdb.threads/hand-call-new-thread.c: New file.
548 2015-06-26 Keith Seitz <keiths@redhat.com>
549 Doug Evans <dje@google.com>
552 * gdb.cp/var-tag-2.cc: New file.
553 * gdb.cp/var-tag-3.cc: New file.
554 * gdb.cp/var-tag-4.cc: New file.
555 * gdb.cp/var-tag.cc: New file.
556 * gdb.cp/var-tag.exp: New file.
558 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
560 * gdb.base/history-duplicates.exp: New test.
562 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
564 * gdb.base/completion.exp: Test the completion of the "focus"
567 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
569 * gdb.arch/amd64-prologue-skip.S: New file.
570 * gdb.arch/amd64-prologue-skip.exp: New file.
572 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
574 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
575 is_address_zero_readable check.
577 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
579 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
580 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
582 2015-06-24 Yao Qi <yao.qi@linaro.org>
584 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
587 2015-06-24 Yao Qi <yao.qi@linaro.org>
589 * lib/gdb.exp (supports_get_siginfo_type): New proc.
590 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
591 * gdb.base/siginfo-thread.exp: Likewise.
593 2015-06-22 Yao Qi <yao.qi@linaro.org>
595 * boards/remote-gdbserver-on-localhost.exp: Add comments.
597 2015-06-22 Yao Qi <yao.qi@linaro.org>
599 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
601 (skip_hw_watchpoint_tests): Likewise.
603 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
605 * gdb.base/gdbinit-history.exp: Test the interaction between
606 setting GDBHISTSIZE and setting the history size via .gdbinit.
608 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
611 * gdb.base/gdbhistsize-history.exp: New test.
613 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
615 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
617 * gdb.base/readline.exp: Likewise.
619 2015-06-17 Yao Qi <yao.qi@linaro.org>
621 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
624 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
626 * gdb.base/gdbinit-history.exp: Add test case to check that
627 an unlimited history file does not get truncated on exit.
629 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
631 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
632 (VECTOR): New macro. Use it...
633 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
634 ...for these typedefs.
635 (int8, char1, int1, double1): New typedefs.
636 (struct just_int2, struct two_int2): New structures.
637 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
638 (add_structvecs, add_singlevecs): New functions.
639 (main): Call add_some_intvecs twice.
640 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
641 the compile and exit upon failure. Try compiling for the "native"
642 architecture. Test inferior function calls with vector arguments
643 and vector return value handling with "finish" and "return".
645 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
647 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
648 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
650 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
652 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
655 * gdb.mi/mi-dprintf-pending.c: New file.
656 * gdb.mi/mi-dprintf-pending.exp: New test.
657 * gdb.mi/mi-dprintf-pendshr.c: New file.
659 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
660 Mircea Gherzan <mircea.gherzan@intel.com>
662 * gdb.arch/i386-mpx-map.c: New file.
663 * gdb.arch/i386-mpx-map.exp: New File.
665 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
667 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
668 * gdb.arch/i386-mpx.exp: Indentation fixed.
670 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
672 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
673 function and improved indentation.
674 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
675 gdb_test_multiple. Added additional tests to skip the test.
677 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
679 * gdb.arch/i386-avx512.c: Change path in include file.
680 * gdb.arch/i386-avx512.exp: Change include dir path
682 * gdb.arch/i386-mpx.c: Change path in include file.
683 * gdb.arch/i386-mpx.exp: Change include dir path compilation
686 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
688 * gdb.compile/compile-print.exp (compile print *vararray@3)
689 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
691 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
693 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
694 (do not keep jit in memory): ... this.
695 (expect 5): Change it to ...
696 (expect no 5): ... this.
698 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
701 * gdb.mi/mi-detach.exp: New file.
703 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
706 * gdb.arch/amd64-tailcall-self.S: New file.
707 * gdb.arch/amd64-tailcall-self.c: New file.
708 * gdb.arch/amd64-tailcall-self.exp: New file.
710 2015-05-28 Don Breazeal <donb@codesourcery.com>
712 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
713 tests for remote targets by checking is_target_gdbserver.
715 2015-05-27 Doug Evans <dje@google.com>
717 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
718 * gdb.dwarf2/opaque-type-lookup.c: New file.
719 * gdb.dwarf2/opaque-type-lookup.exp: New file.
721 2015-05-26 Doug Evans <dje@google.com>
723 * gdb.cp/iostream.cc: New file.
724 * gdb.cp/iostream.exp: New file.
726 2015-05-26 Doug Evans <dje@google.com>
728 * gdb.dwarf2/dw2-op-call.exp: Update.
729 * gdb.dwarf2/dw4-sig-types.exp: Update.
730 * gdb.dwarf2/implptr.exp: Update.
731 * gdb.mi/mi-cmd-param-changed.exp: Update.
733 2015-05-26 Doug Evans <dje@google.com>
735 * gdb.python/py-lazy-string.c: New file.
736 * gdb.python/py-lazy-string.exp: New file.
737 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
738 (main): Update. Add estring3.
739 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
740 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
742 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
743 Yao Qi <yao.qi@linaro.org>
745 * gdb.reverse/aarch64.c: New.
746 * gdb.reverse/aarch64.exp: New.
748 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
750 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
751 (supports_reverse): Likewise.
753 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
755 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
756 Use with_test_prefix.
758 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
760 * gdb.base/completion.exp: Add test for completion of layout
763 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
765 * lib/gdb.exp (skip_tui_tests): New proc.
766 * gdb.base/tui-layout.exp: Check skip_tui_tests.
768 2015-05-19 Pedro Alves <palves@redhat.com>
770 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
771 Save the whole env array instead of just HOME. Unset HISTSIZE in
772 the environment while testing. Restore whole environment
775 2015-05-16 Doug Evans <xdje42@gmail.com>
777 * gdb.guile/scm-ports.c: New file.
778 * gdb.guile/scm-ports.exp: Add memory port tests.
780 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
782 * gdb.compile/compile-print.c: New file.
783 * gdb.compile/compile-print.exp: New file.
785 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
787 * gdb.compile/compile-ops.exp: Cast param to void.
788 * gdb.compile/compile.exp: Complete type for _gdb_expr.
789 (compile code struct_object.selffield = &struct_object): Add xfail.
791 2015-05-15 Joel Brobecker <brobecker@adacore.com>
793 * gdb.ada/arr_enum_with_gap: New testcase.
795 2015-05-15 Joel Brobecker <brobecker@adacore.com>
797 * gdb.ada/byte_packed_arr: New testcase.
799 2015-05-15 Joel Brobecker <brobecker@adacore.com>
801 * gdb.ada/pckd_neg: New testcase.
803 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
806 * gdb.base/gdbinit-history.exp: New test.
807 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
808 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
810 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
812 * gdb.python/py-xmethods.cc: Enhance test case.
813 * gdb.python/py-xmethods.exp: New tests.
814 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
816 (B_indexoper): Likewise.
817 (global_dm_list) : Add new xmethod worker functions.
819 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
821 * gdb.base/coredump-filter.exp: Correctly unset
822 "coredump_var_addr" array.
824 2015-05-08 Pedro Alves <palves@redhat.com>
826 * gdb.server/non-existing-program.exp: Unset spawn_id.
828 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
831 * gdb.python/py-xmethods.exp: Add tests.
833 2015-05-08 Yao Qi <yao.qi@linaro.org>
836 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
837 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
838 function set_coredump_filter, and remove remote_exec call.
839 Remove argument ipid. Callers update.
840 (top level): Don't get inferior's PID.
842 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
844 * gdb.base/watch_thread_num.exp: Skip test on targets without
847 2015-05-06 Pedro Alves <palves@redhat.com>
850 * gdb.server/non-existing-program.exp: New file.
852 2015-05-05 Joel Brobecker <brobecker@adacore.com>
854 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
856 2015-05-05 Joel Brobecker <brobecker@adacore.com>
858 * gdb.ada/out_of_line_in_inlined: New testcase.
860 2015-05-05 Joel Brobecker <brobecker@adacore.com>
862 * gdb.ada/var_rec_arr: New testcase.
864 2015-04-30 Yao Qi <yao.qi@linaro.org>
866 * gdb.base/break-idempotent.exp: If
867 skip_hw_watchpoint_multi_tests returns true, skip the tests
868 on "rwatch" and "awatch".
870 2015-04-30 Yao Qi <yao.qi@linaro.org>
872 * gdb.base/relativedebug.exp: Invoke gdb command
873 "info sharedlibrary", and if libc.so doesn't have debug info,
876 2015-04-29 Doug Evans <dje@google.com>
878 * gdb.python/py-xmethods.exp: Add ptype tests.
879 * gdb.python/py-xmethods.py (E_method_char_worker): Add
880 get_result_type method.
882 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
884 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
885 the target does not support hardware watchpoints.
887 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
889 * gdb.base/break-always.exp: Abort testing if writing to memory
892 2015-04-28 Doug Evans <dje@google.com>
894 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
895 * gdb.python/py-pp-registration.exp: ... here. New file.
896 * gdb.python/py-pp-registration.c: New file.
897 * gdb.python/py-pp-registration.py: New file.
899 2015-04-28 Doug Evans <dje@google.com>
901 * gdb.python/py-bad-printers.c: New file.
902 * gdb.python/py-bad-printers.py: New file.
903 * gdb.python/py-bad-printers.exp: New file.
905 2015-04-28 Sasha Smundak <asmundak@google.com>
907 * gdb.python/py-type.exp: New test.
909 2015-04-28 Andy Wingo <wingo@igalia.com>
911 * gdb.python/py-parameter.exp:
912 * gdb.guile/scm-parameter.exp: Escape the path that we are
913 matching against, as it might contain characters that are special
914 to regular expressions.
916 2015-04-27 Joel Brobecker <brobecker@adacore.com>
918 * gdb.ada/rec_comp: New testcase.
920 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
922 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
925 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
927 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
928 new tests for verilog output.
930 2015-04-24 Yao Qi <yao.qi@linaro.org>
932 * boards/remote-gdbserver-on-localhost.exp: New file.
934 2015-04-23 Pedro Alves <palves@redhat.com>
936 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
937 $inferior_spawn_id instead of $inferior_spawn_id directly. On
938 "end of file", remove $inferior_spawn_id from the indirect list.
940 2015-04-23 Pedro Alves <palves@redhat.com>
942 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
944 2015-04-23 Pedro Alves <palves@redhat.com>
946 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
947 on $any_spawn_id instead of only on $gdb_spawn_id.
949 2015-04-21 Pierre Muller <muller@sourceware.org>
952 * lib/pascal.exp (gpc_compile): Add new option "class".
953 (fpc_compile): Likewise.
954 * gdb.pascal/case-insensitive-symbols.pas: New file.
955 * gdb.pascal/case-insensitive-symbols.exp: New file.
957 2015-04-20 Gary Benson <gbenson@redhat.com>
959 * gdb.base/attach.exp: Fix three extended remote failures.
961 2015-04-17 Gary Benson <gbenson@redhat.com>
963 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
964 the main executable over the remote protocol.
966 2015-04-16 Pedro Alves <palves@redhat.com>
968 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
969 a new gdbserver if gdbserver_reconnect_p is set.
971 2015-04-16 Pedro Alves <palves@redhat.com>
973 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
974 is set, don't exit gdbserver.
976 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
978 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
979 appropriate .insn, such that an older assembler can be used.
980 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
981 the z/Architecture instruction set on 31-bit targets as well.
983 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
985 * gdb.go/handcall.exp: Remove all logic related to the first
986 breakpoint and rely on go_runto_main instead.
987 * gdb.go/strings.exp: Likewise.
988 * gdb.go/unsafe.exp: Likewise.
989 * gdb.go/hello.exp: Likewise. Also rename the remaining
990 breakpoint marker to "breakpoint 1".
991 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
992 * gdb.go/strings.go: Likewise.
993 * gdb.go/unsafe.go: Likewise.
994 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
995 "set breakpoint 2 here" and rename the remaining breakpoint marker
998 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
1000 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
1001 if itertools.imap is not present.
1002 * gdb.python/py-objfile.exp: Add parentheses.
1003 * gdb.python/py-type.exp: Same.
1004 * gdb.python/py-unwind-maint.py: Same.
1006 2015-04-15 Yao Qi <yao.qi@linaro.org>
1008 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
1009 of ":$ptr_size" and set its form explicitly.
1011 2015-04-15 Pedro Alves <palves@redhat.com>
1012 Yao Qi <yao.qi@linaro.org>
1014 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
1015 timeout by factor of 4.
1016 (test_regular_watch): Likewise.
1017 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
1018 * gdb.reverse/sigall-reverse.exp: Likewise.
1019 * gdb.reverse/until-precsave.exp: Likewise.
1020 * lib/gdb.exp (with_timeout_factor): New proc.
1021 (gdb_expect): Move some code to ...
1022 (get_largest_timeout): ... here. New procedure.
1024 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
1026 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
1028 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
1030 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
1031 to write to the .text section.
1033 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
1035 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
1036 Handle the case of targets that do not provide PID information.
1038 2015-04-13 Yao Qi <yao.qi@linaro.org>
1040 * lib/gdbserver-support.exp (gdb_exit): Catch exception
1041 and use expect instead of gdb_expect.
1043 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
1045 * gdb.base/coredump-filter.exp: Rename variable "addr" to
1046 "coredump_var_addr" to avoid naming conflict with other testcases.
1048 2015-04-10 Pedro Alves <palves@redhat.com>
1050 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
1051 gdb_test_sequence and gdb_assert.
1053 2015-04-10 Pedro Alves <palves@redhat.com>
1055 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
1056 test messages that don't include the breakpoint address.
1058 2015-04-10 Yao Qi <yao.qi@linaro.org>
1060 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
1061 false for some offset and width combinations which aren't
1062 supported by linux kernel.
1064 2015-04-10 Pedro Alves <palves@redhat.com>
1066 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
1067 procedure, factored out from ...
1068 (top level): ... here. Add "set displaced-stepping" testing axis.
1069 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
1070 parameter "displaced". Use it.
1071 (top level): Use foreach and add "set displaced-stepping" testing
1074 2015-04-10 Pedro Alves <palves@redhat.com>
1076 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
1078 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
1079 both the address of the instruction that triggers the watchpoint
1080 and the address of the instruction immediately after, and use
1081 those addresses for the test. Fix comment.
1083 2015-04-10 Pedro Alves <palves@redhat.com>
1085 * gdb.base/sigstep.exp (breakpoint_to_handler)
1086 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
1087 Test "backtrace" in handler.
1088 (breakpoint_over_handler): New parameter 'displaced'. Use it.
1089 (top level): Add new "displaced" test axis to
1090 breakpoint_to_handler, breakpoint_to_handler_entry and
1091 breakpoint_over_handler.
1093 2015-04-10 Pedro Alves <palves@redhat.com>
1096 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
1098 2015-04-10 Yao Qi <yao.qi@linaro.org>
1100 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
1101 (test_add_rn_pc): New function.
1102 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
1103 (top level): Invoke test_add_rn_pc.
1105 2015-04-10 Pedro Alves <palves@redhat.com>
1108 * gdb.base/step-over-no-symbols.exp: New file.
1110 2015-04-09 Andy Wingo <wingo@igalia.com>
1112 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
1113 after the Python tests.
1115 2015-04-08 Keith Seitz <keiths@redhat.com>
1118 * gdb.python/py-completion.exp: New tests for completion.
1119 * gdb.python/py-completion.py (CompleteLimit1): New class.
1120 (CompleteLimit2): Likewise.
1121 (CompleteLimit3): Likewise.
1122 (CompleteLimit4): Likewise.
1123 (CompleteLimit5): Likewise.
1124 (CompleteLimit6): Likewise.
1125 (CompleteLimit7): Likewise.
1127 2015-04-08 Pedro Alves <palves@redhat.com>
1131 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
1133 (main): Install it as SIGUSR1 handler.
1134 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
1135 parameter. Always use "setup" as prefix. Toggle "set
1136 displaced-stepping" off/on depending on global. Don't switch to
1138 (top level): Add displaced stepping "off/on" test axis. Update
1139 "setup" calls. Wrap each subtest with with_test_prefix. Test
1140 continuing with a queued signal in each thread.
1142 2015-04-08 Pedro Alves <palves@redhat.com>
1144 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
1145 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
1146 gdb_breakpoint instead of gdb_test that doesn't expect anything.
1147 Return early if running to main fails.
1148 * gdb.trace/while-stepping.exp: Likewise.
1150 2015-04-07 Pedro Alves <palves@redhat.com>
1152 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
1153 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
1154 interact with inferior program.
1156 2015-04-07 Pedro Alves <palves@redhat.com>
1158 * lib/gdb.exp (inferior_spawn_id): New global.
1159 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
1160 spawn id after processing the user code.
1161 (default_gdb_start): Set inferior_spawn_id.
1162 (send_inferior): New procedure.
1163 * lib/gdbserver-support.exp (gdbserver_start): Set
1165 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
1167 2015-04-07 Pedro Alves <palves@redhat.com>
1169 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
1170 * lib/gdbserver-support.exp (gdbserver_start): Make
1171 $server_spawn_id global.
1172 (gdbserver_start): Don't wait for gdbserver's spawn id with
1174 (close_gdbserver): New procedure.
1175 (gdb_exit): Rename the default version and reimplement.
1177 2015-04-07 Pedro Alves <palves@redhat.com>
1179 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
1180 append the substituted item, not the original item.
1182 2015-04-07 Pedro Alves <palves@redhat.com>
1184 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
1187 2015-04-07 Pedro Alves <palves@redhat.com>
1189 * gdb.base/interrupt.exp: Don't handle the case of the inferior
1190 output appearing once only.
1192 2015-04-07 Pedro Alves <palves@redhat.com>
1194 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
1195 that doesn't expect anything. Return early if running to main
1198 2015-04-07 Yao Qi <yao.qi@linaro.org>
1200 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
1201 (child_function): Call alarm.
1202 (main): Move call to alarm into the loop.
1203 * gdb.threads/non-stop-fair-events.exp: Build program with
1206 2015-04-06 Doug Evans <xdje42@gmail.com>
1208 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
1209 Fix dest parameter to board_info.
1210 (fpc_compile): Ditto.
1211 (gdb_compile_pascal): Rename dest arg to destfile.
1213 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
1215 * gdb.ada/funcall_ref.exp: New file.
1216 * gdb.ada/funcall_ref/foo.adb: New file.
1218 2015-04-02 Yao Qi <yao.qi@linaro.org>
1220 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
1223 2015-04-02 Gary Benson <gbenson@redhat.com>
1225 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
1227 2015-04-01 Sasha Smundak <asmundak@google.com>
1229 * gdb.python/py-unwind-maint.c: New file.
1230 * gdb.python/py-unwind-maint.exp: New test.
1231 * gdb.python/py-unwind-maint.py: New file.
1232 * gdb.python/py-unwind.c: New file.
1233 * gdb.python/py-unwind.exp: New test.
1234 * gdb.python/py-unwind.py: New test.
1236 2015-04-01 Pedro Alves <palves@redhat.com>
1238 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
1239 to fail instead of non-existent $test.
1241 2015-04-01 Pedro Alves <palves@redhat.com>
1243 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
1244 GDBFLAGS if not empty.
1246 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
1248 * gdb.ada/complete.exp: Remove "multi_line".
1249 * gdb.ada/info_exc.exp: Remove "multi_line".
1250 * gdb.ada/packed_tagged.exp: Remove "multi_line".
1251 * gdb.ada/ptype_field.exp: Remove "multi_line".
1252 * gdb.ada/sym_print_name.exp: Remove "multi_line".
1253 * gdb.ada/tagged.exp: Remove "multi_line".
1254 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
1256 * gdb.btrace/delta.exp: Likewise.
1257 * gdb.btrace/exception.exp: Likewise.
1258 * gdb.btrace/function_call_history.exp: Likewise.
1259 * gdb.btrace/instruction_history.exp: Likewise.
1260 * gdb.btrace/nohist.exp: Likewise.
1261 * gdb.btrace/record_goto.exp: Likewise.
1262 * gdb.btrace/segv.exp: Likewise.
1263 * gdb.btrace/stepi.exp: Likewise.
1264 * gdb.btrace/tailcall.exp: Likewise.
1265 * gdb.btrace/unknown_functions.exp: Likewise.
1266 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
1267 * lib/gdb.exp: Add the "multi_line" helper.
1269 2015-04-01 Pedro Alves <palves@redhat.com>
1271 * gdb.threads/tid-reuse.c: New file.
1272 * gdb.threads/tid-reuse.exp: New file.
1274 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
1277 * gdb.base/coredump-filter.c: New file.
1278 * gdb.base/coredump-filter.exp: Likewise.
1280 2015-03-27 Petr Machata <pmachata@redhat.com>
1282 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
1283 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
1284 (Dwarf::assemble): Initialize them.
1285 (Dwarf::lines): New function.
1287 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
1289 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
1290 SYMBOL_PREFIX for x86_64-*-cygwin.
1292 2015-03-26 Andy Wingo <wingo@igalia.com>
1295 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
1296 const_value but not a location.
1297 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
1298 location defined in non-main CUs are visible.
1300 2015-03-26 Yao Qi <yao.qi@linaro.org>
1303 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
1304 Add a line number entry for the same line.
1305 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
1306 Add a line number entry for the same line.
1308 2015-03-26 Yao Qi <yao.qi@linaro.org>
1310 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
1312 (func): Likewise. Add .Lfunc_1 label.
1314 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
1319 2015-03-26 Yao Qi <yao.qi@linaro.org>
1321 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
1322 Call gdb_compile instead to compile each .s files without debug
1325 2015-03-26 Yao Qi <yao.qi@linaro.org>
1327 * gdb.base/savedregs.exp (process_saved_regs): Make
1328 "Saved registers:" optional in the pattern.
1330 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
1332 * gdb.btrace/next.exp: Merged into step.exp.
1333 * gdb.btrace/finish.exp: Merged into step.exp.
1334 * gdb.btrace/nexti.exp: Merged into stepi.exp.
1335 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
1336 "record goto" and checking the exact replay position.
1337 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
1338 check for "Recording format" in "info record" output.
1339 * gdb.btrace/record_goto.exp: Choose test file based on target.
1340 * gdb.btrace/x86-record_goto.S: Renamed into ...
1341 * gdb.btrace/x86_64-record_goto.S: ... this.
1342 * gdb.btrace/i686-record_goto.S: New.
1343 * gdb.btrace/x86-tailcall.S: Renamed into ...
1344 * gdb.btrace/x86_64-tailcall.S: ... this.
1345 * gdb.btrace/i686-tailcall.S: New.
1346 * gdb.btrace/x86-tailcall.c: Renamed into ...
1347 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
1348 separate statements. Update test.
1349 * gdb.btrace/delta.exp: Use record_goto.c as test file.
1350 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
1351 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
1352 * gdb.btrace/tailcall.exp: Choose test file based on target.
1353 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
1355 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
1357 * gdb.btrace/exception.exp: Increase BTS buffer size.
1359 2015-03-24 Pedro Alves <palves@redhat.com>
1361 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
1363 2015-03-24 Pedro Alves <palves@redhat.com>
1365 * gdb.threads/schedlock.exp (test_step): No longer expect that
1366 "set scheduler-locking step" with "next" over a function call runs
1369 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1371 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
1373 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1375 PR breakpoints/16466
1376 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
1377 * gdb.mi/mi-pending.c (thread_func): New function.
1378 (int main): Add threading support required.
1379 * gdb.mi/mi-pending.exp: Add tests for this issue.
1380 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
1381 (pendfunc2): Remove stdio dependency.
1382 * gdb.mi/mi-pendshr2.c: New file.
1384 2015-03-23 Keith Seitz <keiths@redhat.com>
1386 * gdb.linespec/keywords.c: New file.
1387 * gdb.linespec/keywords.exp: New file.
1389 2015-03-23 Keith Seitz <keiths@redhat.com>
1392 * gdb.dwarf2/staticvirtual.exp: New test.
1394 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1396 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
1397 * README: Remove HP-UX and gdb.hp.
1399 * configure: Regenerate.
1400 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
1401 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
1402 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
1403 gdb.hp/gdb.defects/Makefile.
1404 * gdb.hp/Makefile.in: File deleted.
1405 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
1406 * gdb.hp/gdb.aCC/optimize.c: File deleted.
1407 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
1408 * gdb.hp/gdb.aCC/run.c: File deleted.
1409 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
1410 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
1411 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
1412 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
1413 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
1414 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
1415 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
1416 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
1417 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
1418 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
1419 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
1420 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
1421 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
1422 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
1423 * gdb.hp/gdb.base-hp/reg.s: File deleted.
1424 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
1425 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
1426 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
1427 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
1428 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
1429 * gdb.hp/gdb.compat/Makefile.in: File deleted.
1430 * gdb.hp/gdb.compat/average.c: File deleted.
1431 * gdb.hp/gdb.compat/sum.c: File deleted.
1432 * gdb.hp/gdb.compat/xdb.c: File deleted.
1433 * gdb.hp/gdb.compat/xdb0.c: File deleted.
1434 * gdb.hp/gdb.compat/xdb0.h: File deleted.
1435 * gdb.hp/gdb.compat/xdb1.c: File deleted.
1436 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
1437 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
1438 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
1439 * gdb.hp/gdb.defects/Makefile.in: File deleted.
1440 * gdb.hp/gdb.defects/bs14602.c: File deleted.
1441 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
1442 * gdb.hp/gdb.defects/solib-d.c: File deleted.
1443 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
1444 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
1445 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
1446 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
1447 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
1448 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
1449 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
1450 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
1451 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
1452 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
1453 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
1454 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
1455 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
1456 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
1457 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
1458 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
1459 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
1460 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
1461 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
1462 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
1463 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
1464 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
1465 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
1466 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
1467 * gdb.hp/tools/odump: File deleted.
1469 2015-03-19 Pedro Alves <palves@redhat.com>
1471 * gdb.threads/continue-pending-status.exp (saw_thread_2)
1472 (saw_thread_3): New globals.
1473 (top level): Increment them when an event for the corresponding
1475 (no thread starvation): New test.
1477 2015-03-19 Pedro Alves <palves@redhat.com>
1479 * gdb.threads/continue-pending-status.c: New file.
1480 * gdb.threads/continue-pending-status.exp: New file.
1482 2015-03-18 Pedro Alves <palves@redhat.com>
1484 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1485 Use gdb_is_target_remote instead of is_remote. Use
1486 gdb_test_multiple instead of gdb_expect. Exit early if
1487 gdb_test_multiple hits its internal matches. Tighten stepi tests
1488 expected output. Fail on exit with any signal, instead of just
1491 2015-03-18 Yao Qi <yao.qi@linaro.org>
1494 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
1496 * gdb.base/catch-syscall.exp: Don't skip it on
1497 aarch64*-*-linux* target. Remove elements in all_syscalls.
1498 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
1500 (setup_all_syscalls): New proc.
1502 2015-03-16 Yao Qi <yao.qi@linaro.org>
1504 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
1505 (top level): Skip tests if valid_addr_p returns false for
1508 2015-03-11 Andy Wingo <wingo@igalia.com>
1510 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
1512 2015-03-11 Yao Qi <yao.qi@linaro.org>
1514 * gdb.base/catch-syscall.exp: Fix typo in comments.
1516 2015-03-11 Yao Qi <yao.qi@linaro.org>
1518 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
1520 2015-03-09 Pedro Alves <palves@redhat.com>
1522 * dg-extract-results.py: Delete.
1524 2015-03-09 Pedro Alves <palves@redhat.com>
1526 Merge dg-extract-results.sh from GCC upstream (r218843).
1528 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
1529 * dg-extract-results.sh: Use --text with grep to avoid issues with
1530 binary files. Fall back to cat -v, if that doesn't work.
1532 2015-03-05 Pedro Alves <palves@redhat.com>
1534 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
1536 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
1538 * lib/mi-support.exp (mi_expect_interrupt): Accept
1539 alternative event for when in all-stop mode.
1541 2015-03-04 Pedro Alves <palves@redhat.com>
1543 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
1545 2015-03-04 Mark Kettenis <kettenis@gnu.org>
1547 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
1549 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
1551 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
1552 regexps for GDB's current line display, accept a hex address
1553 preceding the line number.
1555 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
1557 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
1558 the 'arch1' variable for "s390*-linux*" targets.
1560 2015-03-04 Pedro Alves <palves@redhat.com>
1562 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
1563 (main): Pass missing retval argument to pthread_join call.
1565 2015-03-02 Pedro Alves <palves@redhat.com>
1567 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
1568 (top level): Call do_test with non-stop as well.
1570 2015-03-02 Pedro Alves <palves@redhat.com>
1572 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
1575 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1577 * gdb.arch/s390-vregs.exp: New test.
1578 * gdb.arch/s390-vregs.S: New file.
1580 2015-02-27 Pedro Alves <palves@redhat.com>
1582 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
1583 call to catch_command_errors.
1584 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
1585 catch_command_errors.
1587 2015-02-27 Pedro Alves <palves@redhat.com>
1589 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
1590 "true" for boolean result.
1591 * gdb.gdb/selftest.exp (test_with_self): Also accept full
1594 2015-02-27 Pedro Alves <palves@redhat.com>
1596 * lib/unbuffer_output.c: New file.
1597 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
1598 (main): Call gdb_unbuffer_output.
1600 2015-02-27 Yao Qi <yao.qi@linaro.org>
1602 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
1605 2015-02-26 Doug Evans <dje@google.com>
1607 * gdb.cp/class2.cc (Dbase, D): New classes.
1608 (main): New local delta.
1609 * gdb.cp/class2.exp: Test printing delta.
1610 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
1611 (dynbar): New global.
1612 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
1614 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1616 * gdb.compile/compile-ifunc.c: New file.
1617 * gdb.compile/compile-ifunc.exp: New file.
1619 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
1621 * gdb.base/structs.exp: Check for correct struct on finish.
1623 2015-02-26 Yao Qi <yao.qi@linaro.org>
1625 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
1628 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1630 * gdb.arch/cordic.ko.bz2: New file.
1631 * gdb.arch/cordic.ko.debug.bz2: New file.
1632 * gdb.arch/ppc64-symtab-cordic.exp: New file.
1634 2015-02-25 Yao Qi <yao.qi@linaro.org>
1636 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
1637 aarch64*-*-* target.
1639 2015-02-23 Pedro Alves <palves@redhat.com>
1641 * lib/gdb.exp (delete_breakpoints): Rewrite using
1644 2015-02-23 Pedro Alves <palves@redhat.com>
1646 * gdb.base/info-os.c: Include stdlib.h.
1648 2015-02-22 Doug Evans <xdje42@gmail.com>
1651 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
1652 is read after symbols have been re-read.
1653 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
1654 * gdb.ada/exec_changed/second.adb (Second): Ditto.
1656 2015-02-21 Doug Evans <dje@google.com>
1658 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
1660 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1663 * gdb.arch/i386-biarch-core.core.bz2: New file.
1664 * gdb.arch/i386-biarch-core.exp: New file.
1666 2015-02-21 Pedro Alves <palves@redhat.com>
1668 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
1671 2015-02-20 Pedro Alves <palves@redhat.com>
1673 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
1676 2015-02-20 Pedro Alves <palves@redhat.com>
1678 * gdb.threads/multi-create-ns-info-thr.exp: New file.
1680 2015-02-20 Pedro Alves <palves@redhat.com>
1682 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
1683 clean_restart before gdb_target_supports_trace.
1685 2015-02-20 Pedro Alves <palves@redhat.com>
1688 * gdb.threads/clone-thread_db.c: New file.
1689 * gdb.threads/clone-thread_db.exp: New file.
1691 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
1693 PR breakpoints/16812
1694 * gdb.base/catch-gdb-caused-signals.c: New file.
1695 * gdb.base/catch-gdb-caused-signals.exp: New file.
1697 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
1699 * configure: Regenerated.
1700 * configure.ac: Use GDB_AC_TRANSFORM.
1701 * aclocal.m4: sinclude ../transform.m4.
1703 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1705 * lib/dtrace.exp: New file.
1706 * gdb.base/dtrace-probe.exp: Likewise.
1707 * gdb.base/dtrace-probe.d: Likewise.
1708 * gdb.base/dtrace-probe.c: Likewise.
1709 * lib/pdtrace.in: Likewise.
1710 * configure.ac: Output variables with the transformed names of
1711 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
1712 * configure: Regenerated.
1714 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1716 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
1717 expected message when trying to access $_probe_* convenience
1718 variables while not on a probe.
1720 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1722 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
1724 2015-02-11 Pedro Alves <pedro@codesourcery.com>
1726 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
1727 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
1729 2015-02-10 Doug Evans <xdje42@gmail.com>
1731 * lib/gdb.exp (gdb_load): Always return a result.
1733 2015-02-10 Pedro Alves <palves@redhat.com>
1735 * gdb.threads/signal-sigtrap.c: New file.
1736 * gdb.threads/signal-sigtrap.exp: New file.
1738 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
1740 * gdb.trace/no-attach-trace.c: New file.
1741 * gdb.trace/no-attach-trace.exp: New file.
1743 2015-02-09 Mark Wielaard <mjw@redhat.com>
1745 * gdb.dwarf2/atomic.c: New file.
1746 * gdb.dwarf2/atomic-type.exp: Likewise.
1748 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1750 * gdb.btrace/buffer-size.exp: Update "info record" output.
1751 * gdb.btrace/delta.exp: Update "info record" output.
1752 * gdb.btrace/enable.exp: Update "info record" output.
1753 * gdb.btrace/finish.exp: Update "info record" output.
1754 * gdb.btrace/instruction_history.exp: Update "info record" output.
1755 * gdb.btrace/next.exp: Update "info record" output.
1756 * gdb.btrace/nexti.exp: Update "info record" output.
1757 * gdb.btrace/step.exp: Update "info record" output.
1758 * gdb.btrace/stepi.exp: Update "info record" output.
1759 * gdb.btrace/nohist.exp: Update "info record" output.
1761 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1763 * gdb.btrace/buffer-size: New.
1765 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1767 * gdb.btrace/delta.exp: Update "info record" output.
1768 * gdb.btrace/enable.exp: Update "info record" output.
1769 * gdb.btrace/finish.exp: Update "info record" output.
1770 * gdb.btrace/instruction_history.exp: Update "info record" output.
1771 * gdb.btrace/next.exp: Update "info record" output.
1772 * gdb.btrace/nexti.exp: Update "info record" output.
1773 * gdb.btrace/step.exp: Update "info record" output.
1774 * gdb.btrace/stepi.exp: Update "info record" output.
1775 * gdb.btrace/nohist.exp: Update "info record" output.
1777 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
1780 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
1782 2015-02-06 Pedro Alves <palves@redhat.com>
1784 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
1786 (seconds_left, again): New globals.
1787 (main): Wait seconds_left in a 1-second sleep loop instead of
1788 sleeping 180 seconds. If 'again' is set, reset the seconds
1790 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
1791 'again' in the inferior before detaching. Print the seconds left.
1792 (options): New global.
1793 (top level): Build program with -DTIMEOUT=$timeout.
1795 2015-02-06 Pedro Alves <palves@redhat.com>
1797 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
1798 determine how many seconds to pass to 'alarm'.
1799 * gdb.base/gdb-sigterm.exp (top level): Build program with
1801 (do_test): Return success/failure indication. Add more verbose
1802 logging. Don't fail if 200 single steps are seen. Instead, fail
1803 when the test times out.
1804 (passes): New global.
1805 (top level): Break the testing loop if testing fails on any
1806 iteration. Use gdb_assert.
1808 2015-02-04 Don Breazeal <donb@codesourcery.com>
1810 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
1811 and initialize them.
1812 (ipc_cleanup): New function.
1813 (main): Don't declare shmid, semid, and msqid. Add a call to
1814 atexit so that we call ipc_cleanup on exit.
1816 2015-02-04 Pedro Alves <palves@redhat.com>
1818 * boards/native-extended-gdbserver.exp: Remove any target variant
1819 specifications from the board name before clearing the isremote
1820 flag from board_info.
1822 2015-01-31 Doug Evans <xdje42@gmail.com>
1824 * gdb.base/maint.exp <maint print type argc>: Update expected output.
1826 2015-01-31 Gary Benson <gbenson@redhat.com>
1828 * gdb.base/completion.exp: Disable completion limiting for
1829 existing tests. Add new tests to check completion limiting.
1830 * gdb.linespec/ls-errs.exp: Disable completion limiting.
1832 2015-01-31 Doug Evans <xdje42@gmail.com>
1834 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
1836 2015-01-31 Doug Evans <xdje42@gmail.com>
1838 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
1839 entries. Duplicate file section script entries.
1840 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
1841 inlined entries. Add test for safe-path rejection.
1842 * gdb.python/py-section-script.c: Add duplicate inlined section script
1843 entries. Duplicate file section script entries.
1844 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
1845 inlined entries. Add test for safe-path rejection.
1847 2015-01-29 Joel Brobecker <brobecker@adacore.com>
1849 * gdb.ada/disc_arr_bound: New testcase.
1851 2015-01-29 Joel Brobecker <brobecker@adacore.com>
1853 * gdb.ada/mi_var_array: New testcase.
1855 2015-01-27 Doug Evans <dje@google.com>
1857 * gdb.python/py-objfile.exp: Add tests for objfile.username.
1858 Add test for objfile.filename, objfile.username after objfile
1861 2015-01-26 Joel Brobecker <brobecker@adacore.com>
1863 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
1864 the second test to print the name attribute of value
1865 returned by the call to gdb.lookup_type, and adjust
1866 the expected output accordingly.
1868 2015-01-25 Mark Wielaard <mjw@redhat.com>
1870 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
1871 * gdb.base/disp-step-fork.c: Include unistd.h.
1872 * gdb.base/siginfo-obj.c: Include stdio.h.
1873 * gdb.base/siginfo-thread.c: Likewise.
1874 * gdb.mi/non-stop.c: Include unistd.h.
1875 * gdb.mi/nsthrexec.c: Include stdio.h.
1876 * gdb.mi/pthreads.c: Include unistd.h.
1877 * gdb.modula2/unbounded1.c (main): Declare returns int.
1878 * gdb.reverse/consecutive-reverse.c: Likewise.
1879 * gdb.threads/create-fail.c: Include unistd.h.
1880 * gdb.threads/killed.c: Likewise.
1881 * gdb.threads/linux-dp.c: Likewise.
1882 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
1883 * gdb.threads/non-ldr-exc-2.c: Likewise.
1884 * gdb.threads/non-ldr-exc-3.c: Likewise.
1885 * gdb.threads/non-ldr-exc-4.c: Likewise.
1886 * gdb.threads/pthreads.c: Include unistd.h.
1887 (main): Declare returns int.
1888 * gdb.threads/tls-main.c (foo): New declaration.
1889 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
1891 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
1893 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
1894 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
1896 2015-01-15 Mark Wielaard <mjw@redhat.com>
1898 * gdb.base/noreturn-return.c: New file.
1899 * gdb.base/noreturn-return.exp: New file.
1900 * gdb.base/noreturn-finish.c: New file.
1901 * gdb.base/noreturn-finish.exp: New file.
1903 2015-01-23 Pedro Alves <palves@redhat.com>
1905 * gdb.threads/continue-pending-after-query.c: New file.
1906 * gdb.threads/continue-pending-after-query.exp: New file.
1908 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
1909 Simon Marchi <simon.marchi@ericsson.com>
1911 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
1912 * gdb.base/valgrind-db-attach.exp: Same.
1913 * gdb.base/valgrind-infcall.exp: Same.
1914 * lib/mi-support.exp (default_mi_gdb_start): Same.
1915 * lib/prompt.exp (default_prompt_gdb_start): Same.
1916 * lib/gdb.exp (default_gdb_spawn): Same.
1917 (gdb_interact): New.
1920 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1922 * gdb.compile/compile.exp (pointer to jit function): New test.
1924 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
1926 * lib/gdb.exp (supports_process_record): Return true for
1928 (supports_reverse): Likewise.
1930 2015-01-15 Don Breazeal <donb@codesourcery.com>
1932 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
1933 instead of checking whether the target board is remote and
1934 use spawn_wait_for_attach instead of exec/sleep.
1935 * gdb.base/attach-twice.exp: Likewise.
1937 2015-01-15 Joel Brobecker <brobecker@adacore.com>
1939 * gdb.ada/var_arr_attrs: New testcase.
1941 2015-01-14 Pedro Alves <palves@redhat.com>
1942 Joel Brobecker <brobecker@adacore.com>
1945 * gdb.base/bp-cmds-execution-x-script.c: New file.
1946 * gdb.base/bp-cmds-execution-x-script.exp: New file.
1947 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
1949 2015-01-14 Pedro Alves <palves@redhat.com>
1952 * gdb.base/batch-preserve-term-settings.c: New file.
1953 * gdb.base/batch-preserve-term-settings.exp: New file.
1955 2015-01-13 Doug Evans <dje@google.com>
1957 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
1960 2015-01-13 Joel Brobecker <brobecker@adacore.com>
1962 * Makefile.in (clean mostlyclean): Do not delete *.py.
1964 2015-01-13 Joel Brobecker <brobecker@adacore.com>
1966 * gdb.python/py-lookup-type.exp: New file.
1968 2015-01-12 Pedro Alves <palves@redhat.com>
1970 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
1971 restore GDBFLAGS before returning.
1973 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1975 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
1976 is_amd64_regs_target and is_x86_like_target.
1978 2015-01-11 Doug Evans <xdje42@gmail.com>
1980 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
1981 is given without an explicit form.
1982 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
1984 * gdb.dwarf/corrupt.exp: Ditto.
1985 * gdb.dwarf2/enum-type.exp: Ditto.
1986 * gdb.trace/entry-values.exp: Ditto.
1987 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
1989 2015-01-11 Doug Evans <xdje42@gmail.com>
1992 * gdb.base/maint.exp: Remove references to "maint demangle".
1993 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
1994 Add tests for explicitly specifying language to demangle.
1995 * gdb.dlang/demangle.exp: Ditto.
1997 2015-01-09 Pedro Alves <palves@redhat.com>
1999 * gdb.threads/non-stop-fair-events.c: New file.
2000 * gdb.threads/non-stop-fair-events.exp: New file.
2002 2015-01-09 Pedro Alves <palves@redhat.com>
2004 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
2005 the global scope. Set a breakpoint after all threads are started
2006 rather than stepping over two source lines. Expect the prompt.
2007 * gdb.base/watch_thread_num.c (threads_started_barrier): New
2010 (main): Use threads_started_barrier to wait for all threads to
2011 start. Main thread no longer calls thread_function. Exit after
2013 (loop): New function.
2014 (thread_function): Wait on threads_started_barrier barrier. Call
2015 'loop' at each iteration.
2016 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
2017 threads have started, instead of hardcoding number of "next"
2018 steps. Use an access watchpoint instead of a write watchpoint.
2020 2015-01-09 Pedro Alves <palves@redhat.com>
2022 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
2023 (thread_func): Wait on barrier.
2024 (main): Wait for all threads to start before stopping GDB.
2025 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
2027 (thread1_func, thread2_func): Wait on barrier.
2028 (main): Wait for all threads to start before stopping GDB.
2029 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
2031 (thread1_func, thread2_func): Wait on barrier.
2032 (main): Wait for all threads to start before stopping GDB.
2034 2015-01-09 Pedro Alves <palves@redhat.com>
2036 * gdb.threads/attach-many-short-lived-threads.c: New file.
2037 * gdb.threads/attach-many-short-lived-threads.exp: New file.
2039 2014-01-09 Pedro Alves <palves@redhat.com>
2041 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
2042 instead of to thread 2.
2043 * gdb.threads/signal-command-multiple-signals-pending.c (main):
2044 Add barrier around each pthread_create call instead of around all
2046 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
2047 Set a break on thread_function and have the child threads hit it
2050 2015-01-09 Pedro Alves <palves@redhat.com>
2052 * lib/gdb.exp (can_spawn_for_attach): New procedure.
2053 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
2055 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
2056 checking whether the target board is remote.
2057 * gdb.multi/multi-attach.exp: Likewise.
2058 * gdb.python/py-sync-interp.exp: Likewise.
2059 * gdb.server/ext-attach.exp: Likewise.
2060 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
2061 tests that need to attach, instead of checking whether the target
2062 board is remote at the top of the file.
2064 2015-01-08 Yao Qi <yao@codesourcery.com>
2066 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
2068 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2070 Fix testcase compilation.
2071 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
2073 2015-01-06 Joel Brobecker <brobecker@adacore.com>
2075 * gdb.python/py-type.exp: Add a couple test about empty
2076 array creation, and negative-length array creation.
2078 2015-01-02 Doug Evans <xdje42@gmail.com>
2080 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
2082 2015-01-02 Doug Evans <dje@google.com>
2084 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
2086 2014-12-29 Yao Qi <yao@codesourcery.com>
2088 * gdb.trace/entry-values.exp: Update comments. Rename variable
2089 bar_call_foo to returned_from_foo.
2091 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
2094 * gdb.linespec/break-asm-file.c: New file.
2095 * gdb.linespec/break-asm-file.exp: New file.
2096 * gdb.linespec/break-asm-file0.s: New file.
2097 * gdb.linespec/break-asm-file1.s: New file.
2099 2014-12-18 Nigel Stephens <nigel@mips.com>
2100 Maciej W. Rozycki <macro@codesourcery.com>
2102 * gdb.base/float.exp: Handle the new output from "info float" on
2105 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2107 Fix MinGW compilation.
2108 * gdb.compile/compile-ops.exp: Update untested message if
2109 !skip_compile_feature_tests.
2110 * gdb.compile/compile-setjmp.exp: Likewise.
2111 * gdb.compile/compile-tls.exp: Likewise.
2112 * gdb.compile/compile.exp: Likewise.
2113 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
2114 supported on this host".
2116 2014-12-16 Doug Evans <xdje42@gmail.com>
2118 * boards/stabs.exp: New file.
2120 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
2122 * gdb.base/completion.exp: Adjust to format changes of "maint
2123 print user-registers".
2125 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
2128 * gdb.arch/aarch64-fp.c: New file.
2129 * gdb.arch/aarch64-fp.exp: New file.
2131 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
2133 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
2134 r210637, r210913, r211666, r215400, r215817).
2136 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
2137 * dg-extract-results.py: New file.
2138 * dg-extract-results.sh: Use it if the environment seems
2141 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
2143 * dg-extract-results.py (parse_run): Handle warnings that
2144 are printed before a test harness is run.
2146 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
2148 * dg-extract-results.py (Named): Remove __cmp__ method.
2149 (output_variation): Use a key to sort variation.harnesses.
2151 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
2153 * dg-extract-results.py: For Python 3, force sys.stdout to
2154 handle surrogate escape sequences.
2155 (safe_open): New function.
2156 (output_segment, main): Use it.
2158 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
2160 * dg-extract-results.py (Prog.result_re): Include options
2163 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
2165 * dg-extract-results.py (output_variation): Always sort if
2168 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
2170 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
2171 as long as we get pagination notifications.
2173 2014-12-15 Jason Merrill <jason@redhat.com>
2175 * Makefile.in (check-gdb.%): Restore.
2176 * README: Mention it.
2178 2014-12-13 Joel Brobecker <brobecker@adacore.com>
2180 * gdb.ada/str_uninit: New testcase.
2182 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2185 * gdb.base/vla-stub-define.c: New file.
2186 * gdb.base/vla-stub.c: New file.
2187 * gdb.base/vla-stub.exp: New file.
2189 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
2190 Jan Kratochvil <jan.kratochvil@redhat.com>
2191 Tom Tromey <tromey@redhat.com>
2193 * configure.ac: Add gdb.compile/.
2194 * configure: Regenerate.
2195 * gdb.compile/Makefile.in: New file.
2196 * gdb.compile/compile-ops.exp: New file.
2197 * gdb.compile/compile-ops.c: New file.
2198 * gdb.compile/compile-tls.c: New file.
2199 * gdb.compile/compile-tls.exp: New file.
2200 * gdb.compile/compile-constvar.S: New file.
2201 * gdb.compile/compile-constvar.c: New file.
2202 * gdb.compile/compile-mod.c: New file.
2203 * gdb.compile/compile-nodebug.c: New file.
2204 * gdb.compile/compile-setjmp-mod.c: New file.
2205 * gdb.compile/compile-setjmp.c: New file.
2206 * gdb.compile/compile-setjmp.exp: New file.
2207 * gdb.compile/compile-shlib.c: New file.
2208 * gdb.compile/compile.c: New file.
2209 * gdb.compile/compile.exp: New file.
2210 * lib/gdb.exp (skip_compile_feature_tests): New proc.
2212 2014-12-12 Tom Tromey <tromey@redhat.com>
2214 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
2215 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
2217 2014-12-12 Doug Evans <dje@google.com>
2219 * lib/gdb-python.exp (get_python_valueof): New function.
2220 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
2222 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2224 * gdb.base/completion.exp: Add test for completion of "info
2227 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
2229 * gdb.base/func-ptrs.c: New file.
2230 * gdb.base/func-ptrs.exp: New file.
2232 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2234 PR breakpoints/17012
2235 * gdb.base/dprintf-detach.c: New file.
2236 * gdb.base/dprintf-detach.exp: New file.
2238 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2240 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
2241 * lib/gdb.exp (target_is_gdbserver): New procedure.
2243 2014-12-08 Doug Evans <dje@google.com>
2245 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
2247 2014-12-05 Yao Qi <yao@codesourcery.com>
2249 * gdb.guile/scm-error.exp: Remove the third argument to
2250 gdb_remote_download.
2251 * gdb.guile/scm-frame-args.exp: Likewise.
2252 * gdb.guile/scm-section-script.exp: Likewise.
2254 2014-12-05 Yao Qi <yao@codesourcery.com>
2256 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
2258 2014-12-04 Doug Evans <dje@google.com>
2260 * gdb.python/py-objfile.exp: Add tests for
2261 objfile.add_separate_debug_file.
2263 2014-12-04 Doug Evans <dje@google.com>
2265 * lib/gdb.exp (get_build_id): New function.
2266 (build_id_debug_filename_get): Rewrite to use it.
2267 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
2269 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
2271 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
2272 `method(long)', not just 0x0.
2273 * gdb.cp/nsalias.exp: Align code labels to 4.
2274 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
2275 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
2276 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
2277 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
2278 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
2279 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
2281 2014-12-02 Doug Evans <dje@google.com>
2284 * gdb.cp/anon-ns.cc: Move guts of this file to ...
2285 * gdb.cp/anon-ns2.cc: ... here. New file.
2286 * gdb.cp/anon-ns.exp: Update.
2288 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
2290 * gdb.python/py-events.py (inferior_call_handler): New.
2291 (register_changed_handler, memory_changed_handler): New.
2292 (test_events.invoke): Register new handlers.
2293 * gdb.python/py-events.exp: Add tests for inferior call,
2294 memory_changed and register_changed events.
2296 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
2298 * gdb.base/execl-update-breakpoints.exp: Specify the link address
2299 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
2300 if the linker doesn't understand this.
2302 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
2304 * gdb.python/python.exp: Change expected reply to help().
2306 2014-12-01 Yao Qi <yao@codesourcery.com>
2308 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
2309 AC_CONFIG_SUBDIRS(gdb.gdbtk).
2310 * configure: Re-generated.
2312 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
2314 * gdb.cp/chained-calls.cc: New file.
2315 * gdb.cp/chained-calls.exp: New file.
2316 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
2318 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
2320 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
2321 * gdb.dwarf2/symtab-producer.exp: Same.
2322 * gdb.gdb/python-interrupts.exp: Same.
2323 * gdb.gdb/python-selftest.exp: Same.
2324 * gdb.python/py-linetable.exp: Same.
2325 * gdb.python/py-type.exp: Same.
2326 * gdb.python/py-value-cc.exp: Same.
2327 * gdb.python/py-value.exp: Same.
2329 2014-11-28 Yao Qi <yao@codesourcery.com>
2331 * gdb.base/break-probes.exp: Match library name prefixed with
2334 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
2336 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
2337 test expected output. Add parentheses for the call to print.
2338 Remove L suffix from integers.
2340 2014-11-26 Doug Evans <dje@google.com>
2342 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
2344 2014-11-22 Yao Qi <yao@codesourcery.com>
2346 * gdb.trace/entry-values.c: Remove asms.
2347 (foo): Add foo_label.
2348 (bar): Add bar_label.
2349 * gdb.trace/entry-values.exp: Remove code computing foo's
2350 length and bar's length.
2351 (Dwarf::assemble): Invoke function_range for bar and use
2352 MACRO_AT_func for foo.
2354 2014-11-22 Yao Qi <yao@codesourcery.com>
2356 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
2357 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
2358 Use .Lgcc43_procstart instead of gcc43.
2360 2014-11-21 Joel Brobecker <brobecker@adacore.com>
2362 * gdb.ada/n_arr_bound: New testcase.
2364 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
2366 PR breakpoints/10737
2367 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
2368 test_catch_syscall_multi_arch.
2369 (test_catch_syscall_multi_arch): New function.
2371 2014-11-20 Doug Evans <xdje42@gmail.com>
2373 * gdb.base/maint.exp: Update expected output.
2375 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2377 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
2378 4-byte instruction on S390.
2380 2014-11-19 Joel Brobecker <brobecker@adacore.com>
2382 * gdb.ada/arr_arr: New testcase.
2384 2014-11-19 Joel Brobecker <brobecker@adacore.com>
2386 * gdb.ada/pkd_arr_elem: New Testcase.
2388 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
2390 * gdb.reverse/break-precsave: Expect completion message for
2392 * gdb.reverse/consecutive-precsave.exp: Likewise.
2393 * gdb.reverse/finish-precsave.exp: Likewise.
2394 * gdb.reverse/i386-precsave.exp: Likewise.
2395 * gdb.reverse/machinestate-precsave.exp: Likewise.
2396 * gdb.reverse/sigall-precsave.exp: Likewise.
2397 * gdb.reverse/solib-precsave.exp: Likewise.
2398 * gdb.reverse/step-precsave.exp: Likewise.
2399 * gdb.reverse/until-precsave.exp: Likewise.
2400 * gdb.reverse/watch-precsave.exp: Likewise.
2402 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2404 * gdb.base/bp-permanent.c: Include unistd.h.
2405 * gdb.python/py-framefilter-mi.c (main): Add return type.
2406 * gdb.python/py-framefilter.c (main): Likewise.
2407 * gdb.trace/actions-changed.c (main): Likewise.
2409 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2411 * gdb.mi/until.c: Add eye-catchers.
2412 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
2415 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2417 * gdb.base/condbreak.exp: Drop references to removed non-prototype
2418 function header variants in break1.c.
2419 * gdb.base/ena-dis-br.exp: Likewise.
2420 * gdb.base/hbreak2.exp: Likewise.
2421 * gdb.reverse/until-precsave.exp: Drop references to removed
2422 non-prototype function header variants in ur1.c.
2423 * gdb.reverse/until-reverse.exp: Likewise.
2425 2014-11-17 Petr Machata <pmachata@redhat.com>
2427 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
2428 ${_cu_offset_size} bytes abbrev offset.
2430 2014-11-15 Doug Evans <xdje42@gmail.com>
2433 * gdb.base/line-symtabs.exp: New file.
2434 * gdb.base/line-symtabs.c: New file.
2435 * gdb.base/line-symtabs.h: New file.
2437 2014-11-14 Yao Qi <yao@codesourcery.com>
2439 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
2440 (func): Add label func_label.
2441 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
2442 Replace low_pc and high_pc with MACRO_AT_range.
2443 Replace name, low_pc and high_pc with MACRO_AT_func.
2445 2014-11-14 Yao Qi <yao@codesourcery.com>
2447 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
2448 Replace name, low_pc and high_pc with MACRO_AT_func.
2450 2014-11-14 Yao Qi <yao@codesourcery.com>
2452 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
2453 produce debug information.
2454 * gdb.dwarf2/implptr-optimized-out.S: Removed.
2456 2014-11-14 Yao Qi <yao@codesourcery.com>
2458 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
2459 object and get function length.
2460 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
2462 (top-level): Replace gdb_compile and clean_restart with
2463 prepare_for_testing.
2464 * gdb.dwarf2/main.c (main): Add label main_label.
2466 2014-11-14 Yao Qi <yao@codesourcery.com>
2468 * lib/dwarf.exp (function_range): New procedure.
2469 (Dwarf::_handle_macro_at_func): New procedure.
2470 (Dwarf::_handle_macro_at_range): New procedure.
2471 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
2473 2014-11-14 Yao Qi <yao@codesourcery.com>
2475 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
2476 (_handle_attribute): New procedure.
2478 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2480 * gdb.ada/cond_lang/foo.c (callme): Add return type.
2481 * gdb.base/call-sc.c (zed): Likewise.
2482 * gdb.base/checkpoint.c (main): Likewise.
2483 * gdb.base/dump.c (main): Likewise.
2484 * gdb.base/gcore.c (main): Likewise.
2485 * gdb.base/huge.c (main): Likewise.
2486 * gdb.base/multi-forks.c (main): Likewise.
2487 * gdb.base/pr10179-a.c (main): Likewise.
2488 * gdb.base/savedregs.c (main): Likewise.
2489 * gdb.base/sigaltstack.c (main): Likewise.
2490 * gdb.base/siginfo.c (main): Likewise.
2491 * gdb.base/structs.c (zed): Likewise.
2492 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
2493 * gdb.mi/mi-syn-frame.c (main): Likewise.
2494 * gdb.mi/until.c (foo, main): Likewise.
2495 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
2496 * gdb.base/solib-weak.c (foo): Declare.
2497 * gdb.base/attach-twice.c: Include stdio.h.
2498 * gdb.base/weaklib1.c: Likewise.
2499 * gdb.base/weaklib2.c: Likewise.
2500 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
2501 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
2503 * gdb.base/attach-pie-misread.c: Include stdlib.h.
2504 * gdb.mi/mi-exit-code.c: Likewise.
2505 * gdb.base/break-interp-lib.c: Include string.h.
2506 * gdb.base/coremaker.c: Likewise.
2507 * gdb.base/testenv.c: Likewise.
2508 * gdb.python/py-finish-breakpoint.c: Likewise.
2509 * gdb.base/inferior-died.c: Include sys/wait.h.
2510 * gdb.base/fileio.c: Include time.h.
2511 * gdb.base/async-shell.c: Include unistd.h.
2512 * gdb.base/dprintf-non-stop.c: Likewise.
2513 * gdb.base/info-os.c: Likewise.
2514 * gdb.mi/mi-console.c: Likewise.
2515 * gdb.mi/watch-nonstop.c: Likewise.
2516 * gdb.python/py-events.c: Likewise.
2517 * gdb.base/async.c (baz): Move up before its invocation.
2518 * gdb.base/code_elim2.c (my_global_func): Likewise.
2519 * gdb.base/skip-solib-lib.c (multiply): Likewise.
2520 * gdb.base/advance.c (func2): Likewise.
2522 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2524 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
2526 * gdb.base/annota3.c: Likewise.
2527 * gdb.base/async.c: Likewise.
2528 * gdb.base/average.c: Likewise.
2529 * gdb.base/call-ar-st.c: Likewise.
2530 * gdb.base/call-rt-st.c: Likewise.
2531 * gdb.base/call-sc.c: Likewise.
2532 * gdb.base/call-strs.c: Likewise.
2533 * gdb.base/ending-run.c: Likewise.
2534 * gdb.base/execd-prog.c: Likewise.
2535 * gdb.base/exprs.c: Likewise.
2536 * gdb.base/foll-exec.c: Likewise.
2537 * gdb.base/foll-fork.c: Likewise.
2538 * gdb.base/foll-vfork.c: Likewise.
2539 * gdb.base/funcargs.c: Likewise.
2540 * gdb.base/gcore.c: Likewise.
2541 * gdb.base/jump.c: Likewise.
2542 * gdb.base/langs0.c: Likewise.
2543 * gdb.base/langs1.c: Likewise.
2544 * gdb.base/langs2.c: Likewise.
2545 * gdb.base/mips_pro.c: Likewise.
2546 * gdb.base/nodebug.c: Likewise.
2547 * gdb.base/opaque0.c: Likewise.
2548 * gdb.base/opaque1.c: Likewise.
2549 * gdb.base/recurse.c: Likewise.
2550 * gdb.base/run.c: Likewise.
2551 * gdb.base/scope0.c: Likewise.
2552 * gdb.base/scope1.c: Likewise.
2553 * gdb.base/setshow.c: Likewise.
2554 * gdb.base/setvar.c: Likewise.
2555 * gdb.base/shmain.c: Likewise.
2556 * gdb.base/shr1.c: Likewise.
2557 * gdb.base/shr2.c: Likewise.
2558 * gdb.base/sigall.c: Likewise.
2559 * gdb.base/signals.c: Likewise.
2560 * gdb.base/so-indr-cl.c: Likewise.
2561 * gdb.base/solib2.c: Likewise.
2562 * gdb.base/structs.c: Likewise.
2563 * gdb.base/sum.c: Likewise.
2564 * gdb.base/vforked-prog.c: Likewise.
2565 * gdb.base/watchpoint.c: Likewise.
2566 * gdb.reverse/shr2.c: Likewise.
2567 * gdb.reverse/until-reverse.c: Likewise.
2568 * gdb.reverse/ur1.c: Likewise.
2569 * gdb.reverse/watch-reverse.c: Likewise.
2571 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2573 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
2575 * gdb.base/sepdebug.exp: Drop references to removed code.
2577 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2579 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
2580 variant. Preserve original line numbering.
2581 * gdb.base/list1.c: Likewise.
2583 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2585 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
2587 * gdb.base/break1.c: Likewise.
2588 * gdb.base/break.exp: Drop references to removed code.
2590 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2592 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
2595 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2597 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
2599 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2601 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
2602 logic into perform_all_tests() and invoke it with and without
2603 function header prototypes.
2604 (do_function_calls): Remove conditional XFAIL for PR 5318.
2605 (rerun_and_prepare): Remove duplicate code.
2606 (perform_all_tests): New. Main logic moved here.
2608 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2610 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
2611 code guarded by #ifdef NO_PROTOTYPES.
2612 (t_double_many_args): Likewise.
2613 (DEF_FUNC_MANY_ARGS_1): Likewise.
2614 (DEF_FUNC_VALUES_1): Likewise.
2615 (t_structs_ldc): Renamed from t_structs_fc in conditional code
2616 guarded by #ifdef PROTOTYPES.
2618 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2620 * gdb.mi/mi-console.c: Add eye-catcher.
2621 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
2622 instead of literal line number.
2624 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2626 * gdb.base/shr2.c: Add eye-catcher.
2627 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
2630 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2632 * gdb.base/jump.c: Add eye-catchers.
2633 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
2636 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2638 * gdb.base/execd-prog.c: Add eye-catchers.
2639 * gdb.base/foll-exec.c: Likewise.
2640 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
2643 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2645 * gdb.base/ending-run.c: Add eye-catchers.
2646 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
2647 literal line numbers.
2649 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2651 * gdb.base/call-rt-st.c: Add eye-catchers.
2652 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
2653 literal line numbers.
2655 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2657 * gdb.base/call-ar-st.c: Add eye-catchers.
2658 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
2659 literal line numbers.
2661 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2663 * gdb.base/average.c: Add eye-catchers.
2664 * gdb.base/sum.c: Likewise.
2665 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
2666 regexps dynamically.
2668 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2670 * gdb.base/solib1.c: Add eye-catchers.
2671 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
2672 literal line numbers.
2674 2014-11-12 Pedro Alves <palves@redhat.com>
2676 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
2679 2014-11-12 Pedro Alves <palves@redhat.com>
2681 * gdb.arch/i386-bp_permanent.c: New file.
2682 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
2683 (srcfile): Set to i386-bp_permanent.c.
2684 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
2685 that stepi does not execute the 'leave' instruction, instead of
2686 testing it does execute.
2687 * gdb.base/bp-permanent.c: New file.
2688 * gdb.base/bp-permanent.exp: New file.
2690 2014-11-10 Doug Evans <xdje42@gmail.com>
2693 * gdb.base/symtab-search-order.exp: New file.
2694 * gdb.base/symtab-search-order.c: New file.
2695 * gdb.base/symtab-search-order-1.c: New file.
2696 * gdb.base/symtab-search-order-shlib-1.c: New file.
2698 2014-11-07 Pedro Alves <palves@redhat.com>
2701 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
2704 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
2707 * gdb.cp/pr17494.cc: New file.
2708 * gdb.cp/pr17494.exp: New file.
2710 2014-11-02 Yao Qi <yao@codesourcery.com>
2712 * gdb.python/python.exp: Get working directory and match the
2713 output of "set extended-prompt \\w " with it.
2715 2014-10-30 Doug Evans <dje@google.com>
2717 * gdb.python/py-objfile.exp: Add tests for setting random attributes
2719 * gdb.python/py-progspace.exp: Add tests for setting random attributes
2722 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
2724 * gdb.base/fullpath-expand.exp: Skip for a remote host.
2725 * gdb.base/realname-expand.exp: Likewise.
2726 * gdb.linespec/macro-relative.exp: Likewise.
2728 2014-10-29 Pedro Alves <palves@redhat.com>
2731 * gdb.threads/schedlock.c (some_function): New function.
2732 (call_function): New global.
2733 (MAYBE_CALL_SOME_FUNCTION): New macro.
2734 (thread_function): Call it.
2735 * gdb.threads/schedlock.exp (get_args): Add description parameter,
2736 and use it instead of a global counter. Adjust all callers.
2737 (get_current_thread): Use "find current thread" for test message
2738 here rather than having all callers pass down the same string.
2739 (goto_loop): New procedure, factored out from ...
2740 (my_continue): ... this.
2741 (step_ten_loops): Change parameter from test message to command to
2743 (list_count): Delete global.
2744 (check_result): New procedure, factored out from duplicate top
2746 (continue tests): Wrap in with_test_prefix.
2747 (test_step): New procedure, factored out from duplicate top level
2749 (top level): Test "step" in combination with all scheduler-locking
2750 modes. Test "next" in combination with all scheduler-locking
2751 modes, and in combination with stepping over a function call or
2753 * gdb.threads/next-bp-other-thread.c: New file.
2754 * gdb.threads/next-bp-other-thread.exp: New file.
2756 2014-10-29 Pedro Alves <palves@redhat.com>
2759 * gdb.python/python.exp: Test a multi-line command that spawns
2761 * gdb.base/multi-line-starts-subshell.exp: New file.
2763 2014-10-29 Yao Qi <yao@codesourcery.com>
2765 * gdb.base/fileio.exp: Make directories on host.
2767 2014-10-29 Yao Qi <yao@codesourcery.com>
2769 * gdb.base/fileio.c (test_write): Close the file.
2771 2014-10-28 Pedro Alves <palves@redhat.com>
2774 * gdb.base/sigstep.c (no_handler): New global.
2775 (main): If 'no_handler is true, set the signal handlers to
2777 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
2778 with_sw_watch and no_handler parameters. Handle them.
2779 (top level) <stepping over handler when stopped at a breakpoint
2780 test>: Add a test axis for testing with a software watchpoint, and
2781 another for testing with the signal handler set to SIG_IGN.
2782 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
2783 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
2785 2014-10-28 Pedro Alves <palves@redhat.com>
2788 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
2789 * gdb.base/sigstep.exp (other_handler_location): New global.
2790 (advance): Support stepping into the signal handler, and running
2791 commands while in the handler.
2792 (in_handler_map): New global.
2793 (top level): In the advance test, add combinations for getting
2794 into the handler with stepping commands, and for running commands
2795 in the handler. Add comment descripting the advancei tests.
2797 2014-10-28 Pedro Alves <palves@redhat.com>
2799 * gdb.base/sigstep.exp: Use build_executable instead of
2800 prepare_for_testing.
2801 (top level): Move code that starts GDB, runs to main and creates a
2803 (restart): ... this new procedure.
2804 (top level): Move backtrace from signal handler test to ...
2805 (validate_backtrace): ... this new procedure.
2806 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
2807 with_test_prefix. Always restart GDB.
2808 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
2809 with_test_prefix. Always restart GDB. No need to delete
2810 breakpoints after the test.
2811 (test_skip_handler): Remove prefix parameter.
2812 (skip_over_handler, breakpoint_to_handler)
2813 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
2814 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
2815 restart GDB. No need to delete breakpoints after the test.
2816 (top level): Use foreach to call the test procedures with
2819 2014-10-28 Pedro Alves <palves@redhat.com>
2821 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
2822 instead of GNATS numbers.
2823 * gdb.base/sigbpt.exp: Likewise.
2824 * gdb.base/siginfo.exp: Likewise.
2825 * gdb.base/sigstep.exp: Likewise.
2827 2014-10-27 Pedro Alves <palves@redhat.com>
2829 * gdb.base/sigstep.c (dummy): New global.
2830 (main): Issue a couple writes to the new global.
2831 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
2833 (skip_over_handler): Use test_skip_handler.
2834 (top level): Call skip_over_handler for stepi and nexti too.
2835 (breakpoint_over_handler): Use test_skip_handler.
2836 (top level): Call breakpoint_over_handler for stepi and nexti too.
2838 2014-10-27 Yao Qi <yao@codesourcery.com>
2840 * gdb.trace/tfile.c (adjust_function_address)
2841 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
2842 function descriptor.
2844 2014-10-24 Don Breazeal <donb@codesourcery.com>
2846 * gdb.base/foll-fork.exp (test_follow_fork,
2847 catch_fork_child_follow): Check for updated fork messages emitted
2849 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
2850 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
2851 vfork_and_exec_child_follow_through_step): Check for updated vfork
2852 messages emitted from infrun.c.
2854 2014-10-24 Pedro Alves <palves@redhat.com>
2856 * gdb.base/corefile.exp: Remove references to ultrix.
2857 * gdb.base/interrupt.exp: Likewise.
2858 * gdb.base/whatis.exp: Likewise.
2859 * gdb.gdb/selftest.exp: Likewise.
2860 * gdb.threads/manythreads.exp: Likewise.
2861 * gdb.threads/print-threads.exp: Likewise.
2862 * gdb.threads/pthreads.exp:: Likewise.
2863 * gdb.threads/schedlock.exp: Likewise.
2865 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
2867 * gdb.cp/non-trivial-retval.cc: Add a test case.
2868 * gdb.cp/non-trivial-retval.exp: Add a test.
2870 2014-10-20 Yao Qi <yao@codesourcery.com>
2872 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
2873 * gdb.python/py-objfile-script-gdb.py: New file.
2874 * gdb.python/py-objfile-script.exp: Update reference to
2875 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
2876 of remote_download. Remove the dest file.
2878 2014-10-20 Yao Qi <yao@codesourcery.com>
2880 * gdb.base/checkpoint.exp: Don't remove file copied on host.
2881 * gdb.base/step-line.exp: Likewise.
2882 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2883 * gdb.dwarf2/dw2-basic.exp: Likewise.
2884 * gdb.dwarf2/dw2-compressed.exp: Likewise.
2885 * gdb.dwarf2/dw2-filename.exp: Likewise.
2886 * gdb.dwarf2/dw2-intercu.exp: Likewise.
2887 * gdb.dwarf2/dw2-intermix.exp: Likewise.
2888 * gdb.dwarf2/dw2-producer.exp: Likewise.
2889 * gdb.dwarf2/mac-fileno.exp: Likewise.
2890 * gdb.python/py-frame-args.exp: Likewise.
2891 * gdb.python/py-framefilter.exp: Likewise.
2892 * gdb.python/py-mi.exp: Likewise.
2893 * gdb.python/py-objfile-script.exp: Likewise
2894 * gdb.python/py-pp-integral.exp: Likewise.
2895 * gdb.python/py-pp-re-notag.exp: Likewise.
2896 * gdb.python/py-prettyprint.exp: Likewise.
2897 * gdb.python/py-section-script.exp: Likewise.
2898 * gdb.python/py-typeprint.exp: Likewise.
2899 * gdb.python/py-xmethods.exp: Likewise.
2900 * gdb.stabs/weird.exp: Likewise.
2901 * gdb.xml/tdesc-regs.exp: Likewise.
2903 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
2905 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
2906 (out_cu): Use addr_len for the size of addresses.
2907 (out_line): Likewise. Size DW_LNE_set_address instruction
2908 according to addr_len.
2909 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
2910 (FUNC): Add START_INSNS to definition.
2912 2014-10-18 Yao Qi <yao@codesourcery.com>
2914 * gdb.base/argv0-symlink.exp: Check argv[0] value if
2915 gdb_has_argv0 return true.
2916 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
2917 check [target_info exists noargs], check [gdb_has_argv0]
2919 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2920 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
2923 2014-10-17 Doug Evans <dje@google.com>
2925 * gdb.python/py-events.exp: Update expected output for clear_objfiles
2927 * gdb.python/py-events.py: Add clear_objfiles event.
2929 2014-10-17 Doug Evans <dje@google.com>
2931 * gdb.python/py-objfile.exp: Test progspace attribute.
2933 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
2935 * gdb.guile/scm-breakpoint.exp: Do not assume any
2936 directory separators when matching source file paths.
2937 * gdb.python/py-breakpoint.exp: Likewise.
2938 * gdb.reverse/break-precsave.exp: Likewise.
2939 * gdb.reverse/break-reverse.exp: Likewise.
2940 * gdb.reverse/consecutive-precsave.exp: Likewise.
2941 * gdb.reverse/finish-precsave.exp: Likewise.
2942 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
2943 * gdb.reverse/finish-reverse.exp: Likewise.
2944 * gdb.reverse/i386-precsave.exp: Likewise.
2945 * gdb.reverse/i387-env-reverse.exp: Likewise.
2946 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2947 * gdb.reverse/machinestate-precsave.exp: Likewise.
2948 * gdb.reverse/machinestate.exp: Likewise.
2949 * gdb.reverse/sigall-precsave.exp: Likewise.
2950 * gdb.reverse/solib-precsave.exp: Likewise.
2951 * gdb.reverse/step-precsave.exp: Likewise.
2952 * gdb.reverse/until-precsave.exp: Likewise.
2953 * gdb.reverse/watch-precsave.exp: Likewise.
2954 * gdb.reverse/watch-reverse.exp: Likewise.
2956 2014-10-17 Yao Qi <yao@codesourcery.com>
2958 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
2959 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
2961 2014-10-17 Pedro Alves <palves@redhat.com>
2964 * gdb.base/bg-execution-repeat.c: New file.
2965 * gdb.base/bg-execution-repeat.exp: New file.
2967 2014-10-17 Pedro Alves <palves@redhat.com>
2970 * gdb.base/continue-all-already-running.c: New file.
2971 * gdb.base/continue-all-already-running.exp: New file.
2973 2014-10-17 Pedro Alves <palves@redhat.com>
2976 * gdb.base/annota-input-while-running.c: New file.
2977 * gdb.base/annota-input-while-running.exp: New file.
2979 2014-10-17 Pedro Alves <palves@redhat.com>
2981 * gdb.base/callfuncs.exp: emove references to osf.
2982 * gdb.base/sigall.exp: Likewise.
2983 * gdb.gdb/selftest.exp: Likewise.
2984 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2985 * gdb.mi/non-stop.c: Likewise.
2986 * gdb.mi/pthreads.c: Likewise.
2987 * gdb.reverse/sigall-precsave.exp: Likewise.
2988 * gdb.reverse/sigall-reverse.exp: Likewise.
2989 * gdb.threads/pthreads.c: Likewise.
2990 * gdb.threads/pthreads.exp: Likewise.
2992 2014-10-17 Yao Qi <yao@codesourcery.com>
2994 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
2995 check 'target_info exists noargs'.
2996 (test_command_prompt_position): Likewise.
2997 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
2999 (progvar_simple_while_test): Likewise.
3000 (progvar_complex_if_while_test): Likewise.
3001 (if_while_breakpoint_command_test): Likewise.
3002 (infrun_breakpoint_command_test): Likewise.
3003 (breakpoint_command_test): Likewise.
3004 (watchpoint_command_test): Likewise.
3005 (bp_deleted_in_command_test): Likewise.
3006 (temporary_breakpoint_commands): Likewise.
3008 2014-10-16 Yao Qi <yao@codesourcery.com>
3010 * gdb.base/remotetimeout.exp: Remove noargs checking.
3012 2014-10-15 Pedro Alves <palves@redhat.com>
3015 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
3016 * gdb.base/breakpoint-in-ro-region.exp
3017 (probe_target_hardware_step): New procedure.
3018 (top level): Probe hardware stepping and hardware breakpoint
3019 support. Test stepping through a read-only region, with both
3020 "breakpoint auto-hw" on and off and both "always-inserted" on and
3023 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
3025 * gdb.dlang/demangle.exp: Update for demangling changes.
3027 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3029 * gdb.cp/non-trivial-retval.cc: Add new test cases.
3030 * gdb.cp/non-trivial-retval.exp: Add new tests.
3032 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3036 * gdb.cp/non-trivial-retval.cc: New file.
3037 * gdb.cp/non-trivial-retval.exp: New file.
3039 2014-10-15 Yao Qi <yao@codesourcery.com>
3041 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
3044 2014-10-15 Yao Qi <yao@codesourcery.com>
3046 * gdb.python/py-symbol.exp: Match file base name if host is
3047 remote, otherwise match file name with dir name.
3048 * gdb.python/py-symtab.exp: Likewise.
3049 * gdb.python/python.exp: Likewise.
3051 2014-10-15 Yao Qi <yao@codesourcery.com>
3053 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
3055 * gdb.python/py-symtab.exp: Likewise.
3056 * gdb.python/python.exp: Remove trailing ".*". Fix typo
3059 2014-10-14 Joel Brobecker <brobecker@adacore.com>
3061 * gdb.ada/addr_arith: New testcase.
3063 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
3065 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
3066 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
3067 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
3068 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
3070 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
3072 * gdb.arch/stap-eval-lang-ada.S: Likewise.
3073 * gdb.arch/stap-eval-lang-ada.c: Likewise.
3074 * gdb.arch/stap-eval-lang-ada.exp: New file.
3076 2014-10-14 Yao Qi <yao@codesourcery.com>
3078 * gdb.mi/mi-var-child.c (nothing1): New function.
3079 (nothing2): New function.
3080 (do_children_tests): Set function pointers by nothing1 and
3082 * gdb.mi/mi-var-child.exp: Step over new added statements.
3083 Update test to match the new output.
3084 * gdb.mi/var-cmd.c (nothing1): New function.
3085 (nothing2): New function.
3086 (do_children_tests): Set function pointers by nothing1 and
3088 * gdb.mi/mi-var-display.exp: Update test to match output.
3089 Step to the line specified by $line_dct_nothing.
3090 Increase the number of lines to step.
3092 2014-10-14 Yao Qi <yao@codesourcery.com>
3094 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
3096 * gdb.mi/mi2-var-child.exp: Likewise.
3098 2014-10-13 Doug Evans <dje@google.com>
3100 * gdb.python/py-objfile.exp: Change name of file name test.
3102 2014-10-13 Doug Evans <dje@google.com>
3104 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
3105 from the start of the CU.
3107 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3108 Yao Qi <yao@codesourcery.com>
3110 Fix "save breakpoints" for "catch" command.
3111 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
3112 Remove -nonewline. Match also the added "main" line.
3114 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3116 Fix "save breakpoints" for "disable $bpnum" command.
3117 * gdb.base/save-bp.c (main): Add label.
3118 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
3120 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3122 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
3124 2014-10-11 Yao Qi <yao@codesourcery.com>
3126 * gdb.server/server-kill.exp: Execute command
3127 "set remote trace-status-packet on" before "tstatus".
3129 2014-10-11 Yao Qi <yao@codesourcery.com>
3131 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
3132 (main): Call getppid.
3133 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
3134 and continue to it. Read variable "server_pid".
3136 2014-10-11 Yao Qi <yao@codesourcery.com>
3138 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
3140 2014-10-11 Yao Qi <yao@codesourcery.com>
3142 * gdb.threads/thread-find.exp: Don't execute command
3144 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
3145 * gdb.threads/linux-dp.exp: Don't check the condition
3146 $threads_created equals to zero.
3148 2014-10-10 Pedro Alves <palves@redhat.com>
3150 * gdb.base/bigcore.exp: Remove references to IRIX.
3151 * gdb.base/funcargs.exp: Likewise.
3152 * gdb.base/interrupt.exp: Likewise.
3153 * gdb.base/mips_pro.exp: Likewise.
3154 * gdb.base/nodebug.exp: Likewise.
3155 * gdb.base/setvar.exp: Likewise.
3156 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
3158 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3159 Pedro Alves <palves@redhat.com>
3162 * gdb.base/vdso-warning.c: New file.
3163 * gdb.base/vdso-warning.exp: New file.
3165 2014-10-02 Doug Evans <dje@google.com>
3167 * gdb.base/structs.c (main): Don't run forever.
3169 2014-10-02 Pedro Alves <palves@redhat.com>
3171 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
3172 (top level) <stop threads 1, stop threads 2>: Use it.
3174 2014-10-02 Pedro Alves <palves@redhat.com>
3176 * gdb.threads/break-while-running.exp (test): Add new
3177 'update_thread_list' argument. Skip "info threads" if false.
3178 (top level): Add new 'update_thread_list' axis.
3180 2014-10-02 Pedro Alves <palves@redhat.com>
3182 PR breakpoints/17431
3183 * gdb.base/execl-update-breakpoints.c: New file.
3184 * gdb.base/execl-update-breakpoints.exp: New file.
3186 2014-10-01 Pedro Alves <palves@redhat.com>
3188 * gdb.base/breakpoint-in-ro-region.c: New file.
3189 * gdb.base/breakpoint-in-ro-region.exp: New file.
3191 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
3193 * gdb.mi/mi-exit-code.exp: New file.
3194 * gdb.mi/mi-exit-code.c: New file.
3196 2014-09-30 Yao Qi <yao@codesourcery.com>
3198 * lib/prelink-support.exp (build_executable_own_libs): Error if
3199 the target isn't native.
3201 2014-09-30 Yao Qi <yao@codesourcery.com>
3203 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
3206 2014-09-22 Pedro Alves <palves@redhat.com>
3208 * gdb.threads/break-while-running.exp: New file.
3209 * gdb.threads/break-while-running.c: New file.
3211 2014-09-19 Yao Qi <yao@codesourcery.com>
3213 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
3214 Invoke test. Restart GDB with --readnow and invoke test again.
3216 2014-09-19 Yao Qi <yao@codesourcery.com>
3218 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
3219 proc set_breakpoint_on_gcd_function. Invoke
3220 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
3221 invoke set_breakpoint_on_gcd_function again.
3223 2014-09-18 Doug Evans <dje@google.com>
3225 * gdb.dwarf2/symtab-producer.exp: New file.
3227 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3229 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
3230 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
3231 * gdb.base/global-var-nested-by-dso.c: Likewise.
3232 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3234 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3235 Pedro Alves <palves@redhat.com>
3237 * gdb.base/watch-bitfields.exp: Pass string other than test file
3238 name to prepare_for_testing.
3239 (watch): New procedure.
3240 (expect_watchpoint): Use with_test_prefix.
3241 (top level): Factor out tests to ...
3242 (test_watch_location, test_regular_watch): ... these new
3243 procedures, and use with_test_prefix and gdb_continue_to_end.
3245 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
3247 PR breakpoints/12526
3248 * gdb.base/watch-bitfields.exp: New file.
3249 * gdb.base/watch-bitfields.c: New file.
3251 2014-09-16 Pedro Alves <palves@redhat.com>
3253 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
3254 software and hardware addresses, not software address against
3257 2014-09-16 Pedro Alves <palves@redhat.com>
3259 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
3260 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
3262 2014-09-16 Pedro Alves <palves@redhat.com>
3264 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
3266 * gdb.base/a2-run.exp: Remove all code guarded by istarget
3267 "*-*-vxworks*" throughout.
3268 * gdb.base/break.exp: Likewise.
3269 * gdb.base/default.exp: Likewise.
3270 * gdb.base/scope.exp: Likewise.
3271 * gdb.base/sepdebug.exp: Likewise.
3272 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
3274 * gdb.base/run.c: Likewise.
3275 * gdb.base/sepdebug.c: Likewise.
3276 * gdb.hp/gdb.aCC/run.c: Likewise.
3277 * gdb.reverse/until-reverse.c: Likewise.
3278 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
3280 2014-09-16 Yao Qi <yao@codesourcery.com>
3282 * boards/local-remote-host-native.exp: New file.
3284 2014-09-14 Doug Evans <xdje42@gmail.com>
3286 * gdb.threads/queue-signal.c (thread_count): New variable.
3287 (thread_count_mutex, thread_count_condvar): New variables.
3288 (incr_thread_count, wait_all_threads_running): New functions.
3289 (main): Wait for all threads to be in their thread functions.
3291 2014-09-13 Doug Evans <xdje42@gmail.com>
3293 * gdb.threads/queue-signal.c: New file.
3294 * gdb.threads/queue-signal.exp: New file.
3296 2014-09-13 Doug Evans <xdje42@gmail.com>
3298 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
3299 be consistent with what default_gdb_init uses.
3300 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
3301 the plain text of the prompt. Add some logging printfs.
3302 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
3304 2014-09-12 Pedro Alves <palves@redhat.com>
3306 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
3307 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
3308 * gdb.arch/i386-size-overlap.exp: Likewise.
3309 * gdb.arch/i386-size.exp: Likewise.
3310 * gdb.arch/i386-unwind.exp: Likewise.
3311 * gdb.base/a2-run.exp: Likewise.
3312 * gdb.base/break.exp: Likewise.
3313 * gdb.base/charset.exp: Likewise.
3314 * gdb.base/chng-syms.exp: Likewise.
3315 * gdb.base/commands.exp: Likewise.
3316 * gdb.base/dbx.exp: Likewise.
3317 * gdb.base/find.exp: Likewise.
3318 * gdb.base/funcargs.exp: Likewise.
3319 * gdb.base/jit-simple.exp: Likewise.
3320 * gdb.base/reread.exp: Likewise.
3321 * gdb.base/sepdebug.exp: Likewise.
3322 * gdb.base/step-bt.exp: Likewise.
3323 * gdb.cp/mb-inline.exp: Likewise.
3324 * gdb.cp/mb-templates.exp: Likewise.
3325 * gdb.objc/basicclass.exp: Likewise.
3326 * gdb.threads/killed.exp: Likewise.
3328 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3331 * gdb.arch/powerpc-stackless.S: New file.
3332 * gdb.arch/powerpc-stackless.exp: New file.
3334 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3336 * gdb.base/attach.c: Include unistd.h.
3337 (main): Call alarm. Add label postloop.
3338 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
3339 gdb_breakpoint, gdb_continue_to_breakpoint.
3340 (test_command_line_attach_run): Kill ${testpid} in one exit path.
3342 2014-09-11 Pedro Alves <palves@redhat.com>
3345 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
3346 * gdb.base/attach.exp (test_command_line_attach_run): New
3348 (top level): Call it.
3350 2014-09-11 Pedro Alves <palves@redhat.com>
3352 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
3353 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
3354 (do_command_attach_tests): Use spawn_wait_for_attach.
3355 * gdb.base/solib-overlap.exp: Likewise.
3356 * gdb.multi/multi-attach.exp: Likewise.
3357 * gdb.python/py-prompt.exp: Likewise.
3358 * gdb.python/py-sync-interp.exp: Likewise.
3359 * gdb.server/ext-attach.exp: Likewise.
3361 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
3363 * gdb.fortran/array-element.exp: Remove unexpected "continue"
3364 command in testcase. Simplify testcase.
3366 2014-09-10 Joel Brobecker <brobecker@adacore.com>
3368 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
3370 2014-09-10 Joel Brobecker <brobecker@adacore.com>
3372 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
3374 2014-09-10 Joel Brobecker <brobecker@adacore.com>
3376 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
3378 2014-09-10 Joel Brobecker <brobecker@adacore.com>
3380 * gdb.dwarf2/dynarr-ptr.c: New file.
3381 * gdb.dwarf2/dynarr-ptr.exp: New file.
3383 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3385 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
3386 of 30 rather than hardcoding 120 for a slow test case. Take the
3387 `gdb,timeout' target setting into account for this calculation.
3388 Don't extend the timeout for the test cases that don't need it.
3390 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3392 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
3393 a factor of 2 for a slow test case. Take the `gdb,timeout'
3394 target setting into account for this calculation.
3395 * gdb.reverse/until-precsave.exp: Increase the timeout by
3396 a factor of 15 and 3 respectively rather than adding 120
3397 for a pair of slow test cases. Take the `gdb,timeout'
3398 target setting into account for this calculation.
3400 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3402 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
3403 timeout, don't pass one down to gdb_expect.
3404 (gdb_expect): Rework timeout selection.
3406 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3408 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
3409 exception on timeout.
3410 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
3411 (gdbserver_start_extended): Catch any `gdbserver_start' error
3413 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
3414 * lib/mi-support.exp (mi_gdb_target_load): Catch any
3415 `gdbserver_gdb_load' error exceptions.
3417 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3419 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
3420 120 on waiting for the TCP socket to open.
3422 2014-09-09 Doug Evans <xdje42@gmail.com>
3424 * gdb.base/default.exp (show_conv_list): Add _caller_is,
3425 _caller_matches, _any_caller_is, _any_caller_matches.
3427 2014-09-09 Doug Evans <xdje42@gmail.com>
3429 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
3431 2014-09-09 Yao Qi <yao@codesourcery.com>
3433 * gdb.mi/mi-var-display.exp: Set print symbol off.
3435 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
3438 * gdb.base/commands.exp: Add tests to verify user-defined
3439 commands with empty bodies.
3440 * gdb.python/py-cmd.exp: Test that we don't show user-defined
3441 python commands in `show user command`.
3442 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
3443 scheme commands in `show user command`.
3445 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3448 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
3449 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
3450 * gdb.python/py-framefilter-invalidarg.exp: New file.
3451 * gdb.python/py-framefilter-invalidarg.py: New file.
3453 2014-09-06 Doug Evans <xdje42@gmail.com>
3456 * gdb.python/py-caller-is.c: New file.
3457 * gdb.python/py-caller-is.exp: New file.
3459 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
3462 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
3463 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
3465 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
3468 * gdb.fortran/print-formatted.exp: New file.
3469 * gdb.fortran/print-formatted.f90: Likewise.
3471 2014-09-03 Sasha Smundak <asmundak@google.com>
3473 * gdb.python/py-frame.exp: Test Frame.read_register.
3475 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
3478 * gdb.python/py-completion.exp: New file.
3479 * gdb.python/py-completion.py: Likewise.
3481 2014-08-28 Doug Evans <dje@google.com>
3483 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
3484 eax,etc. are live with values set by gdb and thus the compiler can't
3486 * gdb.arch/i386-pseudo.c (main): Ditto.
3488 2014-08-27 Doug Evans <dje@google.com>
3490 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
3492 2014-08-25 Doug Evans <dje@google.com>
3494 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
3497 2014-08-25 Doug Evans <dje@google.com>
3499 * gdb.threads/thread-execl.exp: #include <stdio.h>.
3501 2014-08-24 Yao Qi <yao@codesourcery.com>
3503 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
3505 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
3507 2014-08-22 Doug Evans <dje@google.com>
3510 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
3511 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
3512 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
3514 2014-08-22 Yao Qi <yao@codesourcery.com>
3516 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
3517 * gdb.python/py-finish-breakpoint2.exp: Likewise.
3518 * gdb.python/python.exp: Likewise. Use .py file on the host
3519 instead of the build.
3521 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3523 * gdb.threads/gcore-stale-thread.c: New file.
3524 * gdb.threads/gcore-stale-thread.exp: New file.
3526 2014-08-21 Pedro Alves <palves@redhat.com>
3528 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
3529 * gdb.base/gcore-relro-pie.exp: Likewise.
3530 * gdb.base/gcore-relro.exp: Likewise.
3531 * gdb.base/gcore.exp: Likewise.
3532 * gdb.base/print-symbol-loading.exp: Likewise.
3533 * gdb.threads/gcore-thread.exp: Likewise.
3534 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
3536 2014-08-20 Pedro Alves <palves@redhat.com>
3537 Jan Kratochvil <jan.kratochvil@redhat.com>
3539 * Makefile.in (EXTRA_RULES, CC): New variables, get from
3541 (EXPECT): Handle READ1 being set.
3542 (all): Depend on EXTRA_RULES.
3543 (check-read1, expect-read1, read1.so, read1): New rules.
3544 * README (Testsuite Parameters): Document the READ1 make variable.
3545 (Race detection): New section.
3546 * configure: Regenerate.
3547 * configure.ac: If build==host==target, and running under a
3548 GNU/glibc system, add read1 to the extra Makefile rules.
3549 (EXTRA_RULES): AC_SUBST it.
3550 * lib/read1.c: New file.
3552 2014-08-20 Joel Brobecker <brobecker@adacore.com>
3554 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
3555 the handling of variables declared as a typedef to an array
3556 which a DW_AT_data_location attribute.
3558 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
3559 Pedro Alves <palves@redhat.com>
3563 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
3566 2014-08-19 Pedro Alves <palves@redhat.com>
3568 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
3570 2014-08-19 Yao Qi <yao@codesourcery.com>
3572 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
3575 2014-08-18 David Blaikie <dblaikie@gmail.com>
3577 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
3579 2014-08-18 Joel Brobecker <brobecker@adacore.com>
3581 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
3582 attribute in array range.
3584 2014-08-18 Joel Brobecker <brobecker@adacore.com>
3586 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
3588 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3591 * gdb.cp/pr17132.cc: New file.
3592 * gdb.cp/pr17132.exp: New file.
3594 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3596 * gdb.python/py-xmethods.py (A_getarrayind)
3597 (E_method_char_worker.__call__, E_method_int_worker.__call__):
3598 Use 'print' with function call syntax.
3599 (E_method_matcher.match): Fix tab vs space indentation mixup.
3601 2014-08-15 Yao Qi <yao@codesourcery.com>
3603 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
3606 2014-08-15 Yao Qi <yao@codesourcery.com>
3608 * gdb.cp/casts.exp: Set print symbol off.
3609 * gdb.cp/class2.exp: Likewise.
3610 * gdb.cp/overload.exp: Likewise.
3611 * gdb.cp/templates.exp: Likewise.
3613 2014-08-11 Doug Evans <dje@google.com>
3615 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3616 (test_load_shlib): Update.
3618 2014-08-09 Yao Qi <yao@codesourcery.com>
3620 * gdb.base/display.exp: Invoke is_address_zero_readable.
3621 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
3622 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3623 * gdb.base/hbreak-unmapped.exp: Return if
3624 is_address_zero_readable returns true.
3625 * gdb.base/signest.exp: Likewise.
3626 * gdb.base/signull.exp: Likewise.
3627 * gdb.base/sigbpt.exp: Likewise.
3628 * gdb.guile/scm-disasm.exp: Do the test if
3629 is_address_zero_readable returns false.
3630 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
3631 * gdb.python/py-arch.exp: Likewise.
3632 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
3633 * lib/gdb.exp (is_address_zero_readable): New proc.
3635 2014-08-09 Yao Qi <yao@codesourcery.com>
3638 * gdb.mi/mi-var-display.exp: Make test messages unique.
3640 2014-08-04 Tom Tromey <tromey@redhat.com>
3642 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
3645 2014-08-04 Tom Tromey <tromey@redhat.com>
3647 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
3650 2014-08-01 Joel Brobecker <brobecker@adacore.com>
3652 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
3653 inner_vla_struct_object_size.
3654 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
3657 2014-07-30 Pedro Alves <palves@redhat.com>
3659 * gdb.threads/signal-command-handle-nopass.exp (test): Add
3662 2014-07-29 Yao Qi <yao@codesourcery.com>
3665 * gdb.base/until-nodebug.exp: New.
3667 2014-07-28 Doug Evans <xdje42@gmail.com>
3670 * gdb.guile/scm-parameter.exp: Add tests for trying to create
3671 previously existing parameter, and previously ambiguously spelled
3674 2014-07-28 Will Newton <will.newton@linaro.org>
3676 * gdb.base/varargs.exp: Remove KFAILs for ARM.
3678 2014-07-26 Ludovic Courtès <ludo@gnu.org>
3679 Doug Evans <xdje42@gmail.com>
3682 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
3684 2014-07-25 Pedro Alves <palves@redhat.com>
3686 * gdb.threads/signal-command-handle-nopass.c: New file.
3687 * gdb.threads/signal-command-handle-nopass.exp: New file.
3688 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
3689 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
3690 * gdb.threads/signal-delivered-right-thread.c: New file.
3691 * gdb.threads/signal-delivered-right-thread.exp: New file.
3693 2014-07-25 Pedro Alves <palves@redhat.com>
3695 * gdb.base/double-prompt-target-event-error.exp
3696 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
3698 (cancel_pagination_in_target_event): Rework double prompt
3700 * gdb.base/paginate-after-ctrl-c-running.exp
3701 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
3703 * gdb.base/paginate-bg-execution.exp
3704 (test_bg_execution_pagination_return)
3705 (test_bg_execution_pagination_cancel): Remove '-notransfer
3707 * gdb.base/paginate-execution-startup.exp
3708 (test_fg_execution_pagination_return)
3709 (test_fg_execution_pagination_cancel): Remove '-notransfer
3711 * gdb.base/paginate-inferior-exit.exp
3712 (test_paginate_inferior_exited): Remove '-notransfer <return>'
3714 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
3715 * lib/gdb.exp (pagination_prompt): Run text through
3717 (gdb_test_multiple): Match $pagination_prompt instead of
3719 (string_to_regexp): Move to lib/gdb-utils.exp.
3721 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3723 * gdb.arch/amd64-entry-value-paramref.S: New file.
3724 * gdb.arch/amd64-entry-value-paramref.cc: New file.
3725 * gdb.arch/amd64-entry-value-paramref.exp: New file.
3726 * gdb.arch/amd64-optimout-repeat.S: New file.
3727 * gdb.arch/amd64-optimout-repeat.c: New file.
3728 * gdb.arch/amd64-optimout-repeat.exp: New file.
3730 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3733 * gdb.base/statistics.exp: New file.
3735 2014-07-17 Doug Evans <dje@google.com>
3738 * gdb.base/maint.exp: Update testing of per-command stats.
3740 2014-07-16 Pedro Alves <palves@redhat.com>
3742 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
3743 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
3744 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
3745 (tfile_write_buf): New functions.
3746 (add_memory_block): Rewrite using the above.
3747 (adjust_function_address): New function.
3748 (FUNCTION_ADDRESS): New macro.
3749 (write_basic_trace_file): Remove short_x local, and use
3750 tfile_write_16. Change type of func_addr local to unsigned long
3751 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
3752 here. Cast argument of add_memory_block to char pointer.
3753 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
3754 (main): Remove parameters.
3755 * gdb.trace/tfile.exp: Remove nowarnings.
3757 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
3759 * gdb.base/debug-expr.exp: Test string evaluation with
3760 "debug expression" on.
3762 2014-07-15 Pedro Alves <palves@redhat.com>
3764 * gdb.base/reread.exp: Use clean_restart.
3766 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
3768 * gdb.arch/avr-flash-qualifer.c: New.
3769 * gdb.arch/avr-flash-qualifer.exp: New.
3771 2014-07-14 Pedro Alves <palves@redhat.com>
3773 * gdb.base/paginate-after-ctrl-c-running.c: New file.
3774 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
3776 2014-07-14 Pedro Alves <palves@redhat.com>
3778 * gdb.base/double-prompt-target-event-error.c: New file.
3779 * gdb.base/double-prompt-target-event-error.exp: New file.
3781 2014-07-14 Pedro Alves <palves@redhat.com>
3784 * gdb.base/paginate-inferior-exit.c: New file.
3785 * gdb.base/paginate-inferior-exit.exp: New file.
3787 2014-07-14 Pedro Alves <palves@redhat.com>
3790 * gdb.base/paginate-bg-execution.c: New file.
3791 * gdb.base/paginate-bg-execution.exp: New file.
3793 2014-07-14 Pedro Alves <palves@redhat.com>
3796 * gdb.base/paginate-execution-startup.c: New file.
3797 * gdb.base/paginate-execution-startup.exp: New file.
3798 * lib/gdb.exp (pagination_prompt): New global.
3799 (default_gdb_spawn): New procedure, factored out from
3801 (default_gdb_start): Adjust to call default_gdb_spawn.
3802 (gdb_spawn): New procedure.
3804 2014-07-14 Pedro Alves <palves@redhat.com>
3806 * lib/gdb.exp (gdb_assert): New procedure.
3807 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
3809 2014-07-14 Pedro Alves <palves@redhat.com>
3811 * gdb.base/execution-termios.c: New file.
3812 * gdb.base/execution-termios.exp: New file.
3814 2014-07-14 Tom Tromey <tromey@redhat.com>
3816 * gdb.cp/vla-cxx.cc: New file.
3817 * gdb.cp/vla-cxx.exp: New file.
3819 2014-07-14 Tom Tromey <tromey@redhat.com>
3821 * gdb.reverse/rerun-prec.c: New file.
3822 * gdb.reverse/rerun-prec.exp: New file.
3824 2014-07-12 Maciej W. Rozycki <macro@mips.com>
3825 Maciej W. Rozycki <macro@codesourcery.com>
3827 * lib/gdb-utils.exp: New file.
3828 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
3829 inline `gdb_init_command' processing.
3830 (gdb_start_cmd): Likewise.
3831 * lib/mi-support.exp (mi_run_cmd): Likewise.
3832 * README: Document `gdb_init_command' and `gdb_init_commands'.
3834 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3836 Fix false FAIL running under a very long directory name.
3837 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
3838 and "set print elements 10000". Twice.
3840 2014-07-11 Yao Qi <yao@codesourcery.com>
3842 * gdb.base/exprs.exp: "set print symbol off".
3844 2014-07-11 Pedro Alves <palves@redhat.com>
3846 * gdb.threads/kill.c: New file.
3847 * gdb.threads/kill.exp: New file.
3849 2014-07-10 Yao Qi <yao@codesourcery.com>
3851 * gdb.trace/tfile.c (write_basic_trace_file)
3852 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
3853 address written to trace file.
3855 2014-07-09 Pedro Alves <palves@redhat.com>
3857 * gdb.base/attach-wait-input.exp: New file.
3858 * gdb.base/attach-wait-input.c: New file.
3860 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3862 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
3863 setting up test structures.
3864 (main): Call new test function.
3865 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
3866 test function, continue into test function and walk test
3869 2014-07-02 Yao Qi <yao@codesourcery.com>
3871 * gdb.trace/entry-values.c: Define labels 'foo_start' and
3872 'bar_start' at the beginning of functions 'foo' and 'bar'
3874 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
3875 instead of 'foo' and 'bar'.
3877 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
3879 * gdb.btrace/segv.exp: New.
3880 * gdb.btrace/segv.c: New.
3882 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
3884 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
3887 2014-06-30 Mark Wielaard <mjw@redhat.com>
3889 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
3890 vulture, vilify, villar): New volatile array constants.
3891 (vindictive, vegetation): New const volatile array constants.
3892 * gdb.base/volatile.exp: Test volatile and const volatile array
3895 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
3897 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
3898 target lacks support for awatch, rwatch, or hbreak.
3900 2014-06-27 Yao Qi <yao@codesourcery.com>
3902 * gdb.multi/dummy-frame-restore.exp: New.
3903 * gdb.multi/dummy-frame-restore.c: New.
3905 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3907 * gdb.btrace/gcore.exp: New.
3909 2014-06-23 Pedro Alves <palves@redhat.com>
3911 * gdb.base/watchpoint-reuse-slot.c: New file.
3912 * gdb.base/watchpoint-reuse-slot.exp: New file.
3914 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
3916 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
3917 progspace's filename in 'info', 'enable' and 'disable' command
3920 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3922 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
3923 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3924 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
3926 2014-06-20 Gary Benson <gbenson@redhat.com>
3928 * gdb.arch/i386-avx.exp: Fix include file location.
3929 * gdb.arch/i386-sse.exp: Likewise.
3931 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
3933 * gdb.dlang/expression.exp: New file.
3935 2014-06-19 Pedro Alves <palves@redhat.com>
3937 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
3939 (top level): ... here. Iterate running tests under different
3940 scheduler-locking settings.
3942 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
3944 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
3945 to DW_FORM_addr and use non-zero addresses.
3947 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
3950 * gdb.python/py-xmethods.cc: Add global function call counters and
3951 increment them in their respective functions. Remove "cout"
3953 * gdb.python/py-xmethods.exp: Make tests check the global function
3954 call counters instead of depending on inferior IO.
3956 2014-06-18 Don Breazeal <donb@codesourcery.com>
3958 * gdb.base/foll-fork.exp (default_fork_parent_follow):
3960 (explicit_fork_parent_follow): Deleted procedure.
3961 (explicit_fork_child_follow): Deleted procedure.
3962 (test_follow_fork): New procedure.
3963 (do_fork_tests): Replace calls to deleted procedures with
3964 calls to test_follow_fork and reset GDB for subsequent
3967 2014-06-17 Yao Qi <yao@codesourcery.com>
3969 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
3972 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
3974 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
3975 Initialize ptr and S explicitly.
3976 (skip_type_update_when_not_use_rtti_test): Likewise.
3978 2014-06-16 Keith Seitz <keiths@redhat.com>
3981 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
3982 the inferior is started.
3984 2014-06-16 Pedro Alves <palves@redhat.com>
3986 * gdb.base/break-main-file-remove-fail.c: New file.
3987 * gdb.base/break-main-file-remove-fail.exp: New file.
3988 * gdb.base/break-unload-file.exp: Use build_executable instead of
3989 prepare_for_testing.
3990 (test_break): New parameter "initial_load". Handle it.
3991 (top level): Add initial_load cmdline/file axis.
3993 2014-06-12 Tom Tromey <tromey@redhat.com>
3995 * gdb.base/completion.exp: Don't use directory name in test.
3997 2014-06-09 Gary Benson <gbenson@redhat.com>
3999 * gdb.base/sigall.c [Functions to send signals]: Reorder to
4000 separate the always-available ANSI-standard signals from the
4001 signals that require checking.
4003 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
4007 2014-06-07 Keith Seitz <keiths@redhat.com>
4011 * gdb.cp/var-tag.cc: New file.
4012 * gdb.cp/var-tag.exp: New file.
4013 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4014 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4015 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4016 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4018 2014-06-06 Doug Evans <xdje42@gmail.com>
4020 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
4022 2014-06-06 Pedro Alves <palves@redhat.com>
4024 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
4025 in target debug output instead of looking at RSP packets,
4026 disabling the test on any target that uses hardware stepping.
4029 2014-06-06 Pedro Alves <palves@redhat.com>
4031 * gdb.base/break-unload-file.exp: Fix typo.
4033 2014-06-06 Yao Qi <yao@codesourcery.com>
4035 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
4036 from "jit_function" to "^jit_function".
4038 2014-06-06 Yao Qi <yao@codesourcery.com>
4040 * gdb.base/async.c (foo): Add one statement.
4041 * gdb.base/async.exp: Get the next instruction address and
4042 match the output of "nexti" by instruction address. Match
4043 the hex address in the output of "finish".
4045 2014-06-06 Gary Benson <gbenson@redhat.com>
4047 * gdb.base/call-signals.c: Remove preprocessor conditionals
4048 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
4049 SIGSEGV and SIGTERM.
4050 * gdb.base/sigall.c: Likewise.
4051 * gdb.base/unwindonsignal.c: Likewise.
4052 * gdb.reverse/sigall-reverse.c: Likewise.
4054 2014-06-06 Yao Qi <yao@codesourcery.com>
4056 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
4057 readable, skip the test.
4059 2014-06-06 Yao Qi <yao@codesourcery.com>
4061 * gdb.threads/staticthreads.c (thread_function): Move the line
4062 setting breakpoint on forward.
4063 * gdb.threads/staticthreads.exp: Update comments.
4065 2014-06-05 Ludovic Courtès <ludo@gnu.org>
4067 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
4068 "history-append! type error".
4070 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
4072 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
4073 erroneous dprintf expected input.
4075 2014-06-04 Doug Evans <xdje42@gmail.com>
4077 * gdb.guile/scm-generics.exp: Delete.
4079 2014-06-04 Doug Evans <xdje42@gmail.com>
4081 * gdb.guile/scm-breakpoint.exp: Update.
4082 Add tests for breakpoint registration.
4084 2014-06-04 Tom Tromey <tromey@redhat.com>
4086 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
4088 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
4089 inner_vla_struct, vla_union types. Initialize objects of those
4090 types and compute their sizes.
4092 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
4093 Hui Zhu <hui@codesourcery.com>
4095 * gdb.base/fileio.exp: Add test for shell not available as well as
4097 * gdb.base/fileio.c (test_system): Check for shell twice.
4099 2014-06-04 Yao Qi <yao@codesourcery.com>
4101 * gdb.base/auto-connect-native-target.exp: Remove redundant
4102 space from the regexp pattern.
4104 2014-06-04 Yao Qi <yao@codesourcery.com>
4106 * gdb.base/default.exp: Replace "child" with "native" in
4109 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4111 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
4112 * gdb.python/py-xmethods.exp: New tests to test xmethods.
4113 * gdb.python/py-xmethods.py: Python script supporting the
4114 new testcase and tests.
4116 2014-06-03 Joel Brobecker <brobecker@adacore.com>
4117 Pedro Alves <palves@redhat.com>
4119 PR breakpoints/17000
4120 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
4121 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
4123 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
4125 * gdb.base/subst.exp: Add tests to verify partial path matching
4128 2014-06-03 Pedro Alves <palves@redhat.com>
4130 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
4131 target that doesn't use software single-stepping.
4133 2014-06-03 Pedro Alves <palves@redhat.com>
4135 PR breakpoints/17000
4136 * gdb.base/sss-bp-on-user-bp-2.c: New file.
4137 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
4139 2014-06-02 Doug Evans <xdje42@gmail.com>
4141 * gdb.guile/scm-parameter.exp: New file.
4143 2014-06-02 Doug Evans <xdje42@gmail.com>
4145 * gdb.guile/scm-cmd.c: New file.
4146 * gdb.guile/scm-cmd.exp: New file.
4148 2014-06-02 Doug Evans <xdje42@gmail.com>
4150 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
4151 pretty-printer lookup.
4152 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
4153 (make-pp_s-printer): Call it.
4154 (make-pretty-printer-from-dict): New function.
4155 (lookup-pretty-printer-maker-from-dict): New function.
4156 (*pretty-printer*): Simplify.
4157 (make-objfile-pp_s-printer): New function.
4158 (install-objfile-pretty-printers!): New function.
4159 (make-progspace-pp_s-printer): New function.
4160 (install-progspace-pretty-printers!): New function.
4161 * gdb.guile/scm-progspace.c: New file.
4162 * gdb.guile/scm-progspace.exp: New file.
4164 2014-06-02 Pedro Alves <palves@redhat.com>
4166 * gdb.base/dprintf-bp-same-addr.c: New file.
4167 * gdb.base/dprintf-bp-same-addr.exp: New file.
4169 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4171 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
4172 * gdb.arch/powerpc-power.s: Likewise.
4174 2014-06-02 Joel Brobecker <brobecker@adacore.com>
4176 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
4178 2014-06-01 Yao Qi <yao@codesourcery.com>
4180 * gdb.base/watchpoint.exp (test_watch_location): Check null
4181 pointer can be dereferenced. If not, do the test, otherwise
4184 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
4186 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
4188 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
4190 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
4192 * gdb.arch/amd64-invalid-stack-middle.S: New file.
4193 * gdb.arch/amd64-invalid-stack-middle.c: New file.
4194 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
4195 * gdb.arch/amd64-invalid-stack-top.c: New file.
4196 * gdb.arch/amd64-invalid-stack-top.exp: New file.
4198 2014-05-30 Pedro Alves <palves@redhat.com>
4200 PR breakpoints/17000
4201 * gdb.base/sss-bp-on-user-bp.c: New file.
4202 * gdb.base/sss-bp-on-user-bp.exp: New file.
4204 2014-05-30 David Blaikie <dblaikie@gmail.com>
4206 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
4207 gnu_inline semantics via attribute.
4208 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
4209 source explicitly specifies the required semantics.
4211 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
4213 * gdb.reverse/sigall-reverse.exp: Fix a typo.
4215 2014-05-29 Pedro Alves <palves@redhat.com>
4216 Tom Tromey <tromey@redhat.com>
4218 * gdb.base/async-shell.exp: Don't enable target-async.
4219 * gdb.base/async.exp
4220 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
4222 (top level): Don't test with "target-async".
4223 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
4224 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
4225 * gdb.base/inferior-died.exp: Don't enable target-async.
4226 * gdb.base/interrupt-noterm.exp: Likewise.
4227 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
4228 * gdb.mi/mi-nonstop-exit.exp: Likewise.
4229 * gdb.mi/mi-nonstop.exp: Likewise.
4230 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4231 * gdb.mi/mi-nsintrall.exp: Likewise.
4232 * gdb.mi/mi-nsmoribund.exp: Likewise.
4233 * gdb.mi/mi-nsthrexec.exp: Likewise.
4234 * gdb.mi/mi-watch-nonstop.exp: Likewise.
4235 * gdb.multi/watchpoint-multi.exp: Adjust comment.
4236 * gdb.python/py-evsignal.exp: Don't enable target-async.
4237 * gdb.python/py-evthreads.exp: Likewise.
4238 * gdb.python/py-prompt.exp: Likewise.
4239 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
4240 * gdb.server/solib-list.exp: Don't enable target-async.
4241 * gdb.threads/thread-specific-bp.exp: Likewise.
4242 * lib/mi-support.exp: Adjust to use mi-async.
4244 2014-05-29 Pedro Alves <palves@redhat.com>
4247 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
4248 reason, even in sync mode.
4250 2014-05-29 Pedro Alves <palves@redhat.com>
4251 Hui Zhu <hui@codesourcery.com>
4254 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
4255 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
4256 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
4257 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
4259 2014-05-28 Joel Brobecker <brobecker@adacore.com>
4261 * config/monitor.exp (gdb_target_monitor): Replace use of
4262 "set remotebaud" by "set serial baud".
4264 2014-05-26 Andy Wingo <wingo@igalia.com>
4266 * gdb.guile/scm-breakpoint.exp:
4267 * gdb.guile/scm-gsmob.exp: Update to use plain old object
4268 properties instead of gdb-object-properties.
4270 2014-05-26 Yao Qi <yao@codesourcery.com>
4272 * gdb.server/no-thread-db.exp: Specify source file name
4273 explicitly when setting a breakpoint.
4275 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4277 * gdb.btrace/vdso.c: New.
4278 * gdb.btrace/vdso.exp: New.
4280 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4282 * gdb.base/gcore.exp (capture_command_output): Move ...
4283 * lib/gdb.exp (capture_command_output): ... here.
4285 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4287 * gdb.btrace/data.exp: Test memory access during btrace replay.
4289 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
4291 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
4293 2014-05-21 Pedro Alves <palves@redhat.com>
4296 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
4297 (top level): Test that output related to execution commands is
4298 sent to the console with CLI commands, but not with MI commands.
4299 Test that breakpoint events are always mirrored to the console.
4300 Also expect the new source line to be output after a "next" in
4301 async mode too. Make it a pass/fail test.
4302 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
4304 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
4306 2014-05-21 Pedro Alves <palves@redhat.com>
4308 * gdb.base/list.exp (build_pattern, test_list): New procedures.
4309 Use them to test variations of "list" after reaching a breakpoint.
4310 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
4311 Test "list" with listsize 10 after reaching a breakpoint.
4312 * gdb.python/python.exp (decode_line current location line
4313 number): Adjust expected line number.
4315 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
4317 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
4318 behavior for $args, pass it directly to "run".
4320 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4322 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
4325 2014-05-21 Pedro Alves <palves@redhat.com>
4327 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
4328 auto-connect-native-target off".
4329 * gdb.base/auto-connect-native-target.c: New file.
4330 * gdb.base/auto-connect-native-target.exp: New file.
4332 2014-05-21 Pedro Alves <palves@redhat.com>
4334 * gdb.base/default.exp: Test "target native" instead of "target
4337 2014-05-21 Mark Wielaard <mjw@redhat.com>
4339 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
4341 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4343 Fix TLS access for -static -pthread.
4344 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
4345 <HAVE_TLS> (thread_function, main): Initialize it.
4346 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
4348 <$have_tls != "">: Check TLSVAR.
4350 2014-05-21 Pedro Alves <palves@redhat.com>
4352 * gdb.base/dcache-line-read-error.c: New.
4353 * gdb.base/dcache-line-read-error.exp: New.
4355 2014-05-20 Pedro Alves <palves@redhat.com>
4357 * gdb.base/compare-sections.c: New file.
4358 * gdb.base/compare-sections.exp: New file.
4360 2014-05-20 Pedro Alves <palves@redhat.com>
4362 * gdb.base/break-idempotent.c: New file.
4363 * gdb.base/break-idempotent.exp: New file.
4365 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
4367 * gdb.btrace/nohist.exp: New.
4369 2014-05-20 Yao Qi <yao@codesourcery.com>
4371 * lib/gdb.exp (gdb_init): Set timeout if test file is under
4372 gdb.reverse directory and gdb_reverse_timeout exists in board
4374 * README: Document gdb_reverse_timeout.
4376 2014-05-20 Yao Qi <yao@codesourcery.com>
4378 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
4379 'test_file_name'. Treat args as a string instead of a list.
4380 (gdb_init): Rename argument 'args' by 'test_file_name'.
4382 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4384 * gdb.arch/powerpc-power.exp: New file.
4385 * gdb.arch/powerpc-power.s: New file.
4387 2014-05-16 Doug Evans <dje@google.com>
4389 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
4390 * gdb.base/completion.exp: Check that all expected files exist
4391 before doing file completion.
4393 2014-05-16 Doug Evans <dje@google.com>
4395 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
4397 (do_syscall_tests_without_xml): Update.
4399 2014-05-16 Pedro Alves <palves@redhat.com>
4401 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
4402 instead of "unknown output after running".
4404 2014-05-16 Yao Qi <yao@codesourcery.com>
4406 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
4407 file1.txt from host at the end.
4408 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4410 2014-05-15 Doug Evans <dje@google.com>
4412 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
4413 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
4414 loading file. Add test for TU lookup.
4416 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
4418 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
4419 calling "-exec-arguments" or "set args" before running the
4422 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
4424 * lib/mi-support.exp (mi_expect_stop): Expect message for
4425 inferiors that exit with non-zero exit code.
4427 2014-05-14 Yao Qi <yao@codesourcery.com>
4429 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
4430 match absolute path on remote host.
4431 (test_file_list_exec_source_files): Remove "/" from the
4434 2014-05-14 Yao Qi <yao@codesourcery.com>
4436 * boards/local-remote-host-notty.exp (${board}_file): New
4439 2014-05-07 Kyle McMartin <kyle@redhat.com>
4441 Pushed by Joel Brobecker <brobecker@adacore.com>.
4442 * gdb.arch/aarch64-atomic-inst.c: New file.
4443 * gdb.arch/aarch64-atomic-inst.exp: New file.
4445 2014-05-07 Yao Qi <yao@codesourcery.com>
4447 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
4448 in current context" too.
4450 2014-05-05 Keith Seitz <keiths@redhat.com>
4452 * gdb.linespec/ls-dollar.exp: Add test for linespec
4453 file:convenience_variable.
4455 2014-05-05 Yao Qi <yao@codesourcery.com>
4457 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
4458 traceframes into tfile and ctf trace files. Read data from
4459 trace file and test collected data.
4460 (gdb_collect_locals_test): Likewise.
4461 (gdb_unavailable_registers_test): Likewise.
4462 (gdb_unavailable_floats): Likewise.
4463 (gdb_collect_globals_test): Likewise.
4464 (top-level): Append "ctf" to trace_file_targets if GDB
4467 2014-05-05 Yao Qi <yao@codesourcery.com>
4469 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
4471 (gdb_collect_args_test_1): ... it. New proc.
4472 (gdb_collect_locals_test): Move some code to ...
4473 (gdb_collect_locals_test_1): ... it. New proc.
4474 (gdb_unavailable_registers_test): Move some code to ...
4475 (gdb_unavailable_registers_test_1): ... it. New proc.
4476 (gdb_unavailable_floats): Move some code to ...
4477 (gdb_unavailable_floats_1): ... it. New proc.
4479 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4481 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
4482 probes to test for bitness recognition.
4483 * gdb.arch/amd64-stap-optional-prefix.exp
4484 (test_probe_value_without_reg): New procedure.
4485 Add code to test for different kinds of bitness.
4487 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4489 PR breakpoints/16889
4490 * gdb.arch/amd64-stap-optional-prefix.S: New file.
4491 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4493 2014-05-01 Pedro Alves <palves@redhat.com>
4495 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
4496 gdb_file_cmd if no file is specified.
4497 * boards/native-extended-gdbserver.exp (gdb_load): Use the
4498 last_loaded_file to set the remote exec-file.
4500 2014-05-01 Pedro Alves <palves@redhat.com>
4502 * boards/local-remote-host.exp: New file.
4504 2014-05-01 Pedro Alves <palves@redhat.com>
4506 * boards/local-remote-host.exp: Rename to ...
4507 * boards/local-remote-host-notty.exp: ... this.
4509 2014-04-28 Joel Brobecker <brobecker@adacore.com>
4511 * gdb.ada/dyn_arrayidx: New testcase.
4513 2014-04-26 Yao Qi <yao@codesourcery.com>
4515 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
4516 and compute the length of function main. Save it in
4518 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
4519 (top-level): Use gdb_compile to compile objects into
4520 executable and restart GDB. Remove invocation to
4521 prepare_for_testing.
4523 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
4524 Pedro Alves <palves@redhat.com>
4527 * gdb.multi/multi-attach.c: New file.
4528 * gdb.multi/multi-attach.exp: New file.
4530 2014-04-25 Pedro Alves <palves@redhat.com>
4532 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
4534 (top level): Test that "set remote conditional-breakpoints-packet
4535 off" works as intended.
4536 * gdb.base/dprintf.exp: Test that "set remote
4537 breakpoint-commands-packet off" works as intended.
4538 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
4540 (top level): Call it.
4541 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
4542 remote fast-tracepoints-packet off" works as intended.
4543 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
4544 * lib/gdb.exp (gdb_is_target_remote): ... here.
4546 2014-04-24 David Blaikie <dblaikie@gmail.com>
4548 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
4549 ensure clang would not discard them.
4550 * gdb.base/gdbvars.c: Ditto.
4551 * gdb.base/memattr.c: Ditto.
4552 * gdb.base/whatis.c: Ditto.
4553 * gdb.python/py-prettyprint.c: Ditto.
4554 * gdb.trace/actions.c: Ditto.
4555 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
4556 ensure clang would not discard it.
4558 2014-04-24 David Blaikie <dblaikie@gmail.com>
4560 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
4561 clang to emit the full definition of type required by the test
4562 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
4564 2014-04-24 David Blaikie <dblaikie@gmail.com>
4566 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
4567 coax Clang into emitting the definition of the type.
4568 * gdb.cp/pr10728-x.h (y): Ditto.
4569 * gdb.cp/pr10728-y.cc (y): Ditto.
4571 2014-04-24 David Blaikie <dblaikie@gmail.com>
4573 * gdb.base/label.exp: XFAIL label related tests under Clang.
4574 * gdb.cp/cplabel.exp: Ditto.
4575 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
4576 under Clang those using labels.
4578 2014-04-25 Yao Qi <yao@codesourcery.com>
4580 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
4582 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
4583 partial_label and double_label.
4585 2014-04-24 David Blaikie <dblaikie@gmail.com>
4587 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
4589 2014-04-24 David Blaikie <dblaikie@gmail.com>
4591 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
4592 of the function to work across GCC and Clang.
4593 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
4594 pointer types (const void ** const V void **).
4596 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
4597 Walfred Tedeschi <walfred.tedeschi@intel.com>
4599 * Makefile.in (EXECUTABLES): Added i386-avx512.
4600 * gdb.arch/i386-avx512.c: New file.
4601 * gdb.arch/i386-avx512.exp: Likewise.
4603 2014-04-23 Keith Seitz <keiths@redhat.com>
4605 * lib/mi-support.exp (mi_list_breakpoints): Delete.
4606 (mi_make_breakpoint_table): New procedure.
4607 (mi_create_breakpoint): Use mi_make_breakpoint
4608 and return the result.
4609 (mi_make_breakpoint): New procedure.
4610 (mi_build_kv_pairs): New procedure.
4612 * gdb.mi/mi-break.exp: Remove unused globals,
4613 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
4614 All callers updated.
4615 * gdb.mi/mi-dprintf.exp: Use variable to track command
4617 Update all callers of mi_create_breakpoint and use
4618 mi_make_breakpoint_table.
4619 Remove any unused global variables.
4620 * gdb.mi/mi-nonstop.exp: Likewise.
4621 * gdb.mi/mi-nsintrall.exp: Likewise.
4622 * gdb.mi/mi-nsmoribund.exp: Likewise.
4623 * gdb.mi/mi-nsthrexec.exp: Likewise.
4624 * gdb.mi/mi-reverse.exp: Likewise.
4625 * gdb.mi/mi-simplerun.exp: Likewise.
4626 * gdb.mi/mi-stepn.exp: Likewise.
4627 * gdb.mi/mi-syn-frame.exp: Likewise.
4628 * gdb.mi/mi-until.exp: Likewise.
4629 * gdb.mi/mi-var-cp.exp: Likewise.
4630 * gdb.mi/mi-var-display.exp: Likewise.
4631 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
4632 * gdb.mi/mi2-var-child.exp: Likewise.
4633 * gdb.mi/mi-vla-c99.exp: Likewise.
4634 * lib/mi-support.exp: Likewise.
4636 From Ian Lance Taylor <iant@cygnus.com>:
4637 * lib/gdb.exp (parse_args): New procedure.
4639 2014-04-23 Pedro Alves <palves@redhat.com>
4641 * gdb.base/break-unload-file.c: New file.
4642 * gdb.base/break-unload-file.exp: New file.
4643 * gdb.base/sym-file-lib.c (baz): New function.
4644 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
4646 (load): Store the segment's mapped size.
4647 (unload): New function.
4648 (unload_shlib): New function.
4649 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
4650 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
4651 set a breakpoint at baz, and call it.
4652 * gdb.base/sym-file.exp: New tests for stale breakpoint
4655 2014-04-23 Pedro Alves <palves@redhat.com>
4657 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
4658 * gdb.base/hbreak-in-shr-unsupported.c: New file.
4659 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
4660 * gdb.base/hbreak-unmapped.c: New file.
4661 * gdb.base/hbreak-unmapped.exp: New file.
4662 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
4663 * lib/gdb.exp (gdb_is_target_remote): ... here.
4665 2014-04-22 Pedro Alves <palves@redhat.com>
4667 * gdb.base/consecutive-step-over.c: New file.
4668 * gdb.base/consecutive-step-over.exp: New file.
4670 2014-04-22 Pedro Alves <palves@redhat.com>
4672 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
4673 instead of send_gdb/gdb_expect.
4675 2014-04-22 Yao Qi <yao@codesourcery.com>
4677 * lib/trace-support.exp (generate_tracefile): New procedure.
4678 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
4680 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
4681 if generate_tracefile returns 1.
4683 2014-04-18 Tom Tromey <palves@redhat.com>
4684 Pedro alves <tromey@redhat.com>
4687 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
4688 with a backtrace limit.
4689 * gdb.python/py-frame-inline.exp: Test running to an inline
4690 function with a backtrace limit, and printing the newest frame.
4691 * gdb.python/py-frame-inline.c (main): Call f.
4693 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4695 * gdb.java/jnpe.exp: Drop srcdir from untested path.
4697 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4699 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
4700 Drop prefix from unsupported source file path.
4702 2014-04-17 Yao Qi <yao@codesourcery.com>
4704 * lib/gdb.exp (with_target_charset): New proc.
4705 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
4706 with_target_charset.
4707 (test_print_strings): Likewise.
4708 (test_repeat_bytes): Likewise.
4709 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
4712 2014-04-16 Keith Seitz <keiths@redhat.com>
4715 * gdb.dwarf2/corrupt.c: New file.
4716 * gdb.dwarf2/corrupt.exp: New file.
4718 2014-04-16 Keith Seitz <keiths@redhat.com>
4721 * gdb.cp/namelessclass.cc: New file.
4722 * gdb.cp/namelessclass.exp: New file.
4723 * gdb.cp/namelessclass.S: New file.
4725 2014-04-16 Doug Evans <dje@google.com>
4727 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
4729 (gdbserver_default_get_comm_port): New function.
4730 (gdbserver_start): Check if board file provided
4731 "gdbserver,get_comm_port" and use it if so.
4732 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
4733 (gdb,socketport): Set to "stdio".
4734 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
4735 (stdio_gdbserver_template): Delete.
4736 (${board}_get_remote_address): Update.
4737 (${board}_build_remote_cmd): Delete.
4738 (${board}_get_comm_port): New function.
4739 (${board}_spawn): Update.
4740 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
4742 (${board}_get_remote_address): Update.
4743 (${board}_get_comm_port): New function.
4745 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
4747 * gdb.base/memattr.exp: Improve regexps to handle memory regions
4748 appearing in any order.
4750 2014-04-15 Doug Evans <dje@google.com>
4752 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
4753 uninitialized value of "description".
4755 2014-04-15 Keith Seitz <keiths@redhat.com>
4757 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
4758 Remove unused globals.
4759 (test_running_the_program): Likewise.
4760 (test_controlled_execution): Likewise.
4761 (test_controlling_breakpoints): Likewise.
4762 (test_program_termination): Likewise.
4764 2014-04-15 Keith Seitz <keiths@redhat.com>
4766 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
4768 (test_rbreak_creation_and_listing): Likewise.
4769 (test_ignore_count): Likewise.
4770 (test_error): Likewise.
4772 2014-04-15 Pedro Alves <palves@redhat.com>
4774 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
4775 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
4777 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4778 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4779 to sym-file-loader.c.
4780 (struct library): Forward declare.
4781 (load_shlib, lookup_function): Change prototypes.
4782 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4783 (translate_offset): Remove declarations.
4784 (get_text_addr): New declaration.
4785 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
4786 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
4788 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4789 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4790 here from sym-file-loader.h.
4791 (struct library): New structure.
4792 (load_shlib, lookup_function): Change prototypes and adjust to
4793 work with a struct library.
4794 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4795 (translate_offset): Make static.
4796 (get_text_addr): New function.
4797 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
4799 2014-04-15 Pedro Alves <palves@redhat.com>
4801 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
4803 2014-04-15 Pedro Alves <palves@redhat.com>
4805 * gdb.base/sym-file-loader.c: Include <limits.h>.
4806 (SELF_LINK): New define.
4807 (get_origin): New function.
4808 (load_shlib): Use it.
4809 * gdb.base/sym-file.exp: Don't early return if the target is
4810 remote. Use runto_main, and issue fail is that fails. Use
4812 (shlib_name): Delete.
4813 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
4815 2014-04-15 Pedro Alves <palves@redhat.com>
4817 * gdb.base/sym-file.exp: Remove regex characters from test
4818 message. Don't refer to breakpoint numbers in test messages.
4820 2014-04-14 Keith Seitz <keiths@redhat.com>
4823 * gdb.cp/var-tag.cc: New file.
4824 * gdb.cp/var-tag.exp: New file.
4825 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4826 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4827 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4828 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4830 2014-04-14 Tom Tromey <tromey@redhat.com>
4832 * gdb.cp/classes.exp (test_enums): Handle underlying type.
4833 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
4835 * gdb.cp/enum-class.exp: New file.
4836 * gdb.cp/enum-class.cc: New file.
4838 2014-04-14 Tom Tromey <tromey@redhat.com>
4840 * gdb.dwarf2/enum-type.exp: New file.
4842 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4844 * gdb.mi/mi-vla-c99.exp: New file.
4845 * gdb.mi/vla.c: New file.
4847 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4849 * gdb.base/vla-datatypes.c: New file.
4850 * gdb.base/vla-datatypes.exp: New file.
4852 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4854 * gdb.base/vla-ptr.c: New file.
4855 * gdb.base/vla-ptr.exp: New file.
4857 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4859 * gdb.dwarf2/count.exp: New file.
4861 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4863 * gdb.base/vla-sideeffect.c: New file.
4864 * gdb.base/vla-sideeffect.exp: New file.
4866 2014-04-14 David Blaikie <dblaikie@gmail.com>
4868 * gdb.mi/non-stop.c: Add return value for non-void function return
4870 * gdb.threads/staticthreads.c: Ditto.
4872 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
4873 Doug Evans <xdje42@gmail.com>
4875 * gdb.guile/scm-value.c: Improve test case.
4876 * gdb.guile/scm-value.exp: Add new test.
4878 2014-04-11 David Blaikie <dblaikie@gmail.com>
4880 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
4881 override Clang's default.
4883 2014-04-11 Joel Brobecker <brobecker@adacore.com>
4885 Revert the following changes (regressions):
4887 * gdb.base/vla-sideeffect.c: New file.
4888 * gdb.base/vla-sideeffect.exp: New file.
4890 * gdb.dwarf2/count.exp: New file.
4892 * gdb.base/vla-multi.c: New file.
4893 * gdb.base/vla-multi.exp: New file.
4895 * gdb.base/vla-ptr.c: New file.
4896 * gdb.base/vla-ptr.exp: New file.
4898 * gdb.base/vla-datatypes.c: New file.
4899 * gdb.base/vla-datatypes.exp: New file.
4901 * gdb.mi/mi-vla-c99.exp: New file.
4902 * gdb.mi/vla.c: New file.
4904 2014-04-11 Keith Seitz <keiths@redhat.com>
4907 * gdb.cp/cpsizeof.exp: New file.
4908 * gdb.cp/cpsizeof.cc: New file.
4910 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4912 * gdb.mi/mi-vla-c99.exp: New file.
4913 * gdb.mi/vla.c: New file.
4915 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4917 * gdb.base/vla-datatypes.c: New file.
4918 * gdb.base/vla-datatypes.exp: New file.
4920 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4922 * gdb.base/vla-ptr.c: New file.
4923 * gdb.base/vla-ptr.exp: New file.
4925 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4927 * gdb.base/vla-multi.c: New file.
4928 * gdb.base/vla-multi.exp: New file.
4930 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4932 * gdb.dwarf2/count.exp: New file.
4934 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4936 * gdb.base/vla-sideeffect.c: New file.
4937 * gdb.base/vla-sideeffect.exp: New file.
4939 2014-04-11 Yao Qi <yao@codesourcery.com>
4941 * gdb.base/completion.exp: Check file exists before running tests
4944 2014-04-10 Pedro Alves <palves@redhat.com>
4946 * gdb.base/cond-eval-mode.c: New file.
4947 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
4948 prepare_for_testing to build the new file. Check result of
4950 (test_break, test_watch): New procedures.
4951 (top level): Use them.
4953 2014-04-08 Pierre Muller <muller@sourceware.org>
4955 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
4956 Ctrl-V use for mingw hosts.
4958 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
4960 * gdb.python/py-value.c: Improve test case.
4961 * gdb.python/py-value.exp: Add new test.
4963 2014-04-07 David Blaikie <dblaikie@gmail.com>
4965 * lib/compiler.c: Identify the clang compiler.
4966 * lib/compiler.cc: Ditto.
4968 2014-04-03 Yao Qi <yao@codesourcery.com>
4970 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
4972 2014-04-01 Anton Blanchard <anton@samba.org>
4974 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
4977 2014-04-01 Anton Blanchard <anton@samba.org>
4979 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
4980 prepare_for_testing.
4982 2014-04-01 Anton Blanchard <anton@samba.org>
4984 * gdb.arch/ppc64-atomic-inst.c: Remove.
4985 * gdb.arch/ppc64-atomic-inst.S: New file.
4986 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
4988 2014-03-31 Doug Evans <dje@google.com>
4990 * gdb.base/print-symbol-loading-lib.c: New file.
4991 * gdb.base/print-symbol-loading-main.c: New file.
4992 * gdb.base/print-symbol-loading.exp: New file.
4994 2014-03-31 Yao Qi <yao@codesourcery.com>
4996 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
4998 2014-03-28 Joel Brobecker <brobecker@adacore.com>
5000 * gdb.ada/mi_dyn_arr: New testcase.
5002 2014-03-27 Doug Evans <dje@google.com>
5004 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
5006 2014-03-27 Yao Qi <yao@codesourcery.com>
5008 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
5009 if target is nios2-*-*.
5011 2014-03-26 Yao Qi <yao@codesourcery.com>
5013 * lib/gdb.exp (readline_is_used): New proc.
5014 * gdb.base/completion.exp: Move tests on command complete up.
5015 Skip the rest of tests if readline is not used.
5016 * gdb.ada/complete.exp: Skp the test if readline is not
5018 * gdb.base/filesym.exp: Likewise.
5019 * gdb.base/macscp.exp: Likewise.
5020 * gdb.base/readline-ask.exp: Likewise.
5021 * gdb.base/readline.exp: Likewise.
5022 * gdb.python/py-cmd.exp: Likewise.
5023 * gdb.trace/tfile.exp: Likewise.
5025 2014-03-26 Yao Qi <yao@codesourcery.com>
5027 * gdb.base/macscp.exp: Fix code format issues.
5029 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
5031 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
5032 * gdb.asm/powerpc64le.inc: New file.
5034 2014-03-25 Pedro Alves <palves@redhat.com>
5035 Doug Evans <dje@google.com>
5037 * gdb.base/source-execution.c: New file.
5038 * gdb.base/source-execution.exp: New file.
5039 * gdb.base/source-execution.gdb: New file.
5041 2014-03-24 Doug Evans <dje@google.com>
5043 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
5046 2014-03-24 Hui Zhu <hui@codesourcery.com>
5047 Pedro Alves <palves@redhat.com>
5049 PR breakpoints/16101
5050 * gdb.base/dprintf.exp: Use unsupported rather than changing the
5051 test pass/fail messages. Detect missing support for dprintf when
5052 breakpoints are actually inserted.
5053 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
5054 breakpoints are actually inserted.
5055 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
5058 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5060 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
5062 2014-03-22 Doug Evans <xdje42@gmail.com>
5064 * gdb.python/python.exp (python not supported): Verify multi-line
5065 python command issues an error.
5066 * gdb.guile/guile.exp (guile not supported): Verify multi-line
5067 guile command issues an error.
5069 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
5071 * gdb.threads/thread-specific.exp: Handle the lack of usable
5072 $this_breakpoint and $this_thread.
5074 2014-03-21 Hui Zhu <hui@codesourcery.com>
5076 * gdb.base/attach.exp (do_command_attach_tests): New.
5078 2014-03-20 Tom Tromey <tromey@redhat.com>
5079 Pedro Alves <palves@redhat.com>
5082 * gdb.base/condbreak-call-false.c: New file.
5083 * gdb.base/condbreak-call-false.exp: New file.
5085 2014-03-20 Pedro Alves <palves@redhat.com>
5087 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
5089 (block_signals, unblock_signals): Delete.
5090 (child_function_2, main): Remove references to deleted variable
5093 2014-03-20 Pedro Alves <palves@redhat.com>
5095 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
5096 Use pthread_kill to signal thread 2.
5097 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5098 Adjust to make the test send itself a signal rather than using the
5099 host's "kill" command.
5101 2014-03-20 Pedro Alves <palves@redhat.com>
5103 * gdb.threads/multiple-step-overs.c: New file.
5104 * gdb.threads/multiple-step-overs.exp: New file.
5105 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5106 Adjust expected infrun debug output.
5108 2014-03-20 Pedro Alves <palves@redhat.com>
5110 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
5111 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
5113 2014-03-20 Pedro Alves <palves@redhat.com>
5116 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
5117 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
5118 of gdb_test_multiple.
5119 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
5120 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
5122 2014-03-20 Pedro Alves <palves@redhat.com>
5124 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
5125 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
5127 2014-03-19 Pedro Alves <palves@redhat.com>
5129 * gdb.base/async.exp: Remove early return.
5131 2014-03-19 Pedro Alves <palves@redhat.com>
5133 * gdb.base/async.exp (step& tests): Pass explicit test messages.
5135 2014-03-19 Pedro Alves <palves@redhat.com>
5137 * gdb.base/async.exp (test_background): Expect \r\n after
5138 "completed." in the fail pattern.
5140 2014-03-19 Pedro Alves <palves@redhat.com>
5142 * gdb.base/async.exp (test_background): New procedure.
5143 Use it for all background execution command tests.
5145 2014-03-19 Pedro Alves <palves@redhat.com>
5147 * gdb.base/async.exp: Use prepare_for_testing.
5149 2014-03-19 Pedro Alves <palves@redhat.com>
5151 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
5154 2014-03-19 Pedro Alves <palves@redhat.com>
5156 * gdb.base/async.c (main): Add "jump here" and "until here" line
5158 * gdb.base/async.exp (jump_here): New global.
5159 (jump& test): Use it.
5160 (until_here): New global.
5161 (until& test): Use it.
5163 2014-03-19 Pedro Alves <palves@redhat.com>
5165 * gdb.base/async.exp: Don't frob gdb_protocol.
5167 2014-03-18 Doug Evans <xdje42@gmail.com>
5169 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
5170 Fix spelling of exec-done-display.
5172 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5175 * gdb.base/gdb-sigterm.c: New file.
5176 * gdb.base/gdb-sigterm.exp: New file.
5178 2014-03-18 Pedro Alves <palves@redhat.com>
5181 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
5182 * lib/mi-support.exp (mi_expect_stop): Add special handling for
5185 2014-03-17 Joel Brobecker <brobecker@adacore.com>
5187 * gdb.ada/pckd_arr_ren: New testcase.
5189 2014-03-13 Doug Evans <xdje42@gmail.com>
5192 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
5193 collect after discarding symbols.
5195 2014-03-13 Ludovic Courtès <ludo@gnu.org>
5196 Doug Evans <xdje42@gmail.com>
5198 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
5199 to history survives a gc.
5201 2014-03-13 Pedro Alves <palves@redhat.com>
5203 * gdb.base/default.exp: Don't test "target procfs".
5205 2014-03-13 Pedro Alves <palves@redhat.com>
5207 * gdb.base/default.exp: Update "target child" and "target procfs"
5208 tests to not expect "Unix".
5210 2014-03-12 Tom Tromey <tromey@redhat.com>
5212 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
5213 New procs. Add target-async tests.
5214 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
5215 Add target-async tests.
5217 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5219 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
5220 'func_start' and 'func_end' for the beginning and end of the
5221 function code, respectively.
5222 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
5223 'func_end' instead of 'func' and 'main'.
5225 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5227 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
5228 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
5229 generate the debug info assembler source.
5231 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5233 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
5234 * gdb.dwarf2/arr-subrange.exp: Likewise.
5235 * gdb.dwarf2/dwz.exp: Likewise.
5236 * gdb.dwarf2/method-ptr.exp: Likewise.
5237 * gdb.dwarf2/missing-sig-type.exp: Likewise.
5238 * gdb.dwarf2/subrange.exp: Likewise.
5239 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
5240 * gdb.dwarf2/implptrpiece.exp: Likewise.
5241 * gdb.dwarf2/nostaticblock.exp: Likewise.
5243 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5245 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
5246 directory to absolute path name arguments.
5248 2014-03-10 Joel Brobecker <brobecker@adacore.com>
5250 * gdb.ada/tagged_access: New testcase.
5252 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
5254 * gdb.btrace/data.exp: Update expected output.
5256 2014-03-06 Yao Qi <yao@codesourcery.com>
5258 * gdb.trace/pr16508.exp: New file.
5260 2014-03-05 Pedro Alves <palves@redhat.com>
5263 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
5265 (top level): Adjust to use it. Add tests that exercise breakpoint
5266 interaction with the code-cache.
5268 2014-02-26 Ludovic Courtès <ludo@gnu.org>
5270 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
5271 test for 'history-append!'.
5273 2014-02-26 Joel Brobecker <brobecker@adacore.com>
5275 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
5276 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
5277 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
5278 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
5279 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
5280 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
5282 2014-02-26 Joel Brobecker <brobecker@adacore.com>
5284 * testsuite/gdb.python/py-pp-re-notag.c: New file.
5285 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
5286 * testsuite/gdb.python/py-pp-re-notag.p: New file.
5288 2014-02-26 Joel Brobecker <brobecker@adacore.com>
5290 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
5292 2014-02-26 Joel Brobecker <brobecker@adacore.com>
5294 * gdb.dwarf2/arr-stride.c: New file.
5295 * gdb.dwarf2/arr-stride.exp: New file.
5297 2014-02-26 Pedro Alves <palves@redhat.com>
5299 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
5300 that won't ever trigger. Make sure that GDB reports the correct
5301 breakpoint that caused the stop.
5303 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5306 * gdb.base/auto-load-script: New file.
5307 * gdb.base/auto-load.c: New file.
5308 * gdb.base/auto-load.exp: New file.
5311 * gdb.base/auto-load.exp: Fix out-of-srctree run.
5313 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5315 Fix dw2-icycle.exp -fsanitize=address GDB crash.
5316 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
5318 2014-02-24 Doug Evans <dje@google.com>
5320 * lib/gdb.exp (run_on_host): Log error output if program fails.
5322 2014-02-21 Pedro Alves <palves@redhat.com>
5324 * gdb.threads/step-after-sr-lock.c: Rename to ...
5325 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
5326 * gdb.threads/step-after-sr-lock.exp: Rename to ...
5327 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5330 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
5333 * gdb.arch/amd64-stap-special-operands.exp: New file.
5334 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
5335 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
5336 * gdb.arch/amd64-stap-triplet.S: Likewise.
5337 * gdb.arch/amd64-stap-triplet.c: Likewise.
5339 2014-02-20 Joel Brobecker <brobecker@adacore.com>
5341 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
5342 in .section pseudo-op.
5344 2014-02-20 lin zuojian <manjian2006@gmail.com>
5345 Joel Brobecker <brobecker@adacore.com>
5346 Doug Evans <xdje42@gmail.com>
5349 * gdb.dwarf2/dw2-icycle.S: New file.
5350 * gdb.dwarf2/dw2-icycle.c: New file.
5351 * gdb.dwarf2/dw2-icycle.exp: New file.
5353 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
5355 * gdb.python/py-value-cc.cc: Improve test case to enable testing
5356 operations on gdb.Value objects.
5357 * gdb.python/py-value-cc.exp: Add new test to test operations on
5360 2014-02-18 Doug Evans <dje@google.com>
5362 * Makefile.in (TESTS): New variable.
5363 (expanded_tests, expanded_tests_or_none): New variables
5364 (check-single): Pass $(expanded_tests_or_none) to runtest.
5365 (check-parallel): Only run tests in $(TESTS) if non-empty.
5366 (check/no-matching-tests-found): New rule.
5367 * README: Document TESTS makefile variable.
5369 2014-02-18 Doug Evans <dje@google.com>
5371 * Makefile.in (check-parallel): rm -rf outputs temp.
5373 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5375 Fix "ERROR: no fileid for" in the testsuite.
5376 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
5378 2014-02-12 Doug Evans <dje@google.com>
5380 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
5381 (MISCELLANEOUS): New variable.
5382 (clean): rm -rf $(MISCELLANEOUS).
5383 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
5384 dwp live in the same directory as symlinks, with each symlink pointed
5385 to a differently named file in a different directory.
5387 2014-02-11 Doug Evans <dje@google.com>
5389 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
5390 of Tcl file commands.
5392 2014-02-10 Mark Kettenis <kettenis@gnu.org>
5394 * gdb.threads/step-after-sr-lock.exp: Avoid executing
5397 2014-02-10 Joel Brobecker <brobecker@adacore.com>
5399 * gdb.ada/tick_length_array_enum_idx: New testcase.
5401 2014-02-10 Doug Evans <xdje42@gmail.com>
5403 * configure.ac (AC_OUTPUT): Add gdb.guile.
5404 * configure: Regenerate.
5405 * lib/gdb-guile.exp: New file.
5406 * lib/gdb.exp (get_target_charset): New function.
5407 * gdb.base/help.exp: Update expected output from "apropos apropos".
5408 * gdb.guile/Makefile.in: New file.
5409 * gdb.guile/guile.exp: New file.
5410 * gdb.guile/scm-arch.c: New file.
5411 * gdb.guile/scm-arch.exp: New file.
5412 * gdb.guile/scm-block.c: New file.
5413 * gdb.guile/scm-block.exp: New file.
5414 * gdb.guile/scm-breakpoint.c: New file.
5415 * gdb.guile/scm-breakpoint.exp: New file.
5416 * gdb.guile/scm-disasm.c: New file.
5417 * gdb.guile/scm-disasm.exp: New file.
5418 * gdb.guile/scm-equal.c: New file.
5419 * gdb.guile/scm-equal.exp: New file.
5420 * gdb.guile/scm-error.exp: New file.
5421 * gdb.guile/scm-error.scm: New file.
5422 * gdb.guile/scm-frame-args.c: New file.
5423 * gdb.guile/scm-frame-args.exp: New file.
5424 * gdb.guile/scm-frame-args.scm: New file.
5425 * gdb.guile/scm-frame-inline.c: New file.
5426 * gdb.guile/scm-frame-inline.exp: New file.
5427 * gdb.guile/scm-frame.c: New file.
5428 * gdb.guile/scm-frame.exp: New file.
5429 * gdb.guile/scm-generics.exp: New file.
5430 * gdb.guile/scm-gsmob.exp: New file.
5431 * gdb.guile/scm-iterator.c: New file.
5432 * gdb.guile/scm-iterator.exp: New file.
5433 * gdb.guile/scm-math.c: New file.
5434 * gdb.guile/scm-math.exp: New file.
5435 * gdb.guile/scm-objfile-script-gdb.in: New file.
5436 * gdb.guile/scm-objfile-script.c: New file.
5437 * gdb.guile/scm-objfile-script.exp: New file.
5438 * gdb.guile/scm-objfile.c: New file.
5439 * gdb.guile/scm-objfile.exp: New file.
5440 * gdb.guile/scm-ports.exp: New file.
5441 * gdb.guile/scm-pretty-print.c: New file.
5442 * gdb.guile/scm-pretty-print.exp: New file.
5443 * gdb.guile/scm-pretty-print.scm: New file.
5444 * gdb.guile/scm-section-script.c: New file.
5445 * gdb.guile/scm-section-script.exp: New file.
5446 * gdb.guile/scm-section-script.scm: New file.
5447 * gdb.guile/scm-symbol.c: New file.
5448 * gdb.guile/scm-symbol.exp: New file.
5449 * gdb.guile/scm-symtab-2.c: New file.
5450 * gdb.guile/scm-symtab.c: New file.
5451 * gdb.guile/scm-symtab.exp: New file.
5452 * gdb.guile/scm-type.c: New file.
5453 * gdb.guile/scm-type.exp: New file.
5454 * gdb.guile/scm-value-cc.cc: New file.
5455 * gdb.guile/scm-value-cc.exp: New file.
5456 * gdb.guile/scm-value.c: New file.
5457 * gdb.guile/scm-value.exp: New file.
5458 * gdb.guile/source2.scm: New file.
5459 * gdb.guile/types-module.cc: New file.
5460 * gdb.guile/types-module.exp: New file.
5462 2014-02-10 Yao Qi <yao@codesourcery.com>
5465 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
5466 * configure: Regenerated.
5467 * Makefile.in: New file.
5469 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
5471 * gdb.python/py-framefilter.exp: Fix typo.
5473 2014-02-08 Yao Qi <yao@codesourcery.com>
5475 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
5476 that no =breakpoint-modified is emitted when breakpoints are
5477 modified through MI commands.
5479 2014-02-07 Pedro Alves <pedro@codesourcery.com>
5480 Pedro Alves <palves@redhat.com>
5482 * gdb.threads/step-after-sr-lock.c: New file.
5483 * gdb.threads/step-after-sr-lock.exp: New file.
5485 2014-02-07 Pedro Alves <palves@redhat.com>
5487 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
5489 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5491 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
5492 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
5494 2014-02-06 Doug Evans <xdje42@gmail.com>
5496 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
5499 * gdb.gdb/python-interrupts.exp: New file.
5501 2014-02-05 Yao Qi <yao@codesourcery.com>
5503 * gdb.trace/report.exp (use_collected_data): Test the output
5504 of "info threads" and "info inferiors".
5506 2014-02-05 Yao Qi <yao@codesourcery.com>
5510 2013-05-24 Yao Qi <yao@codesourcery.com>
5512 * gdb.trace/tfile.exp: Test inferior and thread.
5514 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5516 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
5518 * gdb.base/step-bt.c: Call hello via function pointer to make
5519 sure its first instruction is executed on powerpc64le-linux.
5521 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5523 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
5525 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5527 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
5528 of the test patterns for use on little-endian systems.
5530 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5532 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
5533 (decimal_vector): Fix for little-endian.
5535 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
5537 * gdb.arch/sparc-sysstep.exp: New file.
5538 * gdb.arch/sparc-sysstep.c: Likewise.
5540 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
5542 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5544 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
5546 2014-01-23 Tom Tromey <tromey@redhat.com>
5548 * gdb.ada/array_char_idx: New testcase.
5550 2014-01-23 Tom Tromey <tromey@redhat.com>
5553 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
5554 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
5557 2014-01-23 Tom Tromey <tromey@redhat.com>
5560 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
5561 string from an inferior frame.
5562 * gdb.python/py-framefilter-mi.exp: Update.
5564 2014-01-22 Doug Evans <dje@google.com>
5566 * gdb.server/server-mon.exp: Add tests for "set debug-format".
5568 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5570 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
5572 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5574 * gdb.trace/entry-values.exp: Remove excess space character from
5575 regex patterns. Handle s390 call instruction.
5577 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5579 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
5580 define "*_start" label. Make "name" static.
5581 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
5582 ${name} by references to ${name}_start.
5584 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5586 * gdb.base/info-macros.exp: Remove "debug" from the compile
5589 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5591 * gdb.dlang/demangle.exp: New file.
5593 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5595 * gdb.dlang/primitive-types.exp: New file.
5597 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5599 * configure.ac: Create gdb.dlang/Makefile.
5600 * configure: Regenerate.
5601 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
5602 * gdb.dlang/Makefile.in: New file.
5603 * lib/d-support.exp: New file.
5604 * lib/gdb.exp (skip_d_tests): New proc.
5606 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5608 * gdb.btrace/delta.exp: Check reverse stepi.
5609 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
5610 * gdb.btrace/finish.exp: New.
5611 * gdb.btrace/next.exp: New.
5612 * gdb.btrace/nexti.exp: New.
5613 * gdb.btrace/record_goto.c: Add comments.
5614 * gdb.btrace/step.exp: New.
5615 * gdb.btrace/stepi.exp: New.
5616 * gdb.btrace/multi-thread-step.c: New.
5617 * gdb.btrace/multi-thread-step.exp: New.
5618 * gdb.btrace/rn-dl-bind.c: New.
5619 * gdb.btrace/rn-dl-bind.exp: New.
5620 * gdb.btrace/data.c: New.
5621 * gdb.btrace/data.exp: New.
5622 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5624 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5626 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
5627 * gdb.btrace/exception.exp: Update.
5628 * gdb.btrace/instruction_history.exp: Update.
5629 * gdb.btrace/record_goto.exp: Update.
5630 * gdb.btrace/tailcall.exp: Update.
5631 * gdb.btrace/unknown_functions.exp: Update.
5632 * gdb.btrace/delta.exp: New.
5634 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5636 * gdb.btrace/record_goto.exp: Add backtrace test.
5637 * gdb.btrace/tailcall.exp: Add backtrace test.
5639 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5641 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
5642 * gdb.btrace/record_goto.c: New.
5643 * gdb.btrace/record_goto.exp: New.
5644 * gdb.btrace/x86-record_goto.S: New.
5646 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5648 * gdb.btrace/function_call_history.exp: Update tests.
5649 * gdb.btrace/instruction_history.exp: Update tests.
5651 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5653 * gdb.btrace/function_call_history.exp: Fix expected field
5654 order for "record function-call-history".
5655 Add new tests for "record function-call-history /c".
5656 * gdb.btrace/exception.cc: New.
5657 * gdb.btrace/exception.exp: New.
5658 * gdb.btrace/tailcall.exp: New.
5659 * gdb.btrace/x86-tailcall.S: New.
5660 * gdb.btrace/x86-tailcall.c: New.
5661 * gdb.btrace/unknown_functions.c: New.
5662 * gdb.btrace/unknown_functions.exp: New.
5663 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5665 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5667 * gdb.btrace/instruction_history.exp: Update.
5668 * gdb.btrace/function_call_history.exp: Update.
5670 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5672 * gdb.btrace/function_call_history.exp: Fix expected function
5674 * gdb.btrace/instruction_history.exp: Initialize traced.
5675 Remove traced_functions.
5677 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5679 * gdb.btrace/function_call_history.exp: Update
5680 * gdb.btrace/instruction_history.exp: Update.
5682 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5684 * gdb.btrace/enable.exp: Update expected text.
5686 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
5688 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
5691 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
5693 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
5695 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5697 * lib/gdb.exp (supports_process_record): Return true for
5698 arm*-linux*. (supports_reverse): Likewise.
5700 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5704 * gdb.python/py-type.c: Enhance test case.
5705 * gdb.python/py-value-cc.cc: Likewise
5706 * gdb.python/py-type.exp: Add new tests.
5707 * gdb.python/py-value-cc.exp: Likewise
5709 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
5710 Pedro Alves <palves@redhat.com>
5712 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
5714 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
5715 references to ${name}_start by references to ${name}.
5717 2014-01-10 Joel Brobecker <brobecker@adacore.com>
5719 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
5721 2014-01-10 Joel Brobecker <brobecker@adacore.com>
5723 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
5725 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
5726 Pedro Alves <palves@redhat.com>
5728 * gdb.mi/mi-info-os.exp: Connect to the target with
5731 2014-01-08 Pedro Alves <palves@redhat.com>
5733 * gdb.threads/reconnect-signal.c: New file.
5734 * gdb.threads/reconnect-signal.exp: New file.
5736 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5738 * gdb.base/source-dir.exp: New file.
5740 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5742 * gdb.ada/mi_interface: New testcase.
5744 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5746 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
5747 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
5748 gdb.ada/pp-rec-component/pck.ads: New files.
5750 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5752 * gdb.python/py-pp-integral.c: New file.
5753 * gdb.python/py-pp-integral.py: New file.
5754 * gdb.python/py-pp-integral.exp: New file.
5756 For older changes see ChangeLog-1993-2013.
5762 ;; version-control: never
5765 Copyright 2014-2015 Free Software Foundation, Inc.
5766 Copying and distribution of this file, with or without modification,
5767 are permitted provided the copyright notice and this notice are preserved.