1 2015-08-11 Keith Seitz <keiths@redhat.com>
3 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
5 Add tests for missing ",FMT" and ",".
7 2015-08-10 Doug Evans <dje@google.com>
8 Keith Seitz <keiths@redhat.com>
11 * gdb.base/completion.exp: Add location completer tests.
13 2015-08-07 Pedro Alves <palves@redhat.com>
15 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
17 (top level): Run do_test with and without displaced stepping.
19 2015-08-07 Pedro Alves <palves@redhat.com>
21 * gdb.base/valgrind-disp-step.c: New file.
22 * gdb.base/valgrind-disp-step.exp: New file.
24 2015-08-07 Pedro Alves <palves@redhat.com>
26 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
28 (main): Add alarm. Run an infinite loop instead of calling
30 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
32 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
34 (main): Add alarm. Run an infinite loop instead of calling
36 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
39 2015-08-07 Pedro Alves <palves@redhat.com>
41 * gdb.base/checkpoint-ns.exp: New file.
42 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
45 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
47 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
48 * gdb.btrace/instruction_history.exp: Update.
49 * gdb.btrace/tsx.exp: New.
50 * gdb.btrace/tsx.c: New.
52 2015-08-06 Pedro Alves <palves@redhat.com>
54 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
56 * gdb.reverse/until-precsave.exp: Bump timeouts.
58 2015-08-06 Pedro Alves <palves@redhat.com>
60 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
62 2015-08-06 Pedro Alves <palves@redhat.com>
65 * gdb.threads/process-dies-while-handling-bp.c: New file.
66 * gdb.threads/process-dies-while-handling-bp.exp: New file.
68 2015-08-06 Pedro Alves <palves@redhat.com>
70 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
71 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
73 2015-08-05 Pedro Alves <palves@redhat.com>
75 * gdb.threads/next-while-other-thread-longjmps.c: New file.
76 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
78 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
80 * gdb.base/bp-permanent.exp: Report test as unsupported if
81 the target cannot stop at the permanent breakpoint.
83 2015-08-03 Doug Evans <dje@google.com>
85 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
88 2015-08-03 Doug Evans <dje@google.com>
90 * Makefile.in (workers/%.worker, build-perf): New rule.
91 (GDB_PERFTEST_MODE): New variable.
93 (clean): Clean up gdb.perf parallel build subdirs.
94 * lib/build-piece.exp: New file.
95 * lib/gdb.exp (make_gdb_parallel_path): New function
96 (standard_output_file, standard_temp_file): Call it.
97 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
99 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
101 2015-08-03 Doug Evans <dje@google.com>
103 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
104 (LOG_FILE_NAME): New global.
105 (TextReporter.__init__): Initialize self.txt_sum.
106 (TextReporter.report): Add support for multiple data-points.
107 Move report to perftest.sum, put raw data in perftest.log.
108 (TextReporter.start): Open sum and log files.
109 (TextReporter.end): Close sum and log files.
110 * gdb.perf/lib/perftest/testresult.py
111 (SingleStatisticTestResult.record): Handle multiple data-points.
113 2015-07-31 Pedro Alves <palves@redhat.com>
115 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
116 Use spawn_id_get_pid. Wait for spawn id after eof. Use
117 kill_wait_spawned_process instead of explicit "kill -9".
118 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
119 returning a spawn id instead of a pid. Use spawn_id_get_pid and
120 kill_wait_spawned_process.
121 * gdb.base/attach-twice.exp: Likewise.
122 * gdb.base/attach.exp: Likewise.
123 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
125 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
126 returning a spawn id instead of a pid. Use spawn_id_get_pid and
127 kill_wait_spawned_process.
128 * gdb.base/valgrind-infcall.exp: Likewise.
129 * gdb.multi/multi-attach.exp: Likewise.
130 * gdb.python/py-prompt.exp: Likewise.
131 * gdb.python/py-sync-interp.exp: Likewise.
132 * gdb.server/ext-attach.exp: Likewise.
133 * gdb.threads/attach-into-signal.exp (corefunc): Use
134 spawn_wait_for_attach, spawn_id_get_pid and
135 kill_wait_spawned_process.
136 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
137 spawn_wait_for_attach returning a spawn id instead of a pid. Use
138 spawn_id_get_pid and kill_wait_spawned_process.
139 * gdb.threads/attach-stopped.exp (corefunc): Use
140 spawn_wait_for_attach, spawn_id_get_pid and
141 kill_wait_spawned_process.
142 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
143 Use spawn_id_get_pid. Wait for spawn id after eof. Use
144 kill_wait_spawned_process instead of explicit "kill -9".
145 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
146 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
147 (spawn_wait_for_attach): Use spawn instead of exec to spawn
148 processes. Don't map cygwin/windows pids here. Now returns a
151 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
153 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
154 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
157 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
159 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
161 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
164 2014-05-21 Mark Wielaard <mjw@redhat.com>
166 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
168 2015-07-30 Pedro Alves <palves@redhat.com>
170 * linux-low.c (handle_extended_wait): Set the child's last
171 reported status to TARGET_WAITKIND_STOPPED.
173 2015-07-30 Pedro Alves <palves@redhat.com>
176 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
177 only shows inferior 1.
179 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
180 Pedro Alves <palves@redhat.com>
183 * gdb.threads/fork-plus-threads.c: New file.
184 * gdb.threads/fork-plus-threads.exp: New file.
186 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
188 * gdb.base/batch-preserve-term-settings.exp
189 (test_terminal_settings_preserved_after_cli_exit): Use
192 2015-07-29 Pedro Alves <palves@redhat.com>
193 Don Breazeal <donb@codesourcery.com>
195 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
196 output from both inferior_spawn_id and gdb_spawn_id.
198 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
200 * gdb.threads/attach-into-signal.exp (corefunc): Use
201 with_test_prefix on nested loops, uniquefying the test messages.
203 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
205 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
208 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
210 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
212 (test_terminal_settings_preserved_after_sigterm): New test.
214 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
216 * gdb.base/batch-preserve-term-settings.exp
217 (test_terminal_settings_preserved_after_cli_exit): New test.
219 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
221 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
222 manipulation of saved_gdbflags.
223 (test_terminal_settings_preserved): Remove global declaration of
224 the unused variable pagination_prompt. Remove manipulation of
225 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
228 2015-07-29 Pedro Alves <palves@redhat.com>
230 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
232 2015-07-29 Pedro Alves <palves@redhat.com>
234 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
237 2015-07-29 Pedro Alves <palves@redhat.com>
239 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
240 (main): Call gdb_unbuffer_output.
241 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
242 (main): Call gdb_unbuffer_output.
243 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
244 (main): Call gdb_unbuffer_output.
245 * gdb.base/call-strs.exp: Adjust to step over the
246 gdb_unbuffer_output call.
247 * gdb.base/catch-gdb-caused-signals.c: Include
248 "../lib/unbuffer_output.c".
249 (main): Call gdb_unbuffer_output.
250 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
251 (main): Call gdb_unbuffer_output.
252 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
253 (main): Call gdb_unbuffer_output.
254 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
255 (main): Call gdb_unbuffer_output.
256 * gdb.base/shlib-call.exp: Adjust to step over the
257 gdb_unbuffer_output call.
258 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
259 (main): Call gdb_unbuffer_output.
260 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
261 (main): Call gdb_unbuffer_output.
262 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
263 (main): Rename to ...
266 * gdb.base/varargs.exp: Run to test instead of to main.
267 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
268 (main): Call gdb_unbuffer_output.
270 2015-07-29 Pedro Alves <palves@redhat.com>
272 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
273 factore out from mi_continue_dprintf. For call-style dprintfs,
274 expect dprintf output out of $inferior_spawn_id.
275 (mi_continue_dprintf): Use mi_expect_dprintf.
276 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
277 (main): Call gdb_unbuffer_output.
279 2015-07-29 Pedro Alves <palves@redhat.com>
281 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
282 (default_mi_gdb_start): Set inferior_spawn_id instead of
283 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
285 (mi_gdb_test): Always expect inferior output from both
286 $inferior_spawn_id and $gdb_spawn_id.
288 2015-07-29 Pedro Alves <palves@redhat.com>
290 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
291 send_inferior and $inferior_spawn_id.
293 2015-07-29 Pedro Alves <palves@redhat.com>
295 * gdb.gdb/complaints.exp (test_initial_complaints)
296 (test_serial_complaints, test_short_complaints): Use
298 (test_empty_complaint): Handle $inferior_spawn_id !=
301 2015-07-29 Pedro Alves <palves@redhat.com>
303 * gdb.base/varargs.exp: Use gdb_test_stdio.
305 2015-07-29 Pedro Alves <palves@redhat.com>
307 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
309 2015-07-29 Pedro Alves <palves@redhat.com>
311 * gdb.base/ending-run.exp: Use gdb_test_stdio.
313 2015-07-29 Pedro Alves <palves@redhat.com>
315 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
316 parameter into two new parameters, "inf_result" and "gdb_result".
317 Expect inferior output and gdb output from $inferior_spawn_id and
318 $gdb_spawn_id, respectively. Adjust all callers.
320 2015-07-29 Pedro Alves <palves@redhat.com>
322 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
323 of gdb_test_sequence.
325 2015-07-29 Pedro Alves <palves@redhat.com>
327 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
328 (saw_spurious_output): Expect inferior output from
329 $inferior_spawn_id. Use gdb_test_stdio.
331 2015-07-29 Pedro Alves <palves@redhat.com>
333 * gdb.base/dprintf.exp: Use standard_testfile. Change
334 prepare_for_testing call.
335 (srcfile): Don't set.
336 (restart): New procedure.
337 (test_dprintf): New procecure, use to continue over dprintfs.
338 (test_call, test_agent): New procedures, tests moved here.
339 Restart gdb and recreate dprintfs. Adjust expected output.
341 2015-07-29 Pedro Alves <palves@redhat.com>
343 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
345 2015-07-29 Pedro Alves <palves@redhat.com>
347 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
349 2015-07-29 Pedro Alves <palves@redhat.com>
351 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
354 2015-07-29 Pedro Alves <palves@redhat.com>
356 * lib/gdb.exp (gdb_test_stdio): New procedure.
358 2015-07-29 Pedro Alves <palves@redhat.com>
360 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
362 2015-07-29 Pedro Alves <palves@redhat.com>
364 * gdb.base/call-signal-resume.exp: Remove check for
365 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
366 * gdb.base/unwindonsignal.exp: Likewise.
367 * gdb.base/call-signals.c (gen_signal): Remove printf call.
368 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
370 2015-07-29 Pedro Alves <palves@redhat.com>
372 * gdb.base/siginfo-addr.c (pass): New function.
373 (handler): Call it iff si_addr is correct.
374 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
375 Set a breakpoint at "pass" and continue to it.
377 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
379 * gdb.python/py-objfile.exp: Make some tests have unique names.
380 * gdb.python/py-pp-registration.exp: Likewise.
382 2015-07-28 Pedro Alves <palves@redhat.com>
384 * gdb.server/server-exec-info.exp: Issue a "disconnect".
386 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
388 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
390 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
392 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
394 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
396 * gdb.base/gdb-sigterm-2.exp: New test.
398 2015-07-25 Doug Evans <xdje42@gmail.com>
401 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
402 (workers/%.worker, build-perf): New rule.
403 (GDB_PERFTEST_MODE): New variable.
404 (check-perf): Use it.
405 (clean): Clean up gdb.perf parallel build subdirs.
406 * lib/build-piece.exp: New file.
407 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
408 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
410 (standard_temp_file): Ditto.
411 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
414 2015-07-24 Doug Evans <dje@google.com>
416 * gdb.perf/lib/perftest/utils.py: New file.
417 * gdb.perf/gm-hello.cc: New file.
418 * gdb.perf/gm-pervasive-typedef.cc: New file.
419 * gdb.perf/gm-pervasive-typedef.h: New file.
420 * gdb.perf/gm-std.cc: New file.
421 * gdb.perf/gm-std.h: New file.
422 * gdb.perf/gm-use-cerr.cc: New file.
423 * gdb.perf/gm-utils.h: New file.
424 * gdb.perf/gmonster-null-lookup.py: New file.
425 * gdb.perf/gmonster-pervasive-typedef.py: New file.
426 * gdb.perf/gmonster-print-cerr.py: New file.
427 * gdb.perf/gmonster-ptype-string.py: New file.
428 * gdb.perf/gmonster-runto-main.py: New file.
429 * gdb.perf/gmonster-select-file.py: New file.
430 * gdb.perf/gmonster1-null-lookup.exp: New file.
431 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
432 * gdb.perf/gmonster1-print-cerr.exp: New file.
433 * gdb.perf/gmonster1-ptype-string.exp: New file.
434 * gdb.perf/gmonster1-runto-main.exp: New file.
435 * gdb.perf/gmonster1-select-file.exp: New file.
436 * gdb.perf/gmonster1.cc: New file.
437 * gdb.perf/gmonster1.exp: New file.
438 * gdb.perf/gmonster2-null-lookup.exp: New file.
439 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
440 * gdb.perf/gmonster2-print-cerr.exp: New file.
441 * gdb.perf/gmonster2-ptype-string.exp: New file.
442 * gdb.perf/gmonster2-runto-main.exp: New file.
443 * gdb.perf/gmonster2-select-file.exp: New file.
444 * gdb.perf/gmonster2.cc: New file.
445 * gdb.perf/gmonster2.exp: New file.
447 2015-07-24 Doug Evans <dje@google.com>
449 * gdb.perf/README: New file.
450 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
451 * lib/gen-perf-test.exp: New file.
453 2015-07-24 Doug Evans <dje@google.com>
455 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
456 (PerfTest::startup): New function.
457 (PerfTest::run): Return result of calling body.
458 (PerfTest::assemble): Rewrite.
459 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
460 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
461 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
462 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
463 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
465 2015-07-24 Doug Evans <dje@google.com>
467 * lib/gdb.exp (clean_restart): Make executable optional.
469 2015-07-24 Doug Evans <dje@google.com>
471 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
472 compiler_info references.
473 * gdb.cp/temargs.exp: Ditto.
474 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
475 (get_compiler_info): Early exit if already computed. Set compiler_info
476 to "unknown" if there was a problem.
477 (test_compiler_info): Add function comment. Call get_compiler_info.
479 2015-07-24 Doug Evans <dje@google.com>
481 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
482 (workers/%.worker, build-perf): New rule.
483 (GDB_PERFTEST_MODE): New variable.
484 (check-perf): Use it.
485 (clean): Clean up gdb.perf parallel build subdirs.
486 * lib/build-piece.exp: New file.
487 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
488 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
490 (standard_temp_file): Ditto.
491 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
494 2015-07-24 Doug Evans <dje@google.com>
496 * lib/future.exp (gdb_default_target_compile): New option
498 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
501 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
503 * gdb.base/catch-syscall.exp: Call gdb_exit before
506 2015-07-24 Pedro Alves <palves@redhat.com>
508 * gdb.python/py-events.exp: Accept output between the stop event
510 * gdb.python/py-evsignal.exp: Likewise.
511 * gdb.python/py-evthreads.exp: Likewise.
513 2015-07-24 Pedro Alves <palves@redhat.com>
516 * gdb.threads/non-ldr-exit.c: New file.
517 * gdb.threads/non-ldr-exit.exp: New file.
519 2015-07-24 Yao Qi <yao.qi@linaro.org>
521 * gdb.server/ext-wrapper.exp: Test --wrapper option when
524 2015-07-24 Yao Qi <yao.qi@linaro.org>
526 * gdb.server/ext-restart.exp: New file.
528 2015-07-24 Yao Qi <yao.qi@linaro.org>
530 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
532 * gdb.server/ext-wrapper.exp: New file.
534 2015-07-23 Doug Evans <dje@google.com>
536 * gdb.dwarf2/dw2-dummy-cu.S: New file.
537 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
539 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
541 * gdb.ada/var_arr_typedef.exp: New testcase.
542 * gdb.ada/var_arr_typedef/pack.adb: New file.
543 * gdb.ada/var_arr_typedef/pack.ads: New file.
544 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
546 2015-07-20 Joel Brobecker <brobecker@adacore.com>
548 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
550 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
552 * gdb.arch/i386-biarch-core.exp: Replace istarget
553 by "complete set gnutarget". Remove expectation for the "core-file"
556 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
558 Revert the previous commit:
559 Tests for validate symbol file using build-id.
561 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
563 Tests for validate symbol file using build-id.
564 * gdb.base/solib-mismatch-lib.c: New file.
565 * gdb.base/solib-mismatch-libmod.c: New file.
566 * gdb.base/solib-mismatch.c: New file.
567 * gdb.base/solib-mismatch.exp: New file.
569 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
571 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
573 * gdb.base/sigbpt.exp (stepi_out): Likewise.
574 * gdb.base/siginfo.exp: Likewise.
575 * gdb.base/sigstep.exp (advance, advancei): Likewise.
577 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
579 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
581 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
583 * gdb.trace/range-stepping.exp: Check that the target supports
586 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
588 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
590 2015-07-14 Pedro Alves <palves@redhat.com>
592 * gdb.base/killed-outside.exp: New file.
593 * gdb.base/killed-outside.c: New file.
595 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
597 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
599 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
601 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
603 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
604 infcall tests instead of setting up for KFAIL.
606 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
608 * gdb.btrace/record_goto-step.exp: New.
610 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
613 * gdb.compile/compile.c (struct struct_type): Add volatile to
615 * gdb.compile/compile.exp
616 (compile code struct_object.selffield = &struct_object): Skip further
617 struct_object tests if this one xfails.
619 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
622 * gdb.trace/ax.exp: Add test.
624 2015-07-07 Yao Qi <yao.qi@linaro.org>
626 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
627 instead of istarget "aarch64*-*-*".
628 * gdb.arch/aarch64-fp.exp: Likewise.
629 * gdb.base/float.exp: Likewise.
630 * gdb.reverse/aarch64.exp: Likewise.
631 * lib/gdb.exp (is_aarch64_target): New proc.
633 2015-07-07 Yao Qi <yao.qi@linaro.org>
635 * lib/gdb.exp (is_aarch32_target): New proc.
636 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
637 instead of "istarget "arm*-*-*"".
638 * gdb.arch/arm-disp-step.exp: Likewise.
639 * gdb.arch/thumb-bx-pc.exp: Likewise.
640 * gdb.arch/thumb-prologue.exp: Likewise.
641 * gdb.arch/thumb-singlestep.exp: Likewise.
642 * gdb.base/disp-step-syscall.exp: Likewise.
643 * gdb.base/float.exp: Likewise.
645 2015-07-07 Yao Qi <yao.qi@linaro.org>
647 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
648 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
650 2015-07-07 Yao Qi <yao.qi@linaro.org>
652 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
653 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
655 * gdb.multi/multi-arch.exp: Likewise.
657 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
659 * gdb.python/py-lazy-string.exp: Add missing parentheses to
662 2015-07-07 Yao Qi <yao.qi@linaro.org>
664 * gdb.arch/thumb-singlestep.exp: Do one more single step.
666 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
668 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
669 '[' and ']' characters.
671 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
673 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
675 2015-06-29 Pedro Alves <palves@redhat.com>
678 * gdb.threads/hand-call-new-thread.c: New file.
679 * gdb.threads/hand-call-new-thread.c: New file.
681 2015-06-26 Keith Seitz <keiths@redhat.com>
682 Doug Evans <dje@google.com>
685 * gdb.cp/var-tag-2.cc: New file.
686 * gdb.cp/var-tag-3.cc: New file.
687 * gdb.cp/var-tag-4.cc: New file.
688 * gdb.cp/var-tag.cc: New file.
689 * gdb.cp/var-tag.exp: New file.
691 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
693 * gdb.base/history-duplicates.exp: New test.
695 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
697 * gdb.base/completion.exp: Test the completion of the "focus"
700 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
702 * gdb.arch/amd64-prologue-skip.S: New file.
703 * gdb.arch/amd64-prologue-skip.exp: New file.
705 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
707 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
708 is_address_zero_readable check.
710 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
712 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
713 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
715 2015-06-24 Yao Qi <yao.qi@linaro.org>
717 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
720 2015-06-24 Yao Qi <yao.qi@linaro.org>
722 * lib/gdb.exp (supports_get_siginfo_type): New proc.
723 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
724 * gdb.base/siginfo-thread.exp: Likewise.
726 2015-06-22 Yao Qi <yao.qi@linaro.org>
728 * boards/remote-gdbserver-on-localhost.exp: Add comments.
730 2015-06-22 Yao Qi <yao.qi@linaro.org>
732 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
734 (skip_hw_watchpoint_tests): Likewise.
736 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
738 * gdb.base/gdbinit-history.exp: Test the interaction between
739 setting GDBHISTSIZE and setting the history size via .gdbinit.
741 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
744 * gdb.base/gdbhistsize-history.exp: New test.
746 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
748 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
750 * gdb.base/readline.exp: Likewise.
752 2015-06-17 Yao Qi <yao.qi@linaro.org>
754 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
757 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
759 * gdb.base/gdbinit-history.exp: Add test case to check that
760 an unlimited history file does not get truncated on exit.
762 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
764 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
765 (VECTOR): New macro. Use it...
766 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
767 ...for these typedefs.
768 (int8, char1, int1, double1): New typedefs.
769 (struct just_int2, struct two_int2): New structures.
770 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
771 (add_structvecs, add_singlevecs): New functions.
772 (main): Call add_some_intvecs twice.
773 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
774 the compile and exit upon failure. Try compiling for the "native"
775 architecture. Test inferior function calls with vector arguments
776 and vector return value handling with "finish" and "return".
778 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
780 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
781 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
783 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
785 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
788 * gdb.mi/mi-dprintf-pending.c: New file.
789 * gdb.mi/mi-dprintf-pending.exp: New test.
790 * gdb.mi/mi-dprintf-pendshr.c: New file.
792 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
793 Mircea Gherzan <mircea.gherzan@intel.com>
795 * gdb.arch/i386-mpx-map.c: New file.
796 * gdb.arch/i386-mpx-map.exp: New File.
798 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
800 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
801 * gdb.arch/i386-mpx.exp: Indentation fixed.
803 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
805 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
806 function and improved indentation.
807 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
808 gdb_test_multiple. Added additional tests to skip the test.
810 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
812 * gdb.arch/i386-avx512.c: Change path in include file.
813 * gdb.arch/i386-avx512.exp: Change include dir path
815 * gdb.arch/i386-mpx.c: Change path in include file.
816 * gdb.arch/i386-mpx.exp: Change include dir path compilation
819 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
821 * gdb.compile/compile-print.exp (compile print *vararray@3)
822 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
824 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
826 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
827 (do not keep jit in memory): ... this.
828 (expect 5): Change it to ...
829 (expect no 5): ... this.
831 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
834 * gdb.mi/mi-detach.exp: New file.
836 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
839 * gdb.arch/amd64-tailcall-self.S: New file.
840 * gdb.arch/amd64-tailcall-self.c: New file.
841 * gdb.arch/amd64-tailcall-self.exp: New file.
843 2015-05-28 Don Breazeal <donb@codesourcery.com>
845 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
846 tests for remote targets by checking is_target_gdbserver.
848 2015-05-27 Doug Evans <dje@google.com>
850 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
851 * gdb.dwarf2/opaque-type-lookup.c: New file.
852 * gdb.dwarf2/opaque-type-lookup.exp: New file.
854 2015-05-26 Doug Evans <dje@google.com>
856 * gdb.cp/iostream.cc: New file.
857 * gdb.cp/iostream.exp: New file.
859 2015-05-26 Doug Evans <dje@google.com>
861 * gdb.dwarf2/dw2-op-call.exp: Update.
862 * gdb.dwarf2/dw4-sig-types.exp: Update.
863 * gdb.dwarf2/implptr.exp: Update.
864 * gdb.mi/mi-cmd-param-changed.exp: Update.
866 2015-05-26 Doug Evans <dje@google.com>
868 * gdb.python/py-lazy-string.c: New file.
869 * gdb.python/py-lazy-string.exp: New file.
870 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
871 (main): Update. Add estring3.
872 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
873 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
875 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
876 Yao Qi <yao.qi@linaro.org>
878 * gdb.reverse/aarch64.c: New.
879 * gdb.reverse/aarch64.exp: New.
881 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
883 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
884 (supports_reverse): Likewise.
886 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
888 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
889 Use with_test_prefix.
891 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
893 * gdb.base/completion.exp: Add test for completion of layout
896 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
898 * lib/gdb.exp (skip_tui_tests): New proc.
899 * gdb.base/tui-layout.exp: Check skip_tui_tests.
901 2015-05-19 Pedro Alves <palves@redhat.com>
903 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
904 Save the whole env array instead of just HOME. Unset HISTSIZE in
905 the environment while testing. Restore whole environment
908 2015-05-16 Doug Evans <xdje42@gmail.com>
910 * gdb.guile/scm-ports.c: New file.
911 * gdb.guile/scm-ports.exp: Add memory port tests.
913 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
915 * gdb.compile/compile-print.c: New file.
916 * gdb.compile/compile-print.exp: New file.
918 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
920 * gdb.compile/compile-ops.exp: Cast param to void.
921 * gdb.compile/compile.exp: Complete type for _gdb_expr.
922 (compile code struct_object.selffield = &struct_object): Add xfail.
924 2015-05-15 Joel Brobecker <brobecker@adacore.com>
926 * gdb.ada/arr_enum_with_gap: New testcase.
928 2015-05-15 Joel Brobecker <brobecker@adacore.com>
930 * gdb.ada/byte_packed_arr: New testcase.
932 2015-05-15 Joel Brobecker <brobecker@adacore.com>
934 * gdb.ada/pckd_neg: New testcase.
936 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
939 * gdb.base/gdbinit-history.exp: New test.
940 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
941 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
943 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
945 * gdb.python/py-xmethods.cc: Enhance test case.
946 * gdb.python/py-xmethods.exp: New tests.
947 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
949 (B_indexoper): Likewise.
950 (global_dm_list) : Add new xmethod worker functions.
952 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
954 * gdb.base/coredump-filter.exp: Correctly unset
955 "coredump_var_addr" array.
957 2015-05-08 Pedro Alves <palves@redhat.com>
959 * gdb.server/non-existing-program.exp: Unset spawn_id.
961 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
964 * gdb.python/py-xmethods.exp: Add tests.
966 2015-05-08 Yao Qi <yao.qi@linaro.org>
969 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
970 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
971 function set_coredump_filter, and remove remote_exec call.
972 Remove argument ipid. Callers update.
973 (top level): Don't get inferior's PID.
975 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
977 * gdb.base/watch_thread_num.exp: Skip test on targets without
980 2015-05-06 Pedro Alves <palves@redhat.com>
983 * gdb.server/non-existing-program.exp: New file.
985 2015-05-05 Joel Brobecker <brobecker@adacore.com>
987 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
989 2015-05-05 Joel Brobecker <brobecker@adacore.com>
991 * gdb.ada/out_of_line_in_inlined: New testcase.
993 2015-05-05 Joel Brobecker <brobecker@adacore.com>
995 * gdb.ada/var_rec_arr: New testcase.
997 2015-04-30 Yao Qi <yao.qi@linaro.org>
999 * gdb.base/break-idempotent.exp: If
1000 skip_hw_watchpoint_multi_tests returns true, skip the tests
1001 on "rwatch" and "awatch".
1003 2015-04-30 Yao Qi <yao.qi@linaro.org>
1005 * gdb.base/relativedebug.exp: Invoke gdb command
1006 "info sharedlibrary", and if libc.so doesn't have debug info,
1009 2015-04-29 Doug Evans <dje@google.com>
1011 * gdb.python/py-xmethods.exp: Add ptype tests.
1012 * gdb.python/py-xmethods.py (E_method_char_worker): Add
1013 get_result_type method.
1015 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
1017 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
1018 the target does not support hardware watchpoints.
1020 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
1022 * gdb.base/break-always.exp: Abort testing if writing to memory
1025 2015-04-28 Doug Evans <dje@google.com>
1027 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
1028 * gdb.python/py-pp-registration.exp: ... here. New file.
1029 * gdb.python/py-pp-registration.c: New file.
1030 * gdb.python/py-pp-registration.py: New file.
1032 2015-04-28 Doug Evans <dje@google.com>
1034 * gdb.python/py-bad-printers.c: New file.
1035 * gdb.python/py-bad-printers.py: New file.
1036 * gdb.python/py-bad-printers.exp: New file.
1038 2015-04-28 Sasha Smundak <asmundak@google.com>
1040 * gdb.python/py-type.exp: New test.
1042 2015-04-28 Andy Wingo <wingo@igalia.com>
1044 * gdb.python/py-parameter.exp:
1045 * gdb.guile/scm-parameter.exp: Escape the path that we are
1046 matching against, as it might contain characters that are special
1047 to regular expressions.
1049 2015-04-27 Joel Brobecker <brobecker@adacore.com>
1051 * gdb.ada/rec_comp: New testcase.
1053 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
1055 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
1058 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
1060 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
1061 new tests for verilog output.
1063 2015-04-24 Yao Qi <yao.qi@linaro.org>
1065 * boards/remote-gdbserver-on-localhost.exp: New file.
1067 2015-04-23 Pedro Alves <palves@redhat.com>
1069 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
1070 $inferior_spawn_id instead of $inferior_spawn_id directly. On
1071 "end of file", remove $inferior_spawn_id from the indirect list.
1073 2015-04-23 Pedro Alves <palves@redhat.com>
1075 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
1077 2015-04-23 Pedro Alves <palves@redhat.com>
1079 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
1080 on $any_spawn_id instead of only on $gdb_spawn_id.
1082 2015-04-21 Pierre Muller <muller@sourceware.org>
1085 * lib/pascal.exp (gpc_compile): Add new option "class".
1086 (fpc_compile): Likewise.
1087 * gdb.pascal/case-insensitive-symbols.pas: New file.
1088 * gdb.pascal/case-insensitive-symbols.exp: New file.
1090 2015-04-20 Gary Benson <gbenson@redhat.com>
1092 * gdb.base/attach.exp: Fix three extended remote failures.
1094 2015-04-17 Gary Benson <gbenson@redhat.com>
1096 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
1097 the main executable over the remote protocol.
1099 2015-04-16 Pedro Alves <palves@redhat.com>
1101 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
1102 a new gdbserver if gdbserver_reconnect_p is set.
1104 2015-04-16 Pedro Alves <palves@redhat.com>
1106 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
1107 is set, don't exit gdbserver.
1109 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1111 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
1112 appropriate .insn, such that an older assembler can be used.
1113 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
1114 the z/Architecture instruction set on 31-bit targets as well.
1116 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1118 * gdb.go/handcall.exp: Remove all logic related to the first
1119 breakpoint and rely on go_runto_main instead.
1120 * gdb.go/strings.exp: Likewise.
1121 * gdb.go/unsafe.exp: Likewise.
1122 * gdb.go/hello.exp: Likewise. Also rename the remaining
1123 breakpoint marker to "breakpoint 1".
1124 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
1125 * gdb.go/strings.go: Likewise.
1126 * gdb.go/unsafe.go: Likewise.
1127 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
1128 "set breakpoint 2 here" and rename the remaining breakpoint marker
1131 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
1133 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
1134 if itertools.imap is not present.
1135 * gdb.python/py-objfile.exp: Add parentheses.
1136 * gdb.python/py-type.exp: Same.
1137 * gdb.python/py-unwind-maint.py: Same.
1139 2015-04-15 Yao Qi <yao.qi@linaro.org>
1141 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
1142 of ":$ptr_size" and set its form explicitly.
1144 2015-04-15 Pedro Alves <palves@redhat.com>
1145 Yao Qi <yao.qi@linaro.org>
1147 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
1148 timeout by factor of 4.
1149 (test_regular_watch): Likewise.
1150 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
1151 * gdb.reverse/sigall-reverse.exp: Likewise.
1152 * gdb.reverse/until-precsave.exp: Likewise.
1153 * lib/gdb.exp (with_timeout_factor): New proc.
1154 (gdb_expect): Move some code to ...
1155 (get_largest_timeout): ... here. New procedure.
1157 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
1159 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
1161 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
1163 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
1164 to write to the .text section.
1166 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
1168 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
1169 Handle the case of targets that do not provide PID information.
1171 2015-04-13 Yao Qi <yao.qi@linaro.org>
1173 * lib/gdbserver-support.exp (gdb_exit): Catch exception
1174 and use expect instead of gdb_expect.
1176 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
1178 * gdb.base/coredump-filter.exp: Rename variable "addr" to
1179 "coredump_var_addr" to avoid naming conflict with other testcases.
1181 2015-04-10 Pedro Alves <palves@redhat.com>
1183 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
1184 gdb_test_sequence and gdb_assert.
1186 2015-04-10 Pedro Alves <palves@redhat.com>
1188 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
1189 test messages that don't include the breakpoint address.
1191 2015-04-10 Yao Qi <yao.qi@linaro.org>
1193 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
1194 false for some offset and width combinations which aren't
1195 supported by linux kernel.
1197 2015-04-10 Pedro Alves <palves@redhat.com>
1199 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
1200 procedure, factored out from ...
1201 (top level): ... here. Add "set displaced-stepping" testing axis.
1202 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
1203 parameter "displaced". Use it.
1204 (top level): Use foreach and add "set displaced-stepping" testing
1207 2015-04-10 Pedro Alves <palves@redhat.com>
1209 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
1211 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
1212 both the address of the instruction that triggers the watchpoint
1213 and the address of the instruction immediately after, and use
1214 those addresses for the test. Fix comment.
1216 2015-04-10 Pedro Alves <palves@redhat.com>
1218 * gdb.base/sigstep.exp (breakpoint_to_handler)
1219 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
1220 Test "backtrace" in handler.
1221 (breakpoint_over_handler): New parameter 'displaced'. Use it.
1222 (top level): Add new "displaced" test axis to
1223 breakpoint_to_handler, breakpoint_to_handler_entry and
1224 breakpoint_over_handler.
1226 2015-04-10 Pedro Alves <palves@redhat.com>
1229 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
1231 2015-04-10 Yao Qi <yao.qi@linaro.org>
1233 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
1234 (test_add_rn_pc): New function.
1235 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
1236 (top level): Invoke test_add_rn_pc.
1238 2015-04-10 Pedro Alves <palves@redhat.com>
1241 * gdb.base/step-over-no-symbols.exp: New file.
1243 2015-04-09 Andy Wingo <wingo@igalia.com>
1245 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
1246 after the Python tests.
1248 2015-04-08 Keith Seitz <keiths@redhat.com>
1251 * gdb.python/py-completion.exp: New tests for completion.
1252 * gdb.python/py-completion.py (CompleteLimit1): New class.
1253 (CompleteLimit2): Likewise.
1254 (CompleteLimit3): Likewise.
1255 (CompleteLimit4): Likewise.
1256 (CompleteLimit5): Likewise.
1257 (CompleteLimit6): Likewise.
1258 (CompleteLimit7): Likewise.
1260 2015-04-08 Pedro Alves <palves@redhat.com>
1264 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
1266 (main): Install it as SIGUSR1 handler.
1267 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
1268 parameter. Always use "setup" as prefix. Toggle "set
1269 displaced-stepping" off/on depending on global. Don't switch to
1271 (top level): Add displaced stepping "off/on" test axis. Update
1272 "setup" calls. Wrap each subtest with with_test_prefix. Test
1273 continuing with a queued signal in each thread.
1275 2015-04-08 Pedro Alves <palves@redhat.com>
1277 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
1278 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
1279 gdb_breakpoint instead of gdb_test that doesn't expect anything.
1280 Return early if running to main fails.
1281 * gdb.trace/while-stepping.exp: Likewise.
1283 2015-04-07 Pedro Alves <palves@redhat.com>
1285 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
1286 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
1287 interact with inferior program.
1289 2015-04-07 Pedro Alves <palves@redhat.com>
1291 * lib/gdb.exp (inferior_spawn_id): New global.
1292 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
1293 spawn id after processing the user code.
1294 (default_gdb_start): Set inferior_spawn_id.
1295 (send_inferior): New procedure.
1296 * lib/gdbserver-support.exp (gdbserver_start): Set
1298 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
1300 2015-04-07 Pedro Alves <palves@redhat.com>
1302 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
1303 * lib/gdbserver-support.exp (gdbserver_start): Make
1304 $server_spawn_id global.
1305 (gdbserver_start): Don't wait for gdbserver's spawn id with
1307 (close_gdbserver): New procedure.
1308 (gdb_exit): Rename the default version and reimplement.
1310 2015-04-07 Pedro Alves <palves@redhat.com>
1312 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
1313 append the substituted item, not the original item.
1315 2015-04-07 Pedro Alves <palves@redhat.com>
1317 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
1320 2015-04-07 Pedro Alves <palves@redhat.com>
1322 * gdb.base/interrupt.exp: Don't handle the case of the inferior
1323 output appearing once only.
1325 2015-04-07 Pedro Alves <palves@redhat.com>
1327 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
1328 that doesn't expect anything. Return early if running to main
1331 2015-04-07 Yao Qi <yao.qi@linaro.org>
1333 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
1334 (child_function): Call alarm.
1335 (main): Move call to alarm into the loop.
1336 * gdb.threads/non-stop-fair-events.exp: Build program with
1339 2015-04-06 Doug Evans <xdje42@gmail.com>
1341 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
1342 Fix dest parameter to board_info.
1343 (fpc_compile): Ditto.
1344 (gdb_compile_pascal): Rename dest arg to destfile.
1346 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
1348 * gdb.ada/funcall_ref.exp: New file.
1349 * gdb.ada/funcall_ref/foo.adb: New file.
1351 2015-04-02 Yao Qi <yao.qi@linaro.org>
1353 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
1356 2015-04-02 Gary Benson <gbenson@redhat.com>
1358 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
1360 2015-04-01 Sasha Smundak <asmundak@google.com>
1362 * gdb.python/py-unwind-maint.c: New file.
1363 * gdb.python/py-unwind-maint.exp: New test.
1364 * gdb.python/py-unwind-maint.py: New file.
1365 * gdb.python/py-unwind.c: New file.
1366 * gdb.python/py-unwind.exp: New test.
1367 * gdb.python/py-unwind.py: New test.
1369 2015-04-01 Pedro Alves <palves@redhat.com>
1371 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
1372 to fail instead of non-existent $test.
1374 2015-04-01 Pedro Alves <palves@redhat.com>
1376 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
1377 GDBFLAGS if not empty.
1379 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
1381 * gdb.ada/complete.exp: Remove "multi_line".
1382 * gdb.ada/info_exc.exp: Remove "multi_line".
1383 * gdb.ada/packed_tagged.exp: Remove "multi_line".
1384 * gdb.ada/ptype_field.exp: Remove "multi_line".
1385 * gdb.ada/sym_print_name.exp: Remove "multi_line".
1386 * gdb.ada/tagged.exp: Remove "multi_line".
1387 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
1389 * gdb.btrace/delta.exp: Likewise.
1390 * gdb.btrace/exception.exp: Likewise.
1391 * gdb.btrace/function_call_history.exp: Likewise.
1392 * gdb.btrace/instruction_history.exp: Likewise.
1393 * gdb.btrace/nohist.exp: Likewise.
1394 * gdb.btrace/record_goto.exp: Likewise.
1395 * gdb.btrace/segv.exp: Likewise.
1396 * gdb.btrace/stepi.exp: Likewise.
1397 * gdb.btrace/tailcall.exp: Likewise.
1398 * gdb.btrace/unknown_functions.exp: Likewise.
1399 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
1400 * lib/gdb.exp: Add the "multi_line" helper.
1402 2015-04-01 Pedro Alves <palves@redhat.com>
1404 * gdb.threads/tid-reuse.c: New file.
1405 * gdb.threads/tid-reuse.exp: New file.
1407 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
1410 * gdb.base/coredump-filter.c: New file.
1411 * gdb.base/coredump-filter.exp: Likewise.
1413 2015-03-27 Petr Machata <pmachata@redhat.com>
1415 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
1416 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
1417 (Dwarf::assemble): Initialize them.
1418 (Dwarf::lines): New function.
1420 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
1422 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
1423 SYMBOL_PREFIX for x86_64-*-cygwin.
1425 2015-03-26 Andy Wingo <wingo@igalia.com>
1428 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
1429 const_value but not a location.
1430 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
1431 location defined in non-main CUs are visible.
1433 2015-03-26 Yao Qi <yao.qi@linaro.org>
1436 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
1437 Add a line number entry for the same line.
1438 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
1439 Add a line number entry for the same line.
1441 2015-03-26 Yao Qi <yao.qi@linaro.org>
1443 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
1445 (func): Likewise. Add .Lfunc_1 label.
1447 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
1452 2015-03-26 Yao Qi <yao.qi@linaro.org>
1454 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
1455 Call gdb_compile instead to compile each .s files without debug
1458 2015-03-26 Yao Qi <yao.qi@linaro.org>
1460 * gdb.base/savedregs.exp (process_saved_regs): Make
1461 "Saved registers:" optional in the pattern.
1463 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
1465 * gdb.btrace/next.exp: Merged into step.exp.
1466 * gdb.btrace/finish.exp: Merged into step.exp.
1467 * gdb.btrace/nexti.exp: Merged into stepi.exp.
1468 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
1469 "record goto" and checking the exact replay position.
1470 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
1471 check for "Recording format" in "info record" output.
1472 * gdb.btrace/record_goto.exp: Choose test file based on target.
1473 * gdb.btrace/x86-record_goto.S: Renamed into ...
1474 * gdb.btrace/x86_64-record_goto.S: ... this.
1475 * gdb.btrace/i686-record_goto.S: New.
1476 * gdb.btrace/x86-tailcall.S: Renamed into ...
1477 * gdb.btrace/x86_64-tailcall.S: ... this.
1478 * gdb.btrace/i686-tailcall.S: New.
1479 * gdb.btrace/x86-tailcall.c: Renamed into ...
1480 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
1481 separate statements. Update test.
1482 * gdb.btrace/delta.exp: Use record_goto.c as test file.
1483 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
1484 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
1485 * gdb.btrace/tailcall.exp: Choose test file based on target.
1486 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
1488 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
1490 * gdb.btrace/exception.exp: Increase BTS buffer size.
1492 2015-03-24 Pedro Alves <palves@redhat.com>
1494 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
1496 2015-03-24 Pedro Alves <palves@redhat.com>
1498 * gdb.threads/schedlock.exp (test_step): No longer expect that
1499 "set scheduler-locking step" with "next" over a function call runs
1502 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1504 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
1506 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1508 PR breakpoints/16466
1509 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
1510 * gdb.mi/mi-pending.c (thread_func): New function.
1511 (int main): Add threading support required.
1512 * gdb.mi/mi-pending.exp: Add tests for this issue.
1513 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
1514 (pendfunc2): Remove stdio dependency.
1515 * gdb.mi/mi-pendshr2.c: New file.
1517 2015-03-23 Keith Seitz <keiths@redhat.com>
1519 * gdb.linespec/keywords.c: New file.
1520 * gdb.linespec/keywords.exp: New file.
1522 2015-03-23 Keith Seitz <keiths@redhat.com>
1525 * gdb.dwarf2/staticvirtual.exp: New test.
1527 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1529 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
1530 * README: Remove HP-UX and gdb.hp.
1532 * configure: Regenerate.
1533 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
1534 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
1535 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
1536 gdb.hp/gdb.defects/Makefile.
1537 * gdb.hp/Makefile.in: File deleted.
1538 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
1539 * gdb.hp/gdb.aCC/optimize.c: File deleted.
1540 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
1541 * gdb.hp/gdb.aCC/run.c: File deleted.
1542 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
1543 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
1544 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
1545 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
1546 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
1547 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
1548 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
1549 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
1550 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
1551 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
1552 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
1553 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
1554 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
1555 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
1556 * gdb.hp/gdb.base-hp/reg.s: File deleted.
1557 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
1558 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
1559 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
1560 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
1561 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
1562 * gdb.hp/gdb.compat/Makefile.in: File deleted.
1563 * gdb.hp/gdb.compat/average.c: File deleted.
1564 * gdb.hp/gdb.compat/sum.c: File deleted.
1565 * gdb.hp/gdb.compat/xdb.c: File deleted.
1566 * gdb.hp/gdb.compat/xdb0.c: File deleted.
1567 * gdb.hp/gdb.compat/xdb0.h: File deleted.
1568 * gdb.hp/gdb.compat/xdb1.c: File deleted.
1569 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
1570 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
1571 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
1572 * gdb.hp/gdb.defects/Makefile.in: File deleted.
1573 * gdb.hp/gdb.defects/bs14602.c: File deleted.
1574 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
1575 * gdb.hp/gdb.defects/solib-d.c: File deleted.
1576 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
1577 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
1578 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
1579 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
1580 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
1581 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
1582 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
1583 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
1584 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
1585 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
1586 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
1587 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
1588 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
1589 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
1590 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
1591 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
1592 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
1593 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
1594 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
1595 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
1596 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
1597 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
1598 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
1599 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
1600 * gdb.hp/tools/odump: File deleted.
1602 2015-03-19 Pedro Alves <palves@redhat.com>
1604 * gdb.threads/continue-pending-status.exp (saw_thread_2)
1605 (saw_thread_3): New globals.
1606 (top level): Increment them when an event for the corresponding
1608 (no thread starvation): New test.
1610 2015-03-19 Pedro Alves <palves@redhat.com>
1612 * gdb.threads/continue-pending-status.c: New file.
1613 * gdb.threads/continue-pending-status.exp: New file.
1615 2015-03-18 Pedro Alves <palves@redhat.com>
1617 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1618 Use gdb_is_target_remote instead of is_remote. Use
1619 gdb_test_multiple instead of gdb_expect. Exit early if
1620 gdb_test_multiple hits its internal matches. Tighten stepi tests
1621 expected output. Fail on exit with any signal, instead of just
1624 2015-03-18 Yao Qi <yao.qi@linaro.org>
1627 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
1629 * gdb.base/catch-syscall.exp: Don't skip it on
1630 aarch64*-*-linux* target. Remove elements in all_syscalls.
1631 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
1633 (setup_all_syscalls): New proc.
1635 2015-03-16 Yao Qi <yao.qi@linaro.org>
1637 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
1638 (top level): Skip tests if valid_addr_p returns false for
1641 2015-03-11 Andy Wingo <wingo@igalia.com>
1643 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
1645 2015-03-11 Yao Qi <yao.qi@linaro.org>
1647 * gdb.base/catch-syscall.exp: Fix typo in comments.
1649 2015-03-11 Yao Qi <yao.qi@linaro.org>
1651 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
1653 2015-03-09 Pedro Alves <palves@redhat.com>
1655 * dg-extract-results.py: Delete.
1657 2015-03-09 Pedro Alves <palves@redhat.com>
1659 Merge dg-extract-results.sh from GCC upstream (r218843).
1661 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
1662 * dg-extract-results.sh: Use --text with grep to avoid issues with
1663 binary files. Fall back to cat -v, if that doesn't work.
1665 2015-03-05 Pedro Alves <palves@redhat.com>
1667 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
1669 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
1671 * lib/mi-support.exp (mi_expect_interrupt): Accept
1672 alternative event for when in all-stop mode.
1674 2015-03-04 Pedro Alves <palves@redhat.com>
1676 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
1678 2015-03-04 Mark Kettenis <kettenis@gnu.org>
1680 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
1682 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
1684 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
1685 regexps for GDB's current line display, accept a hex address
1686 preceding the line number.
1688 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
1690 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
1691 the 'arch1' variable for "s390*-linux*" targets.
1693 2015-03-04 Pedro Alves <palves@redhat.com>
1695 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
1696 (main): Pass missing retval argument to pthread_join call.
1698 2015-03-02 Pedro Alves <palves@redhat.com>
1700 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
1701 (top level): Call do_test with non-stop as well.
1703 2015-03-02 Pedro Alves <palves@redhat.com>
1705 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
1708 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1710 * gdb.arch/s390-vregs.exp: New test.
1711 * gdb.arch/s390-vregs.S: New file.
1713 2015-02-27 Pedro Alves <palves@redhat.com>
1715 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
1716 call to catch_command_errors.
1717 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
1718 catch_command_errors.
1720 2015-02-27 Pedro Alves <palves@redhat.com>
1722 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
1723 "true" for boolean result.
1724 * gdb.gdb/selftest.exp (test_with_self): Also accept full
1727 2015-02-27 Pedro Alves <palves@redhat.com>
1729 * lib/unbuffer_output.c: New file.
1730 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
1731 (main): Call gdb_unbuffer_output.
1733 2015-02-27 Yao Qi <yao.qi@linaro.org>
1735 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
1738 2015-02-26 Doug Evans <dje@google.com>
1740 * gdb.cp/class2.cc (Dbase, D): New classes.
1741 (main): New local delta.
1742 * gdb.cp/class2.exp: Test printing delta.
1743 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
1744 (dynbar): New global.
1745 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
1747 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1749 * gdb.compile/compile-ifunc.c: New file.
1750 * gdb.compile/compile-ifunc.exp: New file.
1752 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
1754 * gdb.base/structs.exp: Check for correct struct on finish.
1756 2015-02-26 Yao Qi <yao.qi@linaro.org>
1758 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
1761 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1763 * gdb.arch/cordic.ko.bz2: New file.
1764 * gdb.arch/cordic.ko.debug.bz2: New file.
1765 * gdb.arch/ppc64-symtab-cordic.exp: New file.
1767 2015-02-25 Yao Qi <yao.qi@linaro.org>
1769 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
1770 aarch64*-*-* target.
1772 2015-02-23 Pedro Alves <palves@redhat.com>
1774 * lib/gdb.exp (delete_breakpoints): Rewrite using
1777 2015-02-23 Pedro Alves <palves@redhat.com>
1779 * gdb.base/info-os.c: Include stdlib.h.
1781 2015-02-22 Doug Evans <xdje42@gmail.com>
1784 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
1785 is read after symbols have been re-read.
1786 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
1787 * gdb.ada/exec_changed/second.adb (Second): Ditto.
1789 2015-02-21 Doug Evans <dje@google.com>
1791 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
1793 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1796 * gdb.arch/i386-biarch-core.core.bz2: New file.
1797 * gdb.arch/i386-biarch-core.exp: New file.
1799 2015-02-21 Pedro Alves <palves@redhat.com>
1801 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
1804 2015-02-20 Pedro Alves <palves@redhat.com>
1806 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
1809 2015-02-20 Pedro Alves <palves@redhat.com>
1811 * gdb.threads/multi-create-ns-info-thr.exp: New file.
1813 2015-02-20 Pedro Alves <palves@redhat.com>
1815 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
1816 clean_restart before gdb_target_supports_trace.
1818 2015-02-20 Pedro Alves <palves@redhat.com>
1821 * gdb.threads/clone-thread_db.c: New file.
1822 * gdb.threads/clone-thread_db.exp: New file.
1824 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
1826 PR breakpoints/16812
1827 * gdb.base/catch-gdb-caused-signals.c: New file.
1828 * gdb.base/catch-gdb-caused-signals.exp: New file.
1830 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
1832 * configure: Regenerated.
1833 * configure.ac: Use GDB_AC_TRANSFORM.
1834 * aclocal.m4: sinclude ../transform.m4.
1836 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1838 * lib/dtrace.exp: New file.
1839 * gdb.base/dtrace-probe.exp: Likewise.
1840 * gdb.base/dtrace-probe.d: Likewise.
1841 * gdb.base/dtrace-probe.c: Likewise.
1842 * lib/pdtrace.in: Likewise.
1843 * configure.ac: Output variables with the transformed names of
1844 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
1845 * configure: Regenerated.
1847 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1849 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
1850 expected message when trying to access $_probe_* convenience
1851 variables while not on a probe.
1853 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1855 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
1857 2015-02-11 Pedro Alves <pedro@codesourcery.com>
1859 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
1860 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
1862 2015-02-10 Doug Evans <xdje42@gmail.com>
1864 * lib/gdb.exp (gdb_load): Always return a result.
1866 2015-02-10 Pedro Alves <palves@redhat.com>
1868 * gdb.threads/signal-sigtrap.c: New file.
1869 * gdb.threads/signal-sigtrap.exp: New file.
1871 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
1873 * gdb.trace/no-attach-trace.c: New file.
1874 * gdb.trace/no-attach-trace.exp: New file.
1876 2015-02-09 Mark Wielaard <mjw@redhat.com>
1878 * gdb.dwarf2/atomic.c: New file.
1879 * gdb.dwarf2/atomic-type.exp: Likewise.
1881 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1883 * gdb.btrace/buffer-size.exp: Update "info record" output.
1884 * gdb.btrace/delta.exp: Update "info record" output.
1885 * gdb.btrace/enable.exp: Update "info record" output.
1886 * gdb.btrace/finish.exp: Update "info record" output.
1887 * gdb.btrace/instruction_history.exp: Update "info record" output.
1888 * gdb.btrace/next.exp: Update "info record" output.
1889 * gdb.btrace/nexti.exp: Update "info record" output.
1890 * gdb.btrace/step.exp: Update "info record" output.
1891 * gdb.btrace/stepi.exp: Update "info record" output.
1892 * gdb.btrace/nohist.exp: Update "info record" output.
1894 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1896 * gdb.btrace/buffer-size: New.
1898 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1900 * gdb.btrace/delta.exp: Update "info record" output.
1901 * gdb.btrace/enable.exp: Update "info record" output.
1902 * gdb.btrace/finish.exp: Update "info record" output.
1903 * gdb.btrace/instruction_history.exp: Update "info record" output.
1904 * gdb.btrace/next.exp: Update "info record" output.
1905 * gdb.btrace/nexti.exp: Update "info record" output.
1906 * gdb.btrace/step.exp: Update "info record" output.
1907 * gdb.btrace/stepi.exp: Update "info record" output.
1908 * gdb.btrace/nohist.exp: Update "info record" output.
1910 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
1913 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
1915 2015-02-06 Pedro Alves <palves@redhat.com>
1917 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
1919 (seconds_left, again): New globals.
1920 (main): Wait seconds_left in a 1-second sleep loop instead of
1921 sleeping 180 seconds. If 'again' is set, reset the seconds
1923 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
1924 'again' in the inferior before detaching. Print the seconds left.
1925 (options): New global.
1926 (top level): Build program with -DTIMEOUT=$timeout.
1928 2015-02-06 Pedro Alves <palves@redhat.com>
1930 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
1931 determine how many seconds to pass to 'alarm'.
1932 * gdb.base/gdb-sigterm.exp (top level): Build program with
1934 (do_test): Return success/failure indication. Add more verbose
1935 logging. Don't fail if 200 single steps are seen. Instead, fail
1936 when the test times out.
1937 (passes): New global.
1938 (top level): Break the testing loop if testing fails on any
1939 iteration. Use gdb_assert.
1941 2015-02-04 Don Breazeal <donb@codesourcery.com>
1943 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
1944 and initialize them.
1945 (ipc_cleanup): New function.
1946 (main): Don't declare shmid, semid, and msqid. Add a call to
1947 atexit so that we call ipc_cleanup on exit.
1949 2015-02-04 Pedro Alves <palves@redhat.com>
1951 * boards/native-extended-gdbserver.exp: Remove any target variant
1952 specifications from the board name before clearing the isremote
1953 flag from board_info.
1955 2015-01-31 Doug Evans <xdje42@gmail.com>
1957 * gdb.base/maint.exp <maint print type argc>: Update expected output.
1959 2015-01-31 Gary Benson <gbenson@redhat.com>
1961 * gdb.base/completion.exp: Disable completion limiting for
1962 existing tests. Add new tests to check completion limiting.
1963 * gdb.linespec/ls-errs.exp: Disable completion limiting.
1965 2015-01-31 Doug Evans <xdje42@gmail.com>
1967 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
1969 2015-01-31 Doug Evans <xdje42@gmail.com>
1971 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
1972 entries. Duplicate file section script entries.
1973 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
1974 inlined entries. Add test for safe-path rejection.
1975 * gdb.python/py-section-script.c: Add duplicate inlined section script
1976 entries. Duplicate file section script entries.
1977 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
1978 inlined entries. Add test for safe-path rejection.
1980 2015-01-29 Joel Brobecker <brobecker@adacore.com>
1982 * gdb.ada/disc_arr_bound: New testcase.
1984 2015-01-29 Joel Brobecker <brobecker@adacore.com>
1986 * gdb.ada/mi_var_array: New testcase.
1988 2015-01-27 Doug Evans <dje@google.com>
1990 * gdb.python/py-objfile.exp: Add tests for objfile.username.
1991 Add test for objfile.filename, objfile.username after objfile
1994 2015-01-26 Joel Brobecker <brobecker@adacore.com>
1996 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
1997 the second test to print the name attribute of value
1998 returned by the call to gdb.lookup_type, and adjust
1999 the expected output accordingly.
2001 2015-01-25 Mark Wielaard <mjw@redhat.com>
2003 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
2004 * gdb.base/disp-step-fork.c: Include unistd.h.
2005 * gdb.base/siginfo-obj.c: Include stdio.h.
2006 * gdb.base/siginfo-thread.c: Likewise.
2007 * gdb.mi/non-stop.c: Include unistd.h.
2008 * gdb.mi/nsthrexec.c: Include stdio.h.
2009 * gdb.mi/pthreads.c: Include unistd.h.
2010 * gdb.modula2/unbounded1.c (main): Declare returns int.
2011 * gdb.reverse/consecutive-reverse.c: Likewise.
2012 * gdb.threads/create-fail.c: Include unistd.h.
2013 * gdb.threads/killed.c: Likewise.
2014 * gdb.threads/linux-dp.c: Likewise.
2015 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
2016 * gdb.threads/non-ldr-exc-2.c: Likewise.
2017 * gdb.threads/non-ldr-exc-3.c: Likewise.
2018 * gdb.threads/non-ldr-exc-4.c: Likewise.
2019 * gdb.threads/pthreads.c: Include unistd.h.
2020 (main): Declare returns int.
2021 * gdb.threads/tls-main.c (foo): New declaration.
2022 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
2024 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
2026 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
2027 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
2029 2015-01-15 Mark Wielaard <mjw@redhat.com>
2031 * gdb.base/noreturn-return.c: New file.
2032 * gdb.base/noreturn-return.exp: New file.
2033 * gdb.base/noreturn-finish.c: New file.
2034 * gdb.base/noreturn-finish.exp: New file.
2036 2015-01-23 Pedro Alves <palves@redhat.com>
2038 * gdb.threads/continue-pending-after-query.c: New file.
2039 * gdb.threads/continue-pending-after-query.exp: New file.
2041 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
2042 Simon Marchi <simon.marchi@ericsson.com>
2044 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
2045 * gdb.base/valgrind-db-attach.exp: Same.
2046 * gdb.base/valgrind-infcall.exp: Same.
2047 * lib/mi-support.exp (default_mi_gdb_start): Same.
2048 * lib/prompt.exp (default_prompt_gdb_start): Same.
2049 * lib/gdb.exp (default_gdb_spawn): Same.
2050 (gdb_interact): New.
2053 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2055 * gdb.compile/compile.exp (pointer to jit function): New test.
2057 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
2059 * lib/gdb.exp (supports_process_record): Return true for
2061 (supports_reverse): Likewise.
2063 2015-01-15 Don Breazeal <donb@codesourcery.com>
2065 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
2066 instead of checking whether the target board is remote and
2067 use spawn_wait_for_attach instead of exec/sleep.
2068 * gdb.base/attach-twice.exp: Likewise.
2070 2015-01-15 Joel Brobecker <brobecker@adacore.com>
2072 * gdb.ada/var_arr_attrs: New testcase.
2074 2015-01-14 Pedro Alves <palves@redhat.com>
2075 Joel Brobecker <brobecker@adacore.com>
2078 * gdb.base/bp-cmds-execution-x-script.c: New file.
2079 * gdb.base/bp-cmds-execution-x-script.exp: New file.
2080 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
2082 2015-01-14 Pedro Alves <palves@redhat.com>
2085 * gdb.base/batch-preserve-term-settings.c: New file.
2086 * gdb.base/batch-preserve-term-settings.exp: New file.
2088 2015-01-13 Doug Evans <dje@google.com>
2090 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
2093 2015-01-13 Joel Brobecker <brobecker@adacore.com>
2095 * Makefile.in (clean mostlyclean): Do not delete *.py.
2097 2015-01-13 Joel Brobecker <brobecker@adacore.com>
2099 * gdb.python/py-lookup-type.exp: New file.
2101 2015-01-12 Pedro Alves <palves@redhat.com>
2103 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
2104 restore GDBFLAGS before returning.
2106 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2108 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
2109 is_amd64_regs_target and is_x86_like_target.
2111 2015-01-11 Doug Evans <xdje42@gmail.com>
2113 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
2114 is given without an explicit form.
2115 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
2117 * gdb.dwarf/corrupt.exp: Ditto.
2118 * gdb.dwarf2/enum-type.exp: Ditto.
2119 * gdb.trace/entry-values.exp: Ditto.
2120 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
2122 2015-01-11 Doug Evans <xdje42@gmail.com>
2125 * gdb.base/maint.exp: Remove references to "maint demangle".
2126 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
2127 Add tests for explicitly specifying language to demangle.
2128 * gdb.dlang/demangle.exp: Ditto.
2130 2015-01-09 Pedro Alves <palves@redhat.com>
2132 * gdb.threads/non-stop-fair-events.c: New file.
2133 * gdb.threads/non-stop-fair-events.exp: New file.
2135 2015-01-09 Pedro Alves <palves@redhat.com>
2137 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
2138 the global scope. Set a breakpoint after all threads are started
2139 rather than stepping over two source lines. Expect the prompt.
2140 * gdb.base/watch_thread_num.c (threads_started_barrier): New
2143 (main): Use threads_started_barrier to wait for all threads to
2144 start. Main thread no longer calls thread_function. Exit after
2146 (loop): New function.
2147 (thread_function): Wait on threads_started_barrier barrier. Call
2148 'loop' at each iteration.
2149 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
2150 threads have started, instead of hardcoding number of "next"
2151 steps. Use an access watchpoint instead of a write watchpoint.
2153 2015-01-09 Pedro Alves <palves@redhat.com>
2155 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
2156 (thread_func): Wait on barrier.
2157 (main): Wait for all threads to start before stopping GDB.
2158 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
2160 (thread1_func, thread2_func): Wait on barrier.
2161 (main): Wait for all threads to start before stopping GDB.
2162 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
2164 (thread1_func, thread2_func): Wait on barrier.
2165 (main): Wait for all threads to start before stopping GDB.
2167 2015-01-09 Pedro Alves <palves@redhat.com>
2169 * gdb.threads/attach-many-short-lived-threads.c: New file.
2170 * gdb.threads/attach-many-short-lived-threads.exp: New file.
2172 2014-01-09 Pedro Alves <palves@redhat.com>
2174 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
2175 instead of to thread 2.
2176 * gdb.threads/signal-command-multiple-signals-pending.c (main):
2177 Add barrier around each pthread_create call instead of around all
2179 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
2180 Set a break on thread_function and have the child threads hit it
2183 2015-01-09 Pedro Alves <palves@redhat.com>
2185 * lib/gdb.exp (can_spawn_for_attach): New procedure.
2186 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
2188 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
2189 checking whether the target board is remote.
2190 * gdb.multi/multi-attach.exp: Likewise.
2191 * gdb.python/py-sync-interp.exp: Likewise.
2192 * gdb.server/ext-attach.exp: Likewise.
2193 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
2194 tests that need to attach, instead of checking whether the target
2195 board is remote at the top of the file.
2197 2015-01-08 Yao Qi <yao@codesourcery.com>
2199 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
2201 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2203 Fix testcase compilation.
2204 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
2206 2015-01-06 Joel Brobecker <brobecker@adacore.com>
2208 * gdb.python/py-type.exp: Add a couple test about empty
2209 array creation, and negative-length array creation.
2211 2015-01-02 Doug Evans <xdje42@gmail.com>
2213 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
2215 2015-01-02 Doug Evans <dje@google.com>
2217 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
2219 2014-12-29 Yao Qi <yao@codesourcery.com>
2221 * gdb.trace/entry-values.exp: Update comments. Rename variable
2222 bar_call_foo to returned_from_foo.
2224 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
2227 * gdb.linespec/break-asm-file.c: New file.
2228 * gdb.linespec/break-asm-file.exp: New file.
2229 * gdb.linespec/break-asm-file0.s: New file.
2230 * gdb.linespec/break-asm-file1.s: New file.
2232 2014-12-18 Nigel Stephens <nigel@mips.com>
2233 Maciej W. Rozycki <macro@codesourcery.com>
2235 * gdb.base/float.exp: Handle the new output from "info float" on
2238 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2240 Fix MinGW compilation.
2241 * gdb.compile/compile-ops.exp: Update untested message if
2242 !skip_compile_feature_tests.
2243 * gdb.compile/compile-setjmp.exp: Likewise.
2244 * gdb.compile/compile-tls.exp: Likewise.
2245 * gdb.compile/compile.exp: Likewise.
2246 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
2247 supported on this host".
2249 2014-12-16 Doug Evans <xdje42@gmail.com>
2251 * boards/stabs.exp: New file.
2253 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
2255 * gdb.base/completion.exp: Adjust to format changes of "maint
2256 print user-registers".
2258 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
2261 * gdb.arch/aarch64-fp.c: New file.
2262 * gdb.arch/aarch64-fp.exp: New file.
2264 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
2266 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
2267 r210637, r210913, r211666, r215400, r215817).
2269 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
2270 * dg-extract-results.py: New file.
2271 * dg-extract-results.sh: Use it if the environment seems
2274 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
2276 * dg-extract-results.py (parse_run): Handle warnings that
2277 are printed before a test harness is run.
2279 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
2281 * dg-extract-results.py (Named): Remove __cmp__ method.
2282 (output_variation): Use a key to sort variation.harnesses.
2284 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
2286 * dg-extract-results.py: For Python 3, force sys.stdout to
2287 handle surrogate escape sequences.
2288 (safe_open): New function.
2289 (output_segment, main): Use it.
2291 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
2293 * dg-extract-results.py (Prog.result_re): Include options
2296 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
2298 * dg-extract-results.py (output_variation): Always sort if
2301 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
2303 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
2304 as long as we get pagination notifications.
2306 2014-12-15 Jason Merrill <jason@redhat.com>
2308 * Makefile.in (check-gdb.%): Restore.
2309 * README: Mention it.
2311 2014-12-13 Joel Brobecker <brobecker@adacore.com>
2313 * gdb.ada/str_uninit: New testcase.
2315 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2318 * gdb.base/vla-stub-define.c: New file.
2319 * gdb.base/vla-stub.c: New file.
2320 * gdb.base/vla-stub.exp: New file.
2322 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
2323 Jan Kratochvil <jan.kratochvil@redhat.com>
2324 Tom Tromey <tromey@redhat.com>
2326 * configure.ac: Add gdb.compile/.
2327 * configure: Regenerate.
2328 * gdb.compile/Makefile.in: New file.
2329 * gdb.compile/compile-ops.exp: New file.
2330 * gdb.compile/compile-ops.c: New file.
2331 * gdb.compile/compile-tls.c: New file.
2332 * gdb.compile/compile-tls.exp: New file.
2333 * gdb.compile/compile-constvar.S: New file.
2334 * gdb.compile/compile-constvar.c: New file.
2335 * gdb.compile/compile-mod.c: New file.
2336 * gdb.compile/compile-nodebug.c: New file.
2337 * gdb.compile/compile-setjmp-mod.c: New file.
2338 * gdb.compile/compile-setjmp.c: New file.
2339 * gdb.compile/compile-setjmp.exp: New file.
2340 * gdb.compile/compile-shlib.c: New file.
2341 * gdb.compile/compile.c: New file.
2342 * gdb.compile/compile.exp: New file.
2343 * lib/gdb.exp (skip_compile_feature_tests): New proc.
2345 2014-12-12 Tom Tromey <tromey@redhat.com>
2347 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
2348 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
2350 2014-12-12 Doug Evans <dje@google.com>
2352 * lib/gdb-python.exp (get_python_valueof): New function.
2353 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
2355 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2357 * gdb.base/completion.exp: Add test for completion of "info
2360 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
2362 * gdb.base/func-ptrs.c: New file.
2363 * gdb.base/func-ptrs.exp: New file.
2365 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2367 PR breakpoints/17012
2368 * gdb.base/dprintf-detach.c: New file.
2369 * gdb.base/dprintf-detach.exp: New file.
2371 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2373 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
2374 * lib/gdb.exp (target_is_gdbserver): New procedure.
2376 2014-12-08 Doug Evans <dje@google.com>
2378 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
2380 2014-12-05 Yao Qi <yao@codesourcery.com>
2382 * gdb.guile/scm-error.exp: Remove the third argument to
2383 gdb_remote_download.
2384 * gdb.guile/scm-frame-args.exp: Likewise.
2385 * gdb.guile/scm-section-script.exp: Likewise.
2387 2014-12-05 Yao Qi <yao@codesourcery.com>
2389 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
2391 2014-12-04 Doug Evans <dje@google.com>
2393 * gdb.python/py-objfile.exp: Add tests for
2394 objfile.add_separate_debug_file.
2396 2014-12-04 Doug Evans <dje@google.com>
2398 * lib/gdb.exp (get_build_id): New function.
2399 (build_id_debug_filename_get): Rewrite to use it.
2400 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
2402 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
2404 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
2405 `method(long)', not just 0x0.
2406 * gdb.cp/nsalias.exp: Align code labels to 4.
2407 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
2408 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
2409 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
2410 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
2411 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
2412 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
2414 2014-12-02 Doug Evans <dje@google.com>
2417 * gdb.cp/anon-ns.cc: Move guts of this file to ...
2418 * gdb.cp/anon-ns2.cc: ... here. New file.
2419 * gdb.cp/anon-ns.exp: Update.
2421 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
2423 * gdb.python/py-events.py (inferior_call_handler): New.
2424 (register_changed_handler, memory_changed_handler): New.
2425 (test_events.invoke): Register new handlers.
2426 * gdb.python/py-events.exp: Add tests for inferior call,
2427 memory_changed and register_changed events.
2429 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
2431 * gdb.base/execl-update-breakpoints.exp: Specify the link address
2432 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
2433 if the linker doesn't understand this.
2435 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
2437 * gdb.python/python.exp: Change expected reply to help().
2439 2014-12-01 Yao Qi <yao@codesourcery.com>
2441 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
2442 AC_CONFIG_SUBDIRS(gdb.gdbtk).
2443 * configure: Re-generated.
2445 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
2447 * gdb.cp/chained-calls.cc: New file.
2448 * gdb.cp/chained-calls.exp: New file.
2449 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
2451 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
2453 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
2454 * gdb.dwarf2/symtab-producer.exp: Same.
2455 * gdb.gdb/python-interrupts.exp: Same.
2456 * gdb.gdb/python-selftest.exp: Same.
2457 * gdb.python/py-linetable.exp: Same.
2458 * gdb.python/py-type.exp: Same.
2459 * gdb.python/py-value-cc.exp: Same.
2460 * gdb.python/py-value.exp: Same.
2462 2014-11-28 Yao Qi <yao@codesourcery.com>
2464 * gdb.base/break-probes.exp: Match library name prefixed with
2467 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
2469 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
2470 test expected output. Add parentheses for the call to print.
2471 Remove L suffix from integers.
2473 2014-11-26 Doug Evans <dje@google.com>
2475 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
2477 2014-11-22 Yao Qi <yao@codesourcery.com>
2479 * gdb.trace/entry-values.c: Remove asms.
2480 (foo): Add foo_label.
2481 (bar): Add bar_label.
2482 * gdb.trace/entry-values.exp: Remove code computing foo's
2483 length and bar's length.
2484 (Dwarf::assemble): Invoke function_range for bar and use
2485 MACRO_AT_func for foo.
2487 2014-11-22 Yao Qi <yao@codesourcery.com>
2489 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
2490 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
2491 Use .Lgcc43_procstart instead of gcc43.
2493 2014-11-21 Joel Brobecker <brobecker@adacore.com>
2495 * gdb.ada/n_arr_bound: New testcase.
2497 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
2499 PR breakpoints/10737
2500 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
2501 test_catch_syscall_multi_arch.
2502 (test_catch_syscall_multi_arch): New function.
2504 2014-11-20 Doug Evans <xdje42@gmail.com>
2506 * gdb.base/maint.exp: Update expected output.
2508 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2510 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
2511 4-byte instruction on S390.
2513 2014-11-19 Joel Brobecker <brobecker@adacore.com>
2515 * gdb.ada/arr_arr: New testcase.
2517 2014-11-19 Joel Brobecker <brobecker@adacore.com>
2519 * gdb.ada/pkd_arr_elem: New Testcase.
2521 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
2523 * gdb.reverse/break-precsave: Expect completion message for
2525 * gdb.reverse/consecutive-precsave.exp: Likewise.
2526 * gdb.reverse/finish-precsave.exp: Likewise.
2527 * gdb.reverse/i386-precsave.exp: Likewise.
2528 * gdb.reverse/machinestate-precsave.exp: Likewise.
2529 * gdb.reverse/sigall-precsave.exp: Likewise.
2530 * gdb.reverse/solib-precsave.exp: Likewise.
2531 * gdb.reverse/step-precsave.exp: Likewise.
2532 * gdb.reverse/until-precsave.exp: Likewise.
2533 * gdb.reverse/watch-precsave.exp: Likewise.
2535 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2537 * gdb.base/bp-permanent.c: Include unistd.h.
2538 * gdb.python/py-framefilter-mi.c (main): Add return type.
2539 * gdb.python/py-framefilter.c (main): Likewise.
2540 * gdb.trace/actions-changed.c (main): Likewise.
2542 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2544 * gdb.mi/until.c: Add eye-catchers.
2545 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
2548 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2550 * gdb.base/condbreak.exp: Drop references to removed non-prototype
2551 function header variants in break1.c.
2552 * gdb.base/ena-dis-br.exp: Likewise.
2553 * gdb.base/hbreak2.exp: Likewise.
2554 * gdb.reverse/until-precsave.exp: Drop references to removed
2555 non-prototype function header variants in ur1.c.
2556 * gdb.reverse/until-reverse.exp: Likewise.
2558 2014-11-17 Petr Machata <pmachata@redhat.com>
2560 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
2561 ${_cu_offset_size} bytes abbrev offset.
2563 2014-11-15 Doug Evans <xdje42@gmail.com>
2566 * gdb.base/line-symtabs.exp: New file.
2567 * gdb.base/line-symtabs.c: New file.
2568 * gdb.base/line-symtabs.h: New file.
2570 2014-11-14 Yao Qi <yao@codesourcery.com>
2572 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
2573 (func): Add label func_label.
2574 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
2575 Replace low_pc and high_pc with MACRO_AT_range.
2576 Replace name, low_pc and high_pc with MACRO_AT_func.
2578 2014-11-14 Yao Qi <yao@codesourcery.com>
2580 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
2581 Replace name, low_pc and high_pc with MACRO_AT_func.
2583 2014-11-14 Yao Qi <yao@codesourcery.com>
2585 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
2586 produce debug information.
2587 * gdb.dwarf2/implptr-optimized-out.S: Removed.
2589 2014-11-14 Yao Qi <yao@codesourcery.com>
2591 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
2592 object and get function length.
2593 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
2595 (top-level): Replace gdb_compile and clean_restart with
2596 prepare_for_testing.
2597 * gdb.dwarf2/main.c (main): Add label main_label.
2599 2014-11-14 Yao Qi <yao@codesourcery.com>
2601 * lib/dwarf.exp (function_range): New procedure.
2602 (Dwarf::_handle_macro_at_func): New procedure.
2603 (Dwarf::_handle_macro_at_range): New procedure.
2604 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
2606 2014-11-14 Yao Qi <yao@codesourcery.com>
2608 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
2609 (_handle_attribute): New procedure.
2611 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2613 * gdb.ada/cond_lang/foo.c (callme): Add return type.
2614 * gdb.base/call-sc.c (zed): Likewise.
2615 * gdb.base/checkpoint.c (main): Likewise.
2616 * gdb.base/dump.c (main): Likewise.
2617 * gdb.base/gcore.c (main): Likewise.
2618 * gdb.base/huge.c (main): Likewise.
2619 * gdb.base/multi-forks.c (main): Likewise.
2620 * gdb.base/pr10179-a.c (main): Likewise.
2621 * gdb.base/savedregs.c (main): Likewise.
2622 * gdb.base/sigaltstack.c (main): Likewise.
2623 * gdb.base/siginfo.c (main): Likewise.
2624 * gdb.base/structs.c (zed): Likewise.
2625 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
2626 * gdb.mi/mi-syn-frame.c (main): Likewise.
2627 * gdb.mi/until.c (foo, main): Likewise.
2628 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
2629 * gdb.base/solib-weak.c (foo): Declare.
2630 * gdb.base/attach-twice.c: Include stdio.h.
2631 * gdb.base/weaklib1.c: Likewise.
2632 * gdb.base/weaklib2.c: Likewise.
2633 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
2634 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
2636 * gdb.base/attach-pie-misread.c: Include stdlib.h.
2637 * gdb.mi/mi-exit-code.c: Likewise.
2638 * gdb.base/break-interp-lib.c: Include string.h.
2639 * gdb.base/coremaker.c: Likewise.
2640 * gdb.base/testenv.c: Likewise.
2641 * gdb.python/py-finish-breakpoint.c: Likewise.
2642 * gdb.base/inferior-died.c: Include sys/wait.h.
2643 * gdb.base/fileio.c: Include time.h.
2644 * gdb.base/async-shell.c: Include unistd.h.
2645 * gdb.base/dprintf-non-stop.c: Likewise.
2646 * gdb.base/info-os.c: Likewise.
2647 * gdb.mi/mi-console.c: Likewise.
2648 * gdb.mi/watch-nonstop.c: Likewise.
2649 * gdb.python/py-events.c: Likewise.
2650 * gdb.base/async.c (baz): Move up before its invocation.
2651 * gdb.base/code_elim2.c (my_global_func): Likewise.
2652 * gdb.base/skip-solib-lib.c (multiply): Likewise.
2653 * gdb.base/advance.c (func2): Likewise.
2655 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2657 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
2659 * gdb.base/annota3.c: Likewise.
2660 * gdb.base/async.c: Likewise.
2661 * gdb.base/average.c: Likewise.
2662 * gdb.base/call-ar-st.c: Likewise.
2663 * gdb.base/call-rt-st.c: Likewise.
2664 * gdb.base/call-sc.c: Likewise.
2665 * gdb.base/call-strs.c: Likewise.
2666 * gdb.base/ending-run.c: Likewise.
2667 * gdb.base/execd-prog.c: Likewise.
2668 * gdb.base/exprs.c: Likewise.
2669 * gdb.base/foll-exec.c: Likewise.
2670 * gdb.base/foll-fork.c: Likewise.
2671 * gdb.base/foll-vfork.c: Likewise.
2672 * gdb.base/funcargs.c: Likewise.
2673 * gdb.base/gcore.c: Likewise.
2674 * gdb.base/jump.c: Likewise.
2675 * gdb.base/langs0.c: Likewise.
2676 * gdb.base/langs1.c: Likewise.
2677 * gdb.base/langs2.c: Likewise.
2678 * gdb.base/mips_pro.c: Likewise.
2679 * gdb.base/nodebug.c: Likewise.
2680 * gdb.base/opaque0.c: Likewise.
2681 * gdb.base/opaque1.c: Likewise.
2682 * gdb.base/recurse.c: Likewise.
2683 * gdb.base/run.c: Likewise.
2684 * gdb.base/scope0.c: Likewise.
2685 * gdb.base/scope1.c: Likewise.
2686 * gdb.base/setshow.c: Likewise.
2687 * gdb.base/setvar.c: Likewise.
2688 * gdb.base/shmain.c: Likewise.
2689 * gdb.base/shr1.c: Likewise.
2690 * gdb.base/shr2.c: Likewise.
2691 * gdb.base/sigall.c: Likewise.
2692 * gdb.base/signals.c: Likewise.
2693 * gdb.base/so-indr-cl.c: Likewise.
2694 * gdb.base/solib2.c: Likewise.
2695 * gdb.base/structs.c: Likewise.
2696 * gdb.base/sum.c: Likewise.
2697 * gdb.base/vforked-prog.c: Likewise.
2698 * gdb.base/watchpoint.c: Likewise.
2699 * gdb.reverse/shr2.c: Likewise.
2700 * gdb.reverse/until-reverse.c: Likewise.
2701 * gdb.reverse/ur1.c: Likewise.
2702 * gdb.reverse/watch-reverse.c: Likewise.
2704 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2706 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
2708 * gdb.base/sepdebug.exp: Drop references to removed code.
2710 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2712 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
2713 variant. Preserve original line numbering.
2714 * gdb.base/list1.c: Likewise.
2716 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2718 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
2720 * gdb.base/break1.c: Likewise.
2721 * gdb.base/break.exp: Drop references to removed code.
2723 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2725 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
2728 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2730 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
2732 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2734 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
2735 logic into perform_all_tests() and invoke it with and without
2736 function header prototypes.
2737 (do_function_calls): Remove conditional XFAIL for PR 5318.
2738 (rerun_and_prepare): Remove duplicate code.
2739 (perform_all_tests): New. Main logic moved here.
2741 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2743 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
2744 code guarded by #ifdef NO_PROTOTYPES.
2745 (t_double_many_args): Likewise.
2746 (DEF_FUNC_MANY_ARGS_1): Likewise.
2747 (DEF_FUNC_VALUES_1): Likewise.
2748 (t_structs_ldc): Renamed from t_structs_fc in conditional code
2749 guarded by #ifdef PROTOTYPES.
2751 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2753 * gdb.mi/mi-console.c: Add eye-catcher.
2754 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
2755 instead of literal line number.
2757 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2759 * gdb.base/shr2.c: Add eye-catcher.
2760 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
2763 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2765 * gdb.base/jump.c: Add eye-catchers.
2766 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
2769 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2771 * gdb.base/execd-prog.c: Add eye-catchers.
2772 * gdb.base/foll-exec.c: Likewise.
2773 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
2776 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2778 * gdb.base/ending-run.c: Add eye-catchers.
2779 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
2780 literal line numbers.
2782 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2784 * gdb.base/call-rt-st.c: Add eye-catchers.
2785 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
2786 literal line numbers.
2788 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2790 * gdb.base/call-ar-st.c: Add eye-catchers.
2791 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
2792 literal line numbers.
2794 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2796 * gdb.base/average.c: Add eye-catchers.
2797 * gdb.base/sum.c: Likewise.
2798 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
2799 regexps dynamically.
2801 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2803 * gdb.base/solib1.c: Add eye-catchers.
2804 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
2805 literal line numbers.
2807 2014-11-12 Pedro Alves <palves@redhat.com>
2809 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
2812 2014-11-12 Pedro Alves <palves@redhat.com>
2814 * gdb.arch/i386-bp_permanent.c: New file.
2815 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
2816 (srcfile): Set to i386-bp_permanent.c.
2817 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
2818 that stepi does not execute the 'leave' instruction, instead of
2819 testing it does execute.
2820 * gdb.base/bp-permanent.c: New file.
2821 * gdb.base/bp-permanent.exp: New file.
2823 2014-11-10 Doug Evans <xdje42@gmail.com>
2826 * gdb.base/symtab-search-order.exp: New file.
2827 * gdb.base/symtab-search-order.c: New file.
2828 * gdb.base/symtab-search-order-1.c: New file.
2829 * gdb.base/symtab-search-order-shlib-1.c: New file.
2831 2014-11-07 Pedro Alves <palves@redhat.com>
2834 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
2837 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
2840 * gdb.cp/pr17494.cc: New file.
2841 * gdb.cp/pr17494.exp: New file.
2843 2014-11-02 Yao Qi <yao@codesourcery.com>
2845 * gdb.python/python.exp: Get working directory and match the
2846 output of "set extended-prompt \\w " with it.
2848 2014-10-30 Doug Evans <dje@google.com>
2850 * gdb.python/py-objfile.exp: Add tests for setting random attributes
2852 * gdb.python/py-progspace.exp: Add tests for setting random attributes
2855 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
2857 * gdb.base/fullpath-expand.exp: Skip for a remote host.
2858 * gdb.base/realname-expand.exp: Likewise.
2859 * gdb.linespec/macro-relative.exp: Likewise.
2861 2014-10-29 Pedro Alves <palves@redhat.com>
2864 * gdb.threads/schedlock.c (some_function): New function.
2865 (call_function): New global.
2866 (MAYBE_CALL_SOME_FUNCTION): New macro.
2867 (thread_function): Call it.
2868 * gdb.threads/schedlock.exp (get_args): Add description parameter,
2869 and use it instead of a global counter. Adjust all callers.
2870 (get_current_thread): Use "find current thread" for test message
2871 here rather than having all callers pass down the same string.
2872 (goto_loop): New procedure, factored out from ...
2873 (my_continue): ... this.
2874 (step_ten_loops): Change parameter from test message to command to
2876 (list_count): Delete global.
2877 (check_result): New procedure, factored out from duplicate top
2879 (continue tests): Wrap in with_test_prefix.
2880 (test_step): New procedure, factored out from duplicate top level
2882 (top level): Test "step" in combination with all scheduler-locking
2883 modes. Test "next" in combination with all scheduler-locking
2884 modes, and in combination with stepping over a function call or
2886 * gdb.threads/next-bp-other-thread.c: New file.
2887 * gdb.threads/next-bp-other-thread.exp: New file.
2889 2014-10-29 Pedro Alves <palves@redhat.com>
2892 * gdb.python/python.exp: Test a multi-line command that spawns
2894 * gdb.base/multi-line-starts-subshell.exp: New file.
2896 2014-10-29 Yao Qi <yao@codesourcery.com>
2898 * gdb.base/fileio.exp: Make directories on host.
2900 2014-10-29 Yao Qi <yao@codesourcery.com>
2902 * gdb.base/fileio.c (test_write): Close the file.
2904 2014-10-28 Pedro Alves <palves@redhat.com>
2907 * gdb.base/sigstep.c (no_handler): New global.
2908 (main): If 'no_handler is true, set the signal handlers to
2910 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
2911 with_sw_watch and no_handler parameters. Handle them.
2912 (top level) <stepping over handler when stopped at a breakpoint
2913 test>: Add a test axis for testing with a software watchpoint, and
2914 another for testing with the signal handler set to SIG_IGN.
2915 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
2916 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
2918 2014-10-28 Pedro Alves <palves@redhat.com>
2921 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
2922 * gdb.base/sigstep.exp (other_handler_location): New global.
2923 (advance): Support stepping into the signal handler, and running
2924 commands while in the handler.
2925 (in_handler_map): New global.
2926 (top level): In the advance test, add combinations for getting
2927 into the handler with stepping commands, and for running commands
2928 in the handler. Add comment descripting the advancei tests.
2930 2014-10-28 Pedro Alves <palves@redhat.com>
2932 * gdb.base/sigstep.exp: Use build_executable instead of
2933 prepare_for_testing.
2934 (top level): Move code that starts GDB, runs to main and creates a
2936 (restart): ... this new procedure.
2937 (top level): Move backtrace from signal handler test to ...
2938 (validate_backtrace): ... this new procedure.
2939 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
2940 with_test_prefix. Always restart GDB.
2941 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
2942 with_test_prefix. Always restart GDB. No need to delete
2943 breakpoints after the test.
2944 (test_skip_handler): Remove prefix parameter.
2945 (skip_over_handler, breakpoint_to_handler)
2946 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
2947 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
2948 restart GDB. No need to delete breakpoints after the test.
2949 (top level): Use foreach to call the test procedures with
2952 2014-10-28 Pedro Alves <palves@redhat.com>
2954 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
2955 instead of GNATS numbers.
2956 * gdb.base/sigbpt.exp: Likewise.
2957 * gdb.base/siginfo.exp: Likewise.
2958 * gdb.base/sigstep.exp: Likewise.
2960 2014-10-27 Pedro Alves <palves@redhat.com>
2962 * gdb.base/sigstep.c (dummy): New global.
2963 (main): Issue a couple writes to the new global.
2964 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
2966 (skip_over_handler): Use test_skip_handler.
2967 (top level): Call skip_over_handler for stepi and nexti too.
2968 (breakpoint_over_handler): Use test_skip_handler.
2969 (top level): Call breakpoint_over_handler for stepi and nexti too.
2971 2014-10-27 Yao Qi <yao@codesourcery.com>
2973 * gdb.trace/tfile.c (adjust_function_address)
2974 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
2975 function descriptor.
2977 2014-10-24 Don Breazeal <donb@codesourcery.com>
2979 * gdb.base/foll-fork.exp (test_follow_fork,
2980 catch_fork_child_follow): Check for updated fork messages emitted
2982 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
2983 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
2984 vfork_and_exec_child_follow_through_step): Check for updated vfork
2985 messages emitted from infrun.c.
2987 2014-10-24 Pedro Alves <palves@redhat.com>
2989 * gdb.base/corefile.exp: Remove references to ultrix.
2990 * gdb.base/interrupt.exp: Likewise.
2991 * gdb.base/whatis.exp: Likewise.
2992 * gdb.gdb/selftest.exp: Likewise.
2993 * gdb.threads/manythreads.exp: Likewise.
2994 * gdb.threads/print-threads.exp: Likewise.
2995 * gdb.threads/pthreads.exp:: Likewise.
2996 * gdb.threads/schedlock.exp: Likewise.
2998 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
3000 * gdb.cp/non-trivial-retval.cc: Add a test case.
3001 * gdb.cp/non-trivial-retval.exp: Add a test.
3003 2014-10-20 Yao Qi <yao@codesourcery.com>
3005 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
3006 * gdb.python/py-objfile-script-gdb.py: New file.
3007 * gdb.python/py-objfile-script.exp: Update reference to
3008 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
3009 of remote_download. Remove the dest file.
3011 2014-10-20 Yao Qi <yao@codesourcery.com>
3013 * gdb.base/checkpoint.exp: Don't remove file copied on host.
3014 * gdb.base/step-line.exp: Likewise.
3015 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3016 * gdb.dwarf2/dw2-basic.exp: Likewise.
3017 * gdb.dwarf2/dw2-compressed.exp: Likewise.
3018 * gdb.dwarf2/dw2-filename.exp: Likewise.
3019 * gdb.dwarf2/dw2-intercu.exp: Likewise.
3020 * gdb.dwarf2/dw2-intermix.exp: Likewise.
3021 * gdb.dwarf2/dw2-producer.exp: Likewise.
3022 * gdb.dwarf2/mac-fileno.exp: Likewise.
3023 * gdb.python/py-frame-args.exp: Likewise.
3024 * gdb.python/py-framefilter.exp: Likewise.
3025 * gdb.python/py-mi.exp: Likewise.
3026 * gdb.python/py-objfile-script.exp: Likewise
3027 * gdb.python/py-pp-integral.exp: Likewise.
3028 * gdb.python/py-pp-re-notag.exp: Likewise.
3029 * gdb.python/py-prettyprint.exp: Likewise.
3030 * gdb.python/py-section-script.exp: Likewise.
3031 * gdb.python/py-typeprint.exp: Likewise.
3032 * gdb.python/py-xmethods.exp: Likewise.
3033 * gdb.stabs/weird.exp: Likewise.
3034 * gdb.xml/tdesc-regs.exp: Likewise.
3036 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
3038 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
3039 (out_cu): Use addr_len for the size of addresses.
3040 (out_line): Likewise. Size DW_LNE_set_address instruction
3041 according to addr_len.
3042 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
3043 (FUNC): Add START_INSNS to definition.
3045 2014-10-18 Yao Qi <yao@codesourcery.com>
3047 * gdb.base/argv0-symlink.exp: Check argv[0] value if
3048 gdb_has_argv0 return true.
3049 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
3050 check [target_info exists noargs], check [gdb_has_argv0]
3052 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3053 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
3056 2014-10-17 Doug Evans <dje@google.com>
3058 * gdb.python/py-events.exp: Update expected output for clear_objfiles
3060 * gdb.python/py-events.py: Add clear_objfiles event.
3062 2014-10-17 Doug Evans <dje@google.com>
3064 * gdb.python/py-objfile.exp: Test progspace attribute.
3066 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
3068 * gdb.guile/scm-breakpoint.exp: Do not assume any
3069 directory separators when matching source file paths.
3070 * gdb.python/py-breakpoint.exp: Likewise.
3071 * gdb.reverse/break-precsave.exp: Likewise.
3072 * gdb.reverse/break-reverse.exp: Likewise.
3073 * gdb.reverse/consecutive-precsave.exp: Likewise.
3074 * gdb.reverse/finish-precsave.exp: Likewise.
3075 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
3076 * gdb.reverse/finish-reverse.exp: Likewise.
3077 * gdb.reverse/i386-precsave.exp: Likewise.
3078 * gdb.reverse/i387-env-reverse.exp: Likewise.
3079 * gdb.reverse/i387-stack-reverse.exp: Likewise.
3080 * gdb.reverse/machinestate-precsave.exp: Likewise.
3081 * gdb.reverse/machinestate.exp: Likewise.
3082 * gdb.reverse/sigall-precsave.exp: Likewise.
3083 * gdb.reverse/solib-precsave.exp: Likewise.
3084 * gdb.reverse/step-precsave.exp: Likewise.
3085 * gdb.reverse/until-precsave.exp: Likewise.
3086 * gdb.reverse/watch-precsave.exp: Likewise.
3087 * gdb.reverse/watch-reverse.exp: Likewise.
3089 2014-10-17 Yao Qi <yao@codesourcery.com>
3091 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
3092 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
3094 2014-10-17 Pedro Alves <palves@redhat.com>
3097 * gdb.base/bg-execution-repeat.c: New file.
3098 * gdb.base/bg-execution-repeat.exp: New file.
3100 2014-10-17 Pedro Alves <palves@redhat.com>
3103 * gdb.base/continue-all-already-running.c: New file.
3104 * gdb.base/continue-all-already-running.exp: New file.
3106 2014-10-17 Pedro Alves <palves@redhat.com>
3109 * gdb.base/annota-input-while-running.c: New file.
3110 * gdb.base/annota-input-while-running.exp: New file.
3112 2014-10-17 Pedro Alves <palves@redhat.com>
3114 * gdb.base/callfuncs.exp: emove references to osf.
3115 * gdb.base/sigall.exp: Likewise.
3116 * gdb.gdb/selftest.exp: Likewise.
3117 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
3118 * gdb.mi/non-stop.c: Likewise.
3119 * gdb.mi/pthreads.c: Likewise.
3120 * gdb.reverse/sigall-precsave.exp: Likewise.
3121 * gdb.reverse/sigall-reverse.exp: Likewise.
3122 * gdb.threads/pthreads.c: Likewise.
3123 * gdb.threads/pthreads.exp: Likewise.
3125 2014-10-17 Yao Qi <yao@codesourcery.com>
3127 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
3128 check 'target_info exists noargs'.
3129 (test_command_prompt_position): Likewise.
3130 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
3132 (progvar_simple_while_test): Likewise.
3133 (progvar_complex_if_while_test): Likewise.
3134 (if_while_breakpoint_command_test): Likewise.
3135 (infrun_breakpoint_command_test): Likewise.
3136 (breakpoint_command_test): Likewise.
3137 (watchpoint_command_test): Likewise.
3138 (bp_deleted_in_command_test): Likewise.
3139 (temporary_breakpoint_commands): Likewise.
3141 2014-10-16 Yao Qi <yao@codesourcery.com>
3143 * gdb.base/remotetimeout.exp: Remove noargs checking.
3145 2014-10-15 Pedro Alves <palves@redhat.com>
3148 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
3149 * gdb.base/breakpoint-in-ro-region.exp
3150 (probe_target_hardware_step): New procedure.
3151 (top level): Probe hardware stepping and hardware breakpoint
3152 support. Test stepping through a read-only region, with both
3153 "breakpoint auto-hw" on and off and both "always-inserted" on and
3156 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
3158 * gdb.dlang/demangle.exp: Update for demangling changes.
3160 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3162 * gdb.cp/non-trivial-retval.cc: Add new test cases.
3163 * gdb.cp/non-trivial-retval.exp: Add new tests.
3165 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3169 * gdb.cp/non-trivial-retval.cc: New file.
3170 * gdb.cp/non-trivial-retval.exp: New file.
3172 2014-10-15 Yao Qi <yao@codesourcery.com>
3174 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
3177 2014-10-15 Yao Qi <yao@codesourcery.com>
3179 * gdb.python/py-symbol.exp: Match file base name if host is
3180 remote, otherwise match file name with dir name.
3181 * gdb.python/py-symtab.exp: Likewise.
3182 * gdb.python/python.exp: Likewise.
3184 2014-10-15 Yao Qi <yao@codesourcery.com>
3186 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
3188 * gdb.python/py-symtab.exp: Likewise.
3189 * gdb.python/python.exp: Remove trailing ".*". Fix typo
3192 2014-10-14 Joel Brobecker <brobecker@adacore.com>
3194 * gdb.ada/addr_arith: New testcase.
3196 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
3198 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
3199 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
3200 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
3201 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
3203 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
3205 * gdb.arch/stap-eval-lang-ada.S: Likewise.
3206 * gdb.arch/stap-eval-lang-ada.c: Likewise.
3207 * gdb.arch/stap-eval-lang-ada.exp: New file.
3209 2014-10-14 Yao Qi <yao@codesourcery.com>
3211 * gdb.mi/mi-var-child.c (nothing1): New function.
3212 (nothing2): New function.
3213 (do_children_tests): Set function pointers by nothing1 and
3215 * gdb.mi/mi-var-child.exp: Step over new added statements.
3216 Update test to match the new output.
3217 * gdb.mi/var-cmd.c (nothing1): New function.
3218 (nothing2): New function.
3219 (do_children_tests): Set function pointers by nothing1 and
3221 * gdb.mi/mi-var-display.exp: Update test to match output.
3222 Step to the line specified by $line_dct_nothing.
3223 Increase the number of lines to step.
3225 2014-10-14 Yao Qi <yao@codesourcery.com>
3227 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
3229 * gdb.mi/mi2-var-child.exp: Likewise.
3231 2014-10-13 Doug Evans <dje@google.com>
3233 * gdb.python/py-objfile.exp: Change name of file name test.
3235 2014-10-13 Doug Evans <dje@google.com>
3237 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
3238 from the start of the CU.
3240 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3241 Yao Qi <yao@codesourcery.com>
3243 Fix "save breakpoints" for "catch" command.
3244 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
3245 Remove -nonewline. Match also the added "main" line.
3247 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3249 Fix "save breakpoints" for "disable $bpnum" command.
3250 * gdb.base/save-bp.c (main): Add label.
3251 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
3253 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3255 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
3257 2014-10-11 Yao Qi <yao@codesourcery.com>
3259 * gdb.server/server-kill.exp: Execute command
3260 "set remote trace-status-packet on" before "tstatus".
3262 2014-10-11 Yao Qi <yao@codesourcery.com>
3264 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
3265 (main): Call getppid.
3266 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
3267 and continue to it. Read variable "server_pid".
3269 2014-10-11 Yao Qi <yao@codesourcery.com>
3271 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
3273 2014-10-11 Yao Qi <yao@codesourcery.com>
3275 * gdb.threads/thread-find.exp: Don't execute command
3277 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
3278 * gdb.threads/linux-dp.exp: Don't check the condition
3279 $threads_created equals to zero.
3281 2014-10-10 Pedro Alves <palves@redhat.com>
3283 * gdb.base/bigcore.exp: Remove references to IRIX.
3284 * gdb.base/funcargs.exp: Likewise.
3285 * gdb.base/interrupt.exp: Likewise.
3286 * gdb.base/mips_pro.exp: Likewise.
3287 * gdb.base/nodebug.exp: Likewise.
3288 * gdb.base/setvar.exp: Likewise.
3289 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
3291 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3292 Pedro Alves <palves@redhat.com>
3295 * gdb.base/vdso-warning.c: New file.
3296 * gdb.base/vdso-warning.exp: New file.
3298 2014-10-02 Doug Evans <dje@google.com>
3300 * gdb.base/structs.c (main): Don't run forever.
3302 2014-10-02 Pedro Alves <palves@redhat.com>
3304 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
3305 (top level) <stop threads 1, stop threads 2>: Use it.
3307 2014-10-02 Pedro Alves <palves@redhat.com>
3309 * gdb.threads/break-while-running.exp (test): Add new
3310 'update_thread_list' argument. Skip "info threads" if false.
3311 (top level): Add new 'update_thread_list' axis.
3313 2014-10-02 Pedro Alves <palves@redhat.com>
3315 PR breakpoints/17431
3316 * gdb.base/execl-update-breakpoints.c: New file.
3317 * gdb.base/execl-update-breakpoints.exp: New file.
3319 2014-10-01 Pedro Alves <palves@redhat.com>
3321 * gdb.base/breakpoint-in-ro-region.c: New file.
3322 * gdb.base/breakpoint-in-ro-region.exp: New file.
3324 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
3326 * gdb.mi/mi-exit-code.exp: New file.
3327 * gdb.mi/mi-exit-code.c: New file.
3329 2014-09-30 Yao Qi <yao@codesourcery.com>
3331 * lib/prelink-support.exp (build_executable_own_libs): Error if
3332 the target isn't native.
3334 2014-09-30 Yao Qi <yao@codesourcery.com>
3336 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
3339 2014-09-22 Pedro Alves <palves@redhat.com>
3341 * gdb.threads/break-while-running.exp: New file.
3342 * gdb.threads/break-while-running.c: New file.
3344 2014-09-19 Yao Qi <yao@codesourcery.com>
3346 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
3347 Invoke test. Restart GDB with --readnow and invoke test again.
3349 2014-09-19 Yao Qi <yao@codesourcery.com>
3351 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
3352 proc set_breakpoint_on_gcd_function. Invoke
3353 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
3354 invoke set_breakpoint_on_gcd_function again.
3356 2014-09-18 Doug Evans <dje@google.com>
3358 * gdb.dwarf2/symtab-producer.exp: New file.
3360 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3362 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
3363 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
3364 * gdb.base/global-var-nested-by-dso.c: Likewise.
3365 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3367 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3368 Pedro Alves <palves@redhat.com>
3370 * gdb.base/watch-bitfields.exp: Pass string other than test file
3371 name to prepare_for_testing.
3372 (watch): New procedure.
3373 (expect_watchpoint): Use with_test_prefix.
3374 (top level): Factor out tests to ...
3375 (test_watch_location, test_regular_watch): ... these new
3376 procedures, and use with_test_prefix and gdb_continue_to_end.
3378 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
3380 PR breakpoints/12526
3381 * gdb.base/watch-bitfields.exp: New file.
3382 * gdb.base/watch-bitfields.c: New file.
3384 2014-09-16 Pedro Alves <palves@redhat.com>
3386 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
3387 software and hardware addresses, not software address against
3390 2014-09-16 Pedro Alves <palves@redhat.com>
3392 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
3393 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
3395 2014-09-16 Pedro Alves <palves@redhat.com>
3397 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
3399 * gdb.base/a2-run.exp: Remove all code guarded by istarget
3400 "*-*-vxworks*" throughout.
3401 * gdb.base/break.exp: Likewise.
3402 * gdb.base/default.exp: Likewise.
3403 * gdb.base/scope.exp: Likewise.
3404 * gdb.base/sepdebug.exp: Likewise.
3405 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
3407 * gdb.base/run.c: Likewise.
3408 * gdb.base/sepdebug.c: Likewise.
3409 * gdb.hp/gdb.aCC/run.c: Likewise.
3410 * gdb.reverse/until-reverse.c: Likewise.
3411 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
3413 2014-09-16 Yao Qi <yao@codesourcery.com>
3415 * boards/local-remote-host-native.exp: New file.
3417 2014-09-14 Doug Evans <xdje42@gmail.com>
3419 * gdb.threads/queue-signal.c (thread_count): New variable.
3420 (thread_count_mutex, thread_count_condvar): New variables.
3421 (incr_thread_count, wait_all_threads_running): New functions.
3422 (main): Wait for all threads to be in their thread functions.
3424 2014-09-13 Doug Evans <xdje42@gmail.com>
3426 * gdb.threads/queue-signal.c: New file.
3427 * gdb.threads/queue-signal.exp: New file.
3429 2014-09-13 Doug Evans <xdje42@gmail.com>
3431 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
3432 be consistent with what default_gdb_init uses.
3433 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
3434 the plain text of the prompt. Add some logging printfs.
3435 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
3437 2014-09-12 Pedro Alves <palves@redhat.com>
3439 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
3440 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
3441 * gdb.arch/i386-size-overlap.exp: Likewise.
3442 * gdb.arch/i386-size.exp: Likewise.
3443 * gdb.arch/i386-unwind.exp: Likewise.
3444 * gdb.base/a2-run.exp: Likewise.
3445 * gdb.base/break.exp: Likewise.
3446 * gdb.base/charset.exp: Likewise.
3447 * gdb.base/chng-syms.exp: Likewise.
3448 * gdb.base/commands.exp: Likewise.
3449 * gdb.base/dbx.exp: Likewise.
3450 * gdb.base/find.exp: Likewise.
3451 * gdb.base/funcargs.exp: Likewise.
3452 * gdb.base/jit-simple.exp: Likewise.
3453 * gdb.base/reread.exp: Likewise.
3454 * gdb.base/sepdebug.exp: Likewise.
3455 * gdb.base/step-bt.exp: Likewise.
3456 * gdb.cp/mb-inline.exp: Likewise.
3457 * gdb.cp/mb-templates.exp: Likewise.
3458 * gdb.objc/basicclass.exp: Likewise.
3459 * gdb.threads/killed.exp: Likewise.
3461 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3464 * gdb.arch/powerpc-stackless.S: New file.
3465 * gdb.arch/powerpc-stackless.exp: New file.
3467 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3469 * gdb.base/attach.c: Include unistd.h.
3470 (main): Call alarm. Add label postloop.
3471 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
3472 gdb_breakpoint, gdb_continue_to_breakpoint.
3473 (test_command_line_attach_run): Kill ${testpid} in one exit path.
3475 2014-09-11 Pedro Alves <palves@redhat.com>
3478 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
3479 * gdb.base/attach.exp (test_command_line_attach_run): New
3481 (top level): Call it.
3483 2014-09-11 Pedro Alves <palves@redhat.com>
3485 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
3486 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
3487 (do_command_attach_tests): Use spawn_wait_for_attach.
3488 * gdb.base/solib-overlap.exp: Likewise.
3489 * gdb.multi/multi-attach.exp: Likewise.
3490 * gdb.python/py-prompt.exp: Likewise.
3491 * gdb.python/py-sync-interp.exp: Likewise.
3492 * gdb.server/ext-attach.exp: Likewise.
3494 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
3496 * gdb.fortran/array-element.exp: Remove unexpected "continue"
3497 command in testcase. Simplify testcase.
3499 2014-09-10 Joel Brobecker <brobecker@adacore.com>
3501 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
3503 2014-09-10 Joel Brobecker <brobecker@adacore.com>
3505 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
3507 2014-09-10 Joel Brobecker <brobecker@adacore.com>
3509 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
3511 2014-09-10 Joel Brobecker <brobecker@adacore.com>
3513 * gdb.dwarf2/dynarr-ptr.c: New file.
3514 * gdb.dwarf2/dynarr-ptr.exp: New file.
3516 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3518 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
3519 of 30 rather than hardcoding 120 for a slow test case. Take the
3520 `gdb,timeout' target setting into account for this calculation.
3521 Don't extend the timeout for the test cases that don't need it.
3523 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3525 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
3526 a factor of 2 for a slow test case. Take the `gdb,timeout'
3527 target setting into account for this calculation.
3528 * gdb.reverse/until-precsave.exp: Increase the timeout by
3529 a factor of 15 and 3 respectively rather than adding 120
3530 for a pair of slow test cases. Take the `gdb,timeout'
3531 target setting into account for this calculation.
3533 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3535 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
3536 timeout, don't pass one down to gdb_expect.
3537 (gdb_expect): Rework timeout selection.
3539 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3541 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
3542 exception on timeout.
3543 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
3544 (gdbserver_start_extended): Catch any `gdbserver_start' error
3546 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
3547 * lib/mi-support.exp (mi_gdb_target_load): Catch any
3548 `gdbserver_gdb_load' error exceptions.
3550 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3552 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
3553 120 on waiting for the TCP socket to open.
3555 2014-09-09 Doug Evans <xdje42@gmail.com>
3557 * gdb.base/default.exp (show_conv_list): Add _caller_is,
3558 _caller_matches, _any_caller_is, _any_caller_matches.
3560 2014-09-09 Doug Evans <xdje42@gmail.com>
3562 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
3564 2014-09-09 Yao Qi <yao@codesourcery.com>
3566 * gdb.mi/mi-var-display.exp: Set print symbol off.
3568 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
3571 * gdb.base/commands.exp: Add tests to verify user-defined
3572 commands with empty bodies.
3573 * gdb.python/py-cmd.exp: Test that we don't show user-defined
3574 python commands in `show user command`.
3575 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
3576 scheme commands in `show user command`.
3578 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3581 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
3582 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
3583 * gdb.python/py-framefilter-invalidarg.exp: New file.
3584 * gdb.python/py-framefilter-invalidarg.py: New file.
3586 2014-09-06 Doug Evans <xdje42@gmail.com>
3589 * gdb.python/py-caller-is.c: New file.
3590 * gdb.python/py-caller-is.exp: New file.
3592 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
3595 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
3596 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
3598 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
3601 * gdb.fortran/print-formatted.exp: New file.
3602 * gdb.fortran/print-formatted.f90: Likewise.
3604 2014-09-03 Sasha Smundak <asmundak@google.com>
3606 * gdb.python/py-frame.exp: Test Frame.read_register.
3608 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
3611 * gdb.python/py-completion.exp: New file.
3612 * gdb.python/py-completion.py: Likewise.
3614 2014-08-28 Doug Evans <dje@google.com>
3616 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
3617 eax,etc. are live with values set by gdb and thus the compiler can't
3619 * gdb.arch/i386-pseudo.c (main): Ditto.
3621 2014-08-27 Doug Evans <dje@google.com>
3623 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
3625 2014-08-25 Doug Evans <dje@google.com>
3627 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
3630 2014-08-25 Doug Evans <dje@google.com>
3632 * gdb.threads/thread-execl.exp: #include <stdio.h>.
3634 2014-08-24 Yao Qi <yao@codesourcery.com>
3636 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
3638 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
3640 2014-08-22 Doug Evans <dje@google.com>
3643 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
3644 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
3645 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
3647 2014-08-22 Yao Qi <yao@codesourcery.com>
3649 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
3650 * gdb.python/py-finish-breakpoint2.exp: Likewise.
3651 * gdb.python/python.exp: Likewise. Use .py file on the host
3652 instead of the build.
3654 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3656 * gdb.threads/gcore-stale-thread.c: New file.
3657 * gdb.threads/gcore-stale-thread.exp: New file.
3659 2014-08-21 Pedro Alves <palves@redhat.com>
3661 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
3662 * gdb.base/gcore-relro-pie.exp: Likewise.
3663 * gdb.base/gcore-relro.exp: Likewise.
3664 * gdb.base/gcore.exp: Likewise.
3665 * gdb.base/print-symbol-loading.exp: Likewise.
3666 * gdb.threads/gcore-thread.exp: Likewise.
3667 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
3669 2014-08-20 Pedro Alves <palves@redhat.com>
3670 Jan Kratochvil <jan.kratochvil@redhat.com>
3672 * Makefile.in (EXTRA_RULES, CC): New variables, get from
3674 (EXPECT): Handle READ1 being set.
3675 (all): Depend on EXTRA_RULES.
3676 (check-read1, expect-read1, read1.so, read1): New rules.
3677 * README (Testsuite Parameters): Document the READ1 make variable.
3678 (Race detection): New section.
3679 * configure: Regenerate.
3680 * configure.ac: If build==host==target, and running under a
3681 GNU/glibc system, add read1 to the extra Makefile rules.
3682 (EXTRA_RULES): AC_SUBST it.
3683 * lib/read1.c: New file.
3685 2014-08-20 Joel Brobecker <brobecker@adacore.com>
3687 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
3688 the handling of variables declared as a typedef to an array
3689 which a DW_AT_data_location attribute.
3691 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
3692 Pedro Alves <palves@redhat.com>
3696 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
3699 2014-08-19 Pedro Alves <palves@redhat.com>
3701 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
3703 2014-08-19 Yao Qi <yao@codesourcery.com>
3705 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
3708 2014-08-18 David Blaikie <dblaikie@gmail.com>
3710 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
3712 2014-08-18 Joel Brobecker <brobecker@adacore.com>
3714 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
3715 attribute in array range.
3717 2014-08-18 Joel Brobecker <brobecker@adacore.com>
3719 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
3721 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3724 * gdb.cp/pr17132.cc: New file.
3725 * gdb.cp/pr17132.exp: New file.
3727 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3729 * gdb.python/py-xmethods.py (A_getarrayind)
3730 (E_method_char_worker.__call__, E_method_int_worker.__call__):
3731 Use 'print' with function call syntax.
3732 (E_method_matcher.match): Fix tab vs space indentation mixup.
3734 2014-08-15 Yao Qi <yao@codesourcery.com>
3736 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
3739 2014-08-15 Yao Qi <yao@codesourcery.com>
3741 * gdb.cp/casts.exp: Set print symbol off.
3742 * gdb.cp/class2.exp: Likewise.
3743 * gdb.cp/overload.exp: Likewise.
3744 * gdb.cp/templates.exp: Likewise.
3746 2014-08-11 Doug Evans <dje@google.com>
3748 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3749 (test_load_shlib): Update.
3751 2014-08-09 Yao Qi <yao@codesourcery.com>
3753 * gdb.base/display.exp: Invoke is_address_zero_readable.
3754 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
3755 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3756 * gdb.base/hbreak-unmapped.exp: Return if
3757 is_address_zero_readable returns true.
3758 * gdb.base/signest.exp: Likewise.
3759 * gdb.base/signull.exp: Likewise.
3760 * gdb.base/sigbpt.exp: Likewise.
3761 * gdb.guile/scm-disasm.exp: Do the test if
3762 is_address_zero_readable returns false.
3763 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
3764 * gdb.python/py-arch.exp: Likewise.
3765 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
3766 * lib/gdb.exp (is_address_zero_readable): New proc.
3768 2014-08-09 Yao Qi <yao@codesourcery.com>
3771 * gdb.mi/mi-var-display.exp: Make test messages unique.
3773 2014-08-04 Tom Tromey <tromey@redhat.com>
3775 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
3778 2014-08-04 Tom Tromey <tromey@redhat.com>
3780 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
3783 2014-08-01 Joel Brobecker <brobecker@adacore.com>
3785 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
3786 inner_vla_struct_object_size.
3787 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
3790 2014-07-30 Pedro Alves <palves@redhat.com>
3792 * gdb.threads/signal-command-handle-nopass.exp (test): Add
3795 2014-07-29 Yao Qi <yao@codesourcery.com>
3798 * gdb.base/until-nodebug.exp: New.
3800 2014-07-28 Doug Evans <xdje42@gmail.com>
3803 * gdb.guile/scm-parameter.exp: Add tests for trying to create
3804 previously existing parameter, and previously ambiguously spelled
3807 2014-07-28 Will Newton <will.newton@linaro.org>
3809 * gdb.base/varargs.exp: Remove KFAILs for ARM.
3811 2014-07-26 Ludovic Courtès <ludo@gnu.org>
3812 Doug Evans <xdje42@gmail.com>
3815 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
3817 2014-07-25 Pedro Alves <palves@redhat.com>
3819 * gdb.threads/signal-command-handle-nopass.c: New file.
3820 * gdb.threads/signal-command-handle-nopass.exp: New file.
3821 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
3822 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
3823 * gdb.threads/signal-delivered-right-thread.c: New file.
3824 * gdb.threads/signal-delivered-right-thread.exp: New file.
3826 2014-07-25 Pedro Alves <palves@redhat.com>
3828 * gdb.base/double-prompt-target-event-error.exp
3829 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
3831 (cancel_pagination_in_target_event): Rework double prompt
3833 * gdb.base/paginate-after-ctrl-c-running.exp
3834 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
3836 * gdb.base/paginate-bg-execution.exp
3837 (test_bg_execution_pagination_return)
3838 (test_bg_execution_pagination_cancel): Remove '-notransfer
3840 * gdb.base/paginate-execution-startup.exp
3841 (test_fg_execution_pagination_return)
3842 (test_fg_execution_pagination_cancel): Remove '-notransfer
3844 * gdb.base/paginate-inferior-exit.exp
3845 (test_paginate_inferior_exited): Remove '-notransfer <return>'
3847 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
3848 * lib/gdb.exp (pagination_prompt): Run text through
3850 (gdb_test_multiple): Match $pagination_prompt instead of
3852 (string_to_regexp): Move to lib/gdb-utils.exp.
3854 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3856 * gdb.arch/amd64-entry-value-paramref.S: New file.
3857 * gdb.arch/amd64-entry-value-paramref.cc: New file.
3858 * gdb.arch/amd64-entry-value-paramref.exp: New file.
3859 * gdb.arch/amd64-optimout-repeat.S: New file.
3860 * gdb.arch/amd64-optimout-repeat.c: New file.
3861 * gdb.arch/amd64-optimout-repeat.exp: New file.
3863 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3866 * gdb.base/statistics.exp: New file.
3868 2014-07-17 Doug Evans <dje@google.com>
3871 * gdb.base/maint.exp: Update testing of per-command stats.
3873 2014-07-16 Pedro Alves <palves@redhat.com>
3875 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
3876 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
3877 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
3878 (tfile_write_buf): New functions.
3879 (add_memory_block): Rewrite using the above.
3880 (adjust_function_address): New function.
3881 (FUNCTION_ADDRESS): New macro.
3882 (write_basic_trace_file): Remove short_x local, and use
3883 tfile_write_16. Change type of func_addr local to unsigned long
3884 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
3885 here. Cast argument of add_memory_block to char pointer.
3886 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
3887 (main): Remove parameters.
3888 * gdb.trace/tfile.exp: Remove nowarnings.
3890 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
3892 * gdb.base/debug-expr.exp: Test string evaluation with
3893 "debug expression" on.
3895 2014-07-15 Pedro Alves <palves@redhat.com>
3897 * gdb.base/reread.exp: Use clean_restart.
3899 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
3901 * gdb.arch/avr-flash-qualifer.c: New.
3902 * gdb.arch/avr-flash-qualifer.exp: New.
3904 2014-07-14 Pedro Alves <palves@redhat.com>
3906 * gdb.base/paginate-after-ctrl-c-running.c: New file.
3907 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
3909 2014-07-14 Pedro Alves <palves@redhat.com>
3911 * gdb.base/double-prompt-target-event-error.c: New file.
3912 * gdb.base/double-prompt-target-event-error.exp: New file.
3914 2014-07-14 Pedro Alves <palves@redhat.com>
3917 * gdb.base/paginate-inferior-exit.c: New file.
3918 * gdb.base/paginate-inferior-exit.exp: New file.
3920 2014-07-14 Pedro Alves <palves@redhat.com>
3923 * gdb.base/paginate-bg-execution.c: New file.
3924 * gdb.base/paginate-bg-execution.exp: New file.
3926 2014-07-14 Pedro Alves <palves@redhat.com>
3929 * gdb.base/paginate-execution-startup.c: New file.
3930 * gdb.base/paginate-execution-startup.exp: New file.
3931 * lib/gdb.exp (pagination_prompt): New global.
3932 (default_gdb_spawn): New procedure, factored out from
3934 (default_gdb_start): Adjust to call default_gdb_spawn.
3935 (gdb_spawn): New procedure.
3937 2014-07-14 Pedro Alves <palves@redhat.com>
3939 * lib/gdb.exp (gdb_assert): New procedure.
3940 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
3942 2014-07-14 Pedro Alves <palves@redhat.com>
3944 * gdb.base/execution-termios.c: New file.
3945 * gdb.base/execution-termios.exp: New file.
3947 2014-07-14 Tom Tromey <tromey@redhat.com>
3949 * gdb.cp/vla-cxx.cc: New file.
3950 * gdb.cp/vla-cxx.exp: New file.
3952 2014-07-14 Tom Tromey <tromey@redhat.com>
3954 * gdb.reverse/rerun-prec.c: New file.
3955 * gdb.reverse/rerun-prec.exp: New file.
3957 2014-07-12 Maciej W. Rozycki <macro@mips.com>
3958 Maciej W. Rozycki <macro@codesourcery.com>
3960 * lib/gdb-utils.exp: New file.
3961 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
3962 inline `gdb_init_command' processing.
3963 (gdb_start_cmd): Likewise.
3964 * lib/mi-support.exp (mi_run_cmd): Likewise.
3965 * README: Document `gdb_init_command' and `gdb_init_commands'.
3967 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3969 Fix false FAIL running under a very long directory name.
3970 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
3971 and "set print elements 10000". Twice.
3973 2014-07-11 Yao Qi <yao@codesourcery.com>
3975 * gdb.base/exprs.exp: "set print symbol off".
3977 2014-07-11 Pedro Alves <palves@redhat.com>
3979 * gdb.threads/kill.c: New file.
3980 * gdb.threads/kill.exp: New file.
3982 2014-07-10 Yao Qi <yao@codesourcery.com>
3984 * gdb.trace/tfile.c (write_basic_trace_file)
3985 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
3986 address written to trace file.
3988 2014-07-09 Pedro Alves <palves@redhat.com>
3990 * gdb.base/attach-wait-input.exp: New file.
3991 * gdb.base/attach-wait-input.c: New file.
3993 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3995 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
3996 setting up test structures.
3997 (main): Call new test function.
3998 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
3999 test function, continue into test function and walk test
4002 2014-07-02 Yao Qi <yao@codesourcery.com>
4004 * gdb.trace/entry-values.c: Define labels 'foo_start' and
4005 'bar_start' at the beginning of functions 'foo' and 'bar'
4007 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
4008 instead of 'foo' and 'bar'.
4010 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
4012 * gdb.btrace/segv.exp: New.
4013 * gdb.btrace/segv.c: New.
4015 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
4017 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
4020 2014-06-30 Mark Wielaard <mjw@redhat.com>
4022 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
4023 vulture, vilify, villar): New volatile array constants.
4024 (vindictive, vegetation): New const volatile array constants.
4025 * gdb.base/volatile.exp: Test volatile and const volatile array
4028 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
4030 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
4031 target lacks support for awatch, rwatch, or hbreak.
4033 2014-06-27 Yao Qi <yao@codesourcery.com>
4035 * gdb.multi/dummy-frame-restore.exp: New.
4036 * gdb.multi/dummy-frame-restore.c: New.
4038 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
4040 * gdb.btrace/gcore.exp: New.
4042 2014-06-23 Pedro Alves <palves@redhat.com>
4044 * gdb.base/watchpoint-reuse-slot.c: New file.
4045 * gdb.base/watchpoint-reuse-slot.exp: New file.
4047 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
4049 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
4050 progspace's filename in 'info', 'enable' and 'disable' command
4053 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4055 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
4056 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4057 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
4059 2014-06-20 Gary Benson <gbenson@redhat.com>
4061 * gdb.arch/i386-avx.exp: Fix include file location.
4062 * gdb.arch/i386-sse.exp: Likewise.
4064 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
4066 * gdb.dlang/expression.exp: New file.
4068 2014-06-19 Pedro Alves <palves@redhat.com>
4070 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
4072 (top level): ... here. Iterate running tests under different
4073 scheduler-locking settings.
4075 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
4077 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
4078 to DW_FORM_addr and use non-zero addresses.
4080 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
4083 * gdb.python/py-xmethods.cc: Add global function call counters and
4084 increment them in their respective functions. Remove "cout"
4086 * gdb.python/py-xmethods.exp: Make tests check the global function
4087 call counters instead of depending on inferior IO.
4089 2014-06-18 Don Breazeal <donb@codesourcery.com>
4091 * gdb.base/foll-fork.exp (default_fork_parent_follow):
4093 (explicit_fork_parent_follow): Deleted procedure.
4094 (explicit_fork_child_follow): Deleted procedure.
4095 (test_follow_fork): New procedure.
4096 (do_fork_tests): Replace calls to deleted procedures with
4097 calls to test_follow_fork and reset GDB for subsequent
4100 2014-06-17 Yao Qi <yao@codesourcery.com>
4102 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
4105 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
4107 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
4108 Initialize ptr and S explicitly.
4109 (skip_type_update_when_not_use_rtti_test): Likewise.
4111 2014-06-16 Keith Seitz <keiths@redhat.com>
4114 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
4115 the inferior is started.
4117 2014-06-16 Pedro Alves <palves@redhat.com>
4119 * gdb.base/break-main-file-remove-fail.c: New file.
4120 * gdb.base/break-main-file-remove-fail.exp: New file.
4121 * gdb.base/break-unload-file.exp: Use build_executable instead of
4122 prepare_for_testing.
4123 (test_break): New parameter "initial_load". Handle it.
4124 (top level): Add initial_load cmdline/file axis.
4126 2014-06-12 Tom Tromey <tromey@redhat.com>
4128 * gdb.base/completion.exp: Don't use directory name in test.
4130 2014-06-09 Gary Benson <gbenson@redhat.com>
4132 * gdb.base/sigall.c [Functions to send signals]: Reorder to
4133 separate the always-available ANSI-standard signals from the
4134 signals that require checking.
4136 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
4140 2014-06-07 Keith Seitz <keiths@redhat.com>
4144 * gdb.cp/var-tag.cc: New file.
4145 * gdb.cp/var-tag.exp: New file.
4146 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4147 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4148 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4149 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4151 2014-06-06 Doug Evans <xdje42@gmail.com>
4153 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
4155 2014-06-06 Pedro Alves <palves@redhat.com>
4157 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
4158 in target debug output instead of looking at RSP packets,
4159 disabling the test on any target that uses hardware stepping.
4162 2014-06-06 Pedro Alves <palves@redhat.com>
4164 * gdb.base/break-unload-file.exp: Fix typo.
4166 2014-06-06 Yao Qi <yao@codesourcery.com>
4168 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
4169 from "jit_function" to "^jit_function".
4171 2014-06-06 Yao Qi <yao@codesourcery.com>
4173 * gdb.base/async.c (foo): Add one statement.
4174 * gdb.base/async.exp: Get the next instruction address and
4175 match the output of "nexti" by instruction address. Match
4176 the hex address in the output of "finish".
4178 2014-06-06 Gary Benson <gbenson@redhat.com>
4180 * gdb.base/call-signals.c: Remove preprocessor conditionals
4181 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
4182 SIGSEGV and SIGTERM.
4183 * gdb.base/sigall.c: Likewise.
4184 * gdb.base/unwindonsignal.c: Likewise.
4185 * gdb.reverse/sigall-reverse.c: Likewise.
4187 2014-06-06 Yao Qi <yao@codesourcery.com>
4189 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
4190 readable, skip the test.
4192 2014-06-06 Yao Qi <yao@codesourcery.com>
4194 * gdb.threads/staticthreads.c (thread_function): Move the line
4195 setting breakpoint on forward.
4196 * gdb.threads/staticthreads.exp: Update comments.
4198 2014-06-05 Ludovic Courtès <ludo@gnu.org>
4200 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
4201 "history-append! type error".
4203 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
4205 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
4206 erroneous dprintf expected input.
4208 2014-06-04 Doug Evans <xdje42@gmail.com>
4210 * gdb.guile/scm-generics.exp: Delete.
4212 2014-06-04 Doug Evans <xdje42@gmail.com>
4214 * gdb.guile/scm-breakpoint.exp: Update.
4215 Add tests for breakpoint registration.
4217 2014-06-04 Tom Tromey <tromey@redhat.com>
4219 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
4221 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
4222 inner_vla_struct, vla_union types. Initialize objects of those
4223 types and compute their sizes.
4225 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
4226 Hui Zhu <hui@codesourcery.com>
4228 * gdb.base/fileio.exp: Add test for shell not available as well as
4230 * gdb.base/fileio.c (test_system): Check for shell twice.
4232 2014-06-04 Yao Qi <yao@codesourcery.com>
4234 * gdb.base/auto-connect-native-target.exp: Remove redundant
4235 space from the regexp pattern.
4237 2014-06-04 Yao Qi <yao@codesourcery.com>
4239 * gdb.base/default.exp: Replace "child" with "native" in
4242 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4244 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
4245 * gdb.python/py-xmethods.exp: New tests to test xmethods.
4246 * gdb.python/py-xmethods.py: Python script supporting the
4247 new testcase and tests.
4249 2014-06-03 Joel Brobecker <brobecker@adacore.com>
4250 Pedro Alves <palves@redhat.com>
4252 PR breakpoints/17000
4253 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
4254 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
4256 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
4258 * gdb.base/subst.exp: Add tests to verify partial path matching
4261 2014-06-03 Pedro Alves <palves@redhat.com>
4263 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
4264 target that doesn't use software single-stepping.
4266 2014-06-03 Pedro Alves <palves@redhat.com>
4268 PR breakpoints/17000
4269 * gdb.base/sss-bp-on-user-bp-2.c: New file.
4270 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
4272 2014-06-02 Doug Evans <xdje42@gmail.com>
4274 * gdb.guile/scm-parameter.exp: New file.
4276 2014-06-02 Doug Evans <xdje42@gmail.com>
4278 * gdb.guile/scm-cmd.c: New file.
4279 * gdb.guile/scm-cmd.exp: New file.
4281 2014-06-02 Doug Evans <xdje42@gmail.com>
4283 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
4284 pretty-printer lookup.
4285 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
4286 (make-pp_s-printer): Call it.
4287 (make-pretty-printer-from-dict): New function.
4288 (lookup-pretty-printer-maker-from-dict): New function.
4289 (*pretty-printer*): Simplify.
4290 (make-objfile-pp_s-printer): New function.
4291 (install-objfile-pretty-printers!): New function.
4292 (make-progspace-pp_s-printer): New function.
4293 (install-progspace-pretty-printers!): New function.
4294 * gdb.guile/scm-progspace.c: New file.
4295 * gdb.guile/scm-progspace.exp: New file.
4297 2014-06-02 Pedro Alves <palves@redhat.com>
4299 * gdb.base/dprintf-bp-same-addr.c: New file.
4300 * gdb.base/dprintf-bp-same-addr.exp: New file.
4302 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4304 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
4305 * gdb.arch/powerpc-power.s: Likewise.
4307 2014-06-02 Joel Brobecker <brobecker@adacore.com>
4309 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
4311 2014-06-01 Yao Qi <yao@codesourcery.com>
4313 * gdb.base/watchpoint.exp (test_watch_location): Check null
4314 pointer can be dereferenced. If not, do the test, otherwise
4317 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
4319 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
4321 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
4323 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
4325 * gdb.arch/amd64-invalid-stack-middle.S: New file.
4326 * gdb.arch/amd64-invalid-stack-middle.c: New file.
4327 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
4328 * gdb.arch/amd64-invalid-stack-top.c: New file.
4329 * gdb.arch/amd64-invalid-stack-top.exp: New file.
4331 2014-05-30 Pedro Alves <palves@redhat.com>
4333 PR breakpoints/17000
4334 * gdb.base/sss-bp-on-user-bp.c: New file.
4335 * gdb.base/sss-bp-on-user-bp.exp: New file.
4337 2014-05-30 David Blaikie <dblaikie@gmail.com>
4339 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
4340 gnu_inline semantics via attribute.
4341 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
4342 source explicitly specifies the required semantics.
4344 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
4346 * gdb.reverse/sigall-reverse.exp: Fix a typo.
4348 2014-05-29 Pedro Alves <palves@redhat.com>
4349 Tom Tromey <tromey@redhat.com>
4351 * gdb.base/async-shell.exp: Don't enable target-async.
4352 * gdb.base/async.exp
4353 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
4355 (top level): Don't test with "target-async".
4356 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
4357 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
4358 * gdb.base/inferior-died.exp: Don't enable target-async.
4359 * gdb.base/interrupt-noterm.exp: Likewise.
4360 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
4361 * gdb.mi/mi-nonstop-exit.exp: Likewise.
4362 * gdb.mi/mi-nonstop.exp: Likewise.
4363 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4364 * gdb.mi/mi-nsintrall.exp: Likewise.
4365 * gdb.mi/mi-nsmoribund.exp: Likewise.
4366 * gdb.mi/mi-nsthrexec.exp: Likewise.
4367 * gdb.mi/mi-watch-nonstop.exp: Likewise.
4368 * gdb.multi/watchpoint-multi.exp: Adjust comment.
4369 * gdb.python/py-evsignal.exp: Don't enable target-async.
4370 * gdb.python/py-evthreads.exp: Likewise.
4371 * gdb.python/py-prompt.exp: Likewise.
4372 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
4373 * gdb.server/solib-list.exp: Don't enable target-async.
4374 * gdb.threads/thread-specific-bp.exp: Likewise.
4375 * lib/mi-support.exp: Adjust to use mi-async.
4377 2014-05-29 Pedro Alves <palves@redhat.com>
4380 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
4381 reason, even in sync mode.
4383 2014-05-29 Pedro Alves <palves@redhat.com>
4384 Hui Zhu <hui@codesourcery.com>
4387 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
4388 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
4389 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
4390 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
4392 2014-05-28 Joel Brobecker <brobecker@adacore.com>
4394 * config/monitor.exp (gdb_target_monitor): Replace use of
4395 "set remotebaud" by "set serial baud".
4397 2014-05-26 Andy Wingo <wingo@igalia.com>
4399 * gdb.guile/scm-breakpoint.exp:
4400 * gdb.guile/scm-gsmob.exp: Update to use plain old object
4401 properties instead of gdb-object-properties.
4403 2014-05-26 Yao Qi <yao@codesourcery.com>
4405 * gdb.server/no-thread-db.exp: Specify source file name
4406 explicitly when setting a breakpoint.
4408 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4410 * gdb.btrace/vdso.c: New.
4411 * gdb.btrace/vdso.exp: New.
4413 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4415 * gdb.base/gcore.exp (capture_command_output): Move ...
4416 * lib/gdb.exp (capture_command_output): ... here.
4418 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4420 * gdb.btrace/data.exp: Test memory access during btrace replay.
4422 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
4424 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
4426 2014-05-21 Pedro Alves <palves@redhat.com>
4429 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
4430 (top level): Test that output related to execution commands is
4431 sent to the console with CLI commands, but not with MI commands.
4432 Test that breakpoint events are always mirrored to the console.
4433 Also expect the new source line to be output after a "next" in
4434 async mode too. Make it a pass/fail test.
4435 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
4437 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
4439 2014-05-21 Pedro Alves <palves@redhat.com>
4441 * gdb.base/list.exp (build_pattern, test_list): New procedures.
4442 Use them to test variations of "list" after reaching a breakpoint.
4443 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
4444 Test "list" with listsize 10 after reaching a breakpoint.
4445 * gdb.python/python.exp (decode_line current location line
4446 number): Adjust expected line number.
4448 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
4450 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
4451 behavior for $args, pass it directly to "run".
4453 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4455 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
4458 2014-05-21 Pedro Alves <palves@redhat.com>
4460 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
4461 auto-connect-native-target off".
4462 * gdb.base/auto-connect-native-target.c: New file.
4463 * gdb.base/auto-connect-native-target.exp: New file.
4465 2014-05-21 Pedro Alves <palves@redhat.com>
4467 * gdb.base/default.exp: Test "target native" instead of "target
4470 2014-05-21 Mark Wielaard <mjw@redhat.com>
4472 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
4474 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4476 Fix TLS access for -static -pthread.
4477 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
4478 <HAVE_TLS> (thread_function, main): Initialize it.
4479 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
4481 <$have_tls != "">: Check TLSVAR.
4483 2014-05-21 Pedro Alves <palves@redhat.com>
4485 * gdb.base/dcache-line-read-error.c: New.
4486 * gdb.base/dcache-line-read-error.exp: New.
4488 2014-05-20 Pedro Alves <palves@redhat.com>
4490 * gdb.base/compare-sections.c: New file.
4491 * gdb.base/compare-sections.exp: New file.
4493 2014-05-20 Pedro Alves <palves@redhat.com>
4495 * gdb.base/break-idempotent.c: New file.
4496 * gdb.base/break-idempotent.exp: New file.
4498 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
4500 * gdb.btrace/nohist.exp: New.
4502 2014-05-20 Yao Qi <yao@codesourcery.com>
4504 * lib/gdb.exp (gdb_init): Set timeout if test file is under
4505 gdb.reverse directory and gdb_reverse_timeout exists in board
4507 * README: Document gdb_reverse_timeout.
4509 2014-05-20 Yao Qi <yao@codesourcery.com>
4511 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
4512 'test_file_name'. Treat args as a string instead of a list.
4513 (gdb_init): Rename argument 'args' by 'test_file_name'.
4515 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4517 * gdb.arch/powerpc-power.exp: New file.
4518 * gdb.arch/powerpc-power.s: New file.
4520 2014-05-16 Doug Evans <dje@google.com>
4522 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
4523 * gdb.base/completion.exp: Check that all expected files exist
4524 before doing file completion.
4526 2014-05-16 Doug Evans <dje@google.com>
4528 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
4530 (do_syscall_tests_without_xml): Update.
4532 2014-05-16 Pedro Alves <palves@redhat.com>
4534 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
4535 instead of "unknown output after running".
4537 2014-05-16 Yao Qi <yao@codesourcery.com>
4539 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
4540 file1.txt from host at the end.
4541 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4543 2014-05-15 Doug Evans <dje@google.com>
4545 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
4546 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
4547 loading file. Add test for TU lookup.
4549 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
4551 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
4552 calling "-exec-arguments" or "set args" before running the
4555 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
4557 * lib/mi-support.exp (mi_expect_stop): Expect message for
4558 inferiors that exit with non-zero exit code.
4560 2014-05-14 Yao Qi <yao@codesourcery.com>
4562 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
4563 match absolute path on remote host.
4564 (test_file_list_exec_source_files): Remove "/" from the
4567 2014-05-14 Yao Qi <yao@codesourcery.com>
4569 * boards/local-remote-host-notty.exp (${board}_file): New
4572 2014-05-07 Kyle McMartin <kyle@redhat.com>
4574 Pushed by Joel Brobecker <brobecker@adacore.com>.
4575 * gdb.arch/aarch64-atomic-inst.c: New file.
4576 * gdb.arch/aarch64-atomic-inst.exp: New file.
4578 2014-05-07 Yao Qi <yao@codesourcery.com>
4580 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
4581 in current context" too.
4583 2014-05-05 Keith Seitz <keiths@redhat.com>
4585 * gdb.linespec/ls-dollar.exp: Add test for linespec
4586 file:convenience_variable.
4588 2014-05-05 Yao Qi <yao@codesourcery.com>
4590 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
4591 traceframes into tfile and ctf trace files. Read data from
4592 trace file and test collected data.
4593 (gdb_collect_locals_test): Likewise.
4594 (gdb_unavailable_registers_test): Likewise.
4595 (gdb_unavailable_floats): Likewise.
4596 (gdb_collect_globals_test): Likewise.
4597 (top-level): Append "ctf" to trace_file_targets if GDB
4600 2014-05-05 Yao Qi <yao@codesourcery.com>
4602 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
4604 (gdb_collect_args_test_1): ... it. New proc.
4605 (gdb_collect_locals_test): Move some code to ...
4606 (gdb_collect_locals_test_1): ... it. New proc.
4607 (gdb_unavailable_registers_test): Move some code to ...
4608 (gdb_unavailable_registers_test_1): ... it. New proc.
4609 (gdb_unavailable_floats): Move some code to ...
4610 (gdb_unavailable_floats_1): ... it. New proc.
4612 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4614 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
4615 probes to test for bitness recognition.
4616 * gdb.arch/amd64-stap-optional-prefix.exp
4617 (test_probe_value_without_reg): New procedure.
4618 Add code to test for different kinds of bitness.
4620 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4622 PR breakpoints/16889
4623 * gdb.arch/amd64-stap-optional-prefix.S: New file.
4624 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4626 2014-05-01 Pedro Alves <palves@redhat.com>
4628 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
4629 gdb_file_cmd if no file is specified.
4630 * boards/native-extended-gdbserver.exp (gdb_load): Use the
4631 last_loaded_file to set the remote exec-file.
4633 2014-05-01 Pedro Alves <palves@redhat.com>
4635 * boards/local-remote-host.exp: New file.
4637 2014-05-01 Pedro Alves <palves@redhat.com>
4639 * boards/local-remote-host.exp: Rename to ...
4640 * boards/local-remote-host-notty.exp: ... this.
4642 2014-04-28 Joel Brobecker <brobecker@adacore.com>
4644 * gdb.ada/dyn_arrayidx: New testcase.
4646 2014-04-26 Yao Qi <yao@codesourcery.com>
4648 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
4649 and compute the length of function main. Save it in
4651 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
4652 (top-level): Use gdb_compile to compile objects into
4653 executable and restart GDB. Remove invocation to
4654 prepare_for_testing.
4656 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
4657 Pedro Alves <palves@redhat.com>
4660 * gdb.multi/multi-attach.c: New file.
4661 * gdb.multi/multi-attach.exp: New file.
4663 2014-04-25 Pedro Alves <palves@redhat.com>
4665 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
4667 (top level): Test that "set remote conditional-breakpoints-packet
4668 off" works as intended.
4669 * gdb.base/dprintf.exp: Test that "set remote
4670 breakpoint-commands-packet off" works as intended.
4671 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
4673 (top level): Call it.
4674 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
4675 remote fast-tracepoints-packet off" works as intended.
4676 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
4677 * lib/gdb.exp (gdb_is_target_remote): ... here.
4679 2014-04-24 David Blaikie <dblaikie@gmail.com>
4681 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
4682 ensure clang would not discard them.
4683 * gdb.base/gdbvars.c: Ditto.
4684 * gdb.base/memattr.c: Ditto.
4685 * gdb.base/whatis.c: Ditto.
4686 * gdb.python/py-prettyprint.c: Ditto.
4687 * gdb.trace/actions.c: Ditto.
4688 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
4689 ensure clang would not discard it.
4691 2014-04-24 David Blaikie <dblaikie@gmail.com>
4693 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
4694 clang to emit the full definition of type required by the test
4695 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
4697 2014-04-24 David Blaikie <dblaikie@gmail.com>
4699 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
4700 coax Clang into emitting the definition of the type.
4701 * gdb.cp/pr10728-x.h (y): Ditto.
4702 * gdb.cp/pr10728-y.cc (y): Ditto.
4704 2014-04-24 David Blaikie <dblaikie@gmail.com>
4706 * gdb.base/label.exp: XFAIL label related tests under Clang.
4707 * gdb.cp/cplabel.exp: Ditto.
4708 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
4709 under Clang those using labels.
4711 2014-04-25 Yao Qi <yao@codesourcery.com>
4713 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
4715 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
4716 partial_label and double_label.
4718 2014-04-24 David Blaikie <dblaikie@gmail.com>
4720 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
4722 2014-04-24 David Blaikie <dblaikie@gmail.com>
4724 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
4725 of the function to work across GCC and Clang.
4726 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
4727 pointer types (const void ** const V void **).
4729 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
4730 Walfred Tedeschi <walfred.tedeschi@intel.com>
4732 * Makefile.in (EXECUTABLES): Added i386-avx512.
4733 * gdb.arch/i386-avx512.c: New file.
4734 * gdb.arch/i386-avx512.exp: Likewise.
4736 2014-04-23 Keith Seitz <keiths@redhat.com>
4738 * lib/mi-support.exp (mi_list_breakpoints): Delete.
4739 (mi_make_breakpoint_table): New procedure.
4740 (mi_create_breakpoint): Use mi_make_breakpoint
4741 and return the result.
4742 (mi_make_breakpoint): New procedure.
4743 (mi_build_kv_pairs): New procedure.
4745 * gdb.mi/mi-break.exp: Remove unused globals,
4746 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
4747 All callers updated.
4748 * gdb.mi/mi-dprintf.exp: Use variable to track command
4750 Update all callers of mi_create_breakpoint and use
4751 mi_make_breakpoint_table.
4752 Remove any unused global variables.
4753 * gdb.mi/mi-nonstop.exp: Likewise.
4754 * gdb.mi/mi-nsintrall.exp: Likewise.
4755 * gdb.mi/mi-nsmoribund.exp: Likewise.
4756 * gdb.mi/mi-nsthrexec.exp: Likewise.
4757 * gdb.mi/mi-reverse.exp: Likewise.
4758 * gdb.mi/mi-simplerun.exp: Likewise.
4759 * gdb.mi/mi-stepn.exp: Likewise.
4760 * gdb.mi/mi-syn-frame.exp: Likewise.
4761 * gdb.mi/mi-until.exp: Likewise.
4762 * gdb.mi/mi-var-cp.exp: Likewise.
4763 * gdb.mi/mi-var-display.exp: Likewise.
4764 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
4765 * gdb.mi/mi2-var-child.exp: Likewise.
4766 * gdb.mi/mi-vla-c99.exp: Likewise.
4767 * lib/mi-support.exp: Likewise.
4769 From Ian Lance Taylor <iant@cygnus.com>:
4770 * lib/gdb.exp (parse_args): New procedure.
4772 2014-04-23 Pedro Alves <palves@redhat.com>
4774 * gdb.base/break-unload-file.c: New file.
4775 * gdb.base/break-unload-file.exp: New file.
4776 * gdb.base/sym-file-lib.c (baz): New function.
4777 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
4779 (load): Store the segment's mapped size.
4780 (unload): New function.
4781 (unload_shlib): New function.
4782 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
4783 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
4784 set a breakpoint at baz, and call it.
4785 * gdb.base/sym-file.exp: New tests for stale breakpoint
4788 2014-04-23 Pedro Alves <palves@redhat.com>
4790 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
4791 * gdb.base/hbreak-in-shr-unsupported.c: New file.
4792 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
4793 * gdb.base/hbreak-unmapped.c: New file.
4794 * gdb.base/hbreak-unmapped.exp: New file.
4795 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
4796 * lib/gdb.exp (gdb_is_target_remote): ... here.
4798 2014-04-22 Pedro Alves <palves@redhat.com>
4800 * gdb.base/consecutive-step-over.c: New file.
4801 * gdb.base/consecutive-step-over.exp: New file.
4803 2014-04-22 Pedro Alves <palves@redhat.com>
4805 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
4806 instead of send_gdb/gdb_expect.
4808 2014-04-22 Yao Qi <yao@codesourcery.com>
4810 * lib/trace-support.exp (generate_tracefile): New procedure.
4811 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
4813 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
4814 if generate_tracefile returns 1.
4816 2014-04-18 Tom Tromey <palves@redhat.com>
4817 Pedro alves <tromey@redhat.com>
4820 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
4821 with a backtrace limit.
4822 * gdb.python/py-frame-inline.exp: Test running to an inline
4823 function with a backtrace limit, and printing the newest frame.
4824 * gdb.python/py-frame-inline.c (main): Call f.
4826 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4828 * gdb.java/jnpe.exp: Drop srcdir from untested path.
4830 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4832 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
4833 Drop prefix from unsupported source file path.
4835 2014-04-17 Yao Qi <yao@codesourcery.com>
4837 * lib/gdb.exp (with_target_charset): New proc.
4838 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
4839 with_target_charset.
4840 (test_print_strings): Likewise.
4841 (test_repeat_bytes): Likewise.
4842 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
4845 2014-04-16 Keith Seitz <keiths@redhat.com>
4848 * gdb.dwarf2/corrupt.c: New file.
4849 * gdb.dwarf2/corrupt.exp: New file.
4851 2014-04-16 Keith Seitz <keiths@redhat.com>
4854 * gdb.cp/namelessclass.cc: New file.
4855 * gdb.cp/namelessclass.exp: New file.
4856 * gdb.cp/namelessclass.S: New file.
4858 2014-04-16 Doug Evans <dje@google.com>
4860 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
4862 (gdbserver_default_get_comm_port): New function.
4863 (gdbserver_start): Check if board file provided
4864 "gdbserver,get_comm_port" and use it if so.
4865 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
4866 (gdb,socketport): Set to "stdio".
4867 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
4868 (stdio_gdbserver_template): Delete.
4869 (${board}_get_remote_address): Update.
4870 (${board}_build_remote_cmd): Delete.
4871 (${board}_get_comm_port): New function.
4872 (${board}_spawn): Update.
4873 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
4875 (${board}_get_remote_address): Update.
4876 (${board}_get_comm_port): New function.
4878 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
4880 * gdb.base/memattr.exp: Improve regexps to handle memory regions
4881 appearing in any order.
4883 2014-04-15 Doug Evans <dje@google.com>
4885 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
4886 uninitialized value of "description".
4888 2014-04-15 Keith Seitz <keiths@redhat.com>
4890 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
4891 Remove unused globals.
4892 (test_running_the_program): Likewise.
4893 (test_controlled_execution): Likewise.
4894 (test_controlling_breakpoints): Likewise.
4895 (test_program_termination): Likewise.
4897 2014-04-15 Keith Seitz <keiths@redhat.com>
4899 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
4901 (test_rbreak_creation_and_listing): Likewise.
4902 (test_ignore_count): Likewise.
4903 (test_error): Likewise.
4905 2014-04-15 Pedro Alves <palves@redhat.com>
4907 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
4908 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
4910 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4911 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4912 to sym-file-loader.c.
4913 (struct library): Forward declare.
4914 (load_shlib, lookup_function): Change prototypes.
4915 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4916 (translate_offset): Remove declarations.
4917 (get_text_addr): New declaration.
4918 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
4919 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
4921 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4922 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4923 here from sym-file-loader.h.
4924 (struct library): New structure.
4925 (load_shlib, lookup_function): Change prototypes and adjust to
4926 work with a struct library.
4927 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4928 (translate_offset): Make static.
4929 (get_text_addr): New function.
4930 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
4932 2014-04-15 Pedro Alves <palves@redhat.com>
4934 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
4936 2014-04-15 Pedro Alves <palves@redhat.com>
4938 * gdb.base/sym-file-loader.c: Include <limits.h>.
4939 (SELF_LINK): New define.
4940 (get_origin): New function.
4941 (load_shlib): Use it.
4942 * gdb.base/sym-file.exp: Don't early return if the target is
4943 remote. Use runto_main, and issue fail is that fails. Use
4945 (shlib_name): Delete.
4946 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
4948 2014-04-15 Pedro Alves <palves@redhat.com>
4950 * gdb.base/sym-file.exp: Remove regex characters from test
4951 message. Don't refer to breakpoint numbers in test messages.
4953 2014-04-14 Keith Seitz <keiths@redhat.com>
4956 * gdb.cp/var-tag.cc: New file.
4957 * gdb.cp/var-tag.exp: New file.
4958 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4959 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4960 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4961 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4963 2014-04-14 Tom Tromey <tromey@redhat.com>
4965 * gdb.cp/classes.exp (test_enums): Handle underlying type.
4966 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
4968 * gdb.cp/enum-class.exp: New file.
4969 * gdb.cp/enum-class.cc: New file.
4971 2014-04-14 Tom Tromey <tromey@redhat.com>
4973 * gdb.dwarf2/enum-type.exp: New file.
4975 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4977 * gdb.mi/mi-vla-c99.exp: New file.
4978 * gdb.mi/vla.c: New file.
4980 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4982 * gdb.base/vla-datatypes.c: New file.
4983 * gdb.base/vla-datatypes.exp: New file.
4985 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4987 * gdb.base/vla-ptr.c: New file.
4988 * gdb.base/vla-ptr.exp: New file.
4990 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4992 * gdb.dwarf2/count.exp: New file.
4994 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4996 * gdb.base/vla-sideeffect.c: New file.
4997 * gdb.base/vla-sideeffect.exp: New file.
4999 2014-04-14 David Blaikie <dblaikie@gmail.com>
5001 * gdb.mi/non-stop.c: Add return value for non-void function return
5003 * gdb.threads/staticthreads.c: Ditto.
5005 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
5006 Doug Evans <xdje42@gmail.com>
5008 * gdb.guile/scm-value.c: Improve test case.
5009 * gdb.guile/scm-value.exp: Add new test.
5011 2014-04-11 David Blaikie <dblaikie@gmail.com>
5013 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
5014 override Clang's default.
5016 2014-04-11 Joel Brobecker <brobecker@adacore.com>
5018 Revert the following changes (regressions):
5020 * gdb.base/vla-sideeffect.c: New file.
5021 * gdb.base/vla-sideeffect.exp: New file.
5023 * gdb.dwarf2/count.exp: New file.
5025 * gdb.base/vla-multi.c: New file.
5026 * gdb.base/vla-multi.exp: New file.
5028 * gdb.base/vla-ptr.c: New file.
5029 * gdb.base/vla-ptr.exp: New file.
5031 * gdb.base/vla-datatypes.c: New file.
5032 * gdb.base/vla-datatypes.exp: New file.
5034 * gdb.mi/mi-vla-c99.exp: New file.
5035 * gdb.mi/vla.c: New file.
5037 2014-04-11 Keith Seitz <keiths@redhat.com>
5040 * gdb.cp/cpsizeof.exp: New file.
5041 * gdb.cp/cpsizeof.cc: New file.
5043 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5045 * gdb.mi/mi-vla-c99.exp: New file.
5046 * gdb.mi/vla.c: New file.
5048 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5050 * gdb.base/vla-datatypes.c: New file.
5051 * gdb.base/vla-datatypes.exp: New file.
5053 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5055 * gdb.base/vla-ptr.c: New file.
5056 * gdb.base/vla-ptr.exp: New file.
5058 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5060 * gdb.base/vla-multi.c: New file.
5061 * gdb.base/vla-multi.exp: New file.
5063 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5065 * gdb.dwarf2/count.exp: New file.
5067 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5069 * gdb.base/vla-sideeffect.c: New file.
5070 * gdb.base/vla-sideeffect.exp: New file.
5072 2014-04-11 Yao Qi <yao@codesourcery.com>
5074 * gdb.base/completion.exp: Check file exists before running tests
5077 2014-04-10 Pedro Alves <palves@redhat.com>
5079 * gdb.base/cond-eval-mode.c: New file.
5080 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
5081 prepare_for_testing to build the new file. Check result of
5083 (test_break, test_watch): New procedures.
5084 (top level): Use them.
5086 2014-04-08 Pierre Muller <muller@sourceware.org>
5088 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
5089 Ctrl-V use for mingw hosts.
5091 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
5093 * gdb.python/py-value.c: Improve test case.
5094 * gdb.python/py-value.exp: Add new test.
5096 2014-04-07 David Blaikie <dblaikie@gmail.com>
5098 * lib/compiler.c: Identify the clang compiler.
5099 * lib/compiler.cc: Ditto.
5101 2014-04-03 Yao Qi <yao@codesourcery.com>
5103 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
5105 2014-04-01 Anton Blanchard <anton@samba.org>
5107 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
5110 2014-04-01 Anton Blanchard <anton@samba.org>
5112 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
5113 prepare_for_testing.
5115 2014-04-01 Anton Blanchard <anton@samba.org>
5117 * gdb.arch/ppc64-atomic-inst.c: Remove.
5118 * gdb.arch/ppc64-atomic-inst.S: New file.
5119 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
5121 2014-03-31 Doug Evans <dje@google.com>
5123 * gdb.base/print-symbol-loading-lib.c: New file.
5124 * gdb.base/print-symbol-loading-main.c: New file.
5125 * gdb.base/print-symbol-loading.exp: New file.
5127 2014-03-31 Yao Qi <yao@codesourcery.com>
5129 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
5131 2014-03-28 Joel Brobecker <brobecker@adacore.com>
5133 * gdb.ada/mi_dyn_arr: New testcase.
5135 2014-03-27 Doug Evans <dje@google.com>
5137 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
5139 2014-03-27 Yao Qi <yao@codesourcery.com>
5141 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
5142 if target is nios2-*-*.
5144 2014-03-26 Yao Qi <yao@codesourcery.com>
5146 * lib/gdb.exp (readline_is_used): New proc.
5147 * gdb.base/completion.exp: Move tests on command complete up.
5148 Skip the rest of tests if readline is not used.
5149 * gdb.ada/complete.exp: Skp the test if readline is not
5151 * gdb.base/filesym.exp: Likewise.
5152 * gdb.base/macscp.exp: Likewise.
5153 * gdb.base/readline-ask.exp: Likewise.
5154 * gdb.base/readline.exp: Likewise.
5155 * gdb.python/py-cmd.exp: Likewise.
5156 * gdb.trace/tfile.exp: Likewise.
5158 2014-03-26 Yao Qi <yao@codesourcery.com>
5160 * gdb.base/macscp.exp: Fix code format issues.
5162 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
5164 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
5165 * gdb.asm/powerpc64le.inc: New file.
5167 2014-03-25 Pedro Alves <palves@redhat.com>
5168 Doug Evans <dje@google.com>
5170 * gdb.base/source-execution.c: New file.
5171 * gdb.base/source-execution.exp: New file.
5172 * gdb.base/source-execution.gdb: New file.
5174 2014-03-24 Doug Evans <dje@google.com>
5176 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
5179 2014-03-24 Hui Zhu <hui@codesourcery.com>
5180 Pedro Alves <palves@redhat.com>
5182 PR breakpoints/16101
5183 * gdb.base/dprintf.exp: Use unsupported rather than changing the
5184 test pass/fail messages. Detect missing support for dprintf when
5185 breakpoints are actually inserted.
5186 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
5187 breakpoints are actually inserted.
5188 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
5191 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5193 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
5195 2014-03-22 Doug Evans <xdje42@gmail.com>
5197 * gdb.python/python.exp (python not supported): Verify multi-line
5198 python command issues an error.
5199 * gdb.guile/guile.exp (guile not supported): Verify multi-line
5200 guile command issues an error.
5202 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
5204 * gdb.threads/thread-specific.exp: Handle the lack of usable
5205 $this_breakpoint and $this_thread.
5207 2014-03-21 Hui Zhu <hui@codesourcery.com>
5209 * gdb.base/attach.exp (do_command_attach_tests): New.
5211 2014-03-20 Tom Tromey <tromey@redhat.com>
5212 Pedro Alves <palves@redhat.com>
5215 * gdb.base/condbreak-call-false.c: New file.
5216 * gdb.base/condbreak-call-false.exp: New file.
5218 2014-03-20 Pedro Alves <palves@redhat.com>
5220 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
5222 (block_signals, unblock_signals): Delete.
5223 (child_function_2, main): Remove references to deleted variable
5226 2014-03-20 Pedro Alves <palves@redhat.com>
5228 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
5229 Use pthread_kill to signal thread 2.
5230 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5231 Adjust to make the test send itself a signal rather than using the
5232 host's "kill" command.
5234 2014-03-20 Pedro Alves <palves@redhat.com>
5236 * gdb.threads/multiple-step-overs.c: New file.
5237 * gdb.threads/multiple-step-overs.exp: New file.
5238 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5239 Adjust expected infrun debug output.
5241 2014-03-20 Pedro Alves <palves@redhat.com>
5243 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
5244 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
5246 2014-03-20 Pedro Alves <palves@redhat.com>
5249 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
5250 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
5251 of gdb_test_multiple.
5252 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
5253 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
5255 2014-03-20 Pedro Alves <palves@redhat.com>
5257 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
5258 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
5260 2014-03-19 Pedro Alves <palves@redhat.com>
5262 * gdb.base/async.exp: Remove early return.
5264 2014-03-19 Pedro Alves <palves@redhat.com>
5266 * gdb.base/async.exp (step& tests): Pass explicit test messages.
5268 2014-03-19 Pedro Alves <palves@redhat.com>
5270 * gdb.base/async.exp (test_background): Expect \r\n after
5271 "completed." in the fail pattern.
5273 2014-03-19 Pedro Alves <palves@redhat.com>
5275 * gdb.base/async.exp (test_background): New procedure.
5276 Use it for all background execution command tests.
5278 2014-03-19 Pedro Alves <palves@redhat.com>
5280 * gdb.base/async.exp: Use prepare_for_testing.
5282 2014-03-19 Pedro Alves <palves@redhat.com>
5284 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
5287 2014-03-19 Pedro Alves <palves@redhat.com>
5289 * gdb.base/async.c (main): Add "jump here" and "until here" line
5291 * gdb.base/async.exp (jump_here): New global.
5292 (jump& test): Use it.
5293 (until_here): New global.
5294 (until& test): Use it.
5296 2014-03-19 Pedro Alves <palves@redhat.com>
5298 * gdb.base/async.exp: Don't frob gdb_protocol.
5300 2014-03-18 Doug Evans <xdje42@gmail.com>
5302 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
5303 Fix spelling of exec-done-display.
5305 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5308 * gdb.base/gdb-sigterm.c: New file.
5309 * gdb.base/gdb-sigterm.exp: New file.
5311 2014-03-18 Pedro Alves <palves@redhat.com>
5314 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
5315 * lib/mi-support.exp (mi_expect_stop): Add special handling for
5318 2014-03-17 Joel Brobecker <brobecker@adacore.com>
5320 * gdb.ada/pckd_arr_ren: New testcase.
5322 2014-03-13 Doug Evans <xdje42@gmail.com>
5325 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
5326 collect after discarding symbols.
5328 2014-03-13 Ludovic Courtès <ludo@gnu.org>
5329 Doug Evans <xdje42@gmail.com>
5331 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
5332 to history survives a gc.
5334 2014-03-13 Pedro Alves <palves@redhat.com>
5336 * gdb.base/default.exp: Don't test "target procfs".
5338 2014-03-13 Pedro Alves <palves@redhat.com>
5340 * gdb.base/default.exp: Update "target child" and "target procfs"
5341 tests to not expect "Unix".
5343 2014-03-12 Tom Tromey <tromey@redhat.com>
5345 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
5346 New procs. Add target-async tests.
5347 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
5348 Add target-async tests.
5350 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5352 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
5353 'func_start' and 'func_end' for the beginning and end of the
5354 function code, respectively.
5355 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
5356 'func_end' instead of 'func' and 'main'.
5358 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5360 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
5361 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
5362 generate the debug info assembler source.
5364 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5366 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
5367 * gdb.dwarf2/arr-subrange.exp: Likewise.
5368 * gdb.dwarf2/dwz.exp: Likewise.
5369 * gdb.dwarf2/method-ptr.exp: Likewise.
5370 * gdb.dwarf2/missing-sig-type.exp: Likewise.
5371 * gdb.dwarf2/subrange.exp: Likewise.
5372 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
5373 * gdb.dwarf2/implptrpiece.exp: Likewise.
5374 * gdb.dwarf2/nostaticblock.exp: Likewise.
5376 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5378 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
5379 directory to absolute path name arguments.
5381 2014-03-10 Joel Brobecker <brobecker@adacore.com>
5383 * gdb.ada/tagged_access: New testcase.
5385 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
5387 * gdb.btrace/data.exp: Update expected output.
5389 2014-03-06 Yao Qi <yao@codesourcery.com>
5391 * gdb.trace/pr16508.exp: New file.
5393 2014-03-05 Pedro Alves <palves@redhat.com>
5396 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
5398 (top level): Adjust to use it. Add tests that exercise breakpoint
5399 interaction with the code-cache.
5401 2014-02-26 Ludovic Courtès <ludo@gnu.org>
5403 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
5404 test for 'history-append!'.
5406 2014-02-26 Joel Brobecker <brobecker@adacore.com>
5408 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
5409 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
5410 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
5411 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
5412 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
5413 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
5415 2014-02-26 Joel Brobecker <brobecker@adacore.com>
5417 * testsuite/gdb.python/py-pp-re-notag.c: New file.
5418 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
5419 * testsuite/gdb.python/py-pp-re-notag.p: New file.
5421 2014-02-26 Joel Brobecker <brobecker@adacore.com>
5423 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
5425 2014-02-26 Joel Brobecker <brobecker@adacore.com>
5427 * gdb.dwarf2/arr-stride.c: New file.
5428 * gdb.dwarf2/arr-stride.exp: New file.
5430 2014-02-26 Pedro Alves <palves@redhat.com>
5432 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
5433 that won't ever trigger. Make sure that GDB reports the correct
5434 breakpoint that caused the stop.
5436 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5439 * gdb.base/auto-load-script: New file.
5440 * gdb.base/auto-load.c: New file.
5441 * gdb.base/auto-load.exp: New file.
5444 * gdb.base/auto-load.exp: Fix out-of-srctree run.
5446 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5448 Fix dw2-icycle.exp -fsanitize=address GDB crash.
5449 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
5451 2014-02-24 Doug Evans <dje@google.com>
5453 * lib/gdb.exp (run_on_host): Log error output if program fails.
5455 2014-02-21 Pedro Alves <palves@redhat.com>
5457 * gdb.threads/step-after-sr-lock.c: Rename to ...
5458 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
5459 * gdb.threads/step-after-sr-lock.exp: Rename to ...
5460 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5463 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
5466 * gdb.arch/amd64-stap-special-operands.exp: New file.
5467 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
5468 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
5469 * gdb.arch/amd64-stap-triplet.S: Likewise.
5470 * gdb.arch/amd64-stap-triplet.c: Likewise.
5472 2014-02-20 Joel Brobecker <brobecker@adacore.com>
5474 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
5475 in .section pseudo-op.
5477 2014-02-20 lin zuojian <manjian2006@gmail.com>
5478 Joel Brobecker <brobecker@adacore.com>
5479 Doug Evans <xdje42@gmail.com>
5482 * gdb.dwarf2/dw2-icycle.S: New file.
5483 * gdb.dwarf2/dw2-icycle.c: New file.
5484 * gdb.dwarf2/dw2-icycle.exp: New file.
5486 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
5488 * gdb.python/py-value-cc.cc: Improve test case to enable testing
5489 operations on gdb.Value objects.
5490 * gdb.python/py-value-cc.exp: Add new test to test operations on
5493 2014-02-18 Doug Evans <dje@google.com>
5495 * Makefile.in (TESTS): New variable.
5496 (expanded_tests, expanded_tests_or_none): New variables
5497 (check-single): Pass $(expanded_tests_or_none) to runtest.
5498 (check-parallel): Only run tests in $(TESTS) if non-empty.
5499 (check/no-matching-tests-found): New rule.
5500 * README: Document TESTS makefile variable.
5502 2014-02-18 Doug Evans <dje@google.com>
5504 * Makefile.in (check-parallel): rm -rf outputs temp.
5506 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5508 Fix "ERROR: no fileid for" in the testsuite.
5509 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
5511 2014-02-12 Doug Evans <dje@google.com>
5513 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
5514 (MISCELLANEOUS): New variable.
5515 (clean): rm -rf $(MISCELLANEOUS).
5516 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
5517 dwp live in the same directory as symlinks, with each symlink pointed
5518 to a differently named file in a different directory.
5520 2014-02-11 Doug Evans <dje@google.com>
5522 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
5523 of Tcl file commands.
5525 2014-02-10 Mark Kettenis <kettenis@gnu.org>
5527 * gdb.threads/step-after-sr-lock.exp: Avoid executing
5530 2014-02-10 Joel Brobecker <brobecker@adacore.com>
5532 * gdb.ada/tick_length_array_enum_idx: New testcase.
5534 2014-02-10 Doug Evans <xdje42@gmail.com>
5536 * configure.ac (AC_OUTPUT): Add gdb.guile.
5537 * configure: Regenerate.
5538 * lib/gdb-guile.exp: New file.
5539 * lib/gdb.exp (get_target_charset): New function.
5540 * gdb.base/help.exp: Update expected output from "apropos apropos".
5541 * gdb.guile/Makefile.in: New file.
5542 * gdb.guile/guile.exp: New file.
5543 * gdb.guile/scm-arch.c: New file.
5544 * gdb.guile/scm-arch.exp: New file.
5545 * gdb.guile/scm-block.c: New file.
5546 * gdb.guile/scm-block.exp: New file.
5547 * gdb.guile/scm-breakpoint.c: New file.
5548 * gdb.guile/scm-breakpoint.exp: New file.
5549 * gdb.guile/scm-disasm.c: New file.
5550 * gdb.guile/scm-disasm.exp: New file.
5551 * gdb.guile/scm-equal.c: New file.
5552 * gdb.guile/scm-equal.exp: New file.
5553 * gdb.guile/scm-error.exp: New file.
5554 * gdb.guile/scm-error.scm: New file.
5555 * gdb.guile/scm-frame-args.c: New file.
5556 * gdb.guile/scm-frame-args.exp: New file.
5557 * gdb.guile/scm-frame-args.scm: New file.
5558 * gdb.guile/scm-frame-inline.c: New file.
5559 * gdb.guile/scm-frame-inline.exp: New file.
5560 * gdb.guile/scm-frame.c: New file.
5561 * gdb.guile/scm-frame.exp: New file.
5562 * gdb.guile/scm-generics.exp: New file.
5563 * gdb.guile/scm-gsmob.exp: New file.
5564 * gdb.guile/scm-iterator.c: New file.
5565 * gdb.guile/scm-iterator.exp: New file.
5566 * gdb.guile/scm-math.c: New file.
5567 * gdb.guile/scm-math.exp: New file.
5568 * gdb.guile/scm-objfile-script-gdb.in: New file.
5569 * gdb.guile/scm-objfile-script.c: New file.
5570 * gdb.guile/scm-objfile-script.exp: New file.
5571 * gdb.guile/scm-objfile.c: New file.
5572 * gdb.guile/scm-objfile.exp: New file.
5573 * gdb.guile/scm-ports.exp: New file.
5574 * gdb.guile/scm-pretty-print.c: New file.
5575 * gdb.guile/scm-pretty-print.exp: New file.
5576 * gdb.guile/scm-pretty-print.scm: New file.
5577 * gdb.guile/scm-section-script.c: New file.
5578 * gdb.guile/scm-section-script.exp: New file.
5579 * gdb.guile/scm-section-script.scm: New file.
5580 * gdb.guile/scm-symbol.c: New file.
5581 * gdb.guile/scm-symbol.exp: New file.
5582 * gdb.guile/scm-symtab-2.c: New file.
5583 * gdb.guile/scm-symtab.c: New file.
5584 * gdb.guile/scm-symtab.exp: New file.
5585 * gdb.guile/scm-type.c: New file.
5586 * gdb.guile/scm-type.exp: New file.
5587 * gdb.guile/scm-value-cc.cc: New file.
5588 * gdb.guile/scm-value-cc.exp: New file.
5589 * gdb.guile/scm-value.c: New file.
5590 * gdb.guile/scm-value.exp: New file.
5591 * gdb.guile/source2.scm: New file.
5592 * gdb.guile/types-module.cc: New file.
5593 * gdb.guile/types-module.exp: New file.
5595 2014-02-10 Yao Qi <yao@codesourcery.com>
5598 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
5599 * configure: Regenerated.
5600 * Makefile.in: New file.
5602 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
5604 * gdb.python/py-framefilter.exp: Fix typo.
5606 2014-02-08 Yao Qi <yao@codesourcery.com>
5608 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
5609 that no =breakpoint-modified is emitted when breakpoints are
5610 modified through MI commands.
5612 2014-02-07 Pedro Alves <pedro@codesourcery.com>
5613 Pedro Alves <palves@redhat.com>
5615 * gdb.threads/step-after-sr-lock.c: New file.
5616 * gdb.threads/step-after-sr-lock.exp: New file.
5618 2014-02-07 Pedro Alves <palves@redhat.com>
5620 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
5622 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5624 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
5625 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
5627 2014-02-06 Doug Evans <xdje42@gmail.com>
5629 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
5632 * gdb.gdb/python-interrupts.exp: New file.
5634 2014-02-05 Yao Qi <yao@codesourcery.com>
5636 * gdb.trace/report.exp (use_collected_data): Test the output
5637 of "info threads" and "info inferiors".
5639 2014-02-05 Yao Qi <yao@codesourcery.com>
5643 2013-05-24 Yao Qi <yao@codesourcery.com>
5645 * gdb.trace/tfile.exp: Test inferior and thread.
5647 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5649 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
5651 * gdb.base/step-bt.c: Call hello via function pointer to make
5652 sure its first instruction is executed on powerpc64le-linux.
5654 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5656 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
5658 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5660 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
5661 of the test patterns for use on little-endian systems.
5663 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5665 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
5666 (decimal_vector): Fix for little-endian.
5668 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
5670 * gdb.arch/sparc-sysstep.exp: New file.
5671 * gdb.arch/sparc-sysstep.c: Likewise.
5673 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
5675 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5677 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
5679 2014-01-23 Tom Tromey <tromey@redhat.com>
5681 * gdb.ada/array_char_idx: New testcase.
5683 2014-01-23 Tom Tromey <tromey@redhat.com>
5686 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
5687 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
5690 2014-01-23 Tom Tromey <tromey@redhat.com>
5693 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
5694 string from an inferior frame.
5695 * gdb.python/py-framefilter-mi.exp: Update.
5697 2014-01-22 Doug Evans <dje@google.com>
5699 * gdb.server/server-mon.exp: Add tests for "set debug-format".
5701 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5703 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
5705 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5707 * gdb.trace/entry-values.exp: Remove excess space character from
5708 regex patterns. Handle s390 call instruction.
5710 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5712 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
5713 define "*_start" label. Make "name" static.
5714 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
5715 ${name} by references to ${name}_start.
5717 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5719 * gdb.base/info-macros.exp: Remove "debug" from the compile
5722 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5724 * gdb.dlang/demangle.exp: New file.
5726 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5728 * gdb.dlang/primitive-types.exp: New file.
5730 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5732 * configure.ac: Create gdb.dlang/Makefile.
5733 * configure: Regenerate.
5734 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
5735 * gdb.dlang/Makefile.in: New file.
5736 * lib/d-support.exp: New file.
5737 * lib/gdb.exp (skip_d_tests): New proc.
5739 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5741 * gdb.btrace/delta.exp: Check reverse stepi.
5742 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
5743 * gdb.btrace/finish.exp: New.
5744 * gdb.btrace/next.exp: New.
5745 * gdb.btrace/nexti.exp: New.
5746 * gdb.btrace/record_goto.c: Add comments.
5747 * gdb.btrace/step.exp: New.
5748 * gdb.btrace/stepi.exp: New.
5749 * gdb.btrace/multi-thread-step.c: New.
5750 * gdb.btrace/multi-thread-step.exp: New.
5751 * gdb.btrace/rn-dl-bind.c: New.
5752 * gdb.btrace/rn-dl-bind.exp: New.
5753 * gdb.btrace/data.c: New.
5754 * gdb.btrace/data.exp: New.
5755 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5757 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5759 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
5760 * gdb.btrace/exception.exp: Update.
5761 * gdb.btrace/instruction_history.exp: Update.
5762 * gdb.btrace/record_goto.exp: Update.
5763 * gdb.btrace/tailcall.exp: Update.
5764 * gdb.btrace/unknown_functions.exp: Update.
5765 * gdb.btrace/delta.exp: New.
5767 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5769 * gdb.btrace/record_goto.exp: Add backtrace test.
5770 * gdb.btrace/tailcall.exp: Add backtrace test.
5772 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5774 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
5775 * gdb.btrace/record_goto.c: New.
5776 * gdb.btrace/record_goto.exp: New.
5777 * gdb.btrace/x86-record_goto.S: New.
5779 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5781 * gdb.btrace/function_call_history.exp: Update tests.
5782 * gdb.btrace/instruction_history.exp: Update tests.
5784 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5786 * gdb.btrace/function_call_history.exp: Fix expected field
5787 order for "record function-call-history".
5788 Add new tests for "record function-call-history /c".
5789 * gdb.btrace/exception.cc: New.
5790 * gdb.btrace/exception.exp: New.
5791 * gdb.btrace/tailcall.exp: New.
5792 * gdb.btrace/x86-tailcall.S: New.
5793 * gdb.btrace/x86-tailcall.c: New.
5794 * gdb.btrace/unknown_functions.c: New.
5795 * gdb.btrace/unknown_functions.exp: New.
5796 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5798 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5800 * gdb.btrace/instruction_history.exp: Update.
5801 * gdb.btrace/function_call_history.exp: Update.
5803 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5805 * gdb.btrace/function_call_history.exp: Fix expected function
5807 * gdb.btrace/instruction_history.exp: Initialize traced.
5808 Remove traced_functions.
5810 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5812 * gdb.btrace/function_call_history.exp: Update
5813 * gdb.btrace/instruction_history.exp: Update.
5815 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5817 * gdb.btrace/enable.exp: Update expected text.
5819 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
5821 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
5824 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
5826 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
5828 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5830 * lib/gdb.exp (supports_process_record): Return true for
5831 arm*-linux*. (supports_reverse): Likewise.
5833 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5837 * gdb.python/py-type.c: Enhance test case.
5838 * gdb.python/py-value-cc.cc: Likewise
5839 * gdb.python/py-type.exp: Add new tests.
5840 * gdb.python/py-value-cc.exp: Likewise
5842 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
5843 Pedro Alves <palves@redhat.com>
5845 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
5847 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
5848 references to ${name}_start by references to ${name}.
5850 2014-01-10 Joel Brobecker <brobecker@adacore.com>
5852 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
5854 2014-01-10 Joel Brobecker <brobecker@adacore.com>
5856 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
5858 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
5859 Pedro Alves <palves@redhat.com>
5861 * gdb.mi/mi-info-os.exp: Connect to the target with
5864 2014-01-08 Pedro Alves <palves@redhat.com>
5866 * gdb.threads/reconnect-signal.c: New file.
5867 * gdb.threads/reconnect-signal.exp: New file.
5869 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5871 * gdb.base/source-dir.exp: New file.
5873 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5875 * gdb.ada/mi_interface: New testcase.
5877 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5879 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
5880 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
5881 gdb.ada/pp-rec-component/pck.ads: New files.
5883 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5885 * gdb.python/py-pp-integral.c: New file.
5886 * gdb.python/py-pp-integral.py: New file.
5887 * gdb.python/py-pp-integral.exp: New file.
5889 For older changes see ChangeLog-1993-2013.
5895 ;; version-control: never
5898 Copyright 2014-2015 Free Software Foundation, Inc.
5899 Copying and distribution of this file, with or without modification,
5900 are permitted provided the copyright notice and this notice are preserved.