1 2015-08-11 Keith Seitz <keiths@redhat.com>
3 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
4 (at toplevel): Call test_explicit_breakpoints.
5 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
7 * lib/mi-support.exp (mi_make_breakpoint): Add support for
8 breakpoint conditions, "-cond".
10 2015-08-11 Keith Seitz <keiths@redhat.com>
12 * gdb.linespec/3explicit.c: New file.
13 * gdb.linespec/cpexplicit.cc: New file.
14 * gdb.linespec/cpexplicit.exp: New file.
15 * gdb.linespec/explicit.c: New file.
16 * gdb.linespec/explicit.exp: New file.
17 * gdb.linespec/explicit2.c: New file.
18 * gdb.linespec/ls-errs.exp: Add explicit location tests.
19 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
20 before using in the matching pattern.
21 Clarify that `prefix' is a regular expression.
23 2015-08-11 Keith Seitz <keiths@redhat.com>
25 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
27 Add tests for missing ",FMT" and ",".
29 2015-08-10 Doug Evans <dje@google.com>
30 Keith Seitz <keiths@redhat.com>
33 * gdb.base/completion.exp: Add location completer tests.
35 2015-08-07 Pedro Alves <palves@redhat.com>
37 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
39 (top level): Run do_test with and without displaced stepping.
41 2015-08-07 Pedro Alves <palves@redhat.com>
43 * gdb.base/valgrind-disp-step.c: New file.
44 * gdb.base/valgrind-disp-step.exp: New file.
46 2015-08-07 Pedro Alves <palves@redhat.com>
48 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
50 (main): Add alarm. Run an infinite loop instead of calling
52 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
54 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
56 (main): Add alarm. Run an infinite loop instead of calling
58 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
61 2015-08-07 Pedro Alves <palves@redhat.com>
63 * gdb.base/checkpoint-ns.exp: New file.
64 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
67 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
69 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
70 * gdb.btrace/instruction_history.exp: Update.
71 * gdb.btrace/tsx.exp: New.
72 * gdb.btrace/tsx.c: New.
74 2015-08-06 Pedro Alves <palves@redhat.com>
76 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
78 * gdb.reverse/until-precsave.exp: Bump timeouts.
80 2015-08-06 Pedro Alves <palves@redhat.com>
82 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
84 2015-08-06 Pedro Alves <palves@redhat.com>
87 * gdb.threads/process-dies-while-handling-bp.c: New file.
88 * gdb.threads/process-dies-while-handling-bp.exp: New file.
90 2015-08-06 Pedro Alves <palves@redhat.com>
92 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
93 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
95 2015-08-05 Pedro Alves <palves@redhat.com>
97 * gdb.threads/next-while-other-thread-longjmps.c: New file.
98 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
100 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
102 * gdb.base/bp-permanent.exp: Report test as unsupported if
103 the target cannot stop at the permanent breakpoint.
105 2015-08-03 Doug Evans <dje@google.com>
107 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
110 2015-08-03 Doug Evans <dje@google.com>
112 * Makefile.in (workers/%.worker, build-perf): New rule.
113 (GDB_PERFTEST_MODE): New variable.
114 (check-perf): Use it.
115 (clean): Clean up gdb.perf parallel build subdirs.
116 * lib/build-piece.exp: New file.
117 * lib/gdb.exp (make_gdb_parallel_path): New function
118 (standard_output_file, standard_temp_file): Call it.
119 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
121 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
123 2015-08-03 Doug Evans <dje@google.com>
125 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
126 (LOG_FILE_NAME): New global.
127 (TextReporter.__init__): Initialize self.txt_sum.
128 (TextReporter.report): Add support for multiple data-points.
129 Move report to perftest.sum, put raw data in perftest.log.
130 (TextReporter.start): Open sum and log files.
131 (TextReporter.end): Close sum and log files.
132 * gdb.perf/lib/perftest/testresult.py
133 (SingleStatisticTestResult.record): Handle multiple data-points.
135 2015-07-31 Pedro Alves <palves@redhat.com>
137 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
138 Use spawn_id_get_pid. Wait for spawn id after eof. Use
139 kill_wait_spawned_process instead of explicit "kill -9".
140 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
141 returning a spawn id instead of a pid. Use spawn_id_get_pid and
142 kill_wait_spawned_process.
143 * gdb.base/attach-twice.exp: Likewise.
144 * gdb.base/attach.exp: Likewise.
145 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
147 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
148 returning a spawn id instead of a pid. Use spawn_id_get_pid and
149 kill_wait_spawned_process.
150 * gdb.base/valgrind-infcall.exp: Likewise.
151 * gdb.multi/multi-attach.exp: Likewise.
152 * gdb.python/py-prompt.exp: Likewise.
153 * gdb.python/py-sync-interp.exp: Likewise.
154 * gdb.server/ext-attach.exp: Likewise.
155 * gdb.threads/attach-into-signal.exp (corefunc): Use
156 spawn_wait_for_attach, spawn_id_get_pid and
157 kill_wait_spawned_process.
158 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
159 spawn_wait_for_attach returning a spawn id instead of a pid. Use
160 spawn_id_get_pid and kill_wait_spawned_process.
161 * gdb.threads/attach-stopped.exp (corefunc): Use
162 spawn_wait_for_attach, spawn_id_get_pid and
163 kill_wait_spawned_process.
164 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
165 Use spawn_id_get_pid. Wait for spawn id after eof. Use
166 kill_wait_spawned_process instead of explicit "kill -9".
167 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
168 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
169 (spawn_wait_for_attach): Use spawn instead of exec to spawn
170 processes. Don't map cygwin/windows pids here. Now returns a
173 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
175 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
176 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
179 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
181 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
183 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
186 2014-05-21 Mark Wielaard <mjw@redhat.com>
188 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
190 2015-07-30 Pedro Alves <palves@redhat.com>
192 * linux-low.c (handle_extended_wait): Set the child's last
193 reported status to TARGET_WAITKIND_STOPPED.
195 2015-07-30 Pedro Alves <palves@redhat.com>
198 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
199 only shows inferior 1.
201 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
202 Pedro Alves <palves@redhat.com>
205 * gdb.threads/fork-plus-threads.c: New file.
206 * gdb.threads/fork-plus-threads.exp: New file.
208 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
210 * gdb.base/batch-preserve-term-settings.exp
211 (test_terminal_settings_preserved_after_cli_exit): Use
214 2015-07-29 Pedro Alves <palves@redhat.com>
215 Don Breazeal <donb@codesourcery.com>
217 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
218 output from both inferior_spawn_id and gdb_spawn_id.
220 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
222 * gdb.threads/attach-into-signal.exp (corefunc): Use
223 with_test_prefix on nested loops, uniquefying the test messages.
225 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
227 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
230 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
232 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
234 (test_terminal_settings_preserved_after_sigterm): New test.
236 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
238 * gdb.base/batch-preserve-term-settings.exp
239 (test_terminal_settings_preserved_after_cli_exit): New test.
241 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
243 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
244 manipulation of saved_gdbflags.
245 (test_terminal_settings_preserved): Remove global declaration of
246 the unused variable pagination_prompt. Remove manipulation of
247 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
250 2015-07-29 Pedro Alves <palves@redhat.com>
252 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
254 2015-07-29 Pedro Alves <palves@redhat.com>
256 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
259 2015-07-29 Pedro Alves <palves@redhat.com>
261 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
262 (main): Call gdb_unbuffer_output.
263 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
264 (main): Call gdb_unbuffer_output.
265 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
266 (main): Call gdb_unbuffer_output.
267 * gdb.base/call-strs.exp: Adjust to step over the
268 gdb_unbuffer_output call.
269 * gdb.base/catch-gdb-caused-signals.c: Include
270 "../lib/unbuffer_output.c".
271 (main): Call gdb_unbuffer_output.
272 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
273 (main): Call gdb_unbuffer_output.
274 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
275 (main): Call gdb_unbuffer_output.
276 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
277 (main): Call gdb_unbuffer_output.
278 * gdb.base/shlib-call.exp: Adjust to step over the
279 gdb_unbuffer_output call.
280 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
281 (main): Call gdb_unbuffer_output.
282 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
283 (main): Call gdb_unbuffer_output.
284 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
285 (main): Rename to ...
288 * gdb.base/varargs.exp: Run to test instead of to main.
289 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
290 (main): Call gdb_unbuffer_output.
292 2015-07-29 Pedro Alves <palves@redhat.com>
294 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
295 factore out from mi_continue_dprintf. For call-style dprintfs,
296 expect dprintf output out of $inferior_spawn_id.
297 (mi_continue_dprintf): Use mi_expect_dprintf.
298 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
299 (main): Call gdb_unbuffer_output.
301 2015-07-29 Pedro Alves <palves@redhat.com>
303 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
304 (default_mi_gdb_start): Set inferior_spawn_id instead of
305 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
307 (mi_gdb_test): Always expect inferior output from both
308 $inferior_spawn_id and $gdb_spawn_id.
310 2015-07-29 Pedro Alves <palves@redhat.com>
312 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
313 send_inferior and $inferior_spawn_id.
315 2015-07-29 Pedro Alves <palves@redhat.com>
317 * gdb.gdb/complaints.exp (test_initial_complaints)
318 (test_serial_complaints, test_short_complaints): Use
320 (test_empty_complaint): Handle $inferior_spawn_id !=
323 2015-07-29 Pedro Alves <palves@redhat.com>
325 * gdb.base/varargs.exp: Use gdb_test_stdio.
327 2015-07-29 Pedro Alves <palves@redhat.com>
329 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
331 2015-07-29 Pedro Alves <palves@redhat.com>
333 * gdb.base/ending-run.exp: Use gdb_test_stdio.
335 2015-07-29 Pedro Alves <palves@redhat.com>
337 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
338 parameter into two new parameters, "inf_result" and "gdb_result".
339 Expect inferior output and gdb output from $inferior_spawn_id and
340 $gdb_spawn_id, respectively. Adjust all callers.
342 2015-07-29 Pedro Alves <palves@redhat.com>
344 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
345 of gdb_test_sequence.
347 2015-07-29 Pedro Alves <palves@redhat.com>
349 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
350 (saw_spurious_output): Expect inferior output from
351 $inferior_spawn_id. Use gdb_test_stdio.
353 2015-07-29 Pedro Alves <palves@redhat.com>
355 * gdb.base/dprintf.exp: Use standard_testfile. Change
356 prepare_for_testing call.
357 (srcfile): Don't set.
358 (restart): New procedure.
359 (test_dprintf): New procecure, use to continue over dprintfs.
360 (test_call, test_agent): New procedures, tests moved here.
361 Restart gdb and recreate dprintfs. Adjust expected output.
363 2015-07-29 Pedro Alves <palves@redhat.com>
365 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
367 2015-07-29 Pedro Alves <palves@redhat.com>
369 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
371 2015-07-29 Pedro Alves <palves@redhat.com>
373 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
376 2015-07-29 Pedro Alves <palves@redhat.com>
378 * lib/gdb.exp (gdb_test_stdio): New procedure.
380 2015-07-29 Pedro Alves <palves@redhat.com>
382 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
384 2015-07-29 Pedro Alves <palves@redhat.com>
386 * gdb.base/call-signal-resume.exp: Remove check for
387 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
388 * gdb.base/unwindonsignal.exp: Likewise.
389 * gdb.base/call-signals.c (gen_signal): Remove printf call.
390 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
392 2015-07-29 Pedro Alves <palves@redhat.com>
394 * gdb.base/siginfo-addr.c (pass): New function.
395 (handler): Call it iff si_addr is correct.
396 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
397 Set a breakpoint at "pass" and continue to it.
399 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
401 * gdb.python/py-objfile.exp: Make some tests have unique names.
402 * gdb.python/py-pp-registration.exp: Likewise.
404 2015-07-28 Pedro Alves <palves@redhat.com>
406 * gdb.server/server-exec-info.exp: Issue a "disconnect".
408 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
410 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
412 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
414 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
416 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
418 * gdb.base/gdb-sigterm-2.exp: New test.
420 2015-07-25 Doug Evans <xdje42@gmail.com>
423 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
424 (workers/%.worker, build-perf): New rule.
425 (GDB_PERFTEST_MODE): New variable.
426 (check-perf): Use it.
427 (clean): Clean up gdb.perf parallel build subdirs.
428 * lib/build-piece.exp: New file.
429 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
430 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
432 (standard_temp_file): Ditto.
433 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
436 2015-07-24 Doug Evans <dje@google.com>
438 * gdb.perf/lib/perftest/utils.py: New file.
439 * gdb.perf/gm-hello.cc: New file.
440 * gdb.perf/gm-pervasive-typedef.cc: New file.
441 * gdb.perf/gm-pervasive-typedef.h: New file.
442 * gdb.perf/gm-std.cc: New file.
443 * gdb.perf/gm-std.h: New file.
444 * gdb.perf/gm-use-cerr.cc: New file.
445 * gdb.perf/gm-utils.h: New file.
446 * gdb.perf/gmonster-null-lookup.py: New file.
447 * gdb.perf/gmonster-pervasive-typedef.py: New file.
448 * gdb.perf/gmonster-print-cerr.py: New file.
449 * gdb.perf/gmonster-ptype-string.py: New file.
450 * gdb.perf/gmonster-runto-main.py: New file.
451 * gdb.perf/gmonster-select-file.py: New file.
452 * gdb.perf/gmonster1-null-lookup.exp: New file.
453 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
454 * gdb.perf/gmonster1-print-cerr.exp: New file.
455 * gdb.perf/gmonster1-ptype-string.exp: New file.
456 * gdb.perf/gmonster1-runto-main.exp: New file.
457 * gdb.perf/gmonster1-select-file.exp: New file.
458 * gdb.perf/gmonster1.cc: New file.
459 * gdb.perf/gmonster1.exp: New file.
460 * gdb.perf/gmonster2-null-lookup.exp: New file.
461 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
462 * gdb.perf/gmonster2-print-cerr.exp: New file.
463 * gdb.perf/gmonster2-ptype-string.exp: New file.
464 * gdb.perf/gmonster2-runto-main.exp: New file.
465 * gdb.perf/gmonster2-select-file.exp: New file.
466 * gdb.perf/gmonster2.cc: New file.
467 * gdb.perf/gmonster2.exp: New file.
469 2015-07-24 Doug Evans <dje@google.com>
471 * gdb.perf/README: New file.
472 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
473 * lib/gen-perf-test.exp: New file.
475 2015-07-24 Doug Evans <dje@google.com>
477 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
478 (PerfTest::startup): New function.
479 (PerfTest::run): Return result of calling body.
480 (PerfTest::assemble): Rewrite.
481 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
482 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
483 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
484 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
485 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
487 2015-07-24 Doug Evans <dje@google.com>
489 * lib/gdb.exp (clean_restart): Make executable optional.
491 2015-07-24 Doug Evans <dje@google.com>
493 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
494 compiler_info references.
495 * gdb.cp/temargs.exp: Ditto.
496 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
497 (get_compiler_info): Early exit if already computed. Set compiler_info
498 to "unknown" if there was a problem.
499 (test_compiler_info): Add function comment. Call get_compiler_info.
501 2015-07-24 Doug Evans <dje@google.com>
503 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
504 (workers/%.worker, build-perf): New rule.
505 (GDB_PERFTEST_MODE): New variable.
506 (check-perf): Use it.
507 (clean): Clean up gdb.perf parallel build subdirs.
508 * lib/build-piece.exp: New file.
509 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
510 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
512 (standard_temp_file): Ditto.
513 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
516 2015-07-24 Doug Evans <dje@google.com>
518 * lib/future.exp (gdb_default_target_compile): New option
520 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
523 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
525 * gdb.base/catch-syscall.exp: Call gdb_exit before
528 2015-07-24 Pedro Alves <palves@redhat.com>
530 * gdb.python/py-events.exp: Accept output between the stop event
532 * gdb.python/py-evsignal.exp: Likewise.
533 * gdb.python/py-evthreads.exp: Likewise.
535 2015-07-24 Pedro Alves <palves@redhat.com>
538 * gdb.threads/non-ldr-exit.c: New file.
539 * gdb.threads/non-ldr-exit.exp: New file.
541 2015-07-24 Yao Qi <yao.qi@linaro.org>
543 * gdb.server/ext-wrapper.exp: Test --wrapper option when
546 2015-07-24 Yao Qi <yao.qi@linaro.org>
548 * gdb.server/ext-restart.exp: New file.
550 2015-07-24 Yao Qi <yao.qi@linaro.org>
552 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
554 * gdb.server/ext-wrapper.exp: New file.
556 2015-07-23 Doug Evans <dje@google.com>
558 * gdb.dwarf2/dw2-dummy-cu.S: New file.
559 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
561 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
563 * gdb.ada/var_arr_typedef.exp: New testcase.
564 * gdb.ada/var_arr_typedef/pack.adb: New file.
565 * gdb.ada/var_arr_typedef/pack.ads: New file.
566 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
568 2015-07-20 Joel Brobecker <brobecker@adacore.com>
570 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
572 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
574 * gdb.arch/i386-biarch-core.exp: Replace istarget
575 by "complete set gnutarget". Remove expectation for the "core-file"
578 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
580 Revert the previous commit:
581 Tests for validate symbol file using build-id.
583 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
585 Tests for validate symbol file using build-id.
586 * gdb.base/solib-mismatch-lib.c: New file.
587 * gdb.base/solib-mismatch-libmod.c: New file.
588 * gdb.base/solib-mismatch.c: New file.
589 * gdb.base/solib-mismatch.exp: New file.
591 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
593 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
595 * gdb.base/sigbpt.exp (stepi_out): Likewise.
596 * gdb.base/siginfo.exp: Likewise.
597 * gdb.base/sigstep.exp (advance, advancei): Likewise.
599 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
601 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
603 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
605 * gdb.trace/range-stepping.exp: Check that the target supports
608 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
610 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
612 2015-07-14 Pedro Alves <palves@redhat.com>
614 * gdb.base/killed-outside.exp: New file.
615 * gdb.base/killed-outside.c: New file.
617 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
619 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
621 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
623 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
625 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
626 infcall tests instead of setting up for KFAIL.
628 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
630 * gdb.btrace/record_goto-step.exp: New.
632 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
635 * gdb.compile/compile.c (struct struct_type): Add volatile to
637 * gdb.compile/compile.exp
638 (compile code struct_object.selffield = &struct_object): Skip further
639 struct_object tests if this one xfails.
641 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
644 * gdb.trace/ax.exp: Add test.
646 2015-07-07 Yao Qi <yao.qi@linaro.org>
648 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
649 instead of istarget "aarch64*-*-*".
650 * gdb.arch/aarch64-fp.exp: Likewise.
651 * gdb.base/float.exp: Likewise.
652 * gdb.reverse/aarch64.exp: Likewise.
653 * lib/gdb.exp (is_aarch64_target): New proc.
655 2015-07-07 Yao Qi <yao.qi@linaro.org>
657 * lib/gdb.exp (is_aarch32_target): New proc.
658 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
659 instead of "istarget "arm*-*-*"".
660 * gdb.arch/arm-disp-step.exp: Likewise.
661 * gdb.arch/thumb-bx-pc.exp: Likewise.
662 * gdb.arch/thumb-prologue.exp: Likewise.
663 * gdb.arch/thumb-singlestep.exp: Likewise.
664 * gdb.base/disp-step-syscall.exp: Likewise.
665 * gdb.base/float.exp: Likewise.
667 2015-07-07 Yao Qi <yao.qi@linaro.org>
669 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
670 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
672 2015-07-07 Yao Qi <yao.qi@linaro.org>
674 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
675 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
677 * gdb.multi/multi-arch.exp: Likewise.
679 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
681 * gdb.python/py-lazy-string.exp: Add missing parentheses to
684 2015-07-07 Yao Qi <yao.qi@linaro.org>
686 * gdb.arch/thumb-singlestep.exp: Do one more single step.
688 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
690 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
691 '[' and ']' characters.
693 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
695 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
697 2015-06-29 Pedro Alves <palves@redhat.com>
700 * gdb.threads/hand-call-new-thread.c: New file.
701 * gdb.threads/hand-call-new-thread.c: New file.
703 2015-06-26 Keith Seitz <keiths@redhat.com>
704 Doug Evans <dje@google.com>
707 * gdb.cp/var-tag-2.cc: New file.
708 * gdb.cp/var-tag-3.cc: New file.
709 * gdb.cp/var-tag-4.cc: New file.
710 * gdb.cp/var-tag.cc: New file.
711 * gdb.cp/var-tag.exp: New file.
713 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
715 * gdb.base/history-duplicates.exp: New test.
717 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
719 * gdb.base/completion.exp: Test the completion of the "focus"
722 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
724 * gdb.arch/amd64-prologue-skip.S: New file.
725 * gdb.arch/amd64-prologue-skip.exp: New file.
727 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
729 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
730 is_address_zero_readable check.
732 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
734 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
735 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
737 2015-06-24 Yao Qi <yao.qi@linaro.org>
739 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
742 2015-06-24 Yao Qi <yao.qi@linaro.org>
744 * lib/gdb.exp (supports_get_siginfo_type): New proc.
745 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
746 * gdb.base/siginfo-thread.exp: Likewise.
748 2015-06-22 Yao Qi <yao.qi@linaro.org>
750 * boards/remote-gdbserver-on-localhost.exp: Add comments.
752 2015-06-22 Yao Qi <yao.qi@linaro.org>
754 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
756 (skip_hw_watchpoint_tests): Likewise.
758 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
760 * gdb.base/gdbinit-history.exp: Test the interaction between
761 setting GDBHISTSIZE and setting the history size via .gdbinit.
763 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
766 * gdb.base/gdbhistsize-history.exp: New test.
768 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
770 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
772 * gdb.base/readline.exp: Likewise.
774 2015-06-17 Yao Qi <yao.qi@linaro.org>
776 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
779 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
781 * gdb.base/gdbinit-history.exp: Add test case to check that
782 an unlimited history file does not get truncated on exit.
784 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
786 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
787 (VECTOR): New macro. Use it...
788 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
789 ...for these typedefs.
790 (int8, char1, int1, double1): New typedefs.
791 (struct just_int2, struct two_int2): New structures.
792 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
793 (add_structvecs, add_singlevecs): New functions.
794 (main): Call add_some_intvecs twice.
795 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
796 the compile and exit upon failure. Try compiling for the "native"
797 architecture. Test inferior function calls with vector arguments
798 and vector return value handling with "finish" and "return".
800 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
802 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
803 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
805 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
807 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
810 * gdb.mi/mi-dprintf-pending.c: New file.
811 * gdb.mi/mi-dprintf-pending.exp: New test.
812 * gdb.mi/mi-dprintf-pendshr.c: New file.
814 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
815 Mircea Gherzan <mircea.gherzan@intel.com>
817 * gdb.arch/i386-mpx-map.c: New file.
818 * gdb.arch/i386-mpx-map.exp: New File.
820 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
822 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
823 * gdb.arch/i386-mpx.exp: Indentation fixed.
825 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
827 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
828 function and improved indentation.
829 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
830 gdb_test_multiple. Added additional tests to skip the test.
832 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
834 * gdb.arch/i386-avx512.c: Change path in include file.
835 * gdb.arch/i386-avx512.exp: Change include dir path
837 * gdb.arch/i386-mpx.c: Change path in include file.
838 * gdb.arch/i386-mpx.exp: Change include dir path compilation
841 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
843 * gdb.compile/compile-print.exp (compile print *vararray@3)
844 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
846 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
848 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
849 (do not keep jit in memory): ... this.
850 (expect 5): Change it to ...
851 (expect no 5): ... this.
853 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
856 * gdb.mi/mi-detach.exp: New file.
858 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
861 * gdb.arch/amd64-tailcall-self.S: New file.
862 * gdb.arch/amd64-tailcall-self.c: New file.
863 * gdb.arch/amd64-tailcall-self.exp: New file.
865 2015-05-28 Don Breazeal <donb@codesourcery.com>
867 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
868 tests for remote targets by checking is_target_gdbserver.
870 2015-05-27 Doug Evans <dje@google.com>
872 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
873 * gdb.dwarf2/opaque-type-lookup.c: New file.
874 * gdb.dwarf2/opaque-type-lookup.exp: New file.
876 2015-05-26 Doug Evans <dje@google.com>
878 * gdb.cp/iostream.cc: New file.
879 * gdb.cp/iostream.exp: New file.
881 2015-05-26 Doug Evans <dje@google.com>
883 * gdb.dwarf2/dw2-op-call.exp: Update.
884 * gdb.dwarf2/dw4-sig-types.exp: Update.
885 * gdb.dwarf2/implptr.exp: Update.
886 * gdb.mi/mi-cmd-param-changed.exp: Update.
888 2015-05-26 Doug Evans <dje@google.com>
890 * gdb.python/py-lazy-string.c: New file.
891 * gdb.python/py-lazy-string.exp: New file.
892 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
893 (main): Update. Add estring3.
894 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
895 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
897 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
898 Yao Qi <yao.qi@linaro.org>
900 * gdb.reverse/aarch64.c: New.
901 * gdb.reverse/aarch64.exp: New.
903 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
905 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
906 (supports_reverse): Likewise.
908 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
910 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
911 Use with_test_prefix.
913 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
915 * gdb.base/completion.exp: Add test for completion of layout
918 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
920 * lib/gdb.exp (skip_tui_tests): New proc.
921 * gdb.base/tui-layout.exp: Check skip_tui_tests.
923 2015-05-19 Pedro Alves <palves@redhat.com>
925 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
926 Save the whole env array instead of just HOME. Unset HISTSIZE in
927 the environment while testing. Restore whole environment
930 2015-05-16 Doug Evans <xdje42@gmail.com>
932 * gdb.guile/scm-ports.c: New file.
933 * gdb.guile/scm-ports.exp: Add memory port tests.
935 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
937 * gdb.compile/compile-print.c: New file.
938 * gdb.compile/compile-print.exp: New file.
940 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
942 * gdb.compile/compile-ops.exp: Cast param to void.
943 * gdb.compile/compile.exp: Complete type for _gdb_expr.
944 (compile code struct_object.selffield = &struct_object): Add xfail.
946 2015-05-15 Joel Brobecker <brobecker@adacore.com>
948 * gdb.ada/arr_enum_with_gap: New testcase.
950 2015-05-15 Joel Brobecker <brobecker@adacore.com>
952 * gdb.ada/byte_packed_arr: New testcase.
954 2015-05-15 Joel Brobecker <brobecker@adacore.com>
956 * gdb.ada/pckd_neg: New testcase.
958 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
961 * gdb.base/gdbinit-history.exp: New test.
962 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
963 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
965 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
967 * gdb.python/py-xmethods.cc: Enhance test case.
968 * gdb.python/py-xmethods.exp: New tests.
969 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
971 (B_indexoper): Likewise.
972 (global_dm_list) : Add new xmethod worker functions.
974 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
976 * gdb.base/coredump-filter.exp: Correctly unset
977 "coredump_var_addr" array.
979 2015-05-08 Pedro Alves <palves@redhat.com>
981 * gdb.server/non-existing-program.exp: Unset spawn_id.
983 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
986 * gdb.python/py-xmethods.exp: Add tests.
988 2015-05-08 Yao Qi <yao.qi@linaro.org>
991 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
992 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
993 function set_coredump_filter, and remove remote_exec call.
994 Remove argument ipid. Callers update.
995 (top level): Don't get inferior's PID.
997 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
999 * gdb.base/watch_thread_num.exp: Skip test on targets without
1002 2015-05-06 Pedro Alves <palves@redhat.com>
1005 * gdb.server/non-existing-program.exp: New file.
1007 2015-05-05 Joel Brobecker <brobecker@adacore.com>
1009 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
1011 2015-05-05 Joel Brobecker <brobecker@adacore.com>
1013 * gdb.ada/out_of_line_in_inlined: New testcase.
1015 2015-05-05 Joel Brobecker <brobecker@adacore.com>
1017 * gdb.ada/var_rec_arr: New testcase.
1019 2015-04-30 Yao Qi <yao.qi@linaro.org>
1021 * gdb.base/break-idempotent.exp: If
1022 skip_hw_watchpoint_multi_tests returns true, skip the tests
1023 on "rwatch" and "awatch".
1025 2015-04-30 Yao Qi <yao.qi@linaro.org>
1027 * gdb.base/relativedebug.exp: Invoke gdb command
1028 "info sharedlibrary", and if libc.so doesn't have debug info,
1031 2015-04-29 Doug Evans <dje@google.com>
1033 * gdb.python/py-xmethods.exp: Add ptype tests.
1034 * gdb.python/py-xmethods.py (E_method_char_worker): Add
1035 get_result_type method.
1037 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
1039 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
1040 the target does not support hardware watchpoints.
1042 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
1044 * gdb.base/break-always.exp: Abort testing if writing to memory
1047 2015-04-28 Doug Evans <dje@google.com>
1049 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
1050 * gdb.python/py-pp-registration.exp: ... here. New file.
1051 * gdb.python/py-pp-registration.c: New file.
1052 * gdb.python/py-pp-registration.py: New file.
1054 2015-04-28 Doug Evans <dje@google.com>
1056 * gdb.python/py-bad-printers.c: New file.
1057 * gdb.python/py-bad-printers.py: New file.
1058 * gdb.python/py-bad-printers.exp: New file.
1060 2015-04-28 Sasha Smundak <asmundak@google.com>
1062 * gdb.python/py-type.exp: New test.
1064 2015-04-28 Andy Wingo <wingo@igalia.com>
1066 * gdb.python/py-parameter.exp:
1067 * gdb.guile/scm-parameter.exp: Escape the path that we are
1068 matching against, as it might contain characters that are special
1069 to regular expressions.
1071 2015-04-27 Joel Brobecker <brobecker@adacore.com>
1073 * gdb.ada/rec_comp: New testcase.
1075 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
1077 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
1080 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
1082 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
1083 new tests for verilog output.
1085 2015-04-24 Yao Qi <yao.qi@linaro.org>
1087 * boards/remote-gdbserver-on-localhost.exp: New file.
1089 2015-04-23 Pedro Alves <palves@redhat.com>
1091 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
1092 $inferior_spawn_id instead of $inferior_spawn_id directly. On
1093 "end of file", remove $inferior_spawn_id from the indirect list.
1095 2015-04-23 Pedro Alves <palves@redhat.com>
1097 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
1099 2015-04-23 Pedro Alves <palves@redhat.com>
1101 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
1102 on $any_spawn_id instead of only on $gdb_spawn_id.
1104 2015-04-21 Pierre Muller <muller@sourceware.org>
1107 * lib/pascal.exp (gpc_compile): Add new option "class".
1108 (fpc_compile): Likewise.
1109 * gdb.pascal/case-insensitive-symbols.pas: New file.
1110 * gdb.pascal/case-insensitive-symbols.exp: New file.
1112 2015-04-20 Gary Benson <gbenson@redhat.com>
1114 * gdb.base/attach.exp: Fix three extended remote failures.
1116 2015-04-17 Gary Benson <gbenson@redhat.com>
1118 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
1119 the main executable over the remote protocol.
1121 2015-04-16 Pedro Alves <palves@redhat.com>
1123 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
1124 a new gdbserver if gdbserver_reconnect_p is set.
1126 2015-04-16 Pedro Alves <palves@redhat.com>
1128 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
1129 is set, don't exit gdbserver.
1131 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1133 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
1134 appropriate .insn, such that an older assembler can be used.
1135 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
1136 the z/Architecture instruction set on 31-bit targets as well.
1138 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1140 * gdb.go/handcall.exp: Remove all logic related to the first
1141 breakpoint and rely on go_runto_main instead.
1142 * gdb.go/strings.exp: Likewise.
1143 * gdb.go/unsafe.exp: Likewise.
1144 * gdb.go/hello.exp: Likewise. Also rename the remaining
1145 breakpoint marker to "breakpoint 1".
1146 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
1147 * gdb.go/strings.go: Likewise.
1148 * gdb.go/unsafe.go: Likewise.
1149 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
1150 "set breakpoint 2 here" and rename the remaining breakpoint marker
1153 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
1155 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
1156 if itertools.imap is not present.
1157 * gdb.python/py-objfile.exp: Add parentheses.
1158 * gdb.python/py-type.exp: Same.
1159 * gdb.python/py-unwind-maint.py: Same.
1161 2015-04-15 Yao Qi <yao.qi@linaro.org>
1163 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
1164 of ":$ptr_size" and set its form explicitly.
1166 2015-04-15 Pedro Alves <palves@redhat.com>
1167 Yao Qi <yao.qi@linaro.org>
1169 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
1170 timeout by factor of 4.
1171 (test_regular_watch): Likewise.
1172 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
1173 * gdb.reverse/sigall-reverse.exp: Likewise.
1174 * gdb.reverse/until-precsave.exp: Likewise.
1175 * lib/gdb.exp (with_timeout_factor): New proc.
1176 (gdb_expect): Move some code to ...
1177 (get_largest_timeout): ... here. New procedure.
1179 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
1181 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
1183 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
1185 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
1186 to write to the .text section.
1188 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
1190 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
1191 Handle the case of targets that do not provide PID information.
1193 2015-04-13 Yao Qi <yao.qi@linaro.org>
1195 * lib/gdbserver-support.exp (gdb_exit): Catch exception
1196 and use expect instead of gdb_expect.
1198 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
1200 * gdb.base/coredump-filter.exp: Rename variable "addr" to
1201 "coredump_var_addr" to avoid naming conflict with other testcases.
1203 2015-04-10 Pedro Alves <palves@redhat.com>
1205 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
1206 gdb_test_sequence and gdb_assert.
1208 2015-04-10 Pedro Alves <palves@redhat.com>
1210 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
1211 test messages that don't include the breakpoint address.
1213 2015-04-10 Yao Qi <yao.qi@linaro.org>
1215 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
1216 false for some offset and width combinations which aren't
1217 supported by linux kernel.
1219 2015-04-10 Pedro Alves <palves@redhat.com>
1221 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
1222 procedure, factored out from ...
1223 (top level): ... here. Add "set displaced-stepping" testing axis.
1224 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
1225 parameter "displaced". Use it.
1226 (top level): Use foreach and add "set displaced-stepping" testing
1229 2015-04-10 Pedro Alves <palves@redhat.com>
1231 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
1233 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
1234 both the address of the instruction that triggers the watchpoint
1235 and the address of the instruction immediately after, and use
1236 those addresses for the test. Fix comment.
1238 2015-04-10 Pedro Alves <palves@redhat.com>
1240 * gdb.base/sigstep.exp (breakpoint_to_handler)
1241 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
1242 Test "backtrace" in handler.
1243 (breakpoint_over_handler): New parameter 'displaced'. Use it.
1244 (top level): Add new "displaced" test axis to
1245 breakpoint_to_handler, breakpoint_to_handler_entry and
1246 breakpoint_over_handler.
1248 2015-04-10 Pedro Alves <palves@redhat.com>
1251 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
1253 2015-04-10 Yao Qi <yao.qi@linaro.org>
1255 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
1256 (test_add_rn_pc): New function.
1257 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
1258 (top level): Invoke test_add_rn_pc.
1260 2015-04-10 Pedro Alves <palves@redhat.com>
1263 * gdb.base/step-over-no-symbols.exp: New file.
1265 2015-04-09 Andy Wingo <wingo@igalia.com>
1267 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
1268 after the Python tests.
1270 2015-04-08 Keith Seitz <keiths@redhat.com>
1273 * gdb.python/py-completion.exp: New tests for completion.
1274 * gdb.python/py-completion.py (CompleteLimit1): New class.
1275 (CompleteLimit2): Likewise.
1276 (CompleteLimit3): Likewise.
1277 (CompleteLimit4): Likewise.
1278 (CompleteLimit5): Likewise.
1279 (CompleteLimit6): Likewise.
1280 (CompleteLimit7): Likewise.
1282 2015-04-08 Pedro Alves <palves@redhat.com>
1286 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
1288 (main): Install it as SIGUSR1 handler.
1289 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
1290 parameter. Always use "setup" as prefix. Toggle "set
1291 displaced-stepping" off/on depending on global. Don't switch to
1293 (top level): Add displaced stepping "off/on" test axis. Update
1294 "setup" calls. Wrap each subtest with with_test_prefix. Test
1295 continuing with a queued signal in each thread.
1297 2015-04-08 Pedro Alves <palves@redhat.com>
1299 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
1300 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
1301 gdb_breakpoint instead of gdb_test that doesn't expect anything.
1302 Return early if running to main fails.
1303 * gdb.trace/while-stepping.exp: Likewise.
1305 2015-04-07 Pedro Alves <palves@redhat.com>
1307 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
1308 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
1309 interact with inferior program.
1311 2015-04-07 Pedro Alves <palves@redhat.com>
1313 * lib/gdb.exp (inferior_spawn_id): New global.
1314 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
1315 spawn id after processing the user code.
1316 (default_gdb_start): Set inferior_spawn_id.
1317 (send_inferior): New procedure.
1318 * lib/gdbserver-support.exp (gdbserver_start): Set
1320 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
1322 2015-04-07 Pedro Alves <palves@redhat.com>
1324 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
1325 * lib/gdbserver-support.exp (gdbserver_start): Make
1326 $server_spawn_id global.
1327 (gdbserver_start): Don't wait for gdbserver's spawn id with
1329 (close_gdbserver): New procedure.
1330 (gdb_exit): Rename the default version and reimplement.
1332 2015-04-07 Pedro Alves <palves@redhat.com>
1334 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
1335 append the substituted item, not the original item.
1337 2015-04-07 Pedro Alves <palves@redhat.com>
1339 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
1342 2015-04-07 Pedro Alves <palves@redhat.com>
1344 * gdb.base/interrupt.exp: Don't handle the case of the inferior
1345 output appearing once only.
1347 2015-04-07 Pedro Alves <palves@redhat.com>
1349 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
1350 that doesn't expect anything. Return early if running to main
1353 2015-04-07 Yao Qi <yao.qi@linaro.org>
1355 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
1356 (child_function): Call alarm.
1357 (main): Move call to alarm into the loop.
1358 * gdb.threads/non-stop-fair-events.exp: Build program with
1361 2015-04-06 Doug Evans <xdje42@gmail.com>
1363 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
1364 Fix dest parameter to board_info.
1365 (fpc_compile): Ditto.
1366 (gdb_compile_pascal): Rename dest arg to destfile.
1368 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
1370 * gdb.ada/funcall_ref.exp: New file.
1371 * gdb.ada/funcall_ref/foo.adb: New file.
1373 2015-04-02 Yao Qi <yao.qi@linaro.org>
1375 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
1378 2015-04-02 Gary Benson <gbenson@redhat.com>
1380 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
1382 2015-04-01 Sasha Smundak <asmundak@google.com>
1384 * gdb.python/py-unwind-maint.c: New file.
1385 * gdb.python/py-unwind-maint.exp: New test.
1386 * gdb.python/py-unwind-maint.py: New file.
1387 * gdb.python/py-unwind.c: New file.
1388 * gdb.python/py-unwind.exp: New test.
1389 * gdb.python/py-unwind.py: New test.
1391 2015-04-01 Pedro Alves <palves@redhat.com>
1393 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
1394 to fail instead of non-existent $test.
1396 2015-04-01 Pedro Alves <palves@redhat.com>
1398 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
1399 GDBFLAGS if not empty.
1401 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
1403 * gdb.ada/complete.exp: Remove "multi_line".
1404 * gdb.ada/info_exc.exp: Remove "multi_line".
1405 * gdb.ada/packed_tagged.exp: Remove "multi_line".
1406 * gdb.ada/ptype_field.exp: Remove "multi_line".
1407 * gdb.ada/sym_print_name.exp: Remove "multi_line".
1408 * gdb.ada/tagged.exp: Remove "multi_line".
1409 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
1411 * gdb.btrace/delta.exp: Likewise.
1412 * gdb.btrace/exception.exp: Likewise.
1413 * gdb.btrace/function_call_history.exp: Likewise.
1414 * gdb.btrace/instruction_history.exp: Likewise.
1415 * gdb.btrace/nohist.exp: Likewise.
1416 * gdb.btrace/record_goto.exp: Likewise.
1417 * gdb.btrace/segv.exp: Likewise.
1418 * gdb.btrace/stepi.exp: Likewise.
1419 * gdb.btrace/tailcall.exp: Likewise.
1420 * gdb.btrace/unknown_functions.exp: Likewise.
1421 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
1422 * lib/gdb.exp: Add the "multi_line" helper.
1424 2015-04-01 Pedro Alves <palves@redhat.com>
1426 * gdb.threads/tid-reuse.c: New file.
1427 * gdb.threads/tid-reuse.exp: New file.
1429 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
1432 * gdb.base/coredump-filter.c: New file.
1433 * gdb.base/coredump-filter.exp: Likewise.
1435 2015-03-27 Petr Machata <pmachata@redhat.com>
1437 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
1438 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
1439 (Dwarf::assemble): Initialize them.
1440 (Dwarf::lines): New function.
1442 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
1444 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
1445 SYMBOL_PREFIX for x86_64-*-cygwin.
1447 2015-03-26 Andy Wingo <wingo@igalia.com>
1450 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
1451 const_value but not a location.
1452 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
1453 location defined in non-main CUs are visible.
1455 2015-03-26 Yao Qi <yao.qi@linaro.org>
1458 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
1459 Add a line number entry for the same line.
1460 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
1461 Add a line number entry for the same line.
1463 2015-03-26 Yao Qi <yao.qi@linaro.org>
1465 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
1467 (func): Likewise. Add .Lfunc_1 label.
1469 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
1474 2015-03-26 Yao Qi <yao.qi@linaro.org>
1476 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
1477 Call gdb_compile instead to compile each .s files without debug
1480 2015-03-26 Yao Qi <yao.qi@linaro.org>
1482 * gdb.base/savedregs.exp (process_saved_regs): Make
1483 "Saved registers:" optional in the pattern.
1485 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
1487 * gdb.btrace/next.exp: Merged into step.exp.
1488 * gdb.btrace/finish.exp: Merged into step.exp.
1489 * gdb.btrace/nexti.exp: Merged into stepi.exp.
1490 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
1491 "record goto" and checking the exact replay position.
1492 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
1493 check for "Recording format" in "info record" output.
1494 * gdb.btrace/record_goto.exp: Choose test file based on target.
1495 * gdb.btrace/x86-record_goto.S: Renamed into ...
1496 * gdb.btrace/x86_64-record_goto.S: ... this.
1497 * gdb.btrace/i686-record_goto.S: New.
1498 * gdb.btrace/x86-tailcall.S: Renamed into ...
1499 * gdb.btrace/x86_64-tailcall.S: ... this.
1500 * gdb.btrace/i686-tailcall.S: New.
1501 * gdb.btrace/x86-tailcall.c: Renamed into ...
1502 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
1503 separate statements. Update test.
1504 * gdb.btrace/delta.exp: Use record_goto.c as test file.
1505 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
1506 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
1507 * gdb.btrace/tailcall.exp: Choose test file based on target.
1508 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
1510 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
1512 * gdb.btrace/exception.exp: Increase BTS buffer size.
1514 2015-03-24 Pedro Alves <palves@redhat.com>
1516 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
1518 2015-03-24 Pedro Alves <palves@redhat.com>
1520 * gdb.threads/schedlock.exp (test_step): No longer expect that
1521 "set scheduler-locking step" with "next" over a function call runs
1524 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1526 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
1528 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1530 PR breakpoints/16466
1531 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
1532 * gdb.mi/mi-pending.c (thread_func): New function.
1533 (int main): Add threading support required.
1534 * gdb.mi/mi-pending.exp: Add tests for this issue.
1535 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
1536 (pendfunc2): Remove stdio dependency.
1537 * gdb.mi/mi-pendshr2.c: New file.
1539 2015-03-23 Keith Seitz <keiths@redhat.com>
1541 * gdb.linespec/keywords.c: New file.
1542 * gdb.linespec/keywords.exp: New file.
1544 2015-03-23 Keith Seitz <keiths@redhat.com>
1547 * gdb.dwarf2/staticvirtual.exp: New test.
1549 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1551 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
1552 * README: Remove HP-UX and gdb.hp.
1554 * configure: Regenerate.
1555 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
1556 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
1557 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
1558 gdb.hp/gdb.defects/Makefile.
1559 * gdb.hp/Makefile.in: File deleted.
1560 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
1561 * gdb.hp/gdb.aCC/optimize.c: File deleted.
1562 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
1563 * gdb.hp/gdb.aCC/run.c: File deleted.
1564 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
1565 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
1566 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
1567 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
1568 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
1569 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
1570 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
1571 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
1572 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
1573 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
1574 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
1575 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
1576 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
1577 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
1578 * gdb.hp/gdb.base-hp/reg.s: File deleted.
1579 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
1580 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
1581 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
1582 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
1583 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
1584 * gdb.hp/gdb.compat/Makefile.in: File deleted.
1585 * gdb.hp/gdb.compat/average.c: File deleted.
1586 * gdb.hp/gdb.compat/sum.c: File deleted.
1587 * gdb.hp/gdb.compat/xdb.c: File deleted.
1588 * gdb.hp/gdb.compat/xdb0.c: File deleted.
1589 * gdb.hp/gdb.compat/xdb0.h: File deleted.
1590 * gdb.hp/gdb.compat/xdb1.c: File deleted.
1591 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
1592 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
1593 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
1594 * gdb.hp/gdb.defects/Makefile.in: File deleted.
1595 * gdb.hp/gdb.defects/bs14602.c: File deleted.
1596 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
1597 * gdb.hp/gdb.defects/solib-d.c: File deleted.
1598 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
1599 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
1600 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
1601 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
1602 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
1603 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
1604 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
1605 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
1606 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
1607 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
1608 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
1609 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
1610 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
1611 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
1612 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
1613 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
1614 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
1615 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
1616 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
1617 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
1618 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
1619 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
1620 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
1621 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
1622 * gdb.hp/tools/odump: File deleted.
1624 2015-03-19 Pedro Alves <palves@redhat.com>
1626 * gdb.threads/continue-pending-status.exp (saw_thread_2)
1627 (saw_thread_3): New globals.
1628 (top level): Increment them when an event for the corresponding
1630 (no thread starvation): New test.
1632 2015-03-19 Pedro Alves <palves@redhat.com>
1634 * gdb.threads/continue-pending-status.c: New file.
1635 * gdb.threads/continue-pending-status.exp: New file.
1637 2015-03-18 Pedro Alves <palves@redhat.com>
1639 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1640 Use gdb_is_target_remote instead of is_remote. Use
1641 gdb_test_multiple instead of gdb_expect. Exit early if
1642 gdb_test_multiple hits its internal matches. Tighten stepi tests
1643 expected output. Fail on exit with any signal, instead of just
1646 2015-03-18 Yao Qi <yao.qi@linaro.org>
1649 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
1651 * gdb.base/catch-syscall.exp: Don't skip it on
1652 aarch64*-*-linux* target. Remove elements in all_syscalls.
1653 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
1655 (setup_all_syscalls): New proc.
1657 2015-03-16 Yao Qi <yao.qi@linaro.org>
1659 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
1660 (top level): Skip tests if valid_addr_p returns false for
1663 2015-03-11 Andy Wingo <wingo@igalia.com>
1665 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
1667 2015-03-11 Yao Qi <yao.qi@linaro.org>
1669 * gdb.base/catch-syscall.exp: Fix typo in comments.
1671 2015-03-11 Yao Qi <yao.qi@linaro.org>
1673 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
1675 2015-03-09 Pedro Alves <palves@redhat.com>
1677 * dg-extract-results.py: Delete.
1679 2015-03-09 Pedro Alves <palves@redhat.com>
1681 Merge dg-extract-results.sh from GCC upstream (r218843).
1683 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
1684 * dg-extract-results.sh: Use --text with grep to avoid issues with
1685 binary files. Fall back to cat -v, if that doesn't work.
1687 2015-03-05 Pedro Alves <palves@redhat.com>
1689 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
1691 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
1693 * lib/mi-support.exp (mi_expect_interrupt): Accept
1694 alternative event for when in all-stop mode.
1696 2015-03-04 Pedro Alves <palves@redhat.com>
1698 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
1700 2015-03-04 Mark Kettenis <kettenis@gnu.org>
1702 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
1704 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
1706 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
1707 regexps for GDB's current line display, accept a hex address
1708 preceding the line number.
1710 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
1712 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
1713 the 'arch1' variable for "s390*-linux*" targets.
1715 2015-03-04 Pedro Alves <palves@redhat.com>
1717 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
1718 (main): Pass missing retval argument to pthread_join call.
1720 2015-03-02 Pedro Alves <palves@redhat.com>
1722 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
1723 (top level): Call do_test with non-stop as well.
1725 2015-03-02 Pedro Alves <palves@redhat.com>
1727 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
1730 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1732 * gdb.arch/s390-vregs.exp: New test.
1733 * gdb.arch/s390-vregs.S: New file.
1735 2015-02-27 Pedro Alves <palves@redhat.com>
1737 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
1738 call to catch_command_errors.
1739 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
1740 catch_command_errors.
1742 2015-02-27 Pedro Alves <palves@redhat.com>
1744 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
1745 "true" for boolean result.
1746 * gdb.gdb/selftest.exp (test_with_self): Also accept full
1749 2015-02-27 Pedro Alves <palves@redhat.com>
1751 * lib/unbuffer_output.c: New file.
1752 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
1753 (main): Call gdb_unbuffer_output.
1755 2015-02-27 Yao Qi <yao.qi@linaro.org>
1757 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
1760 2015-02-26 Doug Evans <dje@google.com>
1762 * gdb.cp/class2.cc (Dbase, D): New classes.
1763 (main): New local delta.
1764 * gdb.cp/class2.exp: Test printing delta.
1765 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
1766 (dynbar): New global.
1767 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
1769 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1771 * gdb.compile/compile-ifunc.c: New file.
1772 * gdb.compile/compile-ifunc.exp: New file.
1774 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
1776 * gdb.base/structs.exp: Check for correct struct on finish.
1778 2015-02-26 Yao Qi <yao.qi@linaro.org>
1780 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
1783 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1785 * gdb.arch/cordic.ko.bz2: New file.
1786 * gdb.arch/cordic.ko.debug.bz2: New file.
1787 * gdb.arch/ppc64-symtab-cordic.exp: New file.
1789 2015-02-25 Yao Qi <yao.qi@linaro.org>
1791 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
1792 aarch64*-*-* target.
1794 2015-02-23 Pedro Alves <palves@redhat.com>
1796 * lib/gdb.exp (delete_breakpoints): Rewrite using
1799 2015-02-23 Pedro Alves <palves@redhat.com>
1801 * gdb.base/info-os.c: Include stdlib.h.
1803 2015-02-22 Doug Evans <xdje42@gmail.com>
1806 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
1807 is read after symbols have been re-read.
1808 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
1809 * gdb.ada/exec_changed/second.adb (Second): Ditto.
1811 2015-02-21 Doug Evans <dje@google.com>
1813 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
1815 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1818 * gdb.arch/i386-biarch-core.core.bz2: New file.
1819 * gdb.arch/i386-biarch-core.exp: New file.
1821 2015-02-21 Pedro Alves <palves@redhat.com>
1823 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
1826 2015-02-20 Pedro Alves <palves@redhat.com>
1828 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
1831 2015-02-20 Pedro Alves <palves@redhat.com>
1833 * gdb.threads/multi-create-ns-info-thr.exp: New file.
1835 2015-02-20 Pedro Alves <palves@redhat.com>
1837 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
1838 clean_restart before gdb_target_supports_trace.
1840 2015-02-20 Pedro Alves <palves@redhat.com>
1843 * gdb.threads/clone-thread_db.c: New file.
1844 * gdb.threads/clone-thread_db.exp: New file.
1846 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
1848 PR breakpoints/16812
1849 * gdb.base/catch-gdb-caused-signals.c: New file.
1850 * gdb.base/catch-gdb-caused-signals.exp: New file.
1852 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
1854 * configure: Regenerated.
1855 * configure.ac: Use GDB_AC_TRANSFORM.
1856 * aclocal.m4: sinclude ../transform.m4.
1858 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1860 * lib/dtrace.exp: New file.
1861 * gdb.base/dtrace-probe.exp: Likewise.
1862 * gdb.base/dtrace-probe.d: Likewise.
1863 * gdb.base/dtrace-probe.c: Likewise.
1864 * lib/pdtrace.in: Likewise.
1865 * configure.ac: Output variables with the transformed names of
1866 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
1867 * configure: Regenerated.
1869 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1871 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
1872 expected message when trying to access $_probe_* convenience
1873 variables while not on a probe.
1875 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1877 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
1879 2015-02-11 Pedro Alves <pedro@codesourcery.com>
1881 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
1882 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
1884 2015-02-10 Doug Evans <xdje42@gmail.com>
1886 * lib/gdb.exp (gdb_load): Always return a result.
1888 2015-02-10 Pedro Alves <palves@redhat.com>
1890 * gdb.threads/signal-sigtrap.c: New file.
1891 * gdb.threads/signal-sigtrap.exp: New file.
1893 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
1895 * gdb.trace/no-attach-trace.c: New file.
1896 * gdb.trace/no-attach-trace.exp: New file.
1898 2015-02-09 Mark Wielaard <mjw@redhat.com>
1900 * gdb.dwarf2/atomic.c: New file.
1901 * gdb.dwarf2/atomic-type.exp: Likewise.
1903 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1905 * gdb.btrace/buffer-size.exp: Update "info record" output.
1906 * gdb.btrace/delta.exp: Update "info record" output.
1907 * gdb.btrace/enable.exp: Update "info record" output.
1908 * gdb.btrace/finish.exp: Update "info record" output.
1909 * gdb.btrace/instruction_history.exp: Update "info record" output.
1910 * gdb.btrace/next.exp: Update "info record" output.
1911 * gdb.btrace/nexti.exp: Update "info record" output.
1912 * gdb.btrace/step.exp: Update "info record" output.
1913 * gdb.btrace/stepi.exp: Update "info record" output.
1914 * gdb.btrace/nohist.exp: Update "info record" output.
1916 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1918 * gdb.btrace/buffer-size: New.
1920 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1922 * gdb.btrace/delta.exp: Update "info record" output.
1923 * gdb.btrace/enable.exp: Update "info record" output.
1924 * gdb.btrace/finish.exp: Update "info record" output.
1925 * gdb.btrace/instruction_history.exp: Update "info record" output.
1926 * gdb.btrace/next.exp: Update "info record" output.
1927 * gdb.btrace/nexti.exp: Update "info record" output.
1928 * gdb.btrace/step.exp: Update "info record" output.
1929 * gdb.btrace/stepi.exp: Update "info record" output.
1930 * gdb.btrace/nohist.exp: Update "info record" output.
1932 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
1935 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
1937 2015-02-06 Pedro Alves <palves@redhat.com>
1939 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
1941 (seconds_left, again): New globals.
1942 (main): Wait seconds_left in a 1-second sleep loop instead of
1943 sleeping 180 seconds. If 'again' is set, reset the seconds
1945 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
1946 'again' in the inferior before detaching. Print the seconds left.
1947 (options): New global.
1948 (top level): Build program with -DTIMEOUT=$timeout.
1950 2015-02-06 Pedro Alves <palves@redhat.com>
1952 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
1953 determine how many seconds to pass to 'alarm'.
1954 * gdb.base/gdb-sigterm.exp (top level): Build program with
1956 (do_test): Return success/failure indication. Add more verbose
1957 logging. Don't fail if 200 single steps are seen. Instead, fail
1958 when the test times out.
1959 (passes): New global.
1960 (top level): Break the testing loop if testing fails on any
1961 iteration. Use gdb_assert.
1963 2015-02-04 Don Breazeal <donb@codesourcery.com>
1965 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
1966 and initialize them.
1967 (ipc_cleanup): New function.
1968 (main): Don't declare shmid, semid, and msqid. Add a call to
1969 atexit so that we call ipc_cleanup on exit.
1971 2015-02-04 Pedro Alves <palves@redhat.com>
1973 * boards/native-extended-gdbserver.exp: Remove any target variant
1974 specifications from the board name before clearing the isremote
1975 flag from board_info.
1977 2015-01-31 Doug Evans <xdje42@gmail.com>
1979 * gdb.base/maint.exp <maint print type argc>: Update expected output.
1981 2015-01-31 Gary Benson <gbenson@redhat.com>
1983 * gdb.base/completion.exp: Disable completion limiting for
1984 existing tests. Add new tests to check completion limiting.
1985 * gdb.linespec/ls-errs.exp: Disable completion limiting.
1987 2015-01-31 Doug Evans <xdje42@gmail.com>
1989 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
1991 2015-01-31 Doug Evans <xdje42@gmail.com>
1993 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
1994 entries. Duplicate file section script entries.
1995 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
1996 inlined entries. Add test for safe-path rejection.
1997 * gdb.python/py-section-script.c: Add duplicate inlined section script
1998 entries. Duplicate file section script entries.
1999 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
2000 inlined entries. Add test for safe-path rejection.
2002 2015-01-29 Joel Brobecker <brobecker@adacore.com>
2004 * gdb.ada/disc_arr_bound: New testcase.
2006 2015-01-29 Joel Brobecker <brobecker@adacore.com>
2008 * gdb.ada/mi_var_array: New testcase.
2010 2015-01-27 Doug Evans <dje@google.com>
2012 * gdb.python/py-objfile.exp: Add tests for objfile.username.
2013 Add test for objfile.filename, objfile.username after objfile
2016 2015-01-26 Joel Brobecker <brobecker@adacore.com>
2018 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
2019 the second test to print the name attribute of value
2020 returned by the call to gdb.lookup_type, and adjust
2021 the expected output accordingly.
2023 2015-01-25 Mark Wielaard <mjw@redhat.com>
2025 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
2026 * gdb.base/disp-step-fork.c: Include unistd.h.
2027 * gdb.base/siginfo-obj.c: Include stdio.h.
2028 * gdb.base/siginfo-thread.c: Likewise.
2029 * gdb.mi/non-stop.c: Include unistd.h.
2030 * gdb.mi/nsthrexec.c: Include stdio.h.
2031 * gdb.mi/pthreads.c: Include unistd.h.
2032 * gdb.modula2/unbounded1.c (main): Declare returns int.
2033 * gdb.reverse/consecutive-reverse.c: Likewise.
2034 * gdb.threads/create-fail.c: Include unistd.h.
2035 * gdb.threads/killed.c: Likewise.
2036 * gdb.threads/linux-dp.c: Likewise.
2037 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
2038 * gdb.threads/non-ldr-exc-2.c: Likewise.
2039 * gdb.threads/non-ldr-exc-3.c: Likewise.
2040 * gdb.threads/non-ldr-exc-4.c: Likewise.
2041 * gdb.threads/pthreads.c: Include unistd.h.
2042 (main): Declare returns int.
2043 * gdb.threads/tls-main.c (foo): New declaration.
2044 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
2046 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
2048 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
2049 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
2051 2015-01-15 Mark Wielaard <mjw@redhat.com>
2053 * gdb.base/noreturn-return.c: New file.
2054 * gdb.base/noreturn-return.exp: New file.
2055 * gdb.base/noreturn-finish.c: New file.
2056 * gdb.base/noreturn-finish.exp: New file.
2058 2015-01-23 Pedro Alves <palves@redhat.com>
2060 * gdb.threads/continue-pending-after-query.c: New file.
2061 * gdb.threads/continue-pending-after-query.exp: New file.
2063 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
2064 Simon Marchi <simon.marchi@ericsson.com>
2066 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
2067 * gdb.base/valgrind-db-attach.exp: Same.
2068 * gdb.base/valgrind-infcall.exp: Same.
2069 * lib/mi-support.exp (default_mi_gdb_start): Same.
2070 * lib/prompt.exp (default_prompt_gdb_start): Same.
2071 * lib/gdb.exp (default_gdb_spawn): Same.
2072 (gdb_interact): New.
2075 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2077 * gdb.compile/compile.exp (pointer to jit function): New test.
2079 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
2081 * lib/gdb.exp (supports_process_record): Return true for
2083 (supports_reverse): Likewise.
2085 2015-01-15 Don Breazeal <donb@codesourcery.com>
2087 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
2088 instead of checking whether the target board is remote and
2089 use spawn_wait_for_attach instead of exec/sleep.
2090 * gdb.base/attach-twice.exp: Likewise.
2092 2015-01-15 Joel Brobecker <brobecker@adacore.com>
2094 * gdb.ada/var_arr_attrs: New testcase.
2096 2015-01-14 Pedro Alves <palves@redhat.com>
2097 Joel Brobecker <brobecker@adacore.com>
2100 * gdb.base/bp-cmds-execution-x-script.c: New file.
2101 * gdb.base/bp-cmds-execution-x-script.exp: New file.
2102 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
2104 2015-01-14 Pedro Alves <palves@redhat.com>
2107 * gdb.base/batch-preserve-term-settings.c: New file.
2108 * gdb.base/batch-preserve-term-settings.exp: New file.
2110 2015-01-13 Doug Evans <dje@google.com>
2112 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
2115 2015-01-13 Joel Brobecker <brobecker@adacore.com>
2117 * Makefile.in (clean mostlyclean): Do not delete *.py.
2119 2015-01-13 Joel Brobecker <brobecker@adacore.com>
2121 * gdb.python/py-lookup-type.exp: New file.
2123 2015-01-12 Pedro Alves <palves@redhat.com>
2125 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
2126 restore GDBFLAGS before returning.
2128 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2130 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
2131 is_amd64_regs_target and is_x86_like_target.
2133 2015-01-11 Doug Evans <xdje42@gmail.com>
2135 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
2136 is given without an explicit form.
2137 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
2139 * gdb.dwarf/corrupt.exp: Ditto.
2140 * gdb.dwarf2/enum-type.exp: Ditto.
2141 * gdb.trace/entry-values.exp: Ditto.
2142 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
2144 2015-01-11 Doug Evans <xdje42@gmail.com>
2147 * gdb.base/maint.exp: Remove references to "maint demangle".
2148 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
2149 Add tests for explicitly specifying language to demangle.
2150 * gdb.dlang/demangle.exp: Ditto.
2152 2015-01-09 Pedro Alves <palves@redhat.com>
2154 * gdb.threads/non-stop-fair-events.c: New file.
2155 * gdb.threads/non-stop-fair-events.exp: New file.
2157 2015-01-09 Pedro Alves <palves@redhat.com>
2159 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
2160 the global scope. Set a breakpoint after all threads are started
2161 rather than stepping over two source lines. Expect the prompt.
2162 * gdb.base/watch_thread_num.c (threads_started_barrier): New
2165 (main): Use threads_started_barrier to wait for all threads to
2166 start. Main thread no longer calls thread_function. Exit after
2168 (loop): New function.
2169 (thread_function): Wait on threads_started_barrier barrier. Call
2170 'loop' at each iteration.
2171 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
2172 threads have started, instead of hardcoding number of "next"
2173 steps. Use an access watchpoint instead of a write watchpoint.
2175 2015-01-09 Pedro Alves <palves@redhat.com>
2177 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
2178 (thread_func): Wait on barrier.
2179 (main): Wait for all threads to start before stopping GDB.
2180 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
2182 (thread1_func, thread2_func): Wait on barrier.
2183 (main): Wait for all threads to start before stopping GDB.
2184 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
2186 (thread1_func, thread2_func): Wait on barrier.
2187 (main): Wait for all threads to start before stopping GDB.
2189 2015-01-09 Pedro Alves <palves@redhat.com>
2191 * gdb.threads/attach-many-short-lived-threads.c: New file.
2192 * gdb.threads/attach-many-short-lived-threads.exp: New file.
2194 2014-01-09 Pedro Alves <palves@redhat.com>
2196 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
2197 instead of to thread 2.
2198 * gdb.threads/signal-command-multiple-signals-pending.c (main):
2199 Add barrier around each pthread_create call instead of around all
2201 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
2202 Set a break on thread_function and have the child threads hit it
2205 2015-01-09 Pedro Alves <palves@redhat.com>
2207 * lib/gdb.exp (can_spawn_for_attach): New procedure.
2208 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
2210 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
2211 checking whether the target board is remote.
2212 * gdb.multi/multi-attach.exp: Likewise.
2213 * gdb.python/py-sync-interp.exp: Likewise.
2214 * gdb.server/ext-attach.exp: Likewise.
2215 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
2216 tests that need to attach, instead of checking whether the target
2217 board is remote at the top of the file.
2219 2015-01-08 Yao Qi <yao@codesourcery.com>
2221 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
2223 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2225 Fix testcase compilation.
2226 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
2228 2015-01-06 Joel Brobecker <brobecker@adacore.com>
2230 * gdb.python/py-type.exp: Add a couple test about empty
2231 array creation, and negative-length array creation.
2233 2015-01-02 Doug Evans <xdje42@gmail.com>
2235 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
2237 2015-01-02 Doug Evans <dje@google.com>
2239 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
2241 2014-12-29 Yao Qi <yao@codesourcery.com>
2243 * gdb.trace/entry-values.exp: Update comments. Rename variable
2244 bar_call_foo to returned_from_foo.
2246 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
2249 * gdb.linespec/break-asm-file.c: New file.
2250 * gdb.linespec/break-asm-file.exp: New file.
2251 * gdb.linespec/break-asm-file0.s: New file.
2252 * gdb.linespec/break-asm-file1.s: New file.
2254 2014-12-18 Nigel Stephens <nigel@mips.com>
2255 Maciej W. Rozycki <macro@codesourcery.com>
2257 * gdb.base/float.exp: Handle the new output from "info float" on
2260 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2262 Fix MinGW compilation.
2263 * gdb.compile/compile-ops.exp: Update untested message if
2264 !skip_compile_feature_tests.
2265 * gdb.compile/compile-setjmp.exp: Likewise.
2266 * gdb.compile/compile-tls.exp: Likewise.
2267 * gdb.compile/compile.exp: Likewise.
2268 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
2269 supported on this host".
2271 2014-12-16 Doug Evans <xdje42@gmail.com>
2273 * boards/stabs.exp: New file.
2275 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
2277 * gdb.base/completion.exp: Adjust to format changes of "maint
2278 print user-registers".
2280 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
2283 * gdb.arch/aarch64-fp.c: New file.
2284 * gdb.arch/aarch64-fp.exp: New file.
2286 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
2288 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
2289 r210637, r210913, r211666, r215400, r215817).
2291 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
2292 * dg-extract-results.py: New file.
2293 * dg-extract-results.sh: Use it if the environment seems
2296 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
2298 * dg-extract-results.py (parse_run): Handle warnings that
2299 are printed before a test harness is run.
2301 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
2303 * dg-extract-results.py (Named): Remove __cmp__ method.
2304 (output_variation): Use a key to sort variation.harnesses.
2306 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
2308 * dg-extract-results.py: For Python 3, force sys.stdout to
2309 handle surrogate escape sequences.
2310 (safe_open): New function.
2311 (output_segment, main): Use it.
2313 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
2315 * dg-extract-results.py (Prog.result_re): Include options
2318 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
2320 * dg-extract-results.py (output_variation): Always sort if
2323 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
2325 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
2326 as long as we get pagination notifications.
2328 2014-12-15 Jason Merrill <jason@redhat.com>
2330 * Makefile.in (check-gdb.%): Restore.
2331 * README: Mention it.
2333 2014-12-13 Joel Brobecker <brobecker@adacore.com>
2335 * gdb.ada/str_uninit: New testcase.
2337 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2340 * gdb.base/vla-stub-define.c: New file.
2341 * gdb.base/vla-stub.c: New file.
2342 * gdb.base/vla-stub.exp: New file.
2344 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
2345 Jan Kratochvil <jan.kratochvil@redhat.com>
2346 Tom Tromey <tromey@redhat.com>
2348 * configure.ac: Add gdb.compile/.
2349 * configure: Regenerate.
2350 * gdb.compile/Makefile.in: New file.
2351 * gdb.compile/compile-ops.exp: New file.
2352 * gdb.compile/compile-ops.c: New file.
2353 * gdb.compile/compile-tls.c: New file.
2354 * gdb.compile/compile-tls.exp: New file.
2355 * gdb.compile/compile-constvar.S: New file.
2356 * gdb.compile/compile-constvar.c: New file.
2357 * gdb.compile/compile-mod.c: New file.
2358 * gdb.compile/compile-nodebug.c: New file.
2359 * gdb.compile/compile-setjmp-mod.c: New file.
2360 * gdb.compile/compile-setjmp.c: New file.
2361 * gdb.compile/compile-setjmp.exp: New file.
2362 * gdb.compile/compile-shlib.c: New file.
2363 * gdb.compile/compile.c: New file.
2364 * gdb.compile/compile.exp: New file.
2365 * lib/gdb.exp (skip_compile_feature_tests): New proc.
2367 2014-12-12 Tom Tromey <tromey@redhat.com>
2369 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
2370 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
2372 2014-12-12 Doug Evans <dje@google.com>
2374 * lib/gdb-python.exp (get_python_valueof): New function.
2375 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
2377 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2379 * gdb.base/completion.exp: Add test for completion of "info
2382 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
2384 * gdb.base/func-ptrs.c: New file.
2385 * gdb.base/func-ptrs.exp: New file.
2387 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2389 PR breakpoints/17012
2390 * gdb.base/dprintf-detach.c: New file.
2391 * gdb.base/dprintf-detach.exp: New file.
2393 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2395 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
2396 * lib/gdb.exp (target_is_gdbserver): New procedure.
2398 2014-12-08 Doug Evans <dje@google.com>
2400 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
2402 2014-12-05 Yao Qi <yao@codesourcery.com>
2404 * gdb.guile/scm-error.exp: Remove the third argument to
2405 gdb_remote_download.
2406 * gdb.guile/scm-frame-args.exp: Likewise.
2407 * gdb.guile/scm-section-script.exp: Likewise.
2409 2014-12-05 Yao Qi <yao@codesourcery.com>
2411 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
2413 2014-12-04 Doug Evans <dje@google.com>
2415 * gdb.python/py-objfile.exp: Add tests for
2416 objfile.add_separate_debug_file.
2418 2014-12-04 Doug Evans <dje@google.com>
2420 * lib/gdb.exp (get_build_id): New function.
2421 (build_id_debug_filename_get): Rewrite to use it.
2422 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
2424 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
2426 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
2427 `method(long)', not just 0x0.
2428 * gdb.cp/nsalias.exp: Align code labels to 4.
2429 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
2430 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
2431 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
2432 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
2433 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
2434 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
2436 2014-12-02 Doug Evans <dje@google.com>
2439 * gdb.cp/anon-ns.cc: Move guts of this file to ...
2440 * gdb.cp/anon-ns2.cc: ... here. New file.
2441 * gdb.cp/anon-ns.exp: Update.
2443 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
2445 * gdb.python/py-events.py (inferior_call_handler): New.
2446 (register_changed_handler, memory_changed_handler): New.
2447 (test_events.invoke): Register new handlers.
2448 * gdb.python/py-events.exp: Add tests for inferior call,
2449 memory_changed and register_changed events.
2451 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
2453 * gdb.base/execl-update-breakpoints.exp: Specify the link address
2454 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
2455 if the linker doesn't understand this.
2457 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
2459 * gdb.python/python.exp: Change expected reply to help().
2461 2014-12-01 Yao Qi <yao@codesourcery.com>
2463 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
2464 AC_CONFIG_SUBDIRS(gdb.gdbtk).
2465 * configure: Re-generated.
2467 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
2469 * gdb.cp/chained-calls.cc: New file.
2470 * gdb.cp/chained-calls.exp: New file.
2471 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
2473 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
2475 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
2476 * gdb.dwarf2/symtab-producer.exp: Same.
2477 * gdb.gdb/python-interrupts.exp: Same.
2478 * gdb.gdb/python-selftest.exp: Same.
2479 * gdb.python/py-linetable.exp: Same.
2480 * gdb.python/py-type.exp: Same.
2481 * gdb.python/py-value-cc.exp: Same.
2482 * gdb.python/py-value.exp: Same.
2484 2014-11-28 Yao Qi <yao@codesourcery.com>
2486 * gdb.base/break-probes.exp: Match library name prefixed with
2489 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
2491 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
2492 test expected output. Add parentheses for the call to print.
2493 Remove L suffix from integers.
2495 2014-11-26 Doug Evans <dje@google.com>
2497 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
2499 2014-11-22 Yao Qi <yao@codesourcery.com>
2501 * gdb.trace/entry-values.c: Remove asms.
2502 (foo): Add foo_label.
2503 (bar): Add bar_label.
2504 * gdb.trace/entry-values.exp: Remove code computing foo's
2505 length and bar's length.
2506 (Dwarf::assemble): Invoke function_range for bar and use
2507 MACRO_AT_func for foo.
2509 2014-11-22 Yao Qi <yao@codesourcery.com>
2511 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
2512 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
2513 Use .Lgcc43_procstart instead of gcc43.
2515 2014-11-21 Joel Brobecker <brobecker@adacore.com>
2517 * gdb.ada/n_arr_bound: New testcase.
2519 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
2521 PR breakpoints/10737
2522 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
2523 test_catch_syscall_multi_arch.
2524 (test_catch_syscall_multi_arch): New function.
2526 2014-11-20 Doug Evans <xdje42@gmail.com>
2528 * gdb.base/maint.exp: Update expected output.
2530 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2532 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
2533 4-byte instruction on S390.
2535 2014-11-19 Joel Brobecker <brobecker@adacore.com>
2537 * gdb.ada/arr_arr: New testcase.
2539 2014-11-19 Joel Brobecker <brobecker@adacore.com>
2541 * gdb.ada/pkd_arr_elem: New Testcase.
2543 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
2545 * gdb.reverse/break-precsave: Expect completion message for
2547 * gdb.reverse/consecutive-precsave.exp: Likewise.
2548 * gdb.reverse/finish-precsave.exp: Likewise.
2549 * gdb.reverse/i386-precsave.exp: Likewise.
2550 * gdb.reverse/machinestate-precsave.exp: Likewise.
2551 * gdb.reverse/sigall-precsave.exp: Likewise.
2552 * gdb.reverse/solib-precsave.exp: Likewise.
2553 * gdb.reverse/step-precsave.exp: Likewise.
2554 * gdb.reverse/until-precsave.exp: Likewise.
2555 * gdb.reverse/watch-precsave.exp: Likewise.
2557 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2559 * gdb.base/bp-permanent.c: Include unistd.h.
2560 * gdb.python/py-framefilter-mi.c (main): Add return type.
2561 * gdb.python/py-framefilter.c (main): Likewise.
2562 * gdb.trace/actions-changed.c (main): Likewise.
2564 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2566 * gdb.mi/until.c: Add eye-catchers.
2567 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
2570 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2572 * gdb.base/condbreak.exp: Drop references to removed non-prototype
2573 function header variants in break1.c.
2574 * gdb.base/ena-dis-br.exp: Likewise.
2575 * gdb.base/hbreak2.exp: Likewise.
2576 * gdb.reverse/until-precsave.exp: Drop references to removed
2577 non-prototype function header variants in ur1.c.
2578 * gdb.reverse/until-reverse.exp: Likewise.
2580 2014-11-17 Petr Machata <pmachata@redhat.com>
2582 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
2583 ${_cu_offset_size} bytes abbrev offset.
2585 2014-11-15 Doug Evans <xdje42@gmail.com>
2588 * gdb.base/line-symtabs.exp: New file.
2589 * gdb.base/line-symtabs.c: New file.
2590 * gdb.base/line-symtabs.h: New file.
2592 2014-11-14 Yao Qi <yao@codesourcery.com>
2594 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
2595 (func): Add label func_label.
2596 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
2597 Replace low_pc and high_pc with MACRO_AT_range.
2598 Replace name, low_pc and high_pc with MACRO_AT_func.
2600 2014-11-14 Yao Qi <yao@codesourcery.com>
2602 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
2603 Replace name, low_pc and high_pc with MACRO_AT_func.
2605 2014-11-14 Yao Qi <yao@codesourcery.com>
2607 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
2608 produce debug information.
2609 * gdb.dwarf2/implptr-optimized-out.S: Removed.
2611 2014-11-14 Yao Qi <yao@codesourcery.com>
2613 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
2614 object and get function length.
2615 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
2617 (top-level): Replace gdb_compile and clean_restart with
2618 prepare_for_testing.
2619 * gdb.dwarf2/main.c (main): Add label main_label.
2621 2014-11-14 Yao Qi <yao@codesourcery.com>
2623 * lib/dwarf.exp (function_range): New procedure.
2624 (Dwarf::_handle_macro_at_func): New procedure.
2625 (Dwarf::_handle_macro_at_range): New procedure.
2626 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
2628 2014-11-14 Yao Qi <yao@codesourcery.com>
2630 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
2631 (_handle_attribute): New procedure.
2633 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2635 * gdb.ada/cond_lang/foo.c (callme): Add return type.
2636 * gdb.base/call-sc.c (zed): Likewise.
2637 * gdb.base/checkpoint.c (main): Likewise.
2638 * gdb.base/dump.c (main): Likewise.
2639 * gdb.base/gcore.c (main): Likewise.
2640 * gdb.base/huge.c (main): Likewise.
2641 * gdb.base/multi-forks.c (main): Likewise.
2642 * gdb.base/pr10179-a.c (main): Likewise.
2643 * gdb.base/savedregs.c (main): Likewise.
2644 * gdb.base/sigaltstack.c (main): Likewise.
2645 * gdb.base/siginfo.c (main): Likewise.
2646 * gdb.base/structs.c (zed): Likewise.
2647 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
2648 * gdb.mi/mi-syn-frame.c (main): Likewise.
2649 * gdb.mi/until.c (foo, main): Likewise.
2650 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
2651 * gdb.base/solib-weak.c (foo): Declare.
2652 * gdb.base/attach-twice.c: Include stdio.h.
2653 * gdb.base/weaklib1.c: Likewise.
2654 * gdb.base/weaklib2.c: Likewise.
2655 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
2656 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
2658 * gdb.base/attach-pie-misread.c: Include stdlib.h.
2659 * gdb.mi/mi-exit-code.c: Likewise.
2660 * gdb.base/break-interp-lib.c: Include string.h.
2661 * gdb.base/coremaker.c: Likewise.
2662 * gdb.base/testenv.c: Likewise.
2663 * gdb.python/py-finish-breakpoint.c: Likewise.
2664 * gdb.base/inferior-died.c: Include sys/wait.h.
2665 * gdb.base/fileio.c: Include time.h.
2666 * gdb.base/async-shell.c: Include unistd.h.
2667 * gdb.base/dprintf-non-stop.c: Likewise.
2668 * gdb.base/info-os.c: Likewise.
2669 * gdb.mi/mi-console.c: Likewise.
2670 * gdb.mi/watch-nonstop.c: Likewise.
2671 * gdb.python/py-events.c: Likewise.
2672 * gdb.base/async.c (baz): Move up before its invocation.
2673 * gdb.base/code_elim2.c (my_global_func): Likewise.
2674 * gdb.base/skip-solib-lib.c (multiply): Likewise.
2675 * gdb.base/advance.c (func2): Likewise.
2677 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2679 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
2681 * gdb.base/annota3.c: Likewise.
2682 * gdb.base/async.c: Likewise.
2683 * gdb.base/average.c: Likewise.
2684 * gdb.base/call-ar-st.c: Likewise.
2685 * gdb.base/call-rt-st.c: Likewise.
2686 * gdb.base/call-sc.c: Likewise.
2687 * gdb.base/call-strs.c: Likewise.
2688 * gdb.base/ending-run.c: Likewise.
2689 * gdb.base/execd-prog.c: Likewise.
2690 * gdb.base/exprs.c: Likewise.
2691 * gdb.base/foll-exec.c: Likewise.
2692 * gdb.base/foll-fork.c: Likewise.
2693 * gdb.base/foll-vfork.c: Likewise.
2694 * gdb.base/funcargs.c: Likewise.
2695 * gdb.base/gcore.c: Likewise.
2696 * gdb.base/jump.c: Likewise.
2697 * gdb.base/langs0.c: Likewise.
2698 * gdb.base/langs1.c: Likewise.
2699 * gdb.base/langs2.c: Likewise.
2700 * gdb.base/mips_pro.c: Likewise.
2701 * gdb.base/nodebug.c: Likewise.
2702 * gdb.base/opaque0.c: Likewise.
2703 * gdb.base/opaque1.c: Likewise.
2704 * gdb.base/recurse.c: Likewise.
2705 * gdb.base/run.c: Likewise.
2706 * gdb.base/scope0.c: Likewise.
2707 * gdb.base/scope1.c: Likewise.
2708 * gdb.base/setshow.c: Likewise.
2709 * gdb.base/setvar.c: Likewise.
2710 * gdb.base/shmain.c: Likewise.
2711 * gdb.base/shr1.c: Likewise.
2712 * gdb.base/shr2.c: Likewise.
2713 * gdb.base/sigall.c: Likewise.
2714 * gdb.base/signals.c: Likewise.
2715 * gdb.base/so-indr-cl.c: Likewise.
2716 * gdb.base/solib2.c: Likewise.
2717 * gdb.base/structs.c: Likewise.
2718 * gdb.base/sum.c: Likewise.
2719 * gdb.base/vforked-prog.c: Likewise.
2720 * gdb.base/watchpoint.c: Likewise.
2721 * gdb.reverse/shr2.c: Likewise.
2722 * gdb.reverse/until-reverse.c: Likewise.
2723 * gdb.reverse/ur1.c: Likewise.
2724 * gdb.reverse/watch-reverse.c: Likewise.
2726 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2728 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
2730 * gdb.base/sepdebug.exp: Drop references to removed code.
2732 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2734 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
2735 variant. Preserve original line numbering.
2736 * gdb.base/list1.c: Likewise.
2738 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2740 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
2742 * gdb.base/break1.c: Likewise.
2743 * gdb.base/break.exp: Drop references to removed code.
2745 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2747 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
2750 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2752 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
2754 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2756 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
2757 logic into perform_all_tests() and invoke it with and without
2758 function header prototypes.
2759 (do_function_calls): Remove conditional XFAIL for PR 5318.
2760 (rerun_and_prepare): Remove duplicate code.
2761 (perform_all_tests): New. Main logic moved here.
2763 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2765 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
2766 code guarded by #ifdef NO_PROTOTYPES.
2767 (t_double_many_args): Likewise.
2768 (DEF_FUNC_MANY_ARGS_1): Likewise.
2769 (DEF_FUNC_VALUES_1): Likewise.
2770 (t_structs_ldc): Renamed from t_structs_fc in conditional code
2771 guarded by #ifdef PROTOTYPES.
2773 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2775 * gdb.mi/mi-console.c: Add eye-catcher.
2776 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
2777 instead of literal line number.
2779 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2781 * gdb.base/shr2.c: Add eye-catcher.
2782 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
2785 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2787 * gdb.base/jump.c: Add eye-catchers.
2788 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
2791 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2793 * gdb.base/execd-prog.c: Add eye-catchers.
2794 * gdb.base/foll-exec.c: Likewise.
2795 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
2798 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2800 * gdb.base/ending-run.c: Add eye-catchers.
2801 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
2802 literal line numbers.
2804 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2806 * gdb.base/call-rt-st.c: Add eye-catchers.
2807 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
2808 literal line numbers.
2810 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2812 * gdb.base/call-ar-st.c: Add eye-catchers.
2813 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
2814 literal line numbers.
2816 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2818 * gdb.base/average.c: Add eye-catchers.
2819 * gdb.base/sum.c: Likewise.
2820 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
2821 regexps dynamically.
2823 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2825 * gdb.base/solib1.c: Add eye-catchers.
2826 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
2827 literal line numbers.
2829 2014-11-12 Pedro Alves <palves@redhat.com>
2831 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
2834 2014-11-12 Pedro Alves <palves@redhat.com>
2836 * gdb.arch/i386-bp_permanent.c: New file.
2837 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
2838 (srcfile): Set to i386-bp_permanent.c.
2839 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
2840 that stepi does not execute the 'leave' instruction, instead of
2841 testing it does execute.
2842 * gdb.base/bp-permanent.c: New file.
2843 * gdb.base/bp-permanent.exp: New file.
2845 2014-11-10 Doug Evans <xdje42@gmail.com>
2848 * gdb.base/symtab-search-order.exp: New file.
2849 * gdb.base/symtab-search-order.c: New file.
2850 * gdb.base/symtab-search-order-1.c: New file.
2851 * gdb.base/symtab-search-order-shlib-1.c: New file.
2853 2014-11-07 Pedro Alves <palves@redhat.com>
2856 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
2859 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
2862 * gdb.cp/pr17494.cc: New file.
2863 * gdb.cp/pr17494.exp: New file.
2865 2014-11-02 Yao Qi <yao@codesourcery.com>
2867 * gdb.python/python.exp: Get working directory and match the
2868 output of "set extended-prompt \\w " with it.
2870 2014-10-30 Doug Evans <dje@google.com>
2872 * gdb.python/py-objfile.exp: Add tests for setting random attributes
2874 * gdb.python/py-progspace.exp: Add tests for setting random attributes
2877 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
2879 * gdb.base/fullpath-expand.exp: Skip for a remote host.
2880 * gdb.base/realname-expand.exp: Likewise.
2881 * gdb.linespec/macro-relative.exp: Likewise.
2883 2014-10-29 Pedro Alves <palves@redhat.com>
2886 * gdb.threads/schedlock.c (some_function): New function.
2887 (call_function): New global.
2888 (MAYBE_CALL_SOME_FUNCTION): New macro.
2889 (thread_function): Call it.
2890 * gdb.threads/schedlock.exp (get_args): Add description parameter,
2891 and use it instead of a global counter. Adjust all callers.
2892 (get_current_thread): Use "find current thread" for test message
2893 here rather than having all callers pass down the same string.
2894 (goto_loop): New procedure, factored out from ...
2895 (my_continue): ... this.
2896 (step_ten_loops): Change parameter from test message to command to
2898 (list_count): Delete global.
2899 (check_result): New procedure, factored out from duplicate top
2901 (continue tests): Wrap in with_test_prefix.
2902 (test_step): New procedure, factored out from duplicate top level
2904 (top level): Test "step" in combination with all scheduler-locking
2905 modes. Test "next" in combination with all scheduler-locking
2906 modes, and in combination with stepping over a function call or
2908 * gdb.threads/next-bp-other-thread.c: New file.
2909 * gdb.threads/next-bp-other-thread.exp: New file.
2911 2014-10-29 Pedro Alves <palves@redhat.com>
2914 * gdb.python/python.exp: Test a multi-line command that spawns
2916 * gdb.base/multi-line-starts-subshell.exp: New file.
2918 2014-10-29 Yao Qi <yao@codesourcery.com>
2920 * gdb.base/fileio.exp: Make directories on host.
2922 2014-10-29 Yao Qi <yao@codesourcery.com>
2924 * gdb.base/fileio.c (test_write): Close the file.
2926 2014-10-28 Pedro Alves <palves@redhat.com>
2929 * gdb.base/sigstep.c (no_handler): New global.
2930 (main): If 'no_handler is true, set the signal handlers to
2932 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
2933 with_sw_watch and no_handler parameters. Handle them.
2934 (top level) <stepping over handler when stopped at a breakpoint
2935 test>: Add a test axis for testing with a software watchpoint, and
2936 another for testing with the signal handler set to SIG_IGN.
2937 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
2938 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
2940 2014-10-28 Pedro Alves <palves@redhat.com>
2943 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
2944 * gdb.base/sigstep.exp (other_handler_location): New global.
2945 (advance): Support stepping into the signal handler, and running
2946 commands while in the handler.
2947 (in_handler_map): New global.
2948 (top level): In the advance test, add combinations for getting
2949 into the handler with stepping commands, and for running commands
2950 in the handler. Add comment descripting the advancei tests.
2952 2014-10-28 Pedro Alves <palves@redhat.com>
2954 * gdb.base/sigstep.exp: Use build_executable instead of
2955 prepare_for_testing.
2956 (top level): Move code that starts GDB, runs to main and creates a
2958 (restart): ... this new procedure.
2959 (top level): Move backtrace from signal handler test to ...
2960 (validate_backtrace): ... this new procedure.
2961 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
2962 with_test_prefix. Always restart GDB.
2963 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
2964 with_test_prefix. Always restart GDB. No need to delete
2965 breakpoints after the test.
2966 (test_skip_handler): Remove prefix parameter.
2967 (skip_over_handler, breakpoint_to_handler)
2968 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
2969 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
2970 restart GDB. No need to delete breakpoints after the test.
2971 (top level): Use foreach to call the test procedures with
2974 2014-10-28 Pedro Alves <palves@redhat.com>
2976 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
2977 instead of GNATS numbers.
2978 * gdb.base/sigbpt.exp: Likewise.
2979 * gdb.base/siginfo.exp: Likewise.
2980 * gdb.base/sigstep.exp: Likewise.
2982 2014-10-27 Pedro Alves <palves@redhat.com>
2984 * gdb.base/sigstep.c (dummy): New global.
2985 (main): Issue a couple writes to the new global.
2986 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
2988 (skip_over_handler): Use test_skip_handler.
2989 (top level): Call skip_over_handler for stepi and nexti too.
2990 (breakpoint_over_handler): Use test_skip_handler.
2991 (top level): Call breakpoint_over_handler for stepi and nexti too.
2993 2014-10-27 Yao Qi <yao@codesourcery.com>
2995 * gdb.trace/tfile.c (adjust_function_address)
2996 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
2997 function descriptor.
2999 2014-10-24 Don Breazeal <donb@codesourcery.com>
3001 * gdb.base/foll-fork.exp (test_follow_fork,
3002 catch_fork_child_follow): Check for updated fork messages emitted
3004 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
3005 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
3006 vfork_and_exec_child_follow_through_step): Check for updated vfork
3007 messages emitted from infrun.c.
3009 2014-10-24 Pedro Alves <palves@redhat.com>
3011 * gdb.base/corefile.exp: Remove references to ultrix.
3012 * gdb.base/interrupt.exp: Likewise.
3013 * gdb.base/whatis.exp: Likewise.
3014 * gdb.gdb/selftest.exp: Likewise.
3015 * gdb.threads/manythreads.exp: Likewise.
3016 * gdb.threads/print-threads.exp: Likewise.
3017 * gdb.threads/pthreads.exp:: Likewise.
3018 * gdb.threads/schedlock.exp: Likewise.
3020 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
3022 * gdb.cp/non-trivial-retval.cc: Add a test case.
3023 * gdb.cp/non-trivial-retval.exp: Add a test.
3025 2014-10-20 Yao Qi <yao@codesourcery.com>
3027 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
3028 * gdb.python/py-objfile-script-gdb.py: New file.
3029 * gdb.python/py-objfile-script.exp: Update reference to
3030 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
3031 of remote_download. Remove the dest file.
3033 2014-10-20 Yao Qi <yao@codesourcery.com>
3035 * gdb.base/checkpoint.exp: Don't remove file copied on host.
3036 * gdb.base/step-line.exp: Likewise.
3037 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3038 * gdb.dwarf2/dw2-basic.exp: Likewise.
3039 * gdb.dwarf2/dw2-compressed.exp: Likewise.
3040 * gdb.dwarf2/dw2-filename.exp: Likewise.
3041 * gdb.dwarf2/dw2-intercu.exp: Likewise.
3042 * gdb.dwarf2/dw2-intermix.exp: Likewise.
3043 * gdb.dwarf2/dw2-producer.exp: Likewise.
3044 * gdb.dwarf2/mac-fileno.exp: Likewise.
3045 * gdb.python/py-frame-args.exp: Likewise.
3046 * gdb.python/py-framefilter.exp: Likewise.
3047 * gdb.python/py-mi.exp: Likewise.
3048 * gdb.python/py-objfile-script.exp: Likewise
3049 * gdb.python/py-pp-integral.exp: Likewise.
3050 * gdb.python/py-pp-re-notag.exp: Likewise.
3051 * gdb.python/py-prettyprint.exp: Likewise.
3052 * gdb.python/py-section-script.exp: Likewise.
3053 * gdb.python/py-typeprint.exp: Likewise.
3054 * gdb.python/py-xmethods.exp: Likewise.
3055 * gdb.stabs/weird.exp: Likewise.
3056 * gdb.xml/tdesc-regs.exp: Likewise.
3058 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
3060 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
3061 (out_cu): Use addr_len for the size of addresses.
3062 (out_line): Likewise. Size DW_LNE_set_address instruction
3063 according to addr_len.
3064 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
3065 (FUNC): Add START_INSNS to definition.
3067 2014-10-18 Yao Qi <yao@codesourcery.com>
3069 * gdb.base/argv0-symlink.exp: Check argv[0] value if
3070 gdb_has_argv0 return true.
3071 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
3072 check [target_info exists noargs], check [gdb_has_argv0]
3074 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3075 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
3078 2014-10-17 Doug Evans <dje@google.com>
3080 * gdb.python/py-events.exp: Update expected output for clear_objfiles
3082 * gdb.python/py-events.py: Add clear_objfiles event.
3084 2014-10-17 Doug Evans <dje@google.com>
3086 * gdb.python/py-objfile.exp: Test progspace attribute.
3088 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
3090 * gdb.guile/scm-breakpoint.exp: Do not assume any
3091 directory separators when matching source file paths.
3092 * gdb.python/py-breakpoint.exp: Likewise.
3093 * gdb.reverse/break-precsave.exp: Likewise.
3094 * gdb.reverse/break-reverse.exp: Likewise.
3095 * gdb.reverse/consecutive-precsave.exp: Likewise.
3096 * gdb.reverse/finish-precsave.exp: Likewise.
3097 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
3098 * gdb.reverse/finish-reverse.exp: Likewise.
3099 * gdb.reverse/i386-precsave.exp: Likewise.
3100 * gdb.reverse/i387-env-reverse.exp: Likewise.
3101 * gdb.reverse/i387-stack-reverse.exp: Likewise.
3102 * gdb.reverse/machinestate-precsave.exp: Likewise.
3103 * gdb.reverse/machinestate.exp: Likewise.
3104 * gdb.reverse/sigall-precsave.exp: Likewise.
3105 * gdb.reverse/solib-precsave.exp: Likewise.
3106 * gdb.reverse/step-precsave.exp: Likewise.
3107 * gdb.reverse/until-precsave.exp: Likewise.
3108 * gdb.reverse/watch-precsave.exp: Likewise.
3109 * gdb.reverse/watch-reverse.exp: Likewise.
3111 2014-10-17 Yao Qi <yao@codesourcery.com>
3113 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
3114 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
3116 2014-10-17 Pedro Alves <palves@redhat.com>
3119 * gdb.base/bg-execution-repeat.c: New file.
3120 * gdb.base/bg-execution-repeat.exp: New file.
3122 2014-10-17 Pedro Alves <palves@redhat.com>
3125 * gdb.base/continue-all-already-running.c: New file.
3126 * gdb.base/continue-all-already-running.exp: New file.
3128 2014-10-17 Pedro Alves <palves@redhat.com>
3131 * gdb.base/annota-input-while-running.c: New file.
3132 * gdb.base/annota-input-while-running.exp: New file.
3134 2014-10-17 Pedro Alves <palves@redhat.com>
3136 * gdb.base/callfuncs.exp: emove references to osf.
3137 * gdb.base/sigall.exp: Likewise.
3138 * gdb.gdb/selftest.exp: Likewise.
3139 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
3140 * gdb.mi/non-stop.c: Likewise.
3141 * gdb.mi/pthreads.c: Likewise.
3142 * gdb.reverse/sigall-precsave.exp: Likewise.
3143 * gdb.reverse/sigall-reverse.exp: Likewise.
3144 * gdb.threads/pthreads.c: Likewise.
3145 * gdb.threads/pthreads.exp: Likewise.
3147 2014-10-17 Yao Qi <yao@codesourcery.com>
3149 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
3150 check 'target_info exists noargs'.
3151 (test_command_prompt_position): Likewise.
3152 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
3154 (progvar_simple_while_test): Likewise.
3155 (progvar_complex_if_while_test): Likewise.
3156 (if_while_breakpoint_command_test): Likewise.
3157 (infrun_breakpoint_command_test): Likewise.
3158 (breakpoint_command_test): Likewise.
3159 (watchpoint_command_test): Likewise.
3160 (bp_deleted_in_command_test): Likewise.
3161 (temporary_breakpoint_commands): Likewise.
3163 2014-10-16 Yao Qi <yao@codesourcery.com>
3165 * gdb.base/remotetimeout.exp: Remove noargs checking.
3167 2014-10-15 Pedro Alves <palves@redhat.com>
3170 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
3171 * gdb.base/breakpoint-in-ro-region.exp
3172 (probe_target_hardware_step): New procedure.
3173 (top level): Probe hardware stepping and hardware breakpoint
3174 support. Test stepping through a read-only region, with both
3175 "breakpoint auto-hw" on and off and both "always-inserted" on and
3178 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
3180 * gdb.dlang/demangle.exp: Update for demangling changes.
3182 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3184 * gdb.cp/non-trivial-retval.cc: Add new test cases.
3185 * gdb.cp/non-trivial-retval.exp: Add new tests.
3187 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3191 * gdb.cp/non-trivial-retval.cc: New file.
3192 * gdb.cp/non-trivial-retval.exp: New file.
3194 2014-10-15 Yao Qi <yao@codesourcery.com>
3196 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
3199 2014-10-15 Yao Qi <yao@codesourcery.com>
3201 * gdb.python/py-symbol.exp: Match file base name if host is
3202 remote, otherwise match file name with dir name.
3203 * gdb.python/py-symtab.exp: Likewise.
3204 * gdb.python/python.exp: Likewise.
3206 2014-10-15 Yao Qi <yao@codesourcery.com>
3208 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
3210 * gdb.python/py-symtab.exp: Likewise.
3211 * gdb.python/python.exp: Remove trailing ".*". Fix typo
3214 2014-10-14 Joel Brobecker <brobecker@adacore.com>
3216 * gdb.ada/addr_arith: New testcase.
3218 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
3220 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
3221 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
3222 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
3223 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
3225 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
3227 * gdb.arch/stap-eval-lang-ada.S: Likewise.
3228 * gdb.arch/stap-eval-lang-ada.c: Likewise.
3229 * gdb.arch/stap-eval-lang-ada.exp: New file.
3231 2014-10-14 Yao Qi <yao@codesourcery.com>
3233 * gdb.mi/mi-var-child.c (nothing1): New function.
3234 (nothing2): New function.
3235 (do_children_tests): Set function pointers by nothing1 and
3237 * gdb.mi/mi-var-child.exp: Step over new added statements.
3238 Update test to match the new output.
3239 * gdb.mi/var-cmd.c (nothing1): New function.
3240 (nothing2): New function.
3241 (do_children_tests): Set function pointers by nothing1 and
3243 * gdb.mi/mi-var-display.exp: Update test to match output.
3244 Step to the line specified by $line_dct_nothing.
3245 Increase the number of lines to step.
3247 2014-10-14 Yao Qi <yao@codesourcery.com>
3249 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
3251 * gdb.mi/mi2-var-child.exp: Likewise.
3253 2014-10-13 Doug Evans <dje@google.com>
3255 * gdb.python/py-objfile.exp: Change name of file name test.
3257 2014-10-13 Doug Evans <dje@google.com>
3259 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
3260 from the start of the CU.
3262 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3263 Yao Qi <yao@codesourcery.com>
3265 Fix "save breakpoints" for "catch" command.
3266 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
3267 Remove -nonewline. Match also the added "main" line.
3269 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3271 Fix "save breakpoints" for "disable $bpnum" command.
3272 * gdb.base/save-bp.c (main): Add label.
3273 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
3275 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3277 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
3279 2014-10-11 Yao Qi <yao@codesourcery.com>
3281 * gdb.server/server-kill.exp: Execute command
3282 "set remote trace-status-packet on" before "tstatus".
3284 2014-10-11 Yao Qi <yao@codesourcery.com>
3286 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
3287 (main): Call getppid.
3288 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
3289 and continue to it. Read variable "server_pid".
3291 2014-10-11 Yao Qi <yao@codesourcery.com>
3293 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
3295 2014-10-11 Yao Qi <yao@codesourcery.com>
3297 * gdb.threads/thread-find.exp: Don't execute command
3299 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
3300 * gdb.threads/linux-dp.exp: Don't check the condition
3301 $threads_created equals to zero.
3303 2014-10-10 Pedro Alves <palves@redhat.com>
3305 * gdb.base/bigcore.exp: Remove references to IRIX.
3306 * gdb.base/funcargs.exp: Likewise.
3307 * gdb.base/interrupt.exp: Likewise.
3308 * gdb.base/mips_pro.exp: Likewise.
3309 * gdb.base/nodebug.exp: Likewise.
3310 * gdb.base/setvar.exp: Likewise.
3311 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
3313 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3314 Pedro Alves <palves@redhat.com>
3317 * gdb.base/vdso-warning.c: New file.
3318 * gdb.base/vdso-warning.exp: New file.
3320 2014-10-02 Doug Evans <dje@google.com>
3322 * gdb.base/structs.c (main): Don't run forever.
3324 2014-10-02 Pedro Alves <palves@redhat.com>
3326 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
3327 (top level) <stop threads 1, stop threads 2>: Use it.
3329 2014-10-02 Pedro Alves <palves@redhat.com>
3331 * gdb.threads/break-while-running.exp (test): Add new
3332 'update_thread_list' argument. Skip "info threads" if false.
3333 (top level): Add new 'update_thread_list' axis.
3335 2014-10-02 Pedro Alves <palves@redhat.com>
3337 PR breakpoints/17431
3338 * gdb.base/execl-update-breakpoints.c: New file.
3339 * gdb.base/execl-update-breakpoints.exp: New file.
3341 2014-10-01 Pedro Alves <palves@redhat.com>
3343 * gdb.base/breakpoint-in-ro-region.c: New file.
3344 * gdb.base/breakpoint-in-ro-region.exp: New file.
3346 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
3348 * gdb.mi/mi-exit-code.exp: New file.
3349 * gdb.mi/mi-exit-code.c: New file.
3351 2014-09-30 Yao Qi <yao@codesourcery.com>
3353 * lib/prelink-support.exp (build_executable_own_libs): Error if
3354 the target isn't native.
3356 2014-09-30 Yao Qi <yao@codesourcery.com>
3358 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
3361 2014-09-22 Pedro Alves <palves@redhat.com>
3363 * gdb.threads/break-while-running.exp: New file.
3364 * gdb.threads/break-while-running.c: New file.
3366 2014-09-19 Yao Qi <yao@codesourcery.com>
3368 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
3369 Invoke test. Restart GDB with --readnow and invoke test again.
3371 2014-09-19 Yao Qi <yao@codesourcery.com>
3373 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
3374 proc set_breakpoint_on_gcd_function. Invoke
3375 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
3376 invoke set_breakpoint_on_gcd_function again.
3378 2014-09-18 Doug Evans <dje@google.com>
3380 * gdb.dwarf2/symtab-producer.exp: New file.
3382 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3384 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
3385 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
3386 * gdb.base/global-var-nested-by-dso.c: Likewise.
3387 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3389 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3390 Pedro Alves <palves@redhat.com>
3392 * gdb.base/watch-bitfields.exp: Pass string other than test file
3393 name to prepare_for_testing.
3394 (watch): New procedure.
3395 (expect_watchpoint): Use with_test_prefix.
3396 (top level): Factor out tests to ...
3397 (test_watch_location, test_regular_watch): ... these new
3398 procedures, and use with_test_prefix and gdb_continue_to_end.
3400 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
3402 PR breakpoints/12526
3403 * gdb.base/watch-bitfields.exp: New file.
3404 * gdb.base/watch-bitfields.c: New file.
3406 2014-09-16 Pedro Alves <palves@redhat.com>
3408 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
3409 software and hardware addresses, not software address against
3412 2014-09-16 Pedro Alves <palves@redhat.com>
3414 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
3415 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
3417 2014-09-16 Pedro Alves <palves@redhat.com>
3419 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
3421 * gdb.base/a2-run.exp: Remove all code guarded by istarget
3422 "*-*-vxworks*" throughout.
3423 * gdb.base/break.exp: Likewise.
3424 * gdb.base/default.exp: Likewise.
3425 * gdb.base/scope.exp: Likewise.
3426 * gdb.base/sepdebug.exp: Likewise.
3427 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
3429 * gdb.base/run.c: Likewise.
3430 * gdb.base/sepdebug.c: Likewise.
3431 * gdb.hp/gdb.aCC/run.c: Likewise.
3432 * gdb.reverse/until-reverse.c: Likewise.
3433 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
3435 2014-09-16 Yao Qi <yao@codesourcery.com>
3437 * boards/local-remote-host-native.exp: New file.
3439 2014-09-14 Doug Evans <xdje42@gmail.com>
3441 * gdb.threads/queue-signal.c (thread_count): New variable.
3442 (thread_count_mutex, thread_count_condvar): New variables.
3443 (incr_thread_count, wait_all_threads_running): New functions.
3444 (main): Wait for all threads to be in their thread functions.
3446 2014-09-13 Doug Evans <xdje42@gmail.com>
3448 * gdb.threads/queue-signal.c: New file.
3449 * gdb.threads/queue-signal.exp: New file.
3451 2014-09-13 Doug Evans <xdje42@gmail.com>
3453 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
3454 be consistent with what default_gdb_init uses.
3455 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
3456 the plain text of the prompt. Add some logging printfs.
3457 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
3459 2014-09-12 Pedro Alves <palves@redhat.com>
3461 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
3462 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
3463 * gdb.arch/i386-size-overlap.exp: Likewise.
3464 * gdb.arch/i386-size.exp: Likewise.
3465 * gdb.arch/i386-unwind.exp: Likewise.
3466 * gdb.base/a2-run.exp: Likewise.
3467 * gdb.base/break.exp: Likewise.
3468 * gdb.base/charset.exp: Likewise.
3469 * gdb.base/chng-syms.exp: Likewise.
3470 * gdb.base/commands.exp: Likewise.
3471 * gdb.base/dbx.exp: Likewise.
3472 * gdb.base/find.exp: Likewise.
3473 * gdb.base/funcargs.exp: Likewise.
3474 * gdb.base/jit-simple.exp: Likewise.
3475 * gdb.base/reread.exp: Likewise.
3476 * gdb.base/sepdebug.exp: Likewise.
3477 * gdb.base/step-bt.exp: Likewise.
3478 * gdb.cp/mb-inline.exp: Likewise.
3479 * gdb.cp/mb-templates.exp: Likewise.
3480 * gdb.objc/basicclass.exp: Likewise.
3481 * gdb.threads/killed.exp: Likewise.
3483 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3486 * gdb.arch/powerpc-stackless.S: New file.
3487 * gdb.arch/powerpc-stackless.exp: New file.
3489 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3491 * gdb.base/attach.c: Include unistd.h.
3492 (main): Call alarm. Add label postloop.
3493 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
3494 gdb_breakpoint, gdb_continue_to_breakpoint.
3495 (test_command_line_attach_run): Kill ${testpid} in one exit path.
3497 2014-09-11 Pedro Alves <palves@redhat.com>
3500 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
3501 * gdb.base/attach.exp (test_command_line_attach_run): New
3503 (top level): Call it.
3505 2014-09-11 Pedro Alves <palves@redhat.com>
3507 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
3508 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
3509 (do_command_attach_tests): Use spawn_wait_for_attach.
3510 * gdb.base/solib-overlap.exp: Likewise.
3511 * gdb.multi/multi-attach.exp: Likewise.
3512 * gdb.python/py-prompt.exp: Likewise.
3513 * gdb.python/py-sync-interp.exp: Likewise.
3514 * gdb.server/ext-attach.exp: Likewise.
3516 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
3518 * gdb.fortran/array-element.exp: Remove unexpected "continue"
3519 command in testcase. Simplify testcase.
3521 2014-09-10 Joel Brobecker <brobecker@adacore.com>
3523 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
3525 2014-09-10 Joel Brobecker <brobecker@adacore.com>
3527 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
3529 2014-09-10 Joel Brobecker <brobecker@adacore.com>
3531 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
3533 2014-09-10 Joel Brobecker <brobecker@adacore.com>
3535 * gdb.dwarf2/dynarr-ptr.c: New file.
3536 * gdb.dwarf2/dynarr-ptr.exp: New file.
3538 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3540 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
3541 of 30 rather than hardcoding 120 for a slow test case. Take the
3542 `gdb,timeout' target setting into account for this calculation.
3543 Don't extend the timeout for the test cases that don't need it.
3545 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3547 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
3548 a factor of 2 for a slow test case. Take the `gdb,timeout'
3549 target setting into account for this calculation.
3550 * gdb.reverse/until-precsave.exp: Increase the timeout by
3551 a factor of 15 and 3 respectively rather than adding 120
3552 for a pair of slow test cases. Take the `gdb,timeout'
3553 target setting into account for this calculation.
3555 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3557 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
3558 timeout, don't pass one down to gdb_expect.
3559 (gdb_expect): Rework timeout selection.
3561 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3563 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
3564 exception on timeout.
3565 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
3566 (gdbserver_start_extended): Catch any `gdbserver_start' error
3568 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
3569 * lib/mi-support.exp (mi_gdb_target_load): Catch any
3570 `gdbserver_gdb_load' error exceptions.
3572 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3574 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
3575 120 on waiting for the TCP socket to open.
3577 2014-09-09 Doug Evans <xdje42@gmail.com>
3579 * gdb.base/default.exp (show_conv_list): Add _caller_is,
3580 _caller_matches, _any_caller_is, _any_caller_matches.
3582 2014-09-09 Doug Evans <xdje42@gmail.com>
3584 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
3586 2014-09-09 Yao Qi <yao@codesourcery.com>
3588 * gdb.mi/mi-var-display.exp: Set print symbol off.
3590 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
3593 * gdb.base/commands.exp: Add tests to verify user-defined
3594 commands with empty bodies.
3595 * gdb.python/py-cmd.exp: Test that we don't show user-defined
3596 python commands in `show user command`.
3597 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
3598 scheme commands in `show user command`.
3600 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3603 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
3604 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
3605 * gdb.python/py-framefilter-invalidarg.exp: New file.
3606 * gdb.python/py-framefilter-invalidarg.py: New file.
3608 2014-09-06 Doug Evans <xdje42@gmail.com>
3611 * gdb.python/py-caller-is.c: New file.
3612 * gdb.python/py-caller-is.exp: New file.
3614 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
3617 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
3618 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
3620 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
3623 * gdb.fortran/print-formatted.exp: New file.
3624 * gdb.fortran/print-formatted.f90: Likewise.
3626 2014-09-03 Sasha Smundak <asmundak@google.com>
3628 * gdb.python/py-frame.exp: Test Frame.read_register.
3630 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
3633 * gdb.python/py-completion.exp: New file.
3634 * gdb.python/py-completion.py: Likewise.
3636 2014-08-28 Doug Evans <dje@google.com>
3638 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
3639 eax,etc. are live with values set by gdb and thus the compiler can't
3641 * gdb.arch/i386-pseudo.c (main): Ditto.
3643 2014-08-27 Doug Evans <dje@google.com>
3645 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
3647 2014-08-25 Doug Evans <dje@google.com>
3649 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
3652 2014-08-25 Doug Evans <dje@google.com>
3654 * gdb.threads/thread-execl.exp: #include <stdio.h>.
3656 2014-08-24 Yao Qi <yao@codesourcery.com>
3658 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
3660 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
3662 2014-08-22 Doug Evans <dje@google.com>
3665 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
3666 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
3667 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
3669 2014-08-22 Yao Qi <yao@codesourcery.com>
3671 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
3672 * gdb.python/py-finish-breakpoint2.exp: Likewise.
3673 * gdb.python/python.exp: Likewise. Use .py file on the host
3674 instead of the build.
3676 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3678 * gdb.threads/gcore-stale-thread.c: New file.
3679 * gdb.threads/gcore-stale-thread.exp: New file.
3681 2014-08-21 Pedro Alves <palves@redhat.com>
3683 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
3684 * gdb.base/gcore-relro-pie.exp: Likewise.
3685 * gdb.base/gcore-relro.exp: Likewise.
3686 * gdb.base/gcore.exp: Likewise.
3687 * gdb.base/print-symbol-loading.exp: Likewise.
3688 * gdb.threads/gcore-thread.exp: Likewise.
3689 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
3691 2014-08-20 Pedro Alves <palves@redhat.com>
3692 Jan Kratochvil <jan.kratochvil@redhat.com>
3694 * Makefile.in (EXTRA_RULES, CC): New variables, get from
3696 (EXPECT): Handle READ1 being set.
3697 (all): Depend on EXTRA_RULES.
3698 (check-read1, expect-read1, read1.so, read1): New rules.
3699 * README (Testsuite Parameters): Document the READ1 make variable.
3700 (Race detection): New section.
3701 * configure: Regenerate.
3702 * configure.ac: If build==host==target, and running under a
3703 GNU/glibc system, add read1 to the extra Makefile rules.
3704 (EXTRA_RULES): AC_SUBST it.
3705 * lib/read1.c: New file.
3707 2014-08-20 Joel Brobecker <brobecker@adacore.com>
3709 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
3710 the handling of variables declared as a typedef to an array
3711 which a DW_AT_data_location attribute.
3713 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
3714 Pedro Alves <palves@redhat.com>
3718 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
3721 2014-08-19 Pedro Alves <palves@redhat.com>
3723 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
3725 2014-08-19 Yao Qi <yao@codesourcery.com>
3727 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
3730 2014-08-18 David Blaikie <dblaikie@gmail.com>
3732 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
3734 2014-08-18 Joel Brobecker <brobecker@adacore.com>
3736 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
3737 attribute in array range.
3739 2014-08-18 Joel Brobecker <brobecker@adacore.com>
3741 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
3743 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3746 * gdb.cp/pr17132.cc: New file.
3747 * gdb.cp/pr17132.exp: New file.
3749 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3751 * gdb.python/py-xmethods.py (A_getarrayind)
3752 (E_method_char_worker.__call__, E_method_int_worker.__call__):
3753 Use 'print' with function call syntax.
3754 (E_method_matcher.match): Fix tab vs space indentation mixup.
3756 2014-08-15 Yao Qi <yao@codesourcery.com>
3758 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
3761 2014-08-15 Yao Qi <yao@codesourcery.com>
3763 * gdb.cp/casts.exp: Set print symbol off.
3764 * gdb.cp/class2.exp: Likewise.
3765 * gdb.cp/overload.exp: Likewise.
3766 * gdb.cp/templates.exp: Likewise.
3768 2014-08-11 Doug Evans <dje@google.com>
3770 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3771 (test_load_shlib): Update.
3773 2014-08-09 Yao Qi <yao@codesourcery.com>
3775 * gdb.base/display.exp: Invoke is_address_zero_readable.
3776 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
3777 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3778 * gdb.base/hbreak-unmapped.exp: Return if
3779 is_address_zero_readable returns true.
3780 * gdb.base/signest.exp: Likewise.
3781 * gdb.base/signull.exp: Likewise.
3782 * gdb.base/sigbpt.exp: Likewise.
3783 * gdb.guile/scm-disasm.exp: Do the test if
3784 is_address_zero_readable returns false.
3785 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
3786 * gdb.python/py-arch.exp: Likewise.
3787 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
3788 * lib/gdb.exp (is_address_zero_readable): New proc.
3790 2014-08-09 Yao Qi <yao@codesourcery.com>
3793 * gdb.mi/mi-var-display.exp: Make test messages unique.
3795 2014-08-04 Tom Tromey <tromey@redhat.com>
3797 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
3800 2014-08-04 Tom Tromey <tromey@redhat.com>
3802 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
3805 2014-08-01 Joel Brobecker <brobecker@adacore.com>
3807 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
3808 inner_vla_struct_object_size.
3809 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
3812 2014-07-30 Pedro Alves <palves@redhat.com>
3814 * gdb.threads/signal-command-handle-nopass.exp (test): Add
3817 2014-07-29 Yao Qi <yao@codesourcery.com>
3820 * gdb.base/until-nodebug.exp: New.
3822 2014-07-28 Doug Evans <xdje42@gmail.com>
3825 * gdb.guile/scm-parameter.exp: Add tests for trying to create
3826 previously existing parameter, and previously ambiguously spelled
3829 2014-07-28 Will Newton <will.newton@linaro.org>
3831 * gdb.base/varargs.exp: Remove KFAILs for ARM.
3833 2014-07-26 Ludovic Courtès <ludo@gnu.org>
3834 Doug Evans <xdje42@gmail.com>
3837 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
3839 2014-07-25 Pedro Alves <palves@redhat.com>
3841 * gdb.threads/signal-command-handle-nopass.c: New file.
3842 * gdb.threads/signal-command-handle-nopass.exp: New file.
3843 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
3844 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
3845 * gdb.threads/signal-delivered-right-thread.c: New file.
3846 * gdb.threads/signal-delivered-right-thread.exp: New file.
3848 2014-07-25 Pedro Alves <palves@redhat.com>
3850 * gdb.base/double-prompt-target-event-error.exp
3851 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
3853 (cancel_pagination_in_target_event): Rework double prompt
3855 * gdb.base/paginate-after-ctrl-c-running.exp
3856 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
3858 * gdb.base/paginate-bg-execution.exp
3859 (test_bg_execution_pagination_return)
3860 (test_bg_execution_pagination_cancel): Remove '-notransfer
3862 * gdb.base/paginate-execution-startup.exp
3863 (test_fg_execution_pagination_return)
3864 (test_fg_execution_pagination_cancel): Remove '-notransfer
3866 * gdb.base/paginate-inferior-exit.exp
3867 (test_paginate_inferior_exited): Remove '-notransfer <return>'
3869 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
3870 * lib/gdb.exp (pagination_prompt): Run text through
3872 (gdb_test_multiple): Match $pagination_prompt instead of
3874 (string_to_regexp): Move to lib/gdb-utils.exp.
3876 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3878 * gdb.arch/amd64-entry-value-paramref.S: New file.
3879 * gdb.arch/amd64-entry-value-paramref.cc: New file.
3880 * gdb.arch/amd64-entry-value-paramref.exp: New file.
3881 * gdb.arch/amd64-optimout-repeat.S: New file.
3882 * gdb.arch/amd64-optimout-repeat.c: New file.
3883 * gdb.arch/amd64-optimout-repeat.exp: New file.
3885 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3888 * gdb.base/statistics.exp: New file.
3890 2014-07-17 Doug Evans <dje@google.com>
3893 * gdb.base/maint.exp: Update testing of per-command stats.
3895 2014-07-16 Pedro Alves <palves@redhat.com>
3897 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
3898 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
3899 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
3900 (tfile_write_buf): New functions.
3901 (add_memory_block): Rewrite using the above.
3902 (adjust_function_address): New function.
3903 (FUNCTION_ADDRESS): New macro.
3904 (write_basic_trace_file): Remove short_x local, and use
3905 tfile_write_16. Change type of func_addr local to unsigned long
3906 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
3907 here. Cast argument of add_memory_block to char pointer.
3908 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
3909 (main): Remove parameters.
3910 * gdb.trace/tfile.exp: Remove nowarnings.
3912 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
3914 * gdb.base/debug-expr.exp: Test string evaluation with
3915 "debug expression" on.
3917 2014-07-15 Pedro Alves <palves@redhat.com>
3919 * gdb.base/reread.exp: Use clean_restart.
3921 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
3923 * gdb.arch/avr-flash-qualifer.c: New.
3924 * gdb.arch/avr-flash-qualifer.exp: New.
3926 2014-07-14 Pedro Alves <palves@redhat.com>
3928 * gdb.base/paginate-after-ctrl-c-running.c: New file.
3929 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
3931 2014-07-14 Pedro Alves <palves@redhat.com>
3933 * gdb.base/double-prompt-target-event-error.c: New file.
3934 * gdb.base/double-prompt-target-event-error.exp: New file.
3936 2014-07-14 Pedro Alves <palves@redhat.com>
3939 * gdb.base/paginate-inferior-exit.c: New file.
3940 * gdb.base/paginate-inferior-exit.exp: New file.
3942 2014-07-14 Pedro Alves <palves@redhat.com>
3945 * gdb.base/paginate-bg-execution.c: New file.
3946 * gdb.base/paginate-bg-execution.exp: New file.
3948 2014-07-14 Pedro Alves <palves@redhat.com>
3951 * gdb.base/paginate-execution-startup.c: New file.
3952 * gdb.base/paginate-execution-startup.exp: New file.
3953 * lib/gdb.exp (pagination_prompt): New global.
3954 (default_gdb_spawn): New procedure, factored out from
3956 (default_gdb_start): Adjust to call default_gdb_spawn.
3957 (gdb_spawn): New procedure.
3959 2014-07-14 Pedro Alves <palves@redhat.com>
3961 * lib/gdb.exp (gdb_assert): New procedure.
3962 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
3964 2014-07-14 Pedro Alves <palves@redhat.com>
3966 * gdb.base/execution-termios.c: New file.
3967 * gdb.base/execution-termios.exp: New file.
3969 2014-07-14 Tom Tromey <tromey@redhat.com>
3971 * gdb.cp/vla-cxx.cc: New file.
3972 * gdb.cp/vla-cxx.exp: New file.
3974 2014-07-14 Tom Tromey <tromey@redhat.com>
3976 * gdb.reverse/rerun-prec.c: New file.
3977 * gdb.reverse/rerun-prec.exp: New file.
3979 2014-07-12 Maciej W. Rozycki <macro@mips.com>
3980 Maciej W. Rozycki <macro@codesourcery.com>
3982 * lib/gdb-utils.exp: New file.
3983 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
3984 inline `gdb_init_command' processing.
3985 (gdb_start_cmd): Likewise.
3986 * lib/mi-support.exp (mi_run_cmd): Likewise.
3987 * README: Document `gdb_init_command' and `gdb_init_commands'.
3989 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3991 Fix false FAIL running under a very long directory name.
3992 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
3993 and "set print elements 10000". Twice.
3995 2014-07-11 Yao Qi <yao@codesourcery.com>
3997 * gdb.base/exprs.exp: "set print symbol off".
3999 2014-07-11 Pedro Alves <palves@redhat.com>
4001 * gdb.threads/kill.c: New file.
4002 * gdb.threads/kill.exp: New file.
4004 2014-07-10 Yao Qi <yao@codesourcery.com>
4006 * gdb.trace/tfile.c (write_basic_trace_file)
4007 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
4008 address written to trace file.
4010 2014-07-09 Pedro Alves <palves@redhat.com>
4012 * gdb.base/attach-wait-input.exp: New file.
4013 * gdb.base/attach-wait-input.c: New file.
4015 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4017 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
4018 setting up test structures.
4019 (main): Call new test function.
4020 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
4021 test function, continue into test function and walk test
4024 2014-07-02 Yao Qi <yao@codesourcery.com>
4026 * gdb.trace/entry-values.c: Define labels 'foo_start' and
4027 'bar_start' at the beginning of functions 'foo' and 'bar'
4029 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
4030 instead of 'foo' and 'bar'.
4032 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
4034 * gdb.btrace/segv.exp: New.
4035 * gdb.btrace/segv.c: New.
4037 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
4039 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
4042 2014-06-30 Mark Wielaard <mjw@redhat.com>
4044 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
4045 vulture, vilify, villar): New volatile array constants.
4046 (vindictive, vegetation): New const volatile array constants.
4047 * gdb.base/volatile.exp: Test volatile and const volatile array
4050 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
4052 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
4053 target lacks support for awatch, rwatch, or hbreak.
4055 2014-06-27 Yao Qi <yao@codesourcery.com>
4057 * gdb.multi/dummy-frame-restore.exp: New.
4058 * gdb.multi/dummy-frame-restore.c: New.
4060 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
4062 * gdb.btrace/gcore.exp: New.
4064 2014-06-23 Pedro Alves <palves@redhat.com>
4066 * gdb.base/watchpoint-reuse-slot.c: New file.
4067 * gdb.base/watchpoint-reuse-slot.exp: New file.
4069 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
4071 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
4072 progspace's filename in 'info', 'enable' and 'disable' command
4075 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4077 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
4078 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4079 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
4081 2014-06-20 Gary Benson <gbenson@redhat.com>
4083 * gdb.arch/i386-avx.exp: Fix include file location.
4084 * gdb.arch/i386-sse.exp: Likewise.
4086 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
4088 * gdb.dlang/expression.exp: New file.
4090 2014-06-19 Pedro Alves <palves@redhat.com>
4092 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
4094 (top level): ... here. Iterate running tests under different
4095 scheduler-locking settings.
4097 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
4099 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
4100 to DW_FORM_addr and use non-zero addresses.
4102 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
4105 * gdb.python/py-xmethods.cc: Add global function call counters and
4106 increment them in their respective functions. Remove "cout"
4108 * gdb.python/py-xmethods.exp: Make tests check the global function
4109 call counters instead of depending on inferior IO.
4111 2014-06-18 Don Breazeal <donb@codesourcery.com>
4113 * gdb.base/foll-fork.exp (default_fork_parent_follow):
4115 (explicit_fork_parent_follow): Deleted procedure.
4116 (explicit_fork_child_follow): Deleted procedure.
4117 (test_follow_fork): New procedure.
4118 (do_fork_tests): Replace calls to deleted procedures with
4119 calls to test_follow_fork and reset GDB for subsequent
4122 2014-06-17 Yao Qi <yao@codesourcery.com>
4124 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
4127 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
4129 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
4130 Initialize ptr and S explicitly.
4131 (skip_type_update_when_not_use_rtti_test): Likewise.
4133 2014-06-16 Keith Seitz <keiths@redhat.com>
4136 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
4137 the inferior is started.
4139 2014-06-16 Pedro Alves <palves@redhat.com>
4141 * gdb.base/break-main-file-remove-fail.c: New file.
4142 * gdb.base/break-main-file-remove-fail.exp: New file.
4143 * gdb.base/break-unload-file.exp: Use build_executable instead of
4144 prepare_for_testing.
4145 (test_break): New parameter "initial_load". Handle it.
4146 (top level): Add initial_load cmdline/file axis.
4148 2014-06-12 Tom Tromey <tromey@redhat.com>
4150 * gdb.base/completion.exp: Don't use directory name in test.
4152 2014-06-09 Gary Benson <gbenson@redhat.com>
4154 * gdb.base/sigall.c [Functions to send signals]: Reorder to
4155 separate the always-available ANSI-standard signals from the
4156 signals that require checking.
4158 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
4162 2014-06-07 Keith Seitz <keiths@redhat.com>
4166 * gdb.cp/var-tag.cc: New file.
4167 * gdb.cp/var-tag.exp: New file.
4168 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4169 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4170 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4171 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4173 2014-06-06 Doug Evans <xdje42@gmail.com>
4175 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
4177 2014-06-06 Pedro Alves <palves@redhat.com>
4179 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
4180 in target debug output instead of looking at RSP packets,
4181 disabling the test on any target that uses hardware stepping.
4184 2014-06-06 Pedro Alves <palves@redhat.com>
4186 * gdb.base/break-unload-file.exp: Fix typo.
4188 2014-06-06 Yao Qi <yao@codesourcery.com>
4190 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
4191 from "jit_function" to "^jit_function".
4193 2014-06-06 Yao Qi <yao@codesourcery.com>
4195 * gdb.base/async.c (foo): Add one statement.
4196 * gdb.base/async.exp: Get the next instruction address and
4197 match the output of "nexti" by instruction address. Match
4198 the hex address in the output of "finish".
4200 2014-06-06 Gary Benson <gbenson@redhat.com>
4202 * gdb.base/call-signals.c: Remove preprocessor conditionals
4203 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
4204 SIGSEGV and SIGTERM.
4205 * gdb.base/sigall.c: Likewise.
4206 * gdb.base/unwindonsignal.c: Likewise.
4207 * gdb.reverse/sigall-reverse.c: Likewise.
4209 2014-06-06 Yao Qi <yao@codesourcery.com>
4211 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
4212 readable, skip the test.
4214 2014-06-06 Yao Qi <yao@codesourcery.com>
4216 * gdb.threads/staticthreads.c (thread_function): Move the line
4217 setting breakpoint on forward.
4218 * gdb.threads/staticthreads.exp: Update comments.
4220 2014-06-05 Ludovic Courtès <ludo@gnu.org>
4222 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
4223 "history-append! type error".
4225 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
4227 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
4228 erroneous dprintf expected input.
4230 2014-06-04 Doug Evans <xdje42@gmail.com>
4232 * gdb.guile/scm-generics.exp: Delete.
4234 2014-06-04 Doug Evans <xdje42@gmail.com>
4236 * gdb.guile/scm-breakpoint.exp: Update.
4237 Add tests for breakpoint registration.
4239 2014-06-04 Tom Tromey <tromey@redhat.com>
4241 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
4243 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
4244 inner_vla_struct, vla_union types. Initialize objects of those
4245 types and compute their sizes.
4247 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
4248 Hui Zhu <hui@codesourcery.com>
4250 * gdb.base/fileio.exp: Add test for shell not available as well as
4252 * gdb.base/fileio.c (test_system): Check for shell twice.
4254 2014-06-04 Yao Qi <yao@codesourcery.com>
4256 * gdb.base/auto-connect-native-target.exp: Remove redundant
4257 space from the regexp pattern.
4259 2014-06-04 Yao Qi <yao@codesourcery.com>
4261 * gdb.base/default.exp: Replace "child" with "native" in
4264 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4266 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
4267 * gdb.python/py-xmethods.exp: New tests to test xmethods.
4268 * gdb.python/py-xmethods.py: Python script supporting the
4269 new testcase and tests.
4271 2014-06-03 Joel Brobecker <brobecker@adacore.com>
4272 Pedro Alves <palves@redhat.com>
4274 PR breakpoints/17000
4275 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
4276 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
4278 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
4280 * gdb.base/subst.exp: Add tests to verify partial path matching
4283 2014-06-03 Pedro Alves <palves@redhat.com>
4285 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
4286 target that doesn't use software single-stepping.
4288 2014-06-03 Pedro Alves <palves@redhat.com>
4290 PR breakpoints/17000
4291 * gdb.base/sss-bp-on-user-bp-2.c: New file.
4292 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
4294 2014-06-02 Doug Evans <xdje42@gmail.com>
4296 * gdb.guile/scm-parameter.exp: New file.
4298 2014-06-02 Doug Evans <xdje42@gmail.com>
4300 * gdb.guile/scm-cmd.c: New file.
4301 * gdb.guile/scm-cmd.exp: New file.
4303 2014-06-02 Doug Evans <xdje42@gmail.com>
4305 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
4306 pretty-printer lookup.
4307 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
4308 (make-pp_s-printer): Call it.
4309 (make-pretty-printer-from-dict): New function.
4310 (lookup-pretty-printer-maker-from-dict): New function.
4311 (*pretty-printer*): Simplify.
4312 (make-objfile-pp_s-printer): New function.
4313 (install-objfile-pretty-printers!): New function.
4314 (make-progspace-pp_s-printer): New function.
4315 (install-progspace-pretty-printers!): New function.
4316 * gdb.guile/scm-progspace.c: New file.
4317 * gdb.guile/scm-progspace.exp: New file.
4319 2014-06-02 Pedro Alves <palves@redhat.com>
4321 * gdb.base/dprintf-bp-same-addr.c: New file.
4322 * gdb.base/dprintf-bp-same-addr.exp: New file.
4324 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4326 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
4327 * gdb.arch/powerpc-power.s: Likewise.
4329 2014-06-02 Joel Brobecker <brobecker@adacore.com>
4331 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
4333 2014-06-01 Yao Qi <yao@codesourcery.com>
4335 * gdb.base/watchpoint.exp (test_watch_location): Check null
4336 pointer can be dereferenced. If not, do the test, otherwise
4339 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
4341 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
4343 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
4345 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
4347 * gdb.arch/amd64-invalid-stack-middle.S: New file.
4348 * gdb.arch/amd64-invalid-stack-middle.c: New file.
4349 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
4350 * gdb.arch/amd64-invalid-stack-top.c: New file.
4351 * gdb.arch/amd64-invalid-stack-top.exp: New file.
4353 2014-05-30 Pedro Alves <palves@redhat.com>
4355 PR breakpoints/17000
4356 * gdb.base/sss-bp-on-user-bp.c: New file.
4357 * gdb.base/sss-bp-on-user-bp.exp: New file.
4359 2014-05-30 David Blaikie <dblaikie@gmail.com>
4361 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
4362 gnu_inline semantics via attribute.
4363 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
4364 source explicitly specifies the required semantics.
4366 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
4368 * gdb.reverse/sigall-reverse.exp: Fix a typo.
4370 2014-05-29 Pedro Alves <palves@redhat.com>
4371 Tom Tromey <tromey@redhat.com>
4373 * gdb.base/async-shell.exp: Don't enable target-async.
4374 * gdb.base/async.exp
4375 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
4377 (top level): Don't test with "target-async".
4378 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
4379 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
4380 * gdb.base/inferior-died.exp: Don't enable target-async.
4381 * gdb.base/interrupt-noterm.exp: Likewise.
4382 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
4383 * gdb.mi/mi-nonstop-exit.exp: Likewise.
4384 * gdb.mi/mi-nonstop.exp: Likewise.
4385 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4386 * gdb.mi/mi-nsintrall.exp: Likewise.
4387 * gdb.mi/mi-nsmoribund.exp: Likewise.
4388 * gdb.mi/mi-nsthrexec.exp: Likewise.
4389 * gdb.mi/mi-watch-nonstop.exp: Likewise.
4390 * gdb.multi/watchpoint-multi.exp: Adjust comment.
4391 * gdb.python/py-evsignal.exp: Don't enable target-async.
4392 * gdb.python/py-evthreads.exp: Likewise.
4393 * gdb.python/py-prompt.exp: Likewise.
4394 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
4395 * gdb.server/solib-list.exp: Don't enable target-async.
4396 * gdb.threads/thread-specific-bp.exp: Likewise.
4397 * lib/mi-support.exp: Adjust to use mi-async.
4399 2014-05-29 Pedro Alves <palves@redhat.com>
4402 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
4403 reason, even in sync mode.
4405 2014-05-29 Pedro Alves <palves@redhat.com>
4406 Hui Zhu <hui@codesourcery.com>
4409 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
4410 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
4411 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
4412 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
4414 2014-05-28 Joel Brobecker <brobecker@adacore.com>
4416 * config/monitor.exp (gdb_target_monitor): Replace use of
4417 "set remotebaud" by "set serial baud".
4419 2014-05-26 Andy Wingo <wingo@igalia.com>
4421 * gdb.guile/scm-breakpoint.exp:
4422 * gdb.guile/scm-gsmob.exp: Update to use plain old object
4423 properties instead of gdb-object-properties.
4425 2014-05-26 Yao Qi <yao@codesourcery.com>
4427 * gdb.server/no-thread-db.exp: Specify source file name
4428 explicitly when setting a breakpoint.
4430 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4432 * gdb.btrace/vdso.c: New.
4433 * gdb.btrace/vdso.exp: New.
4435 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4437 * gdb.base/gcore.exp (capture_command_output): Move ...
4438 * lib/gdb.exp (capture_command_output): ... here.
4440 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4442 * gdb.btrace/data.exp: Test memory access during btrace replay.
4444 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
4446 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
4448 2014-05-21 Pedro Alves <palves@redhat.com>
4451 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
4452 (top level): Test that output related to execution commands is
4453 sent to the console with CLI commands, but not with MI commands.
4454 Test that breakpoint events are always mirrored to the console.
4455 Also expect the new source line to be output after a "next" in
4456 async mode too. Make it a pass/fail test.
4457 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
4459 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
4461 2014-05-21 Pedro Alves <palves@redhat.com>
4463 * gdb.base/list.exp (build_pattern, test_list): New procedures.
4464 Use them to test variations of "list" after reaching a breakpoint.
4465 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
4466 Test "list" with listsize 10 after reaching a breakpoint.
4467 * gdb.python/python.exp (decode_line current location line
4468 number): Adjust expected line number.
4470 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
4472 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
4473 behavior for $args, pass it directly to "run".
4475 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4477 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
4480 2014-05-21 Pedro Alves <palves@redhat.com>
4482 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
4483 auto-connect-native-target off".
4484 * gdb.base/auto-connect-native-target.c: New file.
4485 * gdb.base/auto-connect-native-target.exp: New file.
4487 2014-05-21 Pedro Alves <palves@redhat.com>
4489 * gdb.base/default.exp: Test "target native" instead of "target
4492 2014-05-21 Mark Wielaard <mjw@redhat.com>
4494 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
4496 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4498 Fix TLS access for -static -pthread.
4499 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
4500 <HAVE_TLS> (thread_function, main): Initialize it.
4501 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
4503 <$have_tls != "">: Check TLSVAR.
4505 2014-05-21 Pedro Alves <palves@redhat.com>
4507 * gdb.base/dcache-line-read-error.c: New.
4508 * gdb.base/dcache-line-read-error.exp: New.
4510 2014-05-20 Pedro Alves <palves@redhat.com>
4512 * gdb.base/compare-sections.c: New file.
4513 * gdb.base/compare-sections.exp: New file.
4515 2014-05-20 Pedro Alves <palves@redhat.com>
4517 * gdb.base/break-idempotent.c: New file.
4518 * gdb.base/break-idempotent.exp: New file.
4520 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
4522 * gdb.btrace/nohist.exp: New.
4524 2014-05-20 Yao Qi <yao@codesourcery.com>
4526 * lib/gdb.exp (gdb_init): Set timeout if test file is under
4527 gdb.reverse directory and gdb_reverse_timeout exists in board
4529 * README: Document gdb_reverse_timeout.
4531 2014-05-20 Yao Qi <yao@codesourcery.com>
4533 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
4534 'test_file_name'. Treat args as a string instead of a list.
4535 (gdb_init): Rename argument 'args' by 'test_file_name'.
4537 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4539 * gdb.arch/powerpc-power.exp: New file.
4540 * gdb.arch/powerpc-power.s: New file.
4542 2014-05-16 Doug Evans <dje@google.com>
4544 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
4545 * gdb.base/completion.exp: Check that all expected files exist
4546 before doing file completion.
4548 2014-05-16 Doug Evans <dje@google.com>
4550 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
4552 (do_syscall_tests_without_xml): Update.
4554 2014-05-16 Pedro Alves <palves@redhat.com>
4556 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
4557 instead of "unknown output after running".
4559 2014-05-16 Yao Qi <yao@codesourcery.com>
4561 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
4562 file1.txt from host at the end.
4563 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4565 2014-05-15 Doug Evans <dje@google.com>
4567 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
4568 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
4569 loading file. Add test for TU lookup.
4571 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
4573 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
4574 calling "-exec-arguments" or "set args" before running the
4577 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
4579 * lib/mi-support.exp (mi_expect_stop): Expect message for
4580 inferiors that exit with non-zero exit code.
4582 2014-05-14 Yao Qi <yao@codesourcery.com>
4584 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
4585 match absolute path on remote host.
4586 (test_file_list_exec_source_files): Remove "/" from the
4589 2014-05-14 Yao Qi <yao@codesourcery.com>
4591 * boards/local-remote-host-notty.exp (${board}_file): New
4594 2014-05-07 Kyle McMartin <kyle@redhat.com>
4596 Pushed by Joel Brobecker <brobecker@adacore.com>.
4597 * gdb.arch/aarch64-atomic-inst.c: New file.
4598 * gdb.arch/aarch64-atomic-inst.exp: New file.
4600 2014-05-07 Yao Qi <yao@codesourcery.com>
4602 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
4603 in current context" too.
4605 2014-05-05 Keith Seitz <keiths@redhat.com>
4607 * gdb.linespec/ls-dollar.exp: Add test for linespec
4608 file:convenience_variable.
4610 2014-05-05 Yao Qi <yao@codesourcery.com>
4612 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
4613 traceframes into tfile and ctf trace files. Read data from
4614 trace file and test collected data.
4615 (gdb_collect_locals_test): Likewise.
4616 (gdb_unavailable_registers_test): Likewise.
4617 (gdb_unavailable_floats): Likewise.
4618 (gdb_collect_globals_test): Likewise.
4619 (top-level): Append "ctf" to trace_file_targets if GDB
4622 2014-05-05 Yao Qi <yao@codesourcery.com>
4624 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
4626 (gdb_collect_args_test_1): ... it. New proc.
4627 (gdb_collect_locals_test): Move some code to ...
4628 (gdb_collect_locals_test_1): ... it. New proc.
4629 (gdb_unavailable_registers_test): Move some code to ...
4630 (gdb_unavailable_registers_test_1): ... it. New proc.
4631 (gdb_unavailable_floats): Move some code to ...
4632 (gdb_unavailable_floats_1): ... it. New proc.
4634 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4636 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
4637 probes to test for bitness recognition.
4638 * gdb.arch/amd64-stap-optional-prefix.exp
4639 (test_probe_value_without_reg): New procedure.
4640 Add code to test for different kinds of bitness.
4642 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4644 PR breakpoints/16889
4645 * gdb.arch/amd64-stap-optional-prefix.S: New file.
4646 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4648 2014-05-01 Pedro Alves <palves@redhat.com>
4650 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
4651 gdb_file_cmd if no file is specified.
4652 * boards/native-extended-gdbserver.exp (gdb_load): Use the
4653 last_loaded_file to set the remote exec-file.
4655 2014-05-01 Pedro Alves <palves@redhat.com>
4657 * boards/local-remote-host.exp: New file.
4659 2014-05-01 Pedro Alves <palves@redhat.com>
4661 * boards/local-remote-host.exp: Rename to ...
4662 * boards/local-remote-host-notty.exp: ... this.
4664 2014-04-28 Joel Brobecker <brobecker@adacore.com>
4666 * gdb.ada/dyn_arrayidx: New testcase.
4668 2014-04-26 Yao Qi <yao@codesourcery.com>
4670 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
4671 and compute the length of function main. Save it in
4673 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
4674 (top-level): Use gdb_compile to compile objects into
4675 executable and restart GDB. Remove invocation to
4676 prepare_for_testing.
4678 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
4679 Pedro Alves <palves@redhat.com>
4682 * gdb.multi/multi-attach.c: New file.
4683 * gdb.multi/multi-attach.exp: New file.
4685 2014-04-25 Pedro Alves <palves@redhat.com>
4687 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
4689 (top level): Test that "set remote conditional-breakpoints-packet
4690 off" works as intended.
4691 * gdb.base/dprintf.exp: Test that "set remote
4692 breakpoint-commands-packet off" works as intended.
4693 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
4695 (top level): Call it.
4696 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
4697 remote fast-tracepoints-packet off" works as intended.
4698 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
4699 * lib/gdb.exp (gdb_is_target_remote): ... here.
4701 2014-04-24 David Blaikie <dblaikie@gmail.com>
4703 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
4704 ensure clang would not discard them.
4705 * gdb.base/gdbvars.c: Ditto.
4706 * gdb.base/memattr.c: Ditto.
4707 * gdb.base/whatis.c: Ditto.
4708 * gdb.python/py-prettyprint.c: Ditto.
4709 * gdb.trace/actions.c: Ditto.
4710 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
4711 ensure clang would not discard it.
4713 2014-04-24 David Blaikie <dblaikie@gmail.com>
4715 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
4716 clang to emit the full definition of type required by the test
4717 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
4719 2014-04-24 David Blaikie <dblaikie@gmail.com>
4721 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
4722 coax Clang into emitting the definition of the type.
4723 * gdb.cp/pr10728-x.h (y): Ditto.
4724 * gdb.cp/pr10728-y.cc (y): Ditto.
4726 2014-04-24 David Blaikie <dblaikie@gmail.com>
4728 * gdb.base/label.exp: XFAIL label related tests under Clang.
4729 * gdb.cp/cplabel.exp: Ditto.
4730 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
4731 under Clang those using labels.
4733 2014-04-25 Yao Qi <yao@codesourcery.com>
4735 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
4737 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
4738 partial_label and double_label.
4740 2014-04-24 David Blaikie <dblaikie@gmail.com>
4742 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
4744 2014-04-24 David Blaikie <dblaikie@gmail.com>
4746 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
4747 of the function to work across GCC and Clang.
4748 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
4749 pointer types (const void ** const V void **).
4751 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
4752 Walfred Tedeschi <walfred.tedeschi@intel.com>
4754 * Makefile.in (EXECUTABLES): Added i386-avx512.
4755 * gdb.arch/i386-avx512.c: New file.
4756 * gdb.arch/i386-avx512.exp: Likewise.
4758 2014-04-23 Keith Seitz <keiths@redhat.com>
4760 * lib/mi-support.exp (mi_list_breakpoints): Delete.
4761 (mi_make_breakpoint_table): New procedure.
4762 (mi_create_breakpoint): Use mi_make_breakpoint
4763 and return the result.
4764 (mi_make_breakpoint): New procedure.
4765 (mi_build_kv_pairs): New procedure.
4767 * gdb.mi/mi-break.exp: Remove unused globals,
4768 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
4769 All callers updated.
4770 * gdb.mi/mi-dprintf.exp: Use variable to track command
4772 Update all callers of mi_create_breakpoint and use
4773 mi_make_breakpoint_table.
4774 Remove any unused global variables.
4775 * gdb.mi/mi-nonstop.exp: Likewise.
4776 * gdb.mi/mi-nsintrall.exp: Likewise.
4777 * gdb.mi/mi-nsmoribund.exp: Likewise.
4778 * gdb.mi/mi-nsthrexec.exp: Likewise.
4779 * gdb.mi/mi-reverse.exp: Likewise.
4780 * gdb.mi/mi-simplerun.exp: Likewise.
4781 * gdb.mi/mi-stepn.exp: Likewise.
4782 * gdb.mi/mi-syn-frame.exp: Likewise.
4783 * gdb.mi/mi-until.exp: Likewise.
4784 * gdb.mi/mi-var-cp.exp: Likewise.
4785 * gdb.mi/mi-var-display.exp: Likewise.
4786 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
4787 * gdb.mi/mi2-var-child.exp: Likewise.
4788 * gdb.mi/mi-vla-c99.exp: Likewise.
4789 * lib/mi-support.exp: Likewise.
4791 From Ian Lance Taylor <iant@cygnus.com>:
4792 * lib/gdb.exp (parse_args): New procedure.
4794 2014-04-23 Pedro Alves <palves@redhat.com>
4796 * gdb.base/break-unload-file.c: New file.
4797 * gdb.base/break-unload-file.exp: New file.
4798 * gdb.base/sym-file-lib.c (baz): New function.
4799 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
4801 (load): Store the segment's mapped size.
4802 (unload): New function.
4803 (unload_shlib): New function.
4804 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
4805 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
4806 set a breakpoint at baz, and call it.
4807 * gdb.base/sym-file.exp: New tests for stale breakpoint
4810 2014-04-23 Pedro Alves <palves@redhat.com>
4812 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
4813 * gdb.base/hbreak-in-shr-unsupported.c: New file.
4814 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
4815 * gdb.base/hbreak-unmapped.c: New file.
4816 * gdb.base/hbreak-unmapped.exp: New file.
4817 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
4818 * lib/gdb.exp (gdb_is_target_remote): ... here.
4820 2014-04-22 Pedro Alves <palves@redhat.com>
4822 * gdb.base/consecutive-step-over.c: New file.
4823 * gdb.base/consecutive-step-over.exp: New file.
4825 2014-04-22 Pedro Alves <palves@redhat.com>
4827 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
4828 instead of send_gdb/gdb_expect.
4830 2014-04-22 Yao Qi <yao@codesourcery.com>
4832 * lib/trace-support.exp (generate_tracefile): New procedure.
4833 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
4835 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
4836 if generate_tracefile returns 1.
4838 2014-04-18 Tom Tromey <palves@redhat.com>
4839 Pedro alves <tromey@redhat.com>
4842 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
4843 with a backtrace limit.
4844 * gdb.python/py-frame-inline.exp: Test running to an inline
4845 function with a backtrace limit, and printing the newest frame.
4846 * gdb.python/py-frame-inline.c (main): Call f.
4848 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4850 * gdb.java/jnpe.exp: Drop srcdir from untested path.
4852 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4854 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
4855 Drop prefix from unsupported source file path.
4857 2014-04-17 Yao Qi <yao@codesourcery.com>
4859 * lib/gdb.exp (with_target_charset): New proc.
4860 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
4861 with_target_charset.
4862 (test_print_strings): Likewise.
4863 (test_repeat_bytes): Likewise.
4864 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
4867 2014-04-16 Keith Seitz <keiths@redhat.com>
4870 * gdb.dwarf2/corrupt.c: New file.
4871 * gdb.dwarf2/corrupt.exp: New file.
4873 2014-04-16 Keith Seitz <keiths@redhat.com>
4876 * gdb.cp/namelessclass.cc: New file.
4877 * gdb.cp/namelessclass.exp: New file.
4878 * gdb.cp/namelessclass.S: New file.
4880 2014-04-16 Doug Evans <dje@google.com>
4882 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
4884 (gdbserver_default_get_comm_port): New function.
4885 (gdbserver_start): Check if board file provided
4886 "gdbserver,get_comm_port" and use it if so.
4887 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
4888 (gdb,socketport): Set to "stdio".
4889 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
4890 (stdio_gdbserver_template): Delete.
4891 (${board}_get_remote_address): Update.
4892 (${board}_build_remote_cmd): Delete.
4893 (${board}_get_comm_port): New function.
4894 (${board}_spawn): Update.
4895 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
4897 (${board}_get_remote_address): Update.
4898 (${board}_get_comm_port): New function.
4900 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
4902 * gdb.base/memattr.exp: Improve regexps to handle memory regions
4903 appearing in any order.
4905 2014-04-15 Doug Evans <dje@google.com>
4907 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
4908 uninitialized value of "description".
4910 2014-04-15 Keith Seitz <keiths@redhat.com>
4912 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
4913 Remove unused globals.
4914 (test_running_the_program): Likewise.
4915 (test_controlled_execution): Likewise.
4916 (test_controlling_breakpoints): Likewise.
4917 (test_program_termination): Likewise.
4919 2014-04-15 Keith Seitz <keiths@redhat.com>
4921 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
4923 (test_rbreak_creation_and_listing): Likewise.
4924 (test_ignore_count): Likewise.
4925 (test_error): Likewise.
4927 2014-04-15 Pedro Alves <palves@redhat.com>
4929 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
4930 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
4932 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4933 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4934 to sym-file-loader.c.
4935 (struct library): Forward declare.
4936 (load_shlib, lookup_function): Change prototypes.
4937 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4938 (translate_offset): Remove declarations.
4939 (get_text_addr): New declaration.
4940 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
4941 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
4943 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4944 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4945 here from sym-file-loader.h.
4946 (struct library): New structure.
4947 (load_shlib, lookup_function): Change prototypes and adjust to
4948 work with a struct library.
4949 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4950 (translate_offset): Make static.
4951 (get_text_addr): New function.
4952 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
4954 2014-04-15 Pedro Alves <palves@redhat.com>
4956 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
4958 2014-04-15 Pedro Alves <palves@redhat.com>
4960 * gdb.base/sym-file-loader.c: Include <limits.h>.
4961 (SELF_LINK): New define.
4962 (get_origin): New function.
4963 (load_shlib): Use it.
4964 * gdb.base/sym-file.exp: Don't early return if the target is
4965 remote. Use runto_main, and issue fail is that fails. Use
4967 (shlib_name): Delete.
4968 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
4970 2014-04-15 Pedro Alves <palves@redhat.com>
4972 * gdb.base/sym-file.exp: Remove regex characters from test
4973 message. Don't refer to breakpoint numbers in test messages.
4975 2014-04-14 Keith Seitz <keiths@redhat.com>
4978 * gdb.cp/var-tag.cc: New file.
4979 * gdb.cp/var-tag.exp: New file.
4980 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4981 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4982 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4983 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4985 2014-04-14 Tom Tromey <tromey@redhat.com>
4987 * gdb.cp/classes.exp (test_enums): Handle underlying type.
4988 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
4990 * gdb.cp/enum-class.exp: New file.
4991 * gdb.cp/enum-class.cc: New file.
4993 2014-04-14 Tom Tromey <tromey@redhat.com>
4995 * gdb.dwarf2/enum-type.exp: New file.
4997 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4999 * gdb.mi/mi-vla-c99.exp: New file.
5000 * gdb.mi/vla.c: New file.
5002 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5004 * gdb.base/vla-datatypes.c: New file.
5005 * gdb.base/vla-datatypes.exp: New file.
5007 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5009 * gdb.base/vla-ptr.c: New file.
5010 * gdb.base/vla-ptr.exp: New file.
5012 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5014 * gdb.dwarf2/count.exp: New file.
5016 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5018 * gdb.base/vla-sideeffect.c: New file.
5019 * gdb.base/vla-sideeffect.exp: New file.
5021 2014-04-14 David Blaikie <dblaikie@gmail.com>
5023 * gdb.mi/non-stop.c: Add return value for non-void function return
5025 * gdb.threads/staticthreads.c: Ditto.
5027 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
5028 Doug Evans <xdje42@gmail.com>
5030 * gdb.guile/scm-value.c: Improve test case.
5031 * gdb.guile/scm-value.exp: Add new test.
5033 2014-04-11 David Blaikie <dblaikie@gmail.com>
5035 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
5036 override Clang's default.
5038 2014-04-11 Joel Brobecker <brobecker@adacore.com>
5040 Revert the following changes (regressions):
5042 * gdb.base/vla-sideeffect.c: New file.
5043 * gdb.base/vla-sideeffect.exp: New file.
5045 * gdb.dwarf2/count.exp: New file.
5047 * gdb.base/vla-multi.c: New file.
5048 * gdb.base/vla-multi.exp: New file.
5050 * gdb.base/vla-ptr.c: New file.
5051 * gdb.base/vla-ptr.exp: New file.
5053 * gdb.base/vla-datatypes.c: New file.
5054 * gdb.base/vla-datatypes.exp: New file.
5056 * gdb.mi/mi-vla-c99.exp: New file.
5057 * gdb.mi/vla.c: New file.
5059 2014-04-11 Keith Seitz <keiths@redhat.com>
5062 * gdb.cp/cpsizeof.exp: New file.
5063 * gdb.cp/cpsizeof.cc: New file.
5065 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5067 * gdb.mi/mi-vla-c99.exp: New file.
5068 * gdb.mi/vla.c: New file.
5070 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5072 * gdb.base/vla-datatypes.c: New file.
5073 * gdb.base/vla-datatypes.exp: New file.
5075 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5077 * gdb.base/vla-ptr.c: New file.
5078 * gdb.base/vla-ptr.exp: New file.
5080 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5082 * gdb.base/vla-multi.c: New file.
5083 * gdb.base/vla-multi.exp: New file.
5085 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5087 * gdb.dwarf2/count.exp: New file.
5089 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5091 * gdb.base/vla-sideeffect.c: New file.
5092 * gdb.base/vla-sideeffect.exp: New file.
5094 2014-04-11 Yao Qi <yao@codesourcery.com>
5096 * gdb.base/completion.exp: Check file exists before running tests
5099 2014-04-10 Pedro Alves <palves@redhat.com>
5101 * gdb.base/cond-eval-mode.c: New file.
5102 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
5103 prepare_for_testing to build the new file. Check result of
5105 (test_break, test_watch): New procedures.
5106 (top level): Use them.
5108 2014-04-08 Pierre Muller <muller@sourceware.org>
5110 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
5111 Ctrl-V use for mingw hosts.
5113 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
5115 * gdb.python/py-value.c: Improve test case.
5116 * gdb.python/py-value.exp: Add new test.
5118 2014-04-07 David Blaikie <dblaikie@gmail.com>
5120 * lib/compiler.c: Identify the clang compiler.
5121 * lib/compiler.cc: Ditto.
5123 2014-04-03 Yao Qi <yao@codesourcery.com>
5125 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
5127 2014-04-01 Anton Blanchard <anton@samba.org>
5129 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
5132 2014-04-01 Anton Blanchard <anton@samba.org>
5134 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
5135 prepare_for_testing.
5137 2014-04-01 Anton Blanchard <anton@samba.org>
5139 * gdb.arch/ppc64-atomic-inst.c: Remove.
5140 * gdb.arch/ppc64-atomic-inst.S: New file.
5141 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
5143 2014-03-31 Doug Evans <dje@google.com>
5145 * gdb.base/print-symbol-loading-lib.c: New file.
5146 * gdb.base/print-symbol-loading-main.c: New file.
5147 * gdb.base/print-symbol-loading.exp: New file.
5149 2014-03-31 Yao Qi <yao@codesourcery.com>
5151 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
5153 2014-03-28 Joel Brobecker <brobecker@adacore.com>
5155 * gdb.ada/mi_dyn_arr: New testcase.
5157 2014-03-27 Doug Evans <dje@google.com>
5159 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
5161 2014-03-27 Yao Qi <yao@codesourcery.com>
5163 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
5164 if target is nios2-*-*.
5166 2014-03-26 Yao Qi <yao@codesourcery.com>
5168 * lib/gdb.exp (readline_is_used): New proc.
5169 * gdb.base/completion.exp: Move tests on command complete up.
5170 Skip the rest of tests if readline is not used.
5171 * gdb.ada/complete.exp: Skp the test if readline is not
5173 * gdb.base/filesym.exp: Likewise.
5174 * gdb.base/macscp.exp: Likewise.
5175 * gdb.base/readline-ask.exp: Likewise.
5176 * gdb.base/readline.exp: Likewise.
5177 * gdb.python/py-cmd.exp: Likewise.
5178 * gdb.trace/tfile.exp: Likewise.
5180 2014-03-26 Yao Qi <yao@codesourcery.com>
5182 * gdb.base/macscp.exp: Fix code format issues.
5184 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
5186 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
5187 * gdb.asm/powerpc64le.inc: New file.
5189 2014-03-25 Pedro Alves <palves@redhat.com>
5190 Doug Evans <dje@google.com>
5192 * gdb.base/source-execution.c: New file.
5193 * gdb.base/source-execution.exp: New file.
5194 * gdb.base/source-execution.gdb: New file.
5196 2014-03-24 Doug Evans <dje@google.com>
5198 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
5201 2014-03-24 Hui Zhu <hui@codesourcery.com>
5202 Pedro Alves <palves@redhat.com>
5204 PR breakpoints/16101
5205 * gdb.base/dprintf.exp: Use unsupported rather than changing the
5206 test pass/fail messages. Detect missing support for dprintf when
5207 breakpoints are actually inserted.
5208 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
5209 breakpoints are actually inserted.
5210 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
5213 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5215 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
5217 2014-03-22 Doug Evans <xdje42@gmail.com>
5219 * gdb.python/python.exp (python not supported): Verify multi-line
5220 python command issues an error.
5221 * gdb.guile/guile.exp (guile not supported): Verify multi-line
5222 guile command issues an error.
5224 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
5226 * gdb.threads/thread-specific.exp: Handle the lack of usable
5227 $this_breakpoint and $this_thread.
5229 2014-03-21 Hui Zhu <hui@codesourcery.com>
5231 * gdb.base/attach.exp (do_command_attach_tests): New.
5233 2014-03-20 Tom Tromey <tromey@redhat.com>
5234 Pedro Alves <palves@redhat.com>
5237 * gdb.base/condbreak-call-false.c: New file.
5238 * gdb.base/condbreak-call-false.exp: New file.
5240 2014-03-20 Pedro Alves <palves@redhat.com>
5242 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
5244 (block_signals, unblock_signals): Delete.
5245 (child_function_2, main): Remove references to deleted variable
5248 2014-03-20 Pedro Alves <palves@redhat.com>
5250 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
5251 Use pthread_kill to signal thread 2.
5252 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5253 Adjust to make the test send itself a signal rather than using the
5254 host's "kill" command.
5256 2014-03-20 Pedro Alves <palves@redhat.com>
5258 * gdb.threads/multiple-step-overs.c: New file.
5259 * gdb.threads/multiple-step-overs.exp: New file.
5260 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5261 Adjust expected infrun debug output.
5263 2014-03-20 Pedro Alves <palves@redhat.com>
5265 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
5266 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
5268 2014-03-20 Pedro Alves <palves@redhat.com>
5271 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
5272 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
5273 of gdb_test_multiple.
5274 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
5275 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
5277 2014-03-20 Pedro Alves <palves@redhat.com>
5279 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
5280 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
5282 2014-03-19 Pedro Alves <palves@redhat.com>
5284 * gdb.base/async.exp: Remove early return.
5286 2014-03-19 Pedro Alves <palves@redhat.com>
5288 * gdb.base/async.exp (step& tests): Pass explicit test messages.
5290 2014-03-19 Pedro Alves <palves@redhat.com>
5292 * gdb.base/async.exp (test_background): Expect \r\n after
5293 "completed." in the fail pattern.
5295 2014-03-19 Pedro Alves <palves@redhat.com>
5297 * gdb.base/async.exp (test_background): New procedure.
5298 Use it for all background execution command tests.
5300 2014-03-19 Pedro Alves <palves@redhat.com>
5302 * gdb.base/async.exp: Use prepare_for_testing.
5304 2014-03-19 Pedro Alves <palves@redhat.com>
5306 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
5309 2014-03-19 Pedro Alves <palves@redhat.com>
5311 * gdb.base/async.c (main): Add "jump here" and "until here" line
5313 * gdb.base/async.exp (jump_here): New global.
5314 (jump& test): Use it.
5315 (until_here): New global.
5316 (until& test): Use it.
5318 2014-03-19 Pedro Alves <palves@redhat.com>
5320 * gdb.base/async.exp: Don't frob gdb_protocol.
5322 2014-03-18 Doug Evans <xdje42@gmail.com>
5324 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
5325 Fix spelling of exec-done-display.
5327 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5330 * gdb.base/gdb-sigterm.c: New file.
5331 * gdb.base/gdb-sigterm.exp: New file.
5333 2014-03-18 Pedro Alves <palves@redhat.com>
5336 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
5337 * lib/mi-support.exp (mi_expect_stop): Add special handling for
5340 2014-03-17 Joel Brobecker <brobecker@adacore.com>
5342 * gdb.ada/pckd_arr_ren: New testcase.
5344 2014-03-13 Doug Evans <xdje42@gmail.com>
5347 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
5348 collect after discarding symbols.
5350 2014-03-13 Ludovic Courtès <ludo@gnu.org>
5351 Doug Evans <xdje42@gmail.com>
5353 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
5354 to history survives a gc.
5356 2014-03-13 Pedro Alves <palves@redhat.com>
5358 * gdb.base/default.exp: Don't test "target procfs".
5360 2014-03-13 Pedro Alves <palves@redhat.com>
5362 * gdb.base/default.exp: Update "target child" and "target procfs"
5363 tests to not expect "Unix".
5365 2014-03-12 Tom Tromey <tromey@redhat.com>
5367 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
5368 New procs. Add target-async tests.
5369 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
5370 Add target-async tests.
5372 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5374 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
5375 'func_start' and 'func_end' for the beginning and end of the
5376 function code, respectively.
5377 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
5378 'func_end' instead of 'func' and 'main'.
5380 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5382 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
5383 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
5384 generate the debug info assembler source.
5386 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5388 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
5389 * gdb.dwarf2/arr-subrange.exp: Likewise.
5390 * gdb.dwarf2/dwz.exp: Likewise.
5391 * gdb.dwarf2/method-ptr.exp: Likewise.
5392 * gdb.dwarf2/missing-sig-type.exp: Likewise.
5393 * gdb.dwarf2/subrange.exp: Likewise.
5394 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
5395 * gdb.dwarf2/implptrpiece.exp: Likewise.
5396 * gdb.dwarf2/nostaticblock.exp: Likewise.
5398 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5400 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
5401 directory to absolute path name arguments.
5403 2014-03-10 Joel Brobecker <brobecker@adacore.com>
5405 * gdb.ada/tagged_access: New testcase.
5407 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
5409 * gdb.btrace/data.exp: Update expected output.
5411 2014-03-06 Yao Qi <yao@codesourcery.com>
5413 * gdb.trace/pr16508.exp: New file.
5415 2014-03-05 Pedro Alves <palves@redhat.com>
5418 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
5420 (top level): Adjust to use it. Add tests that exercise breakpoint
5421 interaction with the code-cache.
5423 2014-02-26 Ludovic Courtès <ludo@gnu.org>
5425 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
5426 test for 'history-append!'.
5428 2014-02-26 Joel Brobecker <brobecker@adacore.com>
5430 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
5431 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
5432 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
5433 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
5434 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
5435 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
5437 2014-02-26 Joel Brobecker <brobecker@adacore.com>
5439 * testsuite/gdb.python/py-pp-re-notag.c: New file.
5440 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
5441 * testsuite/gdb.python/py-pp-re-notag.p: New file.
5443 2014-02-26 Joel Brobecker <brobecker@adacore.com>
5445 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
5447 2014-02-26 Joel Brobecker <brobecker@adacore.com>
5449 * gdb.dwarf2/arr-stride.c: New file.
5450 * gdb.dwarf2/arr-stride.exp: New file.
5452 2014-02-26 Pedro Alves <palves@redhat.com>
5454 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
5455 that won't ever trigger. Make sure that GDB reports the correct
5456 breakpoint that caused the stop.
5458 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5461 * gdb.base/auto-load-script: New file.
5462 * gdb.base/auto-load.c: New file.
5463 * gdb.base/auto-load.exp: New file.
5466 * gdb.base/auto-load.exp: Fix out-of-srctree run.
5468 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5470 Fix dw2-icycle.exp -fsanitize=address GDB crash.
5471 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
5473 2014-02-24 Doug Evans <dje@google.com>
5475 * lib/gdb.exp (run_on_host): Log error output if program fails.
5477 2014-02-21 Pedro Alves <palves@redhat.com>
5479 * gdb.threads/step-after-sr-lock.c: Rename to ...
5480 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
5481 * gdb.threads/step-after-sr-lock.exp: Rename to ...
5482 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5485 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
5488 * gdb.arch/amd64-stap-special-operands.exp: New file.
5489 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
5490 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
5491 * gdb.arch/amd64-stap-triplet.S: Likewise.
5492 * gdb.arch/amd64-stap-triplet.c: Likewise.
5494 2014-02-20 Joel Brobecker <brobecker@adacore.com>
5496 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
5497 in .section pseudo-op.
5499 2014-02-20 lin zuojian <manjian2006@gmail.com>
5500 Joel Brobecker <brobecker@adacore.com>
5501 Doug Evans <xdje42@gmail.com>
5504 * gdb.dwarf2/dw2-icycle.S: New file.
5505 * gdb.dwarf2/dw2-icycle.c: New file.
5506 * gdb.dwarf2/dw2-icycle.exp: New file.
5508 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
5510 * gdb.python/py-value-cc.cc: Improve test case to enable testing
5511 operations on gdb.Value objects.
5512 * gdb.python/py-value-cc.exp: Add new test to test operations on
5515 2014-02-18 Doug Evans <dje@google.com>
5517 * Makefile.in (TESTS): New variable.
5518 (expanded_tests, expanded_tests_or_none): New variables
5519 (check-single): Pass $(expanded_tests_or_none) to runtest.
5520 (check-parallel): Only run tests in $(TESTS) if non-empty.
5521 (check/no-matching-tests-found): New rule.
5522 * README: Document TESTS makefile variable.
5524 2014-02-18 Doug Evans <dje@google.com>
5526 * Makefile.in (check-parallel): rm -rf outputs temp.
5528 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5530 Fix "ERROR: no fileid for" in the testsuite.
5531 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
5533 2014-02-12 Doug Evans <dje@google.com>
5535 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
5536 (MISCELLANEOUS): New variable.
5537 (clean): rm -rf $(MISCELLANEOUS).
5538 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
5539 dwp live in the same directory as symlinks, with each symlink pointed
5540 to a differently named file in a different directory.
5542 2014-02-11 Doug Evans <dje@google.com>
5544 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
5545 of Tcl file commands.
5547 2014-02-10 Mark Kettenis <kettenis@gnu.org>
5549 * gdb.threads/step-after-sr-lock.exp: Avoid executing
5552 2014-02-10 Joel Brobecker <brobecker@adacore.com>
5554 * gdb.ada/tick_length_array_enum_idx: New testcase.
5556 2014-02-10 Doug Evans <xdje42@gmail.com>
5558 * configure.ac (AC_OUTPUT): Add gdb.guile.
5559 * configure: Regenerate.
5560 * lib/gdb-guile.exp: New file.
5561 * lib/gdb.exp (get_target_charset): New function.
5562 * gdb.base/help.exp: Update expected output from "apropos apropos".
5563 * gdb.guile/Makefile.in: New file.
5564 * gdb.guile/guile.exp: New file.
5565 * gdb.guile/scm-arch.c: New file.
5566 * gdb.guile/scm-arch.exp: New file.
5567 * gdb.guile/scm-block.c: New file.
5568 * gdb.guile/scm-block.exp: New file.
5569 * gdb.guile/scm-breakpoint.c: New file.
5570 * gdb.guile/scm-breakpoint.exp: New file.
5571 * gdb.guile/scm-disasm.c: New file.
5572 * gdb.guile/scm-disasm.exp: New file.
5573 * gdb.guile/scm-equal.c: New file.
5574 * gdb.guile/scm-equal.exp: New file.
5575 * gdb.guile/scm-error.exp: New file.
5576 * gdb.guile/scm-error.scm: New file.
5577 * gdb.guile/scm-frame-args.c: New file.
5578 * gdb.guile/scm-frame-args.exp: New file.
5579 * gdb.guile/scm-frame-args.scm: New file.
5580 * gdb.guile/scm-frame-inline.c: New file.
5581 * gdb.guile/scm-frame-inline.exp: New file.
5582 * gdb.guile/scm-frame.c: New file.
5583 * gdb.guile/scm-frame.exp: New file.
5584 * gdb.guile/scm-generics.exp: New file.
5585 * gdb.guile/scm-gsmob.exp: New file.
5586 * gdb.guile/scm-iterator.c: New file.
5587 * gdb.guile/scm-iterator.exp: New file.
5588 * gdb.guile/scm-math.c: New file.
5589 * gdb.guile/scm-math.exp: New file.
5590 * gdb.guile/scm-objfile-script-gdb.in: New file.
5591 * gdb.guile/scm-objfile-script.c: New file.
5592 * gdb.guile/scm-objfile-script.exp: New file.
5593 * gdb.guile/scm-objfile.c: New file.
5594 * gdb.guile/scm-objfile.exp: New file.
5595 * gdb.guile/scm-ports.exp: New file.
5596 * gdb.guile/scm-pretty-print.c: New file.
5597 * gdb.guile/scm-pretty-print.exp: New file.
5598 * gdb.guile/scm-pretty-print.scm: New file.
5599 * gdb.guile/scm-section-script.c: New file.
5600 * gdb.guile/scm-section-script.exp: New file.
5601 * gdb.guile/scm-section-script.scm: New file.
5602 * gdb.guile/scm-symbol.c: New file.
5603 * gdb.guile/scm-symbol.exp: New file.
5604 * gdb.guile/scm-symtab-2.c: New file.
5605 * gdb.guile/scm-symtab.c: New file.
5606 * gdb.guile/scm-symtab.exp: New file.
5607 * gdb.guile/scm-type.c: New file.
5608 * gdb.guile/scm-type.exp: New file.
5609 * gdb.guile/scm-value-cc.cc: New file.
5610 * gdb.guile/scm-value-cc.exp: New file.
5611 * gdb.guile/scm-value.c: New file.
5612 * gdb.guile/scm-value.exp: New file.
5613 * gdb.guile/source2.scm: New file.
5614 * gdb.guile/types-module.cc: New file.
5615 * gdb.guile/types-module.exp: New file.
5617 2014-02-10 Yao Qi <yao@codesourcery.com>
5620 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
5621 * configure: Regenerated.
5622 * Makefile.in: New file.
5624 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
5626 * gdb.python/py-framefilter.exp: Fix typo.
5628 2014-02-08 Yao Qi <yao@codesourcery.com>
5630 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
5631 that no =breakpoint-modified is emitted when breakpoints are
5632 modified through MI commands.
5634 2014-02-07 Pedro Alves <pedro@codesourcery.com>
5635 Pedro Alves <palves@redhat.com>
5637 * gdb.threads/step-after-sr-lock.c: New file.
5638 * gdb.threads/step-after-sr-lock.exp: New file.
5640 2014-02-07 Pedro Alves <palves@redhat.com>
5642 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
5644 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5646 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
5647 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
5649 2014-02-06 Doug Evans <xdje42@gmail.com>
5651 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
5654 * gdb.gdb/python-interrupts.exp: New file.
5656 2014-02-05 Yao Qi <yao@codesourcery.com>
5658 * gdb.trace/report.exp (use_collected_data): Test the output
5659 of "info threads" and "info inferiors".
5661 2014-02-05 Yao Qi <yao@codesourcery.com>
5665 2013-05-24 Yao Qi <yao@codesourcery.com>
5667 * gdb.trace/tfile.exp: Test inferior and thread.
5669 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5671 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
5673 * gdb.base/step-bt.c: Call hello via function pointer to make
5674 sure its first instruction is executed on powerpc64le-linux.
5676 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5678 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
5680 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5682 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
5683 of the test patterns for use on little-endian systems.
5685 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5687 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
5688 (decimal_vector): Fix for little-endian.
5690 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
5692 * gdb.arch/sparc-sysstep.exp: New file.
5693 * gdb.arch/sparc-sysstep.c: Likewise.
5695 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
5697 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5699 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
5701 2014-01-23 Tom Tromey <tromey@redhat.com>
5703 * gdb.ada/array_char_idx: New testcase.
5705 2014-01-23 Tom Tromey <tromey@redhat.com>
5708 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
5709 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
5712 2014-01-23 Tom Tromey <tromey@redhat.com>
5715 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
5716 string from an inferior frame.
5717 * gdb.python/py-framefilter-mi.exp: Update.
5719 2014-01-22 Doug Evans <dje@google.com>
5721 * gdb.server/server-mon.exp: Add tests for "set debug-format".
5723 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5725 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
5727 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5729 * gdb.trace/entry-values.exp: Remove excess space character from
5730 regex patterns. Handle s390 call instruction.
5732 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5734 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
5735 define "*_start" label. Make "name" static.
5736 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
5737 ${name} by references to ${name}_start.
5739 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5741 * gdb.base/info-macros.exp: Remove "debug" from the compile
5744 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5746 * gdb.dlang/demangle.exp: New file.
5748 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5750 * gdb.dlang/primitive-types.exp: New file.
5752 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5754 * configure.ac: Create gdb.dlang/Makefile.
5755 * configure: Regenerate.
5756 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
5757 * gdb.dlang/Makefile.in: New file.
5758 * lib/d-support.exp: New file.
5759 * lib/gdb.exp (skip_d_tests): New proc.
5761 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5763 * gdb.btrace/delta.exp: Check reverse stepi.
5764 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
5765 * gdb.btrace/finish.exp: New.
5766 * gdb.btrace/next.exp: New.
5767 * gdb.btrace/nexti.exp: New.
5768 * gdb.btrace/record_goto.c: Add comments.
5769 * gdb.btrace/step.exp: New.
5770 * gdb.btrace/stepi.exp: New.
5771 * gdb.btrace/multi-thread-step.c: New.
5772 * gdb.btrace/multi-thread-step.exp: New.
5773 * gdb.btrace/rn-dl-bind.c: New.
5774 * gdb.btrace/rn-dl-bind.exp: New.
5775 * gdb.btrace/data.c: New.
5776 * gdb.btrace/data.exp: New.
5777 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5779 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5781 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
5782 * gdb.btrace/exception.exp: Update.
5783 * gdb.btrace/instruction_history.exp: Update.
5784 * gdb.btrace/record_goto.exp: Update.
5785 * gdb.btrace/tailcall.exp: Update.
5786 * gdb.btrace/unknown_functions.exp: Update.
5787 * gdb.btrace/delta.exp: New.
5789 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5791 * gdb.btrace/record_goto.exp: Add backtrace test.
5792 * gdb.btrace/tailcall.exp: Add backtrace test.
5794 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5796 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
5797 * gdb.btrace/record_goto.c: New.
5798 * gdb.btrace/record_goto.exp: New.
5799 * gdb.btrace/x86-record_goto.S: New.
5801 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5803 * gdb.btrace/function_call_history.exp: Update tests.
5804 * gdb.btrace/instruction_history.exp: Update tests.
5806 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5808 * gdb.btrace/function_call_history.exp: Fix expected field
5809 order for "record function-call-history".
5810 Add new tests for "record function-call-history /c".
5811 * gdb.btrace/exception.cc: New.
5812 * gdb.btrace/exception.exp: New.
5813 * gdb.btrace/tailcall.exp: New.
5814 * gdb.btrace/x86-tailcall.S: New.
5815 * gdb.btrace/x86-tailcall.c: New.
5816 * gdb.btrace/unknown_functions.c: New.
5817 * gdb.btrace/unknown_functions.exp: New.
5818 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5820 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5822 * gdb.btrace/instruction_history.exp: Update.
5823 * gdb.btrace/function_call_history.exp: Update.
5825 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5827 * gdb.btrace/function_call_history.exp: Fix expected function
5829 * gdb.btrace/instruction_history.exp: Initialize traced.
5830 Remove traced_functions.
5832 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5834 * gdb.btrace/function_call_history.exp: Update
5835 * gdb.btrace/instruction_history.exp: Update.
5837 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5839 * gdb.btrace/enable.exp: Update expected text.
5841 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
5843 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
5846 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
5848 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
5850 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5852 * lib/gdb.exp (supports_process_record): Return true for
5853 arm*-linux*. (supports_reverse): Likewise.
5855 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5859 * gdb.python/py-type.c: Enhance test case.
5860 * gdb.python/py-value-cc.cc: Likewise
5861 * gdb.python/py-type.exp: Add new tests.
5862 * gdb.python/py-value-cc.exp: Likewise
5864 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
5865 Pedro Alves <palves@redhat.com>
5867 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
5869 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
5870 references to ${name}_start by references to ${name}.
5872 2014-01-10 Joel Brobecker <brobecker@adacore.com>
5874 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
5876 2014-01-10 Joel Brobecker <brobecker@adacore.com>
5878 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
5880 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
5881 Pedro Alves <palves@redhat.com>
5883 * gdb.mi/mi-info-os.exp: Connect to the target with
5886 2014-01-08 Pedro Alves <palves@redhat.com>
5888 * gdb.threads/reconnect-signal.c: New file.
5889 * gdb.threads/reconnect-signal.exp: New file.
5891 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5893 * gdb.base/source-dir.exp: New file.
5895 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5897 * gdb.ada/mi_interface: New testcase.
5899 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5901 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
5902 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
5903 gdb.ada/pp-rec-component/pck.ads: New files.
5905 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5907 * gdb.python/py-pp-integral.c: New file.
5908 * gdb.python/py-pp-integral.py: New file.
5909 * gdb.python/py-pp-integral.exp: New file.
5911 For older changes see ChangeLog-1993-2013.
5917 ;; version-control: never
5920 Copyright 2014-2015 Free Software Foundation, Inc.
5921 Copying and distribution of this file, with or without modification,
5922 are permitted provided the copyright notice and this notice are preserved.