1 2016-01-18 Yao Qi <yao.qi@linaro.org>
3 * gdb.guile/scm-section-script.c: Replace @progbits with
5 * gdb.python/py-section-script.c: Likewise.
7 2016-01-15 Pedro Alves <palves@redhat.com>
9 * gdb.multi/tids.exp: Test star wildcard ranges.
11 2016-01-15 Pedro Alves <palves@redhat.com>
13 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
14 command from "thread apply" invocation.
15 (thr_apply_info_thr_invalid): Default the expected output to the
17 (top level): Add tests that use convenience variables. Add tests
18 for "thread apply" with a valid TID list, but missing the command.
20 2016-01-13 Pedro Alves <palves@redhat.com>
22 * gdb.base/default.exp: Expect $_gthread as well.
23 * gdb.multi/tids.exp: Test $_gthread.
24 * gdb.threads/thread-specific.exp: Test $_gthread.
26 2016-01-13 Pedro Alves <palves@redhat.com>
28 * gdb.multi/tids.exp: Test "info threads -gid".
30 2016-01-13 Pedro Alves <palves@redhat.com>
32 * gdb.multi/tids.exp: Test InferiorThread.global_num and
34 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
36 2016-01-07 Pedro Alves <palves@redhat.com>
38 * gdb.base/break.exp: Adjust to output changes.
39 * gdb.base/hbreak2.exp: Likewise.
40 * gdb.base/sepdebug.exp: Likewise.
41 * gdb.base/watch_thread_num.exp: Likewise.
42 * gdb.linespec/keywords.exp: Likewise.
43 * gdb.multi/info-threads.exp: Likewise.
44 * gdb.threads/thread-find.exp: Likewise.
45 * gdb.multi/tids.c: New file.
46 * gdb.multi/tids.exp: New file.
48 2016-01-13 Pedro Alves <palves@redhat.com>
50 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
52 2016-01-13 Pedro Alves <palves@redhat.com>
54 * gdb.base/default.exp: Expect $_inferior as well.
55 * gdb.multi/base.exp: Test $_inferior.
57 2016-01-13 Pedro Alves <palves@redhat.com>
60 * gdb.base/catch-signal-siginfo-cond.c: New file.
61 * gdb.base/catch-signal-siginfo-cond.exp: New file.
63 2016-01-12 Josh Stone <jistone@redhat.com>
64 Philippe Waroquiers <philippe.waroquiers@skynet.be>
66 * gdb.base/catch-syscall.c (do_execve): New variable.
67 (main): Conditionally trigger an execve.
68 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
69 (test_catch_syscall_execve): New, check entry/return across execve.
70 (do_syscall_tests): Call test_catch_syscall_execve.
72 2016-01-12 Pedro Alves <palves@redhat.com>
74 * gdb.base/random-signal.exp (do_test): New procedure, with body
77 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
78 Pedro Alves <palves@redhat.com>
80 * gdb.base/funcargs.exp (finish from indirectly called function):
81 Reintroduce the case for 'First'.
83 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
84 Pedro Alves <palves@redhat.com>
86 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
87 (tcatch_vfork_then_child_follow_exec)
88 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
91 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
93 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
94 and repeats to unlimited.
95 * gdb.python/py-value.exp: Likewise.
96 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
97 and repeats to unlimited.
99 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
101 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
102 and reordering the functions.
103 * gdb.multi/hangout.c: Likewise.
104 * gdb.multi/hello.c: Likewise.
106 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
108 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
110 (SingleStatisticTestResult.report): Use dict.keys instead of
113 2016-01-06 Pedro Alves <palves@redhat.com>
115 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
117 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
119 * gdb.btrace/dlopen.exp: New.
120 * gdb.btrace/dlopen.c: New.
121 * gdb.btrace/dlopen-dso.c: New.
123 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
125 * lib/gdb.exp (gdb_test): Update comments to clarify that the
126 PATTERN argument is optional.
128 2015-12-24 Joel Brobecker <brobecker@adacore.com>
130 * lib/ada.exp (target_compile_ada_from_dir): New function.
131 (gdb_compile_ada): Reimplement avoiding the use of project files.
132 * gdb.ada/gnat_ada.gpr: Delete.
133 * gdb.ada/cond_lang.exp: Adjust test to make path before
135 * gdb.ada/small_reg_param.exp: Likewise.
137 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
139 * gdb.base/foll-vork.exp: Remove HP-UX special case.
141 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
143 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
146 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
148 * gdb.base/break.exp: Remove dead code.
149 * gdb.base/sepdebug.exp: Likewise.
151 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
153 * gdb.asm/asm-source.exp: Remove HP-UX references.
154 * gdb.base/annota1.exp: Likewise.
155 * gdb.base/annota3.exp: Likewise.
156 * gdb.base/attach.exp: Likewise.
157 * gdb.base/bigcore.exp: Likewise.
158 * gdb.base/break.exp: Likewise.
159 * gdb.base/call-ar-st.exp: Likewise.
160 * gdb.base/callfuncs.exp: Likewise.
161 * gdb.base/catch-fork-static.exp: Likewise.
162 * gdb.base/display.exp: Likewise.
163 * gdb.base/foll-exec-mode.exp: Likewise.
164 * gdb.base/foll-exec.exp: Likewise.
165 * gdb.base/foll-fork.exp: Likewise.
166 * gdb.base/foll-vfork.exp: Likewise.
167 * gdb.base/funcargs.exp: Likewise.
168 * gdb.base/hbreak2.exp: Likewise.
169 * gdb.base/inferior-died.exp: Likewise.
170 * gdb.base/interrupt.exp: Likewise.
171 * gdb.base/multi-forks.exp: Likewise.
172 * gdb.base/nodebug.exp: Likewise.
173 * gdb.base/sepdebug.exp: Likewise.
174 * gdb.base/solib1.c: Likewise.
175 * gdb.base/step-test.exp: Likewise.
176 * gdb.mi/non-stop.c: Likewise.
177 * gdb.mi/pthreads.c: Likewise.
178 * gdb.multi/bkpt-multi-exec.ex: Likewise.
179 * gdb.threads/pthreads.c: Likewise.
180 * gdb.threads/staticthreads.exp: Likewise.
181 * lib/future.exp: Likewise.
182 * lib/gdb.exp: Likewise.
183 * gdb.base/so-indr-cl.c: Remove.
184 * gdb.base/so-indr-cl.exp: Likewise.
185 * gdb.base/solib.c: Likewise.
186 * gdb.base/solib.exp: Likewise.
187 * gdb.base/solib2.c: Likewise.
189 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
191 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
192 * gdb.base/call-ar-st.exp: Likewise.
193 * gdb.base/callfuncs.exp: Likewise.
194 * gdb.base/condbreak.exp: Likewise.
195 * gdb.base/constvars.exp: Likewise.
196 * gdb.base/hbreak2.exp: Likewise.
197 * gdb.base/langs.exp: Likewise.
198 * gdb.base/list.exp: Likewise.
199 * gdb.base/long_long.exp: Likewise.
200 * gdb.base/ptype.exp: Likewise.
201 * gdb.base/scope.exp: Likewise.
202 * gdb.base/signals.exp: Likewise.
203 * gdb.base/so-impl-ld.exp: Likewise.
204 * gdb.base/varargs.exp: Likewise.
205 * gdb.base/volatile.exp: Likewise.
206 * gdb.base/whatis.exp: Likewise.
207 * gdb.cp/cplusfuncs.exp: Likewise.
208 * gdb.cp/inherit.exp: Likewise.
209 * gdb.cp/local.exp: Likewise.
210 * gdb.cp/member-ptr.exp: Likewise.
211 * gdb.cp/method.exp: Likewise.
212 * gdb.cp/overload.exp: Likewise.
213 * gdb.cp/templates.exp: Likewise.
214 * gdb.stabs/weird.exp: Likewise.
215 * lib/compiler.c: Likewise.
216 * lib/compiler.cc: Likewise.
217 * lib/cp-support.exp: Likewise.
218 * lib/gdb.exp: Likewise.
220 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
222 * configure.ac: Remove HP-UX case.
223 * configure: Regenerate.
225 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
227 * lib/gdb.exp (gdb_compile): Add function doc.
229 2015-12-17 Pedro Alves <palves@redhat.com>
232 * gdb.multi/info-threads.exp: New file.
234 2015-12-15 Yao Qi <yao.qi@linaro.org>
236 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
239 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
241 * gdb.base/history-duplicates.exp: Skip if no readline support.
243 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
245 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
247 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
249 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
251 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
253 * gdb.base/completion.exp: Skip tests that interrupt GDB with
254 ctrl-C if nointerrupts target property is set.
255 * gdb.base/double-prompt-target-event-error.exp: Likewise.
256 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
257 * gdb.base/paginate-bg-execution.exp: Likewise.
258 * gdb.base/paginate-execution-startup.exp: Likewise.
259 * gdb.base/random-signal.exp: Likewise.
260 * gdb.base/range-stepping.exp: Likewise.
261 * gdb.cp/annota2.exp: Likewise.
262 * gdb.cp/annota3.exp: Likewise.
263 * gdb.gdb/selftest.exp: Likewise.
264 * gdb.threads/continue-pending-status.exp: Likewise.
265 * gdb.threads/leader-exit.exp: Likewise.
266 * gdb.threads/manythreads.exp: Likewise.
267 * gdb.threads/pthreads.exp: Likewise.
268 * gdb.threads/schedlock.exp: Likewise.
269 * gdb.threads/sigthread.exp: Likewise.
271 2015-12-11 Don Breazeal <donb@codesourcery.com>
273 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
275 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
276 * gdb.base/foll-exec.exp (main): Enable for target remote.
277 * gdb.base/foll-fork.exp (main): Likewise.
278 * gdb.base/foll-vfork.exp (main): Likewise.
279 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
280 (proc continue_to_exit_bp_loc): Use clean_restart.
281 * gdb.base/pie-execl.exp (main): Disable for target remote.
282 * gdb.base/watch-vfork.exp (main): Enable for target remote.
283 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
284 * gdb.threads/execl.exp (main): Likewise.
285 * gdb.threads/fork-child-threads.exp (main): Likewise.
286 * gdb.threads/fork-plus-threads.exp (main): Disable for target
288 * gdb.threads/fork-thread-pending.exp (main): Enable for target
290 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
291 pid.tid style ptids, instead of just tid.
292 * gdb.threads/thread-execl.exp (main): Enable for target remote.
293 * gdb.threads/watchpoint-fork.exp (main): Likewise.
294 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
295 ptids, instead of just tid.
297 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
299 * gdb.base/list.exp (test_list_forward): Add end of file error
301 (test_repeat_list_command): Add end of file error test.
302 (test_list_backwards): Add beginning of file error test.
304 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
306 * gdb.base/list.exp (test_list_invalid_args): New function,
309 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
311 * gdb.base/list.exp (test_list): Make test names unique.
313 2015-12-11 Yao Qi <yao.qi@linaro.org>
315 * gdb.base/coremaker2.c: Remove.
317 2015-12-10 Pedro Alves <palves@redhat.com>
319 * gdb.multi/base.exp: Remove stale "spaces" references.
321 2015-12-10 Pedro Alves <palves@redhat.com>
323 * gdb.multi/base.exp: Don't use nowarnings.
324 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
325 * gdb.multi/hangout.c: Include stdio.h.
326 * gdb.multi/hello.c: Include stdlib.h.
327 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
328 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
329 * gdb.multi/multi-arch.exp: Don't use nowarnings.
331 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
333 * gdb.dwarf2/dw2-ranges-base.c: New file.
334 * gdb.dwarf2/dw2-ranges-base.exp: New file.
335 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
336 support additional line table, and debug ranges generation.
337 (Dwarf::ranges): New function, generate .debug_ranges.
338 (Dwarf::lines): Support generating simple line table programs.
339 (Dwarf::assemble): Initialise new namespace variables.
341 2015-12-09 Kevin Buettner <kevinb@redhat.com>
343 * gdb.base/async.exp (proc test_background): Add case for
344 asynchronous execution not supported.
346 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
348 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
349 format and change test names to make them unique.
351 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
352 Pedro Alves <pedro@redhat.com>
355 Add checking of floatformats setup on x86_64 hosts.
356 * gdb.arch/i386-float.S (main): Load bigval and smallval.
357 (smallval, bigval): New labels/constants.
358 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
359 float" after loading bigval and smallval.
361 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
363 * gdb.ada/fun_overload_menu.exp: New testcase.
364 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
366 2015-12-04 Josh Stone <jistone@redhat.com>
368 * gdb.base/catch-fork-static.exp: New.
370 2015-12-03 Yao Qi <yao.qi@linaro.org>
372 * gdb.base/sizeof.c: Don't include stdio.h and
373 ../lib/unbuffer_output.c.
374 (main): New variable 'size' and 'value'. Remove printf and
375 gdb_unbuffer_output. Assign return value to size and value.
376 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
378 (check_sizeof): Check the result by printing variable 'size'.
379 (check_valueof): Check the result by printing variable 'value'.
381 2015-12-01 Yao Qi <yao.qi@linaro.org>
383 * gdb.base/disp-step-syscall.exp: Define syscall instruction
384 for aarch64*-*-linux* target.
386 2015-11-30 Pedro Alves <palves@redhat.com>
388 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
390 2015-11-30 Pedro Alves <palves@redhat.com>
392 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
393 Handle non-stop mode vCont replies.
395 2015-11-30 Pedro Alves <palves@redhat.com>
397 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
398 prepare_for_testing. Start gdb with "set non-stop on" appended to
399 GDBFLAGS. Lax expected stop output.
401 2015-11-27 Yao Qi <yao.qi@linaro.org>
403 * gdb.arch/arm-neon.exp: New.
404 * gdb.arch/arm-neon.c: New.
406 2015-11-27 Yao Qi <yao.qi@linaro.org>
408 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
410 2015-11-27 Yao Qi <yao.qi@linaro.org>
412 * gdb.cp/annota2.exp: Allow multiple occurrences of the
413 frames-invalid annotation.
415 2015-11-27 Yao Qi <yao.qi@linaro.org>
417 * gdb.cp/annota2.exp: Use ${frames_invalid}.
419 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
421 * gdb.threads/names.exp: New file.
422 * gdb.threads/names.c: New file.
423 * README: Mention gdb,no_thread_names.
425 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
428 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
431 2015-11-24 Pedro Alves <palves@redhat.com>
434 * gdb.base/display.exp: Expect displays to be sorted in ascending
435 order. Use multi_line.
436 * gdb.base/solib-display.exp: Likewise.
438 2015-11-24 Pedro Alves <palves@redhat.com>
441 * gdb.base/display.exp: Expect displays to be sorted in ascending
442 order. Use multi_line.
443 * gdb.base/solib-display.exp: Likewise.
445 2015-11-24 Pedro Alves <palves@redhat.com>
448 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
449 threads in ascending order.
450 * gdb.base/foll-fork.exp: Likewise.
451 * gdb.base/foll-vfork.exp: Likewise.
452 * gdb.base/multi-forks.exp: Likewise.
453 * gdb.mi/mi-nonstop.exp: Likewise.
454 * gdb.mi/mi-nsintrall.exp: Likewise.
455 * gdb.multi/base.exp: Likewise.
456 * gdb.multi/multi-arch.exp: Likewise.
457 * gdb.python/py-inferior.exp: Likewise.
458 * gdb.threads/break-while-running.exp: Likewise.
459 * gdb.threads/execl.exp: Likewise.
460 * gdb.threads/gcore-thread.exp: Likewise.
461 * gdb.threads/info-threads-cur-sal.exp: Likewise.
462 * gdb.threads/kill.exp: Likewise.
463 * gdb.threads/linux-dp.exp: Likewise.
464 * gdb.threads/multiple-step-overs.exp: Likewise.
465 * gdb.threads/next-bp-other-thread.exp: Likewise.
466 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
467 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
468 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
469 * gdb.threads/thread-find.exp: Likewise.
470 * gdb.threads/tls.exp: Likewise.
471 * lib/mi-support.exp (mi_reverse_list): Delete.
472 (mi_check_thread_states): No longer reverse list.
474 2015-11-24 Pedro Alves <palves@redhat.com>
476 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
479 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
481 * gdb.trace/actions.c: Include trace-common.h.
482 (main): Add a location for a fast tracepoint.
483 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
484 the normal tracepoints.
485 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
487 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
489 * save-trace.exp: Factor out code to these...
490 (gdb_save_tracepoints): New.
491 (gdb_load_tracepoints): New.
492 (do_save_load_test): New.
494 2015-11-23 Kevin Buettner <kevinb@redhat.com>
496 * gdb.base/asmlabel.exp: New test.
497 * gdb.base/asmlabel.c: New test case.
499 2015-11-23 Joel Brobecker <brobecker@adacore.com>
501 * gdb.base/wrong_frame_bt_full-main.c: New file.
502 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
503 * gdb.base/wrong_frame_bt_full.exp: New file.
505 2015-11-23 Joel Brobecker <brobecker@adacore.com>
507 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
509 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
511 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
512 pstate register when comparing registers values in
513 sparc64-*-linux-gnu targets to avoid spurious differences.
515 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
517 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
519 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
521 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
522 as type argument to gdb_compile.
523 * gdb.base/nested-subp2.exp: Likewise.
524 * gdb.base/nested-subp3.exp: Likewise.
526 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
528 * lib/dwarf.exp (_note): Fix left shift of negative value.
529 * gdb.trace/trace-condition.exp: Likewise.
531 2015-11-13 Yao Qi <yao.qi@linaro.org>
533 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
535 (test_scalar_returns): Likewise.
536 * gdb.base/d10v.ld: Remove.
537 * gdb.base/overlays.exp: Remove the target triplet checking for
539 * gdb.base/structs.exp (test_struct_returns): Remove the
541 (test_struct_calls): Likewise.
543 2015-11-13 Yao Qi <yao.qi@linaro.org>
545 * gdb.base/gnu_vector.exp: Check the return value by "p res".
546 * gdb.base/gnu_vector.c: Don't include stdio.h.
547 (main): Don't print res and call add_some_intvecs.
549 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
551 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
554 (func4): Use FAST_TRACEPOINT_LABEL.
555 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
558 (thread_function): Use FAST_TRACEPOINT_LABEL.
559 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
561 (marker): Use FAST_TRACEPOINT_LABEL.
562 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
564 (pendfunc): Use FAST_TRACEPOINT_LABEL.
565 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
567 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
568 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
571 (marker): Use FAST_TRACEPOINT_LABEL.
572 * gdb.trace/trace-common.h: New header.
573 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
576 (marker): Use FAST_TRACEPOINT_LABEL.
577 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
579 (thread_function): Use FAST_TRACEPOINT_LABEL.
581 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
583 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
585 * gdb.trace/change-loc.exp: Use global pcreg definition.
586 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
587 * gdb.trace/entry-values.exp: Use global spreg definition, add $
589 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
590 * gdb.trace/pending.exp: Likewise.
591 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
592 * gdb.trace/trace-break.exp: Likewise.
593 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
595 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
596 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
598 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
600 2015-11-09 Joel Brobecker <brobecker@adacore.com>
602 * gdb.ada/fin_fun_out: New testcase.
604 2015-11-07 Kevin Buettner <kevinb@redhat.com>
606 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
607 value associated with DW_AT_byte_size.
608 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
609 constants for DW_AT_byte_size, DW_AT_lower_bound, and
612 2015-11-07 Kevin Buettner <kevinb@redhat.com>
614 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
615 (gdb_target_symbol_prefix_flags): Define in terms of _asm
617 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
618 gdb.dwarf2/dw2-canonicalize-type.exp,
619 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
620 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
621 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
622 provided by gdb_target_symbol_prefix_flags_asm.
623 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
624 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
625 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
626 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
627 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
628 macros where needed). Use this macro for symbols which require
629 the prefix provided by SYMBOL_PREFIX.
631 2015-11-05 Kevin Buettner <kevinb@redhat.com>
633 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
635 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
636 representing expressions, of more than one list element.
637 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
638 to prepend linker symbol prefix to f.
639 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
641 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
642 Likewise, for f and g.
643 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
645 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
647 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
648 table_1_ptr and table_2_ptr.
650 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
651 Joel Brobecker <brobecker@adacore.com>
653 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
655 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
657 * gdb.reverse/s390-mvcle.c: New test.
658 * gdb.reverse/s390-mvcle.exp: New file.
659 * lib/gdb.exp: Enable reverse tests on s390*-linux.
661 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
663 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
665 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
667 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
669 * gdb.reverse/getresuid-reverse.exp: Likewise.
670 * gdb.reverse/pipe-reverse.exp: Likewise.
671 * gdb.reverse/readv-reverse.exp: Likewise.
672 * gdb.reverse/recvmsg-reverse.exp: Likewise.
673 * gdb.reverse/time-reverse.exp: Likewise.
674 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
676 2015-10-30 Yao Qi <yao.qi@linaro.org>
678 * gdb.threads/wp-replication.c (watch_count_done): Remove.
679 (empty_cycle): Remove.
680 (main): Don't call empty_cycle. Don't use watch_count_done.
681 * gdb.threads/wp-replication.exp: Don't set breakpoint on
682 empty_cycle. Rewrite the code counting HW watchpoints.
684 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
686 * gdb.reverse/fstatat-reverse.c: New test.
687 * gdb.reverse/fstatat-reverse.exp: New file.
688 * gdb.reverse/getresuid-reverse.c: New test.
689 * gdb.reverse/getresuid-reverse.exp: New file.
690 * gdb.reverse/pipe-reverse.c: New test.
691 * gdb.reverse/pipe-reverse.exp: New file.
692 * gdb.reverse/readv-reverse.c: New test.
693 * gdb.reverse/readv-reverse.exp: New file.
694 * gdb.reverse/recvmsg-reverse.c: New test.
695 * gdb.reverse/recvmsg-reverse.exp: New file.
696 * gdb.reverse/time-reverse.c: New test.
697 * gdb.reverse/time-reverse.exp: New file.
698 * gdb.reverse/waitpid-reverse.c: New test.
699 * gdb.reverse/waitpid-reverse.exp: New file.
701 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
703 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
705 2015-10-26 Doug Evans <dje@google.com>
708 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
709 * gdb.dwarf2/bad-regnum.c: New file.
710 * gdb.dwarf2/bad-regnum.exp: New file.
712 2015-10-26 Doug Evans <dje@google.com>
715 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
718 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
720 * gdb.compile/compile.exp (compile code globalvar): Update expectation
721 for a change by "Mention language in compile error message".
723 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
726 * gdb.python/py-type.c (C::a_method): New.
727 (C::a_const_method): New.
728 (C::a_static_method): New.
730 * gdb.python/py-type.exp (test_fields): Test getting fields
731 from function and method.
733 2015-10-21 Keven Boell <keven.boell@intel.com>
735 * gdb.fortran/vla-alloc-assoc.exp: New file.
736 * gdb.fortran/vla-datatypes.exp: New file.
737 * gdb.fortran/vla-datatypes.f90: New file.
738 * gdb.fortran/vla-history.exp: New file.
739 * gdb.fortran/vla-ptype-sub.exp: New file.
740 * gdb.fortran/vla-ptype.exp: New file.
741 * gdb.fortran/vla-sizeof.exp: New file.
742 * gdb.fortran/vla-sub.f90: New file.
743 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
744 * gdb.fortran/vla-value-sub-finish.exp: New file.
745 * gdb.fortran/vla-value-sub.exp: New file.
746 * gdb.fortran/vla-value.exp: New file.
747 * gdb.fortran/vla-ptr-info.exp: New file.
748 * gdb.mi/mi-vla-fortran.exp: New file.
749 * gdb.mi/vla.f90: New file.
751 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
753 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
754 of hardwired timeout value.
756 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
757 Pedro Alves <palves@redhat.com>
759 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
760 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
762 2015-10-19 Josh Stone <jistone@redhat.com>
764 * gdb.base/catch-syscall.c: Include <sched.h>.
765 (unknown_syscall): New variable.
766 (main): Trigger a vfork and an unknown syscall.
767 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
768 (unknown_syscall_number): Likewise.
769 (check_call_to_syscall): Accept an optional syscall pattern.
770 (check_return_from_syscall): Likewise.
771 (check_continue): Likewise.
772 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
773 (test_catch_syscall_skipping_return): New test toggling off 'catch
774 syscall' to step over the syscall return, then toggling back on.
775 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
776 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
777 (do_syscall_tests): Call test_catch_syscall_without_args and
778 test_catch_syscall_mid_vfork.
779 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
780 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
782 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
784 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
785 print g_vE): Add new pass patterns.
786 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
787 print various symbol names for vptr fields.
789 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
791 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
794 2015-10-12 Yao Qi <yao.qi@linaro.org>
796 * gdb.arch/disp-step-insn-reloc.exp: New test case.
798 2015-10-12 Yao Qi <yao.qi@linaro.org>
800 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
801 is aarch64*-*-linux*.
803 2015-10-12 Yao Qi <yao.qi@linaro.org>
805 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
806 (can_relocate_bcond_true): ... it.
807 (can_relocate_bcond_false): New function.
809 (can_relocate_bl): Likewise.
810 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
813 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
815 * gdb.base/nested-addr.c: New file.
816 * gdb.base/nested-addr.exp: New testcase.
818 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
820 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
821 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
822 its output. Ignore the output of "record goto begin" and instead
823 check that GDB is replaying.
825 2015-10-09 Pedro Alves <palves@redhat.com>
827 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
828 (top level): Use it in the run with no args test.
830 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
832 * gdb.dlang/properties.exp: New file.
834 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
836 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
837 whether or not address 0x1000 is mapped on the target.
839 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
841 * gdb.python/py-type.exp: Do not run tests if binaries fail to
844 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
846 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
847 instruction-history test.
849 2015-09-28 Doug Evans <dje@google.com>
851 * gdb.base/gcore.c (array_func): Add reference to static_array.
853 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
855 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
858 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
860 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
861 short or char as base type.
863 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
865 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
866 to allow any size enum.
868 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
870 * gdb.ada/array_ptr_renaming.exp: New testcase.
871 * gdb.ada/array_ptr_renaming/foo.adb: New file.
872 * gdb.ada/array_ptr_renaming/pack.ads: New file.
874 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
876 * gdb.trace/ftrace-lock.c: New file.
877 * gdb.trace/ftrace-lock.exp: New file.
879 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
881 * gdb.arch/insn-reloc.c: New file.
882 * gdb.arch/ftrace-insn-reloc.exp: New file.
884 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
886 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
888 * gdb.trace/pendshr1.c (pendfunc): Likewise.
889 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
890 * gdb.trace/range-stepping.c: Likewise.
891 * gdb.trace/trace-break.c: Likewise.
892 * gdb.trace/trace-mt.c (thread_function): Likewise.
893 * gdb.trace/ftrace.c (marker): Likewise.
894 * gdb.trace/trace-condition.c (marker): Likewise.
895 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
896 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
899 2015-09-18 Doug Evans <xdje42@gmail.com>
901 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
902 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
904 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
906 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
909 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
911 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
912 the pending breakpoint. Remove timeout override for "Run till
913 MI pending breakpoint on pendfunc3 on thread 2" test.
915 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
917 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
920 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
922 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
923 in breakpoint filename pattern.
925 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
927 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
929 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
931 * gdb.linespec/explicit.exp: Check for readline support for
932 tab-completion tests. Fix obvious typo.
934 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
936 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
939 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
941 * gdb.btrace/non-stop.c: New.
942 * gdb.btrace/non-stop.exp: New.
944 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
945 Yao Qi <yao.qi@linaro.org>
947 * gdb.trace/trace-condition.c: New file.
948 * gdb.trace/trace-condition.exp: New file.
950 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
952 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
953 for testing bytecode compilation.
955 2015-09-16 Pedro Alves <palves@redhat.com>
956 Sandra Loosemore <sandra@codesourcery.com>
958 * gdb.threads/non-stop-fair-events.c (timeout): New global.
960 (main): Call pthread_kill and alarm early.
961 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
963 (test): If the target can't hardware step and doesn't support
964 displaced stepping, increase the timeout.
966 2015-09-16 Pedro Alves <palves@redhat.com>
968 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
969 (enable_debug): New procedures.
970 (test): Use them. Bail out if waiting for threads fails.
971 (top level): Bail out if a test fails.
973 2015-09-16 Yao Qi <yao.qi@linaro.org>
975 * gdb.asm/asm-source.exp: Set asm-arch for
977 * gdb.asm/aarch64.inc: New file.
979 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
981 * gdb.ada/array_of_variable_length.exp: New testcase.
982 * gdb.ada/array_of_variable_length/foo.adb: New file.
983 * gdb.ada/array_of_variable_length/pck.adb: New file.
984 * gdb.ada/array_of_variable_length/pck.ads: New file.
986 2015-09-15 Doug Evans <dje@google.com>
988 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
989 of function static local variable.
991 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
993 * gdb.threads/tls-so_extern.exp: New test file.
994 * gdb.threads/tls-so_extern.c: New test file.
995 * gdb.threads/tls-so_extern_main.c: New test file.
997 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
999 * gdb.opt/solib-intra-step-lib.c: New file.
1000 * gdb.opt/solib-intra-step-main.c: New file.
1001 * gdb.opt/solib-intra-step.exp: New file.
1003 2015-09-15 Pedro Alves <palves@redhat.com>
1005 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1006 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1008 2015-09-14 Pedro Alves <palves@redhat.com>
1010 * gdb.base/hook-stop-continue.c: Delete.
1011 * gdb.base/hook-stop-continue.exp: Delete.
1012 * gdb.base/hook-stop-frame.c: Delete.
1013 * gdb.base/hook-stop-frame.exp: Delete.
1014 * gdb.base/hook-stop.c: New file.
1015 * gdb.base/hook-stop.exp: New file.
1017 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1019 * gdb.ada/access_to_packed_array.exp: New testcase.
1020 * gdb.ada/access_to_packed_array/foo.adb: New file.
1021 * gdb.ada/access_to_packed_array/pack.adb: New file.
1022 * gdb.ada/access_to_packed_array/pack.ads: New file.
1024 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1026 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1029 2015-09-11 Don Breazeal <donb@codesourcery.com>
1031 * gdb.base/foll-exec.c: Add copyright header. Fix
1033 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1034 (do_exec_tests): Use clean_restart in place of zap_session,
1035 and for test initialization. Fix formatting issues. Use
1036 fail in place of perror.
1037 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1038 an expect statement to match an expression with output from
1039 the program under debug.
1040 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1041 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1042 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1043 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1044 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1046 2015-09-09 Doug Evans <dje@google.com>
1048 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1050 2015-09-09 Doug Evans <dje@google.com>
1052 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1054 2015-09-09 Doug Evans <dje@google.com>
1056 * gdb.base/savedregs.exp: Fix typo.
1058 2015-09-09 Pedro Alves <palves@redhat.com>
1060 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1062 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1064 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1065 command actually switches threads. Give up on remaining
1066 tests if target fails to stop at breakpoint.
1068 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1070 * gdb.ada/funcall_char.exp: New testcase.
1071 * gdb.ada/funcall_char/foo.adb: New file.
1073 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1075 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1076 expected outputs. Add two testcases for completing ambiguous
1078 * gdb.ada/complete/aux_pck.adb: New file.
1079 * gdb.ada/complete/aux_pck.ads: New file.
1080 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1081 Ambiguous_Func functions.
1082 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1083 * gdb.ada/complete/pck.adb: Likewise.
1085 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1087 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1088 failures to run the test program under GDB.
1090 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
1092 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1095 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1097 * gdb.base/run-after-attach.exp: New test file.
1098 * gdb.base/run-after-attach.c: New test file.
1100 2015-08-26 Don Breazeal <donb@codesourcery.com>
1102 * gdb.base/foll-exec-2.c: New test program.
1103 * gdb.base/foll-exec-2.exp: New test.
1105 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1107 * gdb.base/nested-subp1.exp: New file.
1108 * gdb.base/nested-subp1.c: New file.
1109 * gdb.base/nested-subp2.exp: New file.
1110 * gdb.base/nested-subp2.c: New file.
1111 * gdb.base/nested-subp3.exp: New file.
1112 * gdb.base/nested-subp3.c: New file.
1114 2015-08-24 Pedro Alves <palves@redhat.com>
1116 * gdb.server/connect-without-multi-process.c: New file.
1117 * gdb.server/connect-without-multi-process.exp: New file.
1119 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1121 * gdb.opt/inline-markers.c: Make z int.
1123 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1125 * gdb.opt/inline-markers.c: Make z volatile.
1127 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1129 * gdb.opt/inline-bt.c: New volatile global z.
1130 * gdb.opt/inline-cmds.c: Likewise.
1131 * gdb.opt/inline-locals.c: Likewise.
1132 * gdb.opt/inline-markers.c: New extern global z.
1134 (inline_fn): Likewise.
1136 2015-08-24 Pedro Alves <palves@redhat.com>
1138 * config/m32r-stub.exp: Remove file.
1139 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1140 * gdb.base/call-rt-st.exp: Likewise.
1141 * gdb.base/call-strs.exp: Likewise.
1142 * gdb.base/default.exp: Remove references to h8300-*-hms and
1144 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1146 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1148 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1149 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1150 and "return" use KFAIL when GDB can not read/write the vector
1153 2015-08-21 Gary Benson <gbenson@redhat.com>
1155 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1157 2015-08-20 Pedro Alves <palves@redhat.com>
1159 * gdb.server/solib-list.exp: No longer expect an interior stop in
1162 2015-08-20 Pedro Alves <palves@redhat.com>
1164 * gdb.server/connect-stopped-target.c: New file.
1165 * gdb.server/connect-stopped-target.exp: New file.
1167 2015-08-20 Pedro Alves <palves@redhat.com>
1169 * gdb.dwarf2/comp-unit-lang.exp: New file.
1170 * gdb.dwarf2/comp-unit-lang.c: New file.
1172 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1174 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1175 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1177 2015-08-19 Kevin Buettner <kevinb@redhat.com>
1179 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1180 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1182 2015-08-18 Doug Evans <dje@google.com>
1183 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1185 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1186 skip_python_tests. New arg prompt_regexp.
1187 (skip_python_tests): New function.
1188 * lib/mi-support.exp (mi_skip_python_tests): New function.
1189 * gdb.python/py-mi-objfile-gdb.py: New file.
1190 * gdb.python/py-mi-objfile.c: New file.
1191 * gdb.python/py-mi-objfile.exp: New file.
1193 2015-08-17 Keith Seitz <keiths@redhat.com>
1195 * gdb.linespec/explicit.exp: Move strace test from here ...
1196 * gdb.trace/strace.exp: ... to here.
1198 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1200 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1201 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1203 2015-08-14 Doug Evans <xdje42@gmail.com>
1205 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
1206 inferior before selecting a new file.
1208 2015-08-14 Doug Evans <xdje42@gmail.com>
1210 * gdb.mi/mi-disassemble.exp: Update.
1211 * gdb.base/disasm-optim.S: New file.
1212 * gdb.base/disasm-optim.c: New file.
1213 * gdb.base/disasm-optim.h: New file.
1214 * gdb.base/disasm-optim.exp: New file.
1216 2015-08-14 Keith Seitz <keiths@redhat.com>
1218 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
1221 2015-08-13 Joel Brobecker <brobecker@adacore.com>
1223 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
1225 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
1227 * gdb.ada/fun_renaming.exp: New testcase.
1228 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
1229 * gdb.ada/fun_renaming/pack.adb: New file.
1230 * gdb.ada/fun_renaming/pack.ads: New file.
1232 2015-08-12 Keith Seitz <keiths@redhat.com>
1234 * gdb.base/dso2dso.exp: Pass basename of source file in call to
1235 gdb_get_line_number.
1237 2015-08-12 Joel Brobecker <brobecker@adacore.com>
1239 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
1240 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
1241 gdb.base/dso2dso.exp: New files.
1243 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
1244 Pedro Alves <palves@redhat.com>
1245 Keith Seitz <keiths@redhat.com>
1247 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
1250 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1252 * gdb.base/gdbhistsize-history.exp
1253 (test_histsize_history_setting): Use save_vars.
1254 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1256 (test_no_truncation_of_unlimited_history_file): Use save_vars.
1257 * gdb.base/readline.exp: Use save_vars.
1259 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1261 * lib/gdb.exp (save_vars): New proc.
1263 2015-08-11 Keith Seitz <keiths@redhat.com>
1265 * gdb.base/help.exp: Update help_breakpoint_text.
1267 2015-08-11 Keith Seitz <keiths@redhat.com>
1269 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
1270 (at toplevel): Call test_explicit_breakpoints.
1271 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
1273 * lib/mi-support.exp (mi_make_breakpoint): Add support for
1274 breakpoint conditions, "-cond".
1276 2015-08-11 Keith Seitz <keiths@redhat.com>
1278 * gdb.linespec/3explicit.c: New file.
1279 * gdb.linespec/cpexplicit.cc: New file.
1280 * gdb.linespec/cpexplicit.exp: New file.
1281 * gdb.linespec/explicit.c: New file.
1282 * gdb.linespec/explicit.exp: New file.
1283 * gdb.linespec/explicit2.c: New file.
1284 * gdb.linespec/ls-errs.exp: Add explicit location tests.
1285 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
1286 before using in the matching pattern.
1287 Clarify that `prefix' is a regular expression.
1289 2015-08-11 Keith Seitz <keiths@redhat.com>
1291 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
1293 Add tests for missing ",FMT" and ",".
1295 2015-08-10 Doug Evans <dje@google.com>
1296 Keith Seitz <keiths@redhat.com>
1299 * gdb.base/completion.exp: Add location completer tests.
1301 2015-08-07 Pedro Alves <palves@redhat.com>
1303 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
1305 (top level): Run do_test with and without displaced stepping.
1307 2015-08-07 Pedro Alves <palves@redhat.com>
1309 * gdb.base/valgrind-disp-step.c: New file.
1310 * gdb.base/valgrind-disp-step.exp: New file.
1312 2015-08-07 Pedro Alves <palves@redhat.com>
1314 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
1316 (main): Add alarm. Run an infinite loop instead of calling
1318 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
1320 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
1322 (main): Add alarm. Run an infinite loop instead of calling
1324 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
1327 2015-08-07 Pedro Alves <palves@redhat.com>
1329 * gdb.base/checkpoint-ns.exp: New file.
1330 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
1333 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
1335 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
1336 * gdb.btrace/instruction_history.exp: Update.
1337 * gdb.btrace/tsx.exp: New.
1338 * gdb.btrace/tsx.c: New.
1340 2015-08-06 Pedro Alves <palves@redhat.com>
1342 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
1344 * gdb.reverse/until-precsave.exp: Bump timeouts.
1346 2015-08-06 Pedro Alves <palves@redhat.com>
1348 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
1350 2015-08-06 Pedro Alves <palves@redhat.com>
1353 * gdb.threads/process-dies-while-handling-bp.c: New file.
1354 * gdb.threads/process-dies-while-handling-bp.exp: New file.
1356 2015-08-06 Pedro Alves <palves@redhat.com>
1358 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
1359 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
1361 2015-08-05 Pedro Alves <palves@redhat.com>
1363 * gdb.threads/next-while-other-thread-longjmps.c: New file.
1364 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
1366 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
1368 * gdb.base/bp-permanent.exp: Report test as unsupported if
1369 the target cannot stop at the permanent breakpoint.
1371 2015-08-03 Doug Evans <dje@google.com>
1373 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
1376 2015-08-03 Doug Evans <dje@google.com>
1378 * Makefile.in (workers/%.worker, build-perf): New rule.
1379 (GDB_PERFTEST_MODE): New variable.
1380 (check-perf): Use it.
1381 (clean): Clean up gdb.perf parallel build subdirs.
1382 * lib/build-piece.exp: New file.
1383 * lib/gdb.exp (make_gdb_parallel_path): New function
1384 (standard_output_file, standard_temp_file): Call it.
1385 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1387 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
1389 2015-08-03 Doug Evans <dje@google.com>
1391 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
1392 (LOG_FILE_NAME): New global.
1393 (TextReporter.__init__): Initialize self.txt_sum.
1394 (TextReporter.report): Add support for multiple data-points.
1395 Move report to perftest.sum, put raw data in perftest.log.
1396 (TextReporter.start): Open sum and log files.
1397 (TextReporter.end): Close sum and log files.
1398 * gdb.perf/lib/perftest/testresult.py
1399 (SingleStatisticTestResult.record): Handle multiple data-points.
1401 2015-07-31 Pedro Alves <palves@redhat.com>
1403 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
1404 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1405 kill_wait_spawned_process instead of explicit "kill -9".
1406 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
1407 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1408 kill_wait_spawned_process.
1409 * gdb.base/attach-twice.exp: Likewise.
1410 * gdb.base/attach.exp: Likewise.
1411 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
1413 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
1414 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1415 kill_wait_spawned_process.
1416 * gdb.base/valgrind-infcall.exp: Likewise.
1417 * gdb.multi/multi-attach.exp: Likewise.
1418 * gdb.python/py-prompt.exp: Likewise.
1419 * gdb.python/py-sync-interp.exp: Likewise.
1420 * gdb.server/ext-attach.exp: Likewise.
1421 * gdb.threads/attach-into-signal.exp (corefunc): Use
1422 spawn_wait_for_attach, spawn_id_get_pid and
1423 kill_wait_spawned_process.
1424 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
1425 spawn_wait_for_attach returning a spawn id instead of a pid. Use
1426 spawn_id_get_pid and kill_wait_spawned_process.
1427 * gdb.threads/attach-stopped.exp (corefunc): Use
1428 spawn_wait_for_attach, spawn_id_get_pid and
1429 kill_wait_spawned_process.
1430 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
1431 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1432 kill_wait_spawned_process instead of explicit "kill -9".
1433 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
1434 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
1435 (spawn_wait_for_attach): Use spawn instead of exec to spawn
1436 processes. Don't map cygwin/windows pids here. Now returns a
1439 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1441 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
1442 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
1445 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1447 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
1449 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1452 2014-05-21 Mark Wielaard <mjw@redhat.com>
1454 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1456 2015-07-30 Pedro Alves <palves@redhat.com>
1458 * linux-low.c (handle_extended_wait): Set the child's last
1459 reported status to TARGET_WAITKIND_STOPPED.
1461 2015-07-30 Pedro Alves <palves@redhat.com>
1464 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
1465 only shows inferior 1.
1467 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
1468 Pedro Alves <palves@redhat.com>
1471 * gdb.threads/fork-plus-threads.c: New file.
1472 * gdb.threads/fork-plus-threads.exp: New file.
1474 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1476 * gdb.base/batch-preserve-term-settings.exp
1477 (test_terminal_settings_preserved_after_cli_exit): Use
1480 2015-07-29 Pedro Alves <palves@redhat.com>
1481 Don Breazeal <donb@codesourcery.com>
1483 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
1484 output from both inferior_spawn_id and gdb_spawn_id.
1486 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1488 * gdb.threads/attach-into-signal.exp (corefunc): Use
1489 with_test_prefix on nested loops, uniquefying the test messages.
1491 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1493 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
1496 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1498 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
1500 (test_terminal_settings_preserved_after_sigterm): New test.
1502 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1504 * gdb.base/batch-preserve-term-settings.exp
1505 (test_terminal_settings_preserved_after_cli_exit): New test.
1507 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1509 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
1510 manipulation of saved_gdbflags.
1511 (test_terminal_settings_preserved): Remove global declaration of
1512 the unused variable pagination_prompt. Remove manipulation of
1513 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
1516 2015-07-29 Pedro Alves <palves@redhat.com>
1518 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
1520 2015-07-29 Pedro Alves <palves@redhat.com>
1522 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
1525 2015-07-29 Pedro Alves <palves@redhat.com>
1527 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
1528 (main): Call gdb_unbuffer_output.
1529 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
1530 (main): Call gdb_unbuffer_output.
1531 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
1532 (main): Call gdb_unbuffer_output.
1533 * gdb.base/call-strs.exp: Adjust to step over the
1534 gdb_unbuffer_output call.
1535 * gdb.base/catch-gdb-caused-signals.c: Include
1536 "../lib/unbuffer_output.c".
1537 (main): Call gdb_unbuffer_output.
1538 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
1539 (main): Call gdb_unbuffer_output.
1540 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
1541 (main): Call gdb_unbuffer_output.
1542 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
1543 (main): Call gdb_unbuffer_output.
1544 * gdb.base/shlib-call.exp: Adjust to step over the
1545 gdb_unbuffer_output call.
1546 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
1547 (main): Call gdb_unbuffer_output.
1548 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
1549 (main): Call gdb_unbuffer_output.
1550 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
1551 (main): Rename to ...
1553 (main): Reimplement.
1554 * gdb.base/varargs.exp: Run to test instead of to main.
1555 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
1556 (main): Call gdb_unbuffer_output.
1558 2015-07-29 Pedro Alves <palves@redhat.com>
1560 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
1561 factore out from mi_continue_dprintf. For call-style dprintfs,
1562 expect dprintf output out of $inferior_spawn_id.
1563 (mi_continue_dprintf): Use mi_expect_dprintf.
1564 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
1565 (main): Call gdb_unbuffer_output.
1567 2015-07-29 Pedro Alves <palves@redhat.com>
1569 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
1570 (default_mi_gdb_start): Set inferior_spawn_id instead of
1571 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
1573 (mi_gdb_test): Always expect inferior output from both
1574 $inferior_spawn_id and $gdb_spawn_id.
1576 2015-07-29 Pedro Alves <palves@redhat.com>
1578 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
1579 send_inferior and $inferior_spawn_id.
1581 2015-07-29 Pedro Alves <palves@redhat.com>
1583 * gdb.gdb/complaints.exp (test_initial_complaints)
1584 (test_serial_complaints, test_short_complaints): Use
1586 (test_empty_complaint): Handle $inferior_spawn_id !=
1589 2015-07-29 Pedro Alves <palves@redhat.com>
1591 * gdb.base/varargs.exp: Use gdb_test_stdio.
1593 2015-07-29 Pedro Alves <palves@redhat.com>
1595 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
1597 2015-07-29 Pedro Alves <palves@redhat.com>
1599 * gdb.base/ending-run.exp: Use gdb_test_stdio.
1601 2015-07-29 Pedro Alves <palves@redhat.com>
1603 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
1604 parameter into two new parameters, "inf_result" and "gdb_result".
1605 Expect inferior output and gdb output from $inferior_spawn_id and
1606 $gdb_spawn_id, respectively. Adjust all callers.
1608 2015-07-29 Pedro Alves <palves@redhat.com>
1610 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
1611 of gdb_test_sequence.
1613 2015-07-29 Pedro Alves <palves@redhat.com>
1615 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
1616 (saw_spurious_output): Expect inferior output from
1617 $inferior_spawn_id. Use gdb_test_stdio.
1619 2015-07-29 Pedro Alves <palves@redhat.com>
1621 * gdb.base/dprintf.exp: Use standard_testfile. Change
1622 prepare_for_testing call.
1623 (srcfile): Don't set.
1624 (restart): New procedure.
1625 (test_dprintf): New procecure, use to continue over dprintfs.
1626 (test_call, test_agent): New procedures, tests moved here.
1627 Restart gdb and recreate dprintfs. Adjust expected output.
1629 2015-07-29 Pedro Alves <palves@redhat.com>
1631 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
1633 2015-07-29 Pedro Alves <palves@redhat.com>
1635 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
1637 2015-07-29 Pedro Alves <palves@redhat.com>
1639 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
1642 2015-07-29 Pedro Alves <palves@redhat.com>
1644 * lib/gdb.exp (gdb_test_stdio): New procedure.
1646 2015-07-29 Pedro Alves <palves@redhat.com>
1648 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
1650 2015-07-29 Pedro Alves <palves@redhat.com>
1652 * gdb.base/call-signal-resume.exp: Remove check for
1653 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
1654 * gdb.base/unwindonsignal.exp: Likewise.
1655 * gdb.base/call-signals.c (gen_signal): Remove printf call.
1656 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
1658 2015-07-29 Pedro Alves <palves@redhat.com>
1660 * gdb.base/siginfo-addr.c (pass): New function.
1661 (handler): Call it iff si_addr is correct.
1662 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
1663 Set a breakpoint at "pass" and continue to it.
1665 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
1667 * gdb.python/py-objfile.exp: Make some tests have unique names.
1668 * gdb.python/py-pp-registration.exp: Likewise.
1670 2015-07-28 Pedro Alves <palves@redhat.com>
1672 * gdb.server/server-exec-info.exp: Issue a "disconnect".
1674 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
1676 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
1678 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
1680 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
1682 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
1684 * gdb.base/gdb-sigterm-2.exp: New test.
1686 2015-07-25 Doug Evans <xdje42@gmail.com>
1689 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
1690 (workers/%.worker, build-perf): New rule.
1691 (GDB_PERFTEST_MODE): New variable.
1692 (check-perf): Use it.
1693 (clean): Clean up gdb.perf parallel build subdirs.
1694 * lib/build-piece.exp: New file.
1695 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
1696 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
1698 (standard_temp_file): Ditto.
1699 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1702 2015-07-24 Doug Evans <dje@google.com>
1704 * gdb.perf/lib/perftest/utils.py: New file.
1705 * gdb.perf/gm-hello.cc: New file.
1706 * gdb.perf/gm-pervasive-typedef.cc: New file.
1707 * gdb.perf/gm-pervasive-typedef.h: New file.
1708 * gdb.perf/gm-std.cc: New file.
1709 * gdb.perf/gm-std.h: New file.
1710 * gdb.perf/gm-use-cerr.cc: New file.
1711 * gdb.perf/gm-utils.h: New file.
1712 * gdb.perf/gmonster-null-lookup.py: New file.
1713 * gdb.perf/gmonster-pervasive-typedef.py: New file.
1714 * gdb.perf/gmonster-print-cerr.py: New file.
1715 * gdb.perf/gmonster-ptype-string.py: New file.
1716 * gdb.perf/gmonster-runto-main.py: New file.
1717 * gdb.perf/gmonster-select-file.py: New file.
1718 * gdb.perf/gmonster1-null-lookup.exp: New file.
1719 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
1720 * gdb.perf/gmonster1-print-cerr.exp: New file.
1721 * gdb.perf/gmonster1-ptype-string.exp: New file.
1722 * gdb.perf/gmonster1-runto-main.exp: New file.
1723 * gdb.perf/gmonster1-select-file.exp: New file.
1724 * gdb.perf/gmonster1.cc: New file.
1725 * gdb.perf/gmonster1.exp: New file.
1726 * gdb.perf/gmonster2-null-lookup.exp: New file.
1727 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
1728 * gdb.perf/gmonster2-print-cerr.exp: New file.
1729 * gdb.perf/gmonster2-ptype-string.exp: New file.
1730 * gdb.perf/gmonster2-runto-main.exp: New file.
1731 * gdb.perf/gmonster2-select-file.exp: New file.
1732 * gdb.perf/gmonster2.cc: New file.
1733 * gdb.perf/gmonster2.exp: New file.
1735 2015-07-24 Doug Evans <dje@google.com>
1737 * gdb.perf/README: New file.
1738 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
1739 * lib/gen-perf-test.exp: New file.
1741 2015-07-24 Doug Evans <dje@google.com>
1743 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
1744 (PerfTest::startup): New function.
1745 (PerfTest::run): Return result of calling body.
1746 (PerfTest::assemble): Rewrite.
1747 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
1748 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
1749 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
1750 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
1751 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
1753 2015-07-24 Doug Evans <dje@google.com>
1755 * lib/gdb.exp (clean_restart): Make executable optional.
1757 2015-07-24 Doug Evans <dje@google.com>
1759 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
1760 compiler_info references.
1761 * gdb.cp/temargs.exp: Ditto.
1762 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
1763 (get_compiler_info): Early exit if already computed. Set compiler_info
1764 to "unknown" if there was a problem.
1765 (test_compiler_info): Add function comment. Call get_compiler_info.
1767 2015-07-24 Doug Evans <dje@google.com>
1769 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
1770 (workers/%.worker, build-perf): New rule.
1771 (GDB_PERFTEST_MODE): New variable.
1772 (check-perf): Use it.
1773 (clean): Clean up gdb.perf parallel build subdirs.
1774 * lib/build-piece.exp: New file.
1775 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
1776 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
1778 (standard_temp_file): Ditto.
1779 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1782 2015-07-24 Doug Evans <dje@google.com>
1784 * lib/future.exp (gdb_default_target_compile): New option
1786 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
1789 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
1791 * gdb.base/catch-syscall.exp: Call gdb_exit before
1794 2015-07-24 Pedro Alves <palves@redhat.com>
1796 * gdb.python/py-events.exp: Accept output between the stop event
1798 * gdb.python/py-evsignal.exp: Likewise.
1799 * gdb.python/py-evthreads.exp: Likewise.
1801 2015-07-24 Pedro Alves <palves@redhat.com>
1804 * gdb.threads/non-ldr-exit.c: New file.
1805 * gdb.threads/non-ldr-exit.exp: New file.
1807 2015-07-24 Yao Qi <yao.qi@linaro.org>
1809 * gdb.server/ext-wrapper.exp: Test --wrapper option when
1812 2015-07-24 Yao Qi <yao.qi@linaro.org>
1814 * gdb.server/ext-restart.exp: New file.
1816 2015-07-24 Yao Qi <yao.qi@linaro.org>
1818 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
1820 * gdb.server/ext-wrapper.exp: New file.
1822 2015-07-23 Doug Evans <dje@google.com>
1824 * gdb.dwarf2/dw2-dummy-cu.S: New file.
1825 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
1827 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
1829 * gdb.ada/var_arr_typedef.exp: New testcase.
1830 * gdb.ada/var_arr_typedef/pack.adb: New file.
1831 * gdb.ada/var_arr_typedef/pack.ads: New file.
1832 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
1834 2015-07-20 Joel Brobecker <brobecker@adacore.com>
1836 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
1838 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1840 * gdb.arch/i386-biarch-core.exp: Replace istarget
1841 by "complete set gnutarget". Remove expectation for the "core-file"
1844 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1846 Revert the previous commit:
1847 Tests for validate symbol file using build-id.
1849 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
1851 Tests for validate symbol file using build-id.
1852 * gdb.base/solib-mismatch-lib.c: New file.
1853 * gdb.base/solib-mismatch-libmod.c: New file.
1854 * gdb.base/solib-mismatch.c: New file.
1855 * gdb.base/solib-mismatch.exp: New file.
1857 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
1859 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
1861 * gdb.base/sigbpt.exp (stepi_out): Likewise.
1862 * gdb.base/siginfo.exp: Likewise.
1863 * gdb.base/sigstep.exp (advance, advancei): Likewise.
1865 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
1867 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
1869 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
1871 * gdb.trace/range-stepping.exp: Check that the target supports
1874 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1876 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
1878 2015-07-14 Pedro Alves <palves@redhat.com>
1880 * gdb.base/killed-outside.exp: New file.
1881 * gdb.base/killed-outside.c: New file.
1883 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1885 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
1887 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
1889 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
1891 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
1892 infcall tests instead of setting up for KFAIL.
1894 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
1896 * gdb.btrace/record_goto-step.exp: New.
1898 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1901 * gdb.compile/compile.c (struct struct_type): Add volatile to
1903 * gdb.compile/compile.exp
1904 (compile code struct_object.selffield = &struct_object): Skip further
1905 struct_object tests if this one xfails.
1907 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
1910 * gdb.trace/ax.exp: Add test.
1912 2015-07-07 Yao Qi <yao.qi@linaro.org>
1914 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
1915 instead of istarget "aarch64*-*-*".
1916 * gdb.arch/aarch64-fp.exp: Likewise.
1917 * gdb.base/float.exp: Likewise.
1918 * gdb.reverse/aarch64.exp: Likewise.
1919 * lib/gdb.exp (is_aarch64_target): New proc.
1921 2015-07-07 Yao Qi <yao.qi@linaro.org>
1923 * lib/gdb.exp (is_aarch32_target): New proc.
1924 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
1925 instead of "istarget "arm*-*-*"".
1926 * gdb.arch/arm-disp-step.exp: Likewise.
1927 * gdb.arch/thumb-bx-pc.exp: Likewise.
1928 * gdb.arch/thumb-prologue.exp: Likewise.
1929 * gdb.arch/thumb-singlestep.exp: Likewise.
1930 * gdb.base/disp-step-syscall.exp: Likewise.
1931 * gdb.base/float.exp: Likewise.
1933 2015-07-07 Yao Qi <yao.qi@linaro.org>
1935 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
1936 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
1938 2015-07-07 Yao Qi <yao.qi@linaro.org>
1940 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
1941 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
1943 * gdb.multi/multi-arch.exp: Likewise.
1945 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
1947 * gdb.python/py-lazy-string.exp: Add missing parentheses to
1950 2015-07-07 Yao Qi <yao.qi@linaro.org>
1952 * gdb.arch/thumb-singlestep.exp: Do one more single step.
1954 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
1956 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
1957 '[' and ']' characters.
1959 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
1961 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1963 2015-06-29 Pedro Alves <palves@redhat.com>
1966 * gdb.threads/hand-call-new-thread.c: New file.
1967 * gdb.threads/hand-call-new-thread.c: New file.
1969 2015-06-26 Keith Seitz <keiths@redhat.com>
1970 Doug Evans <dje@google.com>
1973 * gdb.cp/var-tag-2.cc: New file.
1974 * gdb.cp/var-tag-3.cc: New file.
1975 * gdb.cp/var-tag-4.cc: New file.
1976 * gdb.cp/var-tag.cc: New file.
1977 * gdb.cp/var-tag.exp: New file.
1979 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
1981 * gdb.base/history-duplicates.exp: New test.
1983 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
1985 * gdb.base/completion.exp: Test the completion of the "focus"
1988 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1990 * gdb.arch/amd64-prologue-skip.S: New file.
1991 * gdb.arch/amd64-prologue-skip.exp: New file.
1993 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
1995 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
1996 is_address_zero_readable check.
1998 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2000 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2001 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2003 2015-06-24 Yao Qi <yao.qi@linaro.org>
2005 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2008 2015-06-24 Yao Qi <yao.qi@linaro.org>
2010 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2011 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2012 * gdb.base/siginfo-thread.exp: Likewise.
2014 2015-06-22 Yao Qi <yao.qi@linaro.org>
2016 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2018 2015-06-22 Yao Qi <yao.qi@linaro.org>
2020 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2022 (skip_hw_watchpoint_tests): Likewise.
2024 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2026 * gdb.base/gdbinit-history.exp: Test the interaction between
2027 setting GDBHISTSIZE and setting the history size via .gdbinit.
2029 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2032 * gdb.base/gdbhistsize-history.exp: New test.
2034 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2036 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2038 * gdb.base/readline.exp: Likewise.
2040 2015-06-17 Yao Qi <yao.qi@linaro.org>
2042 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2045 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2047 * gdb.base/gdbinit-history.exp: Add test case to check that
2048 an unlimited history file does not get truncated on exit.
2050 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2052 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2053 (VECTOR): New macro. Use it...
2054 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2055 ...for these typedefs.
2056 (int8, char1, int1, double1): New typedefs.
2057 (struct just_int2, struct two_int2): New structures.
2058 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2059 (add_structvecs, add_singlevecs): New functions.
2060 (main): Call add_some_intvecs twice.
2061 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2062 the compile and exit upon failure. Try compiling for the "native"
2063 architecture. Test inferior function calls with vector arguments
2064 and vector return value handling with "finish" and "return".
2066 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2068 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2069 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2071 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2073 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2075 PR breakpoints/16465
2076 * gdb.mi/mi-dprintf-pending.c: New file.
2077 * gdb.mi/mi-dprintf-pending.exp: New test.
2078 * gdb.mi/mi-dprintf-pendshr.c: New file.
2080 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2081 Mircea Gherzan <mircea.gherzan@intel.com>
2083 * gdb.arch/i386-mpx-map.c: New file.
2084 * gdb.arch/i386-mpx-map.exp: New File.
2086 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2088 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2089 * gdb.arch/i386-mpx.exp: Indentation fixed.
2091 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2093 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2094 function and improved indentation.
2095 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2096 gdb_test_multiple. Added additional tests to skip the test.
2098 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2100 * gdb.arch/i386-avx512.c: Change path in include file.
2101 * gdb.arch/i386-avx512.exp: Change include dir path
2103 * gdb.arch/i386-mpx.c: Change path in include file.
2104 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2107 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2109 * gdb.compile/compile-print.exp (compile print *vararray@3)
2110 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2112 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2114 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2115 (do not keep jit in memory): ... this.
2116 (expect 5): Change it to ...
2117 (expect no 5): ... this.
2119 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2122 * gdb.mi/mi-detach.exp: New file.
2124 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2127 * gdb.arch/amd64-tailcall-self.S: New file.
2128 * gdb.arch/amd64-tailcall-self.c: New file.
2129 * gdb.arch/amd64-tailcall-self.exp: New file.
2131 2015-05-28 Don Breazeal <donb@codesourcery.com>
2133 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2134 tests for remote targets by checking is_target_gdbserver.
2136 2015-05-27 Doug Evans <dje@google.com>
2138 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2139 * gdb.dwarf2/opaque-type-lookup.c: New file.
2140 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2142 2015-05-26 Doug Evans <dje@google.com>
2144 * gdb.cp/iostream.cc: New file.
2145 * gdb.cp/iostream.exp: New file.
2147 2015-05-26 Doug Evans <dje@google.com>
2149 * gdb.dwarf2/dw2-op-call.exp: Update.
2150 * gdb.dwarf2/dw4-sig-types.exp: Update.
2151 * gdb.dwarf2/implptr.exp: Update.
2152 * gdb.mi/mi-cmd-param-changed.exp: Update.
2154 2015-05-26 Doug Evans <dje@google.com>
2156 * gdb.python/py-lazy-string.c: New file.
2157 * gdb.python/py-lazy-string.exp: New file.
2158 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2159 (main): Update. Add estring3.
2160 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2161 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2163 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2164 Yao Qi <yao.qi@linaro.org>
2166 * gdb.reverse/aarch64.c: New.
2167 * gdb.reverse/aarch64.exp: New.
2169 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2171 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2172 (supports_reverse): Likewise.
2174 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2176 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2177 Use with_test_prefix.
2179 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2181 * gdb.base/completion.exp: Add test for completion of layout
2184 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2186 * lib/gdb.exp (skip_tui_tests): New proc.
2187 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2189 2015-05-19 Pedro Alves <palves@redhat.com>
2191 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2192 Save the whole env array instead of just HOME. Unset HISTSIZE in
2193 the environment while testing. Restore whole environment
2196 2015-05-16 Doug Evans <xdje42@gmail.com>
2198 * gdb.guile/scm-ports.c: New file.
2199 * gdb.guile/scm-ports.exp: Add memory port tests.
2201 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2203 * gdb.compile/compile-print.c: New file.
2204 * gdb.compile/compile-print.exp: New file.
2206 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2208 * gdb.compile/compile-ops.exp: Cast param to void.
2209 * gdb.compile/compile.exp: Complete type for _gdb_expr.
2210 (compile code struct_object.selffield = &struct_object): Add xfail.
2212 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2214 * gdb.ada/arr_enum_with_gap: New testcase.
2216 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2218 * gdb.ada/byte_packed_arr: New testcase.
2220 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2222 * gdb.ada/pckd_neg: New testcase.
2224 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
2227 * gdb.base/gdbinit-history.exp: New test.
2228 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
2229 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
2231 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
2233 * gdb.python/py-xmethods.cc: Enhance test case.
2234 * gdb.python/py-xmethods.exp: New tests.
2235 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
2237 (B_indexoper): Likewise.
2238 (global_dm_list) : Add new xmethod worker functions.
2240 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
2242 * gdb.base/coredump-filter.exp: Correctly unset
2243 "coredump_var_addr" array.
2245 2015-05-08 Pedro Alves <palves@redhat.com>
2247 * gdb.server/non-existing-program.exp: Unset spawn_id.
2249 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
2252 * gdb.python/py-xmethods.exp: Add tests.
2254 2015-05-08 Yao Qi <yao.qi@linaro.org>
2257 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
2258 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
2259 function set_coredump_filter, and remove remote_exec call.
2260 Remove argument ipid. Callers update.
2261 (top level): Don't get inferior's PID.
2263 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
2265 * gdb.base/watch_thread_num.exp: Skip test on targets without
2268 2015-05-06 Pedro Alves <palves@redhat.com>
2271 * gdb.server/non-existing-program.exp: New file.
2273 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2275 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
2277 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2279 * gdb.ada/out_of_line_in_inlined: New testcase.
2281 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2283 * gdb.ada/var_rec_arr: New testcase.
2285 2015-04-30 Yao Qi <yao.qi@linaro.org>
2287 * gdb.base/break-idempotent.exp: If
2288 skip_hw_watchpoint_multi_tests returns true, skip the tests
2289 on "rwatch" and "awatch".
2291 2015-04-30 Yao Qi <yao.qi@linaro.org>
2293 * gdb.base/relativedebug.exp: Invoke gdb command
2294 "info sharedlibrary", and if libc.so doesn't have debug info,
2297 2015-04-29 Doug Evans <dje@google.com>
2299 * gdb.python/py-xmethods.exp: Add ptype tests.
2300 * gdb.python/py-xmethods.py (E_method_char_worker): Add
2301 get_result_type method.
2303 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
2305 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
2306 the target does not support hardware watchpoints.
2308 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
2310 * gdb.base/break-always.exp: Abort testing if writing to memory
2313 2015-04-28 Doug Evans <dje@google.com>
2315 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
2316 * gdb.python/py-pp-registration.exp: ... here. New file.
2317 * gdb.python/py-pp-registration.c: New file.
2318 * gdb.python/py-pp-registration.py: New file.
2320 2015-04-28 Doug Evans <dje@google.com>
2322 * gdb.python/py-bad-printers.c: New file.
2323 * gdb.python/py-bad-printers.py: New file.
2324 * gdb.python/py-bad-printers.exp: New file.
2326 2015-04-28 Sasha Smundak <asmundak@google.com>
2328 * gdb.python/py-type.exp: New test.
2330 2015-04-28 Andy Wingo <wingo@igalia.com>
2332 * gdb.python/py-parameter.exp:
2333 * gdb.guile/scm-parameter.exp: Escape the path that we are
2334 matching against, as it might contain characters that are special
2335 to regular expressions.
2337 2015-04-27 Joel Brobecker <brobecker@adacore.com>
2339 * gdb.ada/rec_comp: New testcase.
2341 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
2343 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
2346 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
2348 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
2349 new tests for verilog output.
2351 2015-04-24 Yao Qi <yao.qi@linaro.org>
2353 * boards/remote-gdbserver-on-localhost.exp: New file.
2355 2015-04-23 Pedro Alves <palves@redhat.com>
2357 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
2358 $inferior_spawn_id instead of $inferior_spawn_id directly. On
2359 "end of file", remove $inferior_spawn_id from the indirect list.
2361 2015-04-23 Pedro Alves <palves@redhat.com>
2363 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
2365 2015-04-23 Pedro Alves <palves@redhat.com>
2367 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
2368 on $any_spawn_id instead of only on $gdb_spawn_id.
2370 2015-04-21 Pierre Muller <muller@sourceware.org>
2373 * lib/pascal.exp (gpc_compile): Add new option "class".
2374 (fpc_compile): Likewise.
2375 * gdb.pascal/case-insensitive-symbols.pas: New file.
2376 * gdb.pascal/case-insensitive-symbols.exp: New file.
2378 2015-04-20 Gary Benson <gbenson@redhat.com>
2380 * gdb.base/attach.exp: Fix three extended remote failures.
2382 2015-04-17 Gary Benson <gbenson@redhat.com>
2384 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
2385 the main executable over the remote protocol.
2387 2015-04-16 Pedro Alves <palves@redhat.com>
2389 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
2390 a new gdbserver if gdbserver_reconnect_p is set.
2392 2015-04-16 Pedro Alves <palves@redhat.com>
2394 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
2395 is set, don't exit gdbserver.
2397 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2399 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
2400 appropriate .insn, such that an older assembler can be used.
2401 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
2402 the z/Architecture instruction set on 31-bit targets as well.
2404 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2406 * gdb.go/handcall.exp: Remove all logic related to the first
2407 breakpoint and rely on go_runto_main instead.
2408 * gdb.go/strings.exp: Likewise.
2409 * gdb.go/unsafe.exp: Likewise.
2410 * gdb.go/hello.exp: Likewise. Also rename the remaining
2411 breakpoint marker to "breakpoint 1".
2412 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
2413 * gdb.go/strings.go: Likewise.
2414 * gdb.go/unsafe.go: Likewise.
2415 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
2416 "set breakpoint 2 here" and rename the remaining breakpoint marker
2419 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
2421 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
2422 if itertools.imap is not present.
2423 * gdb.python/py-objfile.exp: Add parentheses.
2424 * gdb.python/py-type.exp: Same.
2425 * gdb.python/py-unwind-maint.py: Same.
2427 2015-04-15 Yao Qi <yao.qi@linaro.org>
2429 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
2430 of ":$ptr_size" and set its form explicitly.
2432 2015-04-15 Pedro Alves <palves@redhat.com>
2433 Yao Qi <yao.qi@linaro.org>
2435 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
2436 timeout by factor of 4.
2437 (test_regular_watch): Likewise.
2438 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
2439 * gdb.reverse/sigall-reverse.exp: Likewise.
2440 * gdb.reverse/until-precsave.exp: Likewise.
2441 * lib/gdb.exp (with_timeout_factor): New proc.
2442 (gdb_expect): Move some code to ...
2443 (get_largest_timeout): ... here. New procedure.
2445 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
2447 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
2449 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
2451 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
2452 to write to the .text section.
2454 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
2456 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
2457 Handle the case of targets that do not provide PID information.
2459 2015-04-13 Yao Qi <yao.qi@linaro.org>
2461 * lib/gdbserver-support.exp (gdb_exit): Catch exception
2462 and use expect instead of gdb_expect.
2464 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
2466 * gdb.base/coredump-filter.exp: Rename variable "addr" to
2467 "coredump_var_addr" to avoid naming conflict with other testcases.
2469 2015-04-10 Pedro Alves <palves@redhat.com>
2471 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
2472 gdb_test_sequence and gdb_assert.
2474 2015-04-10 Pedro Alves <palves@redhat.com>
2476 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
2477 test messages that don't include the breakpoint address.
2479 2015-04-10 Yao Qi <yao.qi@linaro.org>
2481 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
2482 false for some offset and width combinations which aren't
2483 supported by linux kernel.
2485 2015-04-10 Pedro Alves <palves@redhat.com>
2487 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
2488 procedure, factored out from ...
2489 (top level): ... here. Add "set displaced-stepping" testing axis.
2490 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
2491 parameter "displaced". Use it.
2492 (top level): Use foreach and add "set displaced-stepping" testing
2495 2015-04-10 Pedro Alves <palves@redhat.com>
2497 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
2499 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
2500 both the address of the instruction that triggers the watchpoint
2501 and the address of the instruction immediately after, and use
2502 those addresses for the test. Fix comment.
2504 2015-04-10 Pedro Alves <palves@redhat.com>
2506 * gdb.base/sigstep.exp (breakpoint_to_handler)
2507 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
2508 Test "backtrace" in handler.
2509 (breakpoint_over_handler): New parameter 'displaced'. Use it.
2510 (top level): Add new "displaced" test axis to
2511 breakpoint_to_handler, breakpoint_to_handler_entry and
2512 breakpoint_over_handler.
2514 2015-04-10 Pedro Alves <palves@redhat.com>
2517 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
2519 2015-04-10 Yao Qi <yao.qi@linaro.org>
2521 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
2522 (test_add_rn_pc): New function.
2523 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
2524 (top level): Invoke test_add_rn_pc.
2526 2015-04-10 Pedro Alves <palves@redhat.com>
2529 * gdb.base/step-over-no-symbols.exp: New file.
2531 2015-04-09 Andy Wingo <wingo@igalia.com>
2533 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
2534 after the Python tests.
2536 2015-04-08 Keith Seitz <keiths@redhat.com>
2539 * gdb.python/py-completion.exp: New tests for completion.
2540 * gdb.python/py-completion.py (CompleteLimit1): New class.
2541 (CompleteLimit2): Likewise.
2542 (CompleteLimit3): Likewise.
2543 (CompleteLimit4): Likewise.
2544 (CompleteLimit5): Likewise.
2545 (CompleteLimit6): Likewise.
2546 (CompleteLimit7): Likewise.
2548 2015-04-08 Pedro Alves <palves@redhat.com>
2552 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
2554 (main): Install it as SIGUSR1 handler.
2555 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
2556 parameter. Always use "setup" as prefix. Toggle "set
2557 displaced-stepping" off/on depending on global. Don't switch to
2559 (top level): Add displaced stepping "off/on" test axis. Update
2560 "setup" calls. Wrap each subtest with with_test_prefix. Test
2561 continuing with a queued signal in each thread.
2563 2015-04-08 Pedro Alves <palves@redhat.com>
2565 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
2566 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
2567 gdb_breakpoint instead of gdb_test that doesn't expect anything.
2568 Return early if running to main fails.
2569 * gdb.trace/while-stepping.exp: Likewise.
2571 2015-04-07 Pedro Alves <palves@redhat.com>
2573 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
2574 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
2575 interact with inferior program.
2577 2015-04-07 Pedro Alves <palves@redhat.com>
2579 * lib/gdb.exp (inferior_spawn_id): New global.
2580 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
2581 spawn id after processing the user code.
2582 (default_gdb_start): Set inferior_spawn_id.
2583 (send_inferior): New procedure.
2584 * lib/gdbserver-support.exp (gdbserver_start): Set
2586 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
2588 2015-04-07 Pedro Alves <palves@redhat.com>
2590 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
2591 * lib/gdbserver-support.exp (gdbserver_start): Make
2592 $server_spawn_id global.
2593 (gdbserver_start): Don't wait for gdbserver's spawn id with
2595 (close_gdbserver): New procedure.
2596 (gdb_exit): Rename the default version and reimplement.
2598 2015-04-07 Pedro Alves <palves@redhat.com>
2600 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
2601 append the substituted item, not the original item.
2603 2015-04-07 Pedro Alves <palves@redhat.com>
2605 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
2608 2015-04-07 Pedro Alves <palves@redhat.com>
2610 * gdb.base/interrupt.exp: Don't handle the case of the inferior
2611 output appearing once only.
2613 2015-04-07 Pedro Alves <palves@redhat.com>
2615 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
2616 that doesn't expect anything. Return early if running to main
2619 2015-04-07 Yao Qi <yao.qi@linaro.org>
2621 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
2622 (child_function): Call alarm.
2623 (main): Move call to alarm into the loop.
2624 * gdb.threads/non-stop-fair-events.exp: Build program with
2627 2015-04-06 Doug Evans <xdje42@gmail.com>
2629 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
2630 Fix dest parameter to board_info.
2631 (fpc_compile): Ditto.
2632 (gdb_compile_pascal): Rename dest arg to destfile.
2634 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
2636 * gdb.ada/funcall_ref.exp: New file.
2637 * gdb.ada/funcall_ref/foo.adb: New file.
2639 2015-04-02 Yao Qi <yao.qi@linaro.org>
2641 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
2644 2015-04-02 Gary Benson <gbenson@redhat.com>
2646 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
2648 2015-04-01 Sasha Smundak <asmundak@google.com>
2650 * gdb.python/py-unwind-maint.c: New file.
2651 * gdb.python/py-unwind-maint.exp: New test.
2652 * gdb.python/py-unwind-maint.py: New file.
2653 * gdb.python/py-unwind.c: New file.
2654 * gdb.python/py-unwind.exp: New test.
2655 * gdb.python/py-unwind.py: New test.
2657 2015-04-01 Pedro Alves <palves@redhat.com>
2659 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
2660 to fail instead of non-existent $test.
2662 2015-04-01 Pedro Alves <palves@redhat.com>
2664 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
2665 GDBFLAGS if not empty.
2667 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
2669 * gdb.ada/complete.exp: Remove "multi_line".
2670 * gdb.ada/info_exc.exp: Remove "multi_line".
2671 * gdb.ada/packed_tagged.exp: Remove "multi_line".
2672 * gdb.ada/ptype_field.exp: Remove "multi_line".
2673 * gdb.ada/sym_print_name.exp: Remove "multi_line".
2674 * gdb.ada/tagged.exp: Remove "multi_line".
2675 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
2677 * gdb.btrace/delta.exp: Likewise.
2678 * gdb.btrace/exception.exp: Likewise.
2679 * gdb.btrace/function_call_history.exp: Likewise.
2680 * gdb.btrace/instruction_history.exp: Likewise.
2681 * gdb.btrace/nohist.exp: Likewise.
2682 * gdb.btrace/record_goto.exp: Likewise.
2683 * gdb.btrace/segv.exp: Likewise.
2684 * gdb.btrace/stepi.exp: Likewise.
2685 * gdb.btrace/tailcall.exp: Likewise.
2686 * gdb.btrace/unknown_functions.exp: Likewise.
2687 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
2688 * lib/gdb.exp: Add the "multi_line" helper.
2690 2015-04-01 Pedro Alves <palves@redhat.com>
2692 * gdb.threads/tid-reuse.c: New file.
2693 * gdb.threads/tid-reuse.exp: New file.
2695 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
2698 * gdb.base/coredump-filter.c: New file.
2699 * gdb.base/coredump-filter.exp: Likewise.
2701 2015-03-27 Petr Machata <pmachata@redhat.com>
2703 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
2704 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
2705 (Dwarf::assemble): Initialize them.
2706 (Dwarf::lines): New function.
2708 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
2710 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
2711 SYMBOL_PREFIX for x86_64-*-cygwin.
2713 2015-03-26 Andy Wingo <wingo@igalia.com>
2716 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
2717 const_value but not a location.
2718 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
2719 location defined in non-main CUs are visible.
2721 2015-03-26 Yao Qi <yao.qi@linaro.org>
2724 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
2725 Add a line number entry for the same line.
2726 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
2727 Add a line number entry for the same line.
2729 2015-03-26 Yao Qi <yao.qi@linaro.org>
2731 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
2733 (func): Likewise. Add .Lfunc_1 label.
2735 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
2740 2015-03-26 Yao Qi <yao.qi@linaro.org>
2742 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
2743 Call gdb_compile instead to compile each .s files without debug
2746 2015-03-26 Yao Qi <yao.qi@linaro.org>
2748 * gdb.base/savedregs.exp (process_saved_regs): Make
2749 "Saved registers:" optional in the pattern.
2751 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
2753 * gdb.btrace/next.exp: Merged into step.exp.
2754 * gdb.btrace/finish.exp: Merged into step.exp.
2755 * gdb.btrace/nexti.exp: Merged into stepi.exp.
2756 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
2757 "record goto" and checking the exact replay position.
2758 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
2759 check for "Recording format" in "info record" output.
2760 * gdb.btrace/record_goto.exp: Choose test file based on target.
2761 * gdb.btrace/x86-record_goto.S: Renamed into ...
2762 * gdb.btrace/x86_64-record_goto.S: ... this.
2763 * gdb.btrace/i686-record_goto.S: New.
2764 * gdb.btrace/x86-tailcall.S: Renamed into ...
2765 * gdb.btrace/x86_64-tailcall.S: ... this.
2766 * gdb.btrace/i686-tailcall.S: New.
2767 * gdb.btrace/x86-tailcall.c: Renamed into ...
2768 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
2769 separate statements. Update test.
2770 * gdb.btrace/delta.exp: Use record_goto.c as test file.
2771 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
2772 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
2773 * gdb.btrace/tailcall.exp: Choose test file based on target.
2774 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
2776 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
2778 * gdb.btrace/exception.exp: Increase BTS buffer size.
2780 2015-03-24 Pedro Alves <palves@redhat.com>
2782 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
2784 2015-03-24 Pedro Alves <palves@redhat.com>
2786 * gdb.threads/schedlock.exp (test_step): No longer expect that
2787 "set scheduler-locking step" with "next" over a function call runs
2790 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2792 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
2794 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2796 PR breakpoints/16466
2797 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
2798 * gdb.mi/mi-pending.c (thread_func): New function.
2799 (int main): Add threading support required.
2800 * gdb.mi/mi-pending.exp: Add tests for this issue.
2801 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
2802 (pendfunc2): Remove stdio dependency.
2803 * gdb.mi/mi-pendshr2.c: New file.
2805 2015-03-23 Keith Seitz <keiths@redhat.com>
2807 * gdb.linespec/keywords.c: New file.
2808 * gdb.linespec/keywords.exp: New file.
2810 2015-03-23 Keith Seitz <keiths@redhat.com>
2813 * gdb.dwarf2/staticvirtual.exp: New test.
2815 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2817 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
2818 * README: Remove HP-UX and gdb.hp.
2820 * configure: Regenerate.
2821 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
2822 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
2823 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
2824 gdb.hp/gdb.defects/Makefile.
2825 * gdb.hp/Makefile.in: File deleted.
2826 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
2827 * gdb.hp/gdb.aCC/optimize.c: File deleted.
2828 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
2829 * gdb.hp/gdb.aCC/run.c: File deleted.
2830 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
2831 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
2832 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
2833 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
2834 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
2835 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
2836 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
2837 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
2838 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
2839 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
2840 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
2841 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
2842 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
2843 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
2844 * gdb.hp/gdb.base-hp/reg.s: File deleted.
2845 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
2846 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
2847 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
2848 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
2849 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
2850 * gdb.hp/gdb.compat/Makefile.in: File deleted.
2851 * gdb.hp/gdb.compat/average.c: File deleted.
2852 * gdb.hp/gdb.compat/sum.c: File deleted.
2853 * gdb.hp/gdb.compat/xdb.c: File deleted.
2854 * gdb.hp/gdb.compat/xdb0.c: File deleted.
2855 * gdb.hp/gdb.compat/xdb0.h: File deleted.
2856 * gdb.hp/gdb.compat/xdb1.c: File deleted.
2857 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
2858 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
2859 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
2860 * gdb.hp/gdb.defects/Makefile.in: File deleted.
2861 * gdb.hp/gdb.defects/bs14602.c: File deleted.
2862 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
2863 * gdb.hp/gdb.defects/solib-d.c: File deleted.
2864 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
2865 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
2866 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
2867 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
2868 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
2869 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
2870 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
2871 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
2872 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
2873 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
2874 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
2875 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
2876 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
2877 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
2878 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
2879 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
2880 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
2881 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
2882 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
2883 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
2884 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
2885 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
2886 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
2887 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
2888 * gdb.hp/tools/odump: File deleted.
2890 2015-03-19 Pedro Alves <palves@redhat.com>
2892 * gdb.threads/continue-pending-status.exp (saw_thread_2)
2893 (saw_thread_3): New globals.
2894 (top level): Increment them when an event for the corresponding
2896 (no thread starvation): New test.
2898 2015-03-19 Pedro Alves <palves@redhat.com>
2900 * gdb.threads/continue-pending-status.c: New file.
2901 * gdb.threads/continue-pending-status.exp: New file.
2903 2015-03-18 Pedro Alves <palves@redhat.com>
2905 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
2906 Use gdb_is_target_remote instead of is_remote. Use
2907 gdb_test_multiple instead of gdb_expect. Exit early if
2908 gdb_test_multiple hits its internal matches. Tighten stepi tests
2909 expected output. Fail on exit with any signal, instead of just
2912 2015-03-18 Yao Qi <yao.qi@linaro.org>
2915 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
2917 * gdb.base/catch-syscall.exp: Don't skip it on
2918 aarch64*-*-linux* target. Remove elements in all_syscalls.
2919 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
2921 (setup_all_syscalls): New proc.
2923 2015-03-16 Yao Qi <yao.qi@linaro.org>
2925 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
2926 (top level): Skip tests if valid_addr_p returns false for
2929 2015-03-11 Andy Wingo <wingo@igalia.com>
2931 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
2933 2015-03-11 Yao Qi <yao.qi@linaro.org>
2935 * gdb.base/catch-syscall.exp: Fix typo in comments.
2937 2015-03-11 Yao Qi <yao.qi@linaro.org>
2939 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
2941 2015-03-09 Pedro Alves <palves@redhat.com>
2943 * dg-extract-results.py: Delete.
2945 2015-03-09 Pedro Alves <palves@redhat.com>
2947 Merge dg-extract-results.sh from GCC upstream (r218843).
2949 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
2950 * dg-extract-results.sh: Use --text with grep to avoid issues with
2951 binary files. Fall back to cat -v, if that doesn't work.
2953 2015-03-05 Pedro Alves <palves@redhat.com>
2955 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
2957 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
2959 * lib/mi-support.exp (mi_expect_interrupt): Accept
2960 alternative event for when in all-stop mode.
2962 2015-03-04 Pedro Alves <palves@redhat.com>
2964 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
2966 2015-03-04 Mark Kettenis <kettenis@gnu.org>
2968 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
2970 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2972 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
2973 regexps for GDB's current line display, accept a hex address
2974 preceding the line number.
2976 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2978 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
2979 the 'arch1' variable for "s390*-linux*" targets.
2981 2015-03-04 Pedro Alves <palves@redhat.com>
2983 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
2984 (main): Pass missing retval argument to pthread_join call.
2986 2015-03-02 Pedro Alves <palves@redhat.com>
2988 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
2989 (top level): Call do_test with non-stop as well.
2991 2015-03-02 Pedro Alves <palves@redhat.com>
2993 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
2996 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
2998 * gdb.arch/s390-vregs.exp: New test.
2999 * gdb.arch/s390-vregs.S: New file.
3001 2015-02-27 Pedro Alves <palves@redhat.com>
3003 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3004 call to catch_command_errors.
3005 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3006 catch_command_errors.
3008 2015-02-27 Pedro Alves <palves@redhat.com>
3010 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3011 "true" for boolean result.
3012 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3015 2015-02-27 Pedro Alves <palves@redhat.com>
3017 * lib/unbuffer_output.c: New file.
3018 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3019 (main): Call gdb_unbuffer_output.
3021 2015-02-27 Yao Qi <yao.qi@linaro.org>
3023 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3026 2015-02-26 Doug Evans <dje@google.com>
3028 * gdb.cp/class2.cc (Dbase, D): New classes.
3029 (main): New local delta.
3030 * gdb.cp/class2.exp: Test printing delta.
3031 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3032 (dynbar): New global.
3033 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3035 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3037 * gdb.compile/compile-ifunc.c: New file.
3038 * gdb.compile/compile-ifunc.exp: New file.
3040 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3042 * gdb.base/structs.exp: Check for correct struct on finish.
3044 2015-02-26 Yao Qi <yao.qi@linaro.org>
3046 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3049 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3051 * gdb.arch/cordic.ko.bz2: New file.
3052 * gdb.arch/cordic.ko.debug.bz2: New file.
3053 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3055 2015-02-25 Yao Qi <yao.qi@linaro.org>
3057 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3058 aarch64*-*-* target.
3060 2015-02-23 Pedro Alves <palves@redhat.com>
3062 * lib/gdb.exp (delete_breakpoints): Rewrite using
3065 2015-02-23 Pedro Alves <palves@redhat.com>
3067 * gdb.base/info-os.c: Include stdlib.h.
3069 2015-02-22 Doug Evans <xdje42@gmail.com>
3072 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3073 is read after symbols have been re-read.
3074 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3075 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3077 2015-02-21 Doug Evans <dje@google.com>
3079 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3081 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3084 * gdb.arch/i386-biarch-core.core.bz2: New file.
3085 * gdb.arch/i386-biarch-core.exp: New file.
3087 2015-02-21 Pedro Alves <palves@redhat.com>
3089 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3092 2015-02-20 Pedro Alves <palves@redhat.com>
3094 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3097 2015-02-20 Pedro Alves <palves@redhat.com>
3099 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3101 2015-02-20 Pedro Alves <palves@redhat.com>
3103 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3104 clean_restart before gdb_target_supports_trace.
3106 2015-02-20 Pedro Alves <palves@redhat.com>
3109 * gdb.threads/clone-thread_db.c: New file.
3110 * gdb.threads/clone-thread_db.exp: New file.
3112 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3114 PR breakpoints/16812
3115 * gdb.base/catch-gdb-caused-signals.c: New file.
3116 * gdb.base/catch-gdb-caused-signals.exp: New file.
3118 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3120 * configure: Regenerated.
3121 * configure.ac: Use GDB_AC_TRANSFORM.
3122 * aclocal.m4: sinclude ../transform.m4.
3124 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3126 * lib/dtrace.exp: New file.
3127 * gdb.base/dtrace-probe.exp: Likewise.
3128 * gdb.base/dtrace-probe.d: Likewise.
3129 * gdb.base/dtrace-probe.c: Likewise.
3130 * lib/pdtrace.in: Likewise.
3131 * configure.ac: Output variables with the transformed names of
3132 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3133 * configure: Regenerated.
3135 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3137 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3138 expected message when trying to access $_probe_* convenience
3139 variables while not on a probe.
3141 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3143 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3145 2015-02-11 Pedro Alves <pedro@codesourcery.com>
3147 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3148 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3150 2015-02-10 Doug Evans <xdje42@gmail.com>
3152 * lib/gdb.exp (gdb_load): Always return a result.
3154 2015-02-10 Pedro Alves <palves@redhat.com>
3156 * gdb.threads/signal-sigtrap.c: New file.
3157 * gdb.threads/signal-sigtrap.exp: New file.
3159 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3161 * gdb.trace/no-attach-trace.c: New file.
3162 * gdb.trace/no-attach-trace.exp: New file.
3164 2015-02-09 Mark Wielaard <mjw@redhat.com>
3166 * gdb.dwarf2/atomic.c: New file.
3167 * gdb.dwarf2/atomic-type.exp: Likewise.
3169 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3171 * gdb.btrace/buffer-size.exp: Update "info record" output.
3172 * gdb.btrace/delta.exp: Update "info record" output.
3173 * gdb.btrace/enable.exp: Update "info record" output.
3174 * gdb.btrace/finish.exp: Update "info record" output.
3175 * gdb.btrace/instruction_history.exp: Update "info record" output.
3176 * gdb.btrace/next.exp: Update "info record" output.
3177 * gdb.btrace/nexti.exp: Update "info record" output.
3178 * gdb.btrace/step.exp: Update "info record" output.
3179 * gdb.btrace/stepi.exp: Update "info record" output.
3180 * gdb.btrace/nohist.exp: Update "info record" output.
3182 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3184 * gdb.btrace/buffer-size: New.
3186 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3188 * gdb.btrace/delta.exp: Update "info record" output.
3189 * gdb.btrace/enable.exp: Update "info record" output.
3190 * gdb.btrace/finish.exp: Update "info record" output.
3191 * gdb.btrace/instruction_history.exp: Update "info record" output.
3192 * gdb.btrace/next.exp: Update "info record" output.
3193 * gdb.btrace/nexti.exp: Update "info record" output.
3194 * gdb.btrace/step.exp: Update "info record" output.
3195 * gdb.btrace/stepi.exp: Update "info record" output.
3196 * gdb.btrace/nohist.exp: Update "info record" output.
3198 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
3201 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3203 2015-02-06 Pedro Alves <palves@redhat.com>
3205 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
3207 (seconds_left, again): New globals.
3208 (main): Wait seconds_left in a 1-second sleep loop instead of
3209 sleeping 180 seconds. If 'again' is set, reset the seconds
3211 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
3212 'again' in the inferior before detaching. Print the seconds left.
3213 (options): New global.
3214 (top level): Build program with -DTIMEOUT=$timeout.
3216 2015-02-06 Pedro Alves <palves@redhat.com>
3218 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
3219 determine how many seconds to pass to 'alarm'.
3220 * gdb.base/gdb-sigterm.exp (top level): Build program with
3222 (do_test): Return success/failure indication. Add more verbose
3223 logging. Don't fail if 200 single steps are seen. Instead, fail
3224 when the test times out.
3225 (passes): New global.
3226 (top level): Break the testing loop if testing fails on any
3227 iteration. Use gdb_assert.
3229 2015-02-04 Don Breazeal <donb@codesourcery.com>
3231 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
3232 and initialize them.
3233 (ipc_cleanup): New function.
3234 (main): Don't declare shmid, semid, and msqid. Add a call to
3235 atexit so that we call ipc_cleanup on exit.
3237 2015-02-04 Pedro Alves <palves@redhat.com>
3239 * boards/native-extended-gdbserver.exp: Remove any target variant
3240 specifications from the board name before clearing the isremote
3241 flag from board_info.
3243 2015-01-31 Doug Evans <xdje42@gmail.com>
3245 * gdb.base/maint.exp <maint print type argc>: Update expected output.
3247 2015-01-31 Gary Benson <gbenson@redhat.com>
3249 * gdb.base/completion.exp: Disable completion limiting for
3250 existing tests. Add new tests to check completion limiting.
3251 * gdb.linespec/ls-errs.exp: Disable completion limiting.
3253 2015-01-31 Doug Evans <xdje42@gmail.com>
3255 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
3257 2015-01-31 Doug Evans <xdje42@gmail.com>
3259 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
3260 entries. Duplicate file section script entries.
3261 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
3262 inlined entries. Add test for safe-path rejection.
3263 * gdb.python/py-section-script.c: Add duplicate inlined section script
3264 entries. Duplicate file section script entries.
3265 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
3266 inlined entries. Add test for safe-path rejection.
3268 2015-01-29 Joel Brobecker <brobecker@adacore.com>
3270 * gdb.ada/disc_arr_bound: New testcase.
3272 2015-01-29 Joel Brobecker <brobecker@adacore.com>
3274 * gdb.ada/mi_var_array: New testcase.
3276 2015-01-27 Doug Evans <dje@google.com>
3278 * gdb.python/py-objfile.exp: Add tests for objfile.username.
3279 Add test for objfile.filename, objfile.username after objfile
3282 2015-01-26 Joel Brobecker <brobecker@adacore.com>
3284 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
3285 the second test to print the name attribute of value
3286 returned by the call to gdb.lookup_type, and adjust
3287 the expected output accordingly.
3289 2015-01-25 Mark Wielaard <mjw@redhat.com>
3291 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
3292 * gdb.base/disp-step-fork.c: Include unistd.h.
3293 * gdb.base/siginfo-obj.c: Include stdio.h.
3294 * gdb.base/siginfo-thread.c: Likewise.
3295 * gdb.mi/non-stop.c: Include unistd.h.
3296 * gdb.mi/nsthrexec.c: Include stdio.h.
3297 * gdb.mi/pthreads.c: Include unistd.h.
3298 * gdb.modula2/unbounded1.c (main): Declare returns int.
3299 * gdb.reverse/consecutive-reverse.c: Likewise.
3300 * gdb.threads/create-fail.c: Include unistd.h.
3301 * gdb.threads/killed.c: Likewise.
3302 * gdb.threads/linux-dp.c: Likewise.
3303 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
3304 * gdb.threads/non-ldr-exc-2.c: Likewise.
3305 * gdb.threads/non-ldr-exc-3.c: Likewise.
3306 * gdb.threads/non-ldr-exc-4.c: Likewise.
3307 * gdb.threads/pthreads.c: Include unistd.h.
3308 (main): Declare returns int.
3309 * gdb.threads/tls-main.c (foo): New declaration.
3310 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
3312 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
3314 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
3315 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
3317 2015-01-15 Mark Wielaard <mjw@redhat.com>
3319 * gdb.base/noreturn-return.c: New file.
3320 * gdb.base/noreturn-return.exp: New file.
3321 * gdb.base/noreturn-finish.c: New file.
3322 * gdb.base/noreturn-finish.exp: New file.
3324 2015-01-23 Pedro Alves <palves@redhat.com>
3326 * gdb.threads/continue-pending-after-query.c: New file.
3327 * gdb.threads/continue-pending-after-query.exp: New file.
3329 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
3330 Simon Marchi <simon.marchi@ericsson.com>
3332 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
3333 * gdb.base/valgrind-db-attach.exp: Same.
3334 * gdb.base/valgrind-infcall.exp: Same.
3335 * lib/mi-support.exp (default_mi_gdb_start): Same.
3336 * lib/prompt.exp (default_prompt_gdb_start): Same.
3337 * lib/gdb.exp (default_gdb_spawn): Same.
3338 (gdb_interact): New.
3341 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3343 * gdb.compile/compile.exp (pointer to jit function): New test.
3345 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
3347 * lib/gdb.exp (supports_process_record): Return true for
3349 (supports_reverse): Likewise.
3351 2015-01-15 Don Breazeal <donb@codesourcery.com>
3353 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
3354 instead of checking whether the target board is remote and
3355 use spawn_wait_for_attach instead of exec/sleep.
3356 * gdb.base/attach-twice.exp: Likewise.
3358 2015-01-15 Joel Brobecker <brobecker@adacore.com>
3360 * gdb.ada/var_arr_attrs: New testcase.
3362 2015-01-14 Pedro Alves <palves@redhat.com>
3363 Joel Brobecker <brobecker@adacore.com>
3366 * gdb.base/bp-cmds-execution-x-script.c: New file.
3367 * gdb.base/bp-cmds-execution-x-script.exp: New file.
3368 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
3370 2015-01-14 Pedro Alves <palves@redhat.com>
3373 * gdb.base/batch-preserve-term-settings.c: New file.
3374 * gdb.base/batch-preserve-term-settings.exp: New file.
3376 2015-01-13 Doug Evans <dje@google.com>
3378 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
3381 2015-01-13 Joel Brobecker <brobecker@adacore.com>
3383 * Makefile.in (clean mostlyclean): Do not delete *.py.
3385 2015-01-13 Joel Brobecker <brobecker@adacore.com>
3387 * gdb.python/py-lookup-type.exp: New file.
3389 2015-01-12 Pedro Alves <palves@redhat.com>
3391 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
3392 restore GDBFLAGS before returning.
3394 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3396 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
3397 is_amd64_regs_target and is_x86_like_target.
3399 2015-01-11 Doug Evans <xdje42@gmail.com>
3401 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
3402 is given without an explicit form.
3403 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
3405 * gdb.dwarf/corrupt.exp: Ditto.
3406 * gdb.dwarf2/enum-type.exp: Ditto.
3407 * gdb.trace/entry-values.exp: Ditto.
3408 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
3410 2015-01-11 Doug Evans <xdje42@gmail.com>
3413 * gdb.base/maint.exp: Remove references to "maint demangle".
3414 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
3415 Add tests for explicitly specifying language to demangle.
3416 * gdb.dlang/demangle.exp: Ditto.
3418 2015-01-09 Pedro Alves <palves@redhat.com>
3420 * gdb.threads/non-stop-fair-events.c: New file.
3421 * gdb.threads/non-stop-fair-events.exp: New file.
3423 2015-01-09 Pedro Alves <palves@redhat.com>
3425 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
3426 the global scope. Set a breakpoint after all threads are started
3427 rather than stepping over two source lines. Expect the prompt.
3428 * gdb.base/watch_thread_num.c (threads_started_barrier): New
3431 (main): Use threads_started_barrier to wait for all threads to
3432 start. Main thread no longer calls thread_function. Exit after
3434 (loop): New function.
3435 (thread_function): Wait on threads_started_barrier barrier. Call
3436 'loop' at each iteration.
3437 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
3438 threads have started, instead of hardcoding number of "next"
3439 steps. Use an access watchpoint instead of a write watchpoint.
3441 2015-01-09 Pedro Alves <palves@redhat.com>
3443 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
3444 (thread_func): Wait on barrier.
3445 (main): Wait for all threads to start before stopping GDB.
3446 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
3448 (thread1_func, thread2_func): Wait on barrier.
3449 (main): Wait for all threads to start before stopping GDB.
3450 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
3452 (thread1_func, thread2_func): Wait on barrier.
3453 (main): Wait for all threads to start before stopping GDB.
3455 2015-01-09 Pedro Alves <palves@redhat.com>
3457 * gdb.threads/attach-many-short-lived-threads.c: New file.
3458 * gdb.threads/attach-many-short-lived-threads.exp: New file.
3460 2014-01-09 Pedro Alves <palves@redhat.com>
3462 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
3463 instead of to thread 2.
3464 * gdb.threads/signal-command-multiple-signals-pending.c (main):
3465 Add barrier around each pthread_create call instead of around all
3467 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
3468 Set a break on thread_function and have the child threads hit it
3471 2015-01-09 Pedro Alves <palves@redhat.com>
3473 * lib/gdb.exp (can_spawn_for_attach): New procedure.
3474 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
3476 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
3477 checking whether the target board is remote.
3478 * gdb.multi/multi-attach.exp: Likewise.
3479 * gdb.python/py-sync-interp.exp: Likewise.
3480 * gdb.server/ext-attach.exp: Likewise.
3481 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
3482 tests that need to attach, instead of checking whether the target
3483 board is remote at the top of the file.
3485 2015-01-08 Yao Qi <yao@codesourcery.com>
3487 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
3489 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3491 Fix testcase compilation.
3492 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
3494 2015-01-06 Joel Brobecker <brobecker@adacore.com>
3496 * gdb.python/py-type.exp: Add a couple test about empty
3497 array creation, and negative-length array creation.
3499 2015-01-02 Doug Evans <xdje42@gmail.com>
3501 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
3503 2015-01-02 Doug Evans <dje@google.com>
3505 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
3507 2014-12-29 Yao Qi <yao@codesourcery.com>
3509 * gdb.trace/entry-values.exp: Update comments. Rename variable
3510 bar_call_foo to returned_from_foo.
3512 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
3515 * gdb.linespec/break-asm-file.c: New file.
3516 * gdb.linespec/break-asm-file.exp: New file.
3517 * gdb.linespec/break-asm-file0.s: New file.
3518 * gdb.linespec/break-asm-file1.s: New file.
3520 2014-12-18 Nigel Stephens <nigel@mips.com>
3521 Maciej W. Rozycki <macro@codesourcery.com>
3523 * gdb.base/float.exp: Handle the new output from "info float" on
3526 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3528 Fix MinGW compilation.
3529 * gdb.compile/compile-ops.exp: Update untested message if
3530 !skip_compile_feature_tests.
3531 * gdb.compile/compile-setjmp.exp: Likewise.
3532 * gdb.compile/compile-tls.exp: Likewise.
3533 * gdb.compile/compile.exp: Likewise.
3534 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
3535 supported on this host".
3537 2014-12-16 Doug Evans <xdje42@gmail.com>
3539 * boards/stabs.exp: New file.
3541 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
3543 * gdb.base/completion.exp: Adjust to format changes of "maint
3544 print user-registers".
3546 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
3549 * gdb.arch/aarch64-fp.c: New file.
3550 * gdb.arch/aarch64-fp.exp: New file.
3552 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
3554 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
3555 r210637, r210913, r211666, r215400, r215817).
3557 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
3558 * dg-extract-results.py: New file.
3559 * dg-extract-results.sh: Use it if the environment seems
3562 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
3564 * dg-extract-results.py (parse_run): Handle warnings that
3565 are printed before a test harness is run.
3567 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
3569 * dg-extract-results.py (Named): Remove __cmp__ method.
3570 (output_variation): Use a key to sort variation.harnesses.
3572 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
3574 * dg-extract-results.py: For Python 3, force sys.stdout to
3575 handle surrogate escape sequences.
3576 (safe_open): New function.
3577 (output_segment, main): Use it.
3579 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
3581 * dg-extract-results.py (Prog.result_re): Include options
3584 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
3586 * dg-extract-results.py (output_variation): Always sort if
3589 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
3591 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
3592 as long as we get pagination notifications.
3594 2014-12-15 Jason Merrill <jason@redhat.com>
3596 * Makefile.in (check-gdb.%): Restore.
3597 * README: Mention it.
3599 2014-12-13 Joel Brobecker <brobecker@adacore.com>
3601 * gdb.ada/str_uninit: New testcase.
3603 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3606 * gdb.base/vla-stub-define.c: New file.
3607 * gdb.base/vla-stub.c: New file.
3608 * gdb.base/vla-stub.exp: New file.
3610 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
3611 Jan Kratochvil <jan.kratochvil@redhat.com>
3612 Tom Tromey <tromey@redhat.com>
3614 * configure.ac: Add gdb.compile/.
3615 * configure: Regenerate.
3616 * gdb.compile/Makefile.in: New file.
3617 * gdb.compile/compile-ops.exp: New file.
3618 * gdb.compile/compile-ops.c: New file.
3619 * gdb.compile/compile-tls.c: New file.
3620 * gdb.compile/compile-tls.exp: New file.
3621 * gdb.compile/compile-constvar.S: New file.
3622 * gdb.compile/compile-constvar.c: New file.
3623 * gdb.compile/compile-mod.c: New file.
3624 * gdb.compile/compile-nodebug.c: New file.
3625 * gdb.compile/compile-setjmp-mod.c: New file.
3626 * gdb.compile/compile-setjmp.c: New file.
3627 * gdb.compile/compile-setjmp.exp: New file.
3628 * gdb.compile/compile-shlib.c: New file.
3629 * gdb.compile/compile.c: New file.
3630 * gdb.compile/compile.exp: New file.
3631 * lib/gdb.exp (skip_compile_feature_tests): New proc.
3633 2014-12-12 Tom Tromey <tromey@redhat.com>
3635 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
3636 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
3638 2014-12-12 Doug Evans <dje@google.com>
3640 * lib/gdb-python.exp (get_python_valueof): New function.
3641 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
3643 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3645 * gdb.base/completion.exp: Add test for completion of "info
3648 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
3650 * gdb.base/func-ptrs.c: New file.
3651 * gdb.base/func-ptrs.exp: New file.
3653 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
3655 PR breakpoints/17012
3656 * gdb.base/dprintf-detach.c: New file.
3657 * gdb.base/dprintf-detach.exp: New file.
3659 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
3661 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
3662 * lib/gdb.exp (target_is_gdbserver): New procedure.
3664 2014-12-08 Doug Evans <dje@google.com>
3666 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
3668 2014-12-05 Yao Qi <yao@codesourcery.com>
3670 * gdb.guile/scm-error.exp: Remove the third argument to
3671 gdb_remote_download.
3672 * gdb.guile/scm-frame-args.exp: Likewise.
3673 * gdb.guile/scm-section-script.exp: Likewise.
3675 2014-12-05 Yao Qi <yao@codesourcery.com>
3677 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
3679 2014-12-04 Doug Evans <dje@google.com>
3681 * gdb.python/py-objfile.exp: Add tests for
3682 objfile.add_separate_debug_file.
3684 2014-12-04 Doug Evans <dje@google.com>
3686 * lib/gdb.exp (get_build_id): New function.
3687 (build_id_debug_filename_get): Rewrite to use it.
3688 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
3690 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
3692 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
3693 `method(long)', not just 0x0.
3694 * gdb.cp/nsalias.exp: Align code labels to 4.
3695 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
3696 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
3697 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
3698 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
3699 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
3700 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
3702 2014-12-02 Doug Evans <dje@google.com>
3705 * gdb.cp/anon-ns.cc: Move guts of this file to ...
3706 * gdb.cp/anon-ns2.cc: ... here. New file.
3707 * gdb.cp/anon-ns.exp: Update.
3709 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
3711 * gdb.python/py-events.py (inferior_call_handler): New.
3712 (register_changed_handler, memory_changed_handler): New.
3713 (test_events.invoke): Register new handlers.
3714 * gdb.python/py-events.exp: Add tests for inferior call,
3715 memory_changed and register_changed events.
3717 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3719 * gdb.base/execl-update-breakpoints.exp: Specify the link address
3720 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
3721 if the linker doesn't understand this.
3723 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
3725 * gdb.python/python.exp: Change expected reply to help().
3727 2014-12-01 Yao Qi <yao@codesourcery.com>
3729 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
3730 AC_CONFIG_SUBDIRS(gdb.gdbtk).
3731 * configure: Re-generated.
3733 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
3735 * gdb.cp/chained-calls.cc: New file.
3736 * gdb.cp/chained-calls.exp: New file.
3737 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
3739 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
3741 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
3742 * gdb.dwarf2/symtab-producer.exp: Same.
3743 * gdb.gdb/python-interrupts.exp: Same.
3744 * gdb.gdb/python-selftest.exp: Same.
3745 * gdb.python/py-linetable.exp: Same.
3746 * gdb.python/py-type.exp: Same.
3747 * gdb.python/py-value-cc.exp: Same.
3748 * gdb.python/py-value.exp: Same.
3750 2014-11-28 Yao Qi <yao@codesourcery.com>
3752 * gdb.base/break-probes.exp: Match library name prefixed with
3755 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
3757 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
3758 test expected output. Add parentheses for the call to print.
3759 Remove L suffix from integers.
3761 2014-11-26 Doug Evans <dje@google.com>
3763 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
3765 2014-11-22 Yao Qi <yao@codesourcery.com>
3767 * gdb.trace/entry-values.c: Remove asms.
3768 (foo): Add foo_label.
3769 (bar): Add bar_label.
3770 * gdb.trace/entry-values.exp: Remove code computing foo's
3771 length and bar's length.
3772 (Dwarf::assemble): Invoke function_range for bar and use
3773 MACRO_AT_func for foo.
3775 2014-11-22 Yao Qi <yao@codesourcery.com>
3777 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
3778 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
3779 Use .Lgcc43_procstart instead of gcc43.
3781 2014-11-21 Joel Brobecker <brobecker@adacore.com>
3783 * gdb.ada/n_arr_bound: New testcase.
3785 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
3787 PR breakpoints/10737
3788 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
3789 test_catch_syscall_multi_arch.
3790 (test_catch_syscall_multi_arch): New function.
3792 2014-11-20 Doug Evans <xdje42@gmail.com>
3794 * gdb.base/maint.exp: Update expected output.
3796 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3798 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
3799 4-byte instruction on S390.
3801 2014-11-19 Joel Brobecker <brobecker@adacore.com>
3803 * gdb.ada/arr_arr: New testcase.
3805 2014-11-19 Joel Brobecker <brobecker@adacore.com>
3807 * gdb.ada/pkd_arr_elem: New Testcase.
3809 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
3811 * gdb.reverse/break-precsave: Expect completion message for
3813 * gdb.reverse/consecutive-precsave.exp: Likewise.
3814 * gdb.reverse/finish-precsave.exp: Likewise.
3815 * gdb.reverse/i386-precsave.exp: Likewise.
3816 * gdb.reverse/machinestate-precsave.exp: Likewise.
3817 * gdb.reverse/sigall-precsave.exp: Likewise.
3818 * gdb.reverse/solib-precsave.exp: Likewise.
3819 * gdb.reverse/step-precsave.exp: Likewise.
3820 * gdb.reverse/until-precsave.exp: Likewise.
3821 * gdb.reverse/watch-precsave.exp: Likewise.
3823 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3825 * gdb.base/bp-permanent.c: Include unistd.h.
3826 * gdb.python/py-framefilter-mi.c (main): Add return type.
3827 * gdb.python/py-framefilter.c (main): Likewise.
3828 * gdb.trace/actions-changed.c (main): Likewise.
3830 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3832 * gdb.mi/until.c: Add eye-catchers.
3833 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
3836 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3838 * gdb.base/condbreak.exp: Drop references to removed non-prototype
3839 function header variants in break1.c.
3840 * gdb.base/ena-dis-br.exp: Likewise.
3841 * gdb.base/hbreak2.exp: Likewise.
3842 * gdb.reverse/until-precsave.exp: Drop references to removed
3843 non-prototype function header variants in ur1.c.
3844 * gdb.reverse/until-reverse.exp: Likewise.
3846 2014-11-17 Petr Machata <pmachata@redhat.com>
3848 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
3849 ${_cu_offset_size} bytes abbrev offset.
3851 2014-11-15 Doug Evans <xdje42@gmail.com>
3854 * gdb.base/line-symtabs.exp: New file.
3855 * gdb.base/line-symtabs.c: New file.
3856 * gdb.base/line-symtabs.h: New file.
3858 2014-11-14 Yao Qi <yao@codesourcery.com>
3860 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
3861 (func): Add label func_label.
3862 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
3863 Replace low_pc and high_pc with MACRO_AT_range.
3864 Replace name, low_pc and high_pc with MACRO_AT_func.
3866 2014-11-14 Yao Qi <yao@codesourcery.com>
3868 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
3869 Replace name, low_pc and high_pc with MACRO_AT_func.
3871 2014-11-14 Yao Qi <yao@codesourcery.com>
3873 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
3874 produce debug information.
3875 * gdb.dwarf2/implptr-optimized-out.S: Removed.
3877 2014-11-14 Yao Qi <yao@codesourcery.com>
3879 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
3880 object and get function length.
3881 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
3883 (top-level): Replace gdb_compile and clean_restart with
3884 prepare_for_testing.
3885 * gdb.dwarf2/main.c (main): Add label main_label.
3887 2014-11-14 Yao Qi <yao@codesourcery.com>
3889 * lib/dwarf.exp (function_range): New procedure.
3890 (Dwarf::_handle_macro_at_func): New procedure.
3891 (Dwarf::_handle_macro_at_range): New procedure.
3892 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
3894 2014-11-14 Yao Qi <yao@codesourcery.com>
3896 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
3897 (_handle_attribute): New procedure.
3899 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3901 * gdb.ada/cond_lang/foo.c (callme): Add return type.
3902 * gdb.base/call-sc.c (zed): Likewise.
3903 * gdb.base/checkpoint.c (main): Likewise.
3904 * gdb.base/dump.c (main): Likewise.
3905 * gdb.base/gcore.c (main): Likewise.
3906 * gdb.base/huge.c (main): Likewise.
3907 * gdb.base/multi-forks.c (main): Likewise.
3908 * gdb.base/pr10179-a.c (main): Likewise.
3909 * gdb.base/savedregs.c (main): Likewise.
3910 * gdb.base/sigaltstack.c (main): Likewise.
3911 * gdb.base/siginfo.c (main): Likewise.
3912 * gdb.base/structs.c (zed): Likewise.
3913 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
3914 * gdb.mi/mi-syn-frame.c (main): Likewise.
3915 * gdb.mi/until.c (foo, main): Likewise.
3916 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
3917 * gdb.base/solib-weak.c (foo): Declare.
3918 * gdb.base/attach-twice.c: Include stdio.h.
3919 * gdb.base/weaklib1.c: Likewise.
3920 * gdb.base/weaklib2.c: Likewise.
3921 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
3922 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
3924 * gdb.base/attach-pie-misread.c: Include stdlib.h.
3925 * gdb.mi/mi-exit-code.c: Likewise.
3926 * gdb.base/break-interp-lib.c: Include string.h.
3927 * gdb.base/coremaker.c: Likewise.
3928 * gdb.base/testenv.c: Likewise.
3929 * gdb.python/py-finish-breakpoint.c: Likewise.
3930 * gdb.base/inferior-died.c: Include sys/wait.h.
3931 * gdb.base/fileio.c: Include time.h.
3932 * gdb.base/async-shell.c: Include unistd.h.
3933 * gdb.base/dprintf-non-stop.c: Likewise.
3934 * gdb.base/info-os.c: Likewise.
3935 * gdb.mi/mi-console.c: Likewise.
3936 * gdb.mi/watch-nonstop.c: Likewise.
3937 * gdb.python/py-events.c: Likewise.
3938 * gdb.base/async.c (baz): Move up before its invocation.
3939 * gdb.base/code_elim2.c (my_global_func): Likewise.
3940 * gdb.base/skip-solib-lib.c (multiply): Likewise.
3941 * gdb.base/advance.c (func2): Likewise.
3943 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3945 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
3947 * gdb.base/annota3.c: Likewise.
3948 * gdb.base/async.c: Likewise.
3949 * gdb.base/average.c: Likewise.
3950 * gdb.base/call-ar-st.c: Likewise.
3951 * gdb.base/call-rt-st.c: Likewise.
3952 * gdb.base/call-sc.c: Likewise.
3953 * gdb.base/call-strs.c: Likewise.
3954 * gdb.base/ending-run.c: Likewise.
3955 * gdb.base/execd-prog.c: Likewise.
3956 * gdb.base/exprs.c: Likewise.
3957 * gdb.base/foll-exec.c: Likewise.
3958 * gdb.base/foll-fork.c: Likewise.
3959 * gdb.base/foll-vfork.c: Likewise.
3960 * gdb.base/funcargs.c: Likewise.
3961 * gdb.base/gcore.c: Likewise.
3962 * gdb.base/jump.c: Likewise.
3963 * gdb.base/langs0.c: Likewise.
3964 * gdb.base/langs1.c: Likewise.
3965 * gdb.base/langs2.c: Likewise.
3966 * gdb.base/mips_pro.c: Likewise.
3967 * gdb.base/nodebug.c: Likewise.
3968 * gdb.base/opaque0.c: Likewise.
3969 * gdb.base/opaque1.c: Likewise.
3970 * gdb.base/recurse.c: Likewise.
3971 * gdb.base/run.c: Likewise.
3972 * gdb.base/scope0.c: Likewise.
3973 * gdb.base/scope1.c: Likewise.
3974 * gdb.base/setshow.c: Likewise.
3975 * gdb.base/setvar.c: Likewise.
3976 * gdb.base/shmain.c: Likewise.
3977 * gdb.base/shr1.c: Likewise.
3978 * gdb.base/shr2.c: Likewise.
3979 * gdb.base/sigall.c: Likewise.
3980 * gdb.base/signals.c: Likewise.
3981 * gdb.base/so-indr-cl.c: Likewise.
3982 * gdb.base/solib2.c: Likewise.
3983 * gdb.base/structs.c: Likewise.
3984 * gdb.base/sum.c: Likewise.
3985 * gdb.base/vforked-prog.c: Likewise.
3986 * gdb.base/watchpoint.c: Likewise.
3987 * gdb.reverse/shr2.c: Likewise.
3988 * gdb.reverse/until-reverse.c: Likewise.
3989 * gdb.reverse/ur1.c: Likewise.
3990 * gdb.reverse/watch-reverse.c: Likewise.
3992 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3994 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
3996 * gdb.base/sepdebug.exp: Drop references to removed code.
3998 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4000 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4001 variant. Preserve original line numbering.
4002 * gdb.base/list1.c: Likewise.
4004 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4006 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4008 * gdb.base/break1.c: Likewise.
4009 * gdb.base/break.exp: Drop references to removed code.
4011 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4013 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4016 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4018 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4020 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4022 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4023 logic into perform_all_tests() and invoke it with and without
4024 function header prototypes.
4025 (do_function_calls): Remove conditional XFAIL for PR 5318.
4026 (rerun_and_prepare): Remove duplicate code.
4027 (perform_all_tests): New. Main logic moved here.
4029 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4031 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4032 code guarded by #ifdef NO_PROTOTYPES.
4033 (t_double_many_args): Likewise.
4034 (DEF_FUNC_MANY_ARGS_1): Likewise.
4035 (DEF_FUNC_VALUES_1): Likewise.
4036 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4037 guarded by #ifdef PROTOTYPES.
4039 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4041 * gdb.mi/mi-console.c: Add eye-catcher.
4042 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4043 instead of literal line number.
4045 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4047 * gdb.base/shr2.c: Add eye-catcher.
4048 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4051 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4053 * gdb.base/jump.c: Add eye-catchers.
4054 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4057 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4059 * gdb.base/execd-prog.c: Add eye-catchers.
4060 * gdb.base/foll-exec.c: Likewise.
4061 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4064 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4066 * gdb.base/ending-run.c: Add eye-catchers.
4067 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4068 literal line numbers.
4070 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4072 * gdb.base/call-rt-st.c: Add eye-catchers.
4073 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4074 literal line numbers.
4076 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4078 * gdb.base/call-ar-st.c: Add eye-catchers.
4079 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4080 literal line numbers.
4082 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4084 * gdb.base/average.c: Add eye-catchers.
4085 * gdb.base/sum.c: Likewise.
4086 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4087 regexps dynamically.
4089 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4091 * gdb.base/solib1.c: Add eye-catchers.
4092 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4093 literal line numbers.
4095 2014-11-12 Pedro Alves <palves@redhat.com>
4097 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4100 2014-11-12 Pedro Alves <palves@redhat.com>
4102 * gdb.arch/i386-bp_permanent.c: New file.
4103 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4104 (srcfile): Set to i386-bp_permanent.c.
4105 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4106 that stepi does not execute the 'leave' instruction, instead of
4107 testing it does execute.
4108 * gdb.base/bp-permanent.c: New file.
4109 * gdb.base/bp-permanent.exp: New file.
4111 2014-11-10 Doug Evans <xdje42@gmail.com>
4114 * gdb.base/symtab-search-order.exp: New file.
4115 * gdb.base/symtab-search-order.c: New file.
4116 * gdb.base/symtab-search-order-1.c: New file.
4117 * gdb.base/symtab-search-order-shlib-1.c: New file.
4119 2014-11-07 Pedro Alves <palves@redhat.com>
4122 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4125 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4128 * gdb.cp/pr17494.cc: New file.
4129 * gdb.cp/pr17494.exp: New file.
4131 2014-11-02 Yao Qi <yao@codesourcery.com>
4133 * gdb.python/python.exp: Get working directory and match the
4134 output of "set extended-prompt \\w " with it.
4136 2014-10-30 Doug Evans <dje@google.com>
4138 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4140 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4143 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
4145 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4146 * gdb.base/realname-expand.exp: Likewise.
4147 * gdb.linespec/macro-relative.exp: Likewise.
4149 2014-10-29 Pedro Alves <palves@redhat.com>
4152 * gdb.threads/schedlock.c (some_function): New function.
4153 (call_function): New global.
4154 (MAYBE_CALL_SOME_FUNCTION): New macro.
4155 (thread_function): Call it.
4156 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4157 and use it instead of a global counter. Adjust all callers.
4158 (get_current_thread): Use "find current thread" for test message
4159 here rather than having all callers pass down the same string.
4160 (goto_loop): New procedure, factored out from ...
4161 (my_continue): ... this.
4162 (step_ten_loops): Change parameter from test message to command to
4164 (list_count): Delete global.
4165 (check_result): New procedure, factored out from duplicate top
4167 (continue tests): Wrap in with_test_prefix.
4168 (test_step): New procedure, factored out from duplicate top level
4170 (top level): Test "step" in combination with all scheduler-locking
4171 modes. Test "next" in combination with all scheduler-locking
4172 modes, and in combination with stepping over a function call or
4174 * gdb.threads/next-bp-other-thread.c: New file.
4175 * gdb.threads/next-bp-other-thread.exp: New file.
4177 2014-10-29 Pedro Alves <palves@redhat.com>
4180 * gdb.python/python.exp: Test a multi-line command that spawns
4182 * gdb.base/multi-line-starts-subshell.exp: New file.
4184 2014-10-29 Yao Qi <yao@codesourcery.com>
4186 * gdb.base/fileio.exp: Make directories on host.
4188 2014-10-29 Yao Qi <yao@codesourcery.com>
4190 * gdb.base/fileio.c (test_write): Close the file.
4192 2014-10-28 Pedro Alves <palves@redhat.com>
4195 * gdb.base/sigstep.c (no_handler): New global.
4196 (main): If 'no_handler is true, set the signal handlers to
4198 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4199 with_sw_watch and no_handler parameters. Handle them.
4200 (top level) <stepping over handler when stopped at a breakpoint
4201 test>: Add a test axis for testing with a software watchpoint, and
4202 another for testing with the signal handler set to SIG_IGN.
4203 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4204 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
4206 2014-10-28 Pedro Alves <palves@redhat.com>
4209 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
4210 * gdb.base/sigstep.exp (other_handler_location): New global.
4211 (advance): Support stepping into the signal handler, and running
4212 commands while in the handler.
4213 (in_handler_map): New global.
4214 (top level): In the advance test, add combinations for getting
4215 into the handler with stepping commands, and for running commands
4216 in the handler. Add comment descripting the advancei tests.
4218 2014-10-28 Pedro Alves <palves@redhat.com>
4220 * gdb.base/sigstep.exp: Use build_executable instead of
4221 prepare_for_testing.
4222 (top level): Move code that starts GDB, runs to main and creates a
4224 (restart): ... this new procedure.
4225 (top level): Move backtrace from signal handler test to ...
4226 (validate_backtrace): ... this new procedure.
4227 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
4228 with_test_prefix. Always restart GDB.
4229 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
4230 with_test_prefix. Always restart GDB. No need to delete
4231 breakpoints after the test.
4232 (test_skip_handler): Remove prefix parameter.
4233 (skip_over_handler, breakpoint_to_handler)
4234 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
4235 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
4236 restart GDB. No need to delete breakpoints after the test.
4237 (top level): Use foreach to call the test procedures with
4240 2014-10-28 Pedro Alves <palves@redhat.com>
4242 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
4243 instead of GNATS numbers.
4244 * gdb.base/sigbpt.exp: Likewise.
4245 * gdb.base/siginfo.exp: Likewise.
4246 * gdb.base/sigstep.exp: Likewise.
4248 2014-10-27 Pedro Alves <palves@redhat.com>
4250 * gdb.base/sigstep.c (dummy): New global.
4251 (main): Issue a couple writes to the new global.
4252 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
4254 (skip_over_handler): Use test_skip_handler.
4255 (top level): Call skip_over_handler for stepi and nexti too.
4256 (breakpoint_over_handler): Use test_skip_handler.
4257 (top level): Call breakpoint_over_handler for stepi and nexti too.
4259 2014-10-27 Yao Qi <yao@codesourcery.com>
4261 * gdb.trace/tfile.c (adjust_function_address)
4262 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
4263 function descriptor.
4265 2014-10-24 Don Breazeal <donb@codesourcery.com>
4267 * gdb.base/foll-fork.exp (test_follow_fork,
4268 catch_fork_child_follow): Check for updated fork messages emitted
4270 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
4271 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
4272 vfork_and_exec_child_follow_through_step): Check for updated vfork
4273 messages emitted from infrun.c.
4275 2014-10-24 Pedro Alves <palves@redhat.com>
4277 * gdb.base/corefile.exp: Remove references to ultrix.
4278 * gdb.base/interrupt.exp: Likewise.
4279 * gdb.base/whatis.exp: Likewise.
4280 * gdb.gdb/selftest.exp: Likewise.
4281 * gdb.threads/manythreads.exp: Likewise.
4282 * gdb.threads/print-threads.exp: Likewise.
4283 * gdb.threads/pthreads.exp:: Likewise.
4284 * gdb.threads/schedlock.exp: Likewise.
4286 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
4288 * gdb.cp/non-trivial-retval.cc: Add a test case.
4289 * gdb.cp/non-trivial-retval.exp: Add a test.
4291 2014-10-20 Yao Qi <yao@codesourcery.com>
4293 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
4294 * gdb.python/py-objfile-script-gdb.py: New file.
4295 * gdb.python/py-objfile-script.exp: Update reference to
4296 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
4297 of remote_download. Remove the dest file.
4299 2014-10-20 Yao Qi <yao@codesourcery.com>
4301 * gdb.base/checkpoint.exp: Don't remove file copied on host.
4302 * gdb.base/step-line.exp: Likewise.
4303 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4304 * gdb.dwarf2/dw2-basic.exp: Likewise.
4305 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4306 * gdb.dwarf2/dw2-filename.exp: Likewise.
4307 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4308 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4309 * gdb.dwarf2/dw2-producer.exp: Likewise.
4310 * gdb.dwarf2/mac-fileno.exp: Likewise.
4311 * gdb.python/py-frame-args.exp: Likewise.
4312 * gdb.python/py-framefilter.exp: Likewise.
4313 * gdb.python/py-mi.exp: Likewise.
4314 * gdb.python/py-objfile-script.exp: Likewise
4315 * gdb.python/py-pp-integral.exp: Likewise.
4316 * gdb.python/py-pp-re-notag.exp: Likewise.
4317 * gdb.python/py-prettyprint.exp: Likewise.
4318 * gdb.python/py-section-script.exp: Likewise.
4319 * gdb.python/py-typeprint.exp: Likewise.
4320 * gdb.python/py-xmethods.exp: Likewise.
4321 * gdb.stabs/weird.exp: Likewise.
4322 * gdb.xml/tdesc-regs.exp: Likewise.
4324 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
4326 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
4327 (out_cu): Use addr_len for the size of addresses.
4328 (out_line): Likewise. Size DW_LNE_set_address instruction
4329 according to addr_len.
4330 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
4331 (FUNC): Add START_INSNS to definition.
4333 2014-10-18 Yao Qi <yao@codesourcery.com>
4335 * gdb.base/argv0-symlink.exp: Check argv[0] value if
4336 gdb_has_argv0 return true.
4337 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
4338 check [target_info exists noargs], check [gdb_has_argv0]
4340 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4341 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
4344 2014-10-17 Doug Evans <dje@google.com>
4346 * gdb.python/py-events.exp: Update expected output for clear_objfiles
4348 * gdb.python/py-events.py: Add clear_objfiles event.
4350 2014-10-17 Doug Evans <dje@google.com>
4352 * gdb.python/py-objfile.exp: Test progspace attribute.
4354 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
4356 * gdb.guile/scm-breakpoint.exp: Do not assume any
4357 directory separators when matching source file paths.
4358 * gdb.python/py-breakpoint.exp: Likewise.
4359 * gdb.reverse/break-precsave.exp: Likewise.
4360 * gdb.reverse/break-reverse.exp: Likewise.
4361 * gdb.reverse/consecutive-precsave.exp: Likewise.
4362 * gdb.reverse/finish-precsave.exp: Likewise.
4363 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
4364 * gdb.reverse/finish-reverse.exp: Likewise.
4365 * gdb.reverse/i386-precsave.exp: Likewise.
4366 * gdb.reverse/i387-env-reverse.exp: Likewise.
4367 * gdb.reverse/i387-stack-reverse.exp: Likewise.
4368 * gdb.reverse/machinestate-precsave.exp: Likewise.
4369 * gdb.reverse/machinestate.exp: Likewise.
4370 * gdb.reverse/sigall-precsave.exp: Likewise.
4371 * gdb.reverse/solib-precsave.exp: Likewise.
4372 * gdb.reverse/step-precsave.exp: Likewise.
4373 * gdb.reverse/until-precsave.exp: Likewise.
4374 * gdb.reverse/watch-precsave.exp: Likewise.
4375 * gdb.reverse/watch-reverse.exp: Likewise.
4377 2014-10-17 Yao Qi <yao@codesourcery.com>
4379 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
4380 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
4382 2014-10-17 Pedro Alves <palves@redhat.com>
4385 * gdb.base/bg-execution-repeat.c: New file.
4386 * gdb.base/bg-execution-repeat.exp: New file.
4388 2014-10-17 Pedro Alves <palves@redhat.com>
4391 * gdb.base/continue-all-already-running.c: New file.
4392 * gdb.base/continue-all-already-running.exp: New file.
4394 2014-10-17 Pedro Alves <palves@redhat.com>
4397 * gdb.base/annota-input-while-running.c: New file.
4398 * gdb.base/annota-input-while-running.exp: New file.
4400 2014-10-17 Pedro Alves <palves@redhat.com>
4402 * gdb.base/callfuncs.exp: emove references to osf.
4403 * gdb.base/sigall.exp: Likewise.
4404 * gdb.gdb/selftest.exp: Likewise.
4405 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
4406 * gdb.mi/non-stop.c: Likewise.
4407 * gdb.mi/pthreads.c: Likewise.
4408 * gdb.reverse/sigall-precsave.exp: Likewise.
4409 * gdb.reverse/sigall-reverse.exp: Likewise.
4410 * gdb.threads/pthreads.c: Likewise.
4411 * gdb.threads/pthreads.exp: Likewise.
4413 2014-10-17 Yao Qi <yao@codesourcery.com>
4415 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
4416 check 'target_info exists noargs'.
4417 (test_command_prompt_position): Likewise.
4418 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
4420 (progvar_simple_while_test): Likewise.
4421 (progvar_complex_if_while_test): Likewise.
4422 (if_while_breakpoint_command_test): Likewise.
4423 (infrun_breakpoint_command_test): Likewise.
4424 (breakpoint_command_test): Likewise.
4425 (watchpoint_command_test): Likewise.
4426 (bp_deleted_in_command_test): Likewise.
4427 (temporary_breakpoint_commands): Likewise.
4429 2014-10-16 Yao Qi <yao@codesourcery.com>
4431 * gdb.base/remotetimeout.exp: Remove noargs checking.
4433 2014-10-15 Pedro Alves <palves@redhat.com>
4436 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
4437 * gdb.base/breakpoint-in-ro-region.exp
4438 (probe_target_hardware_step): New procedure.
4439 (top level): Probe hardware stepping and hardware breakpoint
4440 support. Test stepping through a read-only region, with both
4441 "breakpoint auto-hw" on and off and both "always-inserted" on and
4444 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
4446 * gdb.dlang/demangle.exp: Update for demangling changes.
4448 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4450 * gdb.cp/non-trivial-retval.cc: Add new test cases.
4451 * gdb.cp/non-trivial-retval.exp: Add new tests.
4453 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4457 * gdb.cp/non-trivial-retval.cc: New file.
4458 * gdb.cp/non-trivial-retval.exp: New file.
4460 2014-10-15 Yao Qi <yao@codesourcery.com>
4462 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
4465 2014-10-15 Yao Qi <yao@codesourcery.com>
4467 * gdb.python/py-symbol.exp: Match file base name if host is
4468 remote, otherwise match file name with dir name.
4469 * gdb.python/py-symtab.exp: Likewise.
4470 * gdb.python/python.exp: Likewise.
4472 2014-10-15 Yao Qi <yao@codesourcery.com>
4474 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
4476 * gdb.python/py-symtab.exp: Likewise.
4477 * gdb.python/python.exp: Remove trailing ".*". Fix typo
4480 2014-10-14 Joel Brobecker <brobecker@adacore.com>
4482 * gdb.ada/addr_arith: New testcase.
4484 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
4486 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
4487 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
4488 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
4489 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
4491 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
4493 * gdb.arch/stap-eval-lang-ada.S: Likewise.
4494 * gdb.arch/stap-eval-lang-ada.c: Likewise.
4495 * gdb.arch/stap-eval-lang-ada.exp: New file.
4497 2014-10-14 Yao Qi <yao@codesourcery.com>
4499 * gdb.mi/mi-var-child.c (nothing1): New function.
4500 (nothing2): New function.
4501 (do_children_tests): Set function pointers by nothing1 and
4503 * gdb.mi/mi-var-child.exp: Step over new added statements.
4504 Update test to match the new output.
4505 * gdb.mi/var-cmd.c (nothing1): New function.
4506 (nothing2): New function.
4507 (do_children_tests): Set function pointers by nothing1 and
4509 * gdb.mi/mi-var-display.exp: Update test to match output.
4510 Step to the line specified by $line_dct_nothing.
4511 Increase the number of lines to step.
4513 2014-10-14 Yao Qi <yao@codesourcery.com>
4515 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
4517 * gdb.mi/mi2-var-child.exp: Likewise.
4519 2014-10-13 Doug Evans <dje@google.com>
4521 * gdb.python/py-objfile.exp: Change name of file name test.
4523 2014-10-13 Doug Evans <dje@google.com>
4525 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
4526 from the start of the CU.
4528 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4529 Yao Qi <yao@codesourcery.com>
4531 Fix "save breakpoints" for "catch" command.
4532 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
4533 Remove -nonewline. Match also the added "main" line.
4535 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4537 Fix "save breakpoints" for "disable $bpnum" command.
4538 * gdb.base/save-bp.c (main): Add label.
4539 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
4541 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4543 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
4545 2014-10-11 Yao Qi <yao@codesourcery.com>
4547 * gdb.server/server-kill.exp: Execute command
4548 "set remote trace-status-packet on" before "tstatus".
4550 2014-10-11 Yao Qi <yao@codesourcery.com>
4552 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
4553 (main): Call getppid.
4554 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
4555 and continue to it. Read variable "server_pid".
4557 2014-10-11 Yao Qi <yao@codesourcery.com>
4559 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
4561 2014-10-11 Yao Qi <yao@codesourcery.com>
4563 * gdb.threads/thread-find.exp: Don't execute command
4565 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
4566 * gdb.threads/linux-dp.exp: Don't check the condition
4567 $threads_created equals to zero.
4569 2014-10-10 Pedro Alves <palves@redhat.com>
4571 * gdb.base/bigcore.exp: Remove references to IRIX.
4572 * gdb.base/funcargs.exp: Likewise.
4573 * gdb.base/interrupt.exp: Likewise.
4574 * gdb.base/mips_pro.exp: Likewise.
4575 * gdb.base/nodebug.exp: Likewise.
4576 * gdb.base/setvar.exp: Likewise.
4577 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
4579 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4580 Pedro Alves <palves@redhat.com>
4583 * gdb.base/vdso-warning.c: New file.
4584 * gdb.base/vdso-warning.exp: New file.
4586 2014-10-02 Doug Evans <dje@google.com>
4588 * gdb.base/structs.c (main): Don't run forever.
4590 2014-10-02 Pedro Alves <palves@redhat.com>
4592 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
4593 (top level) <stop threads 1, stop threads 2>: Use it.
4595 2014-10-02 Pedro Alves <palves@redhat.com>
4597 * gdb.threads/break-while-running.exp (test): Add new
4598 'update_thread_list' argument. Skip "info threads" if false.
4599 (top level): Add new 'update_thread_list' axis.
4601 2014-10-02 Pedro Alves <palves@redhat.com>
4603 PR breakpoints/17431
4604 * gdb.base/execl-update-breakpoints.c: New file.
4605 * gdb.base/execl-update-breakpoints.exp: New file.
4607 2014-10-01 Pedro Alves <palves@redhat.com>
4609 * gdb.base/breakpoint-in-ro-region.c: New file.
4610 * gdb.base/breakpoint-in-ro-region.exp: New file.
4612 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
4614 * gdb.mi/mi-exit-code.exp: New file.
4615 * gdb.mi/mi-exit-code.c: New file.
4617 2014-09-30 Yao Qi <yao@codesourcery.com>
4619 * lib/prelink-support.exp (build_executable_own_libs): Error if
4620 the target isn't native.
4622 2014-09-30 Yao Qi <yao@codesourcery.com>
4624 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
4627 2014-09-22 Pedro Alves <palves@redhat.com>
4629 * gdb.threads/break-while-running.exp: New file.
4630 * gdb.threads/break-while-running.c: New file.
4632 2014-09-19 Yao Qi <yao@codesourcery.com>
4634 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
4635 Invoke test. Restart GDB with --readnow and invoke test again.
4637 2014-09-19 Yao Qi <yao@codesourcery.com>
4639 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
4640 proc set_breakpoint_on_gcd_function. Invoke
4641 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
4642 invoke set_breakpoint_on_gcd_function again.
4644 2014-09-18 Doug Evans <dje@google.com>
4646 * gdb.dwarf2/symtab-producer.exp: New file.
4648 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
4650 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
4651 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
4652 * gdb.base/global-var-nested-by-dso.c: Likewise.
4653 * gdb.base/global-var-nested-by-dso.exp: Likewise.
4655 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
4656 Pedro Alves <palves@redhat.com>
4658 * gdb.base/watch-bitfields.exp: Pass string other than test file
4659 name to prepare_for_testing.
4660 (watch): New procedure.
4661 (expect_watchpoint): Use with_test_prefix.
4662 (top level): Factor out tests to ...
4663 (test_watch_location, test_regular_watch): ... these new
4664 procedures, and use with_test_prefix and gdb_continue_to_end.
4666 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
4668 PR breakpoints/12526
4669 * gdb.base/watch-bitfields.exp: New file.
4670 * gdb.base/watch-bitfields.c: New file.
4672 2014-09-16 Pedro Alves <palves@redhat.com>
4674 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
4675 software and hardware addresses, not software address against
4678 2014-09-16 Pedro Alves <palves@redhat.com>
4680 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
4681 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
4683 2014-09-16 Pedro Alves <palves@redhat.com>
4685 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
4687 * gdb.base/a2-run.exp: Remove all code guarded by istarget
4688 "*-*-vxworks*" throughout.
4689 * gdb.base/break.exp: Likewise.
4690 * gdb.base/default.exp: Likewise.
4691 * gdb.base/scope.exp: Likewise.
4692 * gdb.base/sepdebug.exp: Likewise.
4693 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
4695 * gdb.base/run.c: Likewise.
4696 * gdb.base/sepdebug.c: Likewise.
4697 * gdb.hp/gdb.aCC/run.c: Likewise.
4698 * gdb.reverse/until-reverse.c: Likewise.
4699 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
4701 2014-09-16 Yao Qi <yao@codesourcery.com>
4703 * boards/local-remote-host-native.exp: New file.
4705 2014-09-14 Doug Evans <xdje42@gmail.com>
4707 * gdb.threads/queue-signal.c (thread_count): New variable.
4708 (thread_count_mutex, thread_count_condvar): New variables.
4709 (incr_thread_count, wait_all_threads_running): New functions.
4710 (main): Wait for all threads to be in their thread functions.
4712 2014-09-13 Doug Evans <xdje42@gmail.com>
4714 * gdb.threads/queue-signal.c: New file.
4715 * gdb.threads/queue-signal.exp: New file.
4717 2014-09-13 Doug Evans <xdje42@gmail.com>
4719 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
4720 be consistent with what default_gdb_init uses.
4721 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
4722 the plain text of the prompt. Add some logging printfs.
4723 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
4725 2014-09-12 Pedro Alves <palves@redhat.com>
4727 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
4728 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
4729 * gdb.arch/i386-size-overlap.exp: Likewise.
4730 * gdb.arch/i386-size.exp: Likewise.
4731 * gdb.arch/i386-unwind.exp: Likewise.
4732 * gdb.base/a2-run.exp: Likewise.
4733 * gdb.base/break.exp: Likewise.
4734 * gdb.base/charset.exp: Likewise.
4735 * gdb.base/chng-syms.exp: Likewise.
4736 * gdb.base/commands.exp: Likewise.
4737 * gdb.base/dbx.exp: Likewise.
4738 * gdb.base/find.exp: Likewise.
4739 * gdb.base/funcargs.exp: Likewise.
4740 * gdb.base/jit-simple.exp: Likewise.
4741 * gdb.base/reread.exp: Likewise.
4742 * gdb.base/sepdebug.exp: Likewise.
4743 * gdb.base/step-bt.exp: Likewise.
4744 * gdb.cp/mb-inline.exp: Likewise.
4745 * gdb.cp/mb-templates.exp: Likewise.
4746 * gdb.objc/basicclass.exp: Likewise.
4747 * gdb.threads/killed.exp: Likewise.
4749 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4752 * gdb.arch/powerpc-stackless.S: New file.
4753 * gdb.arch/powerpc-stackless.exp: New file.
4755 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4757 * gdb.base/attach.c: Include unistd.h.
4758 (main): Call alarm. Add label postloop.
4759 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
4760 gdb_breakpoint, gdb_continue_to_breakpoint.
4761 (test_command_line_attach_run): Kill ${testpid} in one exit path.
4763 2014-09-11 Pedro Alves <palves@redhat.com>
4766 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
4767 * gdb.base/attach.exp (test_command_line_attach_run): New
4769 (top level): Call it.
4771 2014-09-11 Pedro Alves <palves@redhat.com>
4773 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
4774 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
4775 (do_command_attach_tests): Use spawn_wait_for_attach.
4776 * gdb.base/solib-overlap.exp: Likewise.
4777 * gdb.multi/multi-attach.exp: Likewise.
4778 * gdb.python/py-prompt.exp: Likewise.
4779 * gdb.python/py-sync-interp.exp: Likewise.
4780 * gdb.server/ext-attach.exp: Likewise.
4782 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
4784 * gdb.fortran/array-element.exp: Remove unexpected "continue"
4785 command in testcase. Simplify testcase.
4787 2014-09-10 Joel Brobecker <brobecker@adacore.com>
4789 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
4791 2014-09-10 Joel Brobecker <brobecker@adacore.com>
4793 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
4795 2014-09-10 Joel Brobecker <brobecker@adacore.com>
4797 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
4799 2014-09-10 Joel Brobecker <brobecker@adacore.com>
4801 * gdb.dwarf2/dynarr-ptr.c: New file.
4802 * gdb.dwarf2/dynarr-ptr.exp: New file.
4804 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4806 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
4807 of 30 rather than hardcoding 120 for a slow test case. Take the
4808 `gdb,timeout' target setting into account for this calculation.
4809 Don't extend the timeout for the test cases that don't need it.
4811 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4813 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
4814 a factor of 2 for a slow test case. Take the `gdb,timeout'
4815 target setting into account for this calculation.
4816 * gdb.reverse/until-precsave.exp: Increase the timeout by
4817 a factor of 15 and 3 respectively rather than adding 120
4818 for a pair of slow test cases. Take the `gdb,timeout'
4819 target setting into account for this calculation.
4821 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4823 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
4824 timeout, don't pass one down to gdb_expect.
4825 (gdb_expect): Rework timeout selection.
4827 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4829 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
4830 exception on timeout.
4831 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
4832 (gdbserver_start_extended): Catch any `gdbserver_start' error
4834 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
4835 * lib/mi-support.exp (mi_gdb_target_load): Catch any
4836 `gdbserver_gdb_load' error exceptions.
4838 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4840 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
4841 120 on waiting for the TCP socket to open.
4843 2014-09-09 Doug Evans <xdje42@gmail.com>
4845 * gdb.base/default.exp (show_conv_list): Add _caller_is,
4846 _caller_matches, _any_caller_is, _any_caller_matches.
4848 2014-09-09 Doug Evans <xdje42@gmail.com>
4850 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
4852 2014-09-09 Yao Qi <yao@codesourcery.com>
4854 * gdb.mi/mi-var-display.exp: Set print symbol off.
4856 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
4859 * gdb.base/commands.exp: Add tests to verify user-defined
4860 commands with empty bodies.
4861 * gdb.python/py-cmd.exp: Test that we don't show user-defined
4862 python commands in `show user command`.
4863 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
4864 scheme commands in `show user command`.
4866 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4869 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
4870 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
4871 * gdb.python/py-framefilter-invalidarg.exp: New file.
4872 * gdb.python/py-framefilter-invalidarg.py: New file.
4874 2014-09-06 Doug Evans <xdje42@gmail.com>
4877 * gdb.python/py-caller-is.c: New file.
4878 * gdb.python/py-caller-is.exp: New file.
4880 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
4883 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
4884 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
4886 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
4889 * gdb.fortran/print-formatted.exp: New file.
4890 * gdb.fortran/print-formatted.f90: Likewise.
4892 2014-09-03 Sasha Smundak <asmundak@google.com>
4894 * gdb.python/py-frame.exp: Test Frame.read_register.
4896 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
4899 * gdb.python/py-completion.exp: New file.
4900 * gdb.python/py-completion.py: Likewise.
4902 2014-08-28 Doug Evans <dje@google.com>
4904 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
4905 eax,etc. are live with values set by gdb and thus the compiler can't
4907 * gdb.arch/i386-pseudo.c (main): Ditto.
4909 2014-08-27 Doug Evans <dje@google.com>
4911 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
4913 2014-08-25 Doug Evans <dje@google.com>
4915 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
4918 2014-08-25 Doug Evans <dje@google.com>
4920 * gdb.threads/thread-execl.exp: #include <stdio.h>.
4922 2014-08-24 Yao Qi <yao@codesourcery.com>
4924 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
4926 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
4928 2014-08-22 Doug Evans <dje@google.com>
4931 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
4932 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
4933 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
4935 2014-08-22 Yao Qi <yao@codesourcery.com>
4937 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
4938 * gdb.python/py-finish-breakpoint2.exp: Likewise.
4939 * gdb.python/python.exp: Likewise. Use .py file on the host
4940 instead of the build.
4942 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4944 * gdb.threads/gcore-stale-thread.c: New file.
4945 * gdb.threads/gcore-stale-thread.exp: New file.
4947 2014-08-21 Pedro Alves <palves@redhat.com>
4949 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
4950 * gdb.base/gcore-relro-pie.exp: Likewise.
4951 * gdb.base/gcore-relro.exp: Likewise.
4952 * gdb.base/gcore.exp: Likewise.
4953 * gdb.base/print-symbol-loading.exp: Likewise.
4954 * gdb.threads/gcore-thread.exp: Likewise.
4955 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
4957 2014-08-20 Pedro Alves <palves@redhat.com>
4958 Jan Kratochvil <jan.kratochvil@redhat.com>
4960 * Makefile.in (EXTRA_RULES, CC): New variables, get from
4962 (EXPECT): Handle READ1 being set.
4963 (all): Depend on EXTRA_RULES.
4964 (check-read1, expect-read1, read1.so, read1): New rules.
4965 * README (Testsuite Parameters): Document the READ1 make variable.
4966 (Race detection): New section.
4967 * configure: Regenerate.
4968 * configure.ac: If build==host==target, and running under a
4969 GNU/glibc system, add read1 to the extra Makefile rules.
4970 (EXTRA_RULES): AC_SUBST it.
4971 * lib/read1.c: New file.
4973 2014-08-20 Joel Brobecker <brobecker@adacore.com>
4975 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
4976 the handling of variables declared as a typedef to an array
4977 which a DW_AT_data_location attribute.
4979 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
4980 Pedro Alves <palves@redhat.com>
4984 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
4987 2014-08-19 Pedro Alves <palves@redhat.com>
4989 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
4991 2014-08-19 Yao Qi <yao@codesourcery.com>
4993 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
4996 2014-08-18 David Blaikie <dblaikie@gmail.com>
4998 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5000 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5002 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5003 attribute in array range.
5005 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5007 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5009 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5012 * gdb.cp/pr17132.cc: New file.
5013 * gdb.cp/pr17132.exp: New file.
5015 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5017 * gdb.python/py-xmethods.py (A_getarrayind)
5018 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5019 Use 'print' with function call syntax.
5020 (E_method_matcher.match): Fix tab vs space indentation mixup.
5022 2014-08-15 Yao Qi <yao@codesourcery.com>
5024 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5027 2014-08-15 Yao Qi <yao@codesourcery.com>
5029 * gdb.cp/casts.exp: Set print symbol off.
5030 * gdb.cp/class2.exp: Likewise.
5031 * gdb.cp/overload.exp: Likewise.
5032 * gdb.cp/templates.exp: Likewise.
5034 2014-08-11 Doug Evans <dje@google.com>
5036 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5037 (test_load_shlib): Update.
5039 2014-08-09 Yao Qi <yao@codesourcery.com>
5041 * gdb.base/display.exp: Invoke is_address_zero_readable.
5042 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5043 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5044 * gdb.base/hbreak-unmapped.exp: Return if
5045 is_address_zero_readable returns true.
5046 * gdb.base/signest.exp: Likewise.
5047 * gdb.base/signull.exp: Likewise.
5048 * gdb.base/sigbpt.exp: Likewise.
5049 * gdb.guile/scm-disasm.exp: Do the test if
5050 is_address_zero_readable returns false.
5051 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5052 * gdb.python/py-arch.exp: Likewise.
5053 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5054 * lib/gdb.exp (is_address_zero_readable): New proc.
5056 2014-08-09 Yao Qi <yao@codesourcery.com>
5059 * gdb.mi/mi-var-display.exp: Make test messages unique.
5061 2014-08-04 Tom Tromey <tromey@redhat.com>
5063 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5066 2014-08-04 Tom Tromey <tromey@redhat.com>
5068 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5071 2014-08-01 Joel Brobecker <brobecker@adacore.com>
5073 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5074 inner_vla_struct_object_size.
5075 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5078 2014-07-30 Pedro Alves <palves@redhat.com>
5080 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5083 2014-07-29 Yao Qi <yao@codesourcery.com>
5086 * gdb.base/until-nodebug.exp: New.
5088 2014-07-28 Doug Evans <xdje42@gmail.com>
5091 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5092 previously existing parameter, and previously ambiguously spelled
5095 2014-07-28 Will Newton <will.newton@linaro.org>
5097 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5099 2014-07-26 Ludovic Courtès <ludo@gnu.org>
5100 Doug Evans <xdje42@gmail.com>
5103 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5105 2014-07-25 Pedro Alves <palves@redhat.com>
5107 * gdb.threads/signal-command-handle-nopass.c: New file.
5108 * gdb.threads/signal-command-handle-nopass.exp: New file.
5109 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5110 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5111 * gdb.threads/signal-delivered-right-thread.c: New file.
5112 * gdb.threads/signal-delivered-right-thread.exp: New file.
5114 2014-07-25 Pedro Alves <palves@redhat.com>
5116 * gdb.base/double-prompt-target-event-error.exp
5117 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5119 (cancel_pagination_in_target_event): Rework double prompt
5121 * gdb.base/paginate-after-ctrl-c-running.exp
5122 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5124 * gdb.base/paginate-bg-execution.exp
5125 (test_bg_execution_pagination_return)
5126 (test_bg_execution_pagination_cancel): Remove '-notransfer
5128 * gdb.base/paginate-execution-startup.exp
5129 (test_fg_execution_pagination_return)
5130 (test_fg_execution_pagination_cancel): Remove '-notransfer
5132 * gdb.base/paginate-inferior-exit.exp
5133 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5135 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5136 * lib/gdb.exp (pagination_prompt): Run text through
5138 (gdb_test_multiple): Match $pagination_prompt instead of
5140 (string_to_regexp): Move to lib/gdb-utils.exp.
5142 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5144 * gdb.arch/amd64-entry-value-paramref.S: New file.
5145 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5146 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5147 * gdb.arch/amd64-optimout-repeat.S: New file.
5148 * gdb.arch/amd64-optimout-repeat.c: New file.
5149 * gdb.arch/amd64-optimout-repeat.exp: New file.
5151 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5154 * gdb.base/statistics.exp: New file.
5156 2014-07-17 Doug Evans <dje@google.com>
5159 * gdb.base/maint.exp: Update testing of per-command stats.
5161 2014-07-16 Pedro Alves <palves@redhat.com>
5163 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5164 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5165 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5166 (tfile_write_buf): New functions.
5167 (add_memory_block): Rewrite using the above.
5168 (adjust_function_address): New function.
5169 (FUNCTION_ADDRESS): New macro.
5170 (write_basic_trace_file): Remove short_x local, and use
5171 tfile_write_16. Change type of func_addr local to unsigned long
5172 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5173 here. Cast argument of add_memory_block to char pointer.
5174 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5175 (main): Remove parameters.
5176 * gdb.trace/tfile.exp: Remove nowarnings.
5178 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5180 * gdb.base/debug-expr.exp: Test string evaluation with
5181 "debug expression" on.
5183 2014-07-15 Pedro Alves <palves@redhat.com>
5185 * gdb.base/reread.exp: Use clean_restart.
5187 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5189 * gdb.arch/avr-flash-qualifer.c: New.
5190 * gdb.arch/avr-flash-qualifer.exp: New.
5192 2014-07-14 Pedro Alves <palves@redhat.com>
5194 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5195 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5197 2014-07-14 Pedro Alves <palves@redhat.com>
5199 * gdb.base/double-prompt-target-event-error.c: New file.
5200 * gdb.base/double-prompt-target-event-error.exp: New file.
5202 2014-07-14 Pedro Alves <palves@redhat.com>
5205 * gdb.base/paginate-inferior-exit.c: New file.
5206 * gdb.base/paginate-inferior-exit.exp: New file.
5208 2014-07-14 Pedro Alves <palves@redhat.com>
5211 * gdb.base/paginate-bg-execution.c: New file.
5212 * gdb.base/paginate-bg-execution.exp: New file.
5214 2014-07-14 Pedro Alves <palves@redhat.com>
5217 * gdb.base/paginate-execution-startup.c: New file.
5218 * gdb.base/paginate-execution-startup.exp: New file.
5219 * lib/gdb.exp (pagination_prompt): New global.
5220 (default_gdb_spawn): New procedure, factored out from
5222 (default_gdb_start): Adjust to call default_gdb_spawn.
5223 (gdb_spawn): New procedure.
5225 2014-07-14 Pedro Alves <palves@redhat.com>
5227 * lib/gdb.exp (gdb_assert): New procedure.
5228 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
5230 2014-07-14 Pedro Alves <palves@redhat.com>
5232 * gdb.base/execution-termios.c: New file.
5233 * gdb.base/execution-termios.exp: New file.
5235 2014-07-14 Tom Tromey <tromey@redhat.com>
5237 * gdb.cp/vla-cxx.cc: New file.
5238 * gdb.cp/vla-cxx.exp: New file.
5240 2014-07-14 Tom Tromey <tromey@redhat.com>
5242 * gdb.reverse/rerun-prec.c: New file.
5243 * gdb.reverse/rerun-prec.exp: New file.
5245 2014-07-12 Maciej W. Rozycki <macro@mips.com>
5246 Maciej W. Rozycki <macro@codesourcery.com>
5248 * lib/gdb-utils.exp: New file.
5249 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
5250 inline `gdb_init_command' processing.
5251 (gdb_start_cmd): Likewise.
5252 * lib/mi-support.exp (mi_run_cmd): Likewise.
5253 * README: Document `gdb_init_command' and `gdb_init_commands'.
5255 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5257 Fix false FAIL running under a very long directory name.
5258 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
5259 and "set print elements 10000". Twice.
5261 2014-07-11 Yao Qi <yao@codesourcery.com>
5263 * gdb.base/exprs.exp: "set print symbol off".
5265 2014-07-11 Pedro Alves <palves@redhat.com>
5267 * gdb.threads/kill.c: New file.
5268 * gdb.threads/kill.exp: New file.
5270 2014-07-10 Yao Qi <yao@codesourcery.com>
5272 * gdb.trace/tfile.c (write_basic_trace_file)
5273 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
5274 address written to trace file.
5276 2014-07-09 Pedro Alves <palves@redhat.com>
5278 * gdb.base/attach-wait-input.exp: New file.
5279 * gdb.base/attach-wait-input.c: New file.
5281 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5283 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
5284 setting up test structures.
5285 (main): Call new test function.
5286 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
5287 test function, continue into test function and walk test
5290 2014-07-02 Yao Qi <yao@codesourcery.com>
5292 * gdb.trace/entry-values.c: Define labels 'foo_start' and
5293 'bar_start' at the beginning of functions 'foo' and 'bar'
5295 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
5296 instead of 'foo' and 'bar'.
5298 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5300 * gdb.btrace/segv.exp: New.
5301 * gdb.btrace/segv.c: New.
5303 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
5305 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
5308 2014-06-30 Mark Wielaard <mjw@redhat.com>
5310 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
5311 vulture, vilify, villar): New volatile array constants.
5312 (vindictive, vegetation): New const volatile array constants.
5313 * gdb.base/volatile.exp: Test volatile and const volatile array
5316 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5318 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
5319 target lacks support for awatch, rwatch, or hbreak.
5321 2014-06-27 Yao Qi <yao@codesourcery.com>
5323 * gdb.multi/dummy-frame-restore.exp: New.
5324 * gdb.multi/dummy-frame-restore.c: New.
5326 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5328 * gdb.btrace/gcore.exp: New.
5330 2014-06-23 Pedro Alves <palves@redhat.com>
5332 * gdb.base/watchpoint-reuse-slot.c: New file.
5333 * gdb.base/watchpoint-reuse-slot.exp: New file.
5335 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5337 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
5338 progspace's filename in 'info', 'enable' and 'disable' command
5341 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5343 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
5344 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5345 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
5347 2014-06-20 Gary Benson <gbenson@redhat.com>
5349 * gdb.arch/i386-avx.exp: Fix include file location.
5350 * gdb.arch/i386-sse.exp: Likewise.
5352 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5354 * gdb.dlang/expression.exp: New file.
5356 2014-06-19 Pedro Alves <palves@redhat.com>
5358 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
5360 (top level): ... here. Iterate running tests under different
5361 scheduler-locking settings.
5363 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
5365 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
5366 to DW_FORM_addr and use non-zero addresses.
5368 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
5371 * gdb.python/py-xmethods.cc: Add global function call counters and
5372 increment them in their respective functions. Remove "cout"
5374 * gdb.python/py-xmethods.exp: Make tests check the global function
5375 call counters instead of depending on inferior IO.
5377 2014-06-18 Don Breazeal <donb@codesourcery.com>
5379 * gdb.base/foll-fork.exp (default_fork_parent_follow):
5381 (explicit_fork_parent_follow): Deleted procedure.
5382 (explicit_fork_child_follow): Deleted procedure.
5383 (test_follow_fork): New procedure.
5384 (do_fork_tests): Replace calls to deleted procedures with
5385 calls to test_follow_fork and reset GDB for subsequent
5388 2014-06-17 Yao Qi <yao@codesourcery.com>
5390 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
5393 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
5395 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
5396 Initialize ptr and S explicitly.
5397 (skip_type_update_when_not_use_rtti_test): Likewise.
5399 2014-06-16 Keith Seitz <keiths@redhat.com>
5402 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
5403 the inferior is started.
5405 2014-06-16 Pedro Alves <palves@redhat.com>
5407 * gdb.base/break-main-file-remove-fail.c: New file.
5408 * gdb.base/break-main-file-remove-fail.exp: New file.
5409 * gdb.base/break-unload-file.exp: Use build_executable instead of
5410 prepare_for_testing.
5411 (test_break): New parameter "initial_load". Handle it.
5412 (top level): Add initial_load cmdline/file axis.
5414 2014-06-12 Tom Tromey <tromey@redhat.com>
5416 * gdb.base/completion.exp: Don't use directory name in test.
5418 2014-06-09 Gary Benson <gbenson@redhat.com>
5420 * gdb.base/sigall.c [Functions to send signals]: Reorder to
5421 separate the always-available ANSI-standard signals from the
5422 signals that require checking.
5424 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
5428 2014-06-07 Keith Seitz <keiths@redhat.com>
5432 * gdb.cp/var-tag.cc: New file.
5433 * gdb.cp/var-tag.exp: New file.
5434 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5435 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5436 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5437 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5439 2014-06-06 Doug Evans <xdje42@gmail.com>
5441 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
5443 2014-06-06 Pedro Alves <palves@redhat.com>
5445 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
5446 in target debug output instead of looking at RSP packets,
5447 disabling the test on any target that uses hardware stepping.
5450 2014-06-06 Pedro Alves <palves@redhat.com>
5452 * gdb.base/break-unload-file.exp: Fix typo.
5454 2014-06-06 Yao Qi <yao@codesourcery.com>
5456 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
5457 from "jit_function" to "^jit_function".
5459 2014-06-06 Yao Qi <yao@codesourcery.com>
5461 * gdb.base/async.c (foo): Add one statement.
5462 * gdb.base/async.exp: Get the next instruction address and
5463 match the output of "nexti" by instruction address. Match
5464 the hex address in the output of "finish".
5466 2014-06-06 Gary Benson <gbenson@redhat.com>
5468 * gdb.base/call-signals.c: Remove preprocessor conditionals
5469 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
5470 SIGSEGV and SIGTERM.
5471 * gdb.base/sigall.c: Likewise.
5472 * gdb.base/unwindonsignal.c: Likewise.
5473 * gdb.reverse/sigall-reverse.c: Likewise.
5475 2014-06-06 Yao Qi <yao@codesourcery.com>
5477 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
5478 readable, skip the test.
5480 2014-06-06 Yao Qi <yao@codesourcery.com>
5482 * gdb.threads/staticthreads.c (thread_function): Move the line
5483 setting breakpoint on forward.
5484 * gdb.threads/staticthreads.exp: Update comments.
5486 2014-06-05 Ludovic Courtès <ludo@gnu.org>
5488 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
5489 "history-append! type error".
5491 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
5493 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
5494 erroneous dprintf expected input.
5496 2014-06-04 Doug Evans <xdje42@gmail.com>
5498 * gdb.guile/scm-generics.exp: Delete.
5500 2014-06-04 Doug Evans <xdje42@gmail.com>
5502 * gdb.guile/scm-breakpoint.exp: Update.
5503 Add tests for breakpoint registration.
5505 2014-06-04 Tom Tromey <tromey@redhat.com>
5507 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
5509 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
5510 inner_vla_struct, vla_union types. Initialize objects of those
5511 types and compute their sizes.
5513 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
5514 Hui Zhu <hui@codesourcery.com>
5516 * gdb.base/fileio.exp: Add test for shell not available as well as
5518 * gdb.base/fileio.c (test_system): Check for shell twice.
5520 2014-06-04 Yao Qi <yao@codesourcery.com>
5522 * gdb.base/auto-connect-native-target.exp: Remove redundant
5523 space from the regexp pattern.
5525 2014-06-04 Yao Qi <yao@codesourcery.com>
5527 * gdb.base/default.exp: Replace "child" with "native" in
5530 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
5532 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
5533 * gdb.python/py-xmethods.exp: New tests to test xmethods.
5534 * gdb.python/py-xmethods.py: Python script supporting the
5535 new testcase and tests.
5537 2014-06-03 Joel Brobecker <brobecker@adacore.com>
5538 Pedro Alves <palves@redhat.com>
5540 PR breakpoints/17000
5541 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
5542 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
5544 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
5546 * gdb.base/subst.exp: Add tests to verify partial path matching
5549 2014-06-03 Pedro Alves <palves@redhat.com>
5551 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
5552 target that doesn't use software single-stepping.
5554 2014-06-03 Pedro Alves <palves@redhat.com>
5556 PR breakpoints/17000
5557 * gdb.base/sss-bp-on-user-bp-2.c: New file.
5558 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
5560 2014-06-02 Doug Evans <xdje42@gmail.com>
5562 * gdb.guile/scm-parameter.exp: New file.
5564 2014-06-02 Doug Evans <xdje42@gmail.com>
5566 * gdb.guile/scm-cmd.c: New file.
5567 * gdb.guile/scm-cmd.exp: New file.
5569 2014-06-02 Doug Evans <xdje42@gmail.com>
5571 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
5572 pretty-printer lookup.
5573 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
5574 (make-pp_s-printer): Call it.
5575 (make-pretty-printer-from-dict): New function.
5576 (lookup-pretty-printer-maker-from-dict): New function.
5577 (*pretty-printer*): Simplify.
5578 (make-objfile-pp_s-printer): New function.
5579 (install-objfile-pretty-printers!): New function.
5580 (make-progspace-pp_s-printer): New function.
5581 (install-progspace-pretty-printers!): New function.
5582 * gdb.guile/scm-progspace.c: New file.
5583 * gdb.guile/scm-progspace.exp: New file.
5585 2014-06-02 Pedro Alves <palves@redhat.com>
5587 * gdb.base/dprintf-bp-same-addr.c: New file.
5588 * gdb.base/dprintf-bp-same-addr.exp: New file.
5590 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5592 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
5593 * gdb.arch/powerpc-power.s: Likewise.
5595 2014-06-02 Joel Brobecker <brobecker@adacore.com>
5597 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
5599 2014-06-01 Yao Qi <yao@codesourcery.com>
5601 * gdb.base/watchpoint.exp (test_watch_location): Check null
5602 pointer can be dereferenced. If not, do the test, otherwise
5605 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
5607 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
5609 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
5611 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
5613 * gdb.arch/amd64-invalid-stack-middle.S: New file.
5614 * gdb.arch/amd64-invalid-stack-middle.c: New file.
5615 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
5616 * gdb.arch/amd64-invalid-stack-top.c: New file.
5617 * gdb.arch/amd64-invalid-stack-top.exp: New file.
5619 2014-05-30 Pedro Alves <palves@redhat.com>
5621 PR breakpoints/17000
5622 * gdb.base/sss-bp-on-user-bp.c: New file.
5623 * gdb.base/sss-bp-on-user-bp.exp: New file.
5625 2014-05-30 David Blaikie <dblaikie@gmail.com>
5627 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
5628 gnu_inline semantics via attribute.
5629 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
5630 source explicitly specifies the required semantics.
5632 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
5634 * gdb.reverse/sigall-reverse.exp: Fix a typo.
5636 2014-05-29 Pedro Alves <palves@redhat.com>
5637 Tom Tromey <tromey@redhat.com>
5639 * gdb.base/async-shell.exp: Don't enable target-async.
5640 * gdb.base/async.exp
5641 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
5643 (top level): Don't test with "target-async".
5644 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
5645 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
5646 * gdb.base/inferior-died.exp: Don't enable target-async.
5647 * gdb.base/interrupt-noterm.exp: Likewise.
5648 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
5649 * gdb.mi/mi-nonstop-exit.exp: Likewise.
5650 * gdb.mi/mi-nonstop.exp: Likewise.
5651 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
5652 * gdb.mi/mi-nsintrall.exp: Likewise.
5653 * gdb.mi/mi-nsmoribund.exp: Likewise.
5654 * gdb.mi/mi-nsthrexec.exp: Likewise.
5655 * gdb.mi/mi-watch-nonstop.exp: Likewise.
5656 * gdb.multi/watchpoint-multi.exp: Adjust comment.
5657 * gdb.python/py-evsignal.exp: Don't enable target-async.
5658 * gdb.python/py-evthreads.exp: Likewise.
5659 * gdb.python/py-prompt.exp: Likewise.
5660 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
5661 * gdb.server/solib-list.exp: Don't enable target-async.
5662 * gdb.threads/thread-specific-bp.exp: Likewise.
5663 * lib/mi-support.exp: Adjust to use mi-async.
5665 2014-05-29 Pedro Alves <palves@redhat.com>
5668 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
5669 reason, even in sync mode.
5671 2014-05-29 Pedro Alves <palves@redhat.com>
5672 Hui Zhu <hui@codesourcery.com>
5675 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
5676 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
5677 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
5678 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
5680 2014-05-28 Joel Brobecker <brobecker@adacore.com>
5682 * config/monitor.exp (gdb_target_monitor): Replace use of
5683 "set remotebaud" by "set serial baud".
5685 2014-05-26 Andy Wingo <wingo@igalia.com>
5687 * gdb.guile/scm-breakpoint.exp:
5688 * gdb.guile/scm-gsmob.exp: Update to use plain old object
5689 properties instead of gdb-object-properties.
5691 2014-05-26 Yao Qi <yao@codesourcery.com>
5693 * gdb.server/no-thread-db.exp: Specify source file name
5694 explicitly when setting a breakpoint.
5696 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5698 * gdb.btrace/vdso.c: New.
5699 * gdb.btrace/vdso.exp: New.
5701 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5703 * gdb.base/gcore.exp (capture_command_output): Move ...
5704 * lib/gdb.exp (capture_command_output): ... here.
5706 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5708 * gdb.btrace/data.exp: Test memory access during btrace replay.
5710 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
5712 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
5714 2014-05-21 Pedro Alves <palves@redhat.com>
5717 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
5718 (top level): Test that output related to execution commands is
5719 sent to the console with CLI commands, but not with MI commands.
5720 Test that breakpoint events are always mirrored to the console.
5721 Also expect the new source line to be output after a "next" in
5722 async mode too. Make it a pass/fail test.
5723 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
5725 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
5727 2014-05-21 Pedro Alves <palves@redhat.com>
5729 * gdb.base/list.exp (build_pattern, test_list): New procedures.
5730 Use them to test variations of "list" after reaching a breakpoint.
5731 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
5732 Test "list" with listsize 10 after reaching a breakpoint.
5733 * gdb.python/python.exp (decode_line current location line
5734 number): Adjust expected line number.
5736 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
5738 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
5739 behavior for $args, pass it directly to "run".
5741 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
5743 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
5746 2014-05-21 Pedro Alves <palves@redhat.com>
5748 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
5749 auto-connect-native-target off".
5750 * gdb.base/auto-connect-native-target.c: New file.
5751 * gdb.base/auto-connect-native-target.exp: New file.
5753 2014-05-21 Pedro Alves <palves@redhat.com>
5755 * gdb.base/default.exp: Test "target native" instead of "target
5758 2014-05-21 Mark Wielaard <mjw@redhat.com>
5760 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
5762 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5764 Fix TLS access for -static -pthread.
5765 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
5766 <HAVE_TLS> (thread_function, main): Initialize it.
5767 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
5769 <$have_tls != "">: Check TLSVAR.
5771 2014-05-21 Pedro Alves <palves@redhat.com>
5773 * gdb.base/dcache-line-read-error.c: New.
5774 * gdb.base/dcache-line-read-error.exp: New.
5776 2014-05-20 Pedro Alves <palves@redhat.com>
5778 * gdb.base/compare-sections.c: New file.
5779 * gdb.base/compare-sections.exp: New file.
5781 2014-05-20 Pedro Alves <palves@redhat.com>
5783 * gdb.base/break-idempotent.c: New file.
5784 * gdb.base/break-idempotent.exp: New file.
5786 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
5788 * gdb.btrace/nohist.exp: New.
5790 2014-05-20 Yao Qi <yao@codesourcery.com>
5792 * lib/gdb.exp (gdb_init): Set timeout if test file is under
5793 gdb.reverse directory and gdb_reverse_timeout exists in board
5795 * README: Document gdb_reverse_timeout.
5797 2014-05-20 Yao Qi <yao@codesourcery.com>
5799 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
5800 'test_file_name'. Treat args as a string instead of a list.
5801 (gdb_init): Rename argument 'args' by 'test_file_name'.
5803 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5805 * gdb.arch/powerpc-power.exp: New file.
5806 * gdb.arch/powerpc-power.s: New file.
5808 2014-05-16 Doug Evans <dje@google.com>
5810 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
5811 * gdb.base/completion.exp: Check that all expected files exist
5812 before doing file completion.
5814 2014-05-16 Doug Evans <dje@google.com>
5816 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
5818 (do_syscall_tests_without_xml): Update.
5820 2014-05-16 Pedro Alves <palves@redhat.com>
5822 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
5823 instead of "unknown output after running".
5825 2014-05-16 Yao Qi <yao@codesourcery.com>
5827 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
5828 file1.txt from host at the end.
5829 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5831 2014-05-15 Doug Evans <dje@google.com>
5833 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
5834 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
5835 loading file. Add test for TU lookup.
5837 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
5839 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
5840 calling "-exec-arguments" or "set args" before running the
5843 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
5845 * lib/mi-support.exp (mi_expect_stop): Expect message for
5846 inferiors that exit with non-zero exit code.
5848 2014-05-14 Yao Qi <yao@codesourcery.com>
5850 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
5851 match absolute path on remote host.
5852 (test_file_list_exec_source_files): Remove "/" from the
5855 2014-05-14 Yao Qi <yao@codesourcery.com>
5857 * boards/local-remote-host-notty.exp (${board}_file): New
5860 2014-05-07 Kyle McMartin <kyle@redhat.com>
5862 Pushed by Joel Brobecker <brobecker@adacore.com>.
5863 * gdb.arch/aarch64-atomic-inst.c: New file.
5864 * gdb.arch/aarch64-atomic-inst.exp: New file.
5866 2014-05-07 Yao Qi <yao@codesourcery.com>
5868 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
5869 in current context" too.
5871 2014-05-05 Keith Seitz <keiths@redhat.com>
5873 * gdb.linespec/ls-dollar.exp: Add test for linespec
5874 file:convenience_variable.
5876 2014-05-05 Yao Qi <yao@codesourcery.com>
5878 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
5879 traceframes into tfile and ctf trace files. Read data from
5880 trace file and test collected data.
5881 (gdb_collect_locals_test): Likewise.
5882 (gdb_unavailable_registers_test): Likewise.
5883 (gdb_unavailable_floats): Likewise.
5884 (gdb_collect_globals_test): Likewise.
5885 (top-level): Append "ctf" to trace_file_targets if GDB
5888 2014-05-05 Yao Qi <yao@codesourcery.com>
5890 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
5892 (gdb_collect_args_test_1): ... it. New proc.
5893 (gdb_collect_locals_test): Move some code to ...
5894 (gdb_collect_locals_test_1): ... it. New proc.
5895 (gdb_unavailable_registers_test): Move some code to ...
5896 (gdb_unavailable_registers_test_1): ... it. New proc.
5897 (gdb_unavailable_floats): Move some code to ...
5898 (gdb_unavailable_floats_1): ... it. New proc.
5900 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5902 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
5903 probes to test for bitness recognition.
5904 * gdb.arch/amd64-stap-optional-prefix.exp
5905 (test_probe_value_without_reg): New procedure.
5906 Add code to test for different kinds of bitness.
5908 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5910 PR breakpoints/16889
5911 * gdb.arch/amd64-stap-optional-prefix.S: New file.
5912 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5914 2014-05-01 Pedro Alves <palves@redhat.com>
5916 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
5917 gdb_file_cmd if no file is specified.
5918 * boards/native-extended-gdbserver.exp (gdb_load): Use the
5919 last_loaded_file to set the remote exec-file.
5921 2014-05-01 Pedro Alves <palves@redhat.com>
5923 * boards/local-remote-host.exp: New file.
5925 2014-05-01 Pedro Alves <palves@redhat.com>
5927 * boards/local-remote-host.exp: Rename to ...
5928 * boards/local-remote-host-notty.exp: ... this.
5930 2014-04-28 Joel Brobecker <brobecker@adacore.com>
5932 * gdb.ada/dyn_arrayidx: New testcase.
5934 2014-04-26 Yao Qi <yao@codesourcery.com>
5936 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
5937 and compute the length of function main. Save it in
5939 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
5940 (top-level): Use gdb_compile to compile objects into
5941 executable and restart GDB. Remove invocation to
5942 prepare_for_testing.
5944 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
5945 Pedro Alves <palves@redhat.com>
5948 * gdb.multi/multi-attach.c: New file.
5949 * gdb.multi/multi-attach.exp: New file.
5951 2014-04-25 Pedro Alves <palves@redhat.com>
5953 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
5955 (top level): Test that "set remote conditional-breakpoints-packet
5956 off" works as intended.
5957 * gdb.base/dprintf.exp: Test that "set remote
5958 breakpoint-commands-packet off" works as intended.
5959 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
5961 (top level): Call it.
5962 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
5963 remote fast-tracepoints-packet off" works as intended.
5964 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
5965 * lib/gdb.exp (gdb_is_target_remote): ... here.
5967 2014-04-24 David Blaikie <dblaikie@gmail.com>
5969 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
5970 ensure clang would not discard them.
5971 * gdb.base/gdbvars.c: Ditto.
5972 * gdb.base/memattr.c: Ditto.
5973 * gdb.base/whatis.c: Ditto.
5974 * gdb.python/py-prettyprint.c: Ditto.
5975 * gdb.trace/actions.c: Ditto.
5976 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
5977 ensure clang would not discard it.
5979 2014-04-24 David Blaikie <dblaikie@gmail.com>
5981 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
5982 clang to emit the full definition of type required by the test
5983 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
5985 2014-04-24 David Blaikie <dblaikie@gmail.com>
5987 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
5988 coax Clang into emitting the definition of the type.
5989 * gdb.cp/pr10728-x.h (y): Ditto.
5990 * gdb.cp/pr10728-y.cc (y): Ditto.
5992 2014-04-24 David Blaikie <dblaikie@gmail.com>
5994 * gdb.base/label.exp: XFAIL label related tests under Clang.
5995 * gdb.cp/cplabel.exp: Ditto.
5996 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
5997 under Clang those using labels.
5999 2014-04-25 Yao Qi <yao@codesourcery.com>
6001 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6003 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6004 partial_label and double_label.
6006 2014-04-24 David Blaikie <dblaikie@gmail.com>
6008 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6010 2014-04-24 David Blaikie <dblaikie@gmail.com>
6012 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6013 of the function to work across GCC and Clang.
6014 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6015 pointer types (const void ** const V void **).
6017 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
6018 Walfred Tedeschi <walfred.tedeschi@intel.com>
6020 * Makefile.in (EXECUTABLES): Added i386-avx512.
6021 * gdb.arch/i386-avx512.c: New file.
6022 * gdb.arch/i386-avx512.exp: Likewise.
6024 2014-04-23 Keith Seitz <keiths@redhat.com>
6026 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6027 (mi_make_breakpoint_table): New procedure.
6028 (mi_create_breakpoint): Use mi_make_breakpoint
6029 and return the result.
6030 (mi_make_breakpoint): New procedure.
6031 (mi_build_kv_pairs): New procedure.
6033 * gdb.mi/mi-break.exp: Remove unused globals,
6034 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6035 All callers updated.
6036 * gdb.mi/mi-dprintf.exp: Use variable to track command
6038 Update all callers of mi_create_breakpoint and use
6039 mi_make_breakpoint_table.
6040 Remove any unused global variables.
6041 * gdb.mi/mi-nonstop.exp: Likewise.
6042 * gdb.mi/mi-nsintrall.exp: Likewise.
6043 * gdb.mi/mi-nsmoribund.exp: Likewise.
6044 * gdb.mi/mi-nsthrexec.exp: Likewise.
6045 * gdb.mi/mi-reverse.exp: Likewise.
6046 * gdb.mi/mi-simplerun.exp: Likewise.
6047 * gdb.mi/mi-stepn.exp: Likewise.
6048 * gdb.mi/mi-syn-frame.exp: Likewise.
6049 * gdb.mi/mi-until.exp: Likewise.
6050 * gdb.mi/mi-var-cp.exp: Likewise.
6051 * gdb.mi/mi-var-display.exp: Likewise.
6052 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6053 * gdb.mi/mi2-var-child.exp: Likewise.
6054 * gdb.mi/mi-vla-c99.exp: Likewise.
6055 * lib/mi-support.exp: Likewise.
6057 From Ian Lance Taylor <iant@cygnus.com>:
6058 * lib/gdb.exp (parse_args): New procedure.
6060 2014-04-23 Pedro Alves <palves@redhat.com>
6062 * gdb.base/break-unload-file.c: New file.
6063 * gdb.base/break-unload-file.exp: New file.
6064 * gdb.base/sym-file-lib.c (baz): New function.
6065 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6067 (load): Store the segment's mapped size.
6068 (unload): New function.
6069 (unload_shlib): New function.
6070 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6071 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6072 set a breakpoint at baz, and call it.
6073 * gdb.base/sym-file.exp: New tests for stale breakpoint
6076 2014-04-23 Pedro Alves <palves@redhat.com>
6078 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6079 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6080 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6081 * gdb.base/hbreak-unmapped.c: New file.
6082 * gdb.base/hbreak-unmapped.exp: New file.
6083 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6084 * lib/gdb.exp (gdb_is_target_remote): ... here.
6086 2014-04-22 Pedro Alves <palves@redhat.com>
6088 * gdb.base/consecutive-step-over.c: New file.
6089 * gdb.base/consecutive-step-over.exp: New file.
6091 2014-04-22 Pedro Alves <palves@redhat.com>
6093 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6094 instead of send_gdb/gdb_expect.
6096 2014-04-22 Yao Qi <yao@codesourcery.com>
6098 * lib/trace-support.exp (generate_tracefile): New procedure.
6099 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6101 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6102 if generate_tracefile returns 1.
6104 2014-04-18 Tom Tromey <palves@redhat.com>
6105 Pedro alves <tromey@redhat.com>
6108 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6109 with a backtrace limit.
6110 * gdb.python/py-frame-inline.exp: Test running to an inline
6111 function with a backtrace limit, and printing the newest frame.
6112 * gdb.python/py-frame-inline.c (main): Call f.
6114 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6116 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6118 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6120 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6121 Drop prefix from unsupported source file path.
6123 2014-04-17 Yao Qi <yao@codesourcery.com>
6125 * lib/gdb.exp (with_target_charset): New proc.
6126 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6127 with_target_charset.
6128 (test_print_strings): Likewise.
6129 (test_repeat_bytes): Likewise.
6130 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6133 2014-04-16 Keith Seitz <keiths@redhat.com>
6136 * gdb.dwarf2/corrupt.c: New file.
6137 * gdb.dwarf2/corrupt.exp: New file.
6139 2014-04-16 Keith Seitz <keiths@redhat.com>
6142 * gdb.cp/namelessclass.cc: New file.
6143 * gdb.cp/namelessclass.exp: New file.
6144 * gdb.cp/namelessclass.S: New file.
6146 2014-04-16 Doug Evans <dje@google.com>
6148 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6150 (gdbserver_default_get_comm_port): New function.
6151 (gdbserver_start): Check if board file provided
6152 "gdbserver,get_comm_port" and use it if so.
6153 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6154 (gdb,socketport): Set to "stdio".
6155 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6156 (stdio_gdbserver_template): Delete.
6157 (${board}_get_remote_address): Update.
6158 (${board}_build_remote_cmd): Delete.
6159 (${board}_get_comm_port): New function.
6160 (${board}_spawn): Update.
6161 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6163 (${board}_get_remote_address): Update.
6164 (${board}_get_comm_port): New function.
6166 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
6168 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6169 appearing in any order.
6171 2014-04-15 Doug Evans <dje@google.com>
6173 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6174 uninitialized value of "description".
6176 2014-04-15 Keith Seitz <keiths@redhat.com>
6178 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6179 Remove unused globals.
6180 (test_running_the_program): Likewise.
6181 (test_controlled_execution): Likewise.
6182 (test_controlling_breakpoints): Likewise.
6183 (test_program_termination): Likewise.
6185 2014-04-15 Keith Seitz <keiths@redhat.com>
6187 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6189 (test_rbreak_creation_and_listing): Likewise.
6190 (test_ignore_count): Likewise.
6191 (test_error): Likewise.
6193 2014-04-15 Pedro Alves <palves@redhat.com>
6195 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6196 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6198 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6199 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6200 to sym-file-loader.c.
6201 (struct library): Forward declare.
6202 (load_shlib, lookup_function): Change prototypes.
6203 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6204 (translate_offset): Remove declarations.
6205 (get_text_addr): New declaration.
6206 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
6207 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
6209 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6210 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6211 here from sym-file-loader.h.
6212 (struct library): New structure.
6213 (load_shlib, lookup_function): Change prototypes and adjust to
6214 work with a struct library.
6215 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6216 (translate_offset): Make static.
6217 (get_text_addr): New function.
6218 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
6220 2014-04-15 Pedro Alves <palves@redhat.com>
6222 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
6224 2014-04-15 Pedro Alves <palves@redhat.com>
6226 * gdb.base/sym-file-loader.c: Include <limits.h>.
6227 (SELF_LINK): New define.
6228 (get_origin): New function.
6229 (load_shlib): Use it.
6230 * gdb.base/sym-file.exp: Don't early return if the target is
6231 remote. Use runto_main, and issue fail is that fails. Use
6233 (shlib_name): Delete.
6234 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
6236 2014-04-15 Pedro Alves <palves@redhat.com>
6238 * gdb.base/sym-file.exp: Remove regex characters from test
6239 message. Don't refer to breakpoint numbers in test messages.
6241 2014-04-14 Keith Seitz <keiths@redhat.com>
6244 * gdb.cp/var-tag.cc: New file.
6245 * gdb.cp/var-tag.exp: New file.
6246 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6247 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6248 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6249 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6251 2014-04-14 Tom Tromey <tromey@redhat.com>
6253 * gdb.cp/classes.exp (test_enums): Handle underlying type.
6254 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
6256 * gdb.cp/enum-class.exp: New file.
6257 * gdb.cp/enum-class.cc: New file.
6259 2014-04-14 Tom Tromey <tromey@redhat.com>
6261 * gdb.dwarf2/enum-type.exp: New file.
6263 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6265 * gdb.mi/mi-vla-c99.exp: New file.
6266 * gdb.mi/vla.c: New file.
6268 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6270 * gdb.base/vla-datatypes.c: New file.
6271 * gdb.base/vla-datatypes.exp: New file.
6273 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6275 * gdb.base/vla-ptr.c: New file.
6276 * gdb.base/vla-ptr.exp: New file.
6278 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6280 * gdb.dwarf2/count.exp: New file.
6282 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6284 * gdb.base/vla-sideeffect.c: New file.
6285 * gdb.base/vla-sideeffect.exp: New file.
6287 2014-04-14 David Blaikie <dblaikie@gmail.com>
6289 * gdb.mi/non-stop.c: Add return value for non-void function return
6291 * gdb.threads/staticthreads.c: Ditto.
6293 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6294 Doug Evans <xdje42@gmail.com>
6296 * gdb.guile/scm-value.c: Improve test case.
6297 * gdb.guile/scm-value.exp: Add new test.
6299 2014-04-11 David Blaikie <dblaikie@gmail.com>
6301 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
6302 override Clang's default.
6304 2014-04-11 Joel Brobecker <brobecker@adacore.com>
6306 Revert the following changes (regressions):
6308 * gdb.base/vla-sideeffect.c: New file.
6309 * gdb.base/vla-sideeffect.exp: New file.
6311 * gdb.dwarf2/count.exp: New file.
6313 * gdb.base/vla-multi.c: New file.
6314 * gdb.base/vla-multi.exp: New file.
6316 * gdb.base/vla-ptr.c: New file.
6317 * gdb.base/vla-ptr.exp: New file.
6319 * gdb.base/vla-datatypes.c: New file.
6320 * gdb.base/vla-datatypes.exp: New file.
6322 * gdb.mi/mi-vla-c99.exp: New file.
6323 * gdb.mi/vla.c: New file.
6325 2014-04-11 Keith Seitz <keiths@redhat.com>
6328 * gdb.cp/cpsizeof.exp: New file.
6329 * gdb.cp/cpsizeof.cc: New file.
6331 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6333 * gdb.mi/mi-vla-c99.exp: New file.
6334 * gdb.mi/vla.c: New file.
6336 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6338 * gdb.base/vla-datatypes.c: New file.
6339 * gdb.base/vla-datatypes.exp: New file.
6341 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6343 * gdb.base/vla-ptr.c: New file.
6344 * gdb.base/vla-ptr.exp: New file.
6346 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6348 * gdb.base/vla-multi.c: New file.
6349 * gdb.base/vla-multi.exp: New file.
6351 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6353 * gdb.dwarf2/count.exp: New file.
6355 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6357 * gdb.base/vla-sideeffect.c: New file.
6358 * gdb.base/vla-sideeffect.exp: New file.
6360 2014-04-11 Yao Qi <yao@codesourcery.com>
6362 * gdb.base/completion.exp: Check file exists before running tests
6365 2014-04-10 Pedro Alves <palves@redhat.com>
6367 * gdb.base/cond-eval-mode.c: New file.
6368 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
6369 prepare_for_testing to build the new file. Check result of
6371 (test_break, test_watch): New procedures.
6372 (top level): Use them.
6374 2014-04-08 Pierre Muller <muller@sourceware.org>
6376 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
6377 Ctrl-V use for mingw hosts.
6379 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6381 * gdb.python/py-value.c: Improve test case.
6382 * gdb.python/py-value.exp: Add new test.
6384 2014-04-07 David Blaikie <dblaikie@gmail.com>
6386 * lib/compiler.c: Identify the clang compiler.
6387 * lib/compiler.cc: Ditto.
6389 2014-04-03 Yao Qi <yao@codesourcery.com>
6391 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
6393 2014-04-01 Anton Blanchard <anton@samba.org>
6395 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
6398 2014-04-01 Anton Blanchard <anton@samba.org>
6400 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
6401 prepare_for_testing.
6403 2014-04-01 Anton Blanchard <anton@samba.org>
6405 * gdb.arch/ppc64-atomic-inst.c: Remove.
6406 * gdb.arch/ppc64-atomic-inst.S: New file.
6407 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
6409 2014-03-31 Doug Evans <dje@google.com>
6411 * gdb.base/print-symbol-loading-lib.c: New file.
6412 * gdb.base/print-symbol-loading-main.c: New file.
6413 * gdb.base/print-symbol-loading.exp: New file.
6415 2014-03-31 Yao Qi <yao@codesourcery.com>
6417 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
6419 2014-03-28 Joel Brobecker <brobecker@adacore.com>
6421 * gdb.ada/mi_dyn_arr: New testcase.
6423 2014-03-27 Doug Evans <dje@google.com>
6425 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
6427 2014-03-27 Yao Qi <yao@codesourcery.com>
6429 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
6430 if target is nios2-*-*.
6432 2014-03-26 Yao Qi <yao@codesourcery.com>
6434 * lib/gdb.exp (readline_is_used): New proc.
6435 * gdb.base/completion.exp: Move tests on command complete up.
6436 Skip the rest of tests if readline is not used.
6437 * gdb.ada/complete.exp: Skp the test if readline is not
6439 * gdb.base/filesym.exp: Likewise.
6440 * gdb.base/macscp.exp: Likewise.
6441 * gdb.base/readline-ask.exp: Likewise.
6442 * gdb.base/readline.exp: Likewise.
6443 * gdb.python/py-cmd.exp: Likewise.
6444 * gdb.trace/tfile.exp: Likewise.
6446 2014-03-26 Yao Qi <yao@codesourcery.com>
6448 * gdb.base/macscp.exp: Fix code format issues.
6450 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
6452 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
6453 * gdb.asm/powerpc64le.inc: New file.
6455 2014-03-25 Pedro Alves <palves@redhat.com>
6456 Doug Evans <dje@google.com>
6458 * gdb.base/source-execution.c: New file.
6459 * gdb.base/source-execution.exp: New file.
6460 * gdb.base/source-execution.gdb: New file.
6462 2014-03-24 Doug Evans <dje@google.com>
6464 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
6467 2014-03-24 Hui Zhu <hui@codesourcery.com>
6468 Pedro Alves <palves@redhat.com>
6470 PR breakpoints/16101
6471 * gdb.base/dprintf.exp: Use unsupported rather than changing the
6472 test pass/fail messages. Detect missing support for dprintf when
6473 breakpoints are actually inserted.
6474 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
6475 breakpoints are actually inserted.
6476 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
6479 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6481 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
6483 2014-03-22 Doug Evans <xdje42@gmail.com>
6485 * gdb.python/python.exp (python not supported): Verify multi-line
6486 python command issues an error.
6487 * gdb.guile/guile.exp (guile not supported): Verify multi-line
6488 guile command issues an error.
6490 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
6492 * gdb.threads/thread-specific.exp: Handle the lack of usable
6493 $this_breakpoint and $this_thread.
6495 2014-03-21 Hui Zhu <hui@codesourcery.com>
6497 * gdb.base/attach.exp (do_command_attach_tests): New.
6499 2014-03-20 Tom Tromey <tromey@redhat.com>
6500 Pedro Alves <palves@redhat.com>
6503 * gdb.base/condbreak-call-false.c: New file.
6504 * gdb.base/condbreak-call-false.exp: New file.
6506 2014-03-20 Pedro Alves <palves@redhat.com>
6508 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
6510 (block_signals, unblock_signals): Delete.
6511 (child_function_2, main): Remove references to deleted variable
6514 2014-03-20 Pedro Alves <palves@redhat.com>
6516 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
6517 Use pthread_kill to signal thread 2.
6518 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6519 Adjust to make the test send itself a signal rather than using the
6520 host's "kill" command.
6522 2014-03-20 Pedro Alves <palves@redhat.com>
6524 * gdb.threads/multiple-step-overs.c: New file.
6525 * gdb.threads/multiple-step-overs.exp: New file.
6526 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6527 Adjust expected infrun debug output.
6529 2014-03-20 Pedro Alves <palves@redhat.com>
6531 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
6532 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
6534 2014-03-20 Pedro Alves <palves@redhat.com>
6537 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
6538 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
6539 of gdb_test_multiple.
6540 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
6541 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
6543 2014-03-20 Pedro Alves <palves@redhat.com>
6545 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
6546 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
6548 2014-03-19 Pedro Alves <palves@redhat.com>
6550 * gdb.base/async.exp: Remove early return.
6552 2014-03-19 Pedro Alves <palves@redhat.com>
6554 * gdb.base/async.exp (step& tests): Pass explicit test messages.
6556 2014-03-19 Pedro Alves <palves@redhat.com>
6558 * gdb.base/async.exp (test_background): Expect \r\n after
6559 "completed." in the fail pattern.
6561 2014-03-19 Pedro Alves <palves@redhat.com>
6563 * gdb.base/async.exp (test_background): New procedure.
6564 Use it for all background execution command tests.
6566 2014-03-19 Pedro Alves <palves@redhat.com>
6568 * gdb.base/async.exp: Use prepare_for_testing.
6570 2014-03-19 Pedro Alves <palves@redhat.com>
6572 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
6575 2014-03-19 Pedro Alves <palves@redhat.com>
6577 * gdb.base/async.c (main): Add "jump here" and "until here" line
6579 * gdb.base/async.exp (jump_here): New global.
6580 (jump& test): Use it.
6581 (until_here): New global.
6582 (until& test): Use it.
6584 2014-03-19 Pedro Alves <palves@redhat.com>
6586 * gdb.base/async.exp: Don't frob gdb_protocol.
6588 2014-03-18 Doug Evans <xdje42@gmail.com>
6590 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
6591 Fix spelling of exec-done-display.
6593 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6596 * gdb.base/gdb-sigterm.c: New file.
6597 * gdb.base/gdb-sigterm.exp: New file.
6599 2014-03-18 Pedro Alves <palves@redhat.com>
6602 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
6603 * lib/mi-support.exp (mi_expect_stop): Add special handling for
6606 2014-03-17 Joel Brobecker <brobecker@adacore.com>
6608 * gdb.ada/pckd_arr_ren: New testcase.
6610 2014-03-13 Doug Evans <xdje42@gmail.com>
6613 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
6614 collect after discarding symbols.
6616 2014-03-13 Ludovic Courtès <ludo@gnu.org>
6617 Doug Evans <xdje42@gmail.com>
6619 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
6620 to history survives a gc.
6622 2014-03-13 Pedro Alves <palves@redhat.com>
6624 * gdb.base/default.exp: Don't test "target procfs".
6626 2014-03-13 Pedro Alves <palves@redhat.com>
6628 * gdb.base/default.exp: Update "target child" and "target procfs"
6629 tests to not expect "Unix".
6631 2014-03-12 Tom Tromey <tromey@redhat.com>
6633 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
6634 New procs. Add target-async tests.
6635 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
6636 Add target-async tests.
6638 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6640 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
6641 'func_start' and 'func_end' for the beginning and end of the
6642 function code, respectively.
6643 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
6644 'func_end' instead of 'func' and 'main'.
6646 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6648 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
6649 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
6650 generate the debug info assembler source.
6652 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6654 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
6655 * gdb.dwarf2/arr-subrange.exp: Likewise.
6656 * gdb.dwarf2/dwz.exp: Likewise.
6657 * gdb.dwarf2/method-ptr.exp: Likewise.
6658 * gdb.dwarf2/missing-sig-type.exp: Likewise.
6659 * gdb.dwarf2/subrange.exp: Likewise.
6660 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
6661 * gdb.dwarf2/implptrpiece.exp: Likewise.
6662 * gdb.dwarf2/nostaticblock.exp: Likewise.
6664 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6666 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
6667 directory to absolute path name arguments.
6669 2014-03-10 Joel Brobecker <brobecker@adacore.com>
6671 * gdb.ada/tagged_access: New testcase.
6673 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
6675 * gdb.btrace/data.exp: Update expected output.
6677 2014-03-06 Yao Qi <yao@codesourcery.com>
6679 * gdb.trace/pr16508.exp: New file.
6681 2014-03-05 Pedro Alves <palves@redhat.com>
6684 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
6686 (top level): Adjust to use it. Add tests that exercise breakpoint
6687 interaction with the code-cache.
6689 2014-02-26 Ludovic Courtès <ludo@gnu.org>
6691 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
6692 test for 'history-append!'.
6694 2014-02-26 Joel Brobecker <brobecker@adacore.com>
6696 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
6697 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
6698 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
6699 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
6700 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
6701 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
6703 2014-02-26 Joel Brobecker <brobecker@adacore.com>
6705 * testsuite/gdb.python/py-pp-re-notag.c: New file.
6706 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
6707 * testsuite/gdb.python/py-pp-re-notag.p: New file.
6709 2014-02-26 Joel Brobecker <brobecker@adacore.com>
6711 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
6713 2014-02-26 Joel Brobecker <brobecker@adacore.com>
6715 * gdb.dwarf2/arr-stride.c: New file.
6716 * gdb.dwarf2/arr-stride.exp: New file.
6718 2014-02-26 Pedro Alves <palves@redhat.com>
6720 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
6721 that won't ever trigger. Make sure that GDB reports the correct
6722 breakpoint that caused the stop.
6724 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6727 * gdb.base/auto-load-script: New file.
6728 * gdb.base/auto-load.c: New file.
6729 * gdb.base/auto-load.exp: New file.
6732 * gdb.base/auto-load.exp: Fix out-of-srctree run.
6734 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6736 Fix dw2-icycle.exp -fsanitize=address GDB crash.
6737 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
6739 2014-02-24 Doug Evans <dje@google.com>
6741 * lib/gdb.exp (run_on_host): Log error output if program fails.
6743 2014-02-21 Pedro Alves <palves@redhat.com>
6745 * gdb.threads/step-after-sr-lock.c: Rename to ...
6746 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
6747 * gdb.threads/step-after-sr-lock.exp: Rename to ...
6748 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6751 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
6754 * gdb.arch/amd64-stap-special-operands.exp: New file.
6755 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
6756 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
6757 * gdb.arch/amd64-stap-triplet.S: Likewise.
6758 * gdb.arch/amd64-stap-triplet.c: Likewise.
6760 2014-02-20 Joel Brobecker <brobecker@adacore.com>
6762 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
6763 in .section pseudo-op.
6765 2014-02-20 lin zuojian <manjian2006@gmail.com>
6766 Joel Brobecker <brobecker@adacore.com>
6767 Doug Evans <xdje42@gmail.com>
6770 * gdb.dwarf2/dw2-icycle.S: New file.
6771 * gdb.dwarf2/dw2-icycle.c: New file.
6772 * gdb.dwarf2/dw2-icycle.exp: New file.
6774 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
6776 * gdb.python/py-value-cc.cc: Improve test case to enable testing
6777 operations on gdb.Value objects.
6778 * gdb.python/py-value-cc.exp: Add new test to test operations on
6781 2014-02-18 Doug Evans <dje@google.com>
6783 * Makefile.in (TESTS): New variable.
6784 (expanded_tests, expanded_tests_or_none): New variables
6785 (check-single): Pass $(expanded_tests_or_none) to runtest.
6786 (check-parallel): Only run tests in $(TESTS) if non-empty.
6787 (check/no-matching-tests-found): New rule.
6788 * README: Document TESTS makefile variable.
6790 2014-02-18 Doug Evans <dje@google.com>
6792 * Makefile.in (check-parallel): rm -rf outputs temp.
6794 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6796 Fix "ERROR: no fileid for" in the testsuite.
6797 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
6799 2014-02-12 Doug Evans <dje@google.com>
6801 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
6802 (MISCELLANEOUS): New variable.
6803 (clean): rm -rf $(MISCELLANEOUS).
6804 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
6805 dwp live in the same directory as symlinks, with each symlink pointed
6806 to a differently named file in a different directory.
6808 2014-02-11 Doug Evans <dje@google.com>
6810 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
6811 of Tcl file commands.
6813 2014-02-10 Mark Kettenis <kettenis@gnu.org>
6815 * gdb.threads/step-after-sr-lock.exp: Avoid executing
6818 2014-02-10 Joel Brobecker <brobecker@adacore.com>
6820 * gdb.ada/tick_length_array_enum_idx: New testcase.
6822 2014-02-10 Doug Evans <xdje42@gmail.com>
6824 * configure.ac (AC_OUTPUT): Add gdb.guile.
6825 * configure: Regenerate.
6826 * lib/gdb-guile.exp: New file.
6827 * lib/gdb.exp (get_target_charset): New function.
6828 * gdb.base/help.exp: Update expected output from "apropos apropos".
6829 * gdb.guile/Makefile.in: New file.
6830 * gdb.guile/guile.exp: New file.
6831 * gdb.guile/scm-arch.c: New file.
6832 * gdb.guile/scm-arch.exp: New file.
6833 * gdb.guile/scm-block.c: New file.
6834 * gdb.guile/scm-block.exp: New file.
6835 * gdb.guile/scm-breakpoint.c: New file.
6836 * gdb.guile/scm-breakpoint.exp: New file.
6837 * gdb.guile/scm-disasm.c: New file.
6838 * gdb.guile/scm-disasm.exp: New file.
6839 * gdb.guile/scm-equal.c: New file.
6840 * gdb.guile/scm-equal.exp: New file.
6841 * gdb.guile/scm-error.exp: New file.
6842 * gdb.guile/scm-error.scm: New file.
6843 * gdb.guile/scm-frame-args.c: New file.
6844 * gdb.guile/scm-frame-args.exp: New file.
6845 * gdb.guile/scm-frame-args.scm: New file.
6846 * gdb.guile/scm-frame-inline.c: New file.
6847 * gdb.guile/scm-frame-inline.exp: New file.
6848 * gdb.guile/scm-frame.c: New file.
6849 * gdb.guile/scm-frame.exp: New file.
6850 * gdb.guile/scm-generics.exp: New file.
6851 * gdb.guile/scm-gsmob.exp: New file.
6852 * gdb.guile/scm-iterator.c: New file.
6853 * gdb.guile/scm-iterator.exp: New file.
6854 * gdb.guile/scm-math.c: New file.
6855 * gdb.guile/scm-math.exp: New file.
6856 * gdb.guile/scm-objfile-script-gdb.in: New file.
6857 * gdb.guile/scm-objfile-script.c: New file.
6858 * gdb.guile/scm-objfile-script.exp: New file.
6859 * gdb.guile/scm-objfile.c: New file.
6860 * gdb.guile/scm-objfile.exp: New file.
6861 * gdb.guile/scm-ports.exp: New file.
6862 * gdb.guile/scm-pretty-print.c: New file.
6863 * gdb.guile/scm-pretty-print.exp: New file.
6864 * gdb.guile/scm-pretty-print.scm: New file.
6865 * gdb.guile/scm-section-script.c: New file.
6866 * gdb.guile/scm-section-script.exp: New file.
6867 * gdb.guile/scm-section-script.scm: New file.
6868 * gdb.guile/scm-symbol.c: New file.
6869 * gdb.guile/scm-symbol.exp: New file.
6870 * gdb.guile/scm-symtab-2.c: New file.
6871 * gdb.guile/scm-symtab.c: New file.
6872 * gdb.guile/scm-symtab.exp: New file.
6873 * gdb.guile/scm-type.c: New file.
6874 * gdb.guile/scm-type.exp: New file.
6875 * gdb.guile/scm-value-cc.cc: New file.
6876 * gdb.guile/scm-value-cc.exp: New file.
6877 * gdb.guile/scm-value.c: New file.
6878 * gdb.guile/scm-value.exp: New file.
6879 * gdb.guile/source2.scm: New file.
6880 * gdb.guile/types-module.cc: New file.
6881 * gdb.guile/types-module.exp: New file.
6883 2014-02-10 Yao Qi <yao@codesourcery.com>
6886 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
6887 * configure: Regenerated.
6888 * Makefile.in: New file.
6890 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
6892 * gdb.python/py-framefilter.exp: Fix typo.
6894 2014-02-08 Yao Qi <yao@codesourcery.com>
6896 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
6897 that no =breakpoint-modified is emitted when breakpoints are
6898 modified through MI commands.
6900 2014-02-07 Pedro Alves <pedro@codesourcery.com>
6901 Pedro Alves <palves@redhat.com>
6903 * gdb.threads/step-after-sr-lock.c: New file.
6904 * gdb.threads/step-after-sr-lock.exp: New file.
6906 2014-02-07 Pedro Alves <palves@redhat.com>
6908 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
6910 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6912 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
6913 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
6915 2014-02-06 Doug Evans <xdje42@gmail.com>
6917 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
6920 * gdb.gdb/python-interrupts.exp: New file.
6922 2014-02-05 Yao Qi <yao@codesourcery.com>
6924 * gdb.trace/report.exp (use_collected_data): Test the output
6925 of "info threads" and "info inferiors".
6927 2014-02-05 Yao Qi <yao@codesourcery.com>
6931 2013-05-24 Yao Qi <yao@codesourcery.com>
6933 * gdb.trace/tfile.exp: Test inferior and thread.
6935 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6937 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
6939 * gdb.base/step-bt.c: Call hello via function pointer to make
6940 sure its first instruction is executed on powerpc64le-linux.
6942 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6944 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
6946 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6948 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
6949 of the test patterns for use on little-endian systems.
6951 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6953 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
6954 (decimal_vector): Fix for little-endian.
6956 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
6958 * gdb.arch/sparc-sysstep.exp: New file.
6959 * gdb.arch/sparc-sysstep.c: Likewise.
6961 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
6963 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6965 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
6967 2014-01-23 Tom Tromey <tromey@redhat.com>
6969 * gdb.ada/array_char_idx: New testcase.
6971 2014-01-23 Tom Tromey <tromey@redhat.com>
6974 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
6975 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
6978 2014-01-23 Tom Tromey <tromey@redhat.com>
6981 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
6982 string from an inferior frame.
6983 * gdb.python/py-framefilter-mi.exp: Update.
6985 2014-01-22 Doug Evans <dje@google.com>
6987 * gdb.server/server-mon.exp: Add tests for "set debug-format".
6989 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6991 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
6993 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6995 * gdb.trace/entry-values.exp: Remove excess space character from
6996 regex patterns. Handle s390 call instruction.
6998 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7000 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7001 define "*_start" label. Make "name" static.
7002 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7003 ${name} by references to ${name}_start.
7005 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7007 * gdb.base/info-macros.exp: Remove "debug" from the compile
7010 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7012 * gdb.dlang/demangle.exp: New file.
7014 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7016 * gdb.dlang/primitive-types.exp: New file.
7018 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7020 * configure.ac: Create gdb.dlang/Makefile.
7021 * configure: Regenerate.
7022 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7023 * gdb.dlang/Makefile.in: New file.
7024 * lib/d-support.exp: New file.
7025 * lib/gdb.exp (skip_d_tests): New proc.
7027 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7029 * gdb.btrace/delta.exp: Check reverse stepi.
7030 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7031 * gdb.btrace/finish.exp: New.
7032 * gdb.btrace/next.exp: New.
7033 * gdb.btrace/nexti.exp: New.
7034 * gdb.btrace/record_goto.c: Add comments.
7035 * gdb.btrace/step.exp: New.
7036 * gdb.btrace/stepi.exp: New.
7037 * gdb.btrace/multi-thread-step.c: New.
7038 * gdb.btrace/multi-thread-step.exp: New.
7039 * gdb.btrace/rn-dl-bind.c: New.
7040 * gdb.btrace/rn-dl-bind.exp: New.
7041 * gdb.btrace/data.c: New.
7042 * gdb.btrace/data.exp: New.
7043 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7045 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7047 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7048 * gdb.btrace/exception.exp: Update.
7049 * gdb.btrace/instruction_history.exp: Update.
7050 * gdb.btrace/record_goto.exp: Update.
7051 * gdb.btrace/tailcall.exp: Update.
7052 * gdb.btrace/unknown_functions.exp: Update.
7053 * gdb.btrace/delta.exp: New.
7055 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7057 * gdb.btrace/record_goto.exp: Add backtrace test.
7058 * gdb.btrace/tailcall.exp: Add backtrace test.
7060 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7062 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7063 * gdb.btrace/record_goto.c: New.
7064 * gdb.btrace/record_goto.exp: New.
7065 * gdb.btrace/x86-record_goto.S: New.
7067 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7069 * gdb.btrace/function_call_history.exp: Update tests.
7070 * gdb.btrace/instruction_history.exp: Update tests.
7072 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7074 * gdb.btrace/function_call_history.exp: Fix expected field
7075 order for "record function-call-history".
7076 Add new tests for "record function-call-history /c".
7077 * gdb.btrace/exception.cc: New.
7078 * gdb.btrace/exception.exp: New.
7079 * gdb.btrace/tailcall.exp: New.
7080 * gdb.btrace/x86-tailcall.S: New.
7081 * gdb.btrace/x86-tailcall.c: New.
7082 * gdb.btrace/unknown_functions.c: New.
7083 * gdb.btrace/unknown_functions.exp: New.
7084 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7086 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7088 * gdb.btrace/instruction_history.exp: Update.
7089 * gdb.btrace/function_call_history.exp: Update.
7091 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7093 * gdb.btrace/function_call_history.exp: Fix expected function
7095 * gdb.btrace/instruction_history.exp: Initialize traced.
7096 Remove traced_functions.
7098 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7100 * gdb.btrace/function_call_history.exp: Update
7101 * gdb.btrace/instruction_history.exp: Update.
7103 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7105 * gdb.btrace/enable.exp: Update expected text.
7107 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7109 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7112 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7114 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7116 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
7118 * lib/gdb.exp (supports_process_record): Return true for
7119 arm*-linux*. (supports_reverse): Likewise.
7121 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7125 * gdb.python/py-type.c: Enhance test case.
7126 * gdb.python/py-value-cc.cc: Likewise
7127 * gdb.python/py-type.exp: Add new tests.
7128 * gdb.python/py-value-cc.exp: Likewise
7130 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7131 Pedro Alves <palves@redhat.com>
7133 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7135 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7136 references to ${name}_start by references to ${name}.
7138 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7140 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7142 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7144 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7146 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7147 Pedro Alves <palves@redhat.com>
7149 * gdb.mi/mi-info-os.exp: Connect to the target with
7152 2014-01-08 Pedro Alves <palves@redhat.com>
7154 * gdb.threads/reconnect-signal.c: New file.
7155 * gdb.threads/reconnect-signal.exp: New file.
7157 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7159 * gdb.base/source-dir.exp: New file.
7161 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7163 * gdb.ada/mi_interface: New testcase.
7165 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7167 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7168 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7169 gdb.ada/pp-rec-component/pck.ads: New files.
7171 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7173 * gdb.python/py-pp-integral.c: New file.
7174 * gdb.python/py-pp-integral.py: New file.
7175 * gdb.python/py-pp-integral.exp: New file.
7177 For older changes see ChangeLog-1993-2013.
7183 ;; version-control: never
7186 Copyright 2014-2016 Free Software Foundation, Inc.
7187 Copying and distribution of this file, with or without modification,
7188 are permitted provided the copyright notice and this notice are preserved.