1 2016-01-12 Josh Stone <jistone@redhat.com>
2 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4 * gdb.base/catch-syscall.c (do_execve): New variable.
5 (main): Conditionally trigger an execve.
6 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
7 (test_catch_syscall_execve): New, check entry/return across execve.
8 (do_syscall_tests): Call test_catch_syscall_execve.
10 2016-01-12 Pedro Alves <palves@redhat.com>
12 * gdb.base/random-signal.exp (do_test): New procedure, with body
15 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16 Pedro Alves <palves@redhat.com>
18 * gdb.base/funcargs.exp (finish from indirectly called function):
19 Reintroduce the case for 'First'.
21 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22 Pedro Alves <palves@redhat.com>
24 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
25 (tcatch_vfork_then_child_follow_exec)
26 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
29 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
31 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
32 and repeats to unlimited.
33 * gdb.python/py-value.exp: Likewise.
34 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
35 and repeats to unlimited.
37 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
39 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
40 and reordering the functions.
41 * gdb.multi/hangout.c: Likewise.
42 * gdb.multi/hello.c: Likewise.
44 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
46 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
48 (SingleStatisticTestResult.report): Use dict.keys instead of
51 2016-01-06 Pedro Alves <palves@redhat.com>
53 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
55 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
57 * gdb.btrace/dlopen.exp: New.
58 * gdb.btrace/dlopen.c: New.
59 * gdb.btrace/dlopen-dso.c: New.
61 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
63 * lib/gdb.exp (gdb_test): Update comments to clarify that the
64 PATTERN argument is optional.
66 2015-12-24 Joel Brobecker <brobecker@adacore.com>
68 * lib/ada.exp (target_compile_ada_from_dir): New function.
69 (gdb_compile_ada): Reimplement avoiding the use of project files.
70 * gdb.ada/gnat_ada.gpr: Delete.
71 * gdb.ada/cond_lang.exp: Adjust test to make path before
73 * gdb.ada/small_reg_param.exp: Likewise.
75 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
77 * gdb.base/foll-vork.exp: Remove HP-UX special case.
79 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
81 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
84 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
86 * gdb.base/break.exp: Remove dead code.
87 * gdb.base/sepdebug.exp: Likewise.
89 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
91 * gdb.asm/asm-source.exp: Remove HP-UX references.
92 * gdb.base/annota1.exp: Likewise.
93 * gdb.base/annota3.exp: Likewise.
94 * gdb.base/attach.exp: Likewise.
95 * gdb.base/bigcore.exp: Likewise.
96 * gdb.base/break.exp: Likewise.
97 * gdb.base/call-ar-st.exp: Likewise.
98 * gdb.base/callfuncs.exp: Likewise.
99 * gdb.base/catch-fork-static.exp: Likewise.
100 * gdb.base/display.exp: Likewise.
101 * gdb.base/foll-exec-mode.exp: Likewise.
102 * gdb.base/foll-exec.exp: Likewise.
103 * gdb.base/foll-fork.exp: Likewise.
104 * gdb.base/foll-vfork.exp: Likewise.
105 * gdb.base/funcargs.exp: Likewise.
106 * gdb.base/hbreak2.exp: Likewise.
107 * gdb.base/inferior-died.exp: Likewise.
108 * gdb.base/interrupt.exp: Likewise.
109 * gdb.base/multi-forks.exp: Likewise.
110 * gdb.base/nodebug.exp: Likewise.
111 * gdb.base/sepdebug.exp: Likewise.
112 * gdb.base/solib1.c: Likewise.
113 * gdb.base/step-test.exp: Likewise.
114 * gdb.mi/non-stop.c: Likewise.
115 * gdb.mi/pthreads.c: Likewise.
116 * gdb.multi/bkpt-multi-exec.ex: Likewise.
117 * gdb.threads/pthreads.c: Likewise.
118 * gdb.threads/staticthreads.exp: Likewise.
119 * lib/future.exp: Likewise.
120 * lib/gdb.exp: Likewise.
121 * gdb.base/so-indr-cl.c: Remove.
122 * gdb.base/so-indr-cl.exp: Likewise.
123 * gdb.base/solib.c: Likewise.
124 * gdb.base/solib.exp: Likewise.
125 * gdb.base/solib2.c: Likewise.
127 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
129 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
130 * gdb.base/call-ar-st.exp: Likewise.
131 * gdb.base/callfuncs.exp: Likewise.
132 * gdb.base/condbreak.exp: Likewise.
133 * gdb.base/constvars.exp: Likewise.
134 * gdb.base/hbreak2.exp: Likewise.
135 * gdb.base/langs.exp: Likewise.
136 * gdb.base/list.exp: Likewise.
137 * gdb.base/long_long.exp: Likewise.
138 * gdb.base/ptype.exp: Likewise.
139 * gdb.base/scope.exp: Likewise.
140 * gdb.base/signals.exp: Likewise.
141 * gdb.base/so-impl-ld.exp: Likewise.
142 * gdb.base/varargs.exp: Likewise.
143 * gdb.base/volatile.exp: Likewise.
144 * gdb.base/whatis.exp: Likewise.
145 * gdb.cp/cplusfuncs.exp: Likewise.
146 * gdb.cp/inherit.exp: Likewise.
147 * gdb.cp/local.exp: Likewise.
148 * gdb.cp/member-ptr.exp: Likewise.
149 * gdb.cp/method.exp: Likewise.
150 * gdb.cp/overload.exp: Likewise.
151 * gdb.cp/templates.exp: Likewise.
152 * gdb.stabs/weird.exp: Likewise.
153 * lib/compiler.c: Likewise.
154 * lib/compiler.cc: Likewise.
155 * lib/cp-support.exp: Likewise.
156 * lib/gdb.exp: Likewise.
158 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
160 * configure.ac: Remove HP-UX case.
161 * configure: Regenerate.
163 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
165 * lib/gdb.exp (gdb_compile): Add function doc.
167 2015-12-17 Pedro Alves <palves@redhat.com>
170 * gdb.multi/info-threads.exp: New file.
172 2015-12-15 Yao Qi <yao.qi@linaro.org>
174 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
177 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
179 * gdb.base/history-duplicates.exp: Skip if no readline support.
181 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
183 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
185 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
187 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
189 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
191 * gdb.base/completion.exp: Skip tests that interrupt GDB with
192 ctrl-C if nointerrupts target property is set.
193 * gdb.base/double-prompt-target-event-error.exp: Likewise.
194 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
195 * gdb.base/paginate-bg-execution.exp: Likewise.
196 * gdb.base/paginate-execution-startup.exp: Likewise.
197 * gdb.base/random-signal.exp: Likewise.
198 * gdb.base/range-stepping.exp: Likewise.
199 * gdb.cp/annota2.exp: Likewise.
200 * gdb.cp/annota3.exp: Likewise.
201 * gdb.gdb/selftest.exp: Likewise.
202 * gdb.threads/continue-pending-status.exp: Likewise.
203 * gdb.threads/leader-exit.exp: Likewise.
204 * gdb.threads/manythreads.exp: Likewise.
205 * gdb.threads/pthreads.exp: Likewise.
206 * gdb.threads/schedlock.exp: Likewise.
207 * gdb.threads/sigthread.exp: Likewise.
209 2015-12-11 Don Breazeal <donb@codesourcery.com>
211 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
213 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
214 * gdb.base/foll-exec.exp (main): Enable for target remote.
215 * gdb.base/foll-fork.exp (main): Likewise.
216 * gdb.base/foll-vfork.exp (main): Likewise.
217 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
218 (proc continue_to_exit_bp_loc): Use clean_restart.
219 * gdb.base/pie-execl.exp (main): Disable for target remote.
220 * gdb.base/watch-vfork.exp (main): Enable for target remote.
221 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
222 * gdb.threads/execl.exp (main): Likewise.
223 * gdb.threads/fork-child-threads.exp (main): Likewise.
224 * gdb.threads/fork-plus-threads.exp (main): Disable for target
226 * gdb.threads/fork-thread-pending.exp (main): Enable for target
228 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
229 pid.tid style ptids, instead of just tid.
230 * gdb.threads/thread-execl.exp (main): Enable for target remote.
231 * gdb.threads/watchpoint-fork.exp (main): Likewise.
232 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
233 ptids, instead of just tid.
235 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
237 * gdb.base/list.exp (test_list_forward): Add end of file error
239 (test_repeat_list_command): Add end of file error test.
240 (test_list_backwards): Add beginning of file error test.
242 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
244 * gdb.base/list.exp (test_list_invalid_args): New function,
247 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
249 * gdb.base/list.exp (test_list): Make test names unique.
251 2015-12-11 Yao Qi <yao.qi@linaro.org>
253 * gdb.base/coremaker2.c: Remove.
255 2015-12-10 Pedro Alves <palves@redhat.com>
257 * gdb.multi/base.exp: Remove stale "spaces" references.
259 2015-12-10 Pedro Alves <palves@redhat.com>
261 * gdb.multi/base.exp: Don't use nowarnings.
262 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
263 * gdb.multi/hangout.c: Include stdio.h.
264 * gdb.multi/hello.c: Include stdlib.h.
265 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
266 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
267 * gdb.multi/multi-arch.exp: Don't use nowarnings.
269 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
271 * gdb.dwarf2/dw2-ranges-base.c: New file.
272 * gdb.dwarf2/dw2-ranges-base.exp: New file.
273 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
274 support additional line table, and debug ranges generation.
275 (Dwarf::ranges): New function, generate .debug_ranges.
276 (Dwarf::lines): Support generating simple line table programs.
277 (Dwarf::assemble): Initialise new namespace variables.
279 2015-12-09 Kevin Buettner <kevinb@redhat.com>
281 * gdb.base/async.exp (proc test_background): Add case for
282 asynchronous execution not supported.
284 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
286 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
287 format and change test names to make them unique.
289 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
290 Pedro Alves <pedro@redhat.com>
293 Add checking of floatformats setup on x86_64 hosts.
294 * gdb.arch/i386-float.S (main): Load bigval and smallval.
295 (smallval, bigval): New labels/constants.
296 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
297 float" after loading bigval and smallval.
299 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
301 * gdb.ada/fun_overload_menu.exp: New testcase.
302 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
304 2015-12-04 Josh Stone <jistone@redhat.com>
306 * gdb.base/catch-fork-static.exp: New.
308 2015-12-03 Yao Qi <yao.qi@linaro.org>
310 * gdb.base/sizeof.c: Don't include stdio.h and
311 ../lib/unbuffer_output.c.
312 (main): New variable 'size' and 'value'. Remove printf and
313 gdb_unbuffer_output. Assign return value to size and value.
314 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
316 (check_sizeof): Check the result by printing variable 'size'.
317 (check_valueof): Check the result by printing variable 'value'.
319 2015-12-01 Yao Qi <yao.qi@linaro.org>
321 * gdb.base/disp-step-syscall.exp: Define syscall instruction
322 for aarch64*-*-linux* target.
324 2015-11-30 Pedro Alves <palves@redhat.com>
326 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
328 2015-11-30 Pedro Alves <palves@redhat.com>
330 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
331 Handle non-stop mode vCont replies.
333 2015-11-30 Pedro Alves <palves@redhat.com>
335 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
336 prepare_for_testing. Start gdb with "set non-stop on" appended to
337 GDBFLAGS. Lax expected stop output.
339 2015-11-27 Yao Qi <yao.qi@linaro.org>
341 * gdb.arch/arm-neon.exp: New.
342 * gdb.arch/arm-neon.c: New.
344 2015-11-27 Yao Qi <yao.qi@linaro.org>
346 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
348 2015-11-27 Yao Qi <yao.qi@linaro.org>
350 * gdb.cp/annota2.exp: Allow multiple occurrences of the
351 frames-invalid annotation.
353 2015-11-27 Yao Qi <yao.qi@linaro.org>
355 * gdb.cp/annota2.exp: Use ${frames_invalid}.
357 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
359 * gdb.threads/names.exp: New file.
360 * gdb.threads/names.c: New file.
361 * README: Mention gdb,no_thread_names.
363 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
366 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
369 2015-11-24 Pedro Alves <palves@redhat.com>
372 * gdb.base/display.exp: Expect displays to be sorted in ascending
373 order. Use multi_line.
374 * gdb.base/solib-display.exp: Likewise.
376 2015-11-24 Pedro Alves <palves@redhat.com>
379 * gdb.base/display.exp: Expect displays to be sorted in ascending
380 order. Use multi_line.
381 * gdb.base/solib-display.exp: Likewise.
383 2015-11-24 Pedro Alves <palves@redhat.com>
386 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
387 threads in ascending order.
388 * gdb.base/foll-fork.exp: Likewise.
389 * gdb.base/foll-vfork.exp: Likewise.
390 * gdb.base/multi-forks.exp: Likewise.
391 * gdb.mi/mi-nonstop.exp: Likewise.
392 * gdb.mi/mi-nsintrall.exp: Likewise.
393 * gdb.multi/base.exp: Likewise.
394 * gdb.multi/multi-arch.exp: Likewise.
395 * gdb.python/py-inferior.exp: Likewise.
396 * gdb.threads/break-while-running.exp: Likewise.
397 * gdb.threads/execl.exp: Likewise.
398 * gdb.threads/gcore-thread.exp: Likewise.
399 * gdb.threads/info-threads-cur-sal.exp: Likewise.
400 * gdb.threads/kill.exp: Likewise.
401 * gdb.threads/linux-dp.exp: Likewise.
402 * gdb.threads/multiple-step-overs.exp: Likewise.
403 * gdb.threads/next-bp-other-thread.exp: Likewise.
404 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
405 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
406 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
407 * gdb.threads/thread-find.exp: Likewise.
408 * gdb.threads/tls.exp: Likewise.
409 * lib/mi-support.exp (mi_reverse_list): Delete.
410 (mi_check_thread_states): No longer reverse list.
412 2015-11-24 Pedro Alves <palves@redhat.com>
414 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
417 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
419 * gdb.trace/actions.c: Include trace-common.h.
420 (main): Add a location for a fast tracepoint.
421 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
422 the normal tracepoints.
423 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
425 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
427 * save-trace.exp: Factor out code to these...
428 (gdb_save_tracepoints): New.
429 (gdb_load_tracepoints): New.
430 (do_save_load_test): New.
432 2015-11-23 Kevin Buettner <kevinb@redhat.com>
434 * gdb.base/asmlabel.exp: New test.
435 * gdb.base/asmlabel.c: New test case.
437 2015-11-23 Joel Brobecker <brobecker@adacore.com>
439 * gdb.base/wrong_frame_bt_full-main.c: New file.
440 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
441 * gdb.base/wrong_frame_bt_full.exp: New file.
443 2015-11-23 Joel Brobecker <brobecker@adacore.com>
445 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
447 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
449 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
450 pstate register when comparing registers values in
451 sparc64-*-linux-gnu targets to avoid spurious differences.
453 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
455 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
457 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
459 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
460 as type argument to gdb_compile.
461 * gdb.base/nested-subp2.exp: Likewise.
462 * gdb.base/nested-subp3.exp: Likewise.
464 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
466 * lib/dwarf.exp (_note): Fix left shift of negative value.
467 * gdb.trace/trace-condition.exp: Likewise.
469 2015-11-13 Yao Qi <yao.qi@linaro.org>
471 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
473 (test_scalar_returns): Likewise.
474 * gdb.base/d10v.ld: Remove.
475 * gdb.base/overlays.exp: Remove the target triplet checking for
477 * gdb.base/structs.exp (test_struct_returns): Remove the
479 (test_struct_calls): Likewise.
481 2015-11-13 Yao Qi <yao.qi@linaro.org>
483 * gdb.base/gnu_vector.exp: Check the return value by "p res".
484 * gdb.base/gnu_vector.c: Don't include stdio.h.
485 (main): Don't print res and call add_some_intvecs.
487 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
489 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
492 (func4): Use FAST_TRACEPOINT_LABEL.
493 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
496 (thread_function): Use FAST_TRACEPOINT_LABEL.
497 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
499 (marker): Use FAST_TRACEPOINT_LABEL.
500 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
502 (pendfunc): Use FAST_TRACEPOINT_LABEL.
503 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
505 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
506 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
509 (marker): Use FAST_TRACEPOINT_LABEL.
510 * gdb.trace/trace-common.h: New header.
511 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
514 (marker): Use FAST_TRACEPOINT_LABEL.
515 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
517 (thread_function): Use FAST_TRACEPOINT_LABEL.
519 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
521 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
523 * gdb.trace/change-loc.exp: Use global pcreg definition.
524 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
525 * gdb.trace/entry-values.exp: Use global spreg definition, add $
527 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
528 * gdb.trace/pending.exp: Likewise.
529 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
530 * gdb.trace/trace-break.exp: Likewise.
531 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
533 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
534 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
536 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
538 2015-11-09 Joel Brobecker <brobecker@adacore.com>
540 * gdb.ada/fin_fun_out: New testcase.
542 2015-11-07 Kevin Buettner <kevinb@redhat.com>
544 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
545 value associated with DW_AT_byte_size.
546 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
547 constants for DW_AT_byte_size, DW_AT_lower_bound, and
550 2015-11-07 Kevin Buettner <kevinb@redhat.com>
552 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
553 (gdb_target_symbol_prefix_flags): Define in terms of _asm
555 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
556 gdb.dwarf2/dw2-canonicalize-type.exp,
557 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
558 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
559 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
560 provided by gdb_target_symbol_prefix_flags_asm.
561 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
562 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
563 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
564 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
565 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
566 macros where needed). Use this macro for symbols which require
567 the prefix provided by SYMBOL_PREFIX.
569 2015-11-05 Kevin Buettner <kevinb@redhat.com>
571 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
573 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
574 representing expressions, of more than one list element.
575 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
576 to prepend linker symbol prefix to f.
577 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
579 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
580 Likewise, for f and g.
581 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
583 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
585 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
586 table_1_ptr and table_2_ptr.
588 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
589 Joel Brobecker <brobecker@adacore.com>
591 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
593 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
595 * gdb.reverse/s390-mvcle.c: New test.
596 * gdb.reverse/s390-mvcle.exp: New file.
597 * lib/gdb.exp: Enable reverse tests on s390*-linux.
599 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
601 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
603 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
605 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
607 * gdb.reverse/getresuid-reverse.exp: Likewise.
608 * gdb.reverse/pipe-reverse.exp: Likewise.
609 * gdb.reverse/readv-reverse.exp: Likewise.
610 * gdb.reverse/recvmsg-reverse.exp: Likewise.
611 * gdb.reverse/time-reverse.exp: Likewise.
612 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
614 2015-10-30 Yao Qi <yao.qi@linaro.org>
616 * gdb.threads/wp-replication.c (watch_count_done): Remove.
617 (empty_cycle): Remove.
618 (main): Don't call empty_cycle. Don't use watch_count_done.
619 * gdb.threads/wp-replication.exp: Don't set breakpoint on
620 empty_cycle. Rewrite the code counting HW watchpoints.
622 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
624 * gdb.reverse/fstatat-reverse.c: New test.
625 * gdb.reverse/fstatat-reverse.exp: New file.
626 * gdb.reverse/getresuid-reverse.c: New test.
627 * gdb.reverse/getresuid-reverse.exp: New file.
628 * gdb.reverse/pipe-reverse.c: New test.
629 * gdb.reverse/pipe-reverse.exp: New file.
630 * gdb.reverse/readv-reverse.c: New test.
631 * gdb.reverse/readv-reverse.exp: New file.
632 * gdb.reverse/recvmsg-reverse.c: New test.
633 * gdb.reverse/recvmsg-reverse.exp: New file.
634 * gdb.reverse/time-reverse.c: New test.
635 * gdb.reverse/time-reverse.exp: New file.
636 * gdb.reverse/waitpid-reverse.c: New test.
637 * gdb.reverse/waitpid-reverse.exp: New file.
639 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
641 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
643 2015-10-26 Doug Evans <dje@google.com>
646 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
647 * gdb.dwarf2/bad-regnum.c: New file.
648 * gdb.dwarf2/bad-regnum.exp: New file.
650 2015-10-26 Doug Evans <dje@google.com>
653 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
656 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
658 * gdb.compile/compile.exp (compile code globalvar): Update expectation
659 for a change by "Mention language in compile error message".
661 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
664 * gdb.python/py-type.c (C::a_method): New.
665 (C::a_const_method): New.
666 (C::a_static_method): New.
668 * gdb.python/py-type.exp (test_fields): Test getting fields
669 from function and method.
671 2015-10-21 Keven Boell <keven.boell@intel.com>
673 * gdb.fortran/vla-alloc-assoc.exp: New file.
674 * gdb.fortran/vla-datatypes.exp: New file.
675 * gdb.fortran/vla-datatypes.f90: New file.
676 * gdb.fortran/vla-history.exp: New file.
677 * gdb.fortran/vla-ptype-sub.exp: New file.
678 * gdb.fortran/vla-ptype.exp: New file.
679 * gdb.fortran/vla-sizeof.exp: New file.
680 * gdb.fortran/vla-sub.f90: New file.
681 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
682 * gdb.fortran/vla-value-sub-finish.exp: New file.
683 * gdb.fortran/vla-value-sub.exp: New file.
684 * gdb.fortran/vla-value.exp: New file.
685 * gdb.fortran/vla-ptr-info.exp: New file.
686 * gdb.mi/mi-vla-fortran.exp: New file.
687 * gdb.mi/vla.f90: New file.
689 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
691 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
692 of hardwired timeout value.
694 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
695 Pedro Alves <palves@redhat.com>
697 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
698 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
700 2015-10-19 Josh Stone <jistone@redhat.com>
702 * gdb.base/catch-syscall.c: Include <sched.h>.
703 (unknown_syscall): New variable.
704 (main): Trigger a vfork and an unknown syscall.
705 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
706 (unknown_syscall_number): Likewise.
707 (check_call_to_syscall): Accept an optional syscall pattern.
708 (check_return_from_syscall): Likewise.
709 (check_continue): Likewise.
710 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
711 (test_catch_syscall_skipping_return): New test toggling off 'catch
712 syscall' to step over the syscall return, then toggling back on.
713 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
714 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
715 (do_syscall_tests): Call test_catch_syscall_without_args and
716 test_catch_syscall_mid_vfork.
717 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
718 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
720 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
722 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
723 print g_vE): Add new pass patterns.
724 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
725 print various symbol names for vptr fields.
727 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
729 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
732 2015-10-12 Yao Qi <yao.qi@linaro.org>
734 * gdb.arch/disp-step-insn-reloc.exp: New test case.
736 2015-10-12 Yao Qi <yao.qi@linaro.org>
738 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
739 is aarch64*-*-linux*.
741 2015-10-12 Yao Qi <yao.qi@linaro.org>
743 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
744 (can_relocate_bcond_true): ... it.
745 (can_relocate_bcond_false): New function.
747 (can_relocate_bl): Likewise.
748 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
751 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
753 * gdb.base/nested-addr.c: New file.
754 * gdb.base/nested-addr.exp: New testcase.
756 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
758 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
759 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
760 its output. Ignore the output of "record goto begin" and instead
761 check that GDB is replaying.
763 2015-10-09 Pedro Alves <palves@redhat.com>
765 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
766 (top level): Use it in the run with no args test.
768 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
770 * gdb.dlang/properties.exp: New file.
772 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
774 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
775 whether or not address 0x1000 is mapped on the target.
777 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
779 * gdb.python/py-type.exp: Do not run tests if binaries fail to
782 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
784 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
785 instruction-history test.
787 2015-09-28 Doug Evans <dje@google.com>
789 * gdb.base/gcore.c (array_func): Add reference to static_array.
791 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
793 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
796 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
798 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
799 short or char as base type.
801 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
803 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
804 to allow any size enum.
806 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
808 * gdb.ada/array_ptr_renaming.exp: New testcase.
809 * gdb.ada/array_ptr_renaming/foo.adb: New file.
810 * gdb.ada/array_ptr_renaming/pack.ads: New file.
812 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
814 * gdb.trace/ftrace-lock.c: New file.
815 * gdb.trace/ftrace-lock.exp: New file.
817 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
819 * gdb.arch/insn-reloc.c: New file.
820 * gdb.arch/ftrace-insn-reloc.exp: New file.
822 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
824 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
826 * gdb.trace/pendshr1.c (pendfunc): Likewise.
827 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
828 * gdb.trace/range-stepping.c: Likewise.
829 * gdb.trace/trace-break.c: Likewise.
830 * gdb.trace/trace-mt.c (thread_function): Likewise.
831 * gdb.trace/ftrace.c (marker): Likewise.
832 * gdb.trace/trace-condition.c (marker): Likewise.
833 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
834 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
837 2015-09-18 Doug Evans <xdje42@gmail.com>
839 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
840 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
842 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
844 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
847 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
849 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
850 the pending breakpoint. Remove timeout override for "Run till
851 MI pending breakpoint on pendfunc3 on thread 2" test.
853 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
855 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
858 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
860 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
861 in breakpoint filename pattern.
863 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
865 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
867 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
869 * gdb.linespec/explicit.exp: Check for readline support for
870 tab-completion tests. Fix obvious typo.
872 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
874 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
877 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
879 * gdb.btrace/non-stop.c: New.
880 * gdb.btrace/non-stop.exp: New.
882 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
883 Yao Qi <yao.qi@linaro.org>
885 * gdb.trace/trace-condition.c: New file.
886 * gdb.trace/trace-condition.exp: New file.
888 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
890 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
891 for testing bytecode compilation.
893 2015-09-16 Pedro Alves <palves@redhat.com>
894 Sandra Loosemore <sandra@codesourcery.com>
896 * gdb.threads/non-stop-fair-events.c (timeout): New global.
898 (main): Call pthread_kill and alarm early.
899 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
901 (test): If the target can't hardware step and doesn't support
902 displaced stepping, increase the timeout.
904 2015-09-16 Pedro Alves <palves@redhat.com>
906 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
907 (enable_debug): New procedures.
908 (test): Use them. Bail out if waiting for threads fails.
909 (top level): Bail out if a test fails.
911 2015-09-16 Yao Qi <yao.qi@linaro.org>
913 * gdb.asm/asm-source.exp: Set asm-arch for
915 * gdb.asm/aarch64.inc: New file.
917 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
919 * gdb.ada/array_of_variable_length.exp: New testcase.
920 * gdb.ada/array_of_variable_length/foo.adb: New file.
921 * gdb.ada/array_of_variable_length/pck.adb: New file.
922 * gdb.ada/array_of_variable_length/pck.ads: New file.
924 2015-09-15 Doug Evans <dje@google.com>
926 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
927 of function static local variable.
929 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
931 * gdb.threads/tls-so_extern.exp: New test file.
932 * gdb.threads/tls-so_extern.c: New test file.
933 * gdb.threads/tls-so_extern_main.c: New test file.
935 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
937 * gdb.opt/solib-intra-step-lib.c: New file.
938 * gdb.opt/solib-intra-step-main.c: New file.
939 * gdb.opt/solib-intra-step.exp: New file.
941 2015-09-15 Pedro Alves <palves@redhat.com>
943 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
944 gdb_continue_to_breakpoint instead of gdb_test_multiple.
946 2015-09-14 Pedro Alves <palves@redhat.com>
948 * gdb.base/hook-stop-continue.c: Delete.
949 * gdb.base/hook-stop-continue.exp: Delete.
950 * gdb.base/hook-stop-frame.c: Delete.
951 * gdb.base/hook-stop-frame.exp: Delete.
952 * gdb.base/hook-stop.c: New file.
953 * gdb.base/hook-stop.exp: New file.
955 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
957 * gdb.ada/access_to_packed_array.exp: New testcase.
958 * gdb.ada/access_to_packed_array/foo.adb: New file.
959 * gdb.ada/access_to_packed_array/pack.adb: New file.
960 * gdb.ada/access_to_packed_array/pack.ads: New file.
962 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
964 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
967 2015-09-11 Don Breazeal <donb@codesourcery.com>
969 * gdb.base/foll-exec.c: Add copyright header. Fix
971 * gdb.base/foll-exec.exp (zap_session): Delete proc.
972 (do_exec_tests): Use clean_restart in place of zap_session,
973 and for test initialization. Fix formatting issues. Use
974 fail in place of perror.
975 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
976 an expect statement to match an expression with output from
977 the program under debug.
978 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
979 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
980 * gdb.threads/non-ldr-exc-2.exp: Likewise.
981 * gdb.threads/non-ldr-exc-3.exp: Likewise.
982 * gdb.threads/non-ldr-exc-4.exp: Likewise.
984 2015-09-09 Doug Evans <dje@google.com>
986 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
988 2015-09-09 Doug Evans <dje@google.com>
990 * gdb.base/pie-execl.exp: Fix result test of build_executable.
992 2015-09-09 Doug Evans <dje@google.com>
994 * gdb.base/savedregs.exp: Fix typo.
996 2015-09-09 Pedro Alves <palves@redhat.com>
998 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1000 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1002 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1003 command actually switches threads. Give up on remaining
1004 tests if target fails to stop at breakpoint.
1006 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1008 * gdb.ada/funcall_char.exp: New testcase.
1009 * gdb.ada/funcall_char/foo.adb: New file.
1011 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1013 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1014 expected outputs. Add two testcases for completing ambiguous
1016 * gdb.ada/complete/aux_pck.adb: New file.
1017 * gdb.ada/complete/aux_pck.ads: New file.
1018 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1019 Ambiguous_Func functions.
1020 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1021 * gdb.ada/complete/pck.adb: Likewise.
1023 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1025 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1026 failures to run the test program under GDB.
1028 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
1030 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1033 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1035 * gdb.base/run-after-attach.exp: New test file.
1036 * gdb.base/run-after-attach.c: New test file.
1038 2015-08-26 Don Breazeal <donb@codesourcery.com>
1040 * gdb.base/foll-exec-2.c: New test program.
1041 * gdb.base/foll-exec-2.exp: New test.
1043 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1045 * gdb.base/nested-subp1.exp: New file.
1046 * gdb.base/nested-subp1.c: New file.
1047 * gdb.base/nested-subp2.exp: New file.
1048 * gdb.base/nested-subp2.c: New file.
1049 * gdb.base/nested-subp3.exp: New file.
1050 * gdb.base/nested-subp3.c: New file.
1052 2015-08-24 Pedro Alves <palves@redhat.com>
1054 * gdb.server/connect-without-multi-process.c: New file.
1055 * gdb.server/connect-without-multi-process.exp: New file.
1057 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1059 * gdb.opt/inline-markers.c: Make z int.
1061 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1063 * gdb.opt/inline-markers.c: Make z volatile.
1065 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1067 * gdb.opt/inline-bt.c: New volatile global z.
1068 * gdb.opt/inline-cmds.c: Likewise.
1069 * gdb.opt/inline-locals.c: Likewise.
1070 * gdb.opt/inline-markers.c: New extern global z.
1072 (inline_fn): Likewise.
1074 2015-08-24 Pedro Alves <palves@redhat.com>
1076 * config/m32r-stub.exp: Remove file.
1077 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1078 * gdb.base/call-rt-st.exp: Likewise.
1079 * gdb.base/call-strs.exp: Likewise.
1080 * gdb.base/default.exp: Remove references to h8300-*-hms and
1082 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1084 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1086 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1087 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1088 and "return" use KFAIL when GDB can not read/write the vector
1091 2015-08-21 Gary Benson <gbenson@redhat.com>
1093 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1095 2015-08-20 Pedro Alves <palves@redhat.com>
1097 * gdb.server/solib-list.exp: No longer expect an interior stop in
1100 2015-08-20 Pedro Alves <palves@redhat.com>
1102 * gdb.server/connect-stopped-target.c: New file.
1103 * gdb.server/connect-stopped-target.exp: New file.
1105 2015-08-20 Pedro Alves <palves@redhat.com>
1107 * gdb.dwarf2/comp-unit-lang.exp: New file.
1108 * gdb.dwarf2/comp-unit-lang.c: New file.
1110 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1112 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1113 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1115 2015-08-19 Kevin Buettner <kevinb@redhat.com>
1117 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1118 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1120 2015-08-18 Doug Evans <dje@google.com>
1121 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1123 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1124 skip_python_tests. New arg prompt_regexp.
1125 (skip_python_tests): New function.
1126 * lib/mi-support.exp (mi_skip_python_tests): New function.
1127 * gdb.python/py-mi-objfile-gdb.py: New file.
1128 * gdb.python/py-mi-objfile.c: New file.
1129 * gdb.python/py-mi-objfile.exp: New file.
1131 2015-08-17 Keith Seitz <keiths@redhat.com>
1133 * gdb.linespec/explicit.exp: Move strace test from here ...
1134 * gdb.trace/strace.exp: ... to here.
1136 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1138 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1139 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1141 2015-08-14 Doug Evans <xdje42@gmail.com>
1143 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
1144 inferior before selecting a new file.
1146 2015-08-14 Doug Evans <xdje42@gmail.com>
1148 * gdb.mi/mi-disassemble.exp: Update.
1149 * gdb.base/disasm-optim.S: New file.
1150 * gdb.base/disasm-optim.c: New file.
1151 * gdb.base/disasm-optim.h: New file.
1152 * gdb.base/disasm-optim.exp: New file.
1154 2015-08-14 Keith Seitz <keiths@redhat.com>
1156 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
1159 2015-08-13 Joel Brobecker <brobecker@adacore.com>
1161 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
1163 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
1165 * gdb.ada/fun_renaming.exp: New testcase.
1166 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
1167 * gdb.ada/fun_renaming/pack.adb: New file.
1168 * gdb.ada/fun_renaming/pack.ads: New file.
1170 2015-08-12 Keith Seitz <keiths@redhat.com>
1172 * gdb.base/dso2dso.exp: Pass basename of source file in call to
1173 gdb_get_line_number.
1175 2015-08-12 Joel Brobecker <brobecker@adacore.com>
1177 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
1178 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
1179 gdb.base/dso2dso.exp: New files.
1181 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
1182 Pedro Alves <palves@redhat.com>
1183 Keith Seitz <keiths@redhat.com>
1185 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
1188 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1190 * gdb.base/gdbhistsize-history.exp
1191 (test_histsize_history_setting): Use save_vars.
1192 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1194 (test_no_truncation_of_unlimited_history_file): Use save_vars.
1195 * gdb.base/readline.exp: Use save_vars.
1197 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1199 * lib/gdb.exp (save_vars): New proc.
1201 2015-08-11 Keith Seitz <keiths@redhat.com>
1203 * gdb.base/help.exp: Update help_breakpoint_text.
1205 2015-08-11 Keith Seitz <keiths@redhat.com>
1207 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
1208 (at toplevel): Call test_explicit_breakpoints.
1209 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
1211 * lib/mi-support.exp (mi_make_breakpoint): Add support for
1212 breakpoint conditions, "-cond".
1214 2015-08-11 Keith Seitz <keiths@redhat.com>
1216 * gdb.linespec/3explicit.c: New file.
1217 * gdb.linespec/cpexplicit.cc: New file.
1218 * gdb.linespec/cpexplicit.exp: New file.
1219 * gdb.linespec/explicit.c: New file.
1220 * gdb.linespec/explicit.exp: New file.
1221 * gdb.linespec/explicit2.c: New file.
1222 * gdb.linespec/ls-errs.exp: Add explicit location tests.
1223 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
1224 before using in the matching pattern.
1225 Clarify that `prefix' is a regular expression.
1227 2015-08-11 Keith Seitz <keiths@redhat.com>
1229 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
1231 Add tests for missing ",FMT" and ",".
1233 2015-08-10 Doug Evans <dje@google.com>
1234 Keith Seitz <keiths@redhat.com>
1237 * gdb.base/completion.exp: Add location completer tests.
1239 2015-08-07 Pedro Alves <palves@redhat.com>
1241 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
1243 (top level): Run do_test with and without displaced stepping.
1245 2015-08-07 Pedro Alves <palves@redhat.com>
1247 * gdb.base/valgrind-disp-step.c: New file.
1248 * gdb.base/valgrind-disp-step.exp: New file.
1250 2015-08-07 Pedro Alves <palves@redhat.com>
1252 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
1254 (main): Add alarm. Run an infinite loop instead of calling
1256 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
1258 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
1260 (main): Add alarm. Run an infinite loop instead of calling
1262 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
1265 2015-08-07 Pedro Alves <palves@redhat.com>
1267 * gdb.base/checkpoint-ns.exp: New file.
1268 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
1271 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
1273 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
1274 * gdb.btrace/instruction_history.exp: Update.
1275 * gdb.btrace/tsx.exp: New.
1276 * gdb.btrace/tsx.c: New.
1278 2015-08-06 Pedro Alves <palves@redhat.com>
1280 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
1282 * gdb.reverse/until-precsave.exp: Bump timeouts.
1284 2015-08-06 Pedro Alves <palves@redhat.com>
1286 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
1288 2015-08-06 Pedro Alves <palves@redhat.com>
1291 * gdb.threads/process-dies-while-handling-bp.c: New file.
1292 * gdb.threads/process-dies-while-handling-bp.exp: New file.
1294 2015-08-06 Pedro Alves <palves@redhat.com>
1296 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
1297 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
1299 2015-08-05 Pedro Alves <palves@redhat.com>
1301 * gdb.threads/next-while-other-thread-longjmps.c: New file.
1302 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
1304 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
1306 * gdb.base/bp-permanent.exp: Report test as unsupported if
1307 the target cannot stop at the permanent breakpoint.
1309 2015-08-03 Doug Evans <dje@google.com>
1311 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
1314 2015-08-03 Doug Evans <dje@google.com>
1316 * Makefile.in (workers/%.worker, build-perf): New rule.
1317 (GDB_PERFTEST_MODE): New variable.
1318 (check-perf): Use it.
1319 (clean): Clean up gdb.perf parallel build subdirs.
1320 * lib/build-piece.exp: New file.
1321 * lib/gdb.exp (make_gdb_parallel_path): New function
1322 (standard_output_file, standard_temp_file): Call it.
1323 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1325 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
1327 2015-08-03 Doug Evans <dje@google.com>
1329 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
1330 (LOG_FILE_NAME): New global.
1331 (TextReporter.__init__): Initialize self.txt_sum.
1332 (TextReporter.report): Add support for multiple data-points.
1333 Move report to perftest.sum, put raw data in perftest.log.
1334 (TextReporter.start): Open sum and log files.
1335 (TextReporter.end): Close sum and log files.
1336 * gdb.perf/lib/perftest/testresult.py
1337 (SingleStatisticTestResult.record): Handle multiple data-points.
1339 2015-07-31 Pedro Alves <palves@redhat.com>
1341 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
1342 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1343 kill_wait_spawned_process instead of explicit "kill -9".
1344 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
1345 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1346 kill_wait_spawned_process.
1347 * gdb.base/attach-twice.exp: Likewise.
1348 * gdb.base/attach.exp: Likewise.
1349 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
1351 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
1352 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1353 kill_wait_spawned_process.
1354 * gdb.base/valgrind-infcall.exp: Likewise.
1355 * gdb.multi/multi-attach.exp: Likewise.
1356 * gdb.python/py-prompt.exp: Likewise.
1357 * gdb.python/py-sync-interp.exp: Likewise.
1358 * gdb.server/ext-attach.exp: Likewise.
1359 * gdb.threads/attach-into-signal.exp (corefunc): Use
1360 spawn_wait_for_attach, spawn_id_get_pid and
1361 kill_wait_spawned_process.
1362 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
1363 spawn_wait_for_attach returning a spawn id instead of a pid. Use
1364 spawn_id_get_pid and kill_wait_spawned_process.
1365 * gdb.threads/attach-stopped.exp (corefunc): Use
1366 spawn_wait_for_attach, spawn_id_get_pid and
1367 kill_wait_spawned_process.
1368 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
1369 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1370 kill_wait_spawned_process instead of explicit "kill -9".
1371 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
1372 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
1373 (spawn_wait_for_attach): Use spawn instead of exec to spawn
1374 processes. Don't map cygwin/windows pids here. Now returns a
1377 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1379 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
1380 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
1383 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1385 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
1387 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1390 2014-05-21 Mark Wielaard <mjw@redhat.com>
1392 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1394 2015-07-30 Pedro Alves <palves@redhat.com>
1396 * linux-low.c (handle_extended_wait): Set the child's last
1397 reported status to TARGET_WAITKIND_STOPPED.
1399 2015-07-30 Pedro Alves <palves@redhat.com>
1402 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
1403 only shows inferior 1.
1405 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
1406 Pedro Alves <palves@redhat.com>
1409 * gdb.threads/fork-plus-threads.c: New file.
1410 * gdb.threads/fork-plus-threads.exp: New file.
1412 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1414 * gdb.base/batch-preserve-term-settings.exp
1415 (test_terminal_settings_preserved_after_cli_exit): Use
1418 2015-07-29 Pedro Alves <palves@redhat.com>
1419 Don Breazeal <donb@codesourcery.com>
1421 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
1422 output from both inferior_spawn_id and gdb_spawn_id.
1424 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1426 * gdb.threads/attach-into-signal.exp (corefunc): Use
1427 with_test_prefix on nested loops, uniquefying the test messages.
1429 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1431 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
1434 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1436 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
1438 (test_terminal_settings_preserved_after_sigterm): New test.
1440 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1442 * gdb.base/batch-preserve-term-settings.exp
1443 (test_terminal_settings_preserved_after_cli_exit): New test.
1445 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1447 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
1448 manipulation of saved_gdbflags.
1449 (test_terminal_settings_preserved): Remove global declaration of
1450 the unused variable pagination_prompt. Remove manipulation of
1451 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
1454 2015-07-29 Pedro Alves <palves@redhat.com>
1456 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
1458 2015-07-29 Pedro Alves <palves@redhat.com>
1460 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
1463 2015-07-29 Pedro Alves <palves@redhat.com>
1465 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
1466 (main): Call gdb_unbuffer_output.
1467 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
1468 (main): Call gdb_unbuffer_output.
1469 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
1470 (main): Call gdb_unbuffer_output.
1471 * gdb.base/call-strs.exp: Adjust to step over the
1472 gdb_unbuffer_output call.
1473 * gdb.base/catch-gdb-caused-signals.c: Include
1474 "../lib/unbuffer_output.c".
1475 (main): Call gdb_unbuffer_output.
1476 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
1477 (main): Call gdb_unbuffer_output.
1478 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
1479 (main): Call gdb_unbuffer_output.
1480 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
1481 (main): Call gdb_unbuffer_output.
1482 * gdb.base/shlib-call.exp: Adjust to step over the
1483 gdb_unbuffer_output call.
1484 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
1485 (main): Call gdb_unbuffer_output.
1486 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
1487 (main): Call gdb_unbuffer_output.
1488 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
1489 (main): Rename to ...
1491 (main): Reimplement.
1492 * gdb.base/varargs.exp: Run to test instead of to main.
1493 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
1494 (main): Call gdb_unbuffer_output.
1496 2015-07-29 Pedro Alves <palves@redhat.com>
1498 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
1499 factore out from mi_continue_dprintf. For call-style dprintfs,
1500 expect dprintf output out of $inferior_spawn_id.
1501 (mi_continue_dprintf): Use mi_expect_dprintf.
1502 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
1503 (main): Call gdb_unbuffer_output.
1505 2015-07-29 Pedro Alves <palves@redhat.com>
1507 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
1508 (default_mi_gdb_start): Set inferior_spawn_id instead of
1509 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
1511 (mi_gdb_test): Always expect inferior output from both
1512 $inferior_spawn_id and $gdb_spawn_id.
1514 2015-07-29 Pedro Alves <palves@redhat.com>
1516 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
1517 send_inferior and $inferior_spawn_id.
1519 2015-07-29 Pedro Alves <palves@redhat.com>
1521 * gdb.gdb/complaints.exp (test_initial_complaints)
1522 (test_serial_complaints, test_short_complaints): Use
1524 (test_empty_complaint): Handle $inferior_spawn_id !=
1527 2015-07-29 Pedro Alves <palves@redhat.com>
1529 * gdb.base/varargs.exp: Use gdb_test_stdio.
1531 2015-07-29 Pedro Alves <palves@redhat.com>
1533 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
1535 2015-07-29 Pedro Alves <palves@redhat.com>
1537 * gdb.base/ending-run.exp: Use gdb_test_stdio.
1539 2015-07-29 Pedro Alves <palves@redhat.com>
1541 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
1542 parameter into two new parameters, "inf_result" and "gdb_result".
1543 Expect inferior output and gdb output from $inferior_spawn_id and
1544 $gdb_spawn_id, respectively. Adjust all callers.
1546 2015-07-29 Pedro Alves <palves@redhat.com>
1548 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
1549 of gdb_test_sequence.
1551 2015-07-29 Pedro Alves <palves@redhat.com>
1553 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
1554 (saw_spurious_output): Expect inferior output from
1555 $inferior_spawn_id. Use gdb_test_stdio.
1557 2015-07-29 Pedro Alves <palves@redhat.com>
1559 * gdb.base/dprintf.exp: Use standard_testfile. Change
1560 prepare_for_testing call.
1561 (srcfile): Don't set.
1562 (restart): New procedure.
1563 (test_dprintf): New procecure, use to continue over dprintfs.
1564 (test_call, test_agent): New procedures, tests moved here.
1565 Restart gdb and recreate dprintfs. Adjust expected output.
1567 2015-07-29 Pedro Alves <palves@redhat.com>
1569 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
1571 2015-07-29 Pedro Alves <palves@redhat.com>
1573 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
1575 2015-07-29 Pedro Alves <palves@redhat.com>
1577 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
1580 2015-07-29 Pedro Alves <palves@redhat.com>
1582 * lib/gdb.exp (gdb_test_stdio): New procedure.
1584 2015-07-29 Pedro Alves <palves@redhat.com>
1586 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
1588 2015-07-29 Pedro Alves <palves@redhat.com>
1590 * gdb.base/call-signal-resume.exp: Remove check for
1591 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
1592 * gdb.base/unwindonsignal.exp: Likewise.
1593 * gdb.base/call-signals.c (gen_signal): Remove printf call.
1594 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
1596 2015-07-29 Pedro Alves <palves@redhat.com>
1598 * gdb.base/siginfo-addr.c (pass): New function.
1599 (handler): Call it iff si_addr is correct.
1600 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
1601 Set a breakpoint at "pass" and continue to it.
1603 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
1605 * gdb.python/py-objfile.exp: Make some tests have unique names.
1606 * gdb.python/py-pp-registration.exp: Likewise.
1608 2015-07-28 Pedro Alves <palves@redhat.com>
1610 * gdb.server/server-exec-info.exp: Issue a "disconnect".
1612 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
1614 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
1616 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
1618 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
1620 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
1622 * gdb.base/gdb-sigterm-2.exp: New test.
1624 2015-07-25 Doug Evans <xdje42@gmail.com>
1627 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
1628 (workers/%.worker, build-perf): New rule.
1629 (GDB_PERFTEST_MODE): New variable.
1630 (check-perf): Use it.
1631 (clean): Clean up gdb.perf parallel build subdirs.
1632 * lib/build-piece.exp: New file.
1633 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
1634 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
1636 (standard_temp_file): Ditto.
1637 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1640 2015-07-24 Doug Evans <dje@google.com>
1642 * gdb.perf/lib/perftest/utils.py: New file.
1643 * gdb.perf/gm-hello.cc: New file.
1644 * gdb.perf/gm-pervasive-typedef.cc: New file.
1645 * gdb.perf/gm-pervasive-typedef.h: New file.
1646 * gdb.perf/gm-std.cc: New file.
1647 * gdb.perf/gm-std.h: New file.
1648 * gdb.perf/gm-use-cerr.cc: New file.
1649 * gdb.perf/gm-utils.h: New file.
1650 * gdb.perf/gmonster-null-lookup.py: New file.
1651 * gdb.perf/gmonster-pervasive-typedef.py: New file.
1652 * gdb.perf/gmonster-print-cerr.py: New file.
1653 * gdb.perf/gmonster-ptype-string.py: New file.
1654 * gdb.perf/gmonster-runto-main.py: New file.
1655 * gdb.perf/gmonster-select-file.py: New file.
1656 * gdb.perf/gmonster1-null-lookup.exp: New file.
1657 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
1658 * gdb.perf/gmonster1-print-cerr.exp: New file.
1659 * gdb.perf/gmonster1-ptype-string.exp: New file.
1660 * gdb.perf/gmonster1-runto-main.exp: New file.
1661 * gdb.perf/gmonster1-select-file.exp: New file.
1662 * gdb.perf/gmonster1.cc: New file.
1663 * gdb.perf/gmonster1.exp: New file.
1664 * gdb.perf/gmonster2-null-lookup.exp: New file.
1665 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
1666 * gdb.perf/gmonster2-print-cerr.exp: New file.
1667 * gdb.perf/gmonster2-ptype-string.exp: New file.
1668 * gdb.perf/gmonster2-runto-main.exp: New file.
1669 * gdb.perf/gmonster2-select-file.exp: New file.
1670 * gdb.perf/gmonster2.cc: New file.
1671 * gdb.perf/gmonster2.exp: New file.
1673 2015-07-24 Doug Evans <dje@google.com>
1675 * gdb.perf/README: New file.
1676 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
1677 * lib/gen-perf-test.exp: New file.
1679 2015-07-24 Doug Evans <dje@google.com>
1681 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
1682 (PerfTest::startup): New function.
1683 (PerfTest::run): Return result of calling body.
1684 (PerfTest::assemble): Rewrite.
1685 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
1686 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
1687 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
1688 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
1689 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
1691 2015-07-24 Doug Evans <dje@google.com>
1693 * lib/gdb.exp (clean_restart): Make executable optional.
1695 2015-07-24 Doug Evans <dje@google.com>
1697 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
1698 compiler_info references.
1699 * gdb.cp/temargs.exp: Ditto.
1700 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
1701 (get_compiler_info): Early exit if already computed. Set compiler_info
1702 to "unknown" if there was a problem.
1703 (test_compiler_info): Add function comment. Call get_compiler_info.
1705 2015-07-24 Doug Evans <dje@google.com>
1707 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
1708 (workers/%.worker, build-perf): New rule.
1709 (GDB_PERFTEST_MODE): New variable.
1710 (check-perf): Use it.
1711 (clean): Clean up gdb.perf parallel build subdirs.
1712 * lib/build-piece.exp: New file.
1713 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
1714 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
1716 (standard_temp_file): Ditto.
1717 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1720 2015-07-24 Doug Evans <dje@google.com>
1722 * lib/future.exp (gdb_default_target_compile): New option
1724 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
1727 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
1729 * gdb.base/catch-syscall.exp: Call gdb_exit before
1732 2015-07-24 Pedro Alves <palves@redhat.com>
1734 * gdb.python/py-events.exp: Accept output between the stop event
1736 * gdb.python/py-evsignal.exp: Likewise.
1737 * gdb.python/py-evthreads.exp: Likewise.
1739 2015-07-24 Pedro Alves <palves@redhat.com>
1742 * gdb.threads/non-ldr-exit.c: New file.
1743 * gdb.threads/non-ldr-exit.exp: New file.
1745 2015-07-24 Yao Qi <yao.qi@linaro.org>
1747 * gdb.server/ext-wrapper.exp: Test --wrapper option when
1750 2015-07-24 Yao Qi <yao.qi@linaro.org>
1752 * gdb.server/ext-restart.exp: New file.
1754 2015-07-24 Yao Qi <yao.qi@linaro.org>
1756 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
1758 * gdb.server/ext-wrapper.exp: New file.
1760 2015-07-23 Doug Evans <dje@google.com>
1762 * gdb.dwarf2/dw2-dummy-cu.S: New file.
1763 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
1765 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
1767 * gdb.ada/var_arr_typedef.exp: New testcase.
1768 * gdb.ada/var_arr_typedef/pack.adb: New file.
1769 * gdb.ada/var_arr_typedef/pack.ads: New file.
1770 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
1772 2015-07-20 Joel Brobecker <brobecker@adacore.com>
1774 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
1776 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1778 * gdb.arch/i386-biarch-core.exp: Replace istarget
1779 by "complete set gnutarget". Remove expectation for the "core-file"
1782 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1784 Revert the previous commit:
1785 Tests for validate symbol file using build-id.
1787 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
1789 Tests for validate symbol file using build-id.
1790 * gdb.base/solib-mismatch-lib.c: New file.
1791 * gdb.base/solib-mismatch-libmod.c: New file.
1792 * gdb.base/solib-mismatch.c: New file.
1793 * gdb.base/solib-mismatch.exp: New file.
1795 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
1797 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
1799 * gdb.base/sigbpt.exp (stepi_out): Likewise.
1800 * gdb.base/siginfo.exp: Likewise.
1801 * gdb.base/sigstep.exp (advance, advancei): Likewise.
1803 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
1805 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
1807 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
1809 * gdb.trace/range-stepping.exp: Check that the target supports
1812 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1814 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
1816 2015-07-14 Pedro Alves <palves@redhat.com>
1818 * gdb.base/killed-outside.exp: New file.
1819 * gdb.base/killed-outside.c: New file.
1821 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1823 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
1825 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
1827 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
1829 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
1830 infcall tests instead of setting up for KFAIL.
1832 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
1834 * gdb.btrace/record_goto-step.exp: New.
1836 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1839 * gdb.compile/compile.c (struct struct_type): Add volatile to
1841 * gdb.compile/compile.exp
1842 (compile code struct_object.selffield = &struct_object): Skip further
1843 struct_object tests if this one xfails.
1845 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
1848 * gdb.trace/ax.exp: Add test.
1850 2015-07-07 Yao Qi <yao.qi@linaro.org>
1852 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
1853 instead of istarget "aarch64*-*-*".
1854 * gdb.arch/aarch64-fp.exp: Likewise.
1855 * gdb.base/float.exp: Likewise.
1856 * gdb.reverse/aarch64.exp: Likewise.
1857 * lib/gdb.exp (is_aarch64_target): New proc.
1859 2015-07-07 Yao Qi <yao.qi@linaro.org>
1861 * lib/gdb.exp (is_aarch32_target): New proc.
1862 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
1863 instead of "istarget "arm*-*-*"".
1864 * gdb.arch/arm-disp-step.exp: Likewise.
1865 * gdb.arch/thumb-bx-pc.exp: Likewise.
1866 * gdb.arch/thumb-prologue.exp: Likewise.
1867 * gdb.arch/thumb-singlestep.exp: Likewise.
1868 * gdb.base/disp-step-syscall.exp: Likewise.
1869 * gdb.base/float.exp: Likewise.
1871 2015-07-07 Yao Qi <yao.qi@linaro.org>
1873 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
1874 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
1876 2015-07-07 Yao Qi <yao.qi@linaro.org>
1878 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
1879 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
1881 * gdb.multi/multi-arch.exp: Likewise.
1883 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
1885 * gdb.python/py-lazy-string.exp: Add missing parentheses to
1888 2015-07-07 Yao Qi <yao.qi@linaro.org>
1890 * gdb.arch/thumb-singlestep.exp: Do one more single step.
1892 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
1894 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
1895 '[' and ']' characters.
1897 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
1899 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1901 2015-06-29 Pedro Alves <palves@redhat.com>
1904 * gdb.threads/hand-call-new-thread.c: New file.
1905 * gdb.threads/hand-call-new-thread.c: New file.
1907 2015-06-26 Keith Seitz <keiths@redhat.com>
1908 Doug Evans <dje@google.com>
1911 * gdb.cp/var-tag-2.cc: New file.
1912 * gdb.cp/var-tag-3.cc: New file.
1913 * gdb.cp/var-tag-4.cc: New file.
1914 * gdb.cp/var-tag.cc: New file.
1915 * gdb.cp/var-tag.exp: New file.
1917 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
1919 * gdb.base/history-duplicates.exp: New test.
1921 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
1923 * gdb.base/completion.exp: Test the completion of the "focus"
1926 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1928 * gdb.arch/amd64-prologue-skip.S: New file.
1929 * gdb.arch/amd64-prologue-skip.exp: New file.
1931 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
1933 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
1934 is_address_zero_readable check.
1936 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
1938 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
1939 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
1941 2015-06-24 Yao Qi <yao.qi@linaro.org>
1943 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
1946 2015-06-24 Yao Qi <yao.qi@linaro.org>
1948 * lib/gdb.exp (supports_get_siginfo_type): New proc.
1949 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
1950 * gdb.base/siginfo-thread.exp: Likewise.
1952 2015-06-22 Yao Qi <yao.qi@linaro.org>
1954 * boards/remote-gdbserver-on-localhost.exp: Add comments.
1956 2015-06-22 Yao Qi <yao.qi@linaro.org>
1958 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
1960 (skip_hw_watchpoint_tests): Likewise.
1962 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
1964 * gdb.base/gdbinit-history.exp: Test the interaction between
1965 setting GDBHISTSIZE and setting the history size via .gdbinit.
1967 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1970 * gdb.base/gdbhistsize-history.exp: New test.
1972 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1974 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
1976 * gdb.base/readline.exp: Likewise.
1978 2015-06-17 Yao Qi <yao.qi@linaro.org>
1980 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
1983 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1985 * gdb.base/gdbinit-history.exp: Add test case to check that
1986 an unlimited history file does not get truncated on exit.
1988 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1990 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
1991 (VECTOR): New macro. Use it...
1992 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
1993 ...for these typedefs.
1994 (int8, char1, int1, double1): New typedefs.
1995 (struct just_int2, struct two_int2): New structures.
1996 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
1997 (add_structvecs, add_singlevecs): New functions.
1998 (main): Call add_some_intvecs twice.
1999 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2000 the compile and exit upon failure. Try compiling for the "native"
2001 architecture. Test inferior function calls with vector arguments
2002 and vector return value handling with "finish" and "return".
2004 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2006 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2007 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2009 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2011 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2013 PR breakpoints/16465
2014 * gdb.mi/mi-dprintf-pending.c: New file.
2015 * gdb.mi/mi-dprintf-pending.exp: New test.
2016 * gdb.mi/mi-dprintf-pendshr.c: New file.
2018 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2019 Mircea Gherzan <mircea.gherzan@intel.com>
2021 * gdb.arch/i386-mpx-map.c: New file.
2022 * gdb.arch/i386-mpx-map.exp: New File.
2024 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2026 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2027 * gdb.arch/i386-mpx.exp: Indentation fixed.
2029 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2031 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2032 function and improved indentation.
2033 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2034 gdb_test_multiple. Added additional tests to skip the test.
2036 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2038 * gdb.arch/i386-avx512.c: Change path in include file.
2039 * gdb.arch/i386-avx512.exp: Change include dir path
2041 * gdb.arch/i386-mpx.c: Change path in include file.
2042 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2045 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2047 * gdb.compile/compile-print.exp (compile print *vararray@3)
2048 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2050 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2052 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2053 (do not keep jit in memory): ... this.
2054 (expect 5): Change it to ...
2055 (expect no 5): ... this.
2057 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2060 * gdb.mi/mi-detach.exp: New file.
2062 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2065 * gdb.arch/amd64-tailcall-self.S: New file.
2066 * gdb.arch/amd64-tailcall-self.c: New file.
2067 * gdb.arch/amd64-tailcall-self.exp: New file.
2069 2015-05-28 Don Breazeal <donb@codesourcery.com>
2071 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2072 tests for remote targets by checking is_target_gdbserver.
2074 2015-05-27 Doug Evans <dje@google.com>
2076 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2077 * gdb.dwarf2/opaque-type-lookup.c: New file.
2078 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2080 2015-05-26 Doug Evans <dje@google.com>
2082 * gdb.cp/iostream.cc: New file.
2083 * gdb.cp/iostream.exp: New file.
2085 2015-05-26 Doug Evans <dje@google.com>
2087 * gdb.dwarf2/dw2-op-call.exp: Update.
2088 * gdb.dwarf2/dw4-sig-types.exp: Update.
2089 * gdb.dwarf2/implptr.exp: Update.
2090 * gdb.mi/mi-cmd-param-changed.exp: Update.
2092 2015-05-26 Doug Evans <dje@google.com>
2094 * gdb.python/py-lazy-string.c: New file.
2095 * gdb.python/py-lazy-string.exp: New file.
2096 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2097 (main): Update. Add estring3.
2098 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2099 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2101 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2102 Yao Qi <yao.qi@linaro.org>
2104 * gdb.reverse/aarch64.c: New.
2105 * gdb.reverse/aarch64.exp: New.
2107 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2109 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2110 (supports_reverse): Likewise.
2112 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2114 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2115 Use with_test_prefix.
2117 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2119 * gdb.base/completion.exp: Add test for completion of layout
2122 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2124 * lib/gdb.exp (skip_tui_tests): New proc.
2125 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2127 2015-05-19 Pedro Alves <palves@redhat.com>
2129 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2130 Save the whole env array instead of just HOME. Unset HISTSIZE in
2131 the environment while testing. Restore whole environment
2134 2015-05-16 Doug Evans <xdje42@gmail.com>
2136 * gdb.guile/scm-ports.c: New file.
2137 * gdb.guile/scm-ports.exp: Add memory port tests.
2139 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2141 * gdb.compile/compile-print.c: New file.
2142 * gdb.compile/compile-print.exp: New file.
2144 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2146 * gdb.compile/compile-ops.exp: Cast param to void.
2147 * gdb.compile/compile.exp: Complete type for _gdb_expr.
2148 (compile code struct_object.selffield = &struct_object): Add xfail.
2150 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2152 * gdb.ada/arr_enum_with_gap: New testcase.
2154 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2156 * gdb.ada/byte_packed_arr: New testcase.
2158 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2160 * gdb.ada/pckd_neg: New testcase.
2162 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
2165 * gdb.base/gdbinit-history.exp: New test.
2166 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
2167 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
2169 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
2171 * gdb.python/py-xmethods.cc: Enhance test case.
2172 * gdb.python/py-xmethods.exp: New tests.
2173 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
2175 (B_indexoper): Likewise.
2176 (global_dm_list) : Add new xmethod worker functions.
2178 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
2180 * gdb.base/coredump-filter.exp: Correctly unset
2181 "coredump_var_addr" array.
2183 2015-05-08 Pedro Alves <palves@redhat.com>
2185 * gdb.server/non-existing-program.exp: Unset spawn_id.
2187 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
2190 * gdb.python/py-xmethods.exp: Add tests.
2192 2015-05-08 Yao Qi <yao.qi@linaro.org>
2195 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
2196 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
2197 function set_coredump_filter, and remove remote_exec call.
2198 Remove argument ipid. Callers update.
2199 (top level): Don't get inferior's PID.
2201 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
2203 * gdb.base/watch_thread_num.exp: Skip test on targets without
2206 2015-05-06 Pedro Alves <palves@redhat.com>
2209 * gdb.server/non-existing-program.exp: New file.
2211 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2213 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
2215 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2217 * gdb.ada/out_of_line_in_inlined: New testcase.
2219 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2221 * gdb.ada/var_rec_arr: New testcase.
2223 2015-04-30 Yao Qi <yao.qi@linaro.org>
2225 * gdb.base/break-idempotent.exp: If
2226 skip_hw_watchpoint_multi_tests returns true, skip the tests
2227 on "rwatch" and "awatch".
2229 2015-04-30 Yao Qi <yao.qi@linaro.org>
2231 * gdb.base/relativedebug.exp: Invoke gdb command
2232 "info sharedlibrary", and if libc.so doesn't have debug info,
2235 2015-04-29 Doug Evans <dje@google.com>
2237 * gdb.python/py-xmethods.exp: Add ptype tests.
2238 * gdb.python/py-xmethods.py (E_method_char_worker): Add
2239 get_result_type method.
2241 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
2243 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
2244 the target does not support hardware watchpoints.
2246 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
2248 * gdb.base/break-always.exp: Abort testing if writing to memory
2251 2015-04-28 Doug Evans <dje@google.com>
2253 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
2254 * gdb.python/py-pp-registration.exp: ... here. New file.
2255 * gdb.python/py-pp-registration.c: New file.
2256 * gdb.python/py-pp-registration.py: New file.
2258 2015-04-28 Doug Evans <dje@google.com>
2260 * gdb.python/py-bad-printers.c: New file.
2261 * gdb.python/py-bad-printers.py: New file.
2262 * gdb.python/py-bad-printers.exp: New file.
2264 2015-04-28 Sasha Smundak <asmundak@google.com>
2266 * gdb.python/py-type.exp: New test.
2268 2015-04-28 Andy Wingo <wingo@igalia.com>
2270 * gdb.python/py-parameter.exp:
2271 * gdb.guile/scm-parameter.exp: Escape the path that we are
2272 matching against, as it might contain characters that are special
2273 to regular expressions.
2275 2015-04-27 Joel Brobecker <brobecker@adacore.com>
2277 * gdb.ada/rec_comp: New testcase.
2279 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
2281 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
2284 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
2286 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
2287 new tests for verilog output.
2289 2015-04-24 Yao Qi <yao.qi@linaro.org>
2291 * boards/remote-gdbserver-on-localhost.exp: New file.
2293 2015-04-23 Pedro Alves <palves@redhat.com>
2295 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
2296 $inferior_spawn_id instead of $inferior_spawn_id directly. On
2297 "end of file", remove $inferior_spawn_id from the indirect list.
2299 2015-04-23 Pedro Alves <palves@redhat.com>
2301 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
2303 2015-04-23 Pedro Alves <palves@redhat.com>
2305 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
2306 on $any_spawn_id instead of only on $gdb_spawn_id.
2308 2015-04-21 Pierre Muller <muller@sourceware.org>
2311 * lib/pascal.exp (gpc_compile): Add new option "class".
2312 (fpc_compile): Likewise.
2313 * gdb.pascal/case-insensitive-symbols.pas: New file.
2314 * gdb.pascal/case-insensitive-symbols.exp: New file.
2316 2015-04-20 Gary Benson <gbenson@redhat.com>
2318 * gdb.base/attach.exp: Fix three extended remote failures.
2320 2015-04-17 Gary Benson <gbenson@redhat.com>
2322 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
2323 the main executable over the remote protocol.
2325 2015-04-16 Pedro Alves <palves@redhat.com>
2327 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
2328 a new gdbserver if gdbserver_reconnect_p is set.
2330 2015-04-16 Pedro Alves <palves@redhat.com>
2332 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
2333 is set, don't exit gdbserver.
2335 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2337 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
2338 appropriate .insn, such that an older assembler can be used.
2339 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
2340 the z/Architecture instruction set on 31-bit targets as well.
2342 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2344 * gdb.go/handcall.exp: Remove all logic related to the first
2345 breakpoint and rely on go_runto_main instead.
2346 * gdb.go/strings.exp: Likewise.
2347 * gdb.go/unsafe.exp: Likewise.
2348 * gdb.go/hello.exp: Likewise. Also rename the remaining
2349 breakpoint marker to "breakpoint 1".
2350 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
2351 * gdb.go/strings.go: Likewise.
2352 * gdb.go/unsafe.go: Likewise.
2353 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
2354 "set breakpoint 2 here" and rename the remaining breakpoint marker
2357 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
2359 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
2360 if itertools.imap is not present.
2361 * gdb.python/py-objfile.exp: Add parentheses.
2362 * gdb.python/py-type.exp: Same.
2363 * gdb.python/py-unwind-maint.py: Same.
2365 2015-04-15 Yao Qi <yao.qi@linaro.org>
2367 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
2368 of ":$ptr_size" and set its form explicitly.
2370 2015-04-15 Pedro Alves <palves@redhat.com>
2371 Yao Qi <yao.qi@linaro.org>
2373 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
2374 timeout by factor of 4.
2375 (test_regular_watch): Likewise.
2376 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
2377 * gdb.reverse/sigall-reverse.exp: Likewise.
2378 * gdb.reverse/until-precsave.exp: Likewise.
2379 * lib/gdb.exp (with_timeout_factor): New proc.
2380 (gdb_expect): Move some code to ...
2381 (get_largest_timeout): ... here. New procedure.
2383 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
2385 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
2387 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
2389 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
2390 to write to the .text section.
2392 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
2394 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
2395 Handle the case of targets that do not provide PID information.
2397 2015-04-13 Yao Qi <yao.qi@linaro.org>
2399 * lib/gdbserver-support.exp (gdb_exit): Catch exception
2400 and use expect instead of gdb_expect.
2402 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
2404 * gdb.base/coredump-filter.exp: Rename variable "addr" to
2405 "coredump_var_addr" to avoid naming conflict with other testcases.
2407 2015-04-10 Pedro Alves <palves@redhat.com>
2409 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
2410 gdb_test_sequence and gdb_assert.
2412 2015-04-10 Pedro Alves <palves@redhat.com>
2414 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
2415 test messages that don't include the breakpoint address.
2417 2015-04-10 Yao Qi <yao.qi@linaro.org>
2419 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
2420 false for some offset and width combinations which aren't
2421 supported by linux kernel.
2423 2015-04-10 Pedro Alves <palves@redhat.com>
2425 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
2426 procedure, factored out from ...
2427 (top level): ... here. Add "set displaced-stepping" testing axis.
2428 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
2429 parameter "displaced". Use it.
2430 (top level): Use foreach and add "set displaced-stepping" testing
2433 2015-04-10 Pedro Alves <palves@redhat.com>
2435 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
2437 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
2438 both the address of the instruction that triggers the watchpoint
2439 and the address of the instruction immediately after, and use
2440 those addresses for the test. Fix comment.
2442 2015-04-10 Pedro Alves <palves@redhat.com>
2444 * gdb.base/sigstep.exp (breakpoint_to_handler)
2445 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
2446 Test "backtrace" in handler.
2447 (breakpoint_over_handler): New parameter 'displaced'. Use it.
2448 (top level): Add new "displaced" test axis to
2449 breakpoint_to_handler, breakpoint_to_handler_entry and
2450 breakpoint_over_handler.
2452 2015-04-10 Pedro Alves <palves@redhat.com>
2455 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
2457 2015-04-10 Yao Qi <yao.qi@linaro.org>
2459 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
2460 (test_add_rn_pc): New function.
2461 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
2462 (top level): Invoke test_add_rn_pc.
2464 2015-04-10 Pedro Alves <palves@redhat.com>
2467 * gdb.base/step-over-no-symbols.exp: New file.
2469 2015-04-09 Andy Wingo <wingo@igalia.com>
2471 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
2472 after the Python tests.
2474 2015-04-08 Keith Seitz <keiths@redhat.com>
2477 * gdb.python/py-completion.exp: New tests for completion.
2478 * gdb.python/py-completion.py (CompleteLimit1): New class.
2479 (CompleteLimit2): Likewise.
2480 (CompleteLimit3): Likewise.
2481 (CompleteLimit4): Likewise.
2482 (CompleteLimit5): Likewise.
2483 (CompleteLimit6): Likewise.
2484 (CompleteLimit7): Likewise.
2486 2015-04-08 Pedro Alves <palves@redhat.com>
2490 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
2492 (main): Install it as SIGUSR1 handler.
2493 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
2494 parameter. Always use "setup" as prefix. Toggle "set
2495 displaced-stepping" off/on depending on global. Don't switch to
2497 (top level): Add displaced stepping "off/on" test axis. Update
2498 "setup" calls. Wrap each subtest with with_test_prefix. Test
2499 continuing with a queued signal in each thread.
2501 2015-04-08 Pedro Alves <palves@redhat.com>
2503 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
2504 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
2505 gdb_breakpoint instead of gdb_test that doesn't expect anything.
2506 Return early if running to main fails.
2507 * gdb.trace/while-stepping.exp: Likewise.
2509 2015-04-07 Pedro Alves <palves@redhat.com>
2511 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
2512 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
2513 interact with inferior program.
2515 2015-04-07 Pedro Alves <palves@redhat.com>
2517 * lib/gdb.exp (inferior_spawn_id): New global.
2518 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
2519 spawn id after processing the user code.
2520 (default_gdb_start): Set inferior_spawn_id.
2521 (send_inferior): New procedure.
2522 * lib/gdbserver-support.exp (gdbserver_start): Set
2524 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
2526 2015-04-07 Pedro Alves <palves@redhat.com>
2528 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
2529 * lib/gdbserver-support.exp (gdbserver_start): Make
2530 $server_spawn_id global.
2531 (gdbserver_start): Don't wait for gdbserver's spawn id with
2533 (close_gdbserver): New procedure.
2534 (gdb_exit): Rename the default version and reimplement.
2536 2015-04-07 Pedro Alves <palves@redhat.com>
2538 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
2539 append the substituted item, not the original item.
2541 2015-04-07 Pedro Alves <palves@redhat.com>
2543 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
2546 2015-04-07 Pedro Alves <palves@redhat.com>
2548 * gdb.base/interrupt.exp: Don't handle the case of the inferior
2549 output appearing once only.
2551 2015-04-07 Pedro Alves <palves@redhat.com>
2553 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
2554 that doesn't expect anything. Return early if running to main
2557 2015-04-07 Yao Qi <yao.qi@linaro.org>
2559 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
2560 (child_function): Call alarm.
2561 (main): Move call to alarm into the loop.
2562 * gdb.threads/non-stop-fair-events.exp: Build program with
2565 2015-04-06 Doug Evans <xdje42@gmail.com>
2567 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
2568 Fix dest parameter to board_info.
2569 (fpc_compile): Ditto.
2570 (gdb_compile_pascal): Rename dest arg to destfile.
2572 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
2574 * gdb.ada/funcall_ref.exp: New file.
2575 * gdb.ada/funcall_ref/foo.adb: New file.
2577 2015-04-02 Yao Qi <yao.qi@linaro.org>
2579 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
2582 2015-04-02 Gary Benson <gbenson@redhat.com>
2584 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
2586 2015-04-01 Sasha Smundak <asmundak@google.com>
2588 * gdb.python/py-unwind-maint.c: New file.
2589 * gdb.python/py-unwind-maint.exp: New test.
2590 * gdb.python/py-unwind-maint.py: New file.
2591 * gdb.python/py-unwind.c: New file.
2592 * gdb.python/py-unwind.exp: New test.
2593 * gdb.python/py-unwind.py: New test.
2595 2015-04-01 Pedro Alves <palves@redhat.com>
2597 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
2598 to fail instead of non-existent $test.
2600 2015-04-01 Pedro Alves <palves@redhat.com>
2602 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
2603 GDBFLAGS if not empty.
2605 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
2607 * gdb.ada/complete.exp: Remove "multi_line".
2608 * gdb.ada/info_exc.exp: Remove "multi_line".
2609 * gdb.ada/packed_tagged.exp: Remove "multi_line".
2610 * gdb.ada/ptype_field.exp: Remove "multi_line".
2611 * gdb.ada/sym_print_name.exp: Remove "multi_line".
2612 * gdb.ada/tagged.exp: Remove "multi_line".
2613 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
2615 * gdb.btrace/delta.exp: Likewise.
2616 * gdb.btrace/exception.exp: Likewise.
2617 * gdb.btrace/function_call_history.exp: Likewise.
2618 * gdb.btrace/instruction_history.exp: Likewise.
2619 * gdb.btrace/nohist.exp: Likewise.
2620 * gdb.btrace/record_goto.exp: Likewise.
2621 * gdb.btrace/segv.exp: Likewise.
2622 * gdb.btrace/stepi.exp: Likewise.
2623 * gdb.btrace/tailcall.exp: Likewise.
2624 * gdb.btrace/unknown_functions.exp: Likewise.
2625 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
2626 * lib/gdb.exp: Add the "multi_line" helper.
2628 2015-04-01 Pedro Alves <palves@redhat.com>
2630 * gdb.threads/tid-reuse.c: New file.
2631 * gdb.threads/tid-reuse.exp: New file.
2633 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
2636 * gdb.base/coredump-filter.c: New file.
2637 * gdb.base/coredump-filter.exp: Likewise.
2639 2015-03-27 Petr Machata <pmachata@redhat.com>
2641 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
2642 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
2643 (Dwarf::assemble): Initialize them.
2644 (Dwarf::lines): New function.
2646 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
2648 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
2649 SYMBOL_PREFIX for x86_64-*-cygwin.
2651 2015-03-26 Andy Wingo <wingo@igalia.com>
2654 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
2655 const_value but not a location.
2656 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
2657 location defined in non-main CUs are visible.
2659 2015-03-26 Yao Qi <yao.qi@linaro.org>
2662 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
2663 Add a line number entry for the same line.
2664 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
2665 Add a line number entry for the same line.
2667 2015-03-26 Yao Qi <yao.qi@linaro.org>
2669 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
2671 (func): Likewise. Add .Lfunc_1 label.
2673 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
2678 2015-03-26 Yao Qi <yao.qi@linaro.org>
2680 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
2681 Call gdb_compile instead to compile each .s files without debug
2684 2015-03-26 Yao Qi <yao.qi@linaro.org>
2686 * gdb.base/savedregs.exp (process_saved_regs): Make
2687 "Saved registers:" optional in the pattern.
2689 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
2691 * gdb.btrace/next.exp: Merged into step.exp.
2692 * gdb.btrace/finish.exp: Merged into step.exp.
2693 * gdb.btrace/nexti.exp: Merged into stepi.exp.
2694 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
2695 "record goto" and checking the exact replay position.
2696 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
2697 check for "Recording format" in "info record" output.
2698 * gdb.btrace/record_goto.exp: Choose test file based on target.
2699 * gdb.btrace/x86-record_goto.S: Renamed into ...
2700 * gdb.btrace/x86_64-record_goto.S: ... this.
2701 * gdb.btrace/i686-record_goto.S: New.
2702 * gdb.btrace/x86-tailcall.S: Renamed into ...
2703 * gdb.btrace/x86_64-tailcall.S: ... this.
2704 * gdb.btrace/i686-tailcall.S: New.
2705 * gdb.btrace/x86-tailcall.c: Renamed into ...
2706 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
2707 separate statements. Update test.
2708 * gdb.btrace/delta.exp: Use record_goto.c as test file.
2709 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
2710 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
2711 * gdb.btrace/tailcall.exp: Choose test file based on target.
2712 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
2714 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
2716 * gdb.btrace/exception.exp: Increase BTS buffer size.
2718 2015-03-24 Pedro Alves <palves@redhat.com>
2720 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
2722 2015-03-24 Pedro Alves <palves@redhat.com>
2724 * gdb.threads/schedlock.exp (test_step): No longer expect that
2725 "set scheduler-locking step" with "next" over a function call runs
2728 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2730 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
2732 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2734 PR breakpoints/16466
2735 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
2736 * gdb.mi/mi-pending.c (thread_func): New function.
2737 (int main): Add threading support required.
2738 * gdb.mi/mi-pending.exp: Add tests for this issue.
2739 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
2740 (pendfunc2): Remove stdio dependency.
2741 * gdb.mi/mi-pendshr2.c: New file.
2743 2015-03-23 Keith Seitz <keiths@redhat.com>
2745 * gdb.linespec/keywords.c: New file.
2746 * gdb.linespec/keywords.exp: New file.
2748 2015-03-23 Keith Seitz <keiths@redhat.com>
2751 * gdb.dwarf2/staticvirtual.exp: New test.
2753 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2755 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
2756 * README: Remove HP-UX and gdb.hp.
2758 * configure: Regenerate.
2759 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
2760 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
2761 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
2762 gdb.hp/gdb.defects/Makefile.
2763 * gdb.hp/Makefile.in: File deleted.
2764 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
2765 * gdb.hp/gdb.aCC/optimize.c: File deleted.
2766 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
2767 * gdb.hp/gdb.aCC/run.c: File deleted.
2768 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
2769 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
2770 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
2771 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
2772 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
2773 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
2774 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
2775 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
2776 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
2777 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
2778 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
2779 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
2780 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
2781 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
2782 * gdb.hp/gdb.base-hp/reg.s: File deleted.
2783 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
2784 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
2785 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
2786 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
2787 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
2788 * gdb.hp/gdb.compat/Makefile.in: File deleted.
2789 * gdb.hp/gdb.compat/average.c: File deleted.
2790 * gdb.hp/gdb.compat/sum.c: File deleted.
2791 * gdb.hp/gdb.compat/xdb.c: File deleted.
2792 * gdb.hp/gdb.compat/xdb0.c: File deleted.
2793 * gdb.hp/gdb.compat/xdb0.h: File deleted.
2794 * gdb.hp/gdb.compat/xdb1.c: File deleted.
2795 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
2796 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
2797 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
2798 * gdb.hp/gdb.defects/Makefile.in: File deleted.
2799 * gdb.hp/gdb.defects/bs14602.c: File deleted.
2800 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
2801 * gdb.hp/gdb.defects/solib-d.c: File deleted.
2802 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
2803 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
2804 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
2805 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
2806 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
2807 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
2808 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
2809 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
2810 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
2811 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
2812 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
2813 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
2814 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
2815 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
2816 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
2817 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
2818 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
2819 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
2820 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
2821 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
2822 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
2823 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
2824 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
2825 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
2826 * gdb.hp/tools/odump: File deleted.
2828 2015-03-19 Pedro Alves <palves@redhat.com>
2830 * gdb.threads/continue-pending-status.exp (saw_thread_2)
2831 (saw_thread_3): New globals.
2832 (top level): Increment them when an event for the corresponding
2834 (no thread starvation): New test.
2836 2015-03-19 Pedro Alves <palves@redhat.com>
2838 * gdb.threads/continue-pending-status.c: New file.
2839 * gdb.threads/continue-pending-status.exp: New file.
2841 2015-03-18 Pedro Alves <palves@redhat.com>
2843 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
2844 Use gdb_is_target_remote instead of is_remote. Use
2845 gdb_test_multiple instead of gdb_expect. Exit early if
2846 gdb_test_multiple hits its internal matches. Tighten stepi tests
2847 expected output. Fail on exit with any signal, instead of just
2850 2015-03-18 Yao Qi <yao.qi@linaro.org>
2853 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
2855 * gdb.base/catch-syscall.exp: Don't skip it on
2856 aarch64*-*-linux* target. Remove elements in all_syscalls.
2857 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
2859 (setup_all_syscalls): New proc.
2861 2015-03-16 Yao Qi <yao.qi@linaro.org>
2863 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
2864 (top level): Skip tests if valid_addr_p returns false for
2867 2015-03-11 Andy Wingo <wingo@igalia.com>
2869 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
2871 2015-03-11 Yao Qi <yao.qi@linaro.org>
2873 * gdb.base/catch-syscall.exp: Fix typo in comments.
2875 2015-03-11 Yao Qi <yao.qi@linaro.org>
2877 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
2879 2015-03-09 Pedro Alves <palves@redhat.com>
2881 * dg-extract-results.py: Delete.
2883 2015-03-09 Pedro Alves <palves@redhat.com>
2885 Merge dg-extract-results.sh from GCC upstream (r218843).
2887 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
2888 * dg-extract-results.sh: Use --text with grep to avoid issues with
2889 binary files. Fall back to cat -v, if that doesn't work.
2891 2015-03-05 Pedro Alves <palves@redhat.com>
2893 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
2895 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
2897 * lib/mi-support.exp (mi_expect_interrupt): Accept
2898 alternative event for when in all-stop mode.
2900 2015-03-04 Pedro Alves <palves@redhat.com>
2902 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
2904 2015-03-04 Mark Kettenis <kettenis@gnu.org>
2906 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
2908 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2910 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
2911 regexps for GDB's current line display, accept a hex address
2912 preceding the line number.
2914 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2916 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
2917 the 'arch1' variable for "s390*-linux*" targets.
2919 2015-03-04 Pedro Alves <palves@redhat.com>
2921 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
2922 (main): Pass missing retval argument to pthread_join call.
2924 2015-03-02 Pedro Alves <palves@redhat.com>
2926 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
2927 (top level): Call do_test with non-stop as well.
2929 2015-03-02 Pedro Alves <palves@redhat.com>
2931 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
2934 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
2936 * gdb.arch/s390-vregs.exp: New test.
2937 * gdb.arch/s390-vregs.S: New file.
2939 2015-02-27 Pedro Alves <palves@redhat.com>
2941 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
2942 call to catch_command_errors.
2943 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
2944 catch_command_errors.
2946 2015-02-27 Pedro Alves <palves@redhat.com>
2948 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
2949 "true" for boolean result.
2950 * gdb.gdb/selftest.exp (test_with_self): Also accept full
2953 2015-02-27 Pedro Alves <palves@redhat.com>
2955 * lib/unbuffer_output.c: New file.
2956 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
2957 (main): Call gdb_unbuffer_output.
2959 2015-02-27 Yao Qi <yao.qi@linaro.org>
2961 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
2964 2015-02-26 Doug Evans <dje@google.com>
2966 * gdb.cp/class2.cc (Dbase, D): New classes.
2967 (main): New local delta.
2968 * gdb.cp/class2.exp: Test printing delta.
2969 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
2970 (dynbar): New global.
2971 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
2973 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2975 * gdb.compile/compile-ifunc.c: New file.
2976 * gdb.compile/compile-ifunc.exp: New file.
2978 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
2980 * gdb.base/structs.exp: Check for correct struct on finish.
2982 2015-02-26 Yao Qi <yao.qi@linaro.org>
2984 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
2987 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2989 * gdb.arch/cordic.ko.bz2: New file.
2990 * gdb.arch/cordic.ko.debug.bz2: New file.
2991 * gdb.arch/ppc64-symtab-cordic.exp: New file.
2993 2015-02-25 Yao Qi <yao.qi@linaro.org>
2995 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
2996 aarch64*-*-* target.
2998 2015-02-23 Pedro Alves <palves@redhat.com>
3000 * lib/gdb.exp (delete_breakpoints): Rewrite using
3003 2015-02-23 Pedro Alves <palves@redhat.com>
3005 * gdb.base/info-os.c: Include stdlib.h.
3007 2015-02-22 Doug Evans <xdje42@gmail.com>
3010 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3011 is read after symbols have been re-read.
3012 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3013 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3015 2015-02-21 Doug Evans <dje@google.com>
3017 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3019 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3022 * gdb.arch/i386-biarch-core.core.bz2: New file.
3023 * gdb.arch/i386-biarch-core.exp: New file.
3025 2015-02-21 Pedro Alves <palves@redhat.com>
3027 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3030 2015-02-20 Pedro Alves <palves@redhat.com>
3032 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3035 2015-02-20 Pedro Alves <palves@redhat.com>
3037 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3039 2015-02-20 Pedro Alves <palves@redhat.com>
3041 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3042 clean_restart before gdb_target_supports_trace.
3044 2015-02-20 Pedro Alves <palves@redhat.com>
3047 * gdb.threads/clone-thread_db.c: New file.
3048 * gdb.threads/clone-thread_db.exp: New file.
3050 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3052 PR breakpoints/16812
3053 * gdb.base/catch-gdb-caused-signals.c: New file.
3054 * gdb.base/catch-gdb-caused-signals.exp: New file.
3056 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3058 * configure: Regenerated.
3059 * configure.ac: Use GDB_AC_TRANSFORM.
3060 * aclocal.m4: sinclude ../transform.m4.
3062 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3064 * lib/dtrace.exp: New file.
3065 * gdb.base/dtrace-probe.exp: Likewise.
3066 * gdb.base/dtrace-probe.d: Likewise.
3067 * gdb.base/dtrace-probe.c: Likewise.
3068 * lib/pdtrace.in: Likewise.
3069 * configure.ac: Output variables with the transformed names of
3070 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3071 * configure: Regenerated.
3073 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3075 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3076 expected message when trying to access $_probe_* convenience
3077 variables while not on a probe.
3079 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3081 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3083 2015-02-11 Pedro Alves <pedro@codesourcery.com>
3085 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3086 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3088 2015-02-10 Doug Evans <xdje42@gmail.com>
3090 * lib/gdb.exp (gdb_load): Always return a result.
3092 2015-02-10 Pedro Alves <palves@redhat.com>
3094 * gdb.threads/signal-sigtrap.c: New file.
3095 * gdb.threads/signal-sigtrap.exp: New file.
3097 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3099 * gdb.trace/no-attach-trace.c: New file.
3100 * gdb.trace/no-attach-trace.exp: New file.
3102 2015-02-09 Mark Wielaard <mjw@redhat.com>
3104 * gdb.dwarf2/atomic.c: New file.
3105 * gdb.dwarf2/atomic-type.exp: Likewise.
3107 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3109 * gdb.btrace/buffer-size.exp: Update "info record" output.
3110 * gdb.btrace/delta.exp: Update "info record" output.
3111 * gdb.btrace/enable.exp: Update "info record" output.
3112 * gdb.btrace/finish.exp: Update "info record" output.
3113 * gdb.btrace/instruction_history.exp: Update "info record" output.
3114 * gdb.btrace/next.exp: Update "info record" output.
3115 * gdb.btrace/nexti.exp: Update "info record" output.
3116 * gdb.btrace/step.exp: Update "info record" output.
3117 * gdb.btrace/stepi.exp: Update "info record" output.
3118 * gdb.btrace/nohist.exp: Update "info record" output.
3120 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3122 * gdb.btrace/buffer-size: New.
3124 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3126 * gdb.btrace/delta.exp: Update "info record" output.
3127 * gdb.btrace/enable.exp: Update "info record" output.
3128 * gdb.btrace/finish.exp: Update "info record" output.
3129 * gdb.btrace/instruction_history.exp: Update "info record" output.
3130 * gdb.btrace/next.exp: Update "info record" output.
3131 * gdb.btrace/nexti.exp: Update "info record" output.
3132 * gdb.btrace/step.exp: Update "info record" output.
3133 * gdb.btrace/stepi.exp: Update "info record" output.
3134 * gdb.btrace/nohist.exp: Update "info record" output.
3136 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
3139 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3141 2015-02-06 Pedro Alves <palves@redhat.com>
3143 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
3145 (seconds_left, again): New globals.
3146 (main): Wait seconds_left in a 1-second sleep loop instead of
3147 sleeping 180 seconds. If 'again' is set, reset the seconds
3149 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
3150 'again' in the inferior before detaching. Print the seconds left.
3151 (options): New global.
3152 (top level): Build program with -DTIMEOUT=$timeout.
3154 2015-02-06 Pedro Alves <palves@redhat.com>
3156 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
3157 determine how many seconds to pass to 'alarm'.
3158 * gdb.base/gdb-sigterm.exp (top level): Build program with
3160 (do_test): Return success/failure indication. Add more verbose
3161 logging. Don't fail if 200 single steps are seen. Instead, fail
3162 when the test times out.
3163 (passes): New global.
3164 (top level): Break the testing loop if testing fails on any
3165 iteration. Use gdb_assert.
3167 2015-02-04 Don Breazeal <donb@codesourcery.com>
3169 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
3170 and initialize them.
3171 (ipc_cleanup): New function.
3172 (main): Don't declare shmid, semid, and msqid. Add a call to
3173 atexit so that we call ipc_cleanup on exit.
3175 2015-02-04 Pedro Alves <palves@redhat.com>
3177 * boards/native-extended-gdbserver.exp: Remove any target variant
3178 specifications from the board name before clearing the isremote
3179 flag from board_info.
3181 2015-01-31 Doug Evans <xdje42@gmail.com>
3183 * gdb.base/maint.exp <maint print type argc>: Update expected output.
3185 2015-01-31 Gary Benson <gbenson@redhat.com>
3187 * gdb.base/completion.exp: Disable completion limiting for
3188 existing tests. Add new tests to check completion limiting.
3189 * gdb.linespec/ls-errs.exp: Disable completion limiting.
3191 2015-01-31 Doug Evans <xdje42@gmail.com>
3193 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
3195 2015-01-31 Doug Evans <xdje42@gmail.com>
3197 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
3198 entries. Duplicate file section script entries.
3199 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
3200 inlined entries. Add test for safe-path rejection.
3201 * gdb.python/py-section-script.c: Add duplicate inlined section script
3202 entries. Duplicate file section script entries.
3203 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
3204 inlined entries. Add test for safe-path rejection.
3206 2015-01-29 Joel Brobecker <brobecker@adacore.com>
3208 * gdb.ada/disc_arr_bound: New testcase.
3210 2015-01-29 Joel Brobecker <brobecker@adacore.com>
3212 * gdb.ada/mi_var_array: New testcase.
3214 2015-01-27 Doug Evans <dje@google.com>
3216 * gdb.python/py-objfile.exp: Add tests for objfile.username.
3217 Add test for objfile.filename, objfile.username after objfile
3220 2015-01-26 Joel Brobecker <brobecker@adacore.com>
3222 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
3223 the second test to print the name attribute of value
3224 returned by the call to gdb.lookup_type, and adjust
3225 the expected output accordingly.
3227 2015-01-25 Mark Wielaard <mjw@redhat.com>
3229 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
3230 * gdb.base/disp-step-fork.c: Include unistd.h.
3231 * gdb.base/siginfo-obj.c: Include stdio.h.
3232 * gdb.base/siginfo-thread.c: Likewise.
3233 * gdb.mi/non-stop.c: Include unistd.h.
3234 * gdb.mi/nsthrexec.c: Include stdio.h.
3235 * gdb.mi/pthreads.c: Include unistd.h.
3236 * gdb.modula2/unbounded1.c (main): Declare returns int.
3237 * gdb.reverse/consecutive-reverse.c: Likewise.
3238 * gdb.threads/create-fail.c: Include unistd.h.
3239 * gdb.threads/killed.c: Likewise.
3240 * gdb.threads/linux-dp.c: Likewise.
3241 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
3242 * gdb.threads/non-ldr-exc-2.c: Likewise.
3243 * gdb.threads/non-ldr-exc-3.c: Likewise.
3244 * gdb.threads/non-ldr-exc-4.c: Likewise.
3245 * gdb.threads/pthreads.c: Include unistd.h.
3246 (main): Declare returns int.
3247 * gdb.threads/tls-main.c (foo): New declaration.
3248 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
3250 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
3252 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
3253 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
3255 2015-01-15 Mark Wielaard <mjw@redhat.com>
3257 * gdb.base/noreturn-return.c: New file.
3258 * gdb.base/noreturn-return.exp: New file.
3259 * gdb.base/noreturn-finish.c: New file.
3260 * gdb.base/noreturn-finish.exp: New file.
3262 2015-01-23 Pedro Alves <palves@redhat.com>
3264 * gdb.threads/continue-pending-after-query.c: New file.
3265 * gdb.threads/continue-pending-after-query.exp: New file.
3267 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
3268 Simon Marchi <simon.marchi@ericsson.com>
3270 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
3271 * gdb.base/valgrind-db-attach.exp: Same.
3272 * gdb.base/valgrind-infcall.exp: Same.
3273 * lib/mi-support.exp (default_mi_gdb_start): Same.
3274 * lib/prompt.exp (default_prompt_gdb_start): Same.
3275 * lib/gdb.exp (default_gdb_spawn): Same.
3276 (gdb_interact): New.
3279 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3281 * gdb.compile/compile.exp (pointer to jit function): New test.
3283 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
3285 * lib/gdb.exp (supports_process_record): Return true for
3287 (supports_reverse): Likewise.
3289 2015-01-15 Don Breazeal <donb@codesourcery.com>
3291 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
3292 instead of checking whether the target board is remote and
3293 use spawn_wait_for_attach instead of exec/sleep.
3294 * gdb.base/attach-twice.exp: Likewise.
3296 2015-01-15 Joel Brobecker <brobecker@adacore.com>
3298 * gdb.ada/var_arr_attrs: New testcase.
3300 2015-01-14 Pedro Alves <palves@redhat.com>
3301 Joel Brobecker <brobecker@adacore.com>
3304 * gdb.base/bp-cmds-execution-x-script.c: New file.
3305 * gdb.base/bp-cmds-execution-x-script.exp: New file.
3306 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
3308 2015-01-14 Pedro Alves <palves@redhat.com>
3311 * gdb.base/batch-preserve-term-settings.c: New file.
3312 * gdb.base/batch-preserve-term-settings.exp: New file.
3314 2015-01-13 Doug Evans <dje@google.com>
3316 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
3319 2015-01-13 Joel Brobecker <brobecker@adacore.com>
3321 * Makefile.in (clean mostlyclean): Do not delete *.py.
3323 2015-01-13 Joel Brobecker <brobecker@adacore.com>
3325 * gdb.python/py-lookup-type.exp: New file.
3327 2015-01-12 Pedro Alves <palves@redhat.com>
3329 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
3330 restore GDBFLAGS before returning.
3332 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3334 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
3335 is_amd64_regs_target and is_x86_like_target.
3337 2015-01-11 Doug Evans <xdje42@gmail.com>
3339 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
3340 is given without an explicit form.
3341 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
3343 * gdb.dwarf/corrupt.exp: Ditto.
3344 * gdb.dwarf2/enum-type.exp: Ditto.
3345 * gdb.trace/entry-values.exp: Ditto.
3346 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
3348 2015-01-11 Doug Evans <xdje42@gmail.com>
3351 * gdb.base/maint.exp: Remove references to "maint demangle".
3352 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
3353 Add tests for explicitly specifying language to demangle.
3354 * gdb.dlang/demangle.exp: Ditto.
3356 2015-01-09 Pedro Alves <palves@redhat.com>
3358 * gdb.threads/non-stop-fair-events.c: New file.
3359 * gdb.threads/non-stop-fair-events.exp: New file.
3361 2015-01-09 Pedro Alves <palves@redhat.com>
3363 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
3364 the global scope. Set a breakpoint after all threads are started
3365 rather than stepping over two source lines. Expect the prompt.
3366 * gdb.base/watch_thread_num.c (threads_started_barrier): New
3369 (main): Use threads_started_barrier to wait for all threads to
3370 start. Main thread no longer calls thread_function. Exit after
3372 (loop): New function.
3373 (thread_function): Wait on threads_started_barrier barrier. Call
3374 'loop' at each iteration.
3375 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
3376 threads have started, instead of hardcoding number of "next"
3377 steps. Use an access watchpoint instead of a write watchpoint.
3379 2015-01-09 Pedro Alves <palves@redhat.com>
3381 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
3382 (thread_func): Wait on barrier.
3383 (main): Wait for all threads to start before stopping GDB.
3384 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
3386 (thread1_func, thread2_func): Wait on barrier.
3387 (main): Wait for all threads to start before stopping GDB.
3388 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
3390 (thread1_func, thread2_func): Wait on barrier.
3391 (main): Wait for all threads to start before stopping GDB.
3393 2015-01-09 Pedro Alves <palves@redhat.com>
3395 * gdb.threads/attach-many-short-lived-threads.c: New file.
3396 * gdb.threads/attach-many-short-lived-threads.exp: New file.
3398 2014-01-09 Pedro Alves <palves@redhat.com>
3400 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
3401 instead of to thread 2.
3402 * gdb.threads/signal-command-multiple-signals-pending.c (main):
3403 Add barrier around each pthread_create call instead of around all
3405 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
3406 Set a break on thread_function and have the child threads hit it
3409 2015-01-09 Pedro Alves <palves@redhat.com>
3411 * lib/gdb.exp (can_spawn_for_attach): New procedure.
3412 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
3414 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
3415 checking whether the target board is remote.
3416 * gdb.multi/multi-attach.exp: Likewise.
3417 * gdb.python/py-sync-interp.exp: Likewise.
3418 * gdb.server/ext-attach.exp: Likewise.
3419 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
3420 tests that need to attach, instead of checking whether the target
3421 board is remote at the top of the file.
3423 2015-01-08 Yao Qi <yao@codesourcery.com>
3425 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
3427 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3429 Fix testcase compilation.
3430 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
3432 2015-01-06 Joel Brobecker <brobecker@adacore.com>
3434 * gdb.python/py-type.exp: Add a couple test about empty
3435 array creation, and negative-length array creation.
3437 2015-01-02 Doug Evans <xdje42@gmail.com>
3439 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
3441 2015-01-02 Doug Evans <dje@google.com>
3443 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
3445 2014-12-29 Yao Qi <yao@codesourcery.com>
3447 * gdb.trace/entry-values.exp: Update comments. Rename variable
3448 bar_call_foo to returned_from_foo.
3450 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
3453 * gdb.linespec/break-asm-file.c: New file.
3454 * gdb.linespec/break-asm-file.exp: New file.
3455 * gdb.linespec/break-asm-file0.s: New file.
3456 * gdb.linespec/break-asm-file1.s: New file.
3458 2014-12-18 Nigel Stephens <nigel@mips.com>
3459 Maciej W. Rozycki <macro@codesourcery.com>
3461 * gdb.base/float.exp: Handle the new output from "info float" on
3464 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3466 Fix MinGW compilation.
3467 * gdb.compile/compile-ops.exp: Update untested message if
3468 !skip_compile_feature_tests.
3469 * gdb.compile/compile-setjmp.exp: Likewise.
3470 * gdb.compile/compile-tls.exp: Likewise.
3471 * gdb.compile/compile.exp: Likewise.
3472 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
3473 supported on this host".
3475 2014-12-16 Doug Evans <xdje42@gmail.com>
3477 * boards/stabs.exp: New file.
3479 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
3481 * gdb.base/completion.exp: Adjust to format changes of "maint
3482 print user-registers".
3484 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
3487 * gdb.arch/aarch64-fp.c: New file.
3488 * gdb.arch/aarch64-fp.exp: New file.
3490 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
3492 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
3493 r210637, r210913, r211666, r215400, r215817).
3495 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
3496 * dg-extract-results.py: New file.
3497 * dg-extract-results.sh: Use it if the environment seems
3500 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
3502 * dg-extract-results.py (parse_run): Handle warnings that
3503 are printed before a test harness is run.
3505 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
3507 * dg-extract-results.py (Named): Remove __cmp__ method.
3508 (output_variation): Use a key to sort variation.harnesses.
3510 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
3512 * dg-extract-results.py: For Python 3, force sys.stdout to
3513 handle surrogate escape sequences.
3514 (safe_open): New function.
3515 (output_segment, main): Use it.
3517 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
3519 * dg-extract-results.py (Prog.result_re): Include options
3522 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
3524 * dg-extract-results.py (output_variation): Always sort if
3527 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
3529 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
3530 as long as we get pagination notifications.
3532 2014-12-15 Jason Merrill <jason@redhat.com>
3534 * Makefile.in (check-gdb.%): Restore.
3535 * README: Mention it.
3537 2014-12-13 Joel Brobecker <brobecker@adacore.com>
3539 * gdb.ada/str_uninit: New testcase.
3541 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3544 * gdb.base/vla-stub-define.c: New file.
3545 * gdb.base/vla-stub.c: New file.
3546 * gdb.base/vla-stub.exp: New file.
3548 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
3549 Jan Kratochvil <jan.kratochvil@redhat.com>
3550 Tom Tromey <tromey@redhat.com>
3552 * configure.ac: Add gdb.compile/.
3553 * configure: Regenerate.
3554 * gdb.compile/Makefile.in: New file.
3555 * gdb.compile/compile-ops.exp: New file.
3556 * gdb.compile/compile-ops.c: New file.
3557 * gdb.compile/compile-tls.c: New file.
3558 * gdb.compile/compile-tls.exp: New file.
3559 * gdb.compile/compile-constvar.S: New file.
3560 * gdb.compile/compile-constvar.c: New file.
3561 * gdb.compile/compile-mod.c: New file.
3562 * gdb.compile/compile-nodebug.c: New file.
3563 * gdb.compile/compile-setjmp-mod.c: New file.
3564 * gdb.compile/compile-setjmp.c: New file.
3565 * gdb.compile/compile-setjmp.exp: New file.
3566 * gdb.compile/compile-shlib.c: New file.
3567 * gdb.compile/compile.c: New file.
3568 * gdb.compile/compile.exp: New file.
3569 * lib/gdb.exp (skip_compile_feature_tests): New proc.
3571 2014-12-12 Tom Tromey <tromey@redhat.com>
3573 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
3574 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
3576 2014-12-12 Doug Evans <dje@google.com>
3578 * lib/gdb-python.exp (get_python_valueof): New function.
3579 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
3581 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3583 * gdb.base/completion.exp: Add test for completion of "info
3586 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
3588 * gdb.base/func-ptrs.c: New file.
3589 * gdb.base/func-ptrs.exp: New file.
3591 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
3593 PR breakpoints/17012
3594 * gdb.base/dprintf-detach.c: New file.
3595 * gdb.base/dprintf-detach.exp: New file.
3597 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
3599 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
3600 * lib/gdb.exp (target_is_gdbserver): New procedure.
3602 2014-12-08 Doug Evans <dje@google.com>
3604 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
3606 2014-12-05 Yao Qi <yao@codesourcery.com>
3608 * gdb.guile/scm-error.exp: Remove the third argument to
3609 gdb_remote_download.
3610 * gdb.guile/scm-frame-args.exp: Likewise.
3611 * gdb.guile/scm-section-script.exp: Likewise.
3613 2014-12-05 Yao Qi <yao@codesourcery.com>
3615 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
3617 2014-12-04 Doug Evans <dje@google.com>
3619 * gdb.python/py-objfile.exp: Add tests for
3620 objfile.add_separate_debug_file.
3622 2014-12-04 Doug Evans <dje@google.com>
3624 * lib/gdb.exp (get_build_id): New function.
3625 (build_id_debug_filename_get): Rewrite to use it.
3626 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
3628 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
3630 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
3631 `method(long)', not just 0x0.
3632 * gdb.cp/nsalias.exp: Align code labels to 4.
3633 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
3634 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
3635 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
3636 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
3637 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
3638 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
3640 2014-12-02 Doug Evans <dje@google.com>
3643 * gdb.cp/anon-ns.cc: Move guts of this file to ...
3644 * gdb.cp/anon-ns2.cc: ... here. New file.
3645 * gdb.cp/anon-ns.exp: Update.
3647 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
3649 * gdb.python/py-events.py (inferior_call_handler): New.
3650 (register_changed_handler, memory_changed_handler): New.
3651 (test_events.invoke): Register new handlers.
3652 * gdb.python/py-events.exp: Add tests for inferior call,
3653 memory_changed and register_changed events.
3655 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3657 * gdb.base/execl-update-breakpoints.exp: Specify the link address
3658 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
3659 if the linker doesn't understand this.
3661 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
3663 * gdb.python/python.exp: Change expected reply to help().
3665 2014-12-01 Yao Qi <yao@codesourcery.com>
3667 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
3668 AC_CONFIG_SUBDIRS(gdb.gdbtk).
3669 * configure: Re-generated.
3671 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
3673 * gdb.cp/chained-calls.cc: New file.
3674 * gdb.cp/chained-calls.exp: New file.
3675 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
3677 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
3679 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
3680 * gdb.dwarf2/symtab-producer.exp: Same.
3681 * gdb.gdb/python-interrupts.exp: Same.
3682 * gdb.gdb/python-selftest.exp: Same.
3683 * gdb.python/py-linetable.exp: Same.
3684 * gdb.python/py-type.exp: Same.
3685 * gdb.python/py-value-cc.exp: Same.
3686 * gdb.python/py-value.exp: Same.
3688 2014-11-28 Yao Qi <yao@codesourcery.com>
3690 * gdb.base/break-probes.exp: Match library name prefixed with
3693 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
3695 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
3696 test expected output. Add parentheses for the call to print.
3697 Remove L suffix from integers.
3699 2014-11-26 Doug Evans <dje@google.com>
3701 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
3703 2014-11-22 Yao Qi <yao@codesourcery.com>
3705 * gdb.trace/entry-values.c: Remove asms.
3706 (foo): Add foo_label.
3707 (bar): Add bar_label.
3708 * gdb.trace/entry-values.exp: Remove code computing foo's
3709 length and bar's length.
3710 (Dwarf::assemble): Invoke function_range for bar and use
3711 MACRO_AT_func for foo.
3713 2014-11-22 Yao Qi <yao@codesourcery.com>
3715 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
3716 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
3717 Use .Lgcc43_procstart instead of gcc43.
3719 2014-11-21 Joel Brobecker <brobecker@adacore.com>
3721 * gdb.ada/n_arr_bound: New testcase.
3723 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
3725 PR breakpoints/10737
3726 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
3727 test_catch_syscall_multi_arch.
3728 (test_catch_syscall_multi_arch): New function.
3730 2014-11-20 Doug Evans <xdje42@gmail.com>
3732 * gdb.base/maint.exp: Update expected output.
3734 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3736 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
3737 4-byte instruction on S390.
3739 2014-11-19 Joel Brobecker <brobecker@adacore.com>
3741 * gdb.ada/arr_arr: New testcase.
3743 2014-11-19 Joel Brobecker <brobecker@adacore.com>
3745 * gdb.ada/pkd_arr_elem: New Testcase.
3747 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
3749 * gdb.reverse/break-precsave: Expect completion message for
3751 * gdb.reverse/consecutive-precsave.exp: Likewise.
3752 * gdb.reverse/finish-precsave.exp: Likewise.
3753 * gdb.reverse/i386-precsave.exp: Likewise.
3754 * gdb.reverse/machinestate-precsave.exp: Likewise.
3755 * gdb.reverse/sigall-precsave.exp: Likewise.
3756 * gdb.reverse/solib-precsave.exp: Likewise.
3757 * gdb.reverse/step-precsave.exp: Likewise.
3758 * gdb.reverse/until-precsave.exp: Likewise.
3759 * gdb.reverse/watch-precsave.exp: Likewise.
3761 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3763 * gdb.base/bp-permanent.c: Include unistd.h.
3764 * gdb.python/py-framefilter-mi.c (main): Add return type.
3765 * gdb.python/py-framefilter.c (main): Likewise.
3766 * gdb.trace/actions-changed.c (main): Likewise.
3768 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3770 * gdb.mi/until.c: Add eye-catchers.
3771 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
3774 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3776 * gdb.base/condbreak.exp: Drop references to removed non-prototype
3777 function header variants in break1.c.
3778 * gdb.base/ena-dis-br.exp: Likewise.
3779 * gdb.base/hbreak2.exp: Likewise.
3780 * gdb.reverse/until-precsave.exp: Drop references to removed
3781 non-prototype function header variants in ur1.c.
3782 * gdb.reverse/until-reverse.exp: Likewise.
3784 2014-11-17 Petr Machata <pmachata@redhat.com>
3786 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
3787 ${_cu_offset_size} bytes abbrev offset.
3789 2014-11-15 Doug Evans <xdje42@gmail.com>
3792 * gdb.base/line-symtabs.exp: New file.
3793 * gdb.base/line-symtabs.c: New file.
3794 * gdb.base/line-symtabs.h: New file.
3796 2014-11-14 Yao Qi <yao@codesourcery.com>
3798 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
3799 (func): Add label func_label.
3800 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
3801 Replace low_pc and high_pc with MACRO_AT_range.
3802 Replace name, low_pc and high_pc with MACRO_AT_func.
3804 2014-11-14 Yao Qi <yao@codesourcery.com>
3806 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
3807 Replace name, low_pc and high_pc with MACRO_AT_func.
3809 2014-11-14 Yao Qi <yao@codesourcery.com>
3811 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
3812 produce debug information.
3813 * gdb.dwarf2/implptr-optimized-out.S: Removed.
3815 2014-11-14 Yao Qi <yao@codesourcery.com>
3817 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
3818 object and get function length.
3819 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
3821 (top-level): Replace gdb_compile and clean_restart with
3822 prepare_for_testing.
3823 * gdb.dwarf2/main.c (main): Add label main_label.
3825 2014-11-14 Yao Qi <yao@codesourcery.com>
3827 * lib/dwarf.exp (function_range): New procedure.
3828 (Dwarf::_handle_macro_at_func): New procedure.
3829 (Dwarf::_handle_macro_at_range): New procedure.
3830 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
3832 2014-11-14 Yao Qi <yao@codesourcery.com>
3834 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
3835 (_handle_attribute): New procedure.
3837 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3839 * gdb.ada/cond_lang/foo.c (callme): Add return type.
3840 * gdb.base/call-sc.c (zed): Likewise.
3841 * gdb.base/checkpoint.c (main): Likewise.
3842 * gdb.base/dump.c (main): Likewise.
3843 * gdb.base/gcore.c (main): Likewise.
3844 * gdb.base/huge.c (main): Likewise.
3845 * gdb.base/multi-forks.c (main): Likewise.
3846 * gdb.base/pr10179-a.c (main): Likewise.
3847 * gdb.base/savedregs.c (main): Likewise.
3848 * gdb.base/sigaltstack.c (main): Likewise.
3849 * gdb.base/siginfo.c (main): Likewise.
3850 * gdb.base/structs.c (zed): Likewise.
3851 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
3852 * gdb.mi/mi-syn-frame.c (main): Likewise.
3853 * gdb.mi/until.c (foo, main): Likewise.
3854 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
3855 * gdb.base/solib-weak.c (foo): Declare.
3856 * gdb.base/attach-twice.c: Include stdio.h.
3857 * gdb.base/weaklib1.c: Likewise.
3858 * gdb.base/weaklib2.c: Likewise.
3859 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
3860 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
3862 * gdb.base/attach-pie-misread.c: Include stdlib.h.
3863 * gdb.mi/mi-exit-code.c: Likewise.
3864 * gdb.base/break-interp-lib.c: Include string.h.
3865 * gdb.base/coremaker.c: Likewise.
3866 * gdb.base/testenv.c: Likewise.
3867 * gdb.python/py-finish-breakpoint.c: Likewise.
3868 * gdb.base/inferior-died.c: Include sys/wait.h.
3869 * gdb.base/fileio.c: Include time.h.
3870 * gdb.base/async-shell.c: Include unistd.h.
3871 * gdb.base/dprintf-non-stop.c: Likewise.
3872 * gdb.base/info-os.c: Likewise.
3873 * gdb.mi/mi-console.c: Likewise.
3874 * gdb.mi/watch-nonstop.c: Likewise.
3875 * gdb.python/py-events.c: Likewise.
3876 * gdb.base/async.c (baz): Move up before its invocation.
3877 * gdb.base/code_elim2.c (my_global_func): Likewise.
3878 * gdb.base/skip-solib-lib.c (multiply): Likewise.
3879 * gdb.base/advance.c (func2): Likewise.
3881 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3883 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
3885 * gdb.base/annota3.c: Likewise.
3886 * gdb.base/async.c: Likewise.
3887 * gdb.base/average.c: Likewise.
3888 * gdb.base/call-ar-st.c: Likewise.
3889 * gdb.base/call-rt-st.c: Likewise.
3890 * gdb.base/call-sc.c: Likewise.
3891 * gdb.base/call-strs.c: Likewise.
3892 * gdb.base/ending-run.c: Likewise.
3893 * gdb.base/execd-prog.c: Likewise.
3894 * gdb.base/exprs.c: Likewise.
3895 * gdb.base/foll-exec.c: Likewise.
3896 * gdb.base/foll-fork.c: Likewise.
3897 * gdb.base/foll-vfork.c: Likewise.
3898 * gdb.base/funcargs.c: Likewise.
3899 * gdb.base/gcore.c: Likewise.
3900 * gdb.base/jump.c: Likewise.
3901 * gdb.base/langs0.c: Likewise.
3902 * gdb.base/langs1.c: Likewise.
3903 * gdb.base/langs2.c: Likewise.
3904 * gdb.base/mips_pro.c: Likewise.
3905 * gdb.base/nodebug.c: Likewise.
3906 * gdb.base/opaque0.c: Likewise.
3907 * gdb.base/opaque1.c: Likewise.
3908 * gdb.base/recurse.c: Likewise.
3909 * gdb.base/run.c: Likewise.
3910 * gdb.base/scope0.c: Likewise.
3911 * gdb.base/scope1.c: Likewise.
3912 * gdb.base/setshow.c: Likewise.
3913 * gdb.base/setvar.c: Likewise.
3914 * gdb.base/shmain.c: Likewise.
3915 * gdb.base/shr1.c: Likewise.
3916 * gdb.base/shr2.c: Likewise.
3917 * gdb.base/sigall.c: Likewise.
3918 * gdb.base/signals.c: Likewise.
3919 * gdb.base/so-indr-cl.c: Likewise.
3920 * gdb.base/solib2.c: Likewise.
3921 * gdb.base/structs.c: Likewise.
3922 * gdb.base/sum.c: Likewise.
3923 * gdb.base/vforked-prog.c: Likewise.
3924 * gdb.base/watchpoint.c: Likewise.
3925 * gdb.reverse/shr2.c: Likewise.
3926 * gdb.reverse/until-reverse.c: Likewise.
3927 * gdb.reverse/ur1.c: Likewise.
3928 * gdb.reverse/watch-reverse.c: Likewise.
3930 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3932 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
3934 * gdb.base/sepdebug.exp: Drop references to removed code.
3936 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3938 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
3939 variant. Preserve original line numbering.
3940 * gdb.base/list1.c: Likewise.
3942 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3944 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
3946 * gdb.base/break1.c: Likewise.
3947 * gdb.base/break.exp: Drop references to removed code.
3949 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3951 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
3954 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3956 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
3958 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3960 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
3961 logic into perform_all_tests() and invoke it with and without
3962 function header prototypes.
3963 (do_function_calls): Remove conditional XFAIL for PR 5318.
3964 (rerun_and_prepare): Remove duplicate code.
3965 (perform_all_tests): New. Main logic moved here.
3967 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3969 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
3970 code guarded by #ifdef NO_PROTOTYPES.
3971 (t_double_many_args): Likewise.
3972 (DEF_FUNC_MANY_ARGS_1): Likewise.
3973 (DEF_FUNC_VALUES_1): Likewise.
3974 (t_structs_ldc): Renamed from t_structs_fc in conditional code
3975 guarded by #ifdef PROTOTYPES.
3977 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3979 * gdb.mi/mi-console.c: Add eye-catcher.
3980 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
3981 instead of literal line number.
3983 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3985 * gdb.base/shr2.c: Add eye-catcher.
3986 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
3989 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3991 * gdb.base/jump.c: Add eye-catchers.
3992 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
3995 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3997 * gdb.base/execd-prog.c: Add eye-catchers.
3998 * gdb.base/foll-exec.c: Likewise.
3999 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4002 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4004 * gdb.base/ending-run.c: Add eye-catchers.
4005 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4006 literal line numbers.
4008 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4010 * gdb.base/call-rt-st.c: Add eye-catchers.
4011 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4012 literal line numbers.
4014 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4016 * gdb.base/call-ar-st.c: Add eye-catchers.
4017 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4018 literal line numbers.
4020 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4022 * gdb.base/average.c: Add eye-catchers.
4023 * gdb.base/sum.c: Likewise.
4024 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4025 regexps dynamically.
4027 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4029 * gdb.base/solib1.c: Add eye-catchers.
4030 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4031 literal line numbers.
4033 2014-11-12 Pedro Alves <palves@redhat.com>
4035 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4038 2014-11-12 Pedro Alves <palves@redhat.com>
4040 * gdb.arch/i386-bp_permanent.c: New file.
4041 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4042 (srcfile): Set to i386-bp_permanent.c.
4043 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4044 that stepi does not execute the 'leave' instruction, instead of
4045 testing it does execute.
4046 * gdb.base/bp-permanent.c: New file.
4047 * gdb.base/bp-permanent.exp: New file.
4049 2014-11-10 Doug Evans <xdje42@gmail.com>
4052 * gdb.base/symtab-search-order.exp: New file.
4053 * gdb.base/symtab-search-order.c: New file.
4054 * gdb.base/symtab-search-order-1.c: New file.
4055 * gdb.base/symtab-search-order-shlib-1.c: New file.
4057 2014-11-07 Pedro Alves <palves@redhat.com>
4060 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4063 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4066 * gdb.cp/pr17494.cc: New file.
4067 * gdb.cp/pr17494.exp: New file.
4069 2014-11-02 Yao Qi <yao@codesourcery.com>
4071 * gdb.python/python.exp: Get working directory and match the
4072 output of "set extended-prompt \\w " with it.
4074 2014-10-30 Doug Evans <dje@google.com>
4076 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4078 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4081 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
4083 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4084 * gdb.base/realname-expand.exp: Likewise.
4085 * gdb.linespec/macro-relative.exp: Likewise.
4087 2014-10-29 Pedro Alves <palves@redhat.com>
4090 * gdb.threads/schedlock.c (some_function): New function.
4091 (call_function): New global.
4092 (MAYBE_CALL_SOME_FUNCTION): New macro.
4093 (thread_function): Call it.
4094 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4095 and use it instead of a global counter. Adjust all callers.
4096 (get_current_thread): Use "find current thread" for test message
4097 here rather than having all callers pass down the same string.
4098 (goto_loop): New procedure, factored out from ...
4099 (my_continue): ... this.
4100 (step_ten_loops): Change parameter from test message to command to
4102 (list_count): Delete global.
4103 (check_result): New procedure, factored out from duplicate top
4105 (continue tests): Wrap in with_test_prefix.
4106 (test_step): New procedure, factored out from duplicate top level
4108 (top level): Test "step" in combination with all scheduler-locking
4109 modes. Test "next" in combination with all scheduler-locking
4110 modes, and in combination with stepping over a function call or
4112 * gdb.threads/next-bp-other-thread.c: New file.
4113 * gdb.threads/next-bp-other-thread.exp: New file.
4115 2014-10-29 Pedro Alves <palves@redhat.com>
4118 * gdb.python/python.exp: Test a multi-line command that spawns
4120 * gdb.base/multi-line-starts-subshell.exp: New file.
4122 2014-10-29 Yao Qi <yao@codesourcery.com>
4124 * gdb.base/fileio.exp: Make directories on host.
4126 2014-10-29 Yao Qi <yao@codesourcery.com>
4128 * gdb.base/fileio.c (test_write): Close the file.
4130 2014-10-28 Pedro Alves <palves@redhat.com>
4133 * gdb.base/sigstep.c (no_handler): New global.
4134 (main): If 'no_handler is true, set the signal handlers to
4136 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4137 with_sw_watch and no_handler parameters. Handle them.
4138 (top level) <stepping over handler when stopped at a breakpoint
4139 test>: Add a test axis for testing with a software watchpoint, and
4140 another for testing with the signal handler set to SIG_IGN.
4141 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4142 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
4144 2014-10-28 Pedro Alves <palves@redhat.com>
4147 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
4148 * gdb.base/sigstep.exp (other_handler_location): New global.
4149 (advance): Support stepping into the signal handler, and running
4150 commands while in the handler.
4151 (in_handler_map): New global.
4152 (top level): In the advance test, add combinations for getting
4153 into the handler with stepping commands, and for running commands
4154 in the handler. Add comment descripting the advancei tests.
4156 2014-10-28 Pedro Alves <palves@redhat.com>
4158 * gdb.base/sigstep.exp: Use build_executable instead of
4159 prepare_for_testing.
4160 (top level): Move code that starts GDB, runs to main and creates a
4162 (restart): ... this new procedure.
4163 (top level): Move backtrace from signal handler test to ...
4164 (validate_backtrace): ... this new procedure.
4165 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
4166 with_test_prefix. Always restart GDB.
4167 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
4168 with_test_prefix. Always restart GDB. No need to delete
4169 breakpoints after the test.
4170 (test_skip_handler): Remove prefix parameter.
4171 (skip_over_handler, breakpoint_to_handler)
4172 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
4173 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
4174 restart GDB. No need to delete breakpoints after the test.
4175 (top level): Use foreach to call the test procedures with
4178 2014-10-28 Pedro Alves <palves@redhat.com>
4180 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
4181 instead of GNATS numbers.
4182 * gdb.base/sigbpt.exp: Likewise.
4183 * gdb.base/siginfo.exp: Likewise.
4184 * gdb.base/sigstep.exp: Likewise.
4186 2014-10-27 Pedro Alves <palves@redhat.com>
4188 * gdb.base/sigstep.c (dummy): New global.
4189 (main): Issue a couple writes to the new global.
4190 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
4192 (skip_over_handler): Use test_skip_handler.
4193 (top level): Call skip_over_handler for stepi and nexti too.
4194 (breakpoint_over_handler): Use test_skip_handler.
4195 (top level): Call breakpoint_over_handler for stepi and nexti too.
4197 2014-10-27 Yao Qi <yao@codesourcery.com>
4199 * gdb.trace/tfile.c (adjust_function_address)
4200 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
4201 function descriptor.
4203 2014-10-24 Don Breazeal <donb@codesourcery.com>
4205 * gdb.base/foll-fork.exp (test_follow_fork,
4206 catch_fork_child_follow): Check for updated fork messages emitted
4208 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
4209 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
4210 vfork_and_exec_child_follow_through_step): Check for updated vfork
4211 messages emitted from infrun.c.
4213 2014-10-24 Pedro Alves <palves@redhat.com>
4215 * gdb.base/corefile.exp: Remove references to ultrix.
4216 * gdb.base/interrupt.exp: Likewise.
4217 * gdb.base/whatis.exp: Likewise.
4218 * gdb.gdb/selftest.exp: Likewise.
4219 * gdb.threads/manythreads.exp: Likewise.
4220 * gdb.threads/print-threads.exp: Likewise.
4221 * gdb.threads/pthreads.exp:: Likewise.
4222 * gdb.threads/schedlock.exp: Likewise.
4224 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
4226 * gdb.cp/non-trivial-retval.cc: Add a test case.
4227 * gdb.cp/non-trivial-retval.exp: Add a test.
4229 2014-10-20 Yao Qi <yao@codesourcery.com>
4231 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
4232 * gdb.python/py-objfile-script-gdb.py: New file.
4233 * gdb.python/py-objfile-script.exp: Update reference to
4234 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
4235 of remote_download. Remove the dest file.
4237 2014-10-20 Yao Qi <yao@codesourcery.com>
4239 * gdb.base/checkpoint.exp: Don't remove file copied on host.
4240 * gdb.base/step-line.exp: Likewise.
4241 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4242 * gdb.dwarf2/dw2-basic.exp: Likewise.
4243 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4244 * gdb.dwarf2/dw2-filename.exp: Likewise.
4245 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4246 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4247 * gdb.dwarf2/dw2-producer.exp: Likewise.
4248 * gdb.dwarf2/mac-fileno.exp: Likewise.
4249 * gdb.python/py-frame-args.exp: Likewise.
4250 * gdb.python/py-framefilter.exp: Likewise.
4251 * gdb.python/py-mi.exp: Likewise.
4252 * gdb.python/py-objfile-script.exp: Likewise
4253 * gdb.python/py-pp-integral.exp: Likewise.
4254 * gdb.python/py-pp-re-notag.exp: Likewise.
4255 * gdb.python/py-prettyprint.exp: Likewise.
4256 * gdb.python/py-section-script.exp: Likewise.
4257 * gdb.python/py-typeprint.exp: Likewise.
4258 * gdb.python/py-xmethods.exp: Likewise.
4259 * gdb.stabs/weird.exp: Likewise.
4260 * gdb.xml/tdesc-regs.exp: Likewise.
4262 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
4264 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
4265 (out_cu): Use addr_len for the size of addresses.
4266 (out_line): Likewise. Size DW_LNE_set_address instruction
4267 according to addr_len.
4268 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
4269 (FUNC): Add START_INSNS to definition.
4271 2014-10-18 Yao Qi <yao@codesourcery.com>
4273 * gdb.base/argv0-symlink.exp: Check argv[0] value if
4274 gdb_has_argv0 return true.
4275 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
4276 check [target_info exists noargs], check [gdb_has_argv0]
4278 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4279 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
4282 2014-10-17 Doug Evans <dje@google.com>
4284 * gdb.python/py-events.exp: Update expected output for clear_objfiles
4286 * gdb.python/py-events.py: Add clear_objfiles event.
4288 2014-10-17 Doug Evans <dje@google.com>
4290 * gdb.python/py-objfile.exp: Test progspace attribute.
4292 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
4294 * gdb.guile/scm-breakpoint.exp: Do not assume any
4295 directory separators when matching source file paths.
4296 * gdb.python/py-breakpoint.exp: Likewise.
4297 * gdb.reverse/break-precsave.exp: Likewise.
4298 * gdb.reverse/break-reverse.exp: Likewise.
4299 * gdb.reverse/consecutive-precsave.exp: Likewise.
4300 * gdb.reverse/finish-precsave.exp: Likewise.
4301 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
4302 * gdb.reverse/finish-reverse.exp: Likewise.
4303 * gdb.reverse/i386-precsave.exp: Likewise.
4304 * gdb.reverse/i387-env-reverse.exp: Likewise.
4305 * gdb.reverse/i387-stack-reverse.exp: Likewise.
4306 * gdb.reverse/machinestate-precsave.exp: Likewise.
4307 * gdb.reverse/machinestate.exp: Likewise.
4308 * gdb.reverse/sigall-precsave.exp: Likewise.
4309 * gdb.reverse/solib-precsave.exp: Likewise.
4310 * gdb.reverse/step-precsave.exp: Likewise.
4311 * gdb.reverse/until-precsave.exp: Likewise.
4312 * gdb.reverse/watch-precsave.exp: Likewise.
4313 * gdb.reverse/watch-reverse.exp: Likewise.
4315 2014-10-17 Yao Qi <yao@codesourcery.com>
4317 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
4318 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
4320 2014-10-17 Pedro Alves <palves@redhat.com>
4323 * gdb.base/bg-execution-repeat.c: New file.
4324 * gdb.base/bg-execution-repeat.exp: New file.
4326 2014-10-17 Pedro Alves <palves@redhat.com>
4329 * gdb.base/continue-all-already-running.c: New file.
4330 * gdb.base/continue-all-already-running.exp: New file.
4332 2014-10-17 Pedro Alves <palves@redhat.com>
4335 * gdb.base/annota-input-while-running.c: New file.
4336 * gdb.base/annota-input-while-running.exp: New file.
4338 2014-10-17 Pedro Alves <palves@redhat.com>
4340 * gdb.base/callfuncs.exp: emove references to osf.
4341 * gdb.base/sigall.exp: Likewise.
4342 * gdb.gdb/selftest.exp: Likewise.
4343 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
4344 * gdb.mi/non-stop.c: Likewise.
4345 * gdb.mi/pthreads.c: Likewise.
4346 * gdb.reverse/sigall-precsave.exp: Likewise.
4347 * gdb.reverse/sigall-reverse.exp: Likewise.
4348 * gdb.threads/pthreads.c: Likewise.
4349 * gdb.threads/pthreads.exp: Likewise.
4351 2014-10-17 Yao Qi <yao@codesourcery.com>
4353 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
4354 check 'target_info exists noargs'.
4355 (test_command_prompt_position): Likewise.
4356 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
4358 (progvar_simple_while_test): Likewise.
4359 (progvar_complex_if_while_test): Likewise.
4360 (if_while_breakpoint_command_test): Likewise.
4361 (infrun_breakpoint_command_test): Likewise.
4362 (breakpoint_command_test): Likewise.
4363 (watchpoint_command_test): Likewise.
4364 (bp_deleted_in_command_test): Likewise.
4365 (temporary_breakpoint_commands): Likewise.
4367 2014-10-16 Yao Qi <yao@codesourcery.com>
4369 * gdb.base/remotetimeout.exp: Remove noargs checking.
4371 2014-10-15 Pedro Alves <palves@redhat.com>
4374 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
4375 * gdb.base/breakpoint-in-ro-region.exp
4376 (probe_target_hardware_step): New procedure.
4377 (top level): Probe hardware stepping and hardware breakpoint
4378 support. Test stepping through a read-only region, with both
4379 "breakpoint auto-hw" on and off and both "always-inserted" on and
4382 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
4384 * gdb.dlang/demangle.exp: Update for demangling changes.
4386 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4388 * gdb.cp/non-trivial-retval.cc: Add new test cases.
4389 * gdb.cp/non-trivial-retval.exp: Add new tests.
4391 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4395 * gdb.cp/non-trivial-retval.cc: New file.
4396 * gdb.cp/non-trivial-retval.exp: New file.
4398 2014-10-15 Yao Qi <yao@codesourcery.com>
4400 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
4403 2014-10-15 Yao Qi <yao@codesourcery.com>
4405 * gdb.python/py-symbol.exp: Match file base name if host is
4406 remote, otherwise match file name with dir name.
4407 * gdb.python/py-symtab.exp: Likewise.
4408 * gdb.python/python.exp: Likewise.
4410 2014-10-15 Yao Qi <yao@codesourcery.com>
4412 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
4414 * gdb.python/py-symtab.exp: Likewise.
4415 * gdb.python/python.exp: Remove trailing ".*". Fix typo
4418 2014-10-14 Joel Brobecker <brobecker@adacore.com>
4420 * gdb.ada/addr_arith: New testcase.
4422 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
4424 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
4425 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
4426 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
4427 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
4429 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
4431 * gdb.arch/stap-eval-lang-ada.S: Likewise.
4432 * gdb.arch/stap-eval-lang-ada.c: Likewise.
4433 * gdb.arch/stap-eval-lang-ada.exp: New file.
4435 2014-10-14 Yao Qi <yao@codesourcery.com>
4437 * gdb.mi/mi-var-child.c (nothing1): New function.
4438 (nothing2): New function.
4439 (do_children_tests): Set function pointers by nothing1 and
4441 * gdb.mi/mi-var-child.exp: Step over new added statements.
4442 Update test to match the new output.
4443 * gdb.mi/var-cmd.c (nothing1): New function.
4444 (nothing2): New function.
4445 (do_children_tests): Set function pointers by nothing1 and
4447 * gdb.mi/mi-var-display.exp: Update test to match output.
4448 Step to the line specified by $line_dct_nothing.
4449 Increase the number of lines to step.
4451 2014-10-14 Yao Qi <yao@codesourcery.com>
4453 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
4455 * gdb.mi/mi2-var-child.exp: Likewise.
4457 2014-10-13 Doug Evans <dje@google.com>
4459 * gdb.python/py-objfile.exp: Change name of file name test.
4461 2014-10-13 Doug Evans <dje@google.com>
4463 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
4464 from the start of the CU.
4466 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4467 Yao Qi <yao@codesourcery.com>
4469 Fix "save breakpoints" for "catch" command.
4470 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
4471 Remove -nonewline. Match also the added "main" line.
4473 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4475 Fix "save breakpoints" for "disable $bpnum" command.
4476 * gdb.base/save-bp.c (main): Add label.
4477 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
4479 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4481 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
4483 2014-10-11 Yao Qi <yao@codesourcery.com>
4485 * gdb.server/server-kill.exp: Execute command
4486 "set remote trace-status-packet on" before "tstatus".
4488 2014-10-11 Yao Qi <yao@codesourcery.com>
4490 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
4491 (main): Call getppid.
4492 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
4493 and continue to it. Read variable "server_pid".
4495 2014-10-11 Yao Qi <yao@codesourcery.com>
4497 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
4499 2014-10-11 Yao Qi <yao@codesourcery.com>
4501 * gdb.threads/thread-find.exp: Don't execute command
4503 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
4504 * gdb.threads/linux-dp.exp: Don't check the condition
4505 $threads_created equals to zero.
4507 2014-10-10 Pedro Alves <palves@redhat.com>
4509 * gdb.base/bigcore.exp: Remove references to IRIX.
4510 * gdb.base/funcargs.exp: Likewise.
4511 * gdb.base/interrupt.exp: Likewise.
4512 * gdb.base/mips_pro.exp: Likewise.
4513 * gdb.base/nodebug.exp: Likewise.
4514 * gdb.base/setvar.exp: Likewise.
4515 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
4517 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4518 Pedro Alves <palves@redhat.com>
4521 * gdb.base/vdso-warning.c: New file.
4522 * gdb.base/vdso-warning.exp: New file.
4524 2014-10-02 Doug Evans <dje@google.com>
4526 * gdb.base/structs.c (main): Don't run forever.
4528 2014-10-02 Pedro Alves <palves@redhat.com>
4530 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
4531 (top level) <stop threads 1, stop threads 2>: Use it.
4533 2014-10-02 Pedro Alves <palves@redhat.com>
4535 * gdb.threads/break-while-running.exp (test): Add new
4536 'update_thread_list' argument. Skip "info threads" if false.
4537 (top level): Add new 'update_thread_list' axis.
4539 2014-10-02 Pedro Alves <palves@redhat.com>
4541 PR breakpoints/17431
4542 * gdb.base/execl-update-breakpoints.c: New file.
4543 * gdb.base/execl-update-breakpoints.exp: New file.
4545 2014-10-01 Pedro Alves <palves@redhat.com>
4547 * gdb.base/breakpoint-in-ro-region.c: New file.
4548 * gdb.base/breakpoint-in-ro-region.exp: New file.
4550 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
4552 * gdb.mi/mi-exit-code.exp: New file.
4553 * gdb.mi/mi-exit-code.c: New file.
4555 2014-09-30 Yao Qi <yao@codesourcery.com>
4557 * lib/prelink-support.exp (build_executable_own_libs): Error if
4558 the target isn't native.
4560 2014-09-30 Yao Qi <yao@codesourcery.com>
4562 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
4565 2014-09-22 Pedro Alves <palves@redhat.com>
4567 * gdb.threads/break-while-running.exp: New file.
4568 * gdb.threads/break-while-running.c: New file.
4570 2014-09-19 Yao Qi <yao@codesourcery.com>
4572 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
4573 Invoke test. Restart GDB with --readnow and invoke test again.
4575 2014-09-19 Yao Qi <yao@codesourcery.com>
4577 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
4578 proc set_breakpoint_on_gcd_function. Invoke
4579 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
4580 invoke set_breakpoint_on_gcd_function again.
4582 2014-09-18 Doug Evans <dje@google.com>
4584 * gdb.dwarf2/symtab-producer.exp: New file.
4586 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
4588 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
4589 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
4590 * gdb.base/global-var-nested-by-dso.c: Likewise.
4591 * gdb.base/global-var-nested-by-dso.exp: Likewise.
4593 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
4594 Pedro Alves <palves@redhat.com>
4596 * gdb.base/watch-bitfields.exp: Pass string other than test file
4597 name to prepare_for_testing.
4598 (watch): New procedure.
4599 (expect_watchpoint): Use with_test_prefix.
4600 (top level): Factor out tests to ...
4601 (test_watch_location, test_regular_watch): ... these new
4602 procedures, and use with_test_prefix and gdb_continue_to_end.
4604 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
4606 PR breakpoints/12526
4607 * gdb.base/watch-bitfields.exp: New file.
4608 * gdb.base/watch-bitfields.c: New file.
4610 2014-09-16 Pedro Alves <palves@redhat.com>
4612 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
4613 software and hardware addresses, not software address against
4616 2014-09-16 Pedro Alves <palves@redhat.com>
4618 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
4619 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
4621 2014-09-16 Pedro Alves <palves@redhat.com>
4623 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
4625 * gdb.base/a2-run.exp: Remove all code guarded by istarget
4626 "*-*-vxworks*" throughout.
4627 * gdb.base/break.exp: Likewise.
4628 * gdb.base/default.exp: Likewise.
4629 * gdb.base/scope.exp: Likewise.
4630 * gdb.base/sepdebug.exp: Likewise.
4631 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
4633 * gdb.base/run.c: Likewise.
4634 * gdb.base/sepdebug.c: Likewise.
4635 * gdb.hp/gdb.aCC/run.c: Likewise.
4636 * gdb.reverse/until-reverse.c: Likewise.
4637 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
4639 2014-09-16 Yao Qi <yao@codesourcery.com>
4641 * boards/local-remote-host-native.exp: New file.
4643 2014-09-14 Doug Evans <xdje42@gmail.com>
4645 * gdb.threads/queue-signal.c (thread_count): New variable.
4646 (thread_count_mutex, thread_count_condvar): New variables.
4647 (incr_thread_count, wait_all_threads_running): New functions.
4648 (main): Wait for all threads to be in their thread functions.
4650 2014-09-13 Doug Evans <xdje42@gmail.com>
4652 * gdb.threads/queue-signal.c: New file.
4653 * gdb.threads/queue-signal.exp: New file.
4655 2014-09-13 Doug Evans <xdje42@gmail.com>
4657 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
4658 be consistent with what default_gdb_init uses.
4659 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
4660 the plain text of the prompt. Add some logging printfs.
4661 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
4663 2014-09-12 Pedro Alves <palves@redhat.com>
4665 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
4666 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
4667 * gdb.arch/i386-size-overlap.exp: Likewise.
4668 * gdb.arch/i386-size.exp: Likewise.
4669 * gdb.arch/i386-unwind.exp: Likewise.
4670 * gdb.base/a2-run.exp: Likewise.
4671 * gdb.base/break.exp: Likewise.
4672 * gdb.base/charset.exp: Likewise.
4673 * gdb.base/chng-syms.exp: Likewise.
4674 * gdb.base/commands.exp: Likewise.
4675 * gdb.base/dbx.exp: Likewise.
4676 * gdb.base/find.exp: Likewise.
4677 * gdb.base/funcargs.exp: Likewise.
4678 * gdb.base/jit-simple.exp: Likewise.
4679 * gdb.base/reread.exp: Likewise.
4680 * gdb.base/sepdebug.exp: Likewise.
4681 * gdb.base/step-bt.exp: Likewise.
4682 * gdb.cp/mb-inline.exp: Likewise.
4683 * gdb.cp/mb-templates.exp: Likewise.
4684 * gdb.objc/basicclass.exp: Likewise.
4685 * gdb.threads/killed.exp: Likewise.
4687 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4690 * gdb.arch/powerpc-stackless.S: New file.
4691 * gdb.arch/powerpc-stackless.exp: New file.
4693 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4695 * gdb.base/attach.c: Include unistd.h.
4696 (main): Call alarm. Add label postloop.
4697 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
4698 gdb_breakpoint, gdb_continue_to_breakpoint.
4699 (test_command_line_attach_run): Kill ${testpid} in one exit path.
4701 2014-09-11 Pedro Alves <palves@redhat.com>
4704 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
4705 * gdb.base/attach.exp (test_command_line_attach_run): New
4707 (top level): Call it.
4709 2014-09-11 Pedro Alves <palves@redhat.com>
4711 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
4712 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
4713 (do_command_attach_tests): Use spawn_wait_for_attach.
4714 * gdb.base/solib-overlap.exp: Likewise.
4715 * gdb.multi/multi-attach.exp: Likewise.
4716 * gdb.python/py-prompt.exp: Likewise.
4717 * gdb.python/py-sync-interp.exp: Likewise.
4718 * gdb.server/ext-attach.exp: Likewise.
4720 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
4722 * gdb.fortran/array-element.exp: Remove unexpected "continue"
4723 command in testcase. Simplify testcase.
4725 2014-09-10 Joel Brobecker <brobecker@adacore.com>
4727 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
4729 2014-09-10 Joel Brobecker <brobecker@adacore.com>
4731 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
4733 2014-09-10 Joel Brobecker <brobecker@adacore.com>
4735 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
4737 2014-09-10 Joel Brobecker <brobecker@adacore.com>
4739 * gdb.dwarf2/dynarr-ptr.c: New file.
4740 * gdb.dwarf2/dynarr-ptr.exp: New file.
4742 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4744 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
4745 of 30 rather than hardcoding 120 for a slow test case. Take the
4746 `gdb,timeout' target setting into account for this calculation.
4747 Don't extend the timeout for the test cases that don't need it.
4749 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4751 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
4752 a factor of 2 for a slow test case. Take the `gdb,timeout'
4753 target setting into account for this calculation.
4754 * gdb.reverse/until-precsave.exp: Increase the timeout by
4755 a factor of 15 and 3 respectively rather than adding 120
4756 for a pair of slow test cases. Take the `gdb,timeout'
4757 target setting into account for this calculation.
4759 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4761 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
4762 timeout, don't pass one down to gdb_expect.
4763 (gdb_expect): Rework timeout selection.
4765 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4767 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
4768 exception on timeout.
4769 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
4770 (gdbserver_start_extended): Catch any `gdbserver_start' error
4772 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
4773 * lib/mi-support.exp (mi_gdb_target_load): Catch any
4774 `gdbserver_gdb_load' error exceptions.
4776 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4778 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
4779 120 on waiting for the TCP socket to open.
4781 2014-09-09 Doug Evans <xdje42@gmail.com>
4783 * gdb.base/default.exp (show_conv_list): Add _caller_is,
4784 _caller_matches, _any_caller_is, _any_caller_matches.
4786 2014-09-09 Doug Evans <xdje42@gmail.com>
4788 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
4790 2014-09-09 Yao Qi <yao@codesourcery.com>
4792 * gdb.mi/mi-var-display.exp: Set print symbol off.
4794 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
4797 * gdb.base/commands.exp: Add tests to verify user-defined
4798 commands with empty bodies.
4799 * gdb.python/py-cmd.exp: Test that we don't show user-defined
4800 python commands in `show user command`.
4801 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
4802 scheme commands in `show user command`.
4804 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4807 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
4808 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
4809 * gdb.python/py-framefilter-invalidarg.exp: New file.
4810 * gdb.python/py-framefilter-invalidarg.py: New file.
4812 2014-09-06 Doug Evans <xdje42@gmail.com>
4815 * gdb.python/py-caller-is.c: New file.
4816 * gdb.python/py-caller-is.exp: New file.
4818 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
4821 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
4822 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
4824 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
4827 * gdb.fortran/print-formatted.exp: New file.
4828 * gdb.fortran/print-formatted.f90: Likewise.
4830 2014-09-03 Sasha Smundak <asmundak@google.com>
4832 * gdb.python/py-frame.exp: Test Frame.read_register.
4834 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
4837 * gdb.python/py-completion.exp: New file.
4838 * gdb.python/py-completion.py: Likewise.
4840 2014-08-28 Doug Evans <dje@google.com>
4842 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
4843 eax,etc. are live with values set by gdb and thus the compiler can't
4845 * gdb.arch/i386-pseudo.c (main): Ditto.
4847 2014-08-27 Doug Evans <dje@google.com>
4849 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
4851 2014-08-25 Doug Evans <dje@google.com>
4853 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
4856 2014-08-25 Doug Evans <dje@google.com>
4858 * gdb.threads/thread-execl.exp: #include <stdio.h>.
4860 2014-08-24 Yao Qi <yao@codesourcery.com>
4862 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
4864 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
4866 2014-08-22 Doug Evans <dje@google.com>
4869 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
4870 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
4871 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
4873 2014-08-22 Yao Qi <yao@codesourcery.com>
4875 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
4876 * gdb.python/py-finish-breakpoint2.exp: Likewise.
4877 * gdb.python/python.exp: Likewise. Use .py file on the host
4878 instead of the build.
4880 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4882 * gdb.threads/gcore-stale-thread.c: New file.
4883 * gdb.threads/gcore-stale-thread.exp: New file.
4885 2014-08-21 Pedro Alves <palves@redhat.com>
4887 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
4888 * gdb.base/gcore-relro-pie.exp: Likewise.
4889 * gdb.base/gcore-relro.exp: Likewise.
4890 * gdb.base/gcore.exp: Likewise.
4891 * gdb.base/print-symbol-loading.exp: Likewise.
4892 * gdb.threads/gcore-thread.exp: Likewise.
4893 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
4895 2014-08-20 Pedro Alves <palves@redhat.com>
4896 Jan Kratochvil <jan.kratochvil@redhat.com>
4898 * Makefile.in (EXTRA_RULES, CC): New variables, get from
4900 (EXPECT): Handle READ1 being set.
4901 (all): Depend on EXTRA_RULES.
4902 (check-read1, expect-read1, read1.so, read1): New rules.
4903 * README (Testsuite Parameters): Document the READ1 make variable.
4904 (Race detection): New section.
4905 * configure: Regenerate.
4906 * configure.ac: If build==host==target, and running under a
4907 GNU/glibc system, add read1 to the extra Makefile rules.
4908 (EXTRA_RULES): AC_SUBST it.
4909 * lib/read1.c: New file.
4911 2014-08-20 Joel Brobecker <brobecker@adacore.com>
4913 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
4914 the handling of variables declared as a typedef to an array
4915 which a DW_AT_data_location attribute.
4917 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
4918 Pedro Alves <palves@redhat.com>
4922 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
4925 2014-08-19 Pedro Alves <palves@redhat.com>
4927 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
4929 2014-08-19 Yao Qi <yao@codesourcery.com>
4931 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
4934 2014-08-18 David Blaikie <dblaikie@gmail.com>
4936 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
4938 2014-08-18 Joel Brobecker <brobecker@adacore.com>
4940 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
4941 attribute in array range.
4943 2014-08-18 Joel Brobecker <brobecker@adacore.com>
4945 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
4947 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
4950 * gdb.cp/pr17132.cc: New file.
4951 * gdb.cp/pr17132.exp: New file.
4953 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
4955 * gdb.python/py-xmethods.py (A_getarrayind)
4956 (E_method_char_worker.__call__, E_method_int_worker.__call__):
4957 Use 'print' with function call syntax.
4958 (E_method_matcher.match): Fix tab vs space indentation mixup.
4960 2014-08-15 Yao Qi <yao@codesourcery.com>
4962 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
4965 2014-08-15 Yao Qi <yao@codesourcery.com>
4967 * gdb.cp/casts.exp: Set print symbol off.
4968 * gdb.cp/class2.exp: Likewise.
4969 * gdb.cp/overload.exp: Likewise.
4970 * gdb.cp/templates.exp: Likewise.
4972 2014-08-11 Doug Evans <dje@google.com>
4974 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
4975 (test_load_shlib): Update.
4977 2014-08-09 Yao Qi <yao@codesourcery.com>
4979 * gdb.base/display.exp: Invoke is_address_zero_readable.
4980 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
4981 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4982 * gdb.base/hbreak-unmapped.exp: Return if
4983 is_address_zero_readable returns true.
4984 * gdb.base/signest.exp: Likewise.
4985 * gdb.base/signull.exp: Likewise.
4986 * gdb.base/sigbpt.exp: Likewise.
4987 * gdb.guile/scm-disasm.exp: Do the test if
4988 is_address_zero_readable returns false.
4989 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
4990 * gdb.python/py-arch.exp: Likewise.
4991 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
4992 * lib/gdb.exp (is_address_zero_readable): New proc.
4994 2014-08-09 Yao Qi <yao@codesourcery.com>
4997 * gdb.mi/mi-var-display.exp: Make test messages unique.
4999 2014-08-04 Tom Tromey <tromey@redhat.com>
5001 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5004 2014-08-04 Tom Tromey <tromey@redhat.com>
5006 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5009 2014-08-01 Joel Brobecker <brobecker@adacore.com>
5011 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5012 inner_vla_struct_object_size.
5013 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5016 2014-07-30 Pedro Alves <palves@redhat.com>
5018 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5021 2014-07-29 Yao Qi <yao@codesourcery.com>
5024 * gdb.base/until-nodebug.exp: New.
5026 2014-07-28 Doug Evans <xdje42@gmail.com>
5029 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5030 previously existing parameter, and previously ambiguously spelled
5033 2014-07-28 Will Newton <will.newton@linaro.org>
5035 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5037 2014-07-26 Ludovic Courtès <ludo@gnu.org>
5038 Doug Evans <xdje42@gmail.com>
5041 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5043 2014-07-25 Pedro Alves <palves@redhat.com>
5045 * gdb.threads/signal-command-handle-nopass.c: New file.
5046 * gdb.threads/signal-command-handle-nopass.exp: New file.
5047 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5048 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5049 * gdb.threads/signal-delivered-right-thread.c: New file.
5050 * gdb.threads/signal-delivered-right-thread.exp: New file.
5052 2014-07-25 Pedro Alves <palves@redhat.com>
5054 * gdb.base/double-prompt-target-event-error.exp
5055 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5057 (cancel_pagination_in_target_event): Rework double prompt
5059 * gdb.base/paginate-after-ctrl-c-running.exp
5060 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5062 * gdb.base/paginate-bg-execution.exp
5063 (test_bg_execution_pagination_return)
5064 (test_bg_execution_pagination_cancel): Remove '-notransfer
5066 * gdb.base/paginate-execution-startup.exp
5067 (test_fg_execution_pagination_return)
5068 (test_fg_execution_pagination_cancel): Remove '-notransfer
5070 * gdb.base/paginate-inferior-exit.exp
5071 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5073 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5074 * lib/gdb.exp (pagination_prompt): Run text through
5076 (gdb_test_multiple): Match $pagination_prompt instead of
5078 (string_to_regexp): Move to lib/gdb-utils.exp.
5080 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5082 * gdb.arch/amd64-entry-value-paramref.S: New file.
5083 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5084 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5085 * gdb.arch/amd64-optimout-repeat.S: New file.
5086 * gdb.arch/amd64-optimout-repeat.c: New file.
5087 * gdb.arch/amd64-optimout-repeat.exp: New file.
5089 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5092 * gdb.base/statistics.exp: New file.
5094 2014-07-17 Doug Evans <dje@google.com>
5097 * gdb.base/maint.exp: Update testing of per-command stats.
5099 2014-07-16 Pedro Alves <palves@redhat.com>
5101 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5102 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5103 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5104 (tfile_write_buf): New functions.
5105 (add_memory_block): Rewrite using the above.
5106 (adjust_function_address): New function.
5107 (FUNCTION_ADDRESS): New macro.
5108 (write_basic_trace_file): Remove short_x local, and use
5109 tfile_write_16. Change type of func_addr local to unsigned long
5110 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5111 here. Cast argument of add_memory_block to char pointer.
5112 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5113 (main): Remove parameters.
5114 * gdb.trace/tfile.exp: Remove nowarnings.
5116 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5118 * gdb.base/debug-expr.exp: Test string evaluation with
5119 "debug expression" on.
5121 2014-07-15 Pedro Alves <palves@redhat.com>
5123 * gdb.base/reread.exp: Use clean_restart.
5125 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5127 * gdb.arch/avr-flash-qualifer.c: New.
5128 * gdb.arch/avr-flash-qualifer.exp: New.
5130 2014-07-14 Pedro Alves <palves@redhat.com>
5132 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5133 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5135 2014-07-14 Pedro Alves <palves@redhat.com>
5137 * gdb.base/double-prompt-target-event-error.c: New file.
5138 * gdb.base/double-prompt-target-event-error.exp: New file.
5140 2014-07-14 Pedro Alves <palves@redhat.com>
5143 * gdb.base/paginate-inferior-exit.c: New file.
5144 * gdb.base/paginate-inferior-exit.exp: New file.
5146 2014-07-14 Pedro Alves <palves@redhat.com>
5149 * gdb.base/paginate-bg-execution.c: New file.
5150 * gdb.base/paginate-bg-execution.exp: New file.
5152 2014-07-14 Pedro Alves <palves@redhat.com>
5155 * gdb.base/paginate-execution-startup.c: New file.
5156 * gdb.base/paginate-execution-startup.exp: New file.
5157 * lib/gdb.exp (pagination_prompt): New global.
5158 (default_gdb_spawn): New procedure, factored out from
5160 (default_gdb_start): Adjust to call default_gdb_spawn.
5161 (gdb_spawn): New procedure.
5163 2014-07-14 Pedro Alves <palves@redhat.com>
5165 * lib/gdb.exp (gdb_assert): New procedure.
5166 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
5168 2014-07-14 Pedro Alves <palves@redhat.com>
5170 * gdb.base/execution-termios.c: New file.
5171 * gdb.base/execution-termios.exp: New file.
5173 2014-07-14 Tom Tromey <tromey@redhat.com>
5175 * gdb.cp/vla-cxx.cc: New file.
5176 * gdb.cp/vla-cxx.exp: New file.
5178 2014-07-14 Tom Tromey <tromey@redhat.com>
5180 * gdb.reverse/rerun-prec.c: New file.
5181 * gdb.reverse/rerun-prec.exp: New file.
5183 2014-07-12 Maciej W. Rozycki <macro@mips.com>
5184 Maciej W. Rozycki <macro@codesourcery.com>
5186 * lib/gdb-utils.exp: New file.
5187 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
5188 inline `gdb_init_command' processing.
5189 (gdb_start_cmd): Likewise.
5190 * lib/mi-support.exp (mi_run_cmd): Likewise.
5191 * README: Document `gdb_init_command' and `gdb_init_commands'.
5193 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5195 Fix false FAIL running under a very long directory name.
5196 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
5197 and "set print elements 10000". Twice.
5199 2014-07-11 Yao Qi <yao@codesourcery.com>
5201 * gdb.base/exprs.exp: "set print symbol off".
5203 2014-07-11 Pedro Alves <palves@redhat.com>
5205 * gdb.threads/kill.c: New file.
5206 * gdb.threads/kill.exp: New file.
5208 2014-07-10 Yao Qi <yao@codesourcery.com>
5210 * gdb.trace/tfile.c (write_basic_trace_file)
5211 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
5212 address written to trace file.
5214 2014-07-09 Pedro Alves <palves@redhat.com>
5216 * gdb.base/attach-wait-input.exp: New file.
5217 * gdb.base/attach-wait-input.c: New file.
5219 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5221 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
5222 setting up test structures.
5223 (main): Call new test function.
5224 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
5225 test function, continue into test function and walk test
5228 2014-07-02 Yao Qi <yao@codesourcery.com>
5230 * gdb.trace/entry-values.c: Define labels 'foo_start' and
5231 'bar_start' at the beginning of functions 'foo' and 'bar'
5233 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
5234 instead of 'foo' and 'bar'.
5236 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5238 * gdb.btrace/segv.exp: New.
5239 * gdb.btrace/segv.c: New.
5241 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
5243 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
5246 2014-06-30 Mark Wielaard <mjw@redhat.com>
5248 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
5249 vulture, vilify, villar): New volatile array constants.
5250 (vindictive, vegetation): New const volatile array constants.
5251 * gdb.base/volatile.exp: Test volatile and const volatile array
5254 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5256 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
5257 target lacks support for awatch, rwatch, or hbreak.
5259 2014-06-27 Yao Qi <yao@codesourcery.com>
5261 * gdb.multi/dummy-frame-restore.exp: New.
5262 * gdb.multi/dummy-frame-restore.c: New.
5264 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5266 * gdb.btrace/gcore.exp: New.
5268 2014-06-23 Pedro Alves <palves@redhat.com>
5270 * gdb.base/watchpoint-reuse-slot.c: New file.
5271 * gdb.base/watchpoint-reuse-slot.exp: New file.
5273 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5275 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
5276 progspace's filename in 'info', 'enable' and 'disable' command
5279 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5281 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
5282 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5283 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
5285 2014-06-20 Gary Benson <gbenson@redhat.com>
5287 * gdb.arch/i386-avx.exp: Fix include file location.
5288 * gdb.arch/i386-sse.exp: Likewise.
5290 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5292 * gdb.dlang/expression.exp: New file.
5294 2014-06-19 Pedro Alves <palves@redhat.com>
5296 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
5298 (top level): ... here. Iterate running tests under different
5299 scheduler-locking settings.
5301 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
5303 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
5304 to DW_FORM_addr and use non-zero addresses.
5306 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
5309 * gdb.python/py-xmethods.cc: Add global function call counters and
5310 increment them in their respective functions. Remove "cout"
5312 * gdb.python/py-xmethods.exp: Make tests check the global function
5313 call counters instead of depending on inferior IO.
5315 2014-06-18 Don Breazeal <donb@codesourcery.com>
5317 * gdb.base/foll-fork.exp (default_fork_parent_follow):
5319 (explicit_fork_parent_follow): Deleted procedure.
5320 (explicit_fork_child_follow): Deleted procedure.
5321 (test_follow_fork): New procedure.
5322 (do_fork_tests): Replace calls to deleted procedures with
5323 calls to test_follow_fork and reset GDB for subsequent
5326 2014-06-17 Yao Qi <yao@codesourcery.com>
5328 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
5331 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
5333 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
5334 Initialize ptr and S explicitly.
5335 (skip_type_update_when_not_use_rtti_test): Likewise.
5337 2014-06-16 Keith Seitz <keiths@redhat.com>
5340 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
5341 the inferior is started.
5343 2014-06-16 Pedro Alves <palves@redhat.com>
5345 * gdb.base/break-main-file-remove-fail.c: New file.
5346 * gdb.base/break-main-file-remove-fail.exp: New file.
5347 * gdb.base/break-unload-file.exp: Use build_executable instead of
5348 prepare_for_testing.
5349 (test_break): New parameter "initial_load". Handle it.
5350 (top level): Add initial_load cmdline/file axis.
5352 2014-06-12 Tom Tromey <tromey@redhat.com>
5354 * gdb.base/completion.exp: Don't use directory name in test.
5356 2014-06-09 Gary Benson <gbenson@redhat.com>
5358 * gdb.base/sigall.c [Functions to send signals]: Reorder to
5359 separate the always-available ANSI-standard signals from the
5360 signals that require checking.
5362 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
5366 2014-06-07 Keith Seitz <keiths@redhat.com>
5370 * gdb.cp/var-tag.cc: New file.
5371 * gdb.cp/var-tag.exp: New file.
5372 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5373 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5374 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5375 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5377 2014-06-06 Doug Evans <xdje42@gmail.com>
5379 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
5381 2014-06-06 Pedro Alves <palves@redhat.com>
5383 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
5384 in target debug output instead of looking at RSP packets,
5385 disabling the test on any target that uses hardware stepping.
5388 2014-06-06 Pedro Alves <palves@redhat.com>
5390 * gdb.base/break-unload-file.exp: Fix typo.
5392 2014-06-06 Yao Qi <yao@codesourcery.com>
5394 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
5395 from "jit_function" to "^jit_function".
5397 2014-06-06 Yao Qi <yao@codesourcery.com>
5399 * gdb.base/async.c (foo): Add one statement.
5400 * gdb.base/async.exp: Get the next instruction address and
5401 match the output of "nexti" by instruction address. Match
5402 the hex address in the output of "finish".
5404 2014-06-06 Gary Benson <gbenson@redhat.com>
5406 * gdb.base/call-signals.c: Remove preprocessor conditionals
5407 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
5408 SIGSEGV and SIGTERM.
5409 * gdb.base/sigall.c: Likewise.
5410 * gdb.base/unwindonsignal.c: Likewise.
5411 * gdb.reverse/sigall-reverse.c: Likewise.
5413 2014-06-06 Yao Qi <yao@codesourcery.com>
5415 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
5416 readable, skip the test.
5418 2014-06-06 Yao Qi <yao@codesourcery.com>
5420 * gdb.threads/staticthreads.c (thread_function): Move the line
5421 setting breakpoint on forward.
5422 * gdb.threads/staticthreads.exp: Update comments.
5424 2014-06-05 Ludovic Courtès <ludo@gnu.org>
5426 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
5427 "history-append! type error".
5429 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
5431 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
5432 erroneous dprintf expected input.
5434 2014-06-04 Doug Evans <xdje42@gmail.com>
5436 * gdb.guile/scm-generics.exp: Delete.
5438 2014-06-04 Doug Evans <xdje42@gmail.com>
5440 * gdb.guile/scm-breakpoint.exp: Update.
5441 Add tests for breakpoint registration.
5443 2014-06-04 Tom Tromey <tromey@redhat.com>
5445 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
5447 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
5448 inner_vla_struct, vla_union types. Initialize objects of those
5449 types and compute their sizes.
5451 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
5452 Hui Zhu <hui@codesourcery.com>
5454 * gdb.base/fileio.exp: Add test for shell not available as well as
5456 * gdb.base/fileio.c (test_system): Check for shell twice.
5458 2014-06-04 Yao Qi <yao@codesourcery.com>
5460 * gdb.base/auto-connect-native-target.exp: Remove redundant
5461 space from the regexp pattern.
5463 2014-06-04 Yao Qi <yao@codesourcery.com>
5465 * gdb.base/default.exp: Replace "child" with "native" in
5468 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
5470 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
5471 * gdb.python/py-xmethods.exp: New tests to test xmethods.
5472 * gdb.python/py-xmethods.py: Python script supporting the
5473 new testcase and tests.
5475 2014-06-03 Joel Brobecker <brobecker@adacore.com>
5476 Pedro Alves <palves@redhat.com>
5478 PR breakpoints/17000
5479 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
5480 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
5482 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
5484 * gdb.base/subst.exp: Add tests to verify partial path matching
5487 2014-06-03 Pedro Alves <palves@redhat.com>
5489 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
5490 target that doesn't use software single-stepping.
5492 2014-06-03 Pedro Alves <palves@redhat.com>
5494 PR breakpoints/17000
5495 * gdb.base/sss-bp-on-user-bp-2.c: New file.
5496 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
5498 2014-06-02 Doug Evans <xdje42@gmail.com>
5500 * gdb.guile/scm-parameter.exp: New file.
5502 2014-06-02 Doug Evans <xdje42@gmail.com>
5504 * gdb.guile/scm-cmd.c: New file.
5505 * gdb.guile/scm-cmd.exp: New file.
5507 2014-06-02 Doug Evans <xdje42@gmail.com>
5509 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
5510 pretty-printer lookup.
5511 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
5512 (make-pp_s-printer): Call it.
5513 (make-pretty-printer-from-dict): New function.
5514 (lookup-pretty-printer-maker-from-dict): New function.
5515 (*pretty-printer*): Simplify.
5516 (make-objfile-pp_s-printer): New function.
5517 (install-objfile-pretty-printers!): New function.
5518 (make-progspace-pp_s-printer): New function.
5519 (install-progspace-pretty-printers!): New function.
5520 * gdb.guile/scm-progspace.c: New file.
5521 * gdb.guile/scm-progspace.exp: New file.
5523 2014-06-02 Pedro Alves <palves@redhat.com>
5525 * gdb.base/dprintf-bp-same-addr.c: New file.
5526 * gdb.base/dprintf-bp-same-addr.exp: New file.
5528 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5530 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
5531 * gdb.arch/powerpc-power.s: Likewise.
5533 2014-06-02 Joel Brobecker <brobecker@adacore.com>
5535 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
5537 2014-06-01 Yao Qi <yao@codesourcery.com>
5539 * gdb.base/watchpoint.exp (test_watch_location): Check null
5540 pointer can be dereferenced. If not, do the test, otherwise
5543 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
5545 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
5547 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
5549 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
5551 * gdb.arch/amd64-invalid-stack-middle.S: New file.
5552 * gdb.arch/amd64-invalid-stack-middle.c: New file.
5553 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
5554 * gdb.arch/amd64-invalid-stack-top.c: New file.
5555 * gdb.arch/amd64-invalid-stack-top.exp: New file.
5557 2014-05-30 Pedro Alves <palves@redhat.com>
5559 PR breakpoints/17000
5560 * gdb.base/sss-bp-on-user-bp.c: New file.
5561 * gdb.base/sss-bp-on-user-bp.exp: New file.
5563 2014-05-30 David Blaikie <dblaikie@gmail.com>
5565 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
5566 gnu_inline semantics via attribute.
5567 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
5568 source explicitly specifies the required semantics.
5570 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
5572 * gdb.reverse/sigall-reverse.exp: Fix a typo.
5574 2014-05-29 Pedro Alves <palves@redhat.com>
5575 Tom Tromey <tromey@redhat.com>
5577 * gdb.base/async-shell.exp: Don't enable target-async.
5578 * gdb.base/async.exp
5579 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
5581 (top level): Don't test with "target-async".
5582 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
5583 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
5584 * gdb.base/inferior-died.exp: Don't enable target-async.
5585 * gdb.base/interrupt-noterm.exp: Likewise.
5586 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
5587 * gdb.mi/mi-nonstop-exit.exp: Likewise.
5588 * gdb.mi/mi-nonstop.exp: Likewise.
5589 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
5590 * gdb.mi/mi-nsintrall.exp: Likewise.
5591 * gdb.mi/mi-nsmoribund.exp: Likewise.
5592 * gdb.mi/mi-nsthrexec.exp: Likewise.
5593 * gdb.mi/mi-watch-nonstop.exp: Likewise.
5594 * gdb.multi/watchpoint-multi.exp: Adjust comment.
5595 * gdb.python/py-evsignal.exp: Don't enable target-async.
5596 * gdb.python/py-evthreads.exp: Likewise.
5597 * gdb.python/py-prompt.exp: Likewise.
5598 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
5599 * gdb.server/solib-list.exp: Don't enable target-async.
5600 * gdb.threads/thread-specific-bp.exp: Likewise.
5601 * lib/mi-support.exp: Adjust to use mi-async.
5603 2014-05-29 Pedro Alves <palves@redhat.com>
5606 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
5607 reason, even in sync mode.
5609 2014-05-29 Pedro Alves <palves@redhat.com>
5610 Hui Zhu <hui@codesourcery.com>
5613 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
5614 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
5615 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
5616 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
5618 2014-05-28 Joel Brobecker <brobecker@adacore.com>
5620 * config/monitor.exp (gdb_target_monitor): Replace use of
5621 "set remotebaud" by "set serial baud".
5623 2014-05-26 Andy Wingo <wingo@igalia.com>
5625 * gdb.guile/scm-breakpoint.exp:
5626 * gdb.guile/scm-gsmob.exp: Update to use plain old object
5627 properties instead of gdb-object-properties.
5629 2014-05-26 Yao Qi <yao@codesourcery.com>
5631 * gdb.server/no-thread-db.exp: Specify source file name
5632 explicitly when setting a breakpoint.
5634 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5636 * gdb.btrace/vdso.c: New.
5637 * gdb.btrace/vdso.exp: New.
5639 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5641 * gdb.base/gcore.exp (capture_command_output): Move ...
5642 * lib/gdb.exp (capture_command_output): ... here.
5644 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5646 * gdb.btrace/data.exp: Test memory access during btrace replay.
5648 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
5650 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
5652 2014-05-21 Pedro Alves <palves@redhat.com>
5655 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
5656 (top level): Test that output related to execution commands is
5657 sent to the console with CLI commands, but not with MI commands.
5658 Test that breakpoint events are always mirrored to the console.
5659 Also expect the new source line to be output after a "next" in
5660 async mode too. Make it a pass/fail test.
5661 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
5663 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
5665 2014-05-21 Pedro Alves <palves@redhat.com>
5667 * gdb.base/list.exp (build_pattern, test_list): New procedures.
5668 Use them to test variations of "list" after reaching a breakpoint.
5669 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
5670 Test "list" with listsize 10 after reaching a breakpoint.
5671 * gdb.python/python.exp (decode_line current location line
5672 number): Adjust expected line number.
5674 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
5676 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
5677 behavior for $args, pass it directly to "run".
5679 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
5681 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
5684 2014-05-21 Pedro Alves <palves@redhat.com>
5686 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
5687 auto-connect-native-target off".
5688 * gdb.base/auto-connect-native-target.c: New file.
5689 * gdb.base/auto-connect-native-target.exp: New file.
5691 2014-05-21 Pedro Alves <palves@redhat.com>
5693 * gdb.base/default.exp: Test "target native" instead of "target
5696 2014-05-21 Mark Wielaard <mjw@redhat.com>
5698 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
5700 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5702 Fix TLS access for -static -pthread.
5703 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
5704 <HAVE_TLS> (thread_function, main): Initialize it.
5705 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
5707 <$have_tls != "">: Check TLSVAR.
5709 2014-05-21 Pedro Alves <palves@redhat.com>
5711 * gdb.base/dcache-line-read-error.c: New.
5712 * gdb.base/dcache-line-read-error.exp: New.
5714 2014-05-20 Pedro Alves <palves@redhat.com>
5716 * gdb.base/compare-sections.c: New file.
5717 * gdb.base/compare-sections.exp: New file.
5719 2014-05-20 Pedro Alves <palves@redhat.com>
5721 * gdb.base/break-idempotent.c: New file.
5722 * gdb.base/break-idempotent.exp: New file.
5724 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
5726 * gdb.btrace/nohist.exp: New.
5728 2014-05-20 Yao Qi <yao@codesourcery.com>
5730 * lib/gdb.exp (gdb_init): Set timeout if test file is under
5731 gdb.reverse directory and gdb_reverse_timeout exists in board
5733 * README: Document gdb_reverse_timeout.
5735 2014-05-20 Yao Qi <yao@codesourcery.com>
5737 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
5738 'test_file_name'. Treat args as a string instead of a list.
5739 (gdb_init): Rename argument 'args' by 'test_file_name'.
5741 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5743 * gdb.arch/powerpc-power.exp: New file.
5744 * gdb.arch/powerpc-power.s: New file.
5746 2014-05-16 Doug Evans <dje@google.com>
5748 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
5749 * gdb.base/completion.exp: Check that all expected files exist
5750 before doing file completion.
5752 2014-05-16 Doug Evans <dje@google.com>
5754 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
5756 (do_syscall_tests_without_xml): Update.
5758 2014-05-16 Pedro Alves <palves@redhat.com>
5760 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
5761 instead of "unknown output after running".
5763 2014-05-16 Yao Qi <yao@codesourcery.com>
5765 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
5766 file1.txt from host at the end.
5767 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5769 2014-05-15 Doug Evans <dje@google.com>
5771 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
5772 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
5773 loading file. Add test for TU lookup.
5775 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
5777 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
5778 calling "-exec-arguments" or "set args" before running the
5781 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
5783 * lib/mi-support.exp (mi_expect_stop): Expect message for
5784 inferiors that exit with non-zero exit code.
5786 2014-05-14 Yao Qi <yao@codesourcery.com>
5788 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
5789 match absolute path on remote host.
5790 (test_file_list_exec_source_files): Remove "/" from the
5793 2014-05-14 Yao Qi <yao@codesourcery.com>
5795 * boards/local-remote-host-notty.exp (${board}_file): New
5798 2014-05-07 Kyle McMartin <kyle@redhat.com>
5800 Pushed by Joel Brobecker <brobecker@adacore.com>.
5801 * gdb.arch/aarch64-atomic-inst.c: New file.
5802 * gdb.arch/aarch64-atomic-inst.exp: New file.
5804 2014-05-07 Yao Qi <yao@codesourcery.com>
5806 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
5807 in current context" too.
5809 2014-05-05 Keith Seitz <keiths@redhat.com>
5811 * gdb.linespec/ls-dollar.exp: Add test for linespec
5812 file:convenience_variable.
5814 2014-05-05 Yao Qi <yao@codesourcery.com>
5816 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
5817 traceframes into tfile and ctf trace files. Read data from
5818 trace file and test collected data.
5819 (gdb_collect_locals_test): Likewise.
5820 (gdb_unavailable_registers_test): Likewise.
5821 (gdb_unavailable_floats): Likewise.
5822 (gdb_collect_globals_test): Likewise.
5823 (top-level): Append "ctf" to trace_file_targets if GDB
5826 2014-05-05 Yao Qi <yao@codesourcery.com>
5828 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
5830 (gdb_collect_args_test_1): ... it. New proc.
5831 (gdb_collect_locals_test): Move some code to ...
5832 (gdb_collect_locals_test_1): ... it. New proc.
5833 (gdb_unavailable_registers_test): Move some code to ...
5834 (gdb_unavailable_registers_test_1): ... it. New proc.
5835 (gdb_unavailable_floats): Move some code to ...
5836 (gdb_unavailable_floats_1): ... it. New proc.
5838 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5840 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
5841 probes to test for bitness recognition.
5842 * gdb.arch/amd64-stap-optional-prefix.exp
5843 (test_probe_value_without_reg): New procedure.
5844 Add code to test for different kinds of bitness.
5846 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5848 PR breakpoints/16889
5849 * gdb.arch/amd64-stap-optional-prefix.S: New file.
5850 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5852 2014-05-01 Pedro Alves <palves@redhat.com>
5854 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
5855 gdb_file_cmd if no file is specified.
5856 * boards/native-extended-gdbserver.exp (gdb_load): Use the
5857 last_loaded_file to set the remote exec-file.
5859 2014-05-01 Pedro Alves <palves@redhat.com>
5861 * boards/local-remote-host.exp: New file.
5863 2014-05-01 Pedro Alves <palves@redhat.com>
5865 * boards/local-remote-host.exp: Rename to ...
5866 * boards/local-remote-host-notty.exp: ... this.
5868 2014-04-28 Joel Brobecker <brobecker@adacore.com>
5870 * gdb.ada/dyn_arrayidx: New testcase.
5872 2014-04-26 Yao Qi <yao@codesourcery.com>
5874 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
5875 and compute the length of function main. Save it in
5877 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
5878 (top-level): Use gdb_compile to compile objects into
5879 executable and restart GDB. Remove invocation to
5880 prepare_for_testing.
5882 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
5883 Pedro Alves <palves@redhat.com>
5886 * gdb.multi/multi-attach.c: New file.
5887 * gdb.multi/multi-attach.exp: New file.
5889 2014-04-25 Pedro Alves <palves@redhat.com>
5891 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
5893 (top level): Test that "set remote conditional-breakpoints-packet
5894 off" works as intended.
5895 * gdb.base/dprintf.exp: Test that "set remote
5896 breakpoint-commands-packet off" works as intended.
5897 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
5899 (top level): Call it.
5900 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
5901 remote fast-tracepoints-packet off" works as intended.
5902 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
5903 * lib/gdb.exp (gdb_is_target_remote): ... here.
5905 2014-04-24 David Blaikie <dblaikie@gmail.com>
5907 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
5908 ensure clang would not discard them.
5909 * gdb.base/gdbvars.c: Ditto.
5910 * gdb.base/memattr.c: Ditto.
5911 * gdb.base/whatis.c: Ditto.
5912 * gdb.python/py-prettyprint.c: Ditto.
5913 * gdb.trace/actions.c: Ditto.
5914 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
5915 ensure clang would not discard it.
5917 2014-04-24 David Blaikie <dblaikie@gmail.com>
5919 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
5920 clang to emit the full definition of type required by the test
5921 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
5923 2014-04-24 David Blaikie <dblaikie@gmail.com>
5925 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
5926 coax Clang into emitting the definition of the type.
5927 * gdb.cp/pr10728-x.h (y): Ditto.
5928 * gdb.cp/pr10728-y.cc (y): Ditto.
5930 2014-04-24 David Blaikie <dblaikie@gmail.com>
5932 * gdb.base/label.exp: XFAIL label related tests under Clang.
5933 * gdb.cp/cplabel.exp: Ditto.
5934 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
5935 under Clang those using labels.
5937 2014-04-25 Yao Qi <yao@codesourcery.com>
5939 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
5941 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
5942 partial_label and double_label.
5944 2014-04-24 David Blaikie <dblaikie@gmail.com>
5946 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
5948 2014-04-24 David Blaikie <dblaikie@gmail.com>
5950 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
5951 of the function to work across GCC and Clang.
5952 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
5953 pointer types (const void ** const V void **).
5955 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
5956 Walfred Tedeschi <walfred.tedeschi@intel.com>
5958 * Makefile.in (EXECUTABLES): Added i386-avx512.
5959 * gdb.arch/i386-avx512.c: New file.
5960 * gdb.arch/i386-avx512.exp: Likewise.
5962 2014-04-23 Keith Seitz <keiths@redhat.com>
5964 * lib/mi-support.exp (mi_list_breakpoints): Delete.
5965 (mi_make_breakpoint_table): New procedure.
5966 (mi_create_breakpoint): Use mi_make_breakpoint
5967 and return the result.
5968 (mi_make_breakpoint): New procedure.
5969 (mi_build_kv_pairs): New procedure.
5971 * gdb.mi/mi-break.exp: Remove unused globals,
5972 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
5973 All callers updated.
5974 * gdb.mi/mi-dprintf.exp: Use variable to track command
5976 Update all callers of mi_create_breakpoint and use
5977 mi_make_breakpoint_table.
5978 Remove any unused global variables.
5979 * gdb.mi/mi-nonstop.exp: Likewise.
5980 * gdb.mi/mi-nsintrall.exp: Likewise.
5981 * gdb.mi/mi-nsmoribund.exp: Likewise.
5982 * gdb.mi/mi-nsthrexec.exp: Likewise.
5983 * gdb.mi/mi-reverse.exp: Likewise.
5984 * gdb.mi/mi-simplerun.exp: Likewise.
5985 * gdb.mi/mi-stepn.exp: Likewise.
5986 * gdb.mi/mi-syn-frame.exp: Likewise.
5987 * gdb.mi/mi-until.exp: Likewise.
5988 * gdb.mi/mi-var-cp.exp: Likewise.
5989 * gdb.mi/mi-var-display.exp: Likewise.
5990 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
5991 * gdb.mi/mi2-var-child.exp: Likewise.
5992 * gdb.mi/mi-vla-c99.exp: Likewise.
5993 * lib/mi-support.exp: Likewise.
5995 From Ian Lance Taylor <iant@cygnus.com>:
5996 * lib/gdb.exp (parse_args): New procedure.
5998 2014-04-23 Pedro Alves <palves@redhat.com>
6000 * gdb.base/break-unload-file.c: New file.
6001 * gdb.base/break-unload-file.exp: New file.
6002 * gdb.base/sym-file-lib.c (baz): New function.
6003 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6005 (load): Store the segment's mapped size.
6006 (unload): New function.
6007 (unload_shlib): New function.
6008 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6009 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6010 set a breakpoint at baz, and call it.
6011 * gdb.base/sym-file.exp: New tests for stale breakpoint
6014 2014-04-23 Pedro Alves <palves@redhat.com>
6016 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6017 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6018 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6019 * gdb.base/hbreak-unmapped.c: New file.
6020 * gdb.base/hbreak-unmapped.exp: New file.
6021 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6022 * lib/gdb.exp (gdb_is_target_remote): ... here.
6024 2014-04-22 Pedro Alves <palves@redhat.com>
6026 * gdb.base/consecutive-step-over.c: New file.
6027 * gdb.base/consecutive-step-over.exp: New file.
6029 2014-04-22 Pedro Alves <palves@redhat.com>
6031 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6032 instead of send_gdb/gdb_expect.
6034 2014-04-22 Yao Qi <yao@codesourcery.com>
6036 * lib/trace-support.exp (generate_tracefile): New procedure.
6037 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6039 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6040 if generate_tracefile returns 1.
6042 2014-04-18 Tom Tromey <palves@redhat.com>
6043 Pedro alves <tromey@redhat.com>
6046 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6047 with a backtrace limit.
6048 * gdb.python/py-frame-inline.exp: Test running to an inline
6049 function with a backtrace limit, and printing the newest frame.
6050 * gdb.python/py-frame-inline.c (main): Call f.
6052 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6054 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6056 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6058 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6059 Drop prefix from unsupported source file path.
6061 2014-04-17 Yao Qi <yao@codesourcery.com>
6063 * lib/gdb.exp (with_target_charset): New proc.
6064 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6065 with_target_charset.
6066 (test_print_strings): Likewise.
6067 (test_repeat_bytes): Likewise.
6068 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6071 2014-04-16 Keith Seitz <keiths@redhat.com>
6074 * gdb.dwarf2/corrupt.c: New file.
6075 * gdb.dwarf2/corrupt.exp: New file.
6077 2014-04-16 Keith Seitz <keiths@redhat.com>
6080 * gdb.cp/namelessclass.cc: New file.
6081 * gdb.cp/namelessclass.exp: New file.
6082 * gdb.cp/namelessclass.S: New file.
6084 2014-04-16 Doug Evans <dje@google.com>
6086 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6088 (gdbserver_default_get_comm_port): New function.
6089 (gdbserver_start): Check if board file provided
6090 "gdbserver,get_comm_port" and use it if so.
6091 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6092 (gdb,socketport): Set to "stdio".
6093 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6094 (stdio_gdbserver_template): Delete.
6095 (${board}_get_remote_address): Update.
6096 (${board}_build_remote_cmd): Delete.
6097 (${board}_get_comm_port): New function.
6098 (${board}_spawn): Update.
6099 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6101 (${board}_get_remote_address): Update.
6102 (${board}_get_comm_port): New function.
6104 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
6106 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6107 appearing in any order.
6109 2014-04-15 Doug Evans <dje@google.com>
6111 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6112 uninitialized value of "description".
6114 2014-04-15 Keith Seitz <keiths@redhat.com>
6116 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6117 Remove unused globals.
6118 (test_running_the_program): Likewise.
6119 (test_controlled_execution): Likewise.
6120 (test_controlling_breakpoints): Likewise.
6121 (test_program_termination): Likewise.
6123 2014-04-15 Keith Seitz <keiths@redhat.com>
6125 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6127 (test_rbreak_creation_and_listing): Likewise.
6128 (test_ignore_count): Likewise.
6129 (test_error): Likewise.
6131 2014-04-15 Pedro Alves <palves@redhat.com>
6133 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6134 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6136 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6137 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6138 to sym-file-loader.c.
6139 (struct library): Forward declare.
6140 (load_shlib, lookup_function): Change prototypes.
6141 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6142 (translate_offset): Remove declarations.
6143 (get_text_addr): New declaration.
6144 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
6145 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
6147 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6148 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6149 here from sym-file-loader.h.
6150 (struct library): New structure.
6151 (load_shlib, lookup_function): Change prototypes and adjust to
6152 work with a struct library.
6153 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6154 (translate_offset): Make static.
6155 (get_text_addr): New function.
6156 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
6158 2014-04-15 Pedro Alves <palves@redhat.com>
6160 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
6162 2014-04-15 Pedro Alves <palves@redhat.com>
6164 * gdb.base/sym-file-loader.c: Include <limits.h>.
6165 (SELF_LINK): New define.
6166 (get_origin): New function.
6167 (load_shlib): Use it.
6168 * gdb.base/sym-file.exp: Don't early return if the target is
6169 remote. Use runto_main, and issue fail is that fails. Use
6171 (shlib_name): Delete.
6172 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
6174 2014-04-15 Pedro Alves <palves@redhat.com>
6176 * gdb.base/sym-file.exp: Remove regex characters from test
6177 message. Don't refer to breakpoint numbers in test messages.
6179 2014-04-14 Keith Seitz <keiths@redhat.com>
6182 * gdb.cp/var-tag.cc: New file.
6183 * gdb.cp/var-tag.exp: New file.
6184 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6185 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6186 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6187 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6189 2014-04-14 Tom Tromey <tromey@redhat.com>
6191 * gdb.cp/classes.exp (test_enums): Handle underlying type.
6192 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
6194 * gdb.cp/enum-class.exp: New file.
6195 * gdb.cp/enum-class.cc: New file.
6197 2014-04-14 Tom Tromey <tromey@redhat.com>
6199 * gdb.dwarf2/enum-type.exp: New file.
6201 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6203 * gdb.mi/mi-vla-c99.exp: New file.
6204 * gdb.mi/vla.c: New file.
6206 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6208 * gdb.base/vla-datatypes.c: New file.
6209 * gdb.base/vla-datatypes.exp: New file.
6211 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6213 * gdb.base/vla-ptr.c: New file.
6214 * gdb.base/vla-ptr.exp: New file.
6216 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6218 * gdb.dwarf2/count.exp: New file.
6220 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6222 * gdb.base/vla-sideeffect.c: New file.
6223 * gdb.base/vla-sideeffect.exp: New file.
6225 2014-04-14 David Blaikie <dblaikie@gmail.com>
6227 * gdb.mi/non-stop.c: Add return value for non-void function return
6229 * gdb.threads/staticthreads.c: Ditto.
6231 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6232 Doug Evans <xdje42@gmail.com>
6234 * gdb.guile/scm-value.c: Improve test case.
6235 * gdb.guile/scm-value.exp: Add new test.
6237 2014-04-11 David Blaikie <dblaikie@gmail.com>
6239 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
6240 override Clang's default.
6242 2014-04-11 Joel Brobecker <brobecker@adacore.com>
6244 Revert the following changes (regressions):
6246 * gdb.base/vla-sideeffect.c: New file.
6247 * gdb.base/vla-sideeffect.exp: New file.
6249 * gdb.dwarf2/count.exp: New file.
6251 * gdb.base/vla-multi.c: New file.
6252 * gdb.base/vla-multi.exp: New file.
6254 * gdb.base/vla-ptr.c: New file.
6255 * gdb.base/vla-ptr.exp: New file.
6257 * gdb.base/vla-datatypes.c: New file.
6258 * gdb.base/vla-datatypes.exp: New file.
6260 * gdb.mi/mi-vla-c99.exp: New file.
6261 * gdb.mi/vla.c: New file.
6263 2014-04-11 Keith Seitz <keiths@redhat.com>
6266 * gdb.cp/cpsizeof.exp: New file.
6267 * gdb.cp/cpsizeof.cc: New file.
6269 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6271 * gdb.mi/mi-vla-c99.exp: New file.
6272 * gdb.mi/vla.c: New file.
6274 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6276 * gdb.base/vla-datatypes.c: New file.
6277 * gdb.base/vla-datatypes.exp: New file.
6279 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6281 * gdb.base/vla-ptr.c: New file.
6282 * gdb.base/vla-ptr.exp: New file.
6284 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6286 * gdb.base/vla-multi.c: New file.
6287 * gdb.base/vla-multi.exp: New file.
6289 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6291 * gdb.dwarf2/count.exp: New file.
6293 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6295 * gdb.base/vla-sideeffect.c: New file.
6296 * gdb.base/vla-sideeffect.exp: New file.
6298 2014-04-11 Yao Qi <yao@codesourcery.com>
6300 * gdb.base/completion.exp: Check file exists before running tests
6303 2014-04-10 Pedro Alves <palves@redhat.com>
6305 * gdb.base/cond-eval-mode.c: New file.
6306 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
6307 prepare_for_testing to build the new file. Check result of
6309 (test_break, test_watch): New procedures.
6310 (top level): Use them.
6312 2014-04-08 Pierre Muller <muller@sourceware.org>
6314 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
6315 Ctrl-V use for mingw hosts.
6317 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6319 * gdb.python/py-value.c: Improve test case.
6320 * gdb.python/py-value.exp: Add new test.
6322 2014-04-07 David Blaikie <dblaikie@gmail.com>
6324 * lib/compiler.c: Identify the clang compiler.
6325 * lib/compiler.cc: Ditto.
6327 2014-04-03 Yao Qi <yao@codesourcery.com>
6329 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
6331 2014-04-01 Anton Blanchard <anton@samba.org>
6333 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
6336 2014-04-01 Anton Blanchard <anton@samba.org>
6338 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
6339 prepare_for_testing.
6341 2014-04-01 Anton Blanchard <anton@samba.org>
6343 * gdb.arch/ppc64-atomic-inst.c: Remove.
6344 * gdb.arch/ppc64-atomic-inst.S: New file.
6345 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
6347 2014-03-31 Doug Evans <dje@google.com>
6349 * gdb.base/print-symbol-loading-lib.c: New file.
6350 * gdb.base/print-symbol-loading-main.c: New file.
6351 * gdb.base/print-symbol-loading.exp: New file.
6353 2014-03-31 Yao Qi <yao@codesourcery.com>
6355 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
6357 2014-03-28 Joel Brobecker <brobecker@adacore.com>
6359 * gdb.ada/mi_dyn_arr: New testcase.
6361 2014-03-27 Doug Evans <dje@google.com>
6363 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
6365 2014-03-27 Yao Qi <yao@codesourcery.com>
6367 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
6368 if target is nios2-*-*.
6370 2014-03-26 Yao Qi <yao@codesourcery.com>
6372 * lib/gdb.exp (readline_is_used): New proc.
6373 * gdb.base/completion.exp: Move tests on command complete up.
6374 Skip the rest of tests if readline is not used.
6375 * gdb.ada/complete.exp: Skp the test if readline is not
6377 * gdb.base/filesym.exp: Likewise.
6378 * gdb.base/macscp.exp: Likewise.
6379 * gdb.base/readline-ask.exp: Likewise.
6380 * gdb.base/readline.exp: Likewise.
6381 * gdb.python/py-cmd.exp: Likewise.
6382 * gdb.trace/tfile.exp: Likewise.
6384 2014-03-26 Yao Qi <yao@codesourcery.com>
6386 * gdb.base/macscp.exp: Fix code format issues.
6388 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
6390 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
6391 * gdb.asm/powerpc64le.inc: New file.
6393 2014-03-25 Pedro Alves <palves@redhat.com>
6394 Doug Evans <dje@google.com>
6396 * gdb.base/source-execution.c: New file.
6397 * gdb.base/source-execution.exp: New file.
6398 * gdb.base/source-execution.gdb: New file.
6400 2014-03-24 Doug Evans <dje@google.com>
6402 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
6405 2014-03-24 Hui Zhu <hui@codesourcery.com>
6406 Pedro Alves <palves@redhat.com>
6408 PR breakpoints/16101
6409 * gdb.base/dprintf.exp: Use unsupported rather than changing the
6410 test pass/fail messages. Detect missing support for dprintf when
6411 breakpoints are actually inserted.
6412 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
6413 breakpoints are actually inserted.
6414 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
6417 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6419 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
6421 2014-03-22 Doug Evans <xdje42@gmail.com>
6423 * gdb.python/python.exp (python not supported): Verify multi-line
6424 python command issues an error.
6425 * gdb.guile/guile.exp (guile not supported): Verify multi-line
6426 guile command issues an error.
6428 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
6430 * gdb.threads/thread-specific.exp: Handle the lack of usable
6431 $this_breakpoint and $this_thread.
6433 2014-03-21 Hui Zhu <hui@codesourcery.com>
6435 * gdb.base/attach.exp (do_command_attach_tests): New.
6437 2014-03-20 Tom Tromey <tromey@redhat.com>
6438 Pedro Alves <palves@redhat.com>
6441 * gdb.base/condbreak-call-false.c: New file.
6442 * gdb.base/condbreak-call-false.exp: New file.
6444 2014-03-20 Pedro Alves <palves@redhat.com>
6446 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
6448 (block_signals, unblock_signals): Delete.
6449 (child_function_2, main): Remove references to deleted variable
6452 2014-03-20 Pedro Alves <palves@redhat.com>
6454 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
6455 Use pthread_kill to signal thread 2.
6456 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6457 Adjust to make the test send itself a signal rather than using the
6458 host's "kill" command.
6460 2014-03-20 Pedro Alves <palves@redhat.com>
6462 * gdb.threads/multiple-step-overs.c: New file.
6463 * gdb.threads/multiple-step-overs.exp: New file.
6464 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6465 Adjust expected infrun debug output.
6467 2014-03-20 Pedro Alves <palves@redhat.com>
6469 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
6470 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
6472 2014-03-20 Pedro Alves <palves@redhat.com>
6475 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
6476 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
6477 of gdb_test_multiple.
6478 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
6479 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
6481 2014-03-20 Pedro Alves <palves@redhat.com>
6483 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
6484 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
6486 2014-03-19 Pedro Alves <palves@redhat.com>
6488 * gdb.base/async.exp: Remove early return.
6490 2014-03-19 Pedro Alves <palves@redhat.com>
6492 * gdb.base/async.exp (step& tests): Pass explicit test messages.
6494 2014-03-19 Pedro Alves <palves@redhat.com>
6496 * gdb.base/async.exp (test_background): Expect \r\n after
6497 "completed." in the fail pattern.
6499 2014-03-19 Pedro Alves <palves@redhat.com>
6501 * gdb.base/async.exp (test_background): New procedure.
6502 Use it for all background execution command tests.
6504 2014-03-19 Pedro Alves <palves@redhat.com>
6506 * gdb.base/async.exp: Use prepare_for_testing.
6508 2014-03-19 Pedro Alves <palves@redhat.com>
6510 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
6513 2014-03-19 Pedro Alves <palves@redhat.com>
6515 * gdb.base/async.c (main): Add "jump here" and "until here" line
6517 * gdb.base/async.exp (jump_here): New global.
6518 (jump& test): Use it.
6519 (until_here): New global.
6520 (until& test): Use it.
6522 2014-03-19 Pedro Alves <palves@redhat.com>
6524 * gdb.base/async.exp: Don't frob gdb_protocol.
6526 2014-03-18 Doug Evans <xdje42@gmail.com>
6528 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
6529 Fix spelling of exec-done-display.
6531 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6534 * gdb.base/gdb-sigterm.c: New file.
6535 * gdb.base/gdb-sigterm.exp: New file.
6537 2014-03-18 Pedro Alves <palves@redhat.com>
6540 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
6541 * lib/mi-support.exp (mi_expect_stop): Add special handling for
6544 2014-03-17 Joel Brobecker <brobecker@adacore.com>
6546 * gdb.ada/pckd_arr_ren: New testcase.
6548 2014-03-13 Doug Evans <xdje42@gmail.com>
6551 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
6552 collect after discarding symbols.
6554 2014-03-13 Ludovic Courtès <ludo@gnu.org>
6555 Doug Evans <xdje42@gmail.com>
6557 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
6558 to history survives a gc.
6560 2014-03-13 Pedro Alves <palves@redhat.com>
6562 * gdb.base/default.exp: Don't test "target procfs".
6564 2014-03-13 Pedro Alves <palves@redhat.com>
6566 * gdb.base/default.exp: Update "target child" and "target procfs"
6567 tests to not expect "Unix".
6569 2014-03-12 Tom Tromey <tromey@redhat.com>
6571 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
6572 New procs. Add target-async tests.
6573 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
6574 Add target-async tests.
6576 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6578 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
6579 'func_start' and 'func_end' for the beginning and end of the
6580 function code, respectively.
6581 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
6582 'func_end' instead of 'func' and 'main'.
6584 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6586 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
6587 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
6588 generate the debug info assembler source.
6590 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6592 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
6593 * gdb.dwarf2/arr-subrange.exp: Likewise.
6594 * gdb.dwarf2/dwz.exp: Likewise.
6595 * gdb.dwarf2/method-ptr.exp: Likewise.
6596 * gdb.dwarf2/missing-sig-type.exp: Likewise.
6597 * gdb.dwarf2/subrange.exp: Likewise.
6598 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
6599 * gdb.dwarf2/implptrpiece.exp: Likewise.
6600 * gdb.dwarf2/nostaticblock.exp: Likewise.
6602 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6604 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
6605 directory to absolute path name arguments.
6607 2014-03-10 Joel Brobecker <brobecker@adacore.com>
6609 * gdb.ada/tagged_access: New testcase.
6611 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
6613 * gdb.btrace/data.exp: Update expected output.
6615 2014-03-06 Yao Qi <yao@codesourcery.com>
6617 * gdb.trace/pr16508.exp: New file.
6619 2014-03-05 Pedro Alves <palves@redhat.com>
6622 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
6624 (top level): Adjust to use it. Add tests that exercise breakpoint
6625 interaction with the code-cache.
6627 2014-02-26 Ludovic Courtès <ludo@gnu.org>
6629 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
6630 test for 'history-append!'.
6632 2014-02-26 Joel Brobecker <brobecker@adacore.com>
6634 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
6635 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
6636 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
6637 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
6638 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
6639 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
6641 2014-02-26 Joel Brobecker <brobecker@adacore.com>
6643 * testsuite/gdb.python/py-pp-re-notag.c: New file.
6644 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
6645 * testsuite/gdb.python/py-pp-re-notag.p: New file.
6647 2014-02-26 Joel Brobecker <brobecker@adacore.com>
6649 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
6651 2014-02-26 Joel Brobecker <brobecker@adacore.com>
6653 * gdb.dwarf2/arr-stride.c: New file.
6654 * gdb.dwarf2/arr-stride.exp: New file.
6656 2014-02-26 Pedro Alves <palves@redhat.com>
6658 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
6659 that won't ever trigger. Make sure that GDB reports the correct
6660 breakpoint that caused the stop.
6662 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6665 * gdb.base/auto-load-script: New file.
6666 * gdb.base/auto-load.c: New file.
6667 * gdb.base/auto-load.exp: New file.
6670 * gdb.base/auto-load.exp: Fix out-of-srctree run.
6672 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6674 Fix dw2-icycle.exp -fsanitize=address GDB crash.
6675 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
6677 2014-02-24 Doug Evans <dje@google.com>
6679 * lib/gdb.exp (run_on_host): Log error output if program fails.
6681 2014-02-21 Pedro Alves <palves@redhat.com>
6683 * gdb.threads/step-after-sr-lock.c: Rename to ...
6684 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
6685 * gdb.threads/step-after-sr-lock.exp: Rename to ...
6686 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6689 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
6692 * gdb.arch/amd64-stap-special-operands.exp: New file.
6693 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
6694 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
6695 * gdb.arch/amd64-stap-triplet.S: Likewise.
6696 * gdb.arch/amd64-stap-triplet.c: Likewise.
6698 2014-02-20 Joel Brobecker <brobecker@adacore.com>
6700 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
6701 in .section pseudo-op.
6703 2014-02-20 lin zuojian <manjian2006@gmail.com>
6704 Joel Brobecker <brobecker@adacore.com>
6705 Doug Evans <xdje42@gmail.com>
6708 * gdb.dwarf2/dw2-icycle.S: New file.
6709 * gdb.dwarf2/dw2-icycle.c: New file.
6710 * gdb.dwarf2/dw2-icycle.exp: New file.
6712 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
6714 * gdb.python/py-value-cc.cc: Improve test case to enable testing
6715 operations on gdb.Value objects.
6716 * gdb.python/py-value-cc.exp: Add new test to test operations on
6719 2014-02-18 Doug Evans <dje@google.com>
6721 * Makefile.in (TESTS): New variable.
6722 (expanded_tests, expanded_tests_or_none): New variables
6723 (check-single): Pass $(expanded_tests_or_none) to runtest.
6724 (check-parallel): Only run tests in $(TESTS) if non-empty.
6725 (check/no-matching-tests-found): New rule.
6726 * README: Document TESTS makefile variable.
6728 2014-02-18 Doug Evans <dje@google.com>
6730 * Makefile.in (check-parallel): rm -rf outputs temp.
6732 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6734 Fix "ERROR: no fileid for" in the testsuite.
6735 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
6737 2014-02-12 Doug Evans <dje@google.com>
6739 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
6740 (MISCELLANEOUS): New variable.
6741 (clean): rm -rf $(MISCELLANEOUS).
6742 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
6743 dwp live in the same directory as symlinks, with each symlink pointed
6744 to a differently named file in a different directory.
6746 2014-02-11 Doug Evans <dje@google.com>
6748 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
6749 of Tcl file commands.
6751 2014-02-10 Mark Kettenis <kettenis@gnu.org>
6753 * gdb.threads/step-after-sr-lock.exp: Avoid executing
6756 2014-02-10 Joel Brobecker <brobecker@adacore.com>
6758 * gdb.ada/tick_length_array_enum_idx: New testcase.
6760 2014-02-10 Doug Evans <xdje42@gmail.com>
6762 * configure.ac (AC_OUTPUT): Add gdb.guile.
6763 * configure: Regenerate.
6764 * lib/gdb-guile.exp: New file.
6765 * lib/gdb.exp (get_target_charset): New function.
6766 * gdb.base/help.exp: Update expected output from "apropos apropos".
6767 * gdb.guile/Makefile.in: New file.
6768 * gdb.guile/guile.exp: New file.
6769 * gdb.guile/scm-arch.c: New file.
6770 * gdb.guile/scm-arch.exp: New file.
6771 * gdb.guile/scm-block.c: New file.
6772 * gdb.guile/scm-block.exp: New file.
6773 * gdb.guile/scm-breakpoint.c: New file.
6774 * gdb.guile/scm-breakpoint.exp: New file.
6775 * gdb.guile/scm-disasm.c: New file.
6776 * gdb.guile/scm-disasm.exp: New file.
6777 * gdb.guile/scm-equal.c: New file.
6778 * gdb.guile/scm-equal.exp: New file.
6779 * gdb.guile/scm-error.exp: New file.
6780 * gdb.guile/scm-error.scm: New file.
6781 * gdb.guile/scm-frame-args.c: New file.
6782 * gdb.guile/scm-frame-args.exp: New file.
6783 * gdb.guile/scm-frame-args.scm: New file.
6784 * gdb.guile/scm-frame-inline.c: New file.
6785 * gdb.guile/scm-frame-inline.exp: New file.
6786 * gdb.guile/scm-frame.c: New file.
6787 * gdb.guile/scm-frame.exp: New file.
6788 * gdb.guile/scm-generics.exp: New file.
6789 * gdb.guile/scm-gsmob.exp: New file.
6790 * gdb.guile/scm-iterator.c: New file.
6791 * gdb.guile/scm-iterator.exp: New file.
6792 * gdb.guile/scm-math.c: New file.
6793 * gdb.guile/scm-math.exp: New file.
6794 * gdb.guile/scm-objfile-script-gdb.in: New file.
6795 * gdb.guile/scm-objfile-script.c: New file.
6796 * gdb.guile/scm-objfile-script.exp: New file.
6797 * gdb.guile/scm-objfile.c: New file.
6798 * gdb.guile/scm-objfile.exp: New file.
6799 * gdb.guile/scm-ports.exp: New file.
6800 * gdb.guile/scm-pretty-print.c: New file.
6801 * gdb.guile/scm-pretty-print.exp: New file.
6802 * gdb.guile/scm-pretty-print.scm: New file.
6803 * gdb.guile/scm-section-script.c: New file.
6804 * gdb.guile/scm-section-script.exp: New file.
6805 * gdb.guile/scm-section-script.scm: New file.
6806 * gdb.guile/scm-symbol.c: New file.
6807 * gdb.guile/scm-symbol.exp: New file.
6808 * gdb.guile/scm-symtab-2.c: New file.
6809 * gdb.guile/scm-symtab.c: New file.
6810 * gdb.guile/scm-symtab.exp: New file.
6811 * gdb.guile/scm-type.c: New file.
6812 * gdb.guile/scm-type.exp: New file.
6813 * gdb.guile/scm-value-cc.cc: New file.
6814 * gdb.guile/scm-value-cc.exp: New file.
6815 * gdb.guile/scm-value.c: New file.
6816 * gdb.guile/scm-value.exp: New file.
6817 * gdb.guile/source2.scm: New file.
6818 * gdb.guile/types-module.cc: New file.
6819 * gdb.guile/types-module.exp: New file.
6821 2014-02-10 Yao Qi <yao@codesourcery.com>
6824 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
6825 * configure: Regenerated.
6826 * Makefile.in: New file.
6828 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
6830 * gdb.python/py-framefilter.exp: Fix typo.
6832 2014-02-08 Yao Qi <yao@codesourcery.com>
6834 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
6835 that no =breakpoint-modified is emitted when breakpoints are
6836 modified through MI commands.
6838 2014-02-07 Pedro Alves <pedro@codesourcery.com>
6839 Pedro Alves <palves@redhat.com>
6841 * gdb.threads/step-after-sr-lock.c: New file.
6842 * gdb.threads/step-after-sr-lock.exp: New file.
6844 2014-02-07 Pedro Alves <palves@redhat.com>
6846 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
6848 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6850 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
6851 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
6853 2014-02-06 Doug Evans <xdje42@gmail.com>
6855 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
6858 * gdb.gdb/python-interrupts.exp: New file.
6860 2014-02-05 Yao Qi <yao@codesourcery.com>
6862 * gdb.trace/report.exp (use_collected_data): Test the output
6863 of "info threads" and "info inferiors".
6865 2014-02-05 Yao Qi <yao@codesourcery.com>
6869 2013-05-24 Yao Qi <yao@codesourcery.com>
6871 * gdb.trace/tfile.exp: Test inferior and thread.
6873 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6875 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
6877 * gdb.base/step-bt.c: Call hello via function pointer to make
6878 sure its first instruction is executed on powerpc64le-linux.
6880 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6882 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
6884 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6886 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
6887 of the test patterns for use on little-endian systems.
6889 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6891 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
6892 (decimal_vector): Fix for little-endian.
6894 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
6896 * gdb.arch/sparc-sysstep.exp: New file.
6897 * gdb.arch/sparc-sysstep.c: Likewise.
6899 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
6901 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6903 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
6905 2014-01-23 Tom Tromey <tromey@redhat.com>
6907 * gdb.ada/array_char_idx: New testcase.
6909 2014-01-23 Tom Tromey <tromey@redhat.com>
6912 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
6913 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
6916 2014-01-23 Tom Tromey <tromey@redhat.com>
6919 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
6920 string from an inferior frame.
6921 * gdb.python/py-framefilter-mi.exp: Update.
6923 2014-01-22 Doug Evans <dje@google.com>
6925 * gdb.server/server-mon.exp: Add tests for "set debug-format".
6927 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6929 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
6931 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6933 * gdb.trace/entry-values.exp: Remove excess space character from
6934 regex patterns. Handle s390 call instruction.
6936 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6938 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
6939 define "*_start" label. Make "name" static.
6940 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
6941 ${name} by references to ${name}_start.
6943 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6945 * gdb.base/info-macros.exp: Remove "debug" from the compile
6948 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6950 * gdb.dlang/demangle.exp: New file.
6952 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6954 * gdb.dlang/primitive-types.exp: New file.
6956 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6958 * configure.ac: Create gdb.dlang/Makefile.
6959 * configure: Regenerate.
6960 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
6961 * gdb.dlang/Makefile.in: New file.
6962 * lib/d-support.exp: New file.
6963 * lib/gdb.exp (skip_d_tests): New proc.
6965 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6967 * gdb.btrace/delta.exp: Check reverse stepi.
6968 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
6969 * gdb.btrace/finish.exp: New.
6970 * gdb.btrace/next.exp: New.
6971 * gdb.btrace/nexti.exp: New.
6972 * gdb.btrace/record_goto.c: Add comments.
6973 * gdb.btrace/step.exp: New.
6974 * gdb.btrace/stepi.exp: New.
6975 * gdb.btrace/multi-thread-step.c: New.
6976 * gdb.btrace/multi-thread-step.exp: New.
6977 * gdb.btrace/rn-dl-bind.c: New.
6978 * gdb.btrace/rn-dl-bind.exp: New.
6979 * gdb.btrace/data.c: New.
6980 * gdb.btrace/data.exp: New.
6981 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
6983 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6985 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
6986 * gdb.btrace/exception.exp: Update.
6987 * gdb.btrace/instruction_history.exp: Update.
6988 * gdb.btrace/record_goto.exp: Update.
6989 * gdb.btrace/tailcall.exp: Update.
6990 * gdb.btrace/unknown_functions.exp: Update.
6991 * gdb.btrace/delta.exp: New.
6993 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6995 * gdb.btrace/record_goto.exp: Add backtrace test.
6996 * gdb.btrace/tailcall.exp: Add backtrace test.
6998 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7000 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7001 * gdb.btrace/record_goto.c: New.
7002 * gdb.btrace/record_goto.exp: New.
7003 * gdb.btrace/x86-record_goto.S: New.
7005 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7007 * gdb.btrace/function_call_history.exp: Update tests.
7008 * gdb.btrace/instruction_history.exp: Update tests.
7010 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7012 * gdb.btrace/function_call_history.exp: Fix expected field
7013 order for "record function-call-history".
7014 Add new tests for "record function-call-history /c".
7015 * gdb.btrace/exception.cc: New.
7016 * gdb.btrace/exception.exp: New.
7017 * gdb.btrace/tailcall.exp: New.
7018 * gdb.btrace/x86-tailcall.S: New.
7019 * gdb.btrace/x86-tailcall.c: New.
7020 * gdb.btrace/unknown_functions.c: New.
7021 * gdb.btrace/unknown_functions.exp: New.
7022 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7024 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7026 * gdb.btrace/instruction_history.exp: Update.
7027 * gdb.btrace/function_call_history.exp: Update.
7029 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7031 * gdb.btrace/function_call_history.exp: Fix expected function
7033 * gdb.btrace/instruction_history.exp: Initialize traced.
7034 Remove traced_functions.
7036 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7038 * gdb.btrace/function_call_history.exp: Update
7039 * gdb.btrace/instruction_history.exp: Update.
7041 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7043 * gdb.btrace/enable.exp: Update expected text.
7045 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7047 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7050 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7052 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7054 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
7056 * lib/gdb.exp (supports_process_record): Return true for
7057 arm*-linux*. (supports_reverse): Likewise.
7059 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7063 * gdb.python/py-type.c: Enhance test case.
7064 * gdb.python/py-value-cc.cc: Likewise
7065 * gdb.python/py-type.exp: Add new tests.
7066 * gdb.python/py-value-cc.exp: Likewise
7068 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7069 Pedro Alves <palves@redhat.com>
7071 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7073 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7074 references to ${name}_start by references to ${name}.
7076 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7078 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7080 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7082 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7084 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7085 Pedro Alves <palves@redhat.com>
7087 * gdb.mi/mi-info-os.exp: Connect to the target with
7090 2014-01-08 Pedro Alves <palves@redhat.com>
7092 * gdb.threads/reconnect-signal.c: New file.
7093 * gdb.threads/reconnect-signal.exp: New file.
7095 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7097 * gdb.base/source-dir.exp: New file.
7099 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7101 * gdb.ada/mi_interface: New testcase.
7103 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7105 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7106 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7107 gdb.ada/pp-rec-component/pck.ads: New files.
7109 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7111 * gdb.python/py-pp-integral.c: New file.
7112 * gdb.python/py-pp-integral.py: New file.
7113 * gdb.python/py-pp-integral.exp: New file.
7115 For older changes see ChangeLog-1993-2013.
7121 ;; version-control: never
7124 Copyright 2014-2016 Free Software Foundation, Inc.
7125 Copying and distribution of this file, with or without modification,
7126 are permitted provided the copyright notice and this notice are preserved.