1 2016-01-15 Pedro Alves <palves@redhat.com>
3 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
4 command from "thread apply" invocation.
5 (thr_apply_info_thr_invalid): Default the expected output to the
7 (top level): Add tests that use convenience variables. Add tests
8 for "thread apply" with a valid TID list, but missing the command.
10 2016-01-13 Pedro Alves <palves@redhat.com>
12 * gdb.base/default.exp: Expect $_gthread as well.
13 * gdb.multi/tids.exp: Test $_gthread.
14 * gdb.threads/thread-specific.exp: Test $_gthread.
16 2016-01-13 Pedro Alves <palves@redhat.com>
18 * gdb.multi/tids.exp: Test "info threads -gid".
20 2016-01-13 Pedro Alves <palves@redhat.com>
22 * gdb.multi/tids.exp: Test InferiorThread.global_num and
24 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
26 2016-01-07 Pedro Alves <palves@redhat.com>
28 * gdb.base/break.exp: Adjust to output changes.
29 * gdb.base/hbreak2.exp: Likewise.
30 * gdb.base/sepdebug.exp: Likewise.
31 * gdb.base/watch_thread_num.exp: Likewise.
32 * gdb.linespec/keywords.exp: Likewise.
33 * gdb.multi/info-threads.exp: Likewise.
34 * gdb.threads/thread-find.exp: Likewise.
35 * gdb.multi/tids.c: New file.
36 * gdb.multi/tids.exp: New file.
38 2016-01-13 Pedro Alves <palves@redhat.com>
40 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
42 2016-01-13 Pedro Alves <palves@redhat.com>
44 * gdb.base/default.exp: Expect $_inferior as well.
45 * gdb.multi/base.exp: Test $_inferior.
47 2016-01-13 Pedro Alves <palves@redhat.com>
50 * gdb.base/catch-signal-siginfo-cond.c: New file.
51 * gdb.base/catch-signal-siginfo-cond.exp: New file.
53 2016-01-12 Josh Stone <jistone@redhat.com>
54 Philippe Waroquiers <philippe.waroquiers@skynet.be>
56 * gdb.base/catch-syscall.c (do_execve): New variable.
57 (main): Conditionally trigger an execve.
58 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
59 (test_catch_syscall_execve): New, check entry/return across execve.
60 (do_syscall_tests): Call test_catch_syscall_execve.
62 2016-01-12 Pedro Alves <palves@redhat.com>
64 * gdb.base/random-signal.exp (do_test): New procedure, with body
67 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
68 Pedro Alves <palves@redhat.com>
70 * gdb.base/funcargs.exp (finish from indirectly called function):
71 Reintroduce the case for 'First'.
73 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
74 Pedro Alves <palves@redhat.com>
76 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
77 (tcatch_vfork_then_child_follow_exec)
78 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
81 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
83 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
84 and repeats to unlimited.
85 * gdb.python/py-value.exp: Likewise.
86 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
87 and repeats to unlimited.
89 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
91 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
92 and reordering the functions.
93 * gdb.multi/hangout.c: Likewise.
94 * gdb.multi/hello.c: Likewise.
96 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
98 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
100 (SingleStatisticTestResult.report): Use dict.keys instead of
103 2016-01-06 Pedro Alves <palves@redhat.com>
105 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
107 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
109 * gdb.btrace/dlopen.exp: New.
110 * gdb.btrace/dlopen.c: New.
111 * gdb.btrace/dlopen-dso.c: New.
113 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
115 * lib/gdb.exp (gdb_test): Update comments to clarify that the
116 PATTERN argument is optional.
118 2015-12-24 Joel Brobecker <brobecker@adacore.com>
120 * lib/ada.exp (target_compile_ada_from_dir): New function.
121 (gdb_compile_ada): Reimplement avoiding the use of project files.
122 * gdb.ada/gnat_ada.gpr: Delete.
123 * gdb.ada/cond_lang.exp: Adjust test to make path before
125 * gdb.ada/small_reg_param.exp: Likewise.
127 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
129 * gdb.base/foll-vork.exp: Remove HP-UX special case.
131 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
133 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
136 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
138 * gdb.base/break.exp: Remove dead code.
139 * gdb.base/sepdebug.exp: Likewise.
141 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
143 * gdb.asm/asm-source.exp: Remove HP-UX references.
144 * gdb.base/annota1.exp: Likewise.
145 * gdb.base/annota3.exp: Likewise.
146 * gdb.base/attach.exp: Likewise.
147 * gdb.base/bigcore.exp: Likewise.
148 * gdb.base/break.exp: Likewise.
149 * gdb.base/call-ar-st.exp: Likewise.
150 * gdb.base/callfuncs.exp: Likewise.
151 * gdb.base/catch-fork-static.exp: Likewise.
152 * gdb.base/display.exp: Likewise.
153 * gdb.base/foll-exec-mode.exp: Likewise.
154 * gdb.base/foll-exec.exp: Likewise.
155 * gdb.base/foll-fork.exp: Likewise.
156 * gdb.base/foll-vfork.exp: Likewise.
157 * gdb.base/funcargs.exp: Likewise.
158 * gdb.base/hbreak2.exp: Likewise.
159 * gdb.base/inferior-died.exp: Likewise.
160 * gdb.base/interrupt.exp: Likewise.
161 * gdb.base/multi-forks.exp: Likewise.
162 * gdb.base/nodebug.exp: Likewise.
163 * gdb.base/sepdebug.exp: Likewise.
164 * gdb.base/solib1.c: Likewise.
165 * gdb.base/step-test.exp: Likewise.
166 * gdb.mi/non-stop.c: Likewise.
167 * gdb.mi/pthreads.c: Likewise.
168 * gdb.multi/bkpt-multi-exec.ex: Likewise.
169 * gdb.threads/pthreads.c: Likewise.
170 * gdb.threads/staticthreads.exp: Likewise.
171 * lib/future.exp: Likewise.
172 * lib/gdb.exp: Likewise.
173 * gdb.base/so-indr-cl.c: Remove.
174 * gdb.base/so-indr-cl.exp: Likewise.
175 * gdb.base/solib.c: Likewise.
176 * gdb.base/solib.exp: Likewise.
177 * gdb.base/solib2.c: Likewise.
179 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
181 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
182 * gdb.base/call-ar-st.exp: Likewise.
183 * gdb.base/callfuncs.exp: Likewise.
184 * gdb.base/condbreak.exp: Likewise.
185 * gdb.base/constvars.exp: Likewise.
186 * gdb.base/hbreak2.exp: Likewise.
187 * gdb.base/langs.exp: Likewise.
188 * gdb.base/list.exp: Likewise.
189 * gdb.base/long_long.exp: Likewise.
190 * gdb.base/ptype.exp: Likewise.
191 * gdb.base/scope.exp: Likewise.
192 * gdb.base/signals.exp: Likewise.
193 * gdb.base/so-impl-ld.exp: Likewise.
194 * gdb.base/varargs.exp: Likewise.
195 * gdb.base/volatile.exp: Likewise.
196 * gdb.base/whatis.exp: Likewise.
197 * gdb.cp/cplusfuncs.exp: Likewise.
198 * gdb.cp/inherit.exp: Likewise.
199 * gdb.cp/local.exp: Likewise.
200 * gdb.cp/member-ptr.exp: Likewise.
201 * gdb.cp/method.exp: Likewise.
202 * gdb.cp/overload.exp: Likewise.
203 * gdb.cp/templates.exp: Likewise.
204 * gdb.stabs/weird.exp: Likewise.
205 * lib/compiler.c: Likewise.
206 * lib/compiler.cc: Likewise.
207 * lib/cp-support.exp: Likewise.
208 * lib/gdb.exp: Likewise.
210 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
212 * configure.ac: Remove HP-UX case.
213 * configure: Regenerate.
215 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
217 * lib/gdb.exp (gdb_compile): Add function doc.
219 2015-12-17 Pedro Alves <palves@redhat.com>
222 * gdb.multi/info-threads.exp: New file.
224 2015-12-15 Yao Qi <yao.qi@linaro.org>
226 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
229 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
231 * gdb.base/history-duplicates.exp: Skip if no readline support.
233 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
235 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
237 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
239 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
241 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
243 * gdb.base/completion.exp: Skip tests that interrupt GDB with
244 ctrl-C if nointerrupts target property is set.
245 * gdb.base/double-prompt-target-event-error.exp: Likewise.
246 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
247 * gdb.base/paginate-bg-execution.exp: Likewise.
248 * gdb.base/paginate-execution-startup.exp: Likewise.
249 * gdb.base/random-signal.exp: Likewise.
250 * gdb.base/range-stepping.exp: Likewise.
251 * gdb.cp/annota2.exp: Likewise.
252 * gdb.cp/annota3.exp: Likewise.
253 * gdb.gdb/selftest.exp: Likewise.
254 * gdb.threads/continue-pending-status.exp: Likewise.
255 * gdb.threads/leader-exit.exp: Likewise.
256 * gdb.threads/manythreads.exp: Likewise.
257 * gdb.threads/pthreads.exp: Likewise.
258 * gdb.threads/schedlock.exp: Likewise.
259 * gdb.threads/sigthread.exp: Likewise.
261 2015-12-11 Don Breazeal <donb@codesourcery.com>
263 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
265 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
266 * gdb.base/foll-exec.exp (main): Enable for target remote.
267 * gdb.base/foll-fork.exp (main): Likewise.
268 * gdb.base/foll-vfork.exp (main): Likewise.
269 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
270 (proc continue_to_exit_bp_loc): Use clean_restart.
271 * gdb.base/pie-execl.exp (main): Disable for target remote.
272 * gdb.base/watch-vfork.exp (main): Enable for target remote.
273 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
274 * gdb.threads/execl.exp (main): Likewise.
275 * gdb.threads/fork-child-threads.exp (main): Likewise.
276 * gdb.threads/fork-plus-threads.exp (main): Disable for target
278 * gdb.threads/fork-thread-pending.exp (main): Enable for target
280 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
281 pid.tid style ptids, instead of just tid.
282 * gdb.threads/thread-execl.exp (main): Enable for target remote.
283 * gdb.threads/watchpoint-fork.exp (main): Likewise.
284 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
285 ptids, instead of just tid.
287 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
289 * gdb.base/list.exp (test_list_forward): Add end of file error
291 (test_repeat_list_command): Add end of file error test.
292 (test_list_backwards): Add beginning of file error test.
294 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
296 * gdb.base/list.exp (test_list_invalid_args): New function,
299 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
301 * gdb.base/list.exp (test_list): Make test names unique.
303 2015-12-11 Yao Qi <yao.qi@linaro.org>
305 * gdb.base/coremaker2.c: Remove.
307 2015-12-10 Pedro Alves <palves@redhat.com>
309 * gdb.multi/base.exp: Remove stale "spaces" references.
311 2015-12-10 Pedro Alves <palves@redhat.com>
313 * gdb.multi/base.exp: Don't use nowarnings.
314 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
315 * gdb.multi/hangout.c: Include stdio.h.
316 * gdb.multi/hello.c: Include stdlib.h.
317 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
318 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
319 * gdb.multi/multi-arch.exp: Don't use nowarnings.
321 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
323 * gdb.dwarf2/dw2-ranges-base.c: New file.
324 * gdb.dwarf2/dw2-ranges-base.exp: New file.
325 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
326 support additional line table, and debug ranges generation.
327 (Dwarf::ranges): New function, generate .debug_ranges.
328 (Dwarf::lines): Support generating simple line table programs.
329 (Dwarf::assemble): Initialise new namespace variables.
331 2015-12-09 Kevin Buettner <kevinb@redhat.com>
333 * gdb.base/async.exp (proc test_background): Add case for
334 asynchronous execution not supported.
336 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
338 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
339 format and change test names to make them unique.
341 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
342 Pedro Alves <pedro@redhat.com>
345 Add checking of floatformats setup on x86_64 hosts.
346 * gdb.arch/i386-float.S (main): Load bigval and smallval.
347 (smallval, bigval): New labels/constants.
348 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
349 float" after loading bigval and smallval.
351 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
353 * gdb.ada/fun_overload_menu.exp: New testcase.
354 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
356 2015-12-04 Josh Stone <jistone@redhat.com>
358 * gdb.base/catch-fork-static.exp: New.
360 2015-12-03 Yao Qi <yao.qi@linaro.org>
362 * gdb.base/sizeof.c: Don't include stdio.h and
363 ../lib/unbuffer_output.c.
364 (main): New variable 'size' and 'value'. Remove printf and
365 gdb_unbuffer_output. Assign return value to size and value.
366 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
368 (check_sizeof): Check the result by printing variable 'size'.
369 (check_valueof): Check the result by printing variable 'value'.
371 2015-12-01 Yao Qi <yao.qi@linaro.org>
373 * gdb.base/disp-step-syscall.exp: Define syscall instruction
374 for aarch64*-*-linux* target.
376 2015-11-30 Pedro Alves <palves@redhat.com>
378 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
380 2015-11-30 Pedro Alves <palves@redhat.com>
382 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
383 Handle non-stop mode vCont replies.
385 2015-11-30 Pedro Alves <palves@redhat.com>
387 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
388 prepare_for_testing. Start gdb with "set non-stop on" appended to
389 GDBFLAGS. Lax expected stop output.
391 2015-11-27 Yao Qi <yao.qi@linaro.org>
393 * gdb.arch/arm-neon.exp: New.
394 * gdb.arch/arm-neon.c: New.
396 2015-11-27 Yao Qi <yao.qi@linaro.org>
398 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
400 2015-11-27 Yao Qi <yao.qi@linaro.org>
402 * gdb.cp/annota2.exp: Allow multiple occurrences of the
403 frames-invalid annotation.
405 2015-11-27 Yao Qi <yao.qi@linaro.org>
407 * gdb.cp/annota2.exp: Use ${frames_invalid}.
409 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
411 * gdb.threads/names.exp: New file.
412 * gdb.threads/names.c: New file.
413 * README: Mention gdb,no_thread_names.
415 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
418 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
421 2015-11-24 Pedro Alves <palves@redhat.com>
424 * gdb.base/display.exp: Expect displays to be sorted in ascending
425 order. Use multi_line.
426 * gdb.base/solib-display.exp: Likewise.
428 2015-11-24 Pedro Alves <palves@redhat.com>
431 * gdb.base/display.exp: Expect displays to be sorted in ascending
432 order. Use multi_line.
433 * gdb.base/solib-display.exp: Likewise.
435 2015-11-24 Pedro Alves <palves@redhat.com>
438 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
439 threads in ascending order.
440 * gdb.base/foll-fork.exp: Likewise.
441 * gdb.base/foll-vfork.exp: Likewise.
442 * gdb.base/multi-forks.exp: Likewise.
443 * gdb.mi/mi-nonstop.exp: Likewise.
444 * gdb.mi/mi-nsintrall.exp: Likewise.
445 * gdb.multi/base.exp: Likewise.
446 * gdb.multi/multi-arch.exp: Likewise.
447 * gdb.python/py-inferior.exp: Likewise.
448 * gdb.threads/break-while-running.exp: Likewise.
449 * gdb.threads/execl.exp: Likewise.
450 * gdb.threads/gcore-thread.exp: Likewise.
451 * gdb.threads/info-threads-cur-sal.exp: Likewise.
452 * gdb.threads/kill.exp: Likewise.
453 * gdb.threads/linux-dp.exp: Likewise.
454 * gdb.threads/multiple-step-overs.exp: Likewise.
455 * gdb.threads/next-bp-other-thread.exp: Likewise.
456 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
457 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
458 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
459 * gdb.threads/thread-find.exp: Likewise.
460 * gdb.threads/tls.exp: Likewise.
461 * lib/mi-support.exp (mi_reverse_list): Delete.
462 (mi_check_thread_states): No longer reverse list.
464 2015-11-24 Pedro Alves <palves@redhat.com>
466 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
469 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
471 * gdb.trace/actions.c: Include trace-common.h.
472 (main): Add a location for a fast tracepoint.
473 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
474 the normal tracepoints.
475 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
477 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
479 * save-trace.exp: Factor out code to these...
480 (gdb_save_tracepoints): New.
481 (gdb_load_tracepoints): New.
482 (do_save_load_test): New.
484 2015-11-23 Kevin Buettner <kevinb@redhat.com>
486 * gdb.base/asmlabel.exp: New test.
487 * gdb.base/asmlabel.c: New test case.
489 2015-11-23 Joel Brobecker <brobecker@adacore.com>
491 * gdb.base/wrong_frame_bt_full-main.c: New file.
492 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
493 * gdb.base/wrong_frame_bt_full.exp: New file.
495 2015-11-23 Joel Brobecker <brobecker@adacore.com>
497 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
499 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
501 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
502 pstate register when comparing registers values in
503 sparc64-*-linux-gnu targets to avoid spurious differences.
505 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
507 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
509 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
511 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
512 as type argument to gdb_compile.
513 * gdb.base/nested-subp2.exp: Likewise.
514 * gdb.base/nested-subp3.exp: Likewise.
516 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
518 * lib/dwarf.exp (_note): Fix left shift of negative value.
519 * gdb.trace/trace-condition.exp: Likewise.
521 2015-11-13 Yao Qi <yao.qi@linaro.org>
523 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
525 (test_scalar_returns): Likewise.
526 * gdb.base/d10v.ld: Remove.
527 * gdb.base/overlays.exp: Remove the target triplet checking for
529 * gdb.base/structs.exp (test_struct_returns): Remove the
531 (test_struct_calls): Likewise.
533 2015-11-13 Yao Qi <yao.qi@linaro.org>
535 * gdb.base/gnu_vector.exp: Check the return value by "p res".
536 * gdb.base/gnu_vector.c: Don't include stdio.h.
537 (main): Don't print res and call add_some_intvecs.
539 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
541 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
544 (func4): Use FAST_TRACEPOINT_LABEL.
545 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
548 (thread_function): Use FAST_TRACEPOINT_LABEL.
549 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
551 (marker): Use FAST_TRACEPOINT_LABEL.
552 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
554 (pendfunc): Use FAST_TRACEPOINT_LABEL.
555 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
557 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
558 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
561 (marker): Use FAST_TRACEPOINT_LABEL.
562 * gdb.trace/trace-common.h: New header.
563 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
566 (marker): Use FAST_TRACEPOINT_LABEL.
567 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
569 (thread_function): Use FAST_TRACEPOINT_LABEL.
571 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
573 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
575 * gdb.trace/change-loc.exp: Use global pcreg definition.
576 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
577 * gdb.trace/entry-values.exp: Use global spreg definition, add $
579 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
580 * gdb.trace/pending.exp: Likewise.
581 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
582 * gdb.trace/trace-break.exp: Likewise.
583 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
585 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
586 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
588 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
590 2015-11-09 Joel Brobecker <brobecker@adacore.com>
592 * gdb.ada/fin_fun_out: New testcase.
594 2015-11-07 Kevin Buettner <kevinb@redhat.com>
596 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
597 value associated with DW_AT_byte_size.
598 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
599 constants for DW_AT_byte_size, DW_AT_lower_bound, and
602 2015-11-07 Kevin Buettner <kevinb@redhat.com>
604 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
605 (gdb_target_symbol_prefix_flags): Define in terms of _asm
607 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
608 gdb.dwarf2/dw2-canonicalize-type.exp,
609 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
610 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
611 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
612 provided by gdb_target_symbol_prefix_flags_asm.
613 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
614 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
615 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
616 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
617 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
618 macros where needed). Use this macro for symbols which require
619 the prefix provided by SYMBOL_PREFIX.
621 2015-11-05 Kevin Buettner <kevinb@redhat.com>
623 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
625 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
626 representing expressions, of more than one list element.
627 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
628 to prepend linker symbol prefix to f.
629 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
631 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
632 Likewise, for f and g.
633 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
635 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
637 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
638 table_1_ptr and table_2_ptr.
640 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
641 Joel Brobecker <brobecker@adacore.com>
643 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
645 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
647 * gdb.reverse/s390-mvcle.c: New test.
648 * gdb.reverse/s390-mvcle.exp: New file.
649 * lib/gdb.exp: Enable reverse tests on s390*-linux.
651 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
653 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
655 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
657 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
659 * gdb.reverse/getresuid-reverse.exp: Likewise.
660 * gdb.reverse/pipe-reverse.exp: Likewise.
661 * gdb.reverse/readv-reverse.exp: Likewise.
662 * gdb.reverse/recvmsg-reverse.exp: Likewise.
663 * gdb.reverse/time-reverse.exp: Likewise.
664 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
666 2015-10-30 Yao Qi <yao.qi@linaro.org>
668 * gdb.threads/wp-replication.c (watch_count_done): Remove.
669 (empty_cycle): Remove.
670 (main): Don't call empty_cycle. Don't use watch_count_done.
671 * gdb.threads/wp-replication.exp: Don't set breakpoint on
672 empty_cycle. Rewrite the code counting HW watchpoints.
674 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
676 * gdb.reverse/fstatat-reverse.c: New test.
677 * gdb.reverse/fstatat-reverse.exp: New file.
678 * gdb.reverse/getresuid-reverse.c: New test.
679 * gdb.reverse/getresuid-reverse.exp: New file.
680 * gdb.reverse/pipe-reverse.c: New test.
681 * gdb.reverse/pipe-reverse.exp: New file.
682 * gdb.reverse/readv-reverse.c: New test.
683 * gdb.reverse/readv-reverse.exp: New file.
684 * gdb.reverse/recvmsg-reverse.c: New test.
685 * gdb.reverse/recvmsg-reverse.exp: New file.
686 * gdb.reverse/time-reverse.c: New test.
687 * gdb.reverse/time-reverse.exp: New file.
688 * gdb.reverse/waitpid-reverse.c: New test.
689 * gdb.reverse/waitpid-reverse.exp: New file.
691 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
693 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
695 2015-10-26 Doug Evans <dje@google.com>
698 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
699 * gdb.dwarf2/bad-regnum.c: New file.
700 * gdb.dwarf2/bad-regnum.exp: New file.
702 2015-10-26 Doug Evans <dje@google.com>
705 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
708 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
710 * gdb.compile/compile.exp (compile code globalvar): Update expectation
711 for a change by "Mention language in compile error message".
713 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
716 * gdb.python/py-type.c (C::a_method): New.
717 (C::a_const_method): New.
718 (C::a_static_method): New.
720 * gdb.python/py-type.exp (test_fields): Test getting fields
721 from function and method.
723 2015-10-21 Keven Boell <keven.boell@intel.com>
725 * gdb.fortran/vla-alloc-assoc.exp: New file.
726 * gdb.fortran/vla-datatypes.exp: New file.
727 * gdb.fortran/vla-datatypes.f90: New file.
728 * gdb.fortran/vla-history.exp: New file.
729 * gdb.fortran/vla-ptype-sub.exp: New file.
730 * gdb.fortran/vla-ptype.exp: New file.
731 * gdb.fortran/vla-sizeof.exp: New file.
732 * gdb.fortran/vla-sub.f90: New file.
733 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
734 * gdb.fortran/vla-value-sub-finish.exp: New file.
735 * gdb.fortran/vla-value-sub.exp: New file.
736 * gdb.fortran/vla-value.exp: New file.
737 * gdb.fortran/vla-ptr-info.exp: New file.
738 * gdb.mi/mi-vla-fortran.exp: New file.
739 * gdb.mi/vla.f90: New file.
741 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
743 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
744 of hardwired timeout value.
746 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
747 Pedro Alves <palves@redhat.com>
749 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
750 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
752 2015-10-19 Josh Stone <jistone@redhat.com>
754 * gdb.base/catch-syscall.c: Include <sched.h>.
755 (unknown_syscall): New variable.
756 (main): Trigger a vfork and an unknown syscall.
757 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
758 (unknown_syscall_number): Likewise.
759 (check_call_to_syscall): Accept an optional syscall pattern.
760 (check_return_from_syscall): Likewise.
761 (check_continue): Likewise.
762 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
763 (test_catch_syscall_skipping_return): New test toggling off 'catch
764 syscall' to step over the syscall return, then toggling back on.
765 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
766 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
767 (do_syscall_tests): Call test_catch_syscall_without_args and
768 test_catch_syscall_mid_vfork.
769 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
770 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
772 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
774 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
775 print g_vE): Add new pass patterns.
776 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
777 print various symbol names for vptr fields.
779 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
781 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
784 2015-10-12 Yao Qi <yao.qi@linaro.org>
786 * gdb.arch/disp-step-insn-reloc.exp: New test case.
788 2015-10-12 Yao Qi <yao.qi@linaro.org>
790 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
791 is aarch64*-*-linux*.
793 2015-10-12 Yao Qi <yao.qi@linaro.org>
795 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
796 (can_relocate_bcond_true): ... it.
797 (can_relocate_bcond_false): New function.
799 (can_relocate_bl): Likewise.
800 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
803 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
805 * gdb.base/nested-addr.c: New file.
806 * gdb.base/nested-addr.exp: New testcase.
808 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
810 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
811 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
812 its output. Ignore the output of "record goto begin" and instead
813 check that GDB is replaying.
815 2015-10-09 Pedro Alves <palves@redhat.com>
817 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
818 (top level): Use it in the run with no args test.
820 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
822 * gdb.dlang/properties.exp: New file.
824 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
826 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
827 whether or not address 0x1000 is mapped on the target.
829 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
831 * gdb.python/py-type.exp: Do not run tests if binaries fail to
834 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
836 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
837 instruction-history test.
839 2015-09-28 Doug Evans <dje@google.com>
841 * gdb.base/gcore.c (array_func): Add reference to static_array.
843 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
845 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
848 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
850 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
851 short or char as base type.
853 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
855 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
856 to allow any size enum.
858 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
860 * gdb.ada/array_ptr_renaming.exp: New testcase.
861 * gdb.ada/array_ptr_renaming/foo.adb: New file.
862 * gdb.ada/array_ptr_renaming/pack.ads: New file.
864 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
866 * gdb.trace/ftrace-lock.c: New file.
867 * gdb.trace/ftrace-lock.exp: New file.
869 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
871 * gdb.arch/insn-reloc.c: New file.
872 * gdb.arch/ftrace-insn-reloc.exp: New file.
874 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
876 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
878 * gdb.trace/pendshr1.c (pendfunc): Likewise.
879 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
880 * gdb.trace/range-stepping.c: Likewise.
881 * gdb.trace/trace-break.c: Likewise.
882 * gdb.trace/trace-mt.c (thread_function): Likewise.
883 * gdb.trace/ftrace.c (marker): Likewise.
884 * gdb.trace/trace-condition.c (marker): Likewise.
885 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
886 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
889 2015-09-18 Doug Evans <xdje42@gmail.com>
891 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
892 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
894 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
896 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
899 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
901 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
902 the pending breakpoint. Remove timeout override for "Run till
903 MI pending breakpoint on pendfunc3 on thread 2" test.
905 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
907 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
910 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
912 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
913 in breakpoint filename pattern.
915 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
917 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
919 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
921 * gdb.linespec/explicit.exp: Check for readline support for
922 tab-completion tests. Fix obvious typo.
924 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
926 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
929 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
931 * gdb.btrace/non-stop.c: New.
932 * gdb.btrace/non-stop.exp: New.
934 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
935 Yao Qi <yao.qi@linaro.org>
937 * gdb.trace/trace-condition.c: New file.
938 * gdb.trace/trace-condition.exp: New file.
940 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
942 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
943 for testing bytecode compilation.
945 2015-09-16 Pedro Alves <palves@redhat.com>
946 Sandra Loosemore <sandra@codesourcery.com>
948 * gdb.threads/non-stop-fair-events.c (timeout): New global.
950 (main): Call pthread_kill and alarm early.
951 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
953 (test): If the target can't hardware step and doesn't support
954 displaced stepping, increase the timeout.
956 2015-09-16 Pedro Alves <palves@redhat.com>
958 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
959 (enable_debug): New procedures.
960 (test): Use them. Bail out if waiting for threads fails.
961 (top level): Bail out if a test fails.
963 2015-09-16 Yao Qi <yao.qi@linaro.org>
965 * gdb.asm/asm-source.exp: Set asm-arch for
967 * gdb.asm/aarch64.inc: New file.
969 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
971 * gdb.ada/array_of_variable_length.exp: New testcase.
972 * gdb.ada/array_of_variable_length/foo.adb: New file.
973 * gdb.ada/array_of_variable_length/pck.adb: New file.
974 * gdb.ada/array_of_variable_length/pck.ads: New file.
976 2015-09-15 Doug Evans <dje@google.com>
978 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
979 of function static local variable.
981 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
983 * gdb.threads/tls-so_extern.exp: New test file.
984 * gdb.threads/tls-so_extern.c: New test file.
985 * gdb.threads/tls-so_extern_main.c: New test file.
987 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
989 * gdb.opt/solib-intra-step-lib.c: New file.
990 * gdb.opt/solib-intra-step-main.c: New file.
991 * gdb.opt/solib-intra-step.exp: New file.
993 2015-09-15 Pedro Alves <palves@redhat.com>
995 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
996 gdb_continue_to_breakpoint instead of gdb_test_multiple.
998 2015-09-14 Pedro Alves <palves@redhat.com>
1000 * gdb.base/hook-stop-continue.c: Delete.
1001 * gdb.base/hook-stop-continue.exp: Delete.
1002 * gdb.base/hook-stop-frame.c: Delete.
1003 * gdb.base/hook-stop-frame.exp: Delete.
1004 * gdb.base/hook-stop.c: New file.
1005 * gdb.base/hook-stop.exp: New file.
1007 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1009 * gdb.ada/access_to_packed_array.exp: New testcase.
1010 * gdb.ada/access_to_packed_array/foo.adb: New file.
1011 * gdb.ada/access_to_packed_array/pack.adb: New file.
1012 * gdb.ada/access_to_packed_array/pack.ads: New file.
1014 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1016 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1019 2015-09-11 Don Breazeal <donb@codesourcery.com>
1021 * gdb.base/foll-exec.c: Add copyright header. Fix
1023 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1024 (do_exec_tests): Use clean_restart in place of zap_session,
1025 and for test initialization. Fix formatting issues. Use
1026 fail in place of perror.
1027 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1028 an expect statement to match an expression with output from
1029 the program under debug.
1030 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1031 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1032 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1033 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1034 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1036 2015-09-09 Doug Evans <dje@google.com>
1038 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1040 2015-09-09 Doug Evans <dje@google.com>
1042 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1044 2015-09-09 Doug Evans <dje@google.com>
1046 * gdb.base/savedregs.exp: Fix typo.
1048 2015-09-09 Pedro Alves <palves@redhat.com>
1050 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1052 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1054 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1055 command actually switches threads. Give up on remaining
1056 tests if target fails to stop at breakpoint.
1058 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1060 * gdb.ada/funcall_char.exp: New testcase.
1061 * gdb.ada/funcall_char/foo.adb: New file.
1063 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1065 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1066 expected outputs. Add two testcases for completing ambiguous
1068 * gdb.ada/complete/aux_pck.adb: New file.
1069 * gdb.ada/complete/aux_pck.ads: New file.
1070 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1071 Ambiguous_Func functions.
1072 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1073 * gdb.ada/complete/pck.adb: Likewise.
1075 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1077 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1078 failures to run the test program under GDB.
1080 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
1082 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1085 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1087 * gdb.base/run-after-attach.exp: New test file.
1088 * gdb.base/run-after-attach.c: New test file.
1090 2015-08-26 Don Breazeal <donb@codesourcery.com>
1092 * gdb.base/foll-exec-2.c: New test program.
1093 * gdb.base/foll-exec-2.exp: New test.
1095 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1097 * gdb.base/nested-subp1.exp: New file.
1098 * gdb.base/nested-subp1.c: New file.
1099 * gdb.base/nested-subp2.exp: New file.
1100 * gdb.base/nested-subp2.c: New file.
1101 * gdb.base/nested-subp3.exp: New file.
1102 * gdb.base/nested-subp3.c: New file.
1104 2015-08-24 Pedro Alves <palves@redhat.com>
1106 * gdb.server/connect-without-multi-process.c: New file.
1107 * gdb.server/connect-without-multi-process.exp: New file.
1109 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1111 * gdb.opt/inline-markers.c: Make z int.
1113 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1115 * gdb.opt/inline-markers.c: Make z volatile.
1117 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1119 * gdb.opt/inline-bt.c: New volatile global z.
1120 * gdb.opt/inline-cmds.c: Likewise.
1121 * gdb.opt/inline-locals.c: Likewise.
1122 * gdb.opt/inline-markers.c: New extern global z.
1124 (inline_fn): Likewise.
1126 2015-08-24 Pedro Alves <palves@redhat.com>
1128 * config/m32r-stub.exp: Remove file.
1129 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1130 * gdb.base/call-rt-st.exp: Likewise.
1131 * gdb.base/call-strs.exp: Likewise.
1132 * gdb.base/default.exp: Remove references to h8300-*-hms and
1134 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1136 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1138 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1139 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1140 and "return" use KFAIL when GDB can not read/write the vector
1143 2015-08-21 Gary Benson <gbenson@redhat.com>
1145 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1147 2015-08-20 Pedro Alves <palves@redhat.com>
1149 * gdb.server/solib-list.exp: No longer expect an interior stop in
1152 2015-08-20 Pedro Alves <palves@redhat.com>
1154 * gdb.server/connect-stopped-target.c: New file.
1155 * gdb.server/connect-stopped-target.exp: New file.
1157 2015-08-20 Pedro Alves <palves@redhat.com>
1159 * gdb.dwarf2/comp-unit-lang.exp: New file.
1160 * gdb.dwarf2/comp-unit-lang.c: New file.
1162 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1164 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1165 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1167 2015-08-19 Kevin Buettner <kevinb@redhat.com>
1169 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1170 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1172 2015-08-18 Doug Evans <dje@google.com>
1173 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1175 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1176 skip_python_tests. New arg prompt_regexp.
1177 (skip_python_tests): New function.
1178 * lib/mi-support.exp (mi_skip_python_tests): New function.
1179 * gdb.python/py-mi-objfile-gdb.py: New file.
1180 * gdb.python/py-mi-objfile.c: New file.
1181 * gdb.python/py-mi-objfile.exp: New file.
1183 2015-08-17 Keith Seitz <keiths@redhat.com>
1185 * gdb.linespec/explicit.exp: Move strace test from here ...
1186 * gdb.trace/strace.exp: ... to here.
1188 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1190 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1191 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1193 2015-08-14 Doug Evans <xdje42@gmail.com>
1195 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
1196 inferior before selecting a new file.
1198 2015-08-14 Doug Evans <xdje42@gmail.com>
1200 * gdb.mi/mi-disassemble.exp: Update.
1201 * gdb.base/disasm-optim.S: New file.
1202 * gdb.base/disasm-optim.c: New file.
1203 * gdb.base/disasm-optim.h: New file.
1204 * gdb.base/disasm-optim.exp: New file.
1206 2015-08-14 Keith Seitz <keiths@redhat.com>
1208 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
1211 2015-08-13 Joel Brobecker <brobecker@adacore.com>
1213 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
1215 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
1217 * gdb.ada/fun_renaming.exp: New testcase.
1218 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
1219 * gdb.ada/fun_renaming/pack.adb: New file.
1220 * gdb.ada/fun_renaming/pack.ads: New file.
1222 2015-08-12 Keith Seitz <keiths@redhat.com>
1224 * gdb.base/dso2dso.exp: Pass basename of source file in call to
1225 gdb_get_line_number.
1227 2015-08-12 Joel Brobecker <brobecker@adacore.com>
1229 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
1230 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
1231 gdb.base/dso2dso.exp: New files.
1233 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
1234 Pedro Alves <palves@redhat.com>
1235 Keith Seitz <keiths@redhat.com>
1237 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
1240 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1242 * gdb.base/gdbhistsize-history.exp
1243 (test_histsize_history_setting): Use save_vars.
1244 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1246 (test_no_truncation_of_unlimited_history_file): Use save_vars.
1247 * gdb.base/readline.exp: Use save_vars.
1249 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1251 * lib/gdb.exp (save_vars): New proc.
1253 2015-08-11 Keith Seitz <keiths@redhat.com>
1255 * gdb.base/help.exp: Update help_breakpoint_text.
1257 2015-08-11 Keith Seitz <keiths@redhat.com>
1259 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
1260 (at toplevel): Call test_explicit_breakpoints.
1261 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
1263 * lib/mi-support.exp (mi_make_breakpoint): Add support for
1264 breakpoint conditions, "-cond".
1266 2015-08-11 Keith Seitz <keiths@redhat.com>
1268 * gdb.linespec/3explicit.c: New file.
1269 * gdb.linespec/cpexplicit.cc: New file.
1270 * gdb.linespec/cpexplicit.exp: New file.
1271 * gdb.linespec/explicit.c: New file.
1272 * gdb.linespec/explicit.exp: New file.
1273 * gdb.linespec/explicit2.c: New file.
1274 * gdb.linespec/ls-errs.exp: Add explicit location tests.
1275 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
1276 before using in the matching pattern.
1277 Clarify that `prefix' is a regular expression.
1279 2015-08-11 Keith Seitz <keiths@redhat.com>
1281 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
1283 Add tests for missing ",FMT" and ",".
1285 2015-08-10 Doug Evans <dje@google.com>
1286 Keith Seitz <keiths@redhat.com>
1289 * gdb.base/completion.exp: Add location completer tests.
1291 2015-08-07 Pedro Alves <palves@redhat.com>
1293 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
1295 (top level): Run do_test with and without displaced stepping.
1297 2015-08-07 Pedro Alves <palves@redhat.com>
1299 * gdb.base/valgrind-disp-step.c: New file.
1300 * gdb.base/valgrind-disp-step.exp: New file.
1302 2015-08-07 Pedro Alves <palves@redhat.com>
1304 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
1306 (main): Add alarm. Run an infinite loop instead of calling
1308 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
1310 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
1312 (main): Add alarm. Run an infinite loop instead of calling
1314 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
1317 2015-08-07 Pedro Alves <palves@redhat.com>
1319 * gdb.base/checkpoint-ns.exp: New file.
1320 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
1323 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
1325 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
1326 * gdb.btrace/instruction_history.exp: Update.
1327 * gdb.btrace/tsx.exp: New.
1328 * gdb.btrace/tsx.c: New.
1330 2015-08-06 Pedro Alves <palves@redhat.com>
1332 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
1334 * gdb.reverse/until-precsave.exp: Bump timeouts.
1336 2015-08-06 Pedro Alves <palves@redhat.com>
1338 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
1340 2015-08-06 Pedro Alves <palves@redhat.com>
1343 * gdb.threads/process-dies-while-handling-bp.c: New file.
1344 * gdb.threads/process-dies-while-handling-bp.exp: New file.
1346 2015-08-06 Pedro Alves <palves@redhat.com>
1348 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
1349 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
1351 2015-08-05 Pedro Alves <palves@redhat.com>
1353 * gdb.threads/next-while-other-thread-longjmps.c: New file.
1354 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
1356 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
1358 * gdb.base/bp-permanent.exp: Report test as unsupported if
1359 the target cannot stop at the permanent breakpoint.
1361 2015-08-03 Doug Evans <dje@google.com>
1363 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
1366 2015-08-03 Doug Evans <dje@google.com>
1368 * Makefile.in (workers/%.worker, build-perf): New rule.
1369 (GDB_PERFTEST_MODE): New variable.
1370 (check-perf): Use it.
1371 (clean): Clean up gdb.perf parallel build subdirs.
1372 * lib/build-piece.exp: New file.
1373 * lib/gdb.exp (make_gdb_parallel_path): New function
1374 (standard_output_file, standard_temp_file): Call it.
1375 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1377 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
1379 2015-08-03 Doug Evans <dje@google.com>
1381 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
1382 (LOG_FILE_NAME): New global.
1383 (TextReporter.__init__): Initialize self.txt_sum.
1384 (TextReporter.report): Add support for multiple data-points.
1385 Move report to perftest.sum, put raw data in perftest.log.
1386 (TextReporter.start): Open sum and log files.
1387 (TextReporter.end): Close sum and log files.
1388 * gdb.perf/lib/perftest/testresult.py
1389 (SingleStatisticTestResult.record): Handle multiple data-points.
1391 2015-07-31 Pedro Alves <palves@redhat.com>
1393 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
1394 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1395 kill_wait_spawned_process instead of explicit "kill -9".
1396 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
1397 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1398 kill_wait_spawned_process.
1399 * gdb.base/attach-twice.exp: Likewise.
1400 * gdb.base/attach.exp: Likewise.
1401 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
1403 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
1404 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1405 kill_wait_spawned_process.
1406 * gdb.base/valgrind-infcall.exp: Likewise.
1407 * gdb.multi/multi-attach.exp: Likewise.
1408 * gdb.python/py-prompt.exp: Likewise.
1409 * gdb.python/py-sync-interp.exp: Likewise.
1410 * gdb.server/ext-attach.exp: Likewise.
1411 * gdb.threads/attach-into-signal.exp (corefunc): Use
1412 spawn_wait_for_attach, spawn_id_get_pid and
1413 kill_wait_spawned_process.
1414 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
1415 spawn_wait_for_attach returning a spawn id instead of a pid. Use
1416 spawn_id_get_pid and kill_wait_spawned_process.
1417 * gdb.threads/attach-stopped.exp (corefunc): Use
1418 spawn_wait_for_attach, spawn_id_get_pid and
1419 kill_wait_spawned_process.
1420 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
1421 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1422 kill_wait_spawned_process instead of explicit "kill -9".
1423 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
1424 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
1425 (spawn_wait_for_attach): Use spawn instead of exec to spawn
1426 processes. Don't map cygwin/windows pids here. Now returns a
1429 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1431 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
1432 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
1435 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1437 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
1439 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1442 2014-05-21 Mark Wielaard <mjw@redhat.com>
1444 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1446 2015-07-30 Pedro Alves <palves@redhat.com>
1448 * linux-low.c (handle_extended_wait): Set the child's last
1449 reported status to TARGET_WAITKIND_STOPPED.
1451 2015-07-30 Pedro Alves <palves@redhat.com>
1454 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
1455 only shows inferior 1.
1457 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
1458 Pedro Alves <palves@redhat.com>
1461 * gdb.threads/fork-plus-threads.c: New file.
1462 * gdb.threads/fork-plus-threads.exp: New file.
1464 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1466 * gdb.base/batch-preserve-term-settings.exp
1467 (test_terminal_settings_preserved_after_cli_exit): Use
1470 2015-07-29 Pedro Alves <palves@redhat.com>
1471 Don Breazeal <donb@codesourcery.com>
1473 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
1474 output from both inferior_spawn_id and gdb_spawn_id.
1476 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1478 * gdb.threads/attach-into-signal.exp (corefunc): Use
1479 with_test_prefix on nested loops, uniquefying the test messages.
1481 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1483 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
1486 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1488 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
1490 (test_terminal_settings_preserved_after_sigterm): New test.
1492 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1494 * gdb.base/batch-preserve-term-settings.exp
1495 (test_terminal_settings_preserved_after_cli_exit): New test.
1497 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1499 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
1500 manipulation of saved_gdbflags.
1501 (test_terminal_settings_preserved): Remove global declaration of
1502 the unused variable pagination_prompt. Remove manipulation of
1503 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
1506 2015-07-29 Pedro Alves <palves@redhat.com>
1508 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
1510 2015-07-29 Pedro Alves <palves@redhat.com>
1512 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
1515 2015-07-29 Pedro Alves <palves@redhat.com>
1517 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
1518 (main): Call gdb_unbuffer_output.
1519 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
1520 (main): Call gdb_unbuffer_output.
1521 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
1522 (main): Call gdb_unbuffer_output.
1523 * gdb.base/call-strs.exp: Adjust to step over the
1524 gdb_unbuffer_output call.
1525 * gdb.base/catch-gdb-caused-signals.c: Include
1526 "../lib/unbuffer_output.c".
1527 (main): Call gdb_unbuffer_output.
1528 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
1529 (main): Call gdb_unbuffer_output.
1530 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
1531 (main): Call gdb_unbuffer_output.
1532 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
1533 (main): Call gdb_unbuffer_output.
1534 * gdb.base/shlib-call.exp: Adjust to step over the
1535 gdb_unbuffer_output call.
1536 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
1537 (main): Call gdb_unbuffer_output.
1538 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
1539 (main): Call gdb_unbuffer_output.
1540 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
1541 (main): Rename to ...
1543 (main): Reimplement.
1544 * gdb.base/varargs.exp: Run to test instead of to main.
1545 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
1546 (main): Call gdb_unbuffer_output.
1548 2015-07-29 Pedro Alves <palves@redhat.com>
1550 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
1551 factore out from mi_continue_dprintf. For call-style dprintfs,
1552 expect dprintf output out of $inferior_spawn_id.
1553 (mi_continue_dprintf): Use mi_expect_dprintf.
1554 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
1555 (main): Call gdb_unbuffer_output.
1557 2015-07-29 Pedro Alves <palves@redhat.com>
1559 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
1560 (default_mi_gdb_start): Set inferior_spawn_id instead of
1561 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
1563 (mi_gdb_test): Always expect inferior output from both
1564 $inferior_spawn_id and $gdb_spawn_id.
1566 2015-07-29 Pedro Alves <palves@redhat.com>
1568 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
1569 send_inferior and $inferior_spawn_id.
1571 2015-07-29 Pedro Alves <palves@redhat.com>
1573 * gdb.gdb/complaints.exp (test_initial_complaints)
1574 (test_serial_complaints, test_short_complaints): Use
1576 (test_empty_complaint): Handle $inferior_spawn_id !=
1579 2015-07-29 Pedro Alves <palves@redhat.com>
1581 * gdb.base/varargs.exp: Use gdb_test_stdio.
1583 2015-07-29 Pedro Alves <palves@redhat.com>
1585 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
1587 2015-07-29 Pedro Alves <palves@redhat.com>
1589 * gdb.base/ending-run.exp: Use gdb_test_stdio.
1591 2015-07-29 Pedro Alves <palves@redhat.com>
1593 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
1594 parameter into two new parameters, "inf_result" and "gdb_result".
1595 Expect inferior output and gdb output from $inferior_spawn_id and
1596 $gdb_spawn_id, respectively. Adjust all callers.
1598 2015-07-29 Pedro Alves <palves@redhat.com>
1600 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
1601 of gdb_test_sequence.
1603 2015-07-29 Pedro Alves <palves@redhat.com>
1605 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
1606 (saw_spurious_output): Expect inferior output from
1607 $inferior_spawn_id. Use gdb_test_stdio.
1609 2015-07-29 Pedro Alves <palves@redhat.com>
1611 * gdb.base/dprintf.exp: Use standard_testfile. Change
1612 prepare_for_testing call.
1613 (srcfile): Don't set.
1614 (restart): New procedure.
1615 (test_dprintf): New procecure, use to continue over dprintfs.
1616 (test_call, test_agent): New procedures, tests moved here.
1617 Restart gdb and recreate dprintfs. Adjust expected output.
1619 2015-07-29 Pedro Alves <palves@redhat.com>
1621 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
1623 2015-07-29 Pedro Alves <palves@redhat.com>
1625 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
1627 2015-07-29 Pedro Alves <palves@redhat.com>
1629 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
1632 2015-07-29 Pedro Alves <palves@redhat.com>
1634 * lib/gdb.exp (gdb_test_stdio): New procedure.
1636 2015-07-29 Pedro Alves <palves@redhat.com>
1638 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
1640 2015-07-29 Pedro Alves <palves@redhat.com>
1642 * gdb.base/call-signal-resume.exp: Remove check for
1643 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
1644 * gdb.base/unwindonsignal.exp: Likewise.
1645 * gdb.base/call-signals.c (gen_signal): Remove printf call.
1646 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
1648 2015-07-29 Pedro Alves <palves@redhat.com>
1650 * gdb.base/siginfo-addr.c (pass): New function.
1651 (handler): Call it iff si_addr is correct.
1652 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
1653 Set a breakpoint at "pass" and continue to it.
1655 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
1657 * gdb.python/py-objfile.exp: Make some tests have unique names.
1658 * gdb.python/py-pp-registration.exp: Likewise.
1660 2015-07-28 Pedro Alves <palves@redhat.com>
1662 * gdb.server/server-exec-info.exp: Issue a "disconnect".
1664 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
1666 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
1668 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
1670 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
1672 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
1674 * gdb.base/gdb-sigterm-2.exp: New test.
1676 2015-07-25 Doug Evans <xdje42@gmail.com>
1679 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
1680 (workers/%.worker, build-perf): New rule.
1681 (GDB_PERFTEST_MODE): New variable.
1682 (check-perf): Use it.
1683 (clean): Clean up gdb.perf parallel build subdirs.
1684 * lib/build-piece.exp: New file.
1685 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
1686 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
1688 (standard_temp_file): Ditto.
1689 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1692 2015-07-24 Doug Evans <dje@google.com>
1694 * gdb.perf/lib/perftest/utils.py: New file.
1695 * gdb.perf/gm-hello.cc: New file.
1696 * gdb.perf/gm-pervasive-typedef.cc: New file.
1697 * gdb.perf/gm-pervasive-typedef.h: New file.
1698 * gdb.perf/gm-std.cc: New file.
1699 * gdb.perf/gm-std.h: New file.
1700 * gdb.perf/gm-use-cerr.cc: New file.
1701 * gdb.perf/gm-utils.h: New file.
1702 * gdb.perf/gmonster-null-lookup.py: New file.
1703 * gdb.perf/gmonster-pervasive-typedef.py: New file.
1704 * gdb.perf/gmonster-print-cerr.py: New file.
1705 * gdb.perf/gmonster-ptype-string.py: New file.
1706 * gdb.perf/gmonster-runto-main.py: New file.
1707 * gdb.perf/gmonster-select-file.py: New file.
1708 * gdb.perf/gmonster1-null-lookup.exp: New file.
1709 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
1710 * gdb.perf/gmonster1-print-cerr.exp: New file.
1711 * gdb.perf/gmonster1-ptype-string.exp: New file.
1712 * gdb.perf/gmonster1-runto-main.exp: New file.
1713 * gdb.perf/gmonster1-select-file.exp: New file.
1714 * gdb.perf/gmonster1.cc: New file.
1715 * gdb.perf/gmonster1.exp: New file.
1716 * gdb.perf/gmonster2-null-lookup.exp: New file.
1717 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
1718 * gdb.perf/gmonster2-print-cerr.exp: New file.
1719 * gdb.perf/gmonster2-ptype-string.exp: New file.
1720 * gdb.perf/gmonster2-runto-main.exp: New file.
1721 * gdb.perf/gmonster2-select-file.exp: New file.
1722 * gdb.perf/gmonster2.cc: New file.
1723 * gdb.perf/gmonster2.exp: New file.
1725 2015-07-24 Doug Evans <dje@google.com>
1727 * gdb.perf/README: New file.
1728 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
1729 * lib/gen-perf-test.exp: New file.
1731 2015-07-24 Doug Evans <dje@google.com>
1733 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
1734 (PerfTest::startup): New function.
1735 (PerfTest::run): Return result of calling body.
1736 (PerfTest::assemble): Rewrite.
1737 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
1738 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
1739 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
1740 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
1741 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
1743 2015-07-24 Doug Evans <dje@google.com>
1745 * lib/gdb.exp (clean_restart): Make executable optional.
1747 2015-07-24 Doug Evans <dje@google.com>
1749 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
1750 compiler_info references.
1751 * gdb.cp/temargs.exp: Ditto.
1752 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
1753 (get_compiler_info): Early exit if already computed. Set compiler_info
1754 to "unknown" if there was a problem.
1755 (test_compiler_info): Add function comment. Call get_compiler_info.
1757 2015-07-24 Doug Evans <dje@google.com>
1759 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
1760 (workers/%.worker, build-perf): New rule.
1761 (GDB_PERFTEST_MODE): New variable.
1762 (check-perf): Use it.
1763 (clean): Clean up gdb.perf parallel build subdirs.
1764 * lib/build-piece.exp: New file.
1765 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
1766 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
1768 (standard_temp_file): Ditto.
1769 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1772 2015-07-24 Doug Evans <dje@google.com>
1774 * lib/future.exp (gdb_default_target_compile): New option
1776 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
1779 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
1781 * gdb.base/catch-syscall.exp: Call gdb_exit before
1784 2015-07-24 Pedro Alves <palves@redhat.com>
1786 * gdb.python/py-events.exp: Accept output between the stop event
1788 * gdb.python/py-evsignal.exp: Likewise.
1789 * gdb.python/py-evthreads.exp: Likewise.
1791 2015-07-24 Pedro Alves <palves@redhat.com>
1794 * gdb.threads/non-ldr-exit.c: New file.
1795 * gdb.threads/non-ldr-exit.exp: New file.
1797 2015-07-24 Yao Qi <yao.qi@linaro.org>
1799 * gdb.server/ext-wrapper.exp: Test --wrapper option when
1802 2015-07-24 Yao Qi <yao.qi@linaro.org>
1804 * gdb.server/ext-restart.exp: New file.
1806 2015-07-24 Yao Qi <yao.qi@linaro.org>
1808 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
1810 * gdb.server/ext-wrapper.exp: New file.
1812 2015-07-23 Doug Evans <dje@google.com>
1814 * gdb.dwarf2/dw2-dummy-cu.S: New file.
1815 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
1817 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
1819 * gdb.ada/var_arr_typedef.exp: New testcase.
1820 * gdb.ada/var_arr_typedef/pack.adb: New file.
1821 * gdb.ada/var_arr_typedef/pack.ads: New file.
1822 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
1824 2015-07-20 Joel Brobecker <brobecker@adacore.com>
1826 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
1828 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1830 * gdb.arch/i386-biarch-core.exp: Replace istarget
1831 by "complete set gnutarget". Remove expectation for the "core-file"
1834 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1836 Revert the previous commit:
1837 Tests for validate symbol file using build-id.
1839 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
1841 Tests for validate symbol file using build-id.
1842 * gdb.base/solib-mismatch-lib.c: New file.
1843 * gdb.base/solib-mismatch-libmod.c: New file.
1844 * gdb.base/solib-mismatch.c: New file.
1845 * gdb.base/solib-mismatch.exp: New file.
1847 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
1849 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
1851 * gdb.base/sigbpt.exp (stepi_out): Likewise.
1852 * gdb.base/siginfo.exp: Likewise.
1853 * gdb.base/sigstep.exp (advance, advancei): Likewise.
1855 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
1857 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
1859 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
1861 * gdb.trace/range-stepping.exp: Check that the target supports
1864 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1866 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
1868 2015-07-14 Pedro Alves <palves@redhat.com>
1870 * gdb.base/killed-outside.exp: New file.
1871 * gdb.base/killed-outside.c: New file.
1873 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1875 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
1877 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
1879 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
1881 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
1882 infcall tests instead of setting up for KFAIL.
1884 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
1886 * gdb.btrace/record_goto-step.exp: New.
1888 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1891 * gdb.compile/compile.c (struct struct_type): Add volatile to
1893 * gdb.compile/compile.exp
1894 (compile code struct_object.selffield = &struct_object): Skip further
1895 struct_object tests if this one xfails.
1897 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
1900 * gdb.trace/ax.exp: Add test.
1902 2015-07-07 Yao Qi <yao.qi@linaro.org>
1904 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
1905 instead of istarget "aarch64*-*-*".
1906 * gdb.arch/aarch64-fp.exp: Likewise.
1907 * gdb.base/float.exp: Likewise.
1908 * gdb.reverse/aarch64.exp: Likewise.
1909 * lib/gdb.exp (is_aarch64_target): New proc.
1911 2015-07-07 Yao Qi <yao.qi@linaro.org>
1913 * lib/gdb.exp (is_aarch32_target): New proc.
1914 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
1915 instead of "istarget "arm*-*-*"".
1916 * gdb.arch/arm-disp-step.exp: Likewise.
1917 * gdb.arch/thumb-bx-pc.exp: Likewise.
1918 * gdb.arch/thumb-prologue.exp: Likewise.
1919 * gdb.arch/thumb-singlestep.exp: Likewise.
1920 * gdb.base/disp-step-syscall.exp: Likewise.
1921 * gdb.base/float.exp: Likewise.
1923 2015-07-07 Yao Qi <yao.qi@linaro.org>
1925 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
1926 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
1928 2015-07-07 Yao Qi <yao.qi@linaro.org>
1930 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
1931 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
1933 * gdb.multi/multi-arch.exp: Likewise.
1935 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
1937 * gdb.python/py-lazy-string.exp: Add missing parentheses to
1940 2015-07-07 Yao Qi <yao.qi@linaro.org>
1942 * gdb.arch/thumb-singlestep.exp: Do one more single step.
1944 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
1946 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
1947 '[' and ']' characters.
1949 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
1951 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1953 2015-06-29 Pedro Alves <palves@redhat.com>
1956 * gdb.threads/hand-call-new-thread.c: New file.
1957 * gdb.threads/hand-call-new-thread.c: New file.
1959 2015-06-26 Keith Seitz <keiths@redhat.com>
1960 Doug Evans <dje@google.com>
1963 * gdb.cp/var-tag-2.cc: New file.
1964 * gdb.cp/var-tag-3.cc: New file.
1965 * gdb.cp/var-tag-4.cc: New file.
1966 * gdb.cp/var-tag.cc: New file.
1967 * gdb.cp/var-tag.exp: New file.
1969 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
1971 * gdb.base/history-duplicates.exp: New test.
1973 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
1975 * gdb.base/completion.exp: Test the completion of the "focus"
1978 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1980 * gdb.arch/amd64-prologue-skip.S: New file.
1981 * gdb.arch/amd64-prologue-skip.exp: New file.
1983 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
1985 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
1986 is_address_zero_readable check.
1988 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
1990 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
1991 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
1993 2015-06-24 Yao Qi <yao.qi@linaro.org>
1995 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
1998 2015-06-24 Yao Qi <yao.qi@linaro.org>
2000 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2001 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2002 * gdb.base/siginfo-thread.exp: Likewise.
2004 2015-06-22 Yao Qi <yao.qi@linaro.org>
2006 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2008 2015-06-22 Yao Qi <yao.qi@linaro.org>
2010 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2012 (skip_hw_watchpoint_tests): Likewise.
2014 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2016 * gdb.base/gdbinit-history.exp: Test the interaction between
2017 setting GDBHISTSIZE and setting the history size via .gdbinit.
2019 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2022 * gdb.base/gdbhistsize-history.exp: New test.
2024 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2026 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2028 * gdb.base/readline.exp: Likewise.
2030 2015-06-17 Yao Qi <yao.qi@linaro.org>
2032 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2035 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2037 * gdb.base/gdbinit-history.exp: Add test case to check that
2038 an unlimited history file does not get truncated on exit.
2040 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2042 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2043 (VECTOR): New macro. Use it...
2044 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2045 ...for these typedefs.
2046 (int8, char1, int1, double1): New typedefs.
2047 (struct just_int2, struct two_int2): New structures.
2048 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2049 (add_structvecs, add_singlevecs): New functions.
2050 (main): Call add_some_intvecs twice.
2051 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2052 the compile and exit upon failure. Try compiling for the "native"
2053 architecture. Test inferior function calls with vector arguments
2054 and vector return value handling with "finish" and "return".
2056 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2058 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2059 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2061 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2063 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2065 PR breakpoints/16465
2066 * gdb.mi/mi-dprintf-pending.c: New file.
2067 * gdb.mi/mi-dprintf-pending.exp: New test.
2068 * gdb.mi/mi-dprintf-pendshr.c: New file.
2070 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2071 Mircea Gherzan <mircea.gherzan@intel.com>
2073 * gdb.arch/i386-mpx-map.c: New file.
2074 * gdb.arch/i386-mpx-map.exp: New File.
2076 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2078 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2079 * gdb.arch/i386-mpx.exp: Indentation fixed.
2081 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2083 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2084 function and improved indentation.
2085 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2086 gdb_test_multiple. Added additional tests to skip the test.
2088 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2090 * gdb.arch/i386-avx512.c: Change path in include file.
2091 * gdb.arch/i386-avx512.exp: Change include dir path
2093 * gdb.arch/i386-mpx.c: Change path in include file.
2094 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2097 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2099 * gdb.compile/compile-print.exp (compile print *vararray@3)
2100 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2102 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2104 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2105 (do not keep jit in memory): ... this.
2106 (expect 5): Change it to ...
2107 (expect no 5): ... this.
2109 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2112 * gdb.mi/mi-detach.exp: New file.
2114 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2117 * gdb.arch/amd64-tailcall-self.S: New file.
2118 * gdb.arch/amd64-tailcall-self.c: New file.
2119 * gdb.arch/amd64-tailcall-self.exp: New file.
2121 2015-05-28 Don Breazeal <donb@codesourcery.com>
2123 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2124 tests for remote targets by checking is_target_gdbserver.
2126 2015-05-27 Doug Evans <dje@google.com>
2128 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2129 * gdb.dwarf2/opaque-type-lookup.c: New file.
2130 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2132 2015-05-26 Doug Evans <dje@google.com>
2134 * gdb.cp/iostream.cc: New file.
2135 * gdb.cp/iostream.exp: New file.
2137 2015-05-26 Doug Evans <dje@google.com>
2139 * gdb.dwarf2/dw2-op-call.exp: Update.
2140 * gdb.dwarf2/dw4-sig-types.exp: Update.
2141 * gdb.dwarf2/implptr.exp: Update.
2142 * gdb.mi/mi-cmd-param-changed.exp: Update.
2144 2015-05-26 Doug Evans <dje@google.com>
2146 * gdb.python/py-lazy-string.c: New file.
2147 * gdb.python/py-lazy-string.exp: New file.
2148 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2149 (main): Update. Add estring3.
2150 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2151 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2153 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2154 Yao Qi <yao.qi@linaro.org>
2156 * gdb.reverse/aarch64.c: New.
2157 * gdb.reverse/aarch64.exp: New.
2159 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2161 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2162 (supports_reverse): Likewise.
2164 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2166 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2167 Use with_test_prefix.
2169 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2171 * gdb.base/completion.exp: Add test for completion of layout
2174 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2176 * lib/gdb.exp (skip_tui_tests): New proc.
2177 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2179 2015-05-19 Pedro Alves <palves@redhat.com>
2181 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2182 Save the whole env array instead of just HOME. Unset HISTSIZE in
2183 the environment while testing. Restore whole environment
2186 2015-05-16 Doug Evans <xdje42@gmail.com>
2188 * gdb.guile/scm-ports.c: New file.
2189 * gdb.guile/scm-ports.exp: Add memory port tests.
2191 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2193 * gdb.compile/compile-print.c: New file.
2194 * gdb.compile/compile-print.exp: New file.
2196 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2198 * gdb.compile/compile-ops.exp: Cast param to void.
2199 * gdb.compile/compile.exp: Complete type for _gdb_expr.
2200 (compile code struct_object.selffield = &struct_object): Add xfail.
2202 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2204 * gdb.ada/arr_enum_with_gap: New testcase.
2206 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2208 * gdb.ada/byte_packed_arr: New testcase.
2210 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2212 * gdb.ada/pckd_neg: New testcase.
2214 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
2217 * gdb.base/gdbinit-history.exp: New test.
2218 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
2219 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
2221 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
2223 * gdb.python/py-xmethods.cc: Enhance test case.
2224 * gdb.python/py-xmethods.exp: New tests.
2225 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
2227 (B_indexoper): Likewise.
2228 (global_dm_list) : Add new xmethod worker functions.
2230 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
2232 * gdb.base/coredump-filter.exp: Correctly unset
2233 "coredump_var_addr" array.
2235 2015-05-08 Pedro Alves <palves@redhat.com>
2237 * gdb.server/non-existing-program.exp: Unset spawn_id.
2239 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
2242 * gdb.python/py-xmethods.exp: Add tests.
2244 2015-05-08 Yao Qi <yao.qi@linaro.org>
2247 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
2248 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
2249 function set_coredump_filter, and remove remote_exec call.
2250 Remove argument ipid. Callers update.
2251 (top level): Don't get inferior's PID.
2253 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
2255 * gdb.base/watch_thread_num.exp: Skip test on targets without
2258 2015-05-06 Pedro Alves <palves@redhat.com>
2261 * gdb.server/non-existing-program.exp: New file.
2263 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2265 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
2267 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2269 * gdb.ada/out_of_line_in_inlined: New testcase.
2271 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2273 * gdb.ada/var_rec_arr: New testcase.
2275 2015-04-30 Yao Qi <yao.qi@linaro.org>
2277 * gdb.base/break-idempotent.exp: If
2278 skip_hw_watchpoint_multi_tests returns true, skip the tests
2279 on "rwatch" and "awatch".
2281 2015-04-30 Yao Qi <yao.qi@linaro.org>
2283 * gdb.base/relativedebug.exp: Invoke gdb command
2284 "info sharedlibrary", and if libc.so doesn't have debug info,
2287 2015-04-29 Doug Evans <dje@google.com>
2289 * gdb.python/py-xmethods.exp: Add ptype tests.
2290 * gdb.python/py-xmethods.py (E_method_char_worker): Add
2291 get_result_type method.
2293 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
2295 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
2296 the target does not support hardware watchpoints.
2298 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
2300 * gdb.base/break-always.exp: Abort testing if writing to memory
2303 2015-04-28 Doug Evans <dje@google.com>
2305 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
2306 * gdb.python/py-pp-registration.exp: ... here. New file.
2307 * gdb.python/py-pp-registration.c: New file.
2308 * gdb.python/py-pp-registration.py: New file.
2310 2015-04-28 Doug Evans <dje@google.com>
2312 * gdb.python/py-bad-printers.c: New file.
2313 * gdb.python/py-bad-printers.py: New file.
2314 * gdb.python/py-bad-printers.exp: New file.
2316 2015-04-28 Sasha Smundak <asmundak@google.com>
2318 * gdb.python/py-type.exp: New test.
2320 2015-04-28 Andy Wingo <wingo@igalia.com>
2322 * gdb.python/py-parameter.exp:
2323 * gdb.guile/scm-parameter.exp: Escape the path that we are
2324 matching against, as it might contain characters that are special
2325 to regular expressions.
2327 2015-04-27 Joel Brobecker <brobecker@adacore.com>
2329 * gdb.ada/rec_comp: New testcase.
2331 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
2333 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
2336 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
2338 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
2339 new tests for verilog output.
2341 2015-04-24 Yao Qi <yao.qi@linaro.org>
2343 * boards/remote-gdbserver-on-localhost.exp: New file.
2345 2015-04-23 Pedro Alves <palves@redhat.com>
2347 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
2348 $inferior_spawn_id instead of $inferior_spawn_id directly. On
2349 "end of file", remove $inferior_spawn_id from the indirect list.
2351 2015-04-23 Pedro Alves <palves@redhat.com>
2353 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
2355 2015-04-23 Pedro Alves <palves@redhat.com>
2357 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
2358 on $any_spawn_id instead of only on $gdb_spawn_id.
2360 2015-04-21 Pierre Muller <muller@sourceware.org>
2363 * lib/pascal.exp (gpc_compile): Add new option "class".
2364 (fpc_compile): Likewise.
2365 * gdb.pascal/case-insensitive-symbols.pas: New file.
2366 * gdb.pascal/case-insensitive-symbols.exp: New file.
2368 2015-04-20 Gary Benson <gbenson@redhat.com>
2370 * gdb.base/attach.exp: Fix three extended remote failures.
2372 2015-04-17 Gary Benson <gbenson@redhat.com>
2374 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
2375 the main executable over the remote protocol.
2377 2015-04-16 Pedro Alves <palves@redhat.com>
2379 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
2380 a new gdbserver if gdbserver_reconnect_p is set.
2382 2015-04-16 Pedro Alves <palves@redhat.com>
2384 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
2385 is set, don't exit gdbserver.
2387 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2389 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
2390 appropriate .insn, such that an older assembler can be used.
2391 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
2392 the z/Architecture instruction set on 31-bit targets as well.
2394 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2396 * gdb.go/handcall.exp: Remove all logic related to the first
2397 breakpoint and rely on go_runto_main instead.
2398 * gdb.go/strings.exp: Likewise.
2399 * gdb.go/unsafe.exp: Likewise.
2400 * gdb.go/hello.exp: Likewise. Also rename the remaining
2401 breakpoint marker to "breakpoint 1".
2402 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
2403 * gdb.go/strings.go: Likewise.
2404 * gdb.go/unsafe.go: Likewise.
2405 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
2406 "set breakpoint 2 here" and rename the remaining breakpoint marker
2409 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
2411 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
2412 if itertools.imap is not present.
2413 * gdb.python/py-objfile.exp: Add parentheses.
2414 * gdb.python/py-type.exp: Same.
2415 * gdb.python/py-unwind-maint.py: Same.
2417 2015-04-15 Yao Qi <yao.qi@linaro.org>
2419 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
2420 of ":$ptr_size" and set its form explicitly.
2422 2015-04-15 Pedro Alves <palves@redhat.com>
2423 Yao Qi <yao.qi@linaro.org>
2425 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
2426 timeout by factor of 4.
2427 (test_regular_watch): Likewise.
2428 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
2429 * gdb.reverse/sigall-reverse.exp: Likewise.
2430 * gdb.reverse/until-precsave.exp: Likewise.
2431 * lib/gdb.exp (with_timeout_factor): New proc.
2432 (gdb_expect): Move some code to ...
2433 (get_largest_timeout): ... here. New procedure.
2435 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
2437 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
2439 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
2441 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
2442 to write to the .text section.
2444 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
2446 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
2447 Handle the case of targets that do not provide PID information.
2449 2015-04-13 Yao Qi <yao.qi@linaro.org>
2451 * lib/gdbserver-support.exp (gdb_exit): Catch exception
2452 and use expect instead of gdb_expect.
2454 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
2456 * gdb.base/coredump-filter.exp: Rename variable "addr" to
2457 "coredump_var_addr" to avoid naming conflict with other testcases.
2459 2015-04-10 Pedro Alves <palves@redhat.com>
2461 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
2462 gdb_test_sequence and gdb_assert.
2464 2015-04-10 Pedro Alves <palves@redhat.com>
2466 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
2467 test messages that don't include the breakpoint address.
2469 2015-04-10 Yao Qi <yao.qi@linaro.org>
2471 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
2472 false for some offset and width combinations which aren't
2473 supported by linux kernel.
2475 2015-04-10 Pedro Alves <palves@redhat.com>
2477 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
2478 procedure, factored out from ...
2479 (top level): ... here. Add "set displaced-stepping" testing axis.
2480 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
2481 parameter "displaced". Use it.
2482 (top level): Use foreach and add "set displaced-stepping" testing
2485 2015-04-10 Pedro Alves <palves@redhat.com>
2487 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
2489 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
2490 both the address of the instruction that triggers the watchpoint
2491 and the address of the instruction immediately after, and use
2492 those addresses for the test. Fix comment.
2494 2015-04-10 Pedro Alves <palves@redhat.com>
2496 * gdb.base/sigstep.exp (breakpoint_to_handler)
2497 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
2498 Test "backtrace" in handler.
2499 (breakpoint_over_handler): New parameter 'displaced'. Use it.
2500 (top level): Add new "displaced" test axis to
2501 breakpoint_to_handler, breakpoint_to_handler_entry and
2502 breakpoint_over_handler.
2504 2015-04-10 Pedro Alves <palves@redhat.com>
2507 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
2509 2015-04-10 Yao Qi <yao.qi@linaro.org>
2511 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
2512 (test_add_rn_pc): New function.
2513 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
2514 (top level): Invoke test_add_rn_pc.
2516 2015-04-10 Pedro Alves <palves@redhat.com>
2519 * gdb.base/step-over-no-symbols.exp: New file.
2521 2015-04-09 Andy Wingo <wingo@igalia.com>
2523 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
2524 after the Python tests.
2526 2015-04-08 Keith Seitz <keiths@redhat.com>
2529 * gdb.python/py-completion.exp: New tests for completion.
2530 * gdb.python/py-completion.py (CompleteLimit1): New class.
2531 (CompleteLimit2): Likewise.
2532 (CompleteLimit3): Likewise.
2533 (CompleteLimit4): Likewise.
2534 (CompleteLimit5): Likewise.
2535 (CompleteLimit6): Likewise.
2536 (CompleteLimit7): Likewise.
2538 2015-04-08 Pedro Alves <palves@redhat.com>
2542 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
2544 (main): Install it as SIGUSR1 handler.
2545 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
2546 parameter. Always use "setup" as prefix. Toggle "set
2547 displaced-stepping" off/on depending on global. Don't switch to
2549 (top level): Add displaced stepping "off/on" test axis. Update
2550 "setup" calls. Wrap each subtest with with_test_prefix. Test
2551 continuing with a queued signal in each thread.
2553 2015-04-08 Pedro Alves <palves@redhat.com>
2555 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
2556 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
2557 gdb_breakpoint instead of gdb_test that doesn't expect anything.
2558 Return early if running to main fails.
2559 * gdb.trace/while-stepping.exp: Likewise.
2561 2015-04-07 Pedro Alves <palves@redhat.com>
2563 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
2564 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
2565 interact with inferior program.
2567 2015-04-07 Pedro Alves <palves@redhat.com>
2569 * lib/gdb.exp (inferior_spawn_id): New global.
2570 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
2571 spawn id after processing the user code.
2572 (default_gdb_start): Set inferior_spawn_id.
2573 (send_inferior): New procedure.
2574 * lib/gdbserver-support.exp (gdbserver_start): Set
2576 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
2578 2015-04-07 Pedro Alves <palves@redhat.com>
2580 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
2581 * lib/gdbserver-support.exp (gdbserver_start): Make
2582 $server_spawn_id global.
2583 (gdbserver_start): Don't wait for gdbserver's spawn id with
2585 (close_gdbserver): New procedure.
2586 (gdb_exit): Rename the default version and reimplement.
2588 2015-04-07 Pedro Alves <palves@redhat.com>
2590 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
2591 append the substituted item, not the original item.
2593 2015-04-07 Pedro Alves <palves@redhat.com>
2595 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
2598 2015-04-07 Pedro Alves <palves@redhat.com>
2600 * gdb.base/interrupt.exp: Don't handle the case of the inferior
2601 output appearing once only.
2603 2015-04-07 Pedro Alves <palves@redhat.com>
2605 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
2606 that doesn't expect anything. Return early if running to main
2609 2015-04-07 Yao Qi <yao.qi@linaro.org>
2611 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
2612 (child_function): Call alarm.
2613 (main): Move call to alarm into the loop.
2614 * gdb.threads/non-stop-fair-events.exp: Build program with
2617 2015-04-06 Doug Evans <xdje42@gmail.com>
2619 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
2620 Fix dest parameter to board_info.
2621 (fpc_compile): Ditto.
2622 (gdb_compile_pascal): Rename dest arg to destfile.
2624 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
2626 * gdb.ada/funcall_ref.exp: New file.
2627 * gdb.ada/funcall_ref/foo.adb: New file.
2629 2015-04-02 Yao Qi <yao.qi@linaro.org>
2631 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
2634 2015-04-02 Gary Benson <gbenson@redhat.com>
2636 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
2638 2015-04-01 Sasha Smundak <asmundak@google.com>
2640 * gdb.python/py-unwind-maint.c: New file.
2641 * gdb.python/py-unwind-maint.exp: New test.
2642 * gdb.python/py-unwind-maint.py: New file.
2643 * gdb.python/py-unwind.c: New file.
2644 * gdb.python/py-unwind.exp: New test.
2645 * gdb.python/py-unwind.py: New test.
2647 2015-04-01 Pedro Alves <palves@redhat.com>
2649 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
2650 to fail instead of non-existent $test.
2652 2015-04-01 Pedro Alves <palves@redhat.com>
2654 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
2655 GDBFLAGS if not empty.
2657 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
2659 * gdb.ada/complete.exp: Remove "multi_line".
2660 * gdb.ada/info_exc.exp: Remove "multi_line".
2661 * gdb.ada/packed_tagged.exp: Remove "multi_line".
2662 * gdb.ada/ptype_field.exp: Remove "multi_line".
2663 * gdb.ada/sym_print_name.exp: Remove "multi_line".
2664 * gdb.ada/tagged.exp: Remove "multi_line".
2665 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
2667 * gdb.btrace/delta.exp: Likewise.
2668 * gdb.btrace/exception.exp: Likewise.
2669 * gdb.btrace/function_call_history.exp: Likewise.
2670 * gdb.btrace/instruction_history.exp: Likewise.
2671 * gdb.btrace/nohist.exp: Likewise.
2672 * gdb.btrace/record_goto.exp: Likewise.
2673 * gdb.btrace/segv.exp: Likewise.
2674 * gdb.btrace/stepi.exp: Likewise.
2675 * gdb.btrace/tailcall.exp: Likewise.
2676 * gdb.btrace/unknown_functions.exp: Likewise.
2677 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
2678 * lib/gdb.exp: Add the "multi_line" helper.
2680 2015-04-01 Pedro Alves <palves@redhat.com>
2682 * gdb.threads/tid-reuse.c: New file.
2683 * gdb.threads/tid-reuse.exp: New file.
2685 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
2688 * gdb.base/coredump-filter.c: New file.
2689 * gdb.base/coredump-filter.exp: Likewise.
2691 2015-03-27 Petr Machata <pmachata@redhat.com>
2693 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
2694 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
2695 (Dwarf::assemble): Initialize them.
2696 (Dwarf::lines): New function.
2698 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
2700 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
2701 SYMBOL_PREFIX for x86_64-*-cygwin.
2703 2015-03-26 Andy Wingo <wingo@igalia.com>
2706 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
2707 const_value but not a location.
2708 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
2709 location defined in non-main CUs are visible.
2711 2015-03-26 Yao Qi <yao.qi@linaro.org>
2714 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
2715 Add a line number entry for the same line.
2716 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
2717 Add a line number entry for the same line.
2719 2015-03-26 Yao Qi <yao.qi@linaro.org>
2721 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
2723 (func): Likewise. Add .Lfunc_1 label.
2725 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
2730 2015-03-26 Yao Qi <yao.qi@linaro.org>
2732 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
2733 Call gdb_compile instead to compile each .s files without debug
2736 2015-03-26 Yao Qi <yao.qi@linaro.org>
2738 * gdb.base/savedregs.exp (process_saved_regs): Make
2739 "Saved registers:" optional in the pattern.
2741 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
2743 * gdb.btrace/next.exp: Merged into step.exp.
2744 * gdb.btrace/finish.exp: Merged into step.exp.
2745 * gdb.btrace/nexti.exp: Merged into stepi.exp.
2746 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
2747 "record goto" and checking the exact replay position.
2748 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
2749 check for "Recording format" in "info record" output.
2750 * gdb.btrace/record_goto.exp: Choose test file based on target.
2751 * gdb.btrace/x86-record_goto.S: Renamed into ...
2752 * gdb.btrace/x86_64-record_goto.S: ... this.
2753 * gdb.btrace/i686-record_goto.S: New.
2754 * gdb.btrace/x86-tailcall.S: Renamed into ...
2755 * gdb.btrace/x86_64-tailcall.S: ... this.
2756 * gdb.btrace/i686-tailcall.S: New.
2757 * gdb.btrace/x86-tailcall.c: Renamed into ...
2758 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
2759 separate statements. Update test.
2760 * gdb.btrace/delta.exp: Use record_goto.c as test file.
2761 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
2762 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
2763 * gdb.btrace/tailcall.exp: Choose test file based on target.
2764 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
2766 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
2768 * gdb.btrace/exception.exp: Increase BTS buffer size.
2770 2015-03-24 Pedro Alves <palves@redhat.com>
2772 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
2774 2015-03-24 Pedro Alves <palves@redhat.com>
2776 * gdb.threads/schedlock.exp (test_step): No longer expect that
2777 "set scheduler-locking step" with "next" over a function call runs
2780 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2782 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
2784 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2786 PR breakpoints/16466
2787 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
2788 * gdb.mi/mi-pending.c (thread_func): New function.
2789 (int main): Add threading support required.
2790 * gdb.mi/mi-pending.exp: Add tests for this issue.
2791 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
2792 (pendfunc2): Remove stdio dependency.
2793 * gdb.mi/mi-pendshr2.c: New file.
2795 2015-03-23 Keith Seitz <keiths@redhat.com>
2797 * gdb.linespec/keywords.c: New file.
2798 * gdb.linespec/keywords.exp: New file.
2800 2015-03-23 Keith Seitz <keiths@redhat.com>
2803 * gdb.dwarf2/staticvirtual.exp: New test.
2805 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2807 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
2808 * README: Remove HP-UX and gdb.hp.
2810 * configure: Regenerate.
2811 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
2812 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
2813 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
2814 gdb.hp/gdb.defects/Makefile.
2815 * gdb.hp/Makefile.in: File deleted.
2816 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
2817 * gdb.hp/gdb.aCC/optimize.c: File deleted.
2818 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
2819 * gdb.hp/gdb.aCC/run.c: File deleted.
2820 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
2821 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
2822 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
2823 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
2824 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
2825 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
2826 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
2827 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
2828 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
2829 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
2830 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
2831 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
2832 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
2833 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
2834 * gdb.hp/gdb.base-hp/reg.s: File deleted.
2835 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
2836 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
2837 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
2838 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
2839 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
2840 * gdb.hp/gdb.compat/Makefile.in: File deleted.
2841 * gdb.hp/gdb.compat/average.c: File deleted.
2842 * gdb.hp/gdb.compat/sum.c: File deleted.
2843 * gdb.hp/gdb.compat/xdb.c: File deleted.
2844 * gdb.hp/gdb.compat/xdb0.c: File deleted.
2845 * gdb.hp/gdb.compat/xdb0.h: File deleted.
2846 * gdb.hp/gdb.compat/xdb1.c: File deleted.
2847 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
2848 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
2849 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
2850 * gdb.hp/gdb.defects/Makefile.in: File deleted.
2851 * gdb.hp/gdb.defects/bs14602.c: File deleted.
2852 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
2853 * gdb.hp/gdb.defects/solib-d.c: File deleted.
2854 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
2855 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
2856 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
2857 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
2858 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
2859 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
2860 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
2861 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
2862 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
2863 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
2864 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
2865 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
2866 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
2867 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
2868 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
2869 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
2870 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
2871 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
2872 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
2873 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
2874 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
2875 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
2876 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
2877 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
2878 * gdb.hp/tools/odump: File deleted.
2880 2015-03-19 Pedro Alves <palves@redhat.com>
2882 * gdb.threads/continue-pending-status.exp (saw_thread_2)
2883 (saw_thread_3): New globals.
2884 (top level): Increment them when an event for the corresponding
2886 (no thread starvation): New test.
2888 2015-03-19 Pedro Alves <palves@redhat.com>
2890 * gdb.threads/continue-pending-status.c: New file.
2891 * gdb.threads/continue-pending-status.exp: New file.
2893 2015-03-18 Pedro Alves <palves@redhat.com>
2895 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
2896 Use gdb_is_target_remote instead of is_remote. Use
2897 gdb_test_multiple instead of gdb_expect. Exit early if
2898 gdb_test_multiple hits its internal matches. Tighten stepi tests
2899 expected output. Fail on exit with any signal, instead of just
2902 2015-03-18 Yao Qi <yao.qi@linaro.org>
2905 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
2907 * gdb.base/catch-syscall.exp: Don't skip it on
2908 aarch64*-*-linux* target. Remove elements in all_syscalls.
2909 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
2911 (setup_all_syscalls): New proc.
2913 2015-03-16 Yao Qi <yao.qi@linaro.org>
2915 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
2916 (top level): Skip tests if valid_addr_p returns false for
2919 2015-03-11 Andy Wingo <wingo@igalia.com>
2921 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
2923 2015-03-11 Yao Qi <yao.qi@linaro.org>
2925 * gdb.base/catch-syscall.exp: Fix typo in comments.
2927 2015-03-11 Yao Qi <yao.qi@linaro.org>
2929 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
2931 2015-03-09 Pedro Alves <palves@redhat.com>
2933 * dg-extract-results.py: Delete.
2935 2015-03-09 Pedro Alves <palves@redhat.com>
2937 Merge dg-extract-results.sh from GCC upstream (r218843).
2939 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
2940 * dg-extract-results.sh: Use --text with grep to avoid issues with
2941 binary files. Fall back to cat -v, if that doesn't work.
2943 2015-03-05 Pedro Alves <palves@redhat.com>
2945 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
2947 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
2949 * lib/mi-support.exp (mi_expect_interrupt): Accept
2950 alternative event for when in all-stop mode.
2952 2015-03-04 Pedro Alves <palves@redhat.com>
2954 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
2956 2015-03-04 Mark Kettenis <kettenis@gnu.org>
2958 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
2960 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2962 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
2963 regexps for GDB's current line display, accept a hex address
2964 preceding the line number.
2966 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2968 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
2969 the 'arch1' variable for "s390*-linux*" targets.
2971 2015-03-04 Pedro Alves <palves@redhat.com>
2973 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
2974 (main): Pass missing retval argument to pthread_join call.
2976 2015-03-02 Pedro Alves <palves@redhat.com>
2978 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
2979 (top level): Call do_test with non-stop as well.
2981 2015-03-02 Pedro Alves <palves@redhat.com>
2983 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
2986 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
2988 * gdb.arch/s390-vregs.exp: New test.
2989 * gdb.arch/s390-vregs.S: New file.
2991 2015-02-27 Pedro Alves <palves@redhat.com>
2993 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
2994 call to catch_command_errors.
2995 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
2996 catch_command_errors.
2998 2015-02-27 Pedro Alves <palves@redhat.com>
3000 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3001 "true" for boolean result.
3002 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3005 2015-02-27 Pedro Alves <palves@redhat.com>
3007 * lib/unbuffer_output.c: New file.
3008 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3009 (main): Call gdb_unbuffer_output.
3011 2015-02-27 Yao Qi <yao.qi@linaro.org>
3013 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3016 2015-02-26 Doug Evans <dje@google.com>
3018 * gdb.cp/class2.cc (Dbase, D): New classes.
3019 (main): New local delta.
3020 * gdb.cp/class2.exp: Test printing delta.
3021 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3022 (dynbar): New global.
3023 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3025 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3027 * gdb.compile/compile-ifunc.c: New file.
3028 * gdb.compile/compile-ifunc.exp: New file.
3030 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3032 * gdb.base/structs.exp: Check for correct struct on finish.
3034 2015-02-26 Yao Qi <yao.qi@linaro.org>
3036 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3039 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3041 * gdb.arch/cordic.ko.bz2: New file.
3042 * gdb.arch/cordic.ko.debug.bz2: New file.
3043 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3045 2015-02-25 Yao Qi <yao.qi@linaro.org>
3047 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3048 aarch64*-*-* target.
3050 2015-02-23 Pedro Alves <palves@redhat.com>
3052 * lib/gdb.exp (delete_breakpoints): Rewrite using
3055 2015-02-23 Pedro Alves <palves@redhat.com>
3057 * gdb.base/info-os.c: Include stdlib.h.
3059 2015-02-22 Doug Evans <xdje42@gmail.com>
3062 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3063 is read after symbols have been re-read.
3064 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3065 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3067 2015-02-21 Doug Evans <dje@google.com>
3069 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3071 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3074 * gdb.arch/i386-biarch-core.core.bz2: New file.
3075 * gdb.arch/i386-biarch-core.exp: New file.
3077 2015-02-21 Pedro Alves <palves@redhat.com>
3079 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3082 2015-02-20 Pedro Alves <palves@redhat.com>
3084 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3087 2015-02-20 Pedro Alves <palves@redhat.com>
3089 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3091 2015-02-20 Pedro Alves <palves@redhat.com>
3093 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3094 clean_restart before gdb_target_supports_trace.
3096 2015-02-20 Pedro Alves <palves@redhat.com>
3099 * gdb.threads/clone-thread_db.c: New file.
3100 * gdb.threads/clone-thread_db.exp: New file.
3102 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3104 PR breakpoints/16812
3105 * gdb.base/catch-gdb-caused-signals.c: New file.
3106 * gdb.base/catch-gdb-caused-signals.exp: New file.
3108 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3110 * configure: Regenerated.
3111 * configure.ac: Use GDB_AC_TRANSFORM.
3112 * aclocal.m4: sinclude ../transform.m4.
3114 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3116 * lib/dtrace.exp: New file.
3117 * gdb.base/dtrace-probe.exp: Likewise.
3118 * gdb.base/dtrace-probe.d: Likewise.
3119 * gdb.base/dtrace-probe.c: Likewise.
3120 * lib/pdtrace.in: Likewise.
3121 * configure.ac: Output variables with the transformed names of
3122 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3123 * configure: Regenerated.
3125 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3127 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3128 expected message when trying to access $_probe_* convenience
3129 variables while not on a probe.
3131 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3133 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3135 2015-02-11 Pedro Alves <pedro@codesourcery.com>
3137 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3138 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3140 2015-02-10 Doug Evans <xdje42@gmail.com>
3142 * lib/gdb.exp (gdb_load): Always return a result.
3144 2015-02-10 Pedro Alves <palves@redhat.com>
3146 * gdb.threads/signal-sigtrap.c: New file.
3147 * gdb.threads/signal-sigtrap.exp: New file.
3149 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3151 * gdb.trace/no-attach-trace.c: New file.
3152 * gdb.trace/no-attach-trace.exp: New file.
3154 2015-02-09 Mark Wielaard <mjw@redhat.com>
3156 * gdb.dwarf2/atomic.c: New file.
3157 * gdb.dwarf2/atomic-type.exp: Likewise.
3159 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3161 * gdb.btrace/buffer-size.exp: Update "info record" output.
3162 * gdb.btrace/delta.exp: Update "info record" output.
3163 * gdb.btrace/enable.exp: Update "info record" output.
3164 * gdb.btrace/finish.exp: Update "info record" output.
3165 * gdb.btrace/instruction_history.exp: Update "info record" output.
3166 * gdb.btrace/next.exp: Update "info record" output.
3167 * gdb.btrace/nexti.exp: Update "info record" output.
3168 * gdb.btrace/step.exp: Update "info record" output.
3169 * gdb.btrace/stepi.exp: Update "info record" output.
3170 * gdb.btrace/nohist.exp: Update "info record" output.
3172 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3174 * gdb.btrace/buffer-size: New.
3176 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3178 * gdb.btrace/delta.exp: Update "info record" output.
3179 * gdb.btrace/enable.exp: Update "info record" output.
3180 * gdb.btrace/finish.exp: Update "info record" output.
3181 * gdb.btrace/instruction_history.exp: Update "info record" output.
3182 * gdb.btrace/next.exp: Update "info record" output.
3183 * gdb.btrace/nexti.exp: Update "info record" output.
3184 * gdb.btrace/step.exp: Update "info record" output.
3185 * gdb.btrace/stepi.exp: Update "info record" output.
3186 * gdb.btrace/nohist.exp: Update "info record" output.
3188 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
3191 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3193 2015-02-06 Pedro Alves <palves@redhat.com>
3195 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
3197 (seconds_left, again): New globals.
3198 (main): Wait seconds_left in a 1-second sleep loop instead of
3199 sleeping 180 seconds. If 'again' is set, reset the seconds
3201 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
3202 'again' in the inferior before detaching. Print the seconds left.
3203 (options): New global.
3204 (top level): Build program with -DTIMEOUT=$timeout.
3206 2015-02-06 Pedro Alves <palves@redhat.com>
3208 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
3209 determine how many seconds to pass to 'alarm'.
3210 * gdb.base/gdb-sigterm.exp (top level): Build program with
3212 (do_test): Return success/failure indication. Add more verbose
3213 logging. Don't fail if 200 single steps are seen. Instead, fail
3214 when the test times out.
3215 (passes): New global.
3216 (top level): Break the testing loop if testing fails on any
3217 iteration. Use gdb_assert.
3219 2015-02-04 Don Breazeal <donb@codesourcery.com>
3221 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
3222 and initialize them.
3223 (ipc_cleanup): New function.
3224 (main): Don't declare shmid, semid, and msqid. Add a call to
3225 atexit so that we call ipc_cleanup on exit.
3227 2015-02-04 Pedro Alves <palves@redhat.com>
3229 * boards/native-extended-gdbserver.exp: Remove any target variant
3230 specifications from the board name before clearing the isremote
3231 flag from board_info.
3233 2015-01-31 Doug Evans <xdje42@gmail.com>
3235 * gdb.base/maint.exp <maint print type argc>: Update expected output.
3237 2015-01-31 Gary Benson <gbenson@redhat.com>
3239 * gdb.base/completion.exp: Disable completion limiting for
3240 existing tests. Add new tests to check completion limiting.
3241 * gdb.linespec/ls-errs.exp: Disable completion limiting.
3243 2015-01-31 Doug Evans <xdje42@gmail.com>
3245 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
3247 2015-01-31 Doug Evans <xdje42@gmail.com>
3249 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
3250 entries. Duplicate file section script entries.
3251 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
3252 inlined entries. Add test for safe-path rejection.
3253 * gdb.python/py-section-script.c: Add duplicate inlined section script
3254 entries. Duplicate file section script entries.
3255 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
3256 inlined entries. Add test for safe-path rejection.
3258 2015-01-29 Joel Brobecker <brobecker@adacore.com>
3260 * gdb.ada/disc_arr_bound: New testcase.
3262 2015-01-29 Joel Brobecker <brobecker@adacore.com>
3264 * gdb.ada/mi_var_array: New testcase.
3266 2015-01-27 Doug Evans <dje@google.com>
3268 * gdb.python/py-objfile.exp: Add tests for objfile.username.
3269 Add test for objfile.filename, objfile.username after objfile
3272 2015-01-26 Joel Brobecker <brobecker@adacore.com>
3274 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
3275 the second test to print the name attribute of value
3276 returned by the call to gdb.lookup_type, and adjust
3277 the expected output accordingly.
3279 2015-01-25 Mark Wielaard <mjw@redhat.com>
3281 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
3282 * gdb.base/disp-step-fork.c: Include unistd.h.
3283 * gdb.base/siginfo-obj.c: Include stdio.h.
3284 * gdb.base/siginfo-thread.c: Likewise.
3285 * gdb.mi/non-stop.c: Include unistd.h.
3286 * gdb.mi/nsthrexec.c: Include stdio.h.
3287 * gdb.mi/pthreads.c: Include unistd.h.
3288 * gdb.modula2/unbounded1.c (main): Declare returns int.
3289 * gdb.reverse/consecutive-reverse.c: Likewise.
3290 * gdb.threads/create-fail.c: Include unistd.h.
3291 * gdb.threads/killed.c: Likewise.
3292 * gdb.threads/linux-dp.c: Likewise.
3293 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
3294 * gdb.threads/non-ldr-exc-2.c: Likewise.
3295 * gdb.threads/non-ldr-exc-3.c: Likewise.
3296 * gdb.threads/non-ldr-exc-4.c: Likewise.
3297 * gdb.threads/pthreads.c: Include unistd.h.
3298 (main): Declare returns int.
3299 * gdb.threads/tls-main.c (foo): New declaration.
3300 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
3302 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
3304 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
3305 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
3307 2015-01-15 Mark Wielaard <mjw@redhat.com>
3309 * gdb.base/noreturn-return.c: New file.
3310 * gdb.base/noreturn-return.exp: New file.
3311 * gdb.base/noreturn-finish.c: New file.
3312 * gdb.base/noreturn-finish.exp: New file.
3314 2015-01-23 Pedro Alves <palves@redhat.com>
3316 * gdb.threads/continue-pending-after-query.c: New file.
3317 * gdb.threads/continue-pending-after-query.exp: New file.
3319 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
3320 Simon Marchi <simon.marchi@ericsson.com>
3322 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
3323 * gdb.base/valgrind-db-attach.exp: Same.
3324 * gdb.base/valgrind-infcall.exp: Same.
3325 * lib/mi-support.exp (default_mi_gdb_start): Same.
3326 * lib/prompt.exp (default_prompt_gdb_start): Same.
3327 * lib/gdb.exp (default_gdb_spawn): Same.
3328 (gdb_interact): New.
3331 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3333 * gdb.compile/compile.exp (pointer to jit function): New test.
3335 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
3337 * lib/gdb.exp (supports_process_record): Return true for
3339 (supports_reverse): Likewise.
3341 2015-01-15 Don Breazeal <donb@codesourcery.com>
3343 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
3344 instead of checking whether the target board is remote and
3345 use spawn_wait_for_attach instead of exec/sleep.
3346 * gdb.base/attach-twice.exp: Likewise.
3348 2015-01-15 Joel Brobecker <brobecker@adacore.com>
3350 * gdb.ada/var_arr_attrs: New testcase.
3352 2015-01-14 Pedro Alves <palves@redhat.com>
3353 Joel Brobecker <brobecker@adacore.com>
3356 * gdb.base/bp-cmds-execution-x-script.c: New file.
3357 * gdb.base/bp-cmds-execution-x-script.exp: New file.
3358 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
3360 2015-01-14 Pedro Alves <palves@redhat.com>
3363 * gdb.base/batch-preserve-term-settings.c: New file.
3364 * gdb.base/batch-preserve-term-settings.exp: New file.
3366 2015-01-13 Doug Evans <dje@google.com>
3368 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
3371 2015-01-13 Joel Brobecker <brobecker@adacore.com>
3373 * Makefile.in (clean mostlyclean): Do not delete *.py.
3375 2015-01-13 Joel Brobecker <brobecker@adacore.com>
3377 * gdb.python/py-lookup-type.exp: New file.
3379 2015-01-12 Pedro Alves <palves@redhat.com>
3381 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
3382 restore GDBFLAGS before returning.
3384 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3386 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
3387 is_amd64_regs_target and is_x86_like_target.
3389 2015-01-11 Doug Evans <xdje42@gmail.com>
3391 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
3392 is given without an explicit form.
3393 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
3395 * gdb.dwarf/corrupt.exp: Ditto.
3396 * gdb.dwarf2/enum-type.exp: Ditto.
3397 * gdb.trace/entry-values.exp: Ditto.
3398 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
3400 2015-01-11 Doug Evans <xdje42@gmail.com>
3403 * gdb.base/maint.exp: Remove references to "maint demangle".
3404 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
3405 Add tests for explicitly specifying language to demangle.
3406 * gdb.dlang/demangle.exp: Ditto.
3408 2015-01-09 Pedro Alves <palves@redhat.com>
3410 * gdb.threads/non-stop-fair-events.c: New file.
3411 * gdb.threads/non-stop-fair-events.exp: New file.
3413 2015-01-09 Pedro Alves <palves@redhat.com>
3415 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
3416 the global scope. Set a breakpoint after all threads are started
3417 rather than stepping over two source lines. Expect the prompt.
3418 * gdb.base/watch_thread_num.c (threads_started_barrier): New
3421 (main): Use threads_started_barrier to wait for all threads to
3422 start. Main thread no longer calls thread_function. Exit after
3424 (loop): New function.
3425 (thread_function): Wait on threads_started_barrier barrier. Call
3426 'loop' at each iteration.
3427 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
3428 threads have started, instead of hardcoding number of "next"
3429 steps. Use an access watchpoint instead of a write watchpoint.
3431 2015-01-09 Pedro Alves <palves@redhat.com>
3433 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
3434 (thread_func): Wait on barrier.
3435 (main): Wait for all threads to start before stopping GDB.
3436 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
3438 (thread1_func, thread2_func): Wait on barrier.
3439 (main): Wait for all threads to start before stopping GDB.
3440 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
3442 (thread1_func, thread2_func): Wait on barrier.
3443 (main): Wait for all threads to start before stopping GDB.
3445 2015-01-09 Pedro Alves <palves@redhat.com>
3447 * gdb.threads/attach-many-short-lived-threads.c: New file.
3448 * gdb.threads/attach-many-short-lived-threads.exp: New file.
3450 2014-01-09 Pedro Alves <palves@redhat.com>
3452 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
3453 instead of to thread 2.
3454 * gdb.threads/signal-command-multiple-signals-pending.c (main):
3455 Add barrier around each pthread_create call instead of around all
3457 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
3458 Set a break on thread_function and have the child threads hit it
3461 2015-01-09 Pedro Alves <palves@redhat.com>
3463 * lib/gdb.exp (can_spawn_for_attach): New procedure.
3464 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
3466 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
3467 checking whether the target board is remote.
3468 * gdb.multi/multi-attach.exp: Likewise.
3469 * gdb.python/py-sync-interp.exp: Likewise.
3470 * gdb.server/ext-attach.exp: Likewise.
3471 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
3472 tests that need to attach, instead of checking whether the target
3473 board is remote at the top of the file.
3475 2015-01-08 Yao Qi <yao@codesourcery.com>
3477 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
3479 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3481 Fix testcase compilation.
3482 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
3484 2015-01-06 Joel Brobecker <brobecker@adacore.com>
3486 * gdb.python/py-type.exp: Add a couple test about empty
3487 array creation, and negative-length array creation.
3489 2015-01-02 Doug Evans <xdje42@gmail.com>
3491 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
3493 2015-01-02 Doug Evans <dje@google.com>
3495 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
3497 2014-12-29 Yao Qi <yao@codesourcery.com>
3499 * gdb.trace/entry-values.exp: Update comments. Rename variable
3500 bar_call_foo to returned_from_foo.
3502 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
3505 * gdb.linespec/break-asm-file.c: New file.
3506 * gdb.linespec/break-asm-file.exp: New file.
3507 * gdb.linespec/break-asm-file0.s: New file.
3508 * gdb.linespec/break-asm-file1.s: New file.
3510 2014-12-18 Nigel Stephens <nigel@mips.com>
3511 Maciej W. Rozycki <macro@codesourcery.com>
3513 * gdb.base/float.exp: Handle the new output from "info float" on
3516 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3518 Fix MinGW compilation.
3519 * gdb.compile/compile-ops.exp: Update untested message if
3520 !skip_compile_feature_tests.
3521 * gdb.compile/compile-setjmp.exp: Likewise.
3522 * gdb.compile/compile-tls.exp: Likewise.
3523 * gdb.compile/compile.exp: Likewise.
3524 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
3525 supported on this host".
3527 2014-12-16 Doug Evans <xdje42@gmail.com>
3529 * boards/stabs.exp: New file.
3531 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
3533 * gdb.base/completion.exp: Adjust to format changes of "maint
3534 print user-registers".
3536 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
3539 * gdb.arch/aarch64-fp.c: New file.
3540 * gdb.arch/aarch64-fp.exp: New file.
3542 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
3544 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
3545 r210637, r210913, r211666, r215400, r215817).
3547 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
3548 * dg-extract-results.py: New file.
3549 * dg-extract-results.sh: Use it if the environment seems
3552 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
3554 * dg-extract-results.py (parse_run): Handle warnings that
3555 are printed before a test harness is run.
3557 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
3559 * dg-extract-results.py (Named): Remove __cmp__ method.
3560 (output_variation): Use a key to sort variation.harnesses.
3562 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
3564 * dg-extract-results.py: For Python 3, force sys.stdout to
3565 handle surrogate escape sequences.
3566 (safe_open): New function.
3567 (output_segment, main): Use it.
3569 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
3571 * dg-extract-results.py (Prog.result_re): Include options
3574 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
3576 * dg-extract-results.py (output_variation): Always sort if
3579 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
3581 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
3582 as long as we get pagination notifications.
3584 2014-12-15 Jason Merrill <jason@redhat.com>
3586 * Makefile.in (check-gdb.%): Restore.
3587 * README: Mention it.
3589 2014-12-13 Joel Brobecker <brobecker@adacore.com>
3591 * gdb.ada/str_uninit: New testcase.
3593 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3596 * gdb.base/vla-stub-define.c: New file.
3597 * gdb.base/vla-stub.c: New file.
3598 * gdb.base/vla-stub.exp: New file.
3600 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
3601 Jan Kratochvil <jan.kratochvil@redhat.com>
3602 Tom Tromey <tromey@redhat.com>
3604 * configure.ac: Add gdb.compile/.
3605 * configure: Regenerate.
3606 * gdb.compile/Makefile.in: New file.
3607 * gdb.compile/compile-ops.exp: New file.
3608 * gdb.compile/compile-ops.c: New file.
3609 * gdb.compile/compile-tls.c: New file.
3610 * gdb.compile/compile-tls.exp: New file.
3611 * gdb.compile/compile-constvar.S: New file.
3612 * gdb.compile/compile-constvar.c: New file.
3613 * gdb.compile/compile-mod.c: New file.
3614 * gdb.compile/compile-nodebug.c: New file.
3615 * gdb.compile/compile-setjmp-mod.c: New file.
3616 * gdb.compile/compile-setjmp.c: New file.
3617 * gdb.compile/compile-setjmp.exp: New file.
3618 * gdb.compile/compile-shlib.c: New file.
3619 * gdb.compile/compile.c: New file.
3620 * gdb.compile/compile.exp: New file.
3621 * lib/gdb.exp (skip_compile_feature_tests): New proc.
3623 2014-12-12 Tom Tromey <tromey@redhat.com>
3625 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
3626 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
3628 2014-12-12 Doug Evans <dje@google.com>
3630 * lib/gdb-python.exp (get_python_valueof): New function.
3631 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
3633 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3635 * gdb.base/completion.exp: Add test for completion of "info
3638 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
3640 * gdb.base/func-ptrs.c: New file.
3641 * gdb.base/func-ptrs.exp: New file.
3643 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
3645 PR breakpoints/17012
3646 * gdb.base/dprintf-detach.c: New file.
3647 * gdb.base/dprintf-detach.exp: New file.
3649 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
3651 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
3652 * lib/gdb.exp (target_is_gdbserver): New procedure.
3654 2014-12-08 Doug Evans <dje@google.com>
3656 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
3658 2014-12-05 Yao Qi <yao@codesourcery.com>
3660 * gdb.guile/scm-error.exp: Remove the third argument to
3661 gdb_remote_download.
3662 * gdb.guile/scm-frame-args.exp: Likewise.
3663 * gdb.guile/scm-section-script.exp: Likewise.
3665 2014-12-05 Yao Qi <yao@codesourcery.com>
3667 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
3669 2014-12-04 Doug Evans <dje@google.com>
3671 * gdb.python/py-objfile.exp: Add tests for
3672 objfile.add_separate_debug_file.
3674 2014-12-04 Doug Evans <dje@google.com>
3676 * lib/gdb.exp (get_build_id): New function.
3677 (build_id_debug_filename_get): Rewrite to use it.
3678 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
3680 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
3682 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
3683 `method(long)', not just 0x0.
3684 * gdb.cp/nsalias.exp: Align code labels to 4.
3685 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
3686 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
3687 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
3688 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
3689 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
3690 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
3692 2014-12-02 Doug Evans <dje@google.com>
3695 * gdb.cp/anon-ns.cc: Move guts of this file to ...
3696 * gdb.cp/anon-ns2.cc: ... here. New file.
3697 * gdb.cp/anon-ns.exp: Update.
3699 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
3701 * gdb.python/py-events.py (inferior_call_handler): New.
3702 (register_changed_handler, memory_changed_handler): New.
3703 (test_events.invoke): Register new handlers.
3704 * gdb.python/py-events.exp: Add tests for inferior call,
3705 memory_changed and register_changed events.
3707 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3709 * gdb.base/execl-update-breakpoints.exp: Specify the link address
3710 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
3711 if the linker doesn't understand this.
3713 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
3715 * gdb.python/python.exp: Change expected reply to help().
3717 2014-12-01 Yao Qi <yao@codesourcery.com>
3719 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
3720 AC_CONFIG_SUBDIRS(gdb.gdbtk).
3721 * configure: Re-generated.
3723 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
3725 * gdb.cp/chained-calls.cc: New file.
3726 * gdb.cp/chained-calls.exp: New file.
3727 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
3729 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
3731 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
3732 * gdb.dwarf2/symtab-producer.exp: Same.
3733 * gdb.gdb/python-interrupts.exp: Same.
3734 * gdb.gdb/python-selftest.exp: Same.
3735 * gdb.python/py-linetable.exp: Same.
3736 * gdb.python/py-type.exp: Same.
3737 * gdb.python/py-value-cc.exp: Same.
3738 * gdb.python/py-value.exp: Same.
3740 2014-11-28 Yao Qi <yao@codesourcery.com>
3742 * gdb.base/break-probes.exp: Match library name prefixed with
3745 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
3747 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
3748 test expected output. Add parentheses for the call to print.
3749 Remove L suffix from integers.
3751 2014-11-26 Doug Evans <dje@google.com>
3753 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
3755 2014-11-22 Yao Qi <yao@codesourcery.com>
3757 * gdb.trace/entry-values.c: Remove asms.
3758 (foo): Add foo_label.
3759 (bar): Add bar_label.
3760 * gdb.trace/entry-values.exp: Remove code computing foo's
3761 length and bar's length.
3762 (Dwarf::assemble): Invoke function_range for bar and use
3763 MACRO_AT_func for foo.
3765 2014-11-22 Yao Qi <yao@codesourcery.com>
3767 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
3768 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
3769 Use .Lgcc43_procstart instead of gcc43.
3771 2014-11-21 Joel Brobecker <brobecker@adacore.com>
3773 * gdb.ada/n_arr_bound: New testcase.
3775 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
3777 PR breakpoints/10737
3778 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
3779 test_catch_syscall_multi_arch.
3780 (test_catch_syscall_multi_arch): New function.
3782 2014-11-20 Doug Evans <xdje42@gmail.com>
3784 * gdb.base/maint.exp: Update expected output.
3786 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3788 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
3789 4-byte instruction on S390.
3791 2014-11-19 Joel Brobecker <brobecker@adacore.com>
3793 * gdb.ada/arr_arr: New testcase.
3795 2014-11-19 Joel Brobecker <brobecker@adacore.com>
3797 * gdb.ada/pkd_arr_elem: New Testcase.
3799 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
3801 * gdb.reverse/break-precsave: Expect completion message for
3803 * gdb.reverse/consecutive-precsave.exp: Likewise.
3804 * gdb.reverse/finish-precsave.exp: Likewise.
3805 * gdb.reverse/i386-precsave.exp: Likewise.
3806 * gdb.reverse/machinestate-precsave.exp: Likewise.
3807 * gdb.reverse/sigall-precsave.exp: Likewise.
3808 * gdb.reverse/solib-precsave.exp: Likewise.
3809 * gdb.reverse/step-precsave.exp: Likewise.
3810 * gdb.reverse/until-precsave.exp: Likewise.
3811 * gdb.reverse/watch-precsave.exp: Likewise.
3813 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3815 * gdb.base/bp-permanent.c: Include unistd.h.
3816 * gdb.python/py-framefilter-mi.c (main): Add return type.
3817 * gdb.python/py-framefilter.c (main): Likewise.
3818 * gdb.trace/actions-changed.c (main): Likewise.
3820 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3822 * gdb.mi/until.c: Add eye-catchers.
3823 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
3826 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3828 * gdb.base/condbreak.exp: Drop references to removed non-prototype
3829 function header variants in break1.c.
3830 * gdb.base/ena-dis-br.exp: Likewise.
3831 * gdb.base/hbreak2.exp: Likewise.
3832 * gdb.reverse/until-precsave.exp: Drop references to removed
3833 non-prototype function header variants in ur1.c.
3834 * gdb.reverse/until-reverse.exp: Likewise.
3836 2014-11-17 Petr Machata <pmachata@redhat.com>
3838 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
3839 ${_cu_offset_size} bytes abbrev offset.
3841 2014-11-15 Doug Evans <xdje42@gmail.com>
3844 * gdb.base/line-symtabs.exp: New file.
3845 * gdb.base/line-symtabs.c: New file.
3846 * gdb.base/line-symtabs.h: New file.
3848 2014-11-14 Yao Qi <yao@codesourcery.com>
3850 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
3851 (func): Add label func_label.
3852 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
3853 Replace low_pc and high_pc with MACRO_AT_range.
3854 Replace name, low_pc and high_pc with MACRO_AT_func.
3856 2014-11-14 Yao Qi <yao@codesourcery.com>
3858 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
3859 Replace name, low_pc and high_pc with MACRO_AT_func.
3861 2014-11-14 Yao Qi <yao@codesourcery.com>
3863 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
3864 produce debug information.
3865 * gdb.dwarf2/implptr-optimized-out.S: Removed.
3867 2014-11-14 Yao Qi <yao@codesourcery.com>
3869 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
3870 object and get function length.
3871 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
3873 (top-level): Replace gdb_compile and clean_restart with
3874 prepare_for_testing.
3875 * gdb.dwarf2/main.c (main): Add label main_label.
3877 2014-11-14 Yao Qi <yao@codesourcery.com>
3879 * lib/dwarf.exp (function_range): New procedure.
3880 (Dwarf::_handle_macro_at_func): New procedure.
3881 (Dwarf::_handle_macro_at_range): New procedure.
3882 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
3884 2014-11-14 Yao Qi <yao@codesourcery.com>
3886 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
3887 (_handle_attribute): New procedure.
3889 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3891 * gdb.ada/cond_lang/foo.c (callme): Add return type.
3892 * gdb.base/call-sc.c (zed): Likewise.
3893 * gdb.base/checkpoint.c (main): Likewise.
3894 * gdb.base/dump.c (main): Likewise.
3895 * gdb.base/gcore.c (main): Likewise.
3896 * gdb.base/huge.c (main): Likewise.
3897 * gdb.base/multi-forks.c (main): Likewise.
3898 * gdb.base/pr10179-a.c (main): Likewise.
3899 * gdb.base/savedregs.c (main): Likewise.
3900 * gdb.base/sigaltstack.c (main): Likewise.
3901 * gdb.base/siginfo.c (main): Likewise.
3902 * gdb.base/structs.c (zed): Likewise.
3903 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
3904 * gdb.mi/mi-syn-frame.c (main): Likewise.
3905 * gdb.mi/until.c (foo, main): Likewise.
3906 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
3907 * gdb.base/solib-weak.c (foo): Declare.
3908 * gdb.base/attach-twice.c: Include stdio.h.
3909 * gdb.base/weaklib1.c: Likewise.
3910 * gdb.base/weaklib2.c: Likewise.
3911 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
3912 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
3914 * gdb.base/attach-pie-misread.c: Include stdlib.h.
3915 * gdb.mi/mi-exit-code.c: Likewise.
3916 * gdb.base/break-interp-lib.c: Include string.h.
3917 * gdb.base/coremaker.c: Likewise.
3918 * gdb.base/testenv.c: Likewise.
3919 * gdb.python/py-finish-breakpoint.c: Likewise.
3920 * gdb.base/inferior-died.c: Include sys/wait.h.
3921 * gdb.base/fileio.c: Include time.h.
3922 * gdb.base/async-shell.c: Include unistd.h.
3923 * gdb.base/dprintf-non-stop.c: Likewise.
3924 * gdb.base/info-os.c: Likewise.
3925 * gdb.mi/mi-console.c: Likewise.
3926 * gdb.mi/watch-nonstop.c: Likewise.
3927 * gdb.python/py-events.c: Likewise.
3928 * gdb.base/async.c (baz): Move up before its invocation.
3929 * gdb.base/code_elim2.c (my_global_func): Likewise.
3930 * gdb.base/skip-solib-lib.c (multiply): Likewise.
3931 * gdb.base/advance.c (func2): Likewise.
3933 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3935 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
3937 * gdb.base/annota3.c: Likewise.
3938 * gdb.base/async.c: Likewise.
3939 * gdb.base/average.c: Likewise.
3940 * gdb.base/call-ar-st.c: Likewise.
3941 * gdb.base/call-rt-st.c: Likewise.
3942 * gdb.base/call-sc.c: Likewise.
3943 * gdb.base/call-strs.c: Likewise.
3944 * gdb.base/ending-run.c: Likewise.
3945 * gdb.base/execd-prog.c: Likewise.
3946 * gdb.base/exprs.c: Likewise.
3947 * gdb.base/foll-exec.c: Likewise.
3948 * gdb.base/foll-fork.c: Likewise.
3949 * gdb.base/foll-vfork.c: Likewise.
3950 * gdb.base/funcargs.c: Likewise.
3951 * gdb.base/gcore.c: Likewise.
3952 * gdb.base/jump.c: Likewise.
3953 * gdb.base/langs0.c: Likewise.
3954 * gdb.base/langs1.c: Likewise.
3955 * gdb.base/langs2.c: Likewise.
3956 * gdb.base/mips_pro.c: Likewise.
3957 * gdb.base/nodebug.c: Likewise.
3958 * gdb.base/opaque0.c: Likewise.
3959 * gdb.base/opaque1.c: Likewise.
3960 * gdb.base/recurse.c: Likewise.
3961 * gdb.base/run.c: Likewise.
3962 * gdb.base/scope0.c: Likewise.
3963 * gdb.base/scope1.c: Likewise.
3964 * gdb.base/setshow.c: Likewise.
3965 * gdb.base/setvar.c: Likewise.
3966 * gdb.base/shmain.c: Likewise.
3967 * gdb.base/shr1.c: Likewise.
3968 * gdb.base/shr2.c: Likewise.
3969 * gdb.base/sigall.c: Likewise.
3970 * gdb.base/signals.c: Likewise.
3971 * gdb.base/so-indr-cl.c: Likewise.
3972 * gdb.base/solib2.c: Likewise.
3973 * gdb.base/structs.c: Likewise.
3974 * gdb.base/sum.c: Likewise.
3975 * gdb.base/vforked-prog.c: Likewise.
3976 * gdb.base/watchpoint.c: Likewise.
3977 * gdb.reverse/shr2.c: Likewise.
3978 * gdb.reverse/until-reverse.c: Likewise.
3979 * gdb.reverse/ur1.c: Likewise.
3980 * gdb.reverse/watch-reverse.c: Likewise.
3982 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3984 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
3986 * gdb.base/sepdebug.exp: Drop references to removed code.
3988 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3990 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
3991 variant. Preserve original line numbering.
3992 * gdb.base/list1.c: Likewise.
3994 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3996 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
3998 * gdb.base/break1.c: Likewise.
3999 * gdb.base/break.exp: Drop references to removed code.
4001 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4003 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4006 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4008 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4010 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4012 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4013 logic into perform_all_tests() and invoke it with and without
4014 function header prototypes.
4015 (do_function_calls): Remove conditional XFAIL for PR 5318.
4016 (rerun_and_prepare): Remove duplicate code.
4017 (perform_all_tests): New. Main logic moved here.
4019 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4021 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4022 code guarded by #ifdef NO_PROTOTYPES.
4023 (t_double_many_args): Likewise.
4024 (DEF_FUNC_MANY_ARGS_1): Likewise.
4025 (DEF_FUNC_VALUES_1): Likewise.
4026 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4027 guarded by #ifdef PROTOTYPES.
4029 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4031 * gdb.mi/mi-console.c: Add eye-catcher.
4032 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4033 instead of literal line number.
4035 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4037 * gdb.base/shr2.c: Add eye-catcher.
4038 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4041 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4043 * gdb.base/jump.c: Add eye-catchers.
4044 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4047 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4049 * gdb.base/execd-prog.c: Add eye-catchers.
4050 * gdb.base/foll-exec.c: Likewise.
4051 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4054 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4056 * gdb.base/ending-run.c: Add eye-catchers.
4057 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4058 literal line numbers.
4060 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4062 * gdb.base/call-rt-st.c: Add eye-catchers.
4063 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4064 literal line numbers.
4066 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4068 * gdb.base/call-ar-st.c: Add eye-catchers.
4069 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4070 literal line numbers.
4072 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4074 * gdb.base/average.c: Add eye-catchers.
4075 * gdb.base/sum.c: Likewise.
4076 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4077 regexps dynamically.
4079 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4081 * gdb.base/solib1.c: Add eye-catchers.
4082 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4083 literal line numbers.
4085 2014-11-12 Pedro Alves <palves@redhat.com>
4087 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4090 2014-11-12 Pedro Alves <palves@redhat.com>
4092 * gdb.arch/i386-bp_permanent.c: New file.
4093 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4094 (srcfile): Set to i386-bp_permanent.c.
4095 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4096 that stepi does not execute the 'leave' instruction, instead of
4097 testing it does execute.
4098 * gdb.base/bp-permanent.c: New file.
4099 * gdb.base/bp-permanent.exp: New file.
4101 2014-11-10 Doug Evans <xdje42@gmail.com>
4104 * gdb.base/symtab-search-order.exp: New file.
4105 * gdb.base/symtab-search-order.c: New file.
4106 * gdb.base/symtab-search-order-1.c: New file.
4107 * gdb.base/symtab-search-order-shlib-1.c: New file.
4109 2014-11-07 Pedro Alves <palves@redhat.com>
4112 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4115 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4118 * gdb.cp/pr17494.cc: New file.
4119 * gdb.cp/pr17494.exp: New file.
4121 2014-11-02 Yao Qi <yao@codesourcery.com>
4123 * gdb.python/python.exp: Get working directory and match the
4124 output of "set extended-prompt \\w " with it.
4126 2014-10-30 Doug Evans <dje@google.com>
4128 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4130 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4133 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
4135 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4136 * gdb.base/realname-expand.exp: Likewise.
4137 * gdb.linespec/macro-relative.exp: Likewise.
4139 2014-10-29 Pedro Alves <palves@redhat.com>
4142 * gdb.threads/schedlock.c (some_function): New function.
4143 (call_function): New global.
4144 (MAYBE_CALL_SOME_FUNCTION): New macro.
4145 (thread_function): Call it.
4146 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4147 and use it instead of a global counter. Adjust all callers.
4148 (get_current_thread): Use "find current thread" for test message
4149 here rather than having all callers pass down the same string.
4150 (goto_loop): New procedure, factored out from ...
4151 (my_continue): ... this.
4152 (step_ten_loops): Change parameter from test message to command to
4154 (list_count): Delete global.
4155 (check_result): New procedure, factored out from duplicate top
4157 (continue tests): Wrap in with_test_prefix.
4158 (test_step): New procedure, factored out from duplicate top level
4160 (top level): Test "step" in combination with all scheduler-locking
4161 modes. Test "next" in combination with all scheduler-locking
4162 modes, and in combination with stepping over a function call or
4164 * gdb.threads/next-bp-other-thread.c: New file.
4165 * gdb.threads/next-bp-other-thread.exp: New file.
4167 2014-10-29 Pedro Alves <palves@redhat.com>
4170 * gdb.python/python.exp: Test a multi-line command that spawns
4172 * gdb.base/multi-line-starts-subshell.exp: New file.
4174 2014-10-29 Yao Qi <yao@codesourcery.com>
4176 * gdb.base/fileio.exp: Make directories on host.
4178 2014-10-29 Yao Qi <yao@codesourcery.com>
4180 * gdb.base/fileio.c (test_write): Close the file.
4182 2014-10-28 Pedro Alves <palves@redhat.com>
4185 * gdb.base/sigstep.c (no_handler): New global.
4186 (main): If 'no_handler is true, set the signal handlers to
4188 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4189 with_sw_watch and no_handler parameters. Handle them.
4190 (top level) <stepping over handler when stopped at a breakpoint
4191 test>: Add a test axis for testing with a software watchpoint, and
4192 another for testing with the signal handler set to SIG_IGN.
4193 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4194 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
4196 2014-10-28 Pedro Alves <palves@redhat.com>
4199 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
4200 * gdb.base/sigstep.exp (other_handler_location): New global.
4201 (advance): Support stepping into the signal handler, and running
4202 commands while in the handler.
4203 (in_handler_map): New global.
4204 (top level): In the advance test, add combinations for getting
4205 into the handler with stepping commands, and for running commands
4206 in the handler. Add comment descripting the advancei tests.
4208 2014-10-28 Pedro Alves <palves@redhat.com>
4210 * gdb.base/sigstep.exp: Use build_executable instead of
4211 prepare_for_testing.
4212 (top level): Move code that starts GDB, runs to main and creates a
4214 (restart): ... this new procedure.
4215 (top level): Move backtrace from signal handler test to ...
4216 (validate_backtrace): ... this new procedure.
4217 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
4218 with_test_prefix. Always restart GDB.
4219 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
4220 with_test_prefix. Always restart GDB. No need to delete
4221 breakpoints after the test.
4222 (test_skip_handler): Remove prefix parameter.
4223 (skip_over_handler, breakpoint_to_handler)
4224 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
4225 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
4226 restart GDB. No need to delete breakpoints after the test.
4227 (top level): Use foreach to call the test procedures with
4230 2014-10-28 Pedro Alves <palves@redhat.com>
4232 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
4233 instead of GNATS numbers.
4234 * gdb.base/sigbpt.exp: Likewise.
4235 * gdb.base/siginfo.exp: Likewise.
4236 * gdb.base/sigstep.exp: Likewise.
4238 2014-10-27 Pedro Alves <palves@redhat.com>
4240 * gdb.base/sigstep.c (dummy): New global.
4241 (main): Issue a couple writes to the new global.
4242 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
4244 (skip_over_handler): Use test_skip_handler.
4245 (top level): Call skip_over_handler for stepi and nexti too.
4246 (breakpoint_over_handler): Use test_skip_handler.
4247 (top level): Call breakpoint_over_handler for stepi and nexti too.
4249 2014-10-27 Yao Qi <yao@codesourcery.com>
4251 * gdb.trace/tfile.c (adjust_function_address)
4252 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
4253 function descriptor.
4255 2014-10-24 Don Breazeal <donb@codesourcery.com>
4257 * gdb.base/foll-fork.exp (test_follow_fork,
4258 catch_fork_child_follow): Check for updated fork messages emitted
4260 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
4261 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
4262 vfork_and_exec_child_follow_through_step): Check for updated vfork
4263 messages emitted from infrun.c.
4265 2014-10-24 Pedro Alves <palves@redhat.com>
4267 * gdb.base/corefile.exp: Remove references to ultrix.
4268 * gdb.base/interrupt.exp: Likewise.
4269 * gdb.base/whatis.exp: Likewise.
4270 * gdb.gdb/selftest.exp: Likewise.
4271 * gdb.threads/manythreads.exp: Likewise.
4272 * gdb.threads/print-threads.exp: Likewise.
4273 * gdb.threads/pthreads.exp:: Likewise.
4274 * gdb.threads/schedlock.exp: Likewise.
4276 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
4278 * gdb.cp/non-trivial-retval.cc: Add a test case.
4279 * gdb.cp/non-trivial-retval.exp: Add a test.
4281 2014-10-20 Yao Qi <yao@codesourcery.com>
4283 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
4284 * gdb.python/py-objfile-script-gdb.py: New file.
4285 * gdb.python/py-objfile-script.exp: Update reference to
4286 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
4287 of remote_download. Remove the dest file.
4289 2014-10-20 Yao Qi <yao@codesourcery.com>
4291 * gdb.base/checkpoint.exp: Don't remove file copied on host.
4292 * gdb.base/step-line.exp: Likewise.
4293 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4294 * gdb.dwarf2/dw2-basic.exp: Likewise.
4295 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4296 * gdb.dwarf2/dw2-filename.exp: Likewise.
4297 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4298 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4299 * gdb.dwarf2/dw2-producer.exp: Likewise.
4300 * gdb.dwarf2/mac-fileno.exp: Likewise.
4301 * gdb.python/py-frame-args.exp: Likewise.
4302 * gdb.python/py-framefilter.exp: Likewise.
4303 * gdb.python/py-mi.exp: Likewise.
4304 * gdb.python/py-objfile-script.exp: Likewise
4305 * gdb.python/py-pp-integral.exp: Likewise.
4306 * gdb.python/py-pp-re-notag.exp: Likewise.
4307 * gdb.python/py-prettyprint.exp: Likewise.
4308 * gdb.python/py-section-script.exp: Likewise.
4309 * gdb.python/py-typeprint.exp: Likewise.
4310 * gdb.python/py-xmethods.exp: Likewise.
4311 * gdb.stabs/weird.exp: Likewise.
4312 * gdb.xml/tdesc-regs.exp: Likewise.
4314 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
4316 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
4317 (out_cu): Use addr_len for the size of addresses.
4318 (out_line): Likewise. Size DW_LNE_set_address instruction
4319 according to addr_len.
4320 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
4321 (FUNC): Add START_INSNS to definition.
4323 2014-10-18 Yao Qi <yao@codesourcery.com>
4325 * gdb.base/argv0-symlink.exp: Check argv[0] value if
4326 gdb_has_argv0 return true.
4327 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
4328 check [target_info exists noargs], check [gdb_has_argv0]
4330 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4331 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
4334 2014-10-17 Doug Evans <dje@google.com>
4336 * gdb.python/py-events.exp: Update expected output for clear_objfiles
4338 * gdb.python/py-events.py: Add clear_objfiles event.
4340 2014-10-17 Doug Evans <dje@google.com>
4342 * gdb.python/py-objfile.exp: Test progspace attribute.
4344 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
4346 * gdb.guile/scm-breakpoint.exp: Do not assume any
4347 directory separators when matching source file paths.
4348 * gdb.python/py-breakpoint.exp: Likewise.
4349 * gdb.reverse/break-precsave.exp: Likewise.
4350 * gdb.reverse/break-reverse.exp: Likewise.
4351 * gdb.reverse/consecutive-precsave.exp: Likewise.
4352 * gdb.reverse/finish-precsave.exp: Likewise.
4353 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
4354 * gdb.reverse/finish-reverse.exp: Likewise.
4355 * gdb.reverse/i386-precsave.exp: Likewise.
4356 * gdb.reverse/i387-env-reverse.exp: Likewise.
4357 * gdb.reverse/i387-stack-reverse.exp: Likewise.
4358 * gdb.reverse/machinestate-precsave.exp: Likewise.
4359 * gdb.reverse/machinestate.exp: Likewise.
4360 * gdb.reverse/sigall-precsave.exp: Likewise.
4361 * gdb.reverse/solib-precsave.exp: Likewise.
4362 * gdb.reverse/step-precsave.exp: Likewise.
4363 * gdb.reverse/until-precsave.exp: Likewise.
4364 * gdb.reverse/watch-precsave.exp: Likewise.
4365 * gdb.reverse/watch-reverse.exp: Likewise.
4367 2014-10-17 Yao Qi <yao@codesourcery.com>
4369 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
4370 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
4372 2014-10-17 Pedro Alves <palves@redhat.com>
4375 * gdb.base/bg-execution-repeat.c: New file.
4376 * gdb.base/bg-execution-repeat.exp: New file.
4378 2014-10-17 Pedro Alves <palves@redhat.com>
4381 * gdb.base/continue-all-already-running.c: New file.
4382 * gdb.base/continue-all-already-running.exp: New file.
4384 2014-10-17 Pedro Alves <palves@redhat.com>
4387 * gdb.base/annota-input-while-running.c: New file.
4388 * gdb.base/annota-input-while-running.exp: New file.
4390 2014-10-17 Pedro Alves <palves@redhat.com>
4392 * gdb.base/callfuncs.exp: emove references to osf.
4393 * gdb.base/sigall.exp: Likewise.
4394 * gdb.gdb/selftest.exp: Likewise.
4395 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
4396 * gdb.mi/non-stop.c: Likewise.
4397 * gdb.mi/pthreads.c: Likewise.
4398 * gdb.reverse/sigall-precsave.exp: Likewise.
4399 * gdb.reverse/sigall-reverse.exp: Likewise.
4400 * gdb.threads/pthreads.c: Likewise.
4401 * gdb.threads/pthreads.exp: Likewise.
4403 2014-10-17 Yao Qi <yao@codesourcery.com>
4405 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
4406 check 'target_info exists noargs'.
4407 (test_command_prompt_position): Likewise.
4408 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
4410 (progvar_simple_while_test): Likewise.
4411 (progvar_complex_if_while_test): Likewise.
4412 (if_while_breakpoint_command_test): Likewise.
4413 (infrun_breakpoint_command_test): Likewise.
4414 (breakpoint_command_test): Likewise.
4415 (watchpoint_command_test): Likewise.
4416 (bp_deleted_in_command_test): Likewise.
4417 (temporary_breakpoint_commands): Likewise.
4419 2014-10-16 Yao Qi <yao@codesourcery.com>
4421 * gdb.base/remotetimeout.exp: Remove noargs checking.
4423 2014-10-15 Pedro Alves <palves@redhat.com>
4426 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
4427 * gdb.base/breakpoint-in-ro-region.exp
4428 (probe_target_hardware_step): New procedure.
4429 (top level): Probe hardware stepping and hardware breakpoint
4430 support. Test stepping through a read-only region, with both
4431 "breakpoint auto-hw" on and off and both "always-inserted" on and
4434 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
4436 * gdb.dlang/demangle.exp: Update for demangling changes.
4438 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4440 * gdb.cp/non-trivial-retval.cc: Add new test cases.
4441 * gdb.cp/non-trivial-retval.exp: Add new tests.
4443 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4447 * gdb.cp/non-trivial-retval.cc: New file.
4448 * gdb.cp/non-trivial-retval.exp: New file.
4450 2014-10-15 Yao Qi <yao@codesourcery.com>
4452 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
4455 2014-10-15 Yao Qi <yao@codesourcery.com>
4457 * gdb.python/py-symbol.exp: Match file base name if host is
4458 remote, otherwise match file name with dir name.
4459 * gdb.python/py-symtab.exp: Likewise.
4460 * gdb.python/python.exp: Likewise.
4462 2014-10-15 Yao Qi <yao@codesourcery.com>
4464 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
4466 * gdb.python/py-symtab.exp: Likewise.
4467 * gdb.python/python.exp: Remove trailing ".*". Fix typo
4470 2014-10-14 Joel Brobecker <brobecker@adacore.com>
4472 * gdb.ada/addr_arith: New testcase.
4474 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
4476 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
4477 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
4478 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
4479 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
4481 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
4483 * gdb.arch/stap-eval-lang-ada.S: Likewise.
4484 * gdb.arch/stap-eval-lang-ada.c: Likewise.
4485 * gdb.arch/stap-eval-lang-ada.exp: New file.
4487 2014-10-14 Yao Qi <yao@codesourcery.com>
4489 * gdb.mi/mi-var-child.c (nothing1): New function.
4490 (nothing2): New function.
4491 (do_children_tests): Set function pointers by nothing1 and
4493 * gdb.mi/mi-var-child.exp: Step over new added statements.
4494 Update test to match the new output.
4495 * gdb.mi/var-cmd.c (nothing1): New function.
4496 (nothing2): New function.
4497 (do_children_tests): Set function pointers by nothing1 and
4499 * gdb.mi/mi-var-display.exp: Update test to match output.
4500 Step to the line specified by $line_dct_nothing.
4501 Increase the number of lines to step.
4503 2014-10-14 Yao Qi <yao@codesourcery.com>
4505 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
4507 * gdb.mi/mi2-var-child.exp: Likewise.
4509 2014-10-13 Doug Evans <dje@google.com>
4511 * gdb.python/py-objfile.exp: Change name of file name test.
4513 2014-10-13 Doug Evans <dje@google.com>
4515 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
4516 from the start of the CU.
4518 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4519 Yao Qi <yao@codesourcery.com>
4521 Fix "save breakpoints" for "catch" command.
4522 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
4523 Remove -nonewline. Match also the added "main" line.
4525 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4527 Fix "save breakpoints" for "disable $bpnum" command.
4528 * gdb.base/save-bp.c (main): Add label.
4529 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
4531 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4533 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
4535 2014-10-11 Yao Qi <yao@codesourcery.com>
4537 * gdb.server/server-kill.exp: Execute command
4538 "set remote trace-status-packet on" before "tstatus".
4540 2014-10-11 Yao Qi <yao@codesourcery.com>
4542 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
4543 (main): Call getppid.
4544 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
4545 and continue to it. Read variable "server_pid".
4547 2014-10-11 Yao Qi <yao@codesourcery.com>
4549 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
4551 2014-10-11 Yao Qi <yao@codesourcery.com>
4553 * gdb.threads/thread-find.exp: Don't execute command
4555 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
4556 * gdb.threads/linux-dp.exp: Don't check the condition
4557 $threads_created equals to zero.
4559 2014-10-10 Pedro Alves <palves@redhat.com>
4561 * gdb.base/bigcore.exp: Remove references to IRIX.
4562 * gdb.base/funcargs.exp: Likewise.
4563 * gdb.base/interrupt.exp: Likewise.
4564 * gdb.base/mips_pro.exp: Likewise.
4565 * gdb.base/nodebug.exp: Likewise.
4566 * gdb.base/setvar.exp: Likewise.
4567 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
4569 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4570 Pedro Alves <palves@redhat.com>
4573 * gdb.base/vdso-warning.c: New file.
4574 * gdb.base/vdso-warning.exp: New file.
4576 2014-10-02 Doug Evans <dje@google.com>
4578 * gdb.base/structs.c (main): Don't run forever.
4580 2014-10-02 Pedro Alves <palves@redhat.com>
4582 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
4583 (top level) <stop threads 1, stop threads 2>: Use it.
4585 2014-10-02 Pedro Alves <palves@redhat.com>
4587 * gdb.threads/break-while-running.exp (test): Add new
4588 'update_thread_list' argument. Skip "info threads" if false.
4589 (top level): Add new 'update_thread_list' axis.
4591 2014-10-02 Pedro Alves <palves@redhat.com>
4593 PR breakpoints/17431
4594 * gdb.base/execl-update-breakpoints.c: New file.
4595 * gdb.base/execl-update-breakpoints.exp: New file.
4597 2014-10-01 Pedro Alves <palves@redhat.com>
4599 * gdb.base/breakpoint-in-ro-region.c: New file.
4600 * gdb.base/breakpoint-in-ro-region.exp: New file.
4602 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
4604 * gdb.mi/mi-exit-code.exp: New file.
4605 * gdb.mi/mi-exit-code.c: New file.
4607 2014-09-30 Yao Qi <yao@codesourcery.com>
4609 * lib/prelink-support.exp (build_executable_own_libs): Error if
4610 the target isn't native.
4612 2014-09-30 Yao Qi <yao@codesourcery.com>
4614 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
4617 2014-09-22 Pedro Alves <palves@redhat.com>
4619 * gdb.threads/break-while-running.exp: New file.
4620 * gdb.threads/break-while-running.c: New file.
4622 2014-09-19 Yao Qi <yao@codesourcery.com>
4624 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
4625 Invoke test. Restart GDB with --readnow and invoke test again.
4627 2014-09-19 Yao Qi <yao@codesourcery.com>
4629 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
4630 proc set_breakpoint_on_gcd_function. Invoke
4631 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
4632 invoke set_breakpoint_on_gcd_function again.
4634 2014-09-18 Doug Evans <dje@google.com>
4636 * gdb.dwarf2/symtab-producer.exp: New file.
4638 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
4640 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
4641 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
4642 * gdb.base/global-var-nested-by-dso.c: Likewise.
4643 * gdb.base/global-var-nested-by-dso.exp: Likewise.
4645 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
4646 Pedro Alves <palves@redhat.com>
4648 * gdb.base/watch-bitfields.exp: Pass string other than test file
4649 name to prepare_for_testing.
4650 (watch): New procedure.
4651 (expect_watchpoint): Use with_test_prefix.
4652 (top level): Factor out tests to ...
4653 (test_watch_location, test_regular_watch): ... these new
4654 procedures, and use with_test_prefix and gdb_continue_to_end.
4656 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
4658 PR breakpoints/12526
4659 * gdb.base/watch-bitfields.exp: New file.
4660 * gdb.base/watch-bitfields.c: New file.
4662 2014-09-16 Pedro Alves <palves@redhat.com>
4664 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
4665 software and hardware addresses, not software address against
4668 2014-09-16 Pedro Alves <palves@redhat.com>
4670 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
4671 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
4673 2014-09-16 Pedro Alves <palves@redhat.com>
4675 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
4677 * gdb.base/a2-run.exp: Remove all code guarded by istarget
4678 "*-*-vxworks*" throughout.
4679 * gdb.base/break.exp: Likewise.
4680 * gdb.base/default.exp: Likewise.
4681 * gdb.base/scope.exp: Likewise.
4682 * gdb.base/sepdebug.exp: Likewise.
4683 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
4685 * gdb.base/run.c: Likewise.
4686 * gdb.base/sepdebug.c: Likewise.
4687 * gdb.hp/gdb.aCC/run.c: Likewise.
4688 * gdb.reverse/until-reverse.c: Likewise.
4689 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
4691 2014-09-16 Yao Qi <yao@codesourcery.com>
4693 * boards/local-remote-host-native.exp: New file.
4695 2014-09-14 Doug Evans <xdje42@gmail.com>
4697 * gdb.threads/queue-signal.c (thread_count): New variable.
4698 (thread_count_mutex, thread_count_condvar): New variables.
4699 (incr_thread_count, wait_all_threads_running): New functions.
4700 (main): Wait for all threads to be in their thread functions.
4702 2014-09-13 Doug Evans <xdje42@gmail.com>
4704 * gdb.threads/queue-signal.c: New file.
4705 * gdb.threads/queue-signal.exp: New file.
4707 2014-09-13 Doug Evans <xdje42@gmail.com>
4709 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
4710 be consistent with what default_gdb_init uses.
4711 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
4712 the plain text of the prompt. Add some logging printfs.
4713 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
4715 2014-09-12 Pedro Alves <palves@redhat.com>
4717 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
4718 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
4719 * gdb.arch/i386-size-overlap.exp: Likewise.
4720 * gdb.arch/i386-size.exp: Likewise.
4721 * gdb.arch/i386-unwind.exp: Likewise.
4722 * gdb.base/a2-run.exp: Likewise.
4723 * gdb.base/break.exp: Likewise.
4724 * gdb.base/charset.exp: Likewise.
4725 * gdb.base/chng-syms.exp: Likewise.
4726 * gdb.base/commands.exp: Likewise.
4727 * gdb.base/dbx.exp: Likewise.
4728 * gdb.base/find.exp: Likewise.
4729 * gdb.base/funcargs.exp: Likewise.
4730 * gdb.base/jit-simple.exp: Likewise.
4731 * gdb.base/reread.exp: Likewise.
4732 * gdb.base/sepdebug.exp: Likewise.
4733 * gdb.base/step-bt.exp: Likewise.
4734 * gdb.cp/mb-inline.exp: Likewise.
4735 * gdb.cp/mb-templates.exp: Likewise.
4736 * gdb.objc/basicclass.exp: Likewise.
4737 * gdb.threads/killed.exp: Likewise.
4739 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4742 * gdb.arch/powerpc-stackless.S: New file.
4743 * gdb.arch/powerpc-stackless.exp: New file.
4745 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4747 * gdb.base/attach.c: Include unistd.h.
4748 (main): Call alarm. Add label postloop.
4749 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
4750 gdb_breakpoint, gdb_continue_to_breakpoint.
4751 (test_command_line_attach_run): Kill ${testpid} in one exit path.
4753 2014-09-11 Pedro Alves <palves@redhat.com>
4756 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
4757 * gdb.base/attach.exp (test_command_line_attach_run): New
4759 (top level): Call it.
4761 2014-09-11 Pedro Alves <palves@redhat.com>
4763 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
4764 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
4765 (do_command_attach_tests): Use spawn_wait_for_attach.
4766 * gdb.base/solib-overlap.exp: Likewise.
4767 * gdb.multi/multi-attach.exp: Likewise.
4768 * gdb.python/py-prompt.exp: Likewise.
4769 * gdb.python/py-sync-interp.exp: Likewise.
4770 * gdb.server/ext-attach.exp: Likewise.
4772 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
4774 * gdb.fortran/array-element.exp: Remove unexpected "continue"
4775 command in testcase. Simplify testcase.
4777 2014-09-10 Joel Brobecker <brobecker@adacore.com>
4779 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
4781 2014-09-10 Joel Brobecker <brobecker@adacore.com>
4783 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
4785 2014-09-10 Joel Brobecker <brobecker@adacore.com>
4787 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
4789 2014-09-10 Joel Brobecker <brobecker@adacore.com>
4791 * gdb.dwarf2/dynarr-ptr.c: New file.
4792 * gdb.dwarf2/dynarr-ptr.exp: New file.
4794 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4796 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
4797 of 30 rather than hardcoding 120 for a slow test case. Take the
4798 `gdb,timeout' target setting into account for this calculation.
4799 Don't extend the timeout for the test cases that don't need it.
4801 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4803 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
4804 a factor of 2 for a slow test case. Take the `gdb,timeout'
4805 target setting into account for this calculation.
4806 * gdb.reverse/until-precsave.exp: Increase the timeout by
4807 a factor of 15 and 3 respectively rather than adding 120
4808 for a pair of slow test cases. Take the `gdb,timeout'
4809 target setting into account for this calculation.
4811 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4813 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
4814 timeout, don't pass one down to gdb_expect.
4815 (gdb_expect): Rework timeout selection.
4817 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4819 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
4820 exception on timeout.
4821 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
4822 (gdbserver_start_extended): Catch any `gdbserver_start' error
4824 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
4825 * lib/mi-support.exp (mi_gdb_target_load): Catch any
4826 `gdbserver_gdb_load' error exceptions.
4828 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4830 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
4831 120 on waiting for the TCP socket to open.
4833 2014-09-09 Doug Evans <xdje42@gmail.com>
4835 * gdb.base/default.exp (show_conv_list): Add _caller_is,
4836 _caller_matches, _any_caller_is, _any_caller_matches.
4838 2014-09-09 Doug Evans <xdje42@gmail.com>
4840 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
4842 2014-09-09 Yao Qi <yao@codesourcery.com>
4844 * gdb.mi/mi-var-display.exp: Set print symbol off.
4846 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
4849 * gdb.base/commands.exp: Add tests to verify user-defined
4850 commands with empty bodies.
4851 * gdb.python/py-cmd.exp: Test that we don't show user-defined
4852 python commands in `show user command`.
4853 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
4854 scheme commands in `show user command`.
4856 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4859 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
4860 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
4861 * gdb.python/py-framefilter-invalidarg.exp: New file.
4862 * gdb.python/py-framefilter-invalidarg.py: New file.
4864 2014-09-06 Doug Evans <xdje42@gmail.com>
4867 * gdb.python/py-caller-is.c: New file.
4868 * gdb.python/py-caller-is.exp: New file.
4870 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
4873 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
4874 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
4876 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
4879 * gdb.fortran/print-formatted.exp: New file.
4880 * gdb.fortran/print-formatted.f90: Likewise.
4882 2014-09-03 Sasha Smundak <asmundak@google.com>
4884 * gdb.python/py-frame.exp: Test Frame.read_register.
4886 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
4889 * gdb.python/py-completion.exp: New file.
4890 * gdb.python/py-completion.py: Likewise.
4892 2014-08-28 Doug Evans <dje@google.com>
4894 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
4895 eax,etc. are live with values set by gdb and thus the compiler can't
4897 * gdb.arch/i386-pseudo.c (main): Ditto.
4899 2014-08-27 Doug Evans <dje@google.com>
4901 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
4903 2014-08-25 Doug Evans <dje@google.com>
4905 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
4908 2014-08-25 Doug Evans <dje@google.com>
4910 * gdb.threads/thread-execl.exp: #include <stdio.h>.
4912 2014-08-24 Yao Qi <yao@codesourcery.com>
4914 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
4916 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
4918 2014-08-22 Doug Evans <dje@google.com>
4921 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
4922 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
4923 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
4925 2014-08-22 Yao Qi <yao@codesourcery.com>
4927 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
4928 * gdb.python/py-finish-breakpoint2.exp: Likewise.
4929 * gdb.python/python.exp: Likewise. Use .py file on the host
4930 instead of the build.
4932 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4934 * gdb.threads/gcore-stale-thread.c: New file.
4935 * gdb.threads/gcore-stale-thread.exp: New file.
4937 2014-08-21 Pedro Alves <palves@redhat.com>
4939 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
4940 * gdb.base/gcore-relro-pie.exp: Likewise.
4941 * gdb.base/gcore-relro.exp: Likewise.
4942 * gdb.base/gcore.exp: Likewise.
4943 * gdb.base/print-symbol-loading.exp: Likewise.
4944 * gdb.threads/gcore-thread.exp: Likewise.
4945 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
4947 2014-08-20 Pedro Alves <palves@redhat.com>
4948 Jan Kratochvil <jan.kratochvil@redhat.com>
4950 * Makefile.in (EXTRA_RULES, CC): New variables, get from
4952 (EXPECT): Handle READ1 being set.
4953 (all): Depend on EXTRA_RULES.
4954 (check-read1, expect-read1, read1.so, read1): New rules.
4955 * README (Testsuite Parameters): Document the READ1 make variable.
4956 (Race detection): New section.
4957 * configure: Regenerate.
4958 * configure.ac: If build==host==target, and running under a
4959 GNU/glibc system, add read1 to the extra Makefile rules.
4960 (EXTRA_RULES): AC_SUBST it.
4961 * lib/read1.c: New file.
4963 2014-08-20 Joel Brobecker <brobecker@adacore.com>
4965 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
4966 the handling of variables declared as a typedef to an array
4967 which a DW_AT_data_location attribute.
4969 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
4970 Pedro Alves <palves@redhat.com>
4974 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
4977 2014-08-19 Pedro Alves <palves@redhat.com>
4979 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
4981 2014-08-19 Yao Qi <yao@codesourcery.com>
4983 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
4986 2014-08-18 David Blaikie <dblaikie@gmail.com>
4988 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
4990 2014-08-18 Joel Brobecker <brobecker@adacore.com>
4992 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
4993 attribute in array range.
4995 2014-08-18 Joel Brobecker <brobecker@adacore.com>
4997 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
4999 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5002 * gdb.cp/pr17132.cc: New file.
5003 * gdb.cp/pr17132.exp: New file.
5005 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5007 * gdb.python/py-xmethods.py (A_getarrayind)
5008 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5009 Use 'print' with function call syntax.
5010 (E_method_matcher.match): Fix tab vs space indentation mixup.
5012 2014-08-15 Yao Qi <yao@codesourcery.com>
5014 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5017 2014-08-15 Yao Qi <yao@codesourcery.com>
5019 * gdb.cp/casts.exp: Set print symbol off.
5020 * gdb.cp/class2.exp: Likewise.
5021 * gdb.cp/overload.exp: Likewise.
5022 * gdb.cp/templates.exp: Likewise.
5024 2014-08-11 Doug Evans <dje@google.com>
5026 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5027 (test_load_shlib): Update.
5029 2014-08-09 Yao Qi <yao@codesourcery.com>
5031 * gdb.base/display.exp: Invoke is_address_zero_readable.
5032 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5033 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5034 * gdb.base/hbreak-unmapped.exp: Return if
5035 is_address_zero_readable returns true.
5036 * gdb.base/signest.exp: Likewise.
5037 * gdb.base/signull.exp: Likewise.
5038 * gdb.base/sigbpt.exp: Likewise.
5039 * gdb.guile/scm-disasm.exp: Do the test if
5040 is_address_zero_readable returns false.
5041 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5042 * gdb.python/py-arch.exp: Likewise.
5043 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5044 * lib/gdb.exp (is_address_zero_readable): New proc.
5046 2014-08-09 Yao Qi <yao@codesourcery.com>
5049 * gdb.mi/mi-var-display.exp: Make test messages unique.
5051 2014-08-04 Tom Tromey <tromey@redhat.com>
5053 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5056 2014-08-04 Tom Tromey <tromey@redhat.com>
5058 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5061 2014-08-01 Joel Brobecker <brobecker@adacore.com>
5063 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5064 inner_vla_struct_object_size.
5065 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5068 2014-07-30 Pedro Alves <palves@redhat.com>
5070 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5073 2014-07-29 Yao Qi <yao@codesourcery.com>
5076 * gdb.base/until-nodebug.exp: New.
5078 2014-07-28 Doug Evans <xdje42@gmail.com>
5081 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5082 previously existing parameter, and previously ambiguously spelled
5085 2014-07-28 Will Newton <will.newton@linaro.org>
5087 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5089 2014-07-26 Ludovic Courtès <ludo@gnu.org>
5090 Doug Evans <xdje42@gmail.com>
5093 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5095 2014-07-25 Pedro Alves <palves@redhat.com>
5097 * gdb.threads/signal-command-handle-nopass.c: New file.
5098 * gdb.threads/signal-command-handle-nopass.exp: New file.
5099 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5100 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5101 * gdb.threads/signal-delivered-right-thread.c: New file.
5102 * gdb.threads/signal-delivered-right-thread.exp: New file.
5104 2014-07-25 Pedro Alves <palves@redhat.com>
5106 * gdb.base/double-prompt-target-event-error.exp
5107 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5109 (cancel_pagination_in_target_event): Rework double prompt
5111 * gdb.base/paginate-after-ctrl-c-running.exp
5112 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5114 * gdb.base/paginate-bg-execution.exp
5115 (test_bg_execution_pagination_return)
5116 (test_bg_execution_pagination_cancel): Remove '-notransfer
5118 * gdb.base/paginate-execution-startup.exp
5119 (test_fg_execution_pagination_return)
5120 (test_fg_execution_pagination_cancel): Remove '-notransfer
5122 * gdb.base/paginate-inferior-exit.exp
5123 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5125 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5126 * lib/gdb.exp (pagination_prompt): Run text through
5128 (gdb_test_multiple): Match $pagination_prompt instead of
5130 (string_to_regexp): Move to lib/gdb-utils.exp.
5132 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5134 * gdb.arch/amd64-entry-value-paramref.S: New file.
5135 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5136 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5137 * gdb.arch/amd64-optimout-repeat.S: New file.
5138 * gdb.arch/amd64-optimout-repeat.c: New file.
5139 * gdb.arch/amd64-optimout-repeat.exp: New file.
5141 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5144 * gdb.base/statistics.exp: New file.
5146 2014-07-17 Doug Evans <dje@google.com>
5149 * gdb.base/maint.exp: Update testing of per-command stats.
5151 2014-07-16 Pedro Alves <palves@redhat.com>
5153 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5154 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5155 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5156 (tfile_write_buf): New functions.
5157 (add_memory_block): Rewrite using the above.
5158 (adjust_function_address): New function.
5159 (FUNCTION_ADDRESS): New macro.
5160 (write_basic_trace_file): Remove short_x local, and use
5161 tfile_write_16. Change type of func_addr local to unsigned long
5162 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5163 here. Cast argument of add_memory_block to char pointer.
5164 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5165 (main): Remove parameters.
5166 * gdb.trace/tfile.exp: Remove nowarnings.
5168 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5170 * gdb.base/debug-expr.exp: Test string evaluation with
5171 "debug expression" on.
5173 2014-07-15 Pedro Alves <palves@redhat.com>
5175 * gdb.base/reread.exp: Use clean_restart.
5177 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5179 * gdb.arch/avr-flash-qualifer.c: New.
5180 * gdb.arch/avr-flash-qualifer.exp: New.
5182 2014-07-14 Pedro Alves <palves@redhat.com>
5184 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5185 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5187 2014-07-14 Pedro Alves <palves@redhat.com>
5189 * gdb.base/double-prompt-target-event-error.c: New file.
5190 * gdb.base/double-prompt-target-event-error.exp: New file.
5192 2014-07-14 Pedro Alves <palves@redhat.com>
5195 * gdb.base/paginate-inferior-exit.c: New file.
5196 * gdb.base/paginate-inferior-exit.exp: New file.
5198 2014-07-14 Pedro Alves <palves@redhat.com>
5201 * gdb.base/paginate-bg-execution.c: New file.
5202 * gdb.base/paginate-bg-execution.exp: New file.
5204 2014-07-14 Pedro Alves <palves@redhat.com>
5207 * gdb.base/paginate-execution-startup.c: New file.
5208 * gdb.base/paginate-execution-startup.exp: New file.
5209 * lib/gdb.exp (pagination_prompt): New global.
5210 (default_gdb_spawn): New procedure, factored out from
5212 (default_gdb_start): Adjust to call default_gdb_spawn.
5213 (gdb_spawn): New procedure.
5215 2014-07-14 Pedro Alves <palves@redhat.com>
5217 * lib/gdb.exp (gdb_assert): New procedure.
5218 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
5220 2014-07-14 Pedro Alves <palves@redhat.com>
5222 * gdb.base/execution-termios.c: New file.
5223 * gdb.base/execution-termios.exp: New file.
5225 2014-07-14 Tom Tromey <tromey@redhat.com>
5227 * gdb.cp/vla-cxx.cc: New file.
5228 * gdb.cp/vla-cxx.exp: New file.
5230 2014-07-14 Tom Tromey <tromey@redhat.com>
5232 * gdb.reverse/rerun-prec.c: New file.
5233 * gdb.reverse/rerun-prec.exp: New file.
5235 2014-07-12 Maciej W. Rozycki <macro@mips.com>
5236 Maciej W. Rozycki <macro@codesourcery.com>
5238 * lib/gdb-utils.exp: New file.
5239 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
5240 inline `gdb_init_command' processing.
5241 (gdb_start_cmd): Likewise.
5242 * lib/mi-support.exp (mi_run_cmd): Likewise.
5243 * README: Document `gdb_init_command' and `gdb_init_commands'.
5245 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5247 Fix false FAIL running under a very long directory name.
5248 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
5249 and "set print elements 10000". Twice.
5251 2014-07-11 Yao Qi <yao@codesourcery.com>
5253 * gdb.base/exprs.exp: "set print symbol off".
5255 2014-07-11 Pedro Alves <palves@redhat.com>
5257 * gdb.threads/kill.c: New file.
5258 * gdb.threads/kill.exp: New file.
5260 2014-07-10 Yao Qi <yao@codesourcery.com>
5262 * gdb.trace/tfile.c (write_basic_trace_file)
5263 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
5264 address written to trace file.
5266 2014-07-09 Pedro Alves <palves@redhat.com>
5268 * gdb.base/attach-wait-input.exp: New file.
5269 * gdb.base/attach-wait-input.c: New file.
5271 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5273 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
5274 setting up test structures.
5275 (main): Call new test function.
5276 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
5277 test function, continue into test function and walk test
5280 2014-07-02 Yao Qi <yao@codesourcery.com>
5282 * gdb.trace/entry-values.c: Define labels 'foo_start' and
5283 'bar_start' at the beginning of functions 'foo' and 'bar'
5285 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
5286 instead of 'foo' and 'bar'.
5288 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5290 * gdb.btrace/segv.exp: New.
5291 * gdb.btrace/segv.c: New.
5293 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
5295 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
5298 2014-06-30 Mark Wielaard <mjw@redhat.com>
5300 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
5301 vulture, vilify, villar): New volatile array constants.
5302 (vindictive, vegetation): New const volatile array constants.
5303 * gdb.base/volatile.exp: Test volatile and const volatile array
5306 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5308 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
5309 target lacks support for awatch, rwatch, or hbreak.
5311 2014-06-27 Yao Qi <yao@codesourcery.com>
5313 * gdb.multi/dummy-frame-restore.exp: New.
5314 * gdb.multi/dummy-frame-restore.c: New.
5316 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5318 * gdb.btrace/gcore.exp: New.
5320 2014-06-23 Pedro Alves <palves@redhat.com>
5322 * gdb.base/watchpoint-reuse-slot.c: New file.
5323 * gdb.base/watchpoint-reuse-slot.exp: New file.
5325 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5327 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
5328 progspace's filename in 'info', 'enable' and 'disable' command
5331 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5333 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
5334 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5335 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
5337 2014-06-20 Gary Benson <gbenson@redhat.com>
5339 * gdb.arch/i386-avx.exp: Fix include file location.
5340 * gdb.arch/i386-sse.exp: Likewise.
5342 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5344 * gdb.dlang/expression.exp: New file.
5346 2014-06-19 Pedro Alves <palves@redhat.com>
5348 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
5350 (top level): ... here. Iterate running tests under different
5351 scheduler-locking settings.
5353 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
5355 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
5356 to DW_FORM_addr and use non-zero addresses.
5358 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
5361 * gdb.python/py-xmethods.cc: Add global function call counters and
5362 increment them in their respective functions. Remove "cout"
5364 * gdb.python/py-xmethods.exp: Make tests check the global function
5365 call counters instead of depending on inferior IO.
5367 2014-06-18 Don Breazeal <donb@codesourcery.com>
5369 * gdb.base/foll-fork.exp (default_fork_parent_follow):
5371 (explicit_fork_parent_follow): Deleted procedure.
5372 (explicit_fork_child_follow): Deleted procedure.
5373 (test_follow_fork): New procedure.
5374 (do_fork_tests): Replace calls to deleted procedures with
5375 calls to test_follow_fork and reset GDB for subsequent
5378 2014-06-17 Yao Qi <yao@codesourcery.com>
5380 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
5383 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
5385 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
5386 Initialize ptr and S explicitly.
5387 (skip_type_update_when_not_use_rtti_test): Likewise.
5389 2014-06-16 Keith Seitz <keiths@redhat.com>
5392 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
5393 the inferior is started.
5395 2014-06-16 Pedro Alves <palves@redhat.com>
5397 * gdb.base/break-main-file-remove-fail.c: New file.
5398 * gdb.base/break-main-file-remove-fail.exp: New file.
5399 * gdb.base/break-unload-file.exp: Use build_executable instead of
5400 prepare_for_testing.
5401 (test_break): New parameter "initial_load". Handle it.
5402 (top level): Add initial_load cmdline/file axis.
5404 2014-06-12 Tom Tromey <tromey@redhat.com>
5406 * gdb.base/completion.exp: Don't use directory name in test.
5408 2014-06-09 Gary Benson <gbenson@redhat.com>
5410 * gdb.base/sigall.c [Functions to send signals]: Reorder to
5411 separate the always-available ANSI-standard signals from the
5412 signals that require checking.
5414 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
5418 2014-06-07 Keith Seitz <keiths@redhat.com>
5422 * gdb.cp/var-tag.cc: New file.
5423 * gdb.cp/var-tag.exp: New file.
5424 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5425 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5426 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5427 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5429 2014-06-06 Doug Evans <xdje42@gmail.com>
5431 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
5433 2014-06-06 Pedro Alves <palves@redhat.com>
5435 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
5436 in target debug output instead of looking at RSP packets,
5437 disabling the test on any target that uses hardware stepping.
5440 2014-06-06 Pedro Alves <palves@redhat.com>
5442 * gdb.base/break-unload-file.exp: Fix typo.
5444 2014-06-06 Yao Qi <yao@codesourcery.com>
5446 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
5447 from "jit_function" to "^jit_function".
5449 2014-06-06 Yao Qi <yao@codesourcery.com>
5451 * gdb.base/async.c (foo): Add one statement.
5452 * gdb.base/async.exp: Get the next instruction address and
5453 match the output of "nexti" by instruction address. Match
5454 the hex address in the output of "finish".
5456 2014-06-06 Gary Benson <gbenson@redhat.com>
5458 * gdb.base/call-signals.c: Remove preprocessor conditionals
5459 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
5460 SIGSEGV and SIGTERM.
5461 * gdb.base/sigall.c: Likewise.
5462 * gdb.base/unwindonsignal.c: Likewise.
5463 * gdb.reverse/sigall-reverse.c: Likewise.
5465 2014-06-06 Yao Qi <yao@codesourcery.com>
5467 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
5468 readable, skip the test.
5470 2014-06-06 Yao Qi <yao@codesourcery.com>
5472 * gdb.threads/staticthreads.c (thread_function): Move the line
5473 setting breakpoint on forward.
5474 * gdb.threads/staticthreads.exp: Update comments.
5476 2014-06-05 Ludovic Courtès <ludo@gnu.org>
5478 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
5479 "history-append! type error".
5481 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
5483 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
5484 erroneous dprintf expected input.
5486 2014-06-04 Doug Evans <xdje42@gmail.com>
5488 * gdb.guile/scm-generics.exp: Delete.
5490 2014-06-04 Doug Evans <xdje42@gmail.com>
5492 * gdb.guile/scm-breakpoint.exp: Update.
5493 Add tests for breakpoint registration.
5495 2014-06-04 Tom Tromey <tromey@redhat.com>
5497 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
5499 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
5500 inner_vla_struct, vla_union types. Initialize objects of those
5501 types and compute their sizes.
5503 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
5504 Hui Zhu <hui@codesourcery.com>
5506 * gdb.base/fileio.exp: Add test for shell not available as well as
5508 * gdb.base/fileio.c (test_system): Check for shell twice.
5510 2014-06-04 Yao Qi <yao@codesourcery.com>
5512 * gdb.base/auto-connect-native-target.exp: Remove redundant
5513 space from the regexp pattern.
5515 2014-06-04 Yao Qi <yao@codesourcery.com>
5517 * gdb.base/default.exp: Replace "child" with "native" in
5520 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
5522 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
5523 * gdb.python/py-xmethods.exp: New tests to test xmethods.
5524 * gdb.python/py-xmethods.py: Python script supporting the
5525 new testcase and tests.
5527 2014-06-03 Joel Brobecker <brobecker@adacore.com>
5528 Pedro Alves <palves@redhat.com>
5530 PR breakpoints/17000
5531 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
5532 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
5534 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
5536 * gdb.base/subst.exp: Add tests to verify partial path matching
5539 2014-06-03 Pedro Alves <palves@redhat.com>
5541 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
5542 target that doesn't use software single-stepping.
5544 2014-06-03 Pedro Alves <palves@redhat.com>
5546 PR breakpoints/17000
5547 * gdb.base/sss-bp-on-user-bp-2.c: New file.
5548 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
5550 2014-06-02 Doug Evans <xdje42@gmail.com>
5552 * gdb.guile/scm-parameter.exp: New file.
5554 2014-06-02 Doug Evans <xdje42@gmail.com>
5556 * gdb.guile/scm-cmd.c: New file.
5557 * gdb.guile/scm-cmd.exp: New file.
5559 2014-06-02 Doug Evans <xdje42@gmail.com>
5561 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
5562 pretty-printer lookup.
5563 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
5564 (make-pp_s-printer): Call it.
5565 (make-pretty-printer-from-dict): New function.
5566 (lookup-pretty-printer-maker-from-dict): New function.
5567 (*pretty-printer*): Simplify.
5568 (make-objfile-pp_s-printer): New function.
5569 (install-objfile-pretty-printers!): New function.
5570 (make-progspace-pp_s-printer): New function.
5571 (install-progspace-pretty-printers!): New function.
5572 * gdb.guile/scm-progspace.c: New file.
5573 * gdb.guile/scm-progspace.exp: New file.
5575 2014-06-02 Pedro Alves <palves@redhat.com>
5577 * gdb.base/dprintf-bp-same-addr.c: New file.
5578 * gdb.base/dprintf-bp-same-addr.exp: New file.
5580 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5582 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
5583 * gdb.arch/powerpc-power.s: Likewise.
5585 2014-06-02 Joel Brobecker <brobecker@adacore.com>
5587 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
5589 2014-06-01 Yao Qi <yao@codesourcery.com>
5591 * gdb.base/watchpoint.exp (test_watch_location): Check null
5592 pointer can be dereferenced. If not, do the test, otherwise
5595 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
5597 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
5599 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
5601 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
5603 * gdb.arch/amd64-invalid-stack-middle.S: New file.
5604 * gdb.arch/amd64-invalid-stack-middle.c: New file.
5605 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
5606 * gdb.arch/amd64-invalid-stack-top.c: New file.
5607 * gdb.arch/amd64-invalid-stack-top.exp: New file.
5609 2014-05-30 Pedro Alves <palves@redhat.com>
5611 PR breakpoints/17000
5612 * gdb.base/sss-bp-on-user-bp.c: New file.
5613 * gdb.base/sss-bp-on-user-bp.exp: New file.
5615 2014-05-30 David Blaikie <dblaikie@gmail.com>
5617 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
5618 gnu_inline semantics via attribute.
5619 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
5620 source explicitly specifies the required semantics.
5622 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
5624 * gdb.reverse/sigall-reverse.exp: Fix a typo.
5626 2014-05-29 Pedro Alves <palves@redhat.com>
5627 Tom Tromey <tromey@redhat.com>
5629 * gdb.base/async-shell.exp: Don't enable target-async.
5630 * gdb.base/async.exp
5631 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
5633 (top level): Don't test with "target-async".
5634 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
5635 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
5636 * gdb.base/inferior-died.exp: Don't enable target-async.
5637 * gdb.base/interrupt-noterm.exp: Likewise.
5638 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
5639 * gdb.mi/mi-nonstop-exit.exp: Likewise.
5640 * gdb.mi/mi-nonstop.exp: Likewise.
5641 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
5642 * gdb.mi/mi-nsintrall.exp: Likewise.
5643 * gdb.mi/mi-nsmoribund.exp: Likewise.
5644 * gdb.mi/mi-nsthrexec.exp: Likewise.
5645 * gdb.mi/mi-watch-nonstop.exp: Likewise.
5646 * gdb.multi/watchpoint-multi.exp: Adjust comment.
5647 * gdb.python/py-evsignal.exp: Don't enable target-async.
5648 * gdb.python/py-evthreads.exp: Likewise.
5649 * gdb.python/py-prompt.exp: Likewise.
5650 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
5651 * gdb.server/solib-list.exp: Don't enable target-async.
5652 * gdb.threads/thread-specific-bp.exp: Likewise.
5653 * lib/mi-support.exp: Adjust to use mi-async.
5655 2014-05-29 Pedro Alves <palves@redhat.com>
5658 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
5659 reason, even in sync mode.
5661 2014-05-29 Pedro Alves <palves@redhat.com>
5662 Hui Zhu <hui@codesourcery.com>
5665 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
5666 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
5667 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
5668 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
5670 2014-05-28 Joel Brobecker <brobecker@adacore.com>
5672 * config/monitor.exp (gdb_target_monitor): Replace use of
5673 "set remotebaud" by "set serial baud".
5675 2014-05-26 Andy Wingo <wingo@igalia.com>
5677 * gdb.guile/scm-breakpoint.exp:
5678 * gdb.guile/scm-gsmob.exp: Update to use plain old object
5679 properties instead of gdb-object-properties.
5681 2014-05-26 Yao Qi <yao@codesourcery.com>
5683 * gdb.server/no-thread-db.exp: Specify source file name
5684 explicitly when setting a breakpoint.
5686 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5688 * gdb.btrace/vdso.c: New.
5689 * gdb.btrace/vdso.exp: New.
5691 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5693 * gdb.base/gcore.exp (capture_command_output): Move ...
5694 * lib/gdb.exp (capture_command_output): ... here.
5696 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5698 * gdb.btrace/data.exp: Test memory access during btrace replay.
5700 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
5702 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
5704 2014-05-21 Pedro Alves <palves@redhat.com>
5707 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
5708 (top level): Test that output related to execution commands is
5709 sent to the console with CLI commands, but not with MI commands.
5710 Test that breakpoint events are always mirrored to the console.
5711 Also expect the new source line to be output after a "next" in
5712 async mode too. Make it a pass/fail test.
5713 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
5715 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
5717 2014-05-21 Pedro Alves <palves@redhat.com>
5719 * gdb.base/list.exp (build_pattern, test_list): New procedures.
5720 Use them to test variations of "list" after reaching a breakpoint.
5721 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
5722 Test "list" with listsize 10 after reaching a breakpoint.
5723 * gdb.python/python.exp (decode_line current location line
5724 number): Adjust expected line number.
5726 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
5728 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
5729 behavior for $args, pass it directly to "run".
5731 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
5733 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
5736 2014-05-21 Pedro Alves <palves@redhat.com>
5738 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
5739 auto-connect-native-target off".
5740 * gdb.base/auto-connect-native-target.c: New file.
5741 * gdb.base/auto-connect-native-target.exp: New file.
5743 2014-05-21 Pedro Alves <palves@redhat.com>
5745 * gdb.base/default.exp: Test "target native" instead of "target
5748 2014-05-21 Mark Wielaard <mjw@redhat.com>
5750 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
5752 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5754 Fix TLS access for -static -pthread.
5755 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
5756 <HAVE_TLS> (thread_function, main): Initialize it.
5757 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
5759 <$have_tls != "">: Check TLSVAR.
5761 2014-05-21 Pedro Alves <palves@redhat.com>
5763 * gdb.base/dcache-line-read-error.c: New.
5764 * gdb.base/dcache-line-read-error.exp: New.
5766 2014-05-20 Pedro Alves <palves@redhat.com>
5768 * gdb.base/compare-sections.c: New file.
5769 * gdb.base/compare-sections.exp: New file.
5771 2014-05-20 Pedro Alves <palves@redhat.com>
5773 * gdb.base/break-idempotent.c: New file.
5774 * gdb.base/break-idempotent.exp: New file.
5776 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
5778 * gdb.btrace/nohist.exp: New.
5780 2014-05-20 Yao Qi <yao@codesourcery.com>
5782 * lib/gdb.exp (gdb_init): Set timeout if test file is under
5783 gdb.reverse directory and gdb_reverse_timeout exists in board
5785 * README: Document gdb_reverse_timeout.
5787 2014-05-20 Yao Qi <yao@codesourcery.com>
5789 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
5790 'test_file_name'. Treat args as a string instead of a list.
5791 (gdb_init): Rename argument 'args' by 'test_file_name'.
5793 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5795 * gdb.arch/powerpc-power.exp: New file.
5796 * gdb.arch/powerpc-power.s: New file.
5798 2014-05-16 Doug Evans <dje@google.com>
5800 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
5801 * gdb.base/completion.exp: Check that all expected files exist
5802 before doing file completion.
5804 2014-05-16 Doug Evans <dje@google.com>
5806 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
5808 (do_syscall_tests_without_xml): Update.
5810 2014-05-16 Pedro Alves <palves@redhat.com>
5812 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
5813 instead of "unknown output after running".
5815 2014-05-16 Yao Qi <yao@codesourcery.com>
5817 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
5818 file1.txt from host at the end.
5819 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5821 2014-05-15 Doug Evans <dje@google.com>
5823 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
5824 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
5825 loading file. Add test for TU lookup.
5827 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
5829 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
5830 calling "-exec-arguments" or "set args" before running the
5833 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
5835 * lib/mi-support.exp (mi_expect_stop): Expect message for
5836 inferiors that exit with non-zero exit code.
5838 2014-05-14 Yao Qi <yao@codesourcery.com>
5840 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
5841 match absolute path on remote host.
5842 (test_file_list_exec_source_files): Remove "/" from the
5845 2014-05-14 Yao Qi <yao@codesourcery.com>
5847 * boards/local-remote-host-notty.exp (${board}_file): New
5850 2014-05-07 Kyle McMartin <kyle@redhat.com>
5852 Pushed by Joel Brobecker <brobecker@adacore.com>.
5853 * gdb.arch/aarch64-atomic-inst.c: New file.
5854 * gdb.arch/aarch64-atomic-inst.exp: New file.
5856 2014-05-07 Yao Qi <yao@codesourcery.com>
5858 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
5859 in current context" too.
5861 2014-05-05 Keith Seitz <keiths@redhat.com>
5863 * gdb.linespec/ls-dollar.exp: Add test for linespec
5864 file:convenience_variable.
5866 2014-05-05 Yao Qi <yao@codesourcery.com>
5868 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
5869 traceframes into tfile and ctf trace files. Read data from
5870 trace file and test collected data.
5871 (gdb_collect_locals_test): Likewise.
5872 (gdb_unavailable_registers_test): Likewise.
5873 (gdb_unavailable_floats): Likewise.
5874 (gdb_collect_globals_test): Likewise.
5875 (top-level): Append "ctf" to trace_file_targets if GDB
5878 2014-05-05 Yao Qi <yao@codesourcery.com>
5880 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
5882 (gdb_collect_args_test_1): ... it. New proc.
5883 (gdb_collect_locals_test): Move some code to ...
5884 (gdb_collect_locals_test_1): ... it. New proc.
5885 (gdb_unavailable_registers_test): Move some code to ...
5886 (gdb_unavailable_registers_test_1): ... it. New proc.
5887 (gdb_unavailable_floats): Move some code to ...
5888 (gdb_unavailable_floats_1): ... it. New proc.
5890 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5892 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
5893 probes to test for bitness recognition.
5894 * gdb.arch/amd64-stap-optional-prefix.exp
5895 (test_probe_value_without_reg): New procedure.
5896 Add code to test for different kinds of bitness.
5898 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5900 PR breakpoints/16889
5901 * gdb.arch/amd64-stap-optional-prefix.S: New file.
5902 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5904 2014-05-01 Pedro Alves <palves@redhat.com>
5906 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
5907 gdb_file_cmd if no file is specified.
5908 * boards/native-extended-gdbserver.exp (gdb_load): Use the
5909 last_loaded_file to set the remote exec-file.
5911 2014-05-01 Pedro Alves <palves@redhat.com>
5913 * boards/local-remote-host.exp: New file.
5915 2014-05-01 Pedro Alves <palves@redhat.com>
5917 * boards/local-remote-host.exp: Rename to ...
5918 * boards/local-remote-host-notty.exp: ... this.
5920 2014-04-28 Joel Brobecker <brobecker@adacore.com>
5922 * gdb.ada/dyn_arrayidx: New testcase.
5924 2014-04-26 Yao Qi <yao@codesourcery.com>
5926 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
5927 and compute the length of function main. Save it in
5929 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
5930 (top-level): Use gdb_compile to compile objects into
5931 executable and restart GDB. Remove invocation to
5932 prepare_for_testing.
5934 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
5935 Pedro Alves <palves@redhat.com>
5938 * gdb.multi/multi-attach.c: New file.
5939 * gdb.multi/multi-attach.exp: New file.
5941 2014-04-25 Pedro Alves <palves@redhat.com>
5943 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
5945 (top level): Test that "set remote conditional-breakpoints-packet
5946 off" works as intended.
5947 * gdb.base/dprintf.exp: Test that "set remote
5948 breakpoint-commands-packet off" works as intended.
5949 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
5951 (top level): Call it.
5952 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
5953 remote fast-tracepoints-packet off" works as intended.
5954 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
5955 * lib/gdb.exp (gdb_is_target_remote): ... here.
5957 2014-04-24 David Blaikie <dblaikie@gmail.com>
5959 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
5960 ensure clang would not discard them.
5961 * gdb.base/gdbvars.c: Ditto.
5962 * gdb.base/memattr.c: Ditto.
5963 * gdb.base/whatis.c: Ditto.
5964 * gdb.python/py-prettyprint.c: Ditto.
5965 * gdb.trace/actions.c: Ditto.
5966 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
5967 ensure clang would not discard it.
5969 2014-04-24 David Blaikie <dblaikie@gmail.com>
5971 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
5972 clang to emit the full definition of type required by the test
5973 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
5975 2014-04-24 David Blaikie <dblaikie@gmail.com>
5977 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
5978 coax Clang into emitting the definition of the type.
5979 * gdb.cp/pr10728-x.h (y): Ditto.
5980 * gdb.cp/pr10728-y.cc (y): Ditto.
5982 2014-04-24 David Blaikie <dblaikie@gmail.com>
5984 * gdb.base/label.exp: XFAIL label related tests under Clang.
5985 * gdb.cp/cplabel.exp: Ditto.
5986 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
5987 under Clang those using labels.
5989 2014-04-25 Yao Qi <yao@codesourcery.com>
5991 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
5993 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
5994 partial_label and double_label.
5996 2014-04-24 David Blaikie <dblaikie@gmail.com>
5998 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6000 2014-04-24 David Blaikie <dblaikie@gmail.com>
6002 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6003 of the function to work across GCC and Clang.
6004 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6005 pointer types (const void ** const V void **).
6007 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
6008 Walfred Tedeschi <walfred.tedeschi@intel.com>
6010 * Makefile.in (EXECUTABLES): Added i386-avx512.
6011 * gdb.arch/i386-avx512.c: New file.
6012 * gdb.arch/i386-avx512.exp: Likewise.
6014 2014-04-23 Keith Seitz <keiths@redhat.com>
6016 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6017 (mi_make_breakpoint_table): New procedure.
6018 (mi_create_breakpoint): Use mi_make_breakpoint
6019 and return the result.
6020 (mi_make_breakpoint): New procedure.
6021 (mi_build_kv_pairs): New procedure.
6023 * gdb.mi/mi-break.exp: Remove unused globals,
6024 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6025 All callers updated.
6026 * gdb.mi/mi-dprintf.exp: Use variable to track command
6028 Update all callers of mi_create_breakpoint and use
6029 mi_make_breakpoint_table.
6030 Remove any unused global variables.
6031 * gdb.mi/mi-nonstop.exp: Likewise.
6032 * gdb.mi/mi-nsintrall.exp: Likewise.
6033 * gdb.mi/mi-nsmoribund.exp: Likewise.
6034 * gdb.mi/mi-nsthrexec.exp: Likewise.
6035 * gdb.mi/mi-reverse.exp: Likewise.
6036 * gdb.mi/mi-simplerun.exp: Likewise.
6037 * gdb.mi/mi-stepn.exp: Likewise.
6038 * gdb.mi/mi-syn-frame.exp: Likewise.
6039 * gdb.mi/mi-until.exp: Likewise.
6040 * gdb.mi/mi-var-cp.exp: Likewise.
6041 * gdb.mi/mi-var-display.exp: Likewise.
6042 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6043 * gdb.mi/mi2-var-child.exp: Likewise.
6044 * gdb.mi/mi-vla-c99.exp: Likewise.
6045 * lib/mi-support.exp: Likewise.
6047 From Ian Lance Taylor <iant@cygnus.com>:
6048 * lib/gdb.exp (parse_args): New procedure.
6050 2014-04-23 Pedro Alves <palves@redhat.com>
6052 * gdb.base/break-unload-file.c: New file.
6053 * gdb.base/break-unload-file.exp: New file.
6054 * gdb.base/sym-file-lib.c (baz): New function.
6055 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6057 (load): Store the segment's mapped size.
6058 (unload): New function.
6059 (unload_shlib): New function.
6060 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6061 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6062 set a breakpoint at baz, and call it.
6063 * gdb.base/sym-file.exp: New tests for stale breakpoint
6066 2014-04-23 Pedro Alves <palves@redhat.com>
6068 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6069 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6070 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6071 * gdb.base/hbreak-unmapped.c: New file.
6072 * gdb.base/hbreak-unmapped.exp: New file.
6073 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6074 * lib/gdb.exp (gdb_is_target_remote): ... here.
6076 2014-04-22 Pedro Alves <palves@redhat.com>
6078 * gdb.base/consecutive-step-over.c: New file.
6079 * gdb.base/consecutive-step-over.exp: New file.
6081 2014-04-22 Pedro Alves <palves@redhat.com>
6083 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6084 instead of send_gdb/gdb_expect.
6086 2014-04-22 Yao Qi <yao@codesourcery.com>
6088 * lib/trace-support.exp (generate_tracefile): New procedure.
6089 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6091 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6092 if generate_tracefile returns 1.
6094 2014-04-18 Tom Tromey <palves@redhat.com>
6095 Pedro alves <tromey@redhat.com>
6098 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6099 with a backtrace limit.
6100 * gdb.python/py-frame-inline.exp: Test running to an inline
6101 function with a backtrace limit, and printing the newest frame.
6102 * gdb.python/py-frame-inline.c (main): Call f.
6104 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6106 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6108 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6110 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6111 Drop prefix from unsupported source file path.
6113 2014-04-17 Yao Qi <yao@codesourcery.com>
6115 * lib/gdb.exp (with_target_charset): New proc.
6116 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6117 with_target_charset.
6118 (test_print_strings): Likewise.
6119 (test_repeat_bytes): Likewise.
6120 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6123 2014-04-16 Keith Seitz <keiths@redhat.com>
6126 * gdb.dwarf2/corrupt.c: New file.
6127 * gdb.dwarf2/corrupt.exp: New file.
6129 2014-04-16 Keith Seitz <keiths@redhat.com>
6132 * gdb.cp/namelessclass.cc: New file.
6133 * gdb.cp/namelessclass.exp: New file.
6134 * gdb.cp/namelessclass.S: New file.
6136 2014-04-16 Doug Evans <dje@google.com>
6138 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6140 (gdbserver_default_get_comm_port): New function.
6141 (gdbserver_start): Check if board file provided
6142 "gdbserver,get_comm_port" and use it if so.
6143 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6144 (gdb,socketport): Set to "stdio".
6145 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6146 (stdio_gdbserver_template): Delete.
6147 (${board}_get_remote_address): Update.
6148 (${board}_build_remote_cmd): Delete.
6149 (${board}_get_comm_port): New function.
6150 (${board}_spawn): Update.
6151 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6153 (${board}_get_remote_address): Update.
6154 (${board}_get_comm_port): New function.
6156 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
6158 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6159 appearing in any order.
6161 2014-04-15 Doug Evans <dje@google.com>
6163 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6164 uninitialized value of "description".
6166 2014-04-15 Keith Seitz <keiths@redhat.com>
6168 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6169 Remove unused globals.
6170 (test_running_the_program): Likewise.
6171 (test_controlled_execution): Likewise.
6172 (test_controlling_breakpoints): Likewise.
6173 (test_program_termination): Likewise.
6175 2014-04-15 Keith Seitz <keiths@redhat.com>
6177 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6179 (test_rbreak_creation_and_listing): Likewise.
6180 (test_ignore_count): Likewise.
6181 (test_error): Likewise.
6183 2014-04-15 Pedro Alves <palves@redhat.com>
6185 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6186 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6188 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6189 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6190 to sym-file-loader.c.
6191 (struct library): Forward declare.
6192 (load_shlib, lookup_function): Change prototypes.
6193 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6194 (translate_offset): Remove declarations.
6195 (get_text_addr): New declaration.
6196 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
6197 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
6199 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6200 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6201 here from sym-file-loader.h.
6202 (struct library): New structure.
6203 (load_shlib, lookup_function): Change prototypes and adjust to
6204 work with a struct library.
6205 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6206 (translate_offset): Make static.
6207 (get_text_addr): New function.
6208 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
6210 2014-04-15 Pedro Alves <palves@redhat.com>
6212 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
6214 2014-04-15 Pedro Alves <palves@redhat.com>
6216 * gdb.base/sym-file-loader.c: Include <limits.h>.
6217 (SELF_LINK): New define.
6218 (get_origin): New function.
6219 (load_shlib): Use it.
6220 * gdb.base/sym-file.exp: Don't early return if the target is
6221 remote. Use runto_main, and issue fail is that fails. Use
6223 (shlib_name): Delete.
6224 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
6226 2014-04-15 Pedro Alves <palves@redhat.com>
6228 * gdb.base/sym-file.exp: Remove regex characters from test
6229 message. Don't refer to breakpoint numbers in test messages.
6231 2014-04-14 Keith Seitz <keiths@redhat.com>
6234 * gdb.cp/var-tag.cc: New file.
6235 * gdb.cp/var-tag.exp: New file.
6236 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6237 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6238 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6239 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6241 2014-04-14 Tom Tromey <tromey@redhat.com>
6243 * gdb.cp/classes.exp (test_enums): Handle underlying type.
6244 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
6246 * gdb.cp/enum-class.exp: New file.
6247 * gdb.cp/enum-class.cc: New file.
6249 2014-04-14 Tom Tromey <tromey@redhat.com>
6251 * gdb.dwarf2/enum-type.exp: New file.
6253 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6255 * gdb.mi/mi-vla-c99.exp: New file.
6256 * gdb.mi/vla.c: New file.
6258 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6260 * gdb.base/vla-datatypes.c: New file.
6261 * gdb.base/vla-datatypes.exp: New file.
6263 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6265 * gdb.base/vla-ptr.c: New file.
6266 * gdb.base/vla-ptr.exp: New file.
6268 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6270 * gdb.dwarf2/count.exp: New file.
6272 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6274 * gdb.base/vla-sideeffect.c: New file.
6275 * gdb.base/vla-sideeffect.exp: New file.
6277 2014-04-14 David Blaikie <dblaikie@gmail.com>
6279 * gdb.mi/non-stop.c: Add return value for non-void function return
6281 * gdb.threads/staticthreads.c: Ditto.
6283 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6284 Doug Evans <xdje42@gmail.com>
6286 * gdb.guile/scm-value.c: Improve test case.
6287 * gdb.guile/scm-value.exp: Add new test.
6289 2014-04-11 David Blaikie <dblaikie@gmail.com>
6291 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
6292 override Clang's default.
6294 2014-04-11 Joel Brobecker <brobecker@adacore.com>
6296 Revert the following changes (regressions):
6298 * gdb.base/vla-sideeffect.c: New file.
6299 * gdb.base/vla-sideeffect.exp: New file.
6301 * gdb.dwarf2/count.exp: New file.
6303 * gdb.base/vla-multi.c: New file.
6304 * gdb.base/vla-multi.exp: New file.
6306 * gdb.base/vla-ptr.c: New file.
6307 * gdb.base/vla-ptr.exp: New file.
6309 * gdb.base/vla-datatypes.c: New file.
6310 * gdb.base/vla-datatypes.exp: New file.
6312 * gdb.mi/mi-vla-c99.exp: New file.
6313 * gdb.mi/vla.c: New file.
6315 2014-04-11 Keith Seitz <keiths@redhat.com>
6318 * gdb.cp/cpsizeof.exp: New file.
6319 * gdb.cp/cpsizeof.cc: New file.
6321 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6323 * gdb.mi/mi-vla-c99.exp: New file.
6324 * gdb.mi/vla.c: New file.
6326 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6328 * gdb.base/vla-datatypes.c: New file.
6329 * gdb.base/vla-datatypes.exp: New file.
6331 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6333 * gdb.base/vla-ptr.c: New file.
6334 * gdb.base/vla-ptr.exp: New file.
6336 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6338 * gdb.base/vla-multi.c: New file.
6339 * gdb.base/vla-multi.exp: New file.
6341 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6343 * gdb.dwarf2/count.exp: New file.
6345 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6347 * gdb.base/vla-sideeffect.c: New file.
6348 * gdb.base/vla-sideeffect.exp: New file.
6350 2014-04-11 Yao Qi <yao@codesourcery.com>
6352 * gdb.base/completion.exp: Check file exists before running tests
6355 2014-04-10 Pedro Alves <palves@redhat.com>
6357 * gdb.base/cond-eval-mode.c: New file.
6358 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
6359 prepare_for_testing to build the new file. Check result of
6361 (test_break, test_watch): New procedures.
6362 (top level): Use them.
6364 2014-04-08 Pierre Muller <muller@sourceware.org>
6366 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
6367 Ctrl-V use for mingw hosts.
6369 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6371 * gdb.python/py-value.c: Improve test case.
6372 * gdb.python/py-value.exp: Add new test.
6374 2014-04-07 David Blaikie <dblaikie@gmail.com>
6376 * lib/compiler.c: Identify the clang compiler.
6377 * lib/compiler.cc: Ditto.
6379 2014-04-03 Yao Qi <yao@codesourcery.com>
6381 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
6383 2014-04-01 Anton Blanchard <anton@samba.org>
6385 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
6388 2014-04-01 Anton Blanchard <anton@samba.org>
6390 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
6391 prepare_for_testing.
6393 2014-04-01 Anton Blanchard <anton@samba.org>
6395 * gdb.arch/ppc64-atomic-inst.c: Remove.
6396 * gdb.arch/ppc64-atomic-inst.S: New file.
6397 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
6399 2014-03-31 Doug Evans <dje@google.com>
6401 * gdb.base/print-symbol-loading-lib.c: New file.
6402 * gdb.base/print-symbol-loading-main.c: New file.
6403 * gdb.base/print-symbol-loading.exp: New file.
6405 2014-03-31 Yao Qi <yao@codesourcery.com>
6407 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
6409 2014-03-28 Joel Brobecker <brobecker@adacore.com>
6411 * gdb.ada/mi_dyn_arr: New testcase.
6413 2014-03-27 Doug Evans <dje@google.com>
6415 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
6417 2014-03-27 Yao Qi <yao@codesourcery.com>
6419 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
6420 if target is nios2-*-*.
6422 2014-03-26 Yao Qi <yao@codesourcery.com>
6424 * lib/gdb.exp (readline_is_used): New proc.
6425 * gdb.base/completion.exp: Move tests on command complete up.
6426 Skip the rest of tests if readline is not used.
6427 * gdb.ada/complete.exp: Skp the test if readline is not
6429 * gdb.base/filesym.exp: Likewise.
6430 * gdb.base/macscp.exp: Likewise.
6431 * gdb.base/readline-ask.exp: Likewise.
6432 * gdb.base/readline.exp: Likewise.
6433 * gdb.python/py-cmd.exp: Likewise.
6434 * gdb.trace/tfile.exp: Likewise.
6436 2014-03-26 Yao Qi <yao@codesourcery.com>
6438 * gdb.base/macscp.exp: Fix code format issues.
6440 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
6442 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
6443 * gdb.asm/powerpc64le.inc: New file.
6445 2014-03-25 Pedro Alves <palves@redhat.com>
6446 Doug Evans <dje@google.com>
6448 * gdb.base/source-execution.c: New file.
6449 * gdb.base/source-execution.exp: New file.
6450 * gdb.base/source-execution.gdb: New file.
6452 2014-03-24 Doug Evans <dje@google.com>
6454 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
6457 2014-03-24 Hui Zhu <hui@codesourcery.com>
6458 Pedro Alves <palves@redhat.com>
6460 PR breakpoints/16101
6461 * gdb.base/dprintf.exp: Use unsupported rather than changing the
6462 test pass/fail messages. Detect missing support for dprintf when
6463 breakpoints are actually inserted.
6464 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
6465 breakpoints are actually inserted.
6466 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
6469 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6471 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
6473 2014-03-22 Doug Evans <xdje42@gmail.com>
6475 * gdb.python/python.exp (python not supported): Verify multi-line
6476 python command issues an error.
6477 * gdb.guile/guile.exp (guile not supported): Verify multi-line
6478 guile command issues an error.
6480 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
6482 * gdb.threads/thread-specific.exp: Handle the lack of usable
6483 $this_breakpoint and $this_thread.
6485 2014-03-21 Hui Zhu <hui@codesourcery.com>
6487 * gdb.base/attach.exp (do_command_attach_tests): New.
6489 2014-03-20 Tom Tromey <tromey@redhat.com>
6490 Pedro Alves <palves@redhat.com>
6493 * gdb.base/condbreak-call-false.c: New file.
6494 * gdb.base/condbreak-call-false.exp: New file.
6496 2014-03-20 Pedro Alves <palves@redhat.com>
6498 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
6500 (block_signals, unblock_signals): Delete.
6501 (child_function_2, main): Remove references to deleted variable
6504 2014-03-20 Pedro Alves <palves@redhat.com>
6506 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
6507 Use pthread_kill to signal thread 2.
6508 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6509 Adjust to make the test send itself a signal rather than using the
6510 host's "kill" command.
6512 2014-03-20 Pedro Alves <palves@redhat.com>
6514 * gdb.threads/multiple-step-overs.c: New file.
6515 * gdb.threads/multiple-step-overs.exp: New file.
6516 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6517 Adjust expected infrun debug output.
6519 2014-03-20 Pedro Alves <palves@redhat.com>
6521 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
6522 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
6524 2014-03-20 Pedro Alves <palves@redhat.com>
6527 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
6528 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
6529 of gdb_test_multiple.
6530 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
6531 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
6533 2014-03-20 Pedro Alves <palves@redhat.com>
6535 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
6536 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
6538 2014-03-19 Pedro Alves <palves@redhat.com>
6540 * gdb.base/async.exp: Remove early return.
6542 2014-03-19 Pedro Alves <palves@redhat.com>
6544 * gdb.base/async.exp (step& tests): Pass explicit test messages.
6546 2014-03-19 Pedro Alves <palves@redhat.com>
6548 * gdb.base/async.exp (test_background): Expect \r\n after
6549 "completed." in the fail pattern.
6551 2014-03-19 Pedro Alves <palves@redhat.com>
6553 * gdb.base/async.exp (test_background): New procedure.
6554 Use it for all background execution command tests.
6556 2014-03-19 Pedro Alves <palves@redhat.com>
6558 * gdb.base/async.exp: Use prepare_for_testing.
6560 2014-03-19 Pedro Alves <palves@redhat.com>
6562 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
6565 2014-03-19 Pedro Alves <palves@redhat.com>
6567 * gdb.base/async.c (main): Add "jump here" and "until here" line
6569 * gdb.base/async.exp (jump_here): New global.
6570 (jump& test): Use it.
6571 (until_here): New global.
6572 (until& test): Use it.
6574 2014-03-19 Pedro Alves <palves@redhat.com>
6576 * gdb.base/async.exp: Don't frob gdb_protocol.
6578 2014-03-18 Doug Evans <xdje42@gmail.com>
6580 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
6581 Fix spelling of exec-done-display.
6583 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6586 * gdb.base/gdb-sigterm.c: New file.
6587 * gdb.base/gdb-sigterm.exp: New file.
6589 2014-03-18 Pedro Alves <palves@redhat.com>
6592 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
6593 * lib/mi-support.exp (mi_expect_stop): Add special handling for
6596 2014-03-17 Joel Brobecker <brobecker@adacore.com>
6598 * gdb.ada/pckd_arr_ren: New testcase.
6600 2014-03-13 Doug Evans <xdje42@gmail.com>
6603 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
6604 collect after discarding symbols.
6606 2014-03-13 Ludovic Courtès <ludo@gnu.org>
6607 Doug Evans <xdje42@gmail.com>
6609 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
6610 to history survives a gc.
6612 2014-03-13 Pedro Alves <palves@redhat.com>
6614 * gdb.base/default.exp: Don't test "target procfs".
6616 2014-03-13 Pedro Alves <palves@redhat.com>
6618 * gdb.base/default.exp: Update "target child" and "target procfs"
6619 tests to not expect "Unix".
6621 2014-03-12 Tom Tromey <tromey@redhat.com>
6623 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
6624 New procs. Add target-async tests.
6625 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
6626 Add target-async tests.
6628 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6630 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
6631 'func_start' and 'func_end' for the beginning and end of the
6632 function code, respectively.
6633 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
6634 'func_end' instead of 'func' and 'main'.
6636 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6638 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
6639 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
6640 generate the debug info assembler source.
6642 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6644 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
6645 * gdb.dwarf2/arr-subrange.exp: Likewise.
6646 * gdb.dwarf2/dwz.exp: Likewise.
6647 * gdb.dwarf2/method-ptr.exp: Likewise.
6648 * gdb.dwarf2/missing-sig-type.exp: Likewise.
6649 * gdb.dwarf2/subrange.exp: Likewise.
6650 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
6651 * gdb.dwarf2/implptrpiece.exp: Likewise.
6652 * gdb.dwarf2/nostaticblock.exp: Likewise.
6654 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6656 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
6657 directory to absolute path name arguments.
6659 2014-03-10 Joel Brobecker <brobecker@adacore.com>
6661 * gdb.ada/tagged_access: New testcase.
6663 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
6665 * gdb.btrace/data.exp: Update expected output.
6667 2014-03-06 Yao Qi <yao@codesourcery.com>
6669 * gdb.trace/pr16508.exp: New file.
6671 2014-03-05 Pedro Alves <palves@redhat.com>
6674 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
6676 (top level): Adjust to use it. Add tests that exercise breakpoint
6677 interaction with the code-cache.
6679 2014-02-26 Ludovic Courtès <ludo@gnu.org>
6681 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
6682 test for 'history-append!'.
6684 2014-02-26 Joel Brobecker <brobecker@adacore.com>
6686 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
6687 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
6688 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
6689 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
6690 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
6691 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
6693 2014-02-26 Joel Brobecker <brobecker@adacore.com>
6695 * testsuite/gdb.python/py-pp-re-notag.c: New file.
6696 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
6697 * testsuite/gdb.python/py-pp-re-notag.p: New file.
6699 2014-02-26 Joel Brobecker <brobecker@adacore.com>
6701 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
6703 2014-02-26 Joel Brobecker <brobecker@adacore.com>
6705 * gdb.dwarf2/arr-stride.c: New file.
6706 * gdb.dwarf2/arr-stride.exp: New file.
6708 2014-02-26 Pedro Alves <palves@redhat.com>
6710 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
6711 that won't ever trigger. Make sure that GDB reports the correct
6712 breakpoint that caused the stop.
6714 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6717 * gdb.base/auto-load-script: New file.
6718 * gdb.base/auto-load.c: New file.
6719 * gdb.base/auto-load.exp: New file.
6722 * gdb.base/auto-load.exp: Fix out-of-srctree run.
6724 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6726 Fix dw2-icycle.exp -fsanitize=address GDB crash.
6727 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
6729 2014-02-24 Doug Evans <dje@google.com>
6731 * lib/gdb.exp (run_on_host): Log error output if program fails.
6733 2014-02-21 Pedro Alves <palves@redhat.com>
6735 * gdb.threads/step-after-sr-lock.c: Rename to ...
6736 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
6737 * gdb.threads/step-after-sr-lock.exp: Rename to ...
6738 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6741 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
6744 * gdb.arch/amd64-stap-special-operands.exp: New file.
6745 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
6746 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
6747 * gdb.arch/amd64-stap-triplet.S: Likewise.
6748 * gdb.arch/amd64-stap-triplet.c: Likewise.
6750 2014-02-20 Joel Brobecker <brobecker@adacore.com>
6752 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
6753 in .section pseudo-op.
6755 2014-02-20 lin zuojian <manjian2006@gmail.com>
6756 Joel Brobecker <brobecker@adacore.com>
6757 Doug Evans <xdje42@gmail.com>
6760 * gdb.dwarf2/dw2-icycle.S: New file.
6761 * gdb.dwarf2/dw2-icycle.c: New file.
6762 * gdb.dwarf2/dw2-icycle.exp: New file.
6764 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
6766 * gdb.python/py-value-cc.cc: Improve test case to enable testing
6767 operations on gdb.Value objects.
6768 * gdb.python/py-value-cc.exp: Add new test to test operations on
6771 2014-02-18 Doug Evans <dje@google.com>
6773 * Makefile.in (TESTS): New variable.
6774 (expanded_tests, expanded_tests_or_none): New variables
6775 (check-single): Pass $(expanded_tests_or_none) to runtest.
6776 (check-parallel): Only run tests in $(TESTS) if non-empty.
6777 (check/no-matching-tests-found): New rule.
6778 * README: Document TESTS makefile variable.
6780 2014-02-18 Doug Evans <dje@google.com>
6782 * Makefile.in (check-parallel): rm -rf outputs temp.
6784 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6786 Fix "ERROR: no fileid for" in the testsuite.
6787 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
6789 2014-02-12 Doug Evans <dje@google.com>
6791 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
6792 (MISCELLANEOUS): New variable.
6793 (clean): rm -rf $(MISCELLANEOUS).
6794 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
6795 dwp live in the same directory as symlinks, with each symlink pointed
6796 to a differently named file in a different directory.
6798 2014-02-11 Doug Evans <dje@google.com>
6800 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
6801 of Tcl file commands.
6803 2014-02-10 Mark Kettenis <kettenis@gnu.org>
6805 * gdb.threads/step-after-sr-lock.exp: Avoid executing
6808 2014-02-10 Joel Brobecker <brobecker@adacore.com>
6810 * gdb.ada/tick_length_array_enum_idx: New testcase.
6812 2014-02-10 Doug Evans <xdje42@gmail.com>
6814 * configure.ac (AC_OUTPUT): Add gdb.guile.
6815 * configure: Regenerate.
6816 * lib/gdb-guile.exp: New file.
6817 * lib/gdb.exp (get_target_charset): New function.
6818 * gdb.base/help.exp: Update expected output from "apropos apropos".
6819 * gdb.guile/Makefile.in: New file.
6820 * gdb.guile/guile.exp: New file.
6821 * gdb.guile/scm-arch.c: New file.
6822 * gdb.guile/scm-arch.exp: New file.
6823 * gdb.guile/scm-block.c: New file.
6824 * gdb.guile/scm-block.exp: New file.
6825 * gdb.guile/scm-breakpoint.c: New file.
6826 * gdb.guile/scm-breakpoint.exp: New file.
6827 * gdb.guile/scm-disasm.c: New file.
6828 * gdb.guile/scm-disasm.exp: New file.
6829 * gdb.guile/scm-equal.c: New file.
6830 * gdb.guile/scm-equal.exp: New file.
6831 * gdb.guile/scm-error.exp: New file.
6832 * gdb.guile/scm-error.scm: New file.
6833 * gdb.guile/scm-frame-args.c: New file.
6834 * gdb.guile/scm-frame-args.exp: New file.
6835 * gdb.guile/scm-frame-args.scm: New file.
6836 * gdb.guile/scm-frame-inline.c: New file.
6837 * gdb.guile/scm-frame-inline.exp: New file.
6838 * gdb.guile/scm-frame.c: New file.
6839 * gdb.guile/scm-frame.exp: New file.
6840 * gdb.guile/scm-generics.exp: New file.
6841 * gdb.guile/scm-gsmob.exp: New file.
6842 * gdb.guile/scm-iterator.c: New file.
6843 * gdb.guile/scm-iterator.exp: New file.
6844 * gdb.guile/scm-math.c: New file.
6845 * gdb.guile/scm-math.exp: New file.
6846 * gdb.guile/scm-objfile-script-gdb.in: New file.
6847 * gdb.guile/scm-objfile-script.c: New file.
6848 * gdb.guile/scm-objfile-script.exp: New file.
6849 * gdb.guile/scm-objfile.c: New file.
6850 * gdb.guile/scm-objfile.exp: New file.
6851 * gdb.guile/scm-ports.exp: New file.
6852 * gdb.guile/scm-pretty-print.c: New file.
6853 * gdb.guile/scm-pretty-print.exp: New file.
6854 * gdb.guile/scm-pretty-print.scm: New file.
6855 * gdb.guile/scm-section-script.c: New file.
6856 * gdb.guile/scm-section-script.exp: New file.
6857 * gdb.guile/scm-section-script.scm: New file.
6858 * gdb.guile/scm-symbol.c: New file.
6859 * gdb.guile/scm-symbol.exp: New file.
6860 * gdb.guile/scm-symtab-2.c: New file.
6861 * gdb.guile/scm-symtab.c: New file.
6862 * gdb.guile/scm-symtab.exp: New file.
6863 * gdb.guile/scm-type.c: New file.
6864 * gdb.guile/scm-type.exp: New file.
6865 * gdb.guile/scm-value-cc.cc: New file.
6866 * gdb.guile/scm-value-cc.exp: New file.
6867 * gdb.guile/scm-value.c: New file.
6868 * gdb.guile/scm-value.exp: New file.
6869 * gdb.guile/source2.scm: New file.
6870 * gdb.guile/types-module.cc: New file.
6871 * gdb.guile/types-module.exp: New file.
6873 2014-02-10 Yao Qi <yao@codesourcery.com>
6876 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
6877 * configure: Regenerated.
6878 * Makefile.in: New file.
6880 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
6882 * gdb.python/py-framefilter.exp: Fix typo.
6884 2014-02-08 Yao Qi <yao@codesourcery.com>
6886 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
6887 that no =breakpoint-modified is emitted when breakpoints are
6888 modified through MI commands.
6890 2014-02-07 Pedro Alves <pedro@codesourcery.com>
6891 Pedro Alves <palves@redhat.com>
6893 * gdb.threads/step-after-sr-lock.c: New file.
6894 * gdb.threads/step-after-sr-lock.exp: New file.
6896 2014-02-07 Pedro Alves <palves@redhat.com>
6898 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
6900 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6902 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
6903 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
6905 2014-02-06 Doug Evans <xdje42@gmail.com>
6907 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
6910 * gdb.gdb/python-interrupts.exp: New file.
6912 2014-02-05 Yao Qi <yao@codesourcery.com>
6914 * gdb.trace/report.exp (use_collected_data): Test the output
6915 of "info threads" and "info inferiors".
6917 2014-02-05 Yao Qi <yao@codesourcery.com>
6921 2013-05-24 Yao Qi <yao@codesourcery.com>
6923 * gdb.trace/tfile.exp: Test inferior and thread.
6925 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6927 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
6929 * gdb.base/step-bt.c: Call hello via function pointer to make
6930 sure its first instruction is executed on powerpc64le-linux.
6932 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6934 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
6936 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6938 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
6939 of the test patterns for use on little-endian systems.
6941 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6943 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
6944 (decimal_vector): Fix for little-endian.
6946 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
6948 * gdb.arch/sparc-sysstep.exp: New file.
6949 * gdb.arch/sparc-sysstep.c: Likewise.
6951 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
6953 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6955 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
6957 2014-01-23 Tom Tromey <tromey@redhat.com>
6959 * gdb.ada/array_char_idx: New testcase.
6961 2014-01-23 Tom Tromey <tromey@redhat.com>
6964 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
6965 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
6968 2014-01-23 Tom Tromey <tromey@redhat.com>
6971 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
6972 string from an inferior frame.
6973 * gdb.python/py-framefilter-mi.exp: Update.
6975 2014-01-22 Doug Evans <dje@google.com>
6977 * gdb.server/server-mon.exp: Add tests for "set debug-format".
6979 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6981 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
6983 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6985 * gdb.trace/entry-values.exp: Remove excess space character from
6986 regex patterns. Handle s390 call instruction.
6988 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6990 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
6991 define "*_start" label. Make "name" static.
6992 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
6993 ${name} by references to ${name}_start.
6995 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6997 * gdb.base/info-macros.exp: Remove "debug" from the compile
7000 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7002 * gdb.dlang/demangle.exp: New file.
7004 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7006 * gdb.dlang/primitive-types.exp: New file.
7008 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7010 * configure.ac: Create gdb.dlang/Makefile.
7011 * configure: Regenerate.
7012 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7013 * gdb.dlang/Makefile.in: New file.
7014 * lib/d-support.exp: New file.
7015 * lib/gdb.exp (skip_d_tests): New proc.
7017 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7019 * gdb.btrace/delta.exp: Check reverse stepi.
7020 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7021 * gdb.btrace/finish.exp: New.
7022 * gdb.btrace/next.exp: New.
7023 * gdb.btrace/nexti.exp: New.
7024 * gdb.btrace/record_goto.c: Add comments.
7025 * gdb.btrace/step.exp: New.
7026 * gdb.btrace/stepi.exp: New.
7027 * gdb.btrace/multi-thread-step.c: New.
7028 * gdb.btrace/multi-thread-step.exp: New.
7029 * gdb.btrace/rn-dl-bind.c: New.
7030 * gdb.btrace/rn-dl-bind.exp: New.
7031 * gdb.btrace/data.c: New.
7032 * gdb.btrace/data.exp: New.
7033 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7035 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7037 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7038 * gdb.btrace/exception.exp: Update.
7039 * gdb.btrace/instruction_history.exp: Update.
7040 * gdb.btrace/record_goto.exp: Update.
7041 * gdb.btrace/tailcall.exp: Update.
7042 * gdb.btrace/unknown_functions.exp: Update.
7043 * gdb.btrace/delta.exp: New.
7045 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7047 * gdb.btrace/record_goto.exp: Add backtrace test.
7048 * gdb.btrace/tailcall.exp: Add backtrace test.
7050 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7052 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7053 * gdb.btrace/record_goto.c: New.
7054 * gdb.btrace/record_goto.exp: New.
7055 * gdb.btrace/x86-record_goto.S: New.
7057 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7059 * gdb.btrace/function_call_history.exp: Update tests.
7060 * gdb.btrace/instruction_history.exp: Update tests.
7062 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7064 * gdb.btrace/function_call_history.exp: Fix expected field
7065 order for "record function-call-history".
7066 Add new tests for "record function-call-history /c".
7067 * gdb.btrace/exception.cc: New.
7068 * gdb.btrace/exception.exp: New.
7069 * gdb.btrace/tailcall.exp: New.
7070 * gdb.btrace/x86-tailcall.S: New.
7071 * gdb.btrace/x86-tailcall.c: New.
7072 * gdb.btrace/unknown_functions.c: New.
7073 * gdb.btrace/unknown_functions.exp: New.
7074 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7076 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7078 * gdb.btrace/instruction_history.exp: Update.
7079 * gdb.btrace/function_call_history.exp: Update.
7081 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7083 * gdb.btrace/function_call_history.exp: Fix expected function
7085 * gdb.btrace/instruction_history.exp: Initialize traced.
7086 Remove traced_functions.
7088 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7090 * gdb.btrace/function_call_history.exp: Update
7091 * gdb.btrace/instruction_history.exp: Update.
7093 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7095 * gdb.btrace/enable.exp: Update expected text.
7097 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7099 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7102 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7104 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7106 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
7108 * lib/gdb.exp (supports_process_record): Return true for
7109 arm*-linux*. (supports_reverse): Likewise.
7111 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7115 * gdb.python/py-type.c: Enhance test case.
7116 * gdb.python/py-value-cc.cc: Likewise
7117 * gdb.python/py-type.exp: Add new tests.
7118 * gdb.python/py-value-cc.exp: Likewise
7120 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7121 Pedro Alves <palves@redhat.com>
7123 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7125 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7126 references to ${name}_start by references to ${name}.
7128 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7130 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7132 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7134 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7136 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7137 Pedro Alves <palves@redhat.com>
7139 * gdb.mi/mi-info-os.exp: Connect to the target with
7142 2014-01-08 Pedro Alves <palves@redhat.com>
7144 * gdb.threads/reconnect-signal.c: New file.
7145 * gdb.threads/reconnect-signal.exp: New file.
7147 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7149 * gdb.base/source-dir.exp: New file.
7151 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7153 * gdb.ada/mi_interface: New testcase.
7155 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7157 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7158 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7159 gdb.ada/pp-rec-component/pck.ads: New files.
7161 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7163 * gdb.python/py-pp-integral.c: New file.
7164 * gdb.python/py-pp-integral.py: New file.
7165 * gdb.python/py-pp-integral.exp: New file.
7167 For older changes see ChangeLog-1993-2013.
7173 ;; version-control: never
7176 Copyright 2014-2016 Free Software Foundation, Inc.
7177 Copying and distribution of this file, with or without modification,
7178 are permitted provided the copyright notice and this notice are preserved.