1 2015-10-21 Keven Boell <keven.boell@intel.com>
3 * gdb.fortran/vla-alloc-assoc.exp: New file.
4 * gdb.fortran/vla-datatypes.exp: New file.
5 * gdb.fortran/vla-datatypes.f90: New file.
6 * gdb.fortran/vla-history.exp: New file.
7 * gdb.fortran/vla-ptype-sub.exp: New file.
8 * gdb.fortran/vla-ptype.exp: New file.
9 * gdb.fortran/vla-sizeof.exp: New file.
10 * gdb.fortran/vla-sub.f90: New file.
11 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
12 * gdb.fortran/vla-value-sub-finish.exp: New file.
13 * gdb.fortran/vla-value-sub.exp: New file.
14 * gdb.fortran/vla-value.exp: New file.
15 * gdb.fortran/vla-ptr-info.exp: New file.
16 * gdb.mi/mi-vla-fortran.exp: New file.
17 * gdb.mi/vla.f90: New file.
19 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
21 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
22 of hardwired timeout value.
24 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
25 Pedro Alves <palves@redhat.com>
27 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
28 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
30 2015-10-19 Josh Stone <jistone@redhat.com>
32 * gdb.base/catch-syscall.c: Include <sched.h>.
33 (unknown_syscall): New variable.
34 (main): Trigger a vfork and an unknown syscall.
35 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
36 (unknown_syscall_number): Likewise.
37 (check_call_to_syscall): Accept an optional syscall pattern.
38 (check_return_from_syscall): Likewise.
39 (check_continue): Likewise.
40 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
41 (test_catch_syscall_skipping_return): New test toggling off 'catch
42 syscall' to step over the syscall return, then toggling back on.
43 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
44 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
45 (do_syscall_tests): Call test_catch_syscall_without_args and
46 test_catch_syscall_mid_vfork.
47 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
48 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
50 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
52 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
53 print g_vE): Add new pass patterns.
54 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
55 print various symbol names for vptr fields.
57 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
59 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
62 2015-10-12 Yao Qi <yao.qi@linaro.org>
64 * gdb.arch/disp-step-insn-reloc.exp: New test case.
66 2015-10-12 Yao Qi <yao.qi@linaro.org>
68 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
71 2015-10-12 Yao Qi <yao.qi@linaro.org>
73 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
74 (can_relocate_bcond_true): ... it.
75 (can_relocate_bcond_false): New function.
77 (can_relocate_bl): Likewise.
78 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
81 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
83 * gdb.base/nested-addr.c: New file.
84 * gdb.base/nested-addr.exp: New testcase.
86 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
88 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
89 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
90 its output. Ignore the output of "record goto begin" and instead
91 check that GDB is replaying.
93 2015-10-09 Pedro Alves <palves@redhat.com>
95 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
96 (top level): Use it in the run with no args test.
98 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
100 * gdb.dlang/properties.exp: New file.
102 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
104 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
105 whether or not address 0x1000 is mapped on the target.
107 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
109 * gdb.python/py-type.exp: Do not run tests if binaries fail to
112 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
114 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
115 instruction-history test.
117 2015-09-28 Doug Evans <dje@google.com>
119 * gdb.base/gcore.c (array_func): Add reference to static_array.
121 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
123 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
126 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
128 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
129 short or char as base type.
131 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
133 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
134 to allow any size enum.
136 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
138 * gdb.ada/array_ptr_renaming.exp: New testcase.
139 * gdb.ada/array_ptr_renaming/foo.adb: New file.
140 * gdb.ada/array_ptr_renaming/pack.ads: New file.
142 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
144 * gdb.trace/ftrace-lock.c: New file.
145 * gdb.trace/ftrace-lock.exp: New file.
147 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
149 * gdb.arch/insn-reloc.c: New file.
150 * gdb.arch/ftrace-insn-reloc.exp: New file.
152 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
154 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
156 * gdb.trace/pendshr1.c (pendfunc): Likewise.
157 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
158 * gdb.trace/range-stepping.c: Likewise.
159 * gdb.trace/trace-break.c: Likewise.
160 * gdb.trace/trace-mt.c (thread_function): Likewise.
161 * gdb.trace/ftrace.c (marker): Likewise.
162 * gdb.trace/trace-condition.c (marker): Likewise.
163 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
164 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
167 2015-09-18 Doug Evans <xdje42@gmail.com>
169 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
170 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
172 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
174 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
177 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
179 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
180 the pending breakpoint. Remove timeout override for "Run till
181 MI pending breakpoint on pendfunc3 on thread 2" test.
183 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
185 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
188 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
190 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
191 in breakpoint filename pattern.
193 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
195 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
197 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
199 * gdb.linespec/explicit.exp: Check for readline support for
200 tab-completion tests. Fix obvious typo.
202 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
204 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
207 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
209 * gdb.btrace/non-stop.c: New.
210 * gdb.btrace/non-stop.exp: New.
212 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
213 Yao Qi <yao.qi@linaro.org>
215 * gdb.trace/trace-condition.c: New file.
216 * gdb.trace/trace-condition.exp: New file.
218 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
220 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
221 for testing bytecode compilation.
223 2015-09-16 Pedro Alves <palves@redhat.com>
224 Sandra Loosemore <sandra@codesourcery.com>
226 * gdb.threads/non-stop-fair-events.c (timeout): New global.
228 (main): Call pthread_kill and alarm early.
229 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
231 (test): If the target can't hardware step and doesn't support
232 displaced stepping, increase the timeout.
234 2015-09-16 Pedro Alves <palves@redhat.com>
236 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
237 (enable_debug): New procedures.
238 (test): Use them. Bail out if waiting for threads fails.
239 (top level): Bail out if a test fails.
241 2015-09-16 Yao Qi <yao.qi@linaro.org>
243 * gdb.asm/asm-source.exp: Set asm-arch for
245 * gdb.asm/aarch64.inc: New file.
247 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
249 * gdb.ada/array_of_variable_length.exp: New testcase.
250 * gdb.ada/array_of_variable_length/foo.adb: New file.
251 * gdb.ada/array_of_variable_length/pck.adb: New file.
252 * gdb.ada/array_of_variable_length/pck.ads: New file.
254 2015-09-15 Doug Evans <dje@google.com>
256 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
257 of function static local variable.
259 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
261 * gdb.threads/tls-so_extern.exp: New test file.
262 * gdb.threads/tls-so_extern.c: New test file.
263 * gdb.threads/tls-so_extern_main.c: New test file.
265 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
267 * gdb.opt/solib-intra-step-lib.c: New file.
268 * gdb.opt/solib-intra-step-main.c: New file.
269 * gdb.opt/solib-intra-step.exp: New file.
271 2015-09-15 Pedro Alves <palves@redhat.com>
273 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
274 gdb_continue_to_breakpoint instead of gdb_test_multiple.
276 2015-09-14 Pedro Alves <palves@redhat.com>
278 * gdb.base/hook-stop-continue.c: Delete.
279 * gdb.base/hook-stop-continue.exp: Delete.
280 * gdb.base/hook-stop-frame.c: Delete.
281 * gdb.base/hook-stop-frame.exp: Delete.
282 * gdb.base/hook-stop.c: New file.
283 * gdb.base/hook-stop.exp: New file.
285 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
287 * gdb.ada/access_to_packed_array.exp: New testcase.
288 * gdb.ada/access_to_packed_array/foo.adb: New file.
289 * gdb.ada/access_to_packed_array/pack.adb: New file.
290 * gdb.ada/access_to_packed_array/pack.ads: New file.
292 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
294 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
297 2015-09-11 Don Breazeal <donb@codesourcery.com>
299 * gdb.base/foll-exec.c: Add copyright header. Fix
301 * gdb.base/foll-exec.exp (zap_session): Delete proc.
302 (do_exec_tests): Use clean_restart in place of zap_session,
303 and for test initialization. Fix formatting issues. Use
304 fail in place of perror.
305 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
306 an expect statement to match an expression with output from
307 the program under debug.
308 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
309 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
310 * gdb.threads/non-ldr-exc-2.exp: Likewise.
311 * gdb.threads/non-ldr-exc-3.exp: Likewise.
312 * gdb.threads/non-ldr-exc-4.exp: Likewise.
314 2015-09-09 Doug Evans <dje@google.com>
316 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
318 2015-09-09 Doug Evans <dje@google.com>
320 * gdb.base/pie-execl.exp: Fix result test of build_executable.
322 2015-09-09 Doug Evans <dje@google.com>
324 * gdb.base/savedregs.exp: Fix typo.
326 2015-09-09 Pedro Alves <palves@redhat.com>
328 * gdb.mi/mi-cli.exp: Add CLI finish tests.
330 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
332 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
333 command actually switches threads. Give up on remaining
334 tests if target fails to stop at breakpoint.
336 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
338 * gdb.ada/funcall_char.exp: New testcase.
339 * gdb.ada/funcall_char/foo.adb: New file.
341 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
343 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
344 expected outputs. Add two testcases for completing ambiguous
346 * gdb.ada/complete/aux_pck.adb: New file.
347 * gdb.ada/complete/aux_pck.ads: New file.
348 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
349 Ambiguous_Func functions.
350 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
351 * gdb.ada/complete/pck.adb: Likewise.
353 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
355 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
356 failures to run the test program under GDB.
358 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
360 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
363 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
365 * gdb.base/run-after-attach.exp: New test file.
366 * gdb.base/run-after-attach.c: New test file.
368 2015-08-26 Don Breazeal <donb@codesourcery.com>
370 * gdb.base/foll-exec-2.c: New test program.
371 * gdb.base/foll-exec-2.exp: New test.
373 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
375 * gdb.base/nested-subp1.exp: New file.
376 * gdb.base/nested-subp1.c: New file.
377 * gdb.base/nested-subp2.exp: New file.
378 * gdb.base/nested-subp2.c: New file.
379 * gdb.base/nested-subp3.exp: New file.
380 * gdb.base/nested-subp3.c: New file.
382 2015-08-24 Pedro Alves <palves@redhat.com>
384 * gdb.server/connect-without-multi-process.c: New file.
385 * gdb.server/connect-without-multi-process.exp: New file.
387 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
389 * gdb.opt/inline-markers.c: Make z int.
391 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
393 * gdb.opt/inline-markers.c: Make z volatile.
395 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
397 * gdb.opt/inline-bt.c: New volatile global z.
398 * gdb.opt/inline-cmds.c: Likewise.
399 * gdb.opt/inline-locals.c: Likewise.
400 * gdb.opt/inline-markers.c: New extern global z.
402 (inline_fn): Likewise.
404 2015-08-24 Pedro Alves <palves@redhat.com>
406 * config/m32r-stub.exp: Remove file.
407 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
408 * gdb.base/call-rt-st.exp: Likewise.
409 * gdb.base/call-strs.exp: Likewise.
410 * gdb.base/default.exp: Remove references to h8300-*-hms and
412 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
414 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
416 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
417 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
418 and "return" use KFAIL when GDB can not read/write the vector
421 2015-08-21 Gary Benson <gbenson@redhat.com>
423 * gdb.trace/pending.exp: Cope with remote transfer warnings.
425 2015-08-20 Pedro Alves <palves@redhat.com>
427 * gdb.server/solib-list.exp: No longer expect an interior stop in
430 2015-08-20 Pedro Alves <palves@redhat.com>
432 * gdb.server/connect-stopped-target.c: New file.
433 * gdb.server/connect-stopped-target.exp: New file.
435 2015-08-20 Pedro Alves <palves@redhat.com>
437 * gdb.dwarf2/comp-unit-lang.exp: New file.
438 * gdb.dwarf2/comp-unit-lang.c: New file.
440 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
442 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
443 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
445 2015-08-19 Kevin Buettner <kevinb@redhat.com>
447 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
448 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
450 2015-08-18 Doug Evans <dje@google.com>
451 Adrian Sendroiu <adrian.sendroiu@freescale.com>
453 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
454 skip_python_tests. New arg prompt_regexp.
455 (skip_python_tests): New function.
456 * lib/mi-support.exp (mi_skip_python_tests): New function.
457 * gdb.python/py-mi-objfile-gdb.py: New file.
458 * gdb.python/py-mi-objfile.c: New file.
459 * gdb.python/py-mi-objfile.exp: New file.
461 2015-08-17 Keith Seitz <keiths@redhat.com>
463 * gdb.linespec/explicit.exp: Move strace test from here ...
464 * gdb.trace/strace.exp: ... to here.
466 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
468 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
469 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
471 2015-08-14 Doug Evans <xdje42@gmail.com>
473 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
474 inferior before selecting a new file.
476 2015-08-14 Doug Evans <xdje42@gmail.com>
478 * gdb.mi/mi-disassemble.exp: Update.
479 * gdb.base/disasm-optim.S: New file.
480 * gdb.base/disasm-optim.c: New file.
481 * gdb.base/disasm-optim.h: New file.
482 * gdb.base/disasm-optim.exp: New file.
484 2015-08-14 Keith Seitz <keiths@redhat.com>
486 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
489 2015-08-13 Joel Brobecker <brobecker@adacore.com>
491 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
493 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
495 * gdb.ada/fun_renaming.exp: New testcase.
496 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
497 * gdb.ada/fun_renaming/pack.adb: New file.
498 * gdb.ada/fun_renaming/pack.ads: New file.
500 2015-08-12 Keith Seitz <keiths@redhat.com>
502 * gdb.base/dso2dso.exp: Pass basename of source file in call to
505 2015-08-12 Joel Brobecker <brobecker@adacore.com>
507 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
508 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
509 gdb.base/dso2dso.exp: New files.
511 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
512 Pedro Alves <palves@redhat.com>
513 Keith Seitz <keiths@redhat.com>
515 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
518 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
520 * gdb.base/gdbhistsize-history.exp
521 (test_histsize_history_setting): Use save_vars.
522 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
524 (test_no_truncation_of_unlimited_history_file): Use save_vars.
525 * gdb.base/readline.exp: Use save_vars.
527 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
529 * lib/gdb.exp (save_vars): New proc.
531 2015-08-11 Keith Seitz <keiths@redhat.com>
533 * gdb.base/help.exp: Update help_breakpoint_text.
535 2015-08-11 Keith Seitz <keiths@redhat.com>
537 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
538 (at toplevel): Call test_explicit_breakpoints.
539 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
541 * lib/mi-support.exp (mi_make_breakpoint): Add support for
542 breakpoint conditions, "-cond".
544 2015-08-11 Keith Seitz <keiths@redhat.com>
546 * gdb.linespec/3explicit.c: New file.
547 * gdb.linespec/cpexplicit.cc: New file.
548 * gdb.linespec/cpexplicit.exp: New file.
549 * gdb.linespec/explicit.c: New file.
550 * gdb.linespec/explicit.exp: New file.
551 * gdb.linespec/explicit2.c: New file.
552 * gdb.linespec/ls-errs.exp: Add explicit location tests.
553 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
554 before using in the matching pattern.
555 Clarify that `prefix' is a regular expression.
557 2015-08-11 Keith Seitz <keiths@redhat.com>
559 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
561 Add tests for missing ",FMT" and ",".
563 2015-08-10 Doug Evans <dje@google.com>
564 Keith Seitz <keiths@redhat.com>
567 * gdb.base/completion.exp: Add location completer tests.
569 2015-08-07 Pedro Alves <palves@redhat.com>
571 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
573 (top level): Run do_test with and without displaced stepping.
575 2015-08-07 Pedro Alves <palves@redhat.com>
577 * gdb.base/valgrind-disp-step.c: New file.
578 * gdb.base/valgrind-disp-step.exp: New file.
580 2015-08-07 Pedro Alves <palves@redhat.com>
582 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
584 (main): Add alarm. Run an infinite loop instead of calling
586 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
588 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
590 (main): Add alarm. Run an infinite loop instead of calling
592 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
595 2015-08-07 Pedro Alves <palves@redhat.com>
597 * gdb.base/checkpoint-ns.exp: New file.
598 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
601 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
603 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
604 * gdb.btrace/instruction_history.exp: Update.
605 * gdb.btrace/tsx.exp: New.
606 * gdb.btrace/tsx.c: New.
608 2015-08-06 Pedro Alves <palves@redhat.com>
610 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
612 * gdb.reverse/until-precsave.exp: Bump timeouts.
614 2015-08-06 Pedro Alves <palves@redhat.com>
616 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
618 2015-08-06 Pedro Alves <palves@redhat.com>
621 * gdb.threads/process-dies-while-handling-bp.c: New file.
622 * gdb.threads/process-dies-while-handling-bp.exp: New file.
624 2015-08-06 Pedro Alves <palves@redhat.com>
626 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
627 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
629 2015-08-05 Pedro Alves <palves@redhat.com>
631 * gdb.threads/next-while-other-thread-longjmps.c: New file.
632 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
634 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
636 * gdb.base/bp-permanent.exp: Report test as unsupported if
637 the target cannot stop at the permanent breakpoint.
639 2015-08-03 Doug Evans <dje@google.com>
641 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
644 2015-08-03 Doug Evans <dje@google.com>
646 * Makefile.in (workers/%.worker, build-perf): New rule.
647 (GDB_PERFTEST_MODE): New variable.
648 (check-perf): Use it.
649 (clean): Clean up gdb.perf parallel build subdirs.
650 * lib/build-piece.exp: New file.
651 * lib/gdb.exp (make_gdb_parallel_path): New function
652 (standard_output_file, standard_temp_file): Call it.
653 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
655 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
657 2015-08-03 Doug Evans <dje@google.com>
659 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
660 (LOG_FILE_NAME): New global.
661 (TextReporter.__init__): Initialize self.txt_sum.
662 (TextReporter.report): Add support for multiple data-points.
663 Move report to perftest.sum, put raw data in perftest.log.
664 (TextReporter.start): Open sum and log files.
665 (TextReporter.end): Close sum and log files.
666 * gdb.perf/lib/perftest/testresult.py
667 (SingleStatisticTestResult.record): Handle multiple data-points.
669 2015-07-31 Pedro Alves <palves@redhat.com>
671 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
672 Use spawn_id_get_pid. Wait for spawn id after eof. Use
673 kill_wait_spawned_process instead of explicit "kill -9".
674 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
675 returning a spawn id instead of a pid. Use spawn_id_get_pid and
676 kill_wait_spawned_process.
677 * gdb.base/attach-twice.exp: Likewise.
678 * gdb.base/attach.exp: Likewise.
679 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
681 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
682 returning a spawn id instead of a pid. Use spawn_id_get_pid and
683 kill_wait_spawned_process.
684 * gdb.base/valgrind-infcall.exp: Likewise.
685 * gdb.multi/multi-attach.exp: Likewise.
686 * gdb.python/py-prompt.exp: Likewise.
687 * gdb.python/py-sync-interp.exp: Likewise.
688 * gdb.server/ext-attach.exp: Likewise.
689 * gdb.threads/attach-into-signal.exp (corefunc): Use
690 spawn_wait_for_attach, spawn_id_get_pid and
691 kill_wait_spawned_process.
692 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
693 spawn_wait_for_attach returning a spawn id instead of a pid. Use
694 spawn_id_get_pid and kill_wait_spawned_process.
695 * gdb.threads/attach-stopped.exp (corefunc): Use
696 spawn_wait_for_attach, spawn_id_get_pid and
697 kill_wait_spawned_process.
698 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
699 Use spawn_id_get_pid. Wait for spawn id after eof. Use
700 kill_wait_spawned_process instead of explicit "kill -9".
701 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
702 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
703 (spawn_wait_for_attach): Use spawn instead of exec to spawn
704 processes. Don't map cygwin/windows pids here. Now returns a
707 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
709 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
710 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
713 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
715 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
717 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
720 2014-05-21 Mark Wielaard <mjw@redhat.com>
722 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
724 2015-07-30 Pedro Alves <palves@redhat.com>
726 * linux-low.c (handle_extended_wait): Set the child's last
727 reported status to TARGET_WAITKIND_STOPPED.
729 2015-07-30 Pedro Alves <palves@redhat.com>
732 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
733 only shows inferior 1.
735 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
736 Pedro Alves <palves@redhat.com>
739 * gdb.threads/fork-plus-threads.c: New file.
740 * gdb.threads/fork-plus-threads.exp: New file.
742 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
744 * gdb.base/batch-preserve-term-settings.exp
745 (test_terminal_settings_preserved_after_cli_exit): Use
748 2015-07-29 Pedro Alves <palves@redhat.com>
749 Don Breazeal <donb@codesourcery.com>
751 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
752 output from both inferior_spawn_id and gdb_spawn_id.
754 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
756 * gdb.threads/attach-into-signal.exp (corefunc): Use
757 with_test_prefix on nested loops, uniquefying the test messages.
759 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
761 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
764 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
766 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
768 (test_terminal_settings_preserved_after_sigterm): New test.
770 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
772 * gdb.base/batch-preserve-term-settings.exp
773 (test_terminal_settings_preserved_after_cli_exit): New test.
775 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
777 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
778 manipulation of saved_gdbflags.
779 (test_terminal_settings_preserved): Remove global declaration of
780 the unused variable pagination_prompt. Remove manipulation of
781 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
784 2015-07-29 Pedro Alves <palves@redhat.com>
786 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
788 2015-07-29 Pedro Alves <palves@redhat.com>
790 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
793 2015-07-29 Pedro Alves <palves@redhat.com>
795 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
796 (main): Call gdb_unbuffer_output.
797 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
798 (main): Call gdb_unbuffer_output.
799 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
800 (main): Call gdb_unbuffer_output.
801 * gdb.base/call-strs.exp: Adjust to step over the
802 gdb_unbuffer_output call.
803 * gdb.base/catch-gdb-caused-signals.c: Include
804 "../lib/unbuffer_output.c".
805 (main): Call gdb_unbuffer_output.
806 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
807 (main): Call gdb_unbuffer_output.
808 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
809 (main): Call gdb_unbuffer_output.
810 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
811 (main): Call gdb_unbuffer_output.
812 * gdb.base/shlib-call.exp: Adjust to step over the
813 gdb_unbuffer_output call.
814 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
815 (main): Call gdb_unbuffer_output.
816 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
817 (main): Call gdb_unbuffer_output.
818 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
819 (main): Rename to ...
822 * gdb.base/varargs.exp: Run to test instead of to main.
823 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
824 (main): Call gdb_unbuffer_output.
826 2015-07-29 Pedro Alves <palves@redhat.com>
828 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
829 factore out from mi_continue_dprintf. For call-style dprintfs,
830 expect dprintf output out of $inferior_spawn_id.
831 (mi_continue_dprintf): Use mi_expect_dprintf.
832 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
833 (main): Call gdb_unbuffer_output.
835 2015-07-29 Pedro Alves <palves@redhat.com>
837 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
838 (default_mi_gdb_start): Set inferior_spawn_id instead of
839 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
841 (mi_gdb_test): Always expect inferior output from both
842 $inferior_spawn_id and $gdb_spawn_id.
844 2015-07-29 Pedro Alves <palves@redhat.com>
846 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
847 send_inferior and $inferior_spawn_id.
849 2015-07-29 Pedro Alves <palves@redhat.com>
851 * gdb.gdb/complaints.exp (test_initial_complaints)
852 (test_serial_complaints, test_short_complaints): Use
854 (test_empty_complaint): Handle $inferior_spawn_id !=
857 2015-07-29 Pedro Alves <palves@redhat.com>
859 * gdb.base/varargs.exp: Use gdb_test_stdio.
861 2015-07-29 Pedro Alves <palves@redhat.com>
863 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
865 2015-07-29 Pedro Alves <palves@redhat.com>
867 * gdb.base/ending-run.exp: Use gdb_test_stdio.
869 2015-07-29 Pedro Alves <palves@redhat.com>
871 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
872 parameter into two new parameters, "inf_result" and "gdb_result".
873 Expect inferior output and gdb output from $inferior_spawn_id and
874 $gdb_spawn_id, respectively. Adjust all callers.
876 2015-07-29 Pedro Alves <palves@redhat.com>
878 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
879 of gdb_test_sequence.
881 2015-07-29 Pedro Alves <palves@redhat.com>
883 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
884 (saw_spurious_output): Expect inferior output from
885 $inferior_spawn_id. Use gdb_test_stdio.
887 2015-07-29 Pedro Alves <palves@redhat.com>
889 * gdb.base/dprintf.exp: Use standard_testfile. Change
890 prepare_for_testing call.
891 (srcfile): Don't set.
892 (restart): New procedure.
893 (test_dprintf): New procecure, use to continue over dprintfs.
894 (test_call, test_agent): New procedures, tests moved here.
895 Restart gdb and recreate dprintfs. Adjust expected output.
897 2015-07-29 Pedro Alves <palves@redhat.com>
899 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
901 2015-07-29 Pedro Alves <palves@redhat.com>
903 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
905 2015-07-29 Pedro Alves <palves@redhat.com>
907 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
910 2015-07-29 Pedro Alves <palves@redhat.com>
912 * lib/gdb.exp (gdb_test_stdio): New procedure.
914 2015-07-29 Pedro Alves <palves@redhat.com>
916 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
918 2015-07-29 Pedro Alves <palves@redhat.com>
920 * gdb.base/call-signal-resume.exp: Remove check for
921 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
922 * gdb.base/unwindonsignal.exp: Likewise.
923 * gdb.base/call-signals.c (gen_signal): Remove printf call.
924 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
926 2015-07-29 Pedro Alves <palves@redhat.com>
928 * gdb.base/siginfo-addr.c (pass): New function.
929 (handler): Call it iff si_addr is correct.
930 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
931 Set a breakpoint at "pass" and continue to it.
933 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
935 * gdb.python/py-objfile.exp: Make some tests have unique names.
936 * gdb.python/py-pp-registration.exp: Likewise.
938 2015-07-28 Pedro Alves <palves@redhat.com>
940 * gdb.server/server-exec-info.exp: Issue a "disconnect".
942 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
944 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
946 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
948 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
950 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
952 * gdb.base/gdb-sigterm-2.exp: New test.
954 2015-07-25 Doug Evans <xdje42@gmail.com>
957 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
958 (workers/%.worker, build-perf): New rule.
959 (GDB_PERFTEST_MODE): New variable.
960 (check-perf): Use it.
961 (clean): Clean up gdb.perf parallel build subdirs.
962 * lib/build-piece.exp: New file.
963 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
964 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
966 (standard_temp_file): Ditto.
967 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
970 2015-07-24 Doug Evans <dje@google.com>
972 * gdb.perf/lib/perftest/utils.py: New file.
973 * gdb.perf/gm-hello.cc: New file.
974 * gdb.perf/gm-pervasive-typedef.cc: New file.
975 * gdb.perf/gm-pervasive-typedef.h: New file.
976 * gdb.perf/gm-std.cc: New file.
977 * gdb.perf/gm-std.h: New file.
978 * gdb.perf/gm-use-cerr.cc: New file.
979 * gdb.perf/gm-utils.h: New file.
980 * gdb.perf/gmonster-null-lookup.py: New file.
981 * gdb.perf/gmonster-pervasive-typedef.py: New file.
982 * gdb.perf/gmonster-print-cerr.py: New file.
983 * gdb.perf/gmonster-ptype-string.py: New file.
984 * gdb.perf/gmonster-runto-main.py: New file.
985 * gdb.perf/gmonster-select-file.py: New file.
986 * gdb.perf/gmonster1-null-lookup.exp: New file.
987 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
988 * gdb.perf/gmonster1-print-cerr.exp: New file.
989 * gdb.perf/gmonster1-ptype-string.exp: New file.
990 * gdb.perf/gmonster1-runto-main.exp: New file.
991 * gdb.perf/gmonster1-select-file.exp: New file.
992 * gdb.perf/gmonster1.cc: New file.
993 * gdb.perf/gmonster1.exp: New file.
994 * gdb.perf/gmonster2-null-lookup.exp: New file.
995 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
996 * gdb.perf/gmonster2-print-cerr.exp: New file.
997 * gdb.perf/gmonster2-ptype-string.exp: New file.
998 * gdb.perf/gmonster2-runto-main.exp: New file.
999 * gdb.perf/gmonster2-select-file.exp: New file.
1000 * gdb.perf/gmonster2.cc: New file.
1001 * gdb.perf/gmonster2.exp: New file.
1003 2015-07-24 Doug Evans <dje@google.com>
1005 * gdb.perf/README: New file.
1006 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
1007 * lib/gen-perf-test.exp: New file.
1009 2015-07-24 Doug Evans <dje@google.com>
1011 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
1012 (PerfTest::startup): New function.
1013 (PerfTest::run): Return result of calling body.
1014 (PerfTest::assemble): Rewrite.
1015 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
1016 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
1017 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
1018 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
1019 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
1021 2015-07-24 Doug Evans <dje@google.com>
1023 * lib/gdb.exp (clean_restart): Make executable optional.
1025 2015-07-24 Doug Evans <dje@google.com>
1027 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
1028 compiler_info references.
1029 * gdb.cp/temargs.exp: Ditto.
1030 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
1031 (get_compiler_info): Early exit if already computed. Set compiler_info
1032 to "unknown" if there was a problem.
1033 (test_compiler_info): Add function comment. Call get_compiler_info.
1035 2015-07-24 Doug Evans <dje@google.com>
1037 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
1038 (workers/%.worker, build-perf): New rule.
1039 (GDB_PERFTEST_MODE): New variable.
1040 (check-perf): Use it.
1041 (clean): Clean up gdb.perf parallel build subdirs.
1042 * lib/build-piece.exp: New file.
1043 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
1044 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
1046 (standard_temp_file): Ditto.
1047 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1050 2015-07-24 Doug Evans <dje@google.com>
1052 * lib/future.exp (gdb_default_target_compile): New option
1054 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
1057 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
1059 * gdb.base/catch-syscall.exp: Call gdb_exit before
1062 2015-07-24 Pedro Alves <palves@redhat.com>
1064 * gdb.python/py-events.exp: Accept output between the stop event
1066 * gdb.python/py-evsignal.exp: Likewise.
1067 * gdb.python/py-evthreads.exp: Likewise.
1069 2015-07-24 Pedro Alves <palves@redhat.com>
1072 * gdb.threads/non-ldr-exit.c: New file.
1073 * gdb.threads/non-ldr-exit.exp: New file.
1075 2015-07-24 Yao Qi <yao.qi@linaro.org>
1077 * gdb.server/ext-wrapper.exp: Test --wrapper option when
1080 2015-07-24 Yao Qi <yao.qi@linaro.org>
1082 * gdb.server/ext-restart.exp: New file.
1084 2015-07-24 Yao Qi <yao.qi@linaro.org>
1086 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
1088 * gdb.server/ext-wrapper.exp: New file.
1090 2015-07-23 Doug Evans <dje@google.com>
1092 * gdb.dwarf2/dw2-dummy-cu.S: New file.
1093 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
1095 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
1097 * gdb.ada/var_arr_typedef.exp: New testcase.
1098 * gdb.ada/var_arr_typedef/pack.adb: New file.
1099 * gdb.ada/var_arr_typedef/pack.ads: New file.
1100 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
1102 2015-07-20 Joel Brobecker <brobecker@adacore.com>
1104 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
1106 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1108 * gdb.arch/i386-biarch-core.exp: Replace istarget
1109 by "complete set gnutarget". Remove expectation for the "core-file"
1112 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1114 Revert the previous commit:
1115 Tests for validate symbol file using build-id.
1117 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
1119 Tests for validate symbol file using build-id.
1120 * gdb.base/solib-mismatch-lib.c: New file.
1121 * gdb.base/solib-mismatch-libmod.c: New file.
1122 * gdb.base/solib-mismatch.c: New file.
1123 * gdb.base/solib-mismatch.exp: New file.
1125 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
1127 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
1129 * gdb.base/sigbpt.exp (stepi_out): Likewise.
1130 * gdb.base/siginfo.exp: Likewise.
1131 * gdb.base/sigstep.exp (advance, advancei): Likewise.
1133 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
1135 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
1137 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
1139 * gdb.trace/range-stepping.exp: Check that the target supports
1142 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1144 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
1146 2015-07-14 Pedro Alves <palves@redhat.com>
1148 * gdb.base/killed-outside.exp: New file.
1149 * gdb.base/killed-outside.c: New file.
1151 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1153 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
1155 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
1157 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
1159 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
1160 infcall tests instead of setting up for KFAIL.
1162 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
1164 * gdb.btrace/record_goto-step.exp: New.
1166 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1169 * gdb.compile/compile.c (struct struct_type): Add volatile to
1171 * gdb.compile/compile.exp
1172 (compile code struct_object.selffield = &struct_object): Skip further
1173 struct_object tests if this one xfails.
1175 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
1178 * gdb.trace/ax.exp: Add test.
1180 2015-07-07 Yao Qi <yao.qi@linaro.org>
1182 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
1183 instead of istarget "aarch64*-*-*".
1184 * gdb.arch/aarch64-fp.exp: Likewise.
1185 * gdb.base/float.exp: Likewise.
1186 * gdb.reverse/aarch64.exp: Likewise.
1187 * lib/gdb.exp (is_aarch64_target): New proc.
1189 2015-07-07 Yao Qi <yao.qi@linaro.org>
1191 * lib/gdb.exp (is_aarch32_target): New proc.
1192 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
1193 instead of "istarget "arm*-*-*"".
1194 * gdb.arch/arm-disp-step.exp: Likewise.
1195 * gdb.arch/thumb-bx-pc.exp: Likewise.
1196 * gdb.arch/thumb-prologue.exp: Likewise.
1197 * gdb.arch/thumb-singlestep.exp: Likewise.
1198 * gdb.base/disp-step-syscall.exp: Likewise.
1199 * gdb.base/float.exp: Likewise.
1201 2015-07-07 Yao Qi <yao.qi@linaro.org>
1203 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
1204 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
1206 2015-07-07 Yao Qi <yao.qi@linaro.org>
1208 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
1209 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
1211 * gdb.multi/multi-arch.exp: Likewise.
1213 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
1215 * gdb.python/py-lazy-string.exp: Add missing parentheses to
1218 2015-07-07 Yao Qi <yao.qi@linaro.org>
1220 * gdb.arch/thumb-singlestep.exp: Do one more single step.
1222 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
1224 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
1225 '[' and ']' characters.
1227 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
1229 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1231 2015-06-29 Pedro Alves <palves@redhat.com>
1234 * gdb.threads/hand-call-new-thread.c: New file.
1235 * gdb.threads/hand-call-new-thread.c: New file.
1237 2015-06-26 Keith Seitz <keiths@redhat.com>
1238 Doug Evans <dje@google.com>
1241 * gdb.cp/var-tag-2.cc: New file.
1242 * gdb.cp/var-tag-3.cc: New file.
1243 * gdb.cp/var-tag-4.cc: New file.
1244 * gdb.cp/var-tag.cc: New file.
1245 * gdb.cp/var-tag.exp: New file.
1247 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
1249 * gdb.base/history-duplicates.exp: New test.
1251 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
1253 * gdb.base/completion.exp: Test the completion of the "focus"
1256 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1258 * gdb.arch/amd64-prologue-skip.S: New file.
1259 * gdb.arch/amd64-prologue-skip.exp: New file.
1261 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
1263 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
1264 is_address_zero_readable check.
1266 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
1268 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
1269 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
1271 2015-06-24 Yao Qi <yao.qi@linaro.org>
1273 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
1276 2015-06-24 Yao Qi <yao.qi@linaro.org>
1278 * lib/gdb.exp (supports_get_siginfo_type): New proc.
1279 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
1280 * gdb.base/siginfo-thread.exp: Likewise.
1282 2015-06-22 Yao Qi <yao.qi@linaro.org>
1284 * boards/remote-gdbserver-on-localhost.exp: Add comments.
1286 2015-06-22 Yao Qi <yao.qi@linaro.org>
1288 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
1290 (skip_hw_watchpoint_tests): Likewise.
1292 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
1294 * gdb.base/gdbinit-history.exp: Test the interaction between
1295 setting GDBHISTSIZE and setting the history size via .gdbinit.
1297 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1300 * gdb.base/gdbhistsize-history.exp: New test.
1302 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1304 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
1306 * gdb.base/readline.exp: Likewise.
1308 2015-06-17 Yao Qi <yao.qi@linaro.org>
1310 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
1313 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1315 * gdb.base/gdbinit-history.exp: Add test case to check that
1316 an unlimited history file does not get truncated on exit.
1318 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1320 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
1321 (VECTOR): New macro. Use it...
1322 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
1323 ...for these typedefs.
1324 (int8, char1, int1, double1): New typedefs.
1325 (struct just_int2, struct two_int2): New structures.
1326 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
1327 (add_structvecs, add_singlevecs): New functions.
1328 (main): Call add_some_intvecs twice.
1329 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
1330 the compile and exit upon failure. Try compiling for the "native"
1331 architecture. Test inferior function calls with vector arguments
1332 and vector return value handling with "finish" and "return".
1334 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
1336 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
1337 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
1339 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
1341 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1343 PR breakpoints/16465
1344 * gdb.mi/mi-dprintf-pending.c: New file.
1345 * gdb.mi/mi-dprintf-pending.exp: New test.
1346 * gdb.mi/mi-dprintf-pendshr.c: New file.
1348 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1349 Mircea Gherzan <mircea.gherzan@intel.com>
1351 * gdb.arch/i386-mpx-map.c: New file.
1352 * gdb.arch/i386-mpx-map.exp: New File.
1354 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1356 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
1357 * gdb.arch/i386-mpx.exp: Indentation fixed.
1359 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1361 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
1362 function and improved indentation.
1363 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
1364 gdb_test_multiple. Added additional tests to skip the test.
1366 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1368 * gdb.arch/i386-avx512.c: Change path in include file.
1369 * gdb.arch/i386-avx512.exp: Change include dir path
1371 * gdb.arch/i386-mpx.c: Change path in include file.
1372 * gdb.arch/i386-mpx.exp: Change include dir path compilation
1375 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1377 * gdb.compile/compile-print.exp (compile print *vararray@3)
1378 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
1380 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1382 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
1383 (do not keep jit in memory): ... this.
1384 (expect 5): Change it to ...
1385 (expect no 5): ... this.
1387 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
1390 * gdb.mi/mi-detach.exp: New file.
1392 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1395 * gdb.arch/amd64-tailcall-self.S: New file.
1396 * gdb.arch/amd64-tailcall-self.c: New file.
1397 * gdb.arch/amd64-tailcall-self.exp: New file.
1399 2015-05-28 Don Breazeal <donb@codesourcery.com>
1401 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
1402 tests for remote targets by checking is_target_gdbserver.
1404 2015-05-27 Doug Evans <dje@google.com>
1406 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
1407 * gdb.dwarf2/opaque-type-lookup.c: New file.
1408 * gdb.dwarf2/opaque-type-lookup.exp: New file.
1410 2015-05-26 Doug Evans <dje@google.com>
1412 * gdb.cp/iostream.cc: New file.
1413 * gdb.cp/iostream.exp: New file.
1415 2015-05-26 Doug Evans <dje@google.com>
1417 * gdb.dwarf2/dw2-op-call.exp: Update.
1418 * gdb.dwarf2/dw4-sig-types.exp: Update.
1419 * gdb.dwarf2/implptr.exp: Update.
1420 * gdb.mi/mi-cmd-param-changed.exp: Update.
1422 2015-05-26 Doug Evans <dje@google.com>
1424 * gdb.python/py-lazy-string.c: New file.
1425 * gdb.python/py-lazy-string.exp: New file.
1426 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
1427 (main): Update. Add estring3.
1428 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
1429 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
1431 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
1432 Yao Qi <yao.qi@linaro.org>
1434 * gdb.reverse/aarch64.c: New.
1435 * gdb.reverse/aarch64.exp: New.
1437 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
1439 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
1440 (supports_reverse): Likewise.
1442 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
1444 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1445 Use with_test_prefix.
1447 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
1449 * gdb.base/completion.exp: Add test for completion of layout
1452 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
1454 * lib/gdb.exp (skip_tui_tests): New proc.
1455 * gdb.base/tui-layout.exp: Check skip_tui_tests.
1457 2015-05-19 Pedro Alves <palves@redhat.com>
1459 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1460 Save the whole env array instead of just HOME. Unset HISTSIZE in
1461 the environment while testing. Restore whole environment
1464 2015-05-16 Doug Evans <xdje42@gmail.com>
1466 * gdb.guile/scm-ports.c: New file.
1467 * gdb.guile/scm-ports.exp: Add memory port tests.
1469 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1471 * gdb.compile/compile-print.c: New file.
1472 * gdb.compile/compile-print.exp: New file.
1474 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1476 * gdb.compile/compile-ops.exp: Cast param to void.
1477 * gdb.compile/compile.exp: Complete type for _gdb_expr.
1478 (compile code struct_object.selffield = &struct_object): Add xfail.
1480 2015-05-15 Joel Brobecker <brobecker@adacore.com>
1482 * gdb.ada/arr_enum_with_gap: New testcase.
1484 2015-05-15 Joel Brobecker <brobecker@adacore.com>
1486 * gdb.ada/byte_packed_arr: New testcase.
1488 2015-05-15 Joel Brobecker <brobecker@adacore.com>
1490 * gdb.ada/pckd_neg: New testcase.
1492 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
1495 * gdb.base/gdbinit-history.exp: New test.
1496 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
1497 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
1499 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
1501 * gdb.python/py-xmethods.cc: Enhance test case.
1502 * gdb.python/py-xmethods.exp: New tests.
1503 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
1505 (B_indexoper): Likewise.
1506 (global_dm_list) : Add new xmethod worker functions.
1508 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
1510 * gdb.base/coredump-filter.exp: Correctly unset
1511 "coredump_var_addr" array.
1513 2015-05-08 Pedro Alves <palves@redhat.com>
1515 * gdb.server/non-existing-program.exp: Unset spawn_id.
1517 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
1520 * gdb.python/py-xmethods.exp: Add tests.
1522 2015-05-08 Yao Qi <yao.qi@linaro.org>
1525 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
1526 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
1527 function set_coredump_filter, and remove remote_exec call.
1528 Remove argument ipid. Callers update.
1529 (top level): Don't get inferior's PID.
1531 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
1533 * gdb.base/watch_thread_num.exp: Skip test on targets without
1536 2015-05-06 Pedro Alves <palves@redhat.com>
1539 * gdb.server/non-existing-program.exp: New file.
1541 2015-05-05 Joel Brobecker <brobecker@adacore.com>
1543 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
1545 2015-05-05 Joel Brobecker <brobecker@adacore.com>
1547 * gdb.ada/out_of_line_in_inlined: New testcase.
1549 2015-05-05 Joel Brobecker <brobecker@adacore.com>
1551 * gdb.ada/var_rec_arr: New testcase.
1553 2015-04-30 Yao Qi <yao.qi@linaro.org>
1555 * gdb.base/break-idempotent.exp: If
1556 skip_hw_watchpoint_multi_tests returns true, skip the tests
1557 on "rwatch" and "awatch".
1559 2015-04-30 Yao Qi <yao.qi@linaro.org>
1561 * gdb.base/relativedebug.exp: Invoke gdb command
1562 "info sharedlibrary", and if libc.so doesn't have debug info,
1565 2015-04-29 Doug Evans <dje@google.com>
1567 * gdb.python/py-xmethods.exp: Add ptype tests.
1568 * gdb.python/py-xmethods.py (E_method_char_worker): Add
1569 get_result_type method.
1571 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
1573 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
1574 the target does not support hardware watchpoints.
1576 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
1578 * gdb.base/break-always.exp: Abort testing if writing to memory
1581 2015-04-28 Doug Evans <dje@google.com>
1583 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
1584 * gdb.python/py-pp-registration.exp: ... here. New file.
1585 * gdb.python/py-pp-registration.c: New file.
1586 * gdb.python/py-pp-registration.py: New file.
1588 2015-04-28 Doug Evans <dje@google.com>
1590 * gdb.python/py-bad-printers.c: New file.
1591 * gdb.python/py-bad-printers.py: New file.
1592 * gdb.python/py-bad-printers.exp: New file.
1594 2015-04-28 Sasha Smundak <asmundak@google.com>
1596 * gdb.python/py-type.exp: New test.
1598 2015-04-28 Andy Wingo <wingo@igalia.com>
1600 * gdb.python/py-parameter.exp:
1601 * gdb.guile/scm-parameter.exp: Escape the path that we are
1602 matching against, as it might contain characters that are special
1603 to regular expressions.
1605 2015-04-27 Joel Brobecker <brobecker@adacore.com>
1607 * gdb.ada/rec_comp: New testcase.
1609 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
1611 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
1614 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
1616 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
1617 new tests for verilog output.
1619 2015-04-24 Yao Qi <yao.qi@linaro.org>
1621 * boards/remote-gdbserver-on-localhost.exp: New file.
1623 2015-04-23 Pedro Alves <palves@redhat.com>
1625 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
1626 $inferior_spawn_id instead of $inferior_spawn_id directly. On
1627 "end of file", remove $inferior_spawn_id from the indirect list.
1629 2015-04-23 Pedro Alves <palves@redhat.com>
1631 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
1633 2015-04-23 Pedro Alves <palves@redhat.com>
1635 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
1636 on $any_spawn_id instead of only on $gdb_spawn_id.
1638 2015-04-21 Pierre Muller <muller@sourceware.org>
1641 * lib/pascal.exp (gpc_compile): Add new option "class".
1642 (fpc_compile): Likewise.
1643 * gdb.pascal/case-insensitive-symbols.pas: New file.
1644 * gdb.pascal/case-insensitive-symbols.exp: New file.
1646 2015-04-20 Gary Benson <gbenson@redhat.com>
1648 * gdb.base/attach.exp: Fix three extended remote failures.
1650 2015-04-17 Gary Benson <gbenson@redhat.com>
1652 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
1653 the main executable over the remote protocol.
1655 2015-04-16 Pedro Alves <palves@redhat.com>
1657 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
1658 a new gdbserver if gdbserver_reconnect_p is set.
1660 2015-04-16 Pedro Alves <palves@redhat.com>
1662 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
1663 is set, don't exit gdbserver.
1665 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1667 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
1668 appropriate .insn, such that an older assembler can be used.
1669 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
1670 the z/Architecture instruction set on 31-bit targets as well.
1672 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1674 * gdb.go/handcall.exp: Remove all logic related to the first
1675 breakpoint and rely on go_runto_main instead.
1676 * gdb.go/strings.exp: Likewise.
1677 * gdb.go/unsafe.exp: Likewise.
1678 * gdb.go/hello.exp: Likewise. Also rename the remaining
1679 breakpoint marker to "breakpoint 1".
1680 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
1681 * gdb.go/strings.go: Likewise.
1682 * gdb.go/unsafe.go: Likewise.
1683 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
1684 "set breakpoint 2 here" and rename the remaining breakpoint marker
1687 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
1689 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
1690 if itertools.imap is not present.
1691 * gdb.python/py-objfile.exp: Add parentheses.
1692 * gdb.python/py-type.exp: Same.
1693 * gdb.python/py-unwind-maint.py: Same.
1695 2015-04-15 Yao Qi <yao.qi@linaro.org>
1697 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
1698 of ":$ptr_size" and set its form explicitly.
1700 2015-04-15 Pedro Alves <palves@redhat.com>
1701 Yao Qi <yao.qi@linaro.org>
1703 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
1704 timeout by factor of 4.
1705 (test_regular_watch): Likewise.
1706 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
1707 * gdb.reverse/sigall-reverse.exp: Likewise.
1708 * gdb.reverse/until-precsave.exp: Likewise.
1709 * lib/gdb.exp (with_timeout_factor): New proc.
1710 (gdb_expect): Move some code to ...
1711 (get_largest_timeout): ... here. New procedure.
1713 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
1715 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
1717 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
1719 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
1720 to write to the .text section.
1722 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
1724 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
1725 Handle the case of targets that do not provide PID information.
1727 2015-04-13 Yao Qi <yao.qi@linaro.org>
1729 * lib/gdbserver-support.exp (gdb_exit): Catch exception
1730 and use expect instead of gdb_expect.
1732 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
1734 * gdb.base/coredump-filter.exp: Rename variable "addr" to
1735 "coredump_var_addr" to avoid naming conflict with other testcases.
1737 2015-04-10 Pedro Alves <palves@redhat.com>
1739 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
1740 gdb_test_sequence and gdb_assert.
1742 2015-04-10 Pedro Alves <palves@redhat.com>
1744 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
1745 test messages that don't include the breakpoint address.
1747 2015-04-10 Yao Qi <yao.qi@linaro.org>
1749 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
1750 false for some offset and width combinations which aren't
1751 supported by linux kernel.
1753 2015-04-10 Pedro Alves <palves@redhat.com>
1755 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
1756 procedure, factored out from ...
1757 (top level): ... here. Add "set displaced-stepping" testing axis.
1758 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
1759 parameter "displaced". Use it.
1760 (top level): Use foreach and add "set displaced-stepping" testing
1763 2015-04-10 Pedro Alves <palves@redhat.com>
1765 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
1767 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
1768 both the address of the instruction that triggers the watchpoint
1769 and the address of the instruction immediately after, and use
1770 those addresses for the test. Fix comment.
1772 2015-04-10 Pedro Alves <palves@redhat.com>
1774 * gdb.base/sigstep.exp (breakpoint_to_handler)
1775 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
1776 Test "backtrace" in handler.
1777 (breakpoint_over_handler): New parameter 'displaced'. Use it.
1778 (top level): Add new "displaced" test axis to
1779 breakpoint_to_handler, breakpoint_to_handler_entry and
1780 breakpoint_over_handler.
1782 2015-04-10 Pedro Alves <palves@redhat.com>
1785 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
1787 2015-04-10 Yao Qi <yao.qi@linaro.org>
1789 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
1790 (test_add_rn_pc): New function.
1791 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
1792 (top level): Invoke test_add_rn_pc.
1794 2015-04-10 Pedro Alves <palves@redhat.com>
1797 * gdb.base/step-over-no-symbols.exp: New file.
1799 2015-04-09 Andy Wingo <wingo@igalia.com>
1801 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
1802 after the Python tests.
1804 2015-04-08 Keith Seitz <keiths@redhat.com>
1807 * gdb.python/py-completion.exp: New tests for completion.
1808 * gdb.python/py-completion.py (CompleteLimit1): New class.
1809 (CompleteLimit2): Likewise.
1810 (CompleteLimit3): Likewise.
1811 (CompleteLimit4): Likewise.
1812 (CompleteLimit5): Likewise.
1813 (CompleteLimit6): Likewise.
1814 (CompleteLimit7): Likewise.
1816 2015-04-08 Pedro Alves <palves@redhat.com>
1820 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
1822 (main): Install it as SIGUSR1 handler.
1823 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
1824 parameter. Always use "setup" as prefix. Toggle "set
1825 displaced-stepping" off/on depending on global. Don't switch to
1827 (top level): Add displaced stepping "off/on" test axis. Update
1828 "setup" calls. Wrap each subtest with with_test_prefix. Test
1829 continuing with a queued signal in each thread.
1831 2015-04-08 Pedro Alves <palves@redhat.com>
1833 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
1834 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
1835 gdb_breakpoint instead of gdb_test that doesn't expect anything.
1836 Return early if running to main fails.
1837 * gdb.trace/while-stepping.exp: Likewise.
1839 2015-04-07 Pedro Alves <palves@redhat.com>
1841 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
1842 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
1843 interact with inferior program.
1845 2015-04-07 Pedro Alves <palves@redhat.com>
1847 * lib/gdb.exp (inferior_spawn_id): New global.
1848 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
1849 spawn id after processing the user code.
1850 (default_gdb_start): Set inferior_spawn_id.
1851 (send_inferior): New procedure.
1852 * lib/gdbserver-support.exp (gdbserver_start): Set
1854 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
1856 2015-04-07 Pedro Alves <palves@redhat.com>
1858 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
1859 * lib/gdbserver-support.exp (gdbserver_start): Make
1860 $server_spawn_id global.
1861 (gdbserver_start): Don't wait for gdbserver's spawn id with
1863 (close_gdbserver): New procedure.
1864 (gdb_exit): Rename the default version and reimplement.
1866 2015-04-07 Pedro Alves <palves@redhat.com>
1868 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
1869 append the substituted item, not the original item.
1871 2015-04-07 Pedro Alves <palves@redhat.com>
1873 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
1876 2015-04-07 Pedro Alves <palves@redhat.com>
1878 * gdb.base/interrupt.exp: Don't handle the case of the inferior
1879 output appearing once only.
1881 2015-04-07 Pedro Alves <palves@redhat.com>
1883 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
1884 that doesn't expect anything. Return early if running to main
1887 2015-04-07 Yao Qi <yao.qi@linaro.org>
1889 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
1890 (child_function): Call alarm.
1891 (main): Move call to alarm into the loop.
1892 * gdb.threads/non-stop-fair-events.exp: Build program with
1895 2015-04-06 Doug Evans <xdje42@gmail.com>
1897 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
1898 Fix dest parameter to board_info.
1899 (fpc_compile): Ditto.
1900 (gdb_compile_pascal): Rename dest arg to destfile.
1902 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
1904 * gdb.ada/funcall_ref.exp: New file.
1905 * gdb.ada/funcall_ref/foo.adb: New file.
1907 2015-04-02 Yao Qi <yao.qi@linaro.org>
1909 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
1912 2015-04-02 Gary Benson <gbenson@redhat.com>
1914 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
1916 2015-04-01 Sasha Smundak <asmundak@google.com>
1918 * gdb.python/py-unwind-maint.c: New file.
1919 * gdb.python/py-unwind-maint.exp: New test.
1920 * gdb.python/py-unwind-maint.py: New file.
1921 * gdb.python/py-unwind.c: New file.
1922 * gdb.python/py-unwind.exp: New test.
1923 * gdb.python/py-unwind.py: New test.
1925 2015-04-01 Pedro Alves <palves@redhat.com>
1927 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
1928 to fail instead of non-existent $test.
1930 2015-04-01 Pedro Alves <palves@redhat.com>
1932 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
1933 GDBFLAGS if not empty.
1935 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
1937 * gdb.ada/complete.exp: Remove "multi_line".
1938 * gdb.ada/info_exc.exp: Remove "multi_line".
1939 * gdb.ada/packed_tagged.exp: Remove "multi_line".
1940 * gdb.ada/ptype_field.exp: Remove "multi_line".
1941 * gdb.ada/sym_print_name.exp: Remove "multi_line".
1942 * gdb.ada/tagged.exp: Remove "multi_line".
1943 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
1945 * gdb.btrace/delta.exp: Likewise.
1946 * gdb.btrace/exception.exp: Likewise.
1947 * gdb.btrace/function_call_history.exp: Likewise.
1948 * gdb.btrace/instruction_history.exp: Likewise.
1949 * gdb.btrace/nohist.exp: Likewise.
1950 * gdb.btrace/record_goto.exp: Likewise.
1951 * gdb.btrace/segv.exp: Likewise.
1952 * gdb.btrace/stepi.exp: Likewise.
1953 * gdb.btrace/tailcall.exp: Likewise.
1954 * gdb.btrace/unknown_functions.exp: Likewise.
1955 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
1956 * lib/gdb.exp: Add the "multi_line" helper.
1958 2015-04-01 Pedro Alves <palves@redhat.com>
1960 * gdb.threads/tid-reuse.c: New file.
1961 * gdb.threads/tid-reuse.exp: New file.
1963 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
1966 * gdb.base/coredump-filter.c: New file.
1967 * gdb.base/coredump-filter.exp: Likewise.
1969 2015-03-27 Petr Machata <pmachata@redhat.com>
1971 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
1972 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
1973 (Dwarf::assemble): Initialize them.
1974 (Dwarf::lines): New function.
1976 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
1978 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
1979 SYMBOL_PREFIX for x86_64-*-cygwin.
1981 2015-03-26 Andy Wingo <wingo@igalia.com>
1984 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
1985 const_value but not a location.
1986 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
1987 location defined in non-main CUs are visible.
1989 2015-03-26 Yao Qi <yao.qi@linaro.org>
1992 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
1993 Add a line number entry for the same line.
1994 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
1995 Add a line number entry for the same line.
1997 2015-03-26 Yao Qi <yao.qi@linaro.org>
1999 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
2001 (func): Likewise. Add .Lfunc_1 label.
2003 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
2008 2015-03-26 Yao Qi <yao.qi@linaro.org>
2010 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
2011 Call gdb_compile instead to compile each .s files without debug
2014 2015-03-26 Yao Qi <yao.qi@linaro.org>
2016 * gdb.base/savedregs.exp (process_saved_regs): Make
2017 "Saved registers:" optional in the pattern.
2019 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
2021 * gdb.btrace/next.exp: Merged into step.exp.
2022 * gdb.btrace/finish.exp: Merged into step.exp.
2023 * gdb.btrace/nexti.exp: Merged into stepi.exp.
2024 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
2025 "record goto" and checking the exact replay position.
2026 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
2027 check for "Recording format" in "info record" output.
2028 * gdb.btrace/record_goto.exp: Choose test file based on target.
2029 * gdb.btrace/x86-record_goto.S: Renamed into ...
2030 * gdb.btrace/x86_64-record_goto.S: ... this.
2031 * gdb.btrace/i686-record_goto.S: New.
2032 * gdb.btrace/x86-tailcall.S: Renamed into ...
2033 * gdb.btrace/x86_64-tailcall.S: ... this.
2034 * gdb.btrace/i686-tailcall.S: New.
2035 * gdb.btrace/x86-tailcall.c: Renamed into ...
2036 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
2037 separate statements. Update test.
2038 * gdb.btrace/delta.exp: Use record_goto.c as test file.
2039 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
2040 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
2041 * gdb.btrace/tailcall.exp: Choose test file based on target.
2042 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
2044 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
2046 * gdb.btrace/exception.exp: Increase BTS buffer size.
2048 2015-03-24 Pedro Alves <palves@redhat.com>
2050 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
2052 2015-03-24 Pedro Alves <palves@redhat.com>
2054 * gdb.threads/schedlock.exp (test_step): No longer expect that
2055 "set scheduler-locking step" with "next" over a function call runs
2058 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2060 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
2062 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2064 PR breakpoints/16466
2065 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
2066 * gdb.mi/mi-pending.c (thread_func): New function.
2067 (int main): Add threading support required.
2068 * gdb.mi/mi-pending.exp: Add tests for this issue.
2069 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
2070 (pendfunc2): Remove stdio dependency.
2071 * gdb.mi/mi-pendshr2.c: New file.
2073 2015-03-23 Keith Seitz <keiths@redhat.com>
2075 * gdb.linespec/keywords.c: New file.
2076 * gdb.linespec/keywords.exp: New file.
2078 2015-03-23 Keith Seitz <keiths@redhat.com>
2081 * gdb.dwarf2/staticvirtual.exp: New test.
2083 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2085 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
2086 * README: Remove HP-UX and gdb.hp.
2088 * configure: Regenerate.
2089 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
2090 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
2091 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
2092 gdb.hp/gdb.defects/Makefile.
2093 * gdb.hp/Makefile.in: File deleted.
2094 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
2095 * gdb.hp/gdb.aCC/optimize.c: File deleted.
2096 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
2097 * gdb.hp/gdb.aCC/run.c: File deleted.
2098 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
2099 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
2100 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
2101 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
2102 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
2103 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
2104 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
2105 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
2106 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
2107 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
2108 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
2109 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
2110 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
2111 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
2112 * gdb.hp/gdb.base-hp/reg.s: File deleted.
2113 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
2114 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
2115 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
2116 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
2117 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
2118 * gdb.hp/gdb.compat/Makefile.in: File deleted.
2119 * gdb.hp/gdb.compat/average.c: File deleted.
2120 * gdb.hp/gdb.compat/sum.c: File deleted.
2121 * gdb.hp/gdb.compat/xdb.c: File deleted.
2122 * gdb.hp/gdb.compat/xdb0.c: File deleted.
2123 * gdb.hp/gdb.compat/xdb0.h: File deleted.
2124 * gdb.hp/gdb.compat/xdb1.c: File deleted.
2125 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
2126 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
2127 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
2128 * gdb.hp/gdb.defects/Makefile.in: File deleted.
2129 * gdb.hp/gdb.defects/bs14602.c: File deleted.
2130 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
2131 * gdb.hp/gdb.defects/solib-d.c: File deleted.
2132 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
2133 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
2134 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
2135 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
2136 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
2137 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
2138 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
2139 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
2140 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
2141 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
2142 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
2143 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
2144 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
2145 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
2146 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
2147 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
2148 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
2149 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
2150 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
2151 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
2152 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
2153 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
2154 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
2155 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
2156 * gdb.hp/tools/odump: File deleted.
2158 2015-03-19 Pedro Alves <palves@redhat.com>
2160 * gdb.threads/continue-pending-status.exp (saw_thread_2)
2161 (saw_thread_3): New globals.
2162 (top level): Increment them when an event for the corresponding
2164 (no thread starvation): New test.
2166 2015-03-19 Pedro Alves <palves@redhat.com>
2168 * gdb.threads/continue-pending-status.c: New file.
2169 * gdb.threads/continue-pending-status.exp: New file.
2171 2015-03-18 Pedro Alves <palves@redhat.com>
2173 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
2174 Use gdb_is_target_remote instead of is_remote. Use
2175 gdb_test_multiple instead of gdb_expect. Exit early if
2176 gdb_test_multiple hits its internal matches. Tighten stepi tests
2177 expected output. Fail on exit with any signal, instead of just
2180 2015-03-18 Yao Qi <yao.qi@linaro.org>
2183 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
2185 * gdb.base/catch-syscall.exp: Don't skip it on
2186 aarch64*-*-linux* target. Remove elements in all_syscalls.
2187 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
2189 (setup_all_syscalls): New proc.
2191 2015-03-16 Yao Qi <yao.qi@linaro.org>
2193 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
2194 (top level): Skip tests if valid_addr_p returns false for
2197 2015-03-11 Andy Wingo <wingo@igalia.com>
2199 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
2201 2015-03-11 Yao Qi <yao.qi@linaro.org>
2203 * gdb.base/catch-syscall.exp: Fix typo in comments.
2205 2015-03-11 Yao Qi <yao.qi@linaro.org>
2207 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
2209 2015-03-09 Pedro Alves <palves@redhat.com>
2211 * dg-extract-results.py: Delete.
2213 2015-03-09 Pedro Alves <palves@redhat.com>
2215 Merge dg-extract-results.sh from GCC upstream (r218843).
2217 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
2218 * dg-extract-results.sh: Use --text with grep to avoid issues with
2219 binary files. Fall back to cat -v, if that doesn't work.
2221 2015-03-05 Pedro Alves <palves@redhat.com>
2223 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
2225 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
2227 * lib/mi-support.exp (mi_expect_interrupt): Accept
2228 alternative event for when in all-stop mode.
2230 2015-03-04 Pedro Alves <palves@redhat.com>
2232 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
2234 2015-03-04 Mark Kettenis <kettenis@gnu.org>
2236 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
2238 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2240 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
2241 regexps for GDB's current line display, accept a hex address
2242 preceding the line number.
2244 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2246 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
2247 the 'arch1' variable for "s390*-linux*" targets.
2249 2015-03-04 Pedro Alves <palves@redhat.com>
2251 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
2252 (main): Pass missing retval argument to pthread_join call.
2254 2015-03-02 Pedro Alves <palves@redhat.com>
2256 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
2257 (top level): Call do_test with non-stop as well.
2259 2015-03-02 Pedro Alves <palves@redhat.com>
2261 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
2264 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
2266 * gdb.arch/s390-vregs.exp: New test.
2267 * gdb.arch/s390-vregs.S: New file.
2269 2015-02-27 Pedro Alves <palves@redhat.com>
2271 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
2272 call to catch_command_errors.
2273 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
2274 catch_command_errors.
2276 2015-02-27 Pedro Alves <palves@redhat.com>
2278 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
2279 "true" for boolean result.
2280 * gdb.gdb/selftest.exp (test_with_self): Also accept full
2283 2015-02-27 Pedro Alves <palves@redhat.com>
2285 * lib/unbuffer_output.c: New file.
2286 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
2287 (main): Call gdb_unbuffer_output.
2289 2015-02-27 Yao Qi <yao.qi@linaro.org>
2291 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
2294 2015-02-26 Doug Evans <dje@google.com>
2296 * gdb.cp/class2.cc (Dbase, D): New classes.
2297 (main): New local delta.
2298 * gdb.cp/class2.exp: Test printing delta.
2299 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
2300 (dynbar): New global.
2301 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
2303 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2305 * gdb.compile/compile-ifunc.c: New file.
2306 * gdb.compile/compile-ifunc.exp: New file.
2308 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
2310 * gdb.base/structs.exp: Check for correct struct on finish.
2312 2015-02-26 Yao Qi <yao.qi@linaro.org>
2314 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
2317 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2319 * gdb.arch/cordic.ko.bz2: New file.
2320 * gdb.arch/cordic.ko.debug.bz2: New file.
2321 * gdb.arch/ppc64-symtab-cordic.exp: New file.
2323 2015-02-25 Yao Qi <yao.qi@linaro.org>
2325 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
2326 aarch64*-*-* target.
2328 2015-02-23 Pedro Alves <palves@redhat.com>
2330 * lib/gdb.exp (delete_breakpoints): Rewrite using
2333 2015-02-23 Pedro Alves <palves@redhat.com>
2335 * gdb.base/info-os.c: Include stdlib.h.
2337 2015-02-22 Doug Evans <xdje42@gmail.com>
2340 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
2341 is read after symbols have been re-read.
2342 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
2343 * gdb.ada/exec_changed/second.adb (Second): Ditto.
2345 2015-02-21 Doug Evans <dje@google.com>
2347 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
2349 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2352 * gdb.arch/i386-biarch-core.core.bz2: New file.
2353 * gdb.arch/i386-biarch-core.exp: New file.
2355 2015-02-21 Pedro Alves <palves@redhat.com>
2357 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
2360 2015-02-20 Pedro Alves <palves@redhat.com>
2362 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
2365 2015-02-20 Pedro Alves <palves@redhat.com>
2367 * gdb.threads/multi-create-ns-info-thr.exp: New file.
2369 2015-02-20 Pedro Alves <palves@redhat.com>
2371 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
2372 clean_restart before gdb_target_supports_trace.
2374 2015-02-20 Pedro Alves <palves@redhat.com>
2377 * gdb.threads/clone-thread_db.c: New file.
2378 * gdb.threads/clone-thread_db.exp: New file.
2380 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
2382 PR breakpoints/16812
2383 * gdb.base/catch-gdb-caused-signals.c: New file.
2384 * gdb.base/catch-gdb-caused-signals.exp: New file.
2386 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
2388 * configure: Regenerated.
2389 * configure.ac: Use GDB_AC_TRANSFORM.
2390 * aclocal.m4: sinclude ../transform.m4.
2392 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2394 * lib/dtrace.exp: New file.
2395 * gdb.base/dtrace-probe.exp: Likewise.
2396 * gdb.base/dtrace-probe.d: Likewise.
2397 * gdb.base/dtrace-probe.c: Likewise.
2398 * lib/pdtrace.in: Likewise.
2399 * configure.ac: Output variables with the transformed names of
2400 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
2401 * configure: Regenerated.
2403 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2405 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
2406 expected message when trying to access $_probe_* convenience
2407 variables while not on a probe.
2409 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2411 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
2413 2015-02-11 Pedro Alves <pedro@codesourcery.com>
2415 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
2416 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
2418 2015-02-10 Doug Evans <xdje42@gmail.com>
2420 * lib/gdb.exp (gdb_load): Always return a result.
2422 2015-02-10 Pedro Alves <palves@redhat.com>
2424 * gdb.threads/signal-sigtrap.c: New file.
2425 * gdb.threads/signal-sigtrap.exp: New file.
2427 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
2429 * gdb.trace/no-attach-trace.c: New file.
2430 * gdb.trace/no-attach-trace.exp: New file.
2432 2015-02-09 Mark Wielaard <mjw@redhat.com>
2434 * gdb.dwarf2/atomic.c: New file.
2435 * gdb.dwarf2/atomic-type.exp: Likewise.
2437 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2439 * gdb.btrace/buffer-size.exp: Update "info record" output.
2440 * gdb.btrace/delta.exp: Update "info record" output.
2441 * gdb.btrace/enable.exp: Update "info record" output.
2442 * gdb.btrace/finish.exp: Update "info record" output.
2443 * gdb.btrace/instruction_history.exp: Update "info record" output.
2444 * gdb.btrace/next.exp: Update "info record" output.
2445 * gdb.btrace/nexti.exp: Update "info record" output.
2446 * gdb.btrace/step.exp: Update "info record" output.
2447 * gdb.btrace/stepi.exp: Update "info record" output.
2448 * gdb.btrace/nohist.exp: Update "info record" output.
2450 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2452 * gdb.btrace/buffer-size: New.
2454 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2456 * gdb.btrace/delta.exp: Update "info record" output.
2457 * gdb.btrace/enable.exp: Update "info record" output.
2458 * gdb.btrace/finish.exp: Update "info record" output.
2459 * gdb.btrace/instruction_history.exp: Update "info record" output.
2460 * gdb.btrace/next.exp: Update "info record" output.
2461 * gdb.btrace/nexti.exp: Update "info record" output.
2462 * gdb.btrace/step.exp: Update "info record" output.
2463 * gdb.btrace/stepi.exp: Update "info record" output.
2464 * gdb.btrace/nohist.exp: Update "info record" output.
2466 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
2469 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
2471 2015-02-06 Pedro Alves <palves@redhat.com>
2473 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
2475 (seconds_left, again): New globals.
2476 (main): Wait seconds_left in a 1-second sleep loop instead of
2477 sleeping 180 seconds. If 'again' is set, reset the seconds
2479 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
2480 'again' in the inferior before detaching. Print the seconds left.
2481 (options): New global.
2482 (top level): Build program with -DTIMEOUT=$timeout.
2484 2015-02-06 Pedro Alves <palves@redhat.com>
2486 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
2487 determine how many seconds to pass to 'alarm'.
2488 * gdb.base/gdb-sigterm.exp (top level): Build program with
2490 (do_test): Return success/failure indication. Add more verbose
2491 logging. Don't fail if 200 single steps are seen. Instead, fail
2492 when the test times out.
2493 (passes): New global.
2494 (top level): Break the testing loop if testing fails on any
2495 iteration. Use gdb_assert.
2497 2015-02-04 Don Breazeal <donb@codesourcery.com>
2499 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
2500 and initialize them.
2501 (ipc_cleanup): New function.
2502 (main): Don't declare shmid, semid, and msqid. Add a call to
2503 atexit so that we call ipc_cleanup on exit.
2505 2015-02-04 Pedro Alves <palves@redhat.com>
2507 * boards/native-extended-gdbserver.exp: Remove any target variant
2508 specifications from the board name before clearing the isremote
2509 flag from board_info.
2511 2015-01-31 Doug Evans <xdje42@gmail.com>
2513 * gdb.base/maint.exp <maint print type argc>: Update expected output.
2515 2015-01-31 Gary Benson <gbenson@redhat.com>
2517 * gdb.base/completion.exp: Disable completion limiting for
2518 existing tests. Add new tests to check completion limiting.
2519 * gdb.linespec/ls-errs.exp: Disable completion limiting.
2521 2015-01-31 Doug Evans <xdje42@gmail.com>
2523 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
2525 2015-01-31 Doug Evans <xdje42@gmail.com>
2527 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
2528 entries. Duplicate file section script entries.
2529 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
2530 inlined entries. Add test for safe-path rejection.
2531 * gdb.python/py-section-script.c: Add duplicate inlined section script
2532 entries. Duplicate file section script entries.
2533 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
2534 inlined entries. Add test for safe-path rejection.
2536 2015-01-29 Joel Brobecker <brobecker@adacore.com>
2538 * gdb.ada/disc_arr_bound: New testcase.
2540 2015-01-29 Joel Brobecker <brobecker@adacore.com>
2542 * gdb.ada/mi_var_array: New testcase.
2544 2015-01-27 Doug Evans <dje@google.com>
2546 * gdb.python/py-objfile.exp: Add tests for objfile.username.
2547 Add test for objfile.filename, objfile.username after objfile
2550 2015-01-26 Joel Brobecker <brobecker@adacore.com>
2552 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
2553 the second test to print the name attribute of value
2554 returned by the call to gdb.lookup_type, and adjust
2555 the expected output accordingly.
2557 2015-01-25 Mark Wielaard <mjw@redhat.com>
2559 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
2560 * gdb.base/disp-step-fork.c: Include unistd.h.
2561 * gdb.base/siginfo-obj.c: Include stdio.h.
2562 * gdb.base/siginfo-thread.c: Likewise.
2563 * gdb.mi/non-stop.c: Include unistd.h.
2564 * gdb.mi/nsthrexec.c: Include stdio.h.
2565 * gdb.mi/pthreads.c: Include unistd.h.
2566 * gdb.modula2/unbounded1.c (main): Declare returns int.
2567 * gdb.reverse/consecutive-reverse.c: Likewise.
2568 * gdb.threads/create-fail.c: Include unistd.h.
2569 * gdb.threads/killed.c: Likewise.
2570 * gdb.threads/linux-dp.c: Likewise.
2571 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
2572 * gdb.threads/non-ldr-exc-2.c: Likewise.
2573 * gdb.threads/non-ldr-exc-3.c: Likewise.
2574 * gdb.threads/non-ldr-exc-4.c: Likewise.
2575 * gdb.threads/pthreads.c: Include unistd.h.
2576 (main): Declare returns int.
2577 * gdb.threads/tls-main.c (foo): New declaration.
2578 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
2580 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
2582 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
2583 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
2585 2015-01-15 Mark Wielaard <mjw@redhat.com>
2587 * gdb.base/noreturn-return.c: New file.
2588 * gdb.base/noreturn-return.exp: New file.
2589 * gdb.base/noreturn-finish.c: New file.
2590 * gdb.base/noreturn-finish.exp: New file.
2592 2015-01-23 Pedro Alves <palves@redhat.com>
2594 * gdb.threads/continue-pending-after-query.c: New file.
2595 * gdb.threads/continue-pending-after-query.exp: New file.
2597 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
2598 Simon Marchi <simon.marchi@ericsson.com>
2600 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
2601 * gdb.base/valgrind-db-attach.exp: Same.
2602 * gdb.base/valgrind-infcall.exp: Same.
2603 * lib/mi-support.exp (default_mi_gdb_start): Same.
2604 * lib/prompt.exp (default_prompt_gdb_start): Same.
2605 * lib/gdb.exp (default_gdb_spawn): Same.
2606 (gdb_interact): New.
2609 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2611 * gdb.compile/compile.exp (pointer to jit function): New test.
2613 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
2615 * lib/gdb.exp (supports_process_record): Return true for
2617 (supports_reverse): Likewise.
2619 2015-01-15 Don Breazeal <donb@codesourcery.com>
2621 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
2622 instead of checking whether the target board is remote and
2623 use spawn_wait_for_attach instead of exec/sleep.
2624 * gdb.base/attach-twice.exp: Likewise.
2626 2015-01-15 Joel Brobecker <brobecker@adacore.com>
2628 * gdb.ada/var_arr_attrs: New testcase.
2630 2015-01-14 Pedro Alves <palves@redhat.com>
2631 Joel Brobecker <brobecker@adacore.com>
2634 * gdb.base/bp-cmds-execution-x-script.c: New file.
2635 * gdb.base/bp-cmds-execution-x-script.exp: New file.
2636 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
2638 2015-01-14 Pedro Alves <palves@redhat.com>
2641 * gdb.base/batch-preserve-term-settings.c: New file.
2642 * gdb.base/batch-preserve-term-settings.exp: New file.
2644 2015-01-13 Doug Evans <dje@google.com>
2646 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
2649 2015-01-13 Joel Brobecker <brobecker@adacore.com>
2651 * Makefile.in (clean mostlyclean): Do not delete *.py.
2653 2015-01-13 Joel Brobecker <brobecker@adacore.com>
2655 * gdb.python/py-lookup-type.exp: New file.
2657 2015-01-12 Pedro Alves <palves@redhat.com>
2659 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
2660 restore GDBFLAGS before returning.
2662 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2664 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
2665 is_amd64_regs_target and is_x86_like_target.
2667 2015-01-11 Doug Evans <xdje42@gmail.com>
2669 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
2670 is given without an explicit form.
2671 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
2673 * gdb.dwarf/corrupt.exp: Ditto.
2674 * gdb.dwarf2/enum-type.exp: Ditto.
2675 * gdb.trace/entry-values.exp: Ditto.
2676 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
2678 2015-01-11 Doug Evans <xdje42@gmail.com>
2681 * gdb.base/maint.exp: Remove references to "maint demangle".
2682 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
2683 Add tests for explicitly specifying language to demangle.
2684 * gdb.dlang/demangle.exp: Ditto.
2686 2015-01-09 Pedro Alves <palves@redhat.com>
2688 * gdb.threads/non-stop-fair-events.c: New file.
2689 * gdb.threads/non-stop-fair-events.exp: New file.
2691 2015-01-09 Pedro Alves <palves@redhat.com>
2693 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
2694 the global scope. Set a breakpoint after all threads are started
2695 rather than stepping over two source lines. Expect the prompt.
2696 * gdb.base/watch_thread_num.c (threads_started_barrier): New
2699 (main): Use threads_started_barrier to wait for all threads to
2700 start. Main thread no longer calls thread_function. Exit after
2702 (loop): New function.
2703 (thread_function): Wait on threads_started_barrier barrier. Call
2704 'loop' at each iteration.
2705 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
2706 threads have started, instead of hardcoding number of "next"
2707 steps. Use an access watchpoint instead of a write watchpoint.
2709 2015-01-09 Pedro Alves <palves@redhat.com>
2711 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
2712 (thread_func): Wait on barrier.
2713 (main): Wait for all threads to start before stopping GDB.
2714 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
2716 (thread1_func, thread2_func): Wait on barrier.
2717 (main): Wait for all threads to start before stopping GDB.
2718 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
2720 (thread1_func, thread2_func): Wait on barrier.
2721 (main): Wait for all threads to start before stopping GDB.
2723 2015-01-09 Pedro Alves <palves@redhat.com>
2725 * gdb.threads/attach-many-short-lived-threads.c: New file.
2726 * gdb.threads/attach-many-short-lived-threads.exp: New file.
2728 2014-01-09 Pedro Alves <palves@redhat.com>
2730 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
2731 instead of to thread 2.
2732 * gdb.threads/signal-command-multiple-signals-pending.c (main):
2733 Add barrier around each pthread_create call instead of around all
2735 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
2736 Set a break on thread_function and have the child threads hit it
2739 2015-01-09 Pedro Alves <palves@redhat.com>
2741 * lib/gdb.exp (can_spawn_for_attach): New procedure.
2742 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
2744 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
2745 checking whether the target board is remote.
2746 * gdb.multi/multi-attach.exp: Likewise.
2747 * gdb.python/py-sync-interp.exp: Likewise.
2748 * gdb.server/ext-attach.exp: Likewise.
2749 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
2750 tests that need to attach, instead of checking whether the target
2751 board is remote at the top of the file.
2753 2015-01-08 Yao Qi <yao@codesourcery.com>
2755 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
2757 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2759 Fix testcase compilation.
2760 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
2762 2015-01-06 Joel Brobecker <brobecker@adacore.com>
2764 * gdb.python/py-type.exp: Add a couple test about empty
2765 array creation, and negative-length array creation.
2767 2015-01-02 Doug Evans <xdje42@gmail.com>
2769 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
2771 2015-01-02 Doug Evans <dje@google.com>
2773 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
2775 2014-12-29 Yao Qi <yao@codesourcery.com>
2777 * gdb.trace/entry-values.exp: Update comments. Rename variable
2778 bar_call_foo to returned_from_foo.
2780 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
2783 * gdb.linespec/break-asm-file.c: New file.
2784 * gdb.linespec/break-asm-file.exp: New file.
2785 * gdb.linespec/break-asm-file0.s: New file.
2786 * gdb.linespec/break-asm-file1.s: New file.
2788 2014-12-18 Nigel Stephens <nigel@mips.com>
2789 Maciej W. Rozycki <macro@codesourcery.com>
2791 * gdb.base/float.exp: Handle the new output from "info float" on
2794 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2796 Fix MinGW compilation.
2797 * gdb.compile/compile-ops.exp: Update untested message if
2798 !skip_compile_feature_tests.
2799 * gdb.compile/compile-setjmp.exp: Likewise.
2800 * gdb.compile/compile-tls.exp: Likewise.
2801 * gdb.compile/compile.exp: Likewise.
2802 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
2803 supported on this host".
2805 2014-12-16 Doug Evans <xdje42@gmail.com>
2807 * boards/stabs.exp: New file.
2809 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
2811 * gdb.base/completion.exp: Adjust to format changes of "maint
2812 print user-registers".
2814 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
2817 * gdb.arch/aarch64-fp.c: New file.
2818 * gdb.arch/aarch64-fp.exp: New file.
2820 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
2822 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
2823 r210637, r210913, r211666, r215400, r215817).
2825 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
2826 * dg-extract-results.py: New file.
2827 * dg-extract-results.sh: Use it if the environment seems
2830 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
2832 * dg-extract-results.py (parse_run): Handle warnings that
2833 are printed before a test harness is run.
2835 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
2837 * dg-extract-results.py (Named): Remove __cmp__ method.
2838 (output_variation): Use a key to sort variation.harnesses.
2840 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
2842 * dg-extract-results.py: For Python 3, force sys.stdout to
2843 handle surrogate escape sequences.
2844 (safe_open): New function.
2845 (output_segment, main): Use it.
2847 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
2849 * dg-extract-results.py (Prog.result_re): Include options
2852 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
2854 * dg-extract-results.py (output_variation): Always sort if
2857 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
2859 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
2860 as long as we get pagination notifications.
2862 2014-12-15 Jason Merrill <jason@redhat.com>
2864 * Makefile.in (check-gdb.%): Restore.
2865 * README: Mention it.
2867 2014-12-13 Joel Brobecker <brobecker@adacore.com>
2869 * gdb.ada/str_uninit: New testcase.
2871 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2874 * gdb.base/vla-stub-define.c: New file.
2875 * gdb.base/vla-stub.c: New file.
2876 * gdb.base/vla-stub.exp: New file.
2878 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
2879 Jan Kratochvil <jan.kratochvil@redhat.com>
2880 Tom Tromey <tromey@redhat.com>
2882 * configure.ac: Add gdb.compile/.
2883 * configure: Regenerate.
2884 * gdb.compile/Makefile.in: New file.
2885 * gdb.compile/compile-ops.exp: New file.
2886 * gdb.compile/compile-ops.c: New file.
2887 * gdb.compile/compile-tls.c: New file.
2888 * gdb.compile/compile-tls.exp: New file.
2889 * gdb.compile/compile-constvar.S: New file.
2890 * gdb.compile/compile-constvar.c: New file.
2891 * gdb.compile/compile-mod.c: New file.
2892 * gdb.compile/compile-nodebug.c: New file.
2893 * gdb.compile/compile-setjmp-mod.c: New file.
2894 * gdb.compile/compile-setjmp.c: New file.
2895 * gdb.compile/compile-setjmp.exp: New file.
2896 * gdb.compile/compile-shlib.c: New file.
2897 * gdb.compile/compile.c: New file.
2898 * gdb.compile/compile.exp: New file.
2899 * lib/gdb.exp (skip_compile_feature_tests): New proc.
2901 2014-12-12 Tom Tromey <tromey@redhat.com>
2903 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
2904 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
2906 2014-12-12 Doug Evans <dje@google.com>
2908 * lib/gdb-python.exp (get_python_valueof): New function.
2909 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
2911 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2913 * gdb.base/completion.exp: Add test for completion of "info
2916 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
2918 * gdb.base/func-ptrs.c: New file.
2919 * gdb.base/func-ptrs.exp: New file.
2921 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2923 PR breakpoints/17012
2924 * gdb.base/dprintf-detach.c: New file.
2925 * gdb.base/dprintf-detach.exp: New file.
2927 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2929 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
2930 * lib/gdb.exp (target_is_gdbserver): New procedure.
2932 2014-12-08 Doug Evans <dje@google.com>
2934 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
2936 2014-12-05 Yao Qi <yao@codesourcery.com>
2938 * gdb.guile/scm-error.exp: Remove the third argument to
2939 gdb_remote_download.
2940 * gdb.guile/scm-frame-args.exp: Likewise.
2941 * gdb.guile/scm-section-script.exp: Likewise.
2943 2014-12-05 Yao Qi <yao@codesourcery.com>
2945 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
2947 2014-12-04 Doug Evans <dje@google.com>
2949 * gdb.python/py-objfile.exp: Add tests for
2950 objfile.add_separate_debug_file.
2952 2014-12-04 Doug Evans <dje@google.com>
2954 * lib/gdb.exp (get_build_id): New function.
2955 (build_id_debug_filename_get): Rewrite to use it.
2956 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
2958 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
2960 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
2961 `method(long)', not just 0x0.
2962 * gdb.cp/nsalias.exp: Align code labels to 4.
2963 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
2964 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
2965 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
2966 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
2967 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
2968 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
2970 2014-12-02 Doug Evans <dje@google.com>
2973 * gdb.cp/anon-ns.cc: Move guts of this file to ...
2974 * gdb.cp/anon-ns2.cc: ... here. New file.
2975 * gdb.cp/anon-ns.exp: Update.
2977 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
2979 * gdb.python/py-events.py (inferior_call_handler): New.
2980 (register_changed_handler, memory_changed_handler): New.
2981 (test_events.invoke): Register new handlers.
2982 * gdb.python/py-events.exp: Add tests for inferior call,
2983 memory_changed and register_changed events.
2985 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
2987 * gdb.base/execl-update-breakpoints.exp: Specify the link address
2988 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
2989 if the linker doesn't understand this.
2991 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
2993 * gdb.python/python.exp: Change expected reply to help().
2995 2014-12-01 Yao Qi <yao@codesourcery.com>
2997 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
2998 AC_CONFIG_SUBDIRS(gdb.gdbtk).
2999 * configure: Re-generated.
3001 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
3003 * gdb.cp/chained-calls.cc: New file.
3004 * gdb.cp/chained-calls.exp: New file.
3005 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
3007 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
3009 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
3010 * gdb.dwarf2/symtab-producer.exp: Same.
3011 * gdb.gdb/python-interrupts.exp: Same.
3012 * gdb.gdb/python-selftest.exp: Same.
3013 * gdb.python/py-linetable.exp: Same.
3014 * gdb.python/py-type.exp: Same.
3015 * gdb.python/py-value-cc.exp: Same.
3016 * gdb.python/py-value.exp: Same.
3018 2014-11-28 Yao Qi <yao@codesourcery.com>
3020 * gdb.base/break-probes.exp: Match library name prefixed with
3023 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
3025 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
3026 test expected output. Add parentheses for the call to print.
3027 Remove L suffix from integers.
3029 2014-11-26 Doug Evans <dje@google.com>
3031 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
3033 2014-11-22 Yao Qi <yao@codesourcery.com>
3035 * gdb.trace/entry-values.c: Remove asms.
3036 (foo): Add foo_label.
3037 (bar): Add bar_label.
3038 * gdb.trace/entry-values.exp: Remove code computing foo's
3039 length and bar's length.
3040 (Dwarf::assemble): Invoke function_range for bar and use
3041 MACRO_AT_func for foo.
3043 2014-11-22 Yao Qi <yao@codesourcery.com>
3045 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
3046 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
3047 Use .Lgcc43_procstart instead of gcc43.
3049 2014-11-21 Joel Brobecker <brobecker@adacore.com>
3051 * gdb.ada/n_arr_bound: New testcase.
3053 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
3055 PR breakpoints/10737
3056 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
3057 test_catch_syscall_multi_arch.
3058 (test_catch_syscall_multi_arch): New function.
3060 2014-11-20 Doug Evans <xdje42@gmail.com>
3062 * gdb.base/maint.exp: Update expected output.
3064 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3066 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
3067 4-byte instruction on S390.
3069 2014-11-19 Joel Brobecker <brobecker@adacore.com>
3071 * gdb.ada/arr_arr: New testcase.
3073 2014-11-19 Joel Brobecker <brobecker@adacore.com>
3075 * gdb.ada/pkd_arr_elem: New Testcase.
3077 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
3079 * gdb.reverse/break-precsave: Expect completion message for
3081 * gdb.reverse/consecutive-precsave.exp: Likewise.
3082 * gdb.reverse/finish-precsave.exp: Likewise.
3083 * gdb.reverse/i386-precsave.exp: Likewise.
3084 * gdb.reverse/machinestate-precsave.exp: Likewise.
3085 * gdb.reverse/sigall-precsave.exp: Likewise.
3086 * gdb.reverse/solib-precsave.exp: Likewise.
3087 * gdb.reverse/step-precsave.exp: Likewise.
3088 * gdb.reverse/until-precsave.exp: Likewise.
3089 * gdb.reverse/watch-precsave.exp: Likewise.
3091 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3093 * gdb.base/bp-permanent.c: Include unistd.h.
3094 * gdb.python/py-framefilter-mi.c (main): Add return type.
3095 * gdb.python/py-framefilter.c (main): Likewise.
3096 * gdb.trace/actions-changed.c (main): Likewise.
3098 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3100 * gdb.mi/until.c: Add eye-catchers.
3101 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
3104 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3106 * gdb.base/condbreak.exp: Drop references to removed non-prototype
3107 function header variants in break1.c.
3108 * gdb.base/ena-dis-br.exp: Likewise.
3109 * gdb.base/hbreak2.exp: Likewise.
3110 * gdb.reverse/until-precsave.exp: Drop references to removed
3111 non-prototype function header variants in ur1.c.
3112 * gdb.reverse/until-reverse.exp: Likewise.
3114 2014-11-17 Petr Machata <pmachata@redhat.com>
3116 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
3117 ${_cu_offset_size} bytes abbrev offset.
3119 2014-11-15 Doug Evans <xdje42@gmail.com>
3122 * gdb.base/line-symtabs.exp: New file.
3123 * gdb.base/line-symtabs.c: New file.
3124 * gdb.base/line-symtabs.h: New file.
3126 2014-11-14 Yao Qi <yao@codesourcery.com>
3128 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
3129 (func): Add label func_label.
3130 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
3131 Replace low_pc and high_pc with MACRO_AT_range.
3132 Replace name, low_pc and high_pc with MACRO_AT_func.
3134 2014-11-14 Yao Qi <yao@codesourcery.com>
3136 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
3137 Replace name, low_pc and high_pc with MACRO_AT_func.
3139 2014-11-14 Yao Qi <yao@codesourcery.com>
3141 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
3142 produce debug information.
3143 * gdb.dwarf2/implptr-optimized-out.S: Removed.
3145 2014-11-14 Yao Qi <yao@codesourcery.com>
3147 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
3148 object and get function length.
3149 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
3151 (top-level): Replace gdb_compile and clean_restart with
3152 prepare_for_testing.
3153 * gdb.dwarf2/main.c (main): Add label main_label.
3155 2014-11-14 Yao Qi <yao@codesourcery.com>
3157 * lib/dwarf.exp (function_range): New procedure.
3158 (Dwarf::_handle_macro_at_func): New procedure.
3159 (Dwarf::_handle_macro_at_range): New procedure.
3160 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
3162 2014-11-14 Yao Qi <yao@codesourcery.com>
3164 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
3165 (_handle_attribute): New procedure.
3167 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3169 * gdb.ada/cond_lang/foo.c (callme): Add return type.
3170 * gdb.base/call-sc.c (zed): Likewise.
3171 * gdb.base/checkpoint.c (main): Likewise.
3172 * gdb.base/dump.c (main): Likewise.
3173 * gdb.base/gcore.c (main): Likewise.
3174 * gdb.base/huge.c (main): Likewise.
3175 * gdb.base/multi-forks.c (main): Likewise.
3176 * gdb.base/pr10179-a.c (main): Likewise.
3177 * gdb.base/savedregs.c (main): Likewise.
3178 * gdb.base/sigaltstack.c (main): Likewise.
3179 * gdb.base/siginfo.c (main): Likewise.
3180 * gdb.base/structs.c (zed): Likewise.
3181 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
3182 * gdb.mi/mi-syn-frame.c (main): Likewise.
3183 * gdb.mi/until.c (foo, main): Likewise.
3184 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
3185 * gdb.base/solib-weak.c (foo): Declare.
3186 * gdb.base/attach-twice.c: Include stdio.h.
3187 * gdb.base/weaklib1.c: Likewise.
3188 * gdb.base/weaklib2.c: Likewise.
3189 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
3190 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
3192 * gdb.base/attach-pie-misread.c: Include stdlib.h.
3193 * gdb.mi/mi-exit-code.c: Likewise.
3194 * gdb.base/break-interp-lib.c: Include string.h.
3195 * gdb.base/coremaker.c: Likewise.
3196 * gdb.base/testenv.c: Likewise.
3197 * gdb.python/py-finish-breakpoint.c: Likewise.
3198 * gdb.base/inferior-died.c: Include sys/wait.h.
3199 * gdb.base/fileio.c: Include time.h.
3200 * gdb.base/async-shell.c: Include unistd.h.
3201 * gdb.base/dprintf-non-stop.c: Likewise.
3202 * gdb.base/info-os.c: Likewise.
3203 * gdb.mi/mi-console.c: Likewise.
3204 * gdb.mi/watch-nonstop.c: Likewise.
3205 * gdb.python/py-events.c: Likewise.
3206 * gdb.base/async.c (baz): Move up before its invocation.
3207 * gdb.base/code_elim2.c (my_global_func): Likewise.
3208 * gdb.base/skip-solib-lib.c (multiply): Likewise.
3209 * gdb.base/advance.c (func2): Likewise.
3211 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3213 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
3215 * gdb.base/annota3.c: Likewise.
3216 * gdb.base/async.c: Likewise.
3217 * gdb.base/average.c: Likewise.
3218 * gdb.base/call-ar-st.c: Likewise.
3219 * gdb.base/call-rt-st.c: Likewise.
3220 * gdb.base/call-sc.c: Likewise.
3221 * gdb.base/call-strs.c: Likewise.
3222 * gdb.base/ending-run.c: Likewise.
3223 * gdb.base/execd-prog.c: Likewise.
3224 * gdb.base/exprs.c: Likewise.
3225 * gdb.base/foll-exec.c: Likewise.
3226 * gdb.base/foll-fork.c: Likewise.
3227 * gdb.base/foll-vfork.c: Likewise.
3228 * gdb.base/funcargs.c: Likewise.
3229 * gdb.base/gcore.c: Likewise.
3230 * gdb.base/jump.c: Likewise.
3231 * gdb.base/langs0.c: Likewise.
3232 * gdb.base/langs1.c: Likewise.
3233 * gdb.base/langs2.c: Likewise.
3234 * gdb.base/mips_pro.c: Likewise.
3235 * gdb.base/nodebug.c: Likewise.
3236 * gdb.base/opaque0.c: Likewise.
3237 * gdb.base/opaque1.c: Likewise.
3238 * gdb.base/recurse.c: Likewise.
3239 * gdb.base/run.c: Likewise.
3240 * gdb.base/scope0.c: Likewise.
3241 * gdb.base/scope1.c: Likewise.
3242 * gdb.base/setshow.c: Likewise.
3243 * gdb.base/setvar.c: Likewise.
3244 * gdb.base/shmain.c: Likewise.
3245 * gdb.base/shr1.c: Likewise.
3246 * gdb.base/shr2.c: Likewise.
3247 * gdb.base/sigall.c: Likewise.
3248 * gdb.base/signals.c: Likewise.
3249 * gdb.base/so-indr-cl.c: Likewise.
3250 * gdb.base/solib2.c: Likewise.
3251 * gdb.base/structs.c: Likewise.
3252 * gdb.base/sum.c: Likewise.
3253 * gdb.base/vforked-prog.c: Likewise.
3254 * gdb.base/watchpoint.c: Likewise.
3255 * gdb.reverse/shr2.c: Likewise.
3256 * gdb.reverse/until-reverse.c: Likewise.
3257 * gdb.reverse/ur1.c: Likewise.
3258 * gdb.reverse/watch-reverse.c: Likewise.
3260 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3262 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
3264 * gdb.base/sepdebug.exp: Drop references to removed code.
3266 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3268 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
3269 variant. Preserve original line numbering.
3270 * gdb.base/list1.c: Likewise.
3272 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3274 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
3276 * gdb.base/break1.c: Likewise.
3277 * gdb.base/break.exp: Drop references to removed code.
3279 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3281 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
3284 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3286 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
3288 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3290 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
3291 logic into perform_all_tests() and invoke it with and without
3292 function header prototypes.
3293 (do_function_calls): Remove conditional XFAIL for PR 5318.
3294 (rerun_and_prepare): Remove duplicate code.
3295 (perform_all_tests): New. Main logic moved here.
3297 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3299 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
3300 code guarded by #ifdef NO_PROTOTYPES.
3301 (t_double_many_args): Likewise.
3302 (DEF_FUNC_MANY_ARGS_1): Likewise.
3303 (DEF_FUNC_VALUES_1): Likewise.
3304 (t_structs_ldc): Renamed from t_structs_fc in conditional code
3305 guarded by #ifdef PROTOTYPES.
3307 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3309 * gdb.mi/mi-console.c: Add eye-catcher.
3310 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
3311 instead of literal line number.
3313 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3315 * gdb.base/shr2.c: Add eye-catcher.
3316 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
3319 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3321 * gdb.base/jump.c: Add eye-catchers.
3322 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
3325 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3327 * gdb.base/execd-prog.c: Add eye-catchers.
3328 * gdb.base/foll-exec.c: Likewise.
3329 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
3332 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3334 * gdb.base/ending-run.c: Add eye-catchers.
3335 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
3336 literal line numbers.
3338 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3340 * gdb.base/call-rt-st.c: Add eye-catchers.
3341 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
3342 literal line numbers.
3344 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3346 * gdb.base/call-ar-st.c: Add eye-catchers.
3347 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
3348 literal line numbers.
3350 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3352 * gdb.base/average.c: Add eye-catchers.
3353 * gdb.base/sum.c: Likewise.
3354 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
3355 regexps dynamically.
3357 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3359 * gdb.base/solib1.c: Add eye-catchers.
3360 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
3361 literal line numbers.
3363 2014-11-12 Pedro Alves <palves@redhat.com>
3365 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
3368 2014-11-12 Pedro Alves <palves@redhat.com>
3370 * gdb.arch/i386-bp_permanent.c: New file.
3371 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
3372 (srcfile): Set to i386-bp_permanent.c.
3373 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
3374 that stepi does not execute the 'leave' instruction, instead of
3375 testing it does execute.
3376 * gdb.base/bp-permanent.c: New file.
3377 * gdb.base/bp-permanent.exp: New file.
3379 2014-11-10 Doug Evans <xdje42@gmail.com>
3382 * gdb.base/symtab-search-order.exp: New file.
3383 * gdb.base/symtab-search-order.c: New file.
3384 * gdb.base/symtab-search-order-1.c: New file.
3385 * gdb.base/symtab-search-order-shlib-1.c: New file.
3387 2014-11-07 Pedro Alves <palves@redhat.com>
3390 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
3393 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
3396 * gdb.cp/pr17494.cc: New file.
3397 * gdb.cp/pr17494.exp: New file.
3399 2014-11-02 Yao Qi <yao@codesourcery.com>
3401 * gdb.python/python.exp: Get working directory and match the
3402 output of "set extended-prompt \\w " with it.
3404 2014-10-30 Doug Evans <dje@google.com>
3406 * gdb.python/py-objfile.exp: Add tests for setting random attributes
3408 * gdb.python/py-progspace.exp: Add tests for setting random attributes
3411 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
3413 * gdb.base/fullpath-expand.exp: Skip for a remote host.
3414 * gdb.base/realname-expand.exp: Likewise.
3415 * gdb.linespec/macro-relative.exp: Likewise.
3417 2014-10-29 Pedro Alves <palves@redhat.com>
3420 * gdb.threads/schedlock.c (some_function): New function.
3421 (call_function): New global.
3422 (MAYBE_CALL_SOME_FUNCTION): New macro.
3423 (thread_function): Call it.
3424 * gdb.threads/schedlock.exp (get_args): Add description parameter,
3425 and use it instead of a global counter. Adjust all callers.
3426 (get_current_thread): Use "find current thread" for test message
3427 here rather than having all callers pass down the same string.
3428 (goto_loop): New procedure, factored out from ...
3429 (my_continue): ... this.
3430 (step_ten_loops): Change parameter from test message to command to
3432 (list_count): Delete global.
3433 (check_result): New procedure, factored out from duplicate top
3435 (continue tests): Wrap in with_test_prefix.
3436 (test_step): New procedure, factored out from duplicate top level
3438 (top level): Test "step" in combination with all scheduler-locking
3439 modes. Test "next" in combination with all scheduler-locking
3440 modes, and in combination with stepping over a function call or
3442 * gdb.threads/next-bp-other-thread.c: New file.
3443 * gdb.threads/next-bp-other-thread.exp: New file.
3445 2014-10-29 Pedro Alves <palves@redhat.com>
3448 * gdb.python/python.exp: Test a multi-line command that spawns
3450 * gdb.base/multi-line-starts-subshell.exp: New file.
3452 2014-10-29 Yao Qi <yao@codesourcery.com>
3454 * gdb.base/fileio.exp: Make directories on host.
3456 2014-10-29 Yao Qi <yao@codesourcery.com>
3458 * gdb.base/fileio.c (test_write): Close the file.
3460 2014-10-28 Pedro Alves <palves@redhat.com>
3463 * gdb.base/sigstep.c (no_handler): New global.
3464 (main): If 'no_handler is true, set the signal handlers to
3466 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
3467 with_sw_watch and no_handler parameters. Handle them.
3468 (top level) <stepping over handler when stopped at a breakpoint
3469 test>: Add a test axis for testing with a software watchpoint, and
3470 another for testing with the signal handler set to SIG_IGN.
3471 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
3472 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
3474 2014-10-28 Pedro Alves <palves@redhat.com>
3477 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
3478 * gdb.base/sigstep.exp (other_handler_location): New global.
3479 (advance): Support stepping into the signal handler, and running
3480 commands while in the handler.
3481 (in_handler_map): New global.
3482 (top level): In the advance test, add combinations for getting
3483 into the handler with stepping commands, and for running commands
3484 in the handler. Add comment descripting the advancei tests.
3486 2014-10-28 Pedro Alves <palves@redhat.com>
3488 * gdb.base/sigstep.exp: Use build_executable instead of
3489 prepare_for_testing.
3490 (top level): Move code that starts GDB, runs to main and creates a
3492 (restart): ... this new procedure.
3493 (top level): Move backtrace from signal handler test to ...
3494 (validate_backtrace): ... this new procedure.
3495 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
3496 with_test_prefix. Always restart GDB.
3497 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
3498 with_test_prefix. Always restart GDB. No need to delete
3499 breakpoints after the test.
3500 (test_skip_handler): Remove prefix parameter.
3501 (skip_over_handler, breakpoint_to_handler)
3502 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
3503 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
3504 restart GDB. No need to delete breakpoints after the test.
3505 (top level): Use foreach to call the test procedures with
3508 2014-10-28 Pedro Alves <palves@redhat.com>
3510 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
3511 instead of GNATS numbers.
3512 * gdb.base/sigbpt.exp: Likewise.
3513 * gdb.base/siginfo.exp: Likewise.
3514 * gdb.base/sigstep.exp: Likewise.
3516 2014-10-27 Pedro Alves <palves@redhat.com>
3518 * gdb.base/sigstep.c (dummy): New global.
3519 (main): Issue a couple writes to the new global.
3520 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
3522 (skip_over_handler): Use test_skip_handler.
3523 (top level): Call skip_over_handler for stepi and nexti too.
3524 (breakpoint_over_handler): Use test_skip_handler.
3525 (top level): Call breakpoint_over_handler for stepi and nexti too.
3527 2014-10-27 Yao Qi <yao@codesourcery.com>
3529 * gdb.trace/tfile.c (adjust_function_address)
3530 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
3531 function descriptor.
3533 2014-10-24 Don Breazeal <donb@codesourcery.com>
3535 * gdb.base/foll-fork.exp (test_follow_fork,
3536 catch_fork_child_follow): Check for updated fork messages emitted
3538 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
3539 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
3540 vfork_and_exec_child_follow_through_step): Check for updated vfork
3541 messages emitted from infrun.c.
3543 2014-10-24 Pedro Alves <palves@redhat.com>
3545 * gdb.base/corefile.exp: Remove references to ultrix.
3546 * gdb.base/interrupt.exp: Likewise.
3547 * gdb.base/whatis.exp: Likewise.
3548 * gdb.gdb/selftest.exp: Likewise.
3549 * gdb.threads/manythreads.exp: Likewise.
3550 * gdb.threads/print-threads.exp: Likewise.
3551 * gdb.threads/pthreads.exp:: Likewise.
3552 * gdb.threads/schedlock.exp: Likewise.
3554 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
3556 * gdb.cp/non-trivial-retval.cc: Add a test case.
3557 * gdb.cp/non-trivial-retval.exp: Add a test.
3559 2014-10-20 Yao Qi <yao@codesourcery.com>
3561 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
3562 * gdb.python/py-objfile-script-gdb.py: New file.
3563 * gdb.python/py-objfile-script.exp: Update reference to
3564 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
3565 of remote_download. Remove the dest file.
3567 2014-10-20 Yao Qi <yao@codesourcery.com>
3569 * gdb.base/checkpoint.exp: Don't remove file copied on host.
3570 * gdb.base/step-line.exp: Likewise.
3571 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3572 * gdb.dwarf2/dw2-basic.exp: Likewise.
3573 * gdb.dwarf2/dw2-compressed.exp: Likewise.
3574 * gdb.dwarf2/dw2-filename.exp: Likewise.
3575 * gdb.dwarf2/dw2-intercu.exp: Likewise.
3576 * gdb.dwarf2/dw2-intermix.exp: Likewise.
3577 * gdb.dwarf2/dw2-producer.exp: Likewise.
3578 * gdb.dwarf2/mac-fileno.exp: Likewise.
3579 * gdb.python/py-frame-args.exp: Likewise.
3580 * gdb.python/py-framefilter.exp: Likewise.
3581 * gdb.python/py-mi.exp: Likewise.
3582 * gdb.python/py-objfile-script.exp: Likewise
3583 * gdb.python/py-pp-integral.exp: Likewise.
3584 * gdb.python/py-pp-re-notag.exp: Likewise.
3585 * gdb.python/py-prettyprint.exp: Likewise.
3586 * gdb.python/py-section-script.exp: Likewise.
3587 * gdb.python/py-typeprint.exp: Likewise.
3588 * gdb.python/py-xmethods.exp: Likewise.
3589 * gdb.stabs/weird.exp: Likewise.
3590 * gdb.xml/tdesc-regs.exp: Likewise.
3592 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
3594 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
3595 (out_cu): Use addr_len for the size of addresses.
3596 (out_line): Likewise. Size DW_LNE_set_address instruction
3597 according to addr_len.
3598 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
3599 (FUNC): Add START_INSNS to definition.
3601 2014-10-18 Yao Qi <yao@codesourcery.com>
3603 * gdb.base/argv0-symlink.exp: Check argv[0] value if
3604 gdb_has_argv0 return true.
3605 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
3606 check [target_info exists noargs], check [gdb_has_argv0]
3608 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3609 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
3612 2014-10-17 Doug Evans <dje@google.com>
3614 * gdb.python/py-events.exp: Update expected output for clear_objfiles
3616 * gdb.python/py-events.py: Add clear_objfiles event.
3618 2014-10-17 Doug Evans <dje@google.com>
3620 * gdb.python/py-objfile.exp: Test progspace attribute.
3622 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
3624 * gdb.guile/scm-breakpoint.exp: Do not assume any
3625 directory separators when matching source file paths.
3626 * gdb.python/py-breakpoint.exp: Likewise.
3627 * gdb.reverse/break-precsave.exp: Likewise.
3628 * gdb.reverse/break-reverse.exp: Likewise.
3629 * gdb.reverse/consecutive-precsave.exp: Likewise.
3630 * gdb.reverse/finish-precsave.exp: Likewise.
3631 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
3632 * gdb.reverse/finish-reverse.exp: Likewise.
3633 * gdb.reverse/i386-precsave.exp: Likewise.
3634 * gdb.reverse/i387-env-reverse.exp: Likewise.
3635 * gdb.reverse/i387-stack-reverse.exp: Likewise.
3636 * gdb.reverse/machinestate-precsave.exp: Likewise.
3637 * gdb.reverse/machinestate.exp: Likewise.
3638 * gdb.reverse/sigall-precsave.exp: Likewise.
3639 * gdb.reverse/solib-precsave.exp: Likewise.
3640 * gdb.reverse/step-precsave.exp: Likewise.
3641 * gdb.reverse/until-precsave.exp: Likewise.
3642 * gdb.reverse/watch-precsave.exp: Likewise.
3643 * gdb.reverse/watch-reverse.exp: Likewise.
3645 2014-10-17 Yao Qi <yao@codesourcery.com>
3647 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
3648 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
3650 2014-10-17 Pedro Alves <palves@redhat.com>
3653 * gdb.base/bg-execution-repeat.c: New file.
3654 * gdb.base/bg-execution-repeat.exp: New file.
3656 2014-10-17 Pedro Alves <palves@redhat.com>
3659 * gdb.base/continue-all-already-running.c: New file.
3660 * gdb.base/continue-all-already-running.exp: New file.
3662 2014-10-17 Pedro Alves <palves@redhat.com>
3665 * gdb.base/annota-input-while-running.c: New file.
3666 * gdb.base/annota-input-while-running.exp: New file.
3668 2014-10-17 Pedro Alves <palves@redhat.com>
3670 * gdb.base/callfuncs.exp: emove references to osf.
3671 * gdb.base/sigall.exp: Likewise.
3672 * gdb.gdb/selftest.exp: Likewise.
3673 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
3674 * gdb.mi/non-stop.c: Likewise.
3675 * gdb.mi/pthreads.c: Likewise.
3676 * gdb.reverse/sigall-precsave.exp: Likewise.
3677 * gdb.reverse/sigall-reverse.exp: Likewise.
3678 * gdb.threads/pthreads.c: Likewise.
3679 * gdb.threads/pthreads.exp: Likewise.
3681 2014-10-17 Yao Qi <yao@codesourcery.com>
3683 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
3684 check 'target_info exists noargs'.
3685 (test_command_prompt_position): Likewise.
3686 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
3688 (progvar_simple_while_test): Likewise.
3689 (progvar_complex_if_while_test): Likewise.
3690 (if_while_breakpoint_command_test): Likewise.
3691 (infrun_breakpoint_command_test): Likewise.
3692 (breakpoint_command_test): Likewise.
3693 (watchpoint_command_test): Likewise.
3694 (bp_deleted_in_command_test): Likewise.
3695 (temporary_breakpoint_commands): Likewise.
3697 2014-10-16 Yao Qi <yao@codesourcery.com>
3699 * gdb.base/remotetimeout.exp: Remove noargs checking.
3701 2014-10-15 Pedro Alves <palves@redhat.com>
3704 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
3705 * gdb.base/breakpoint-in-ro-region.exp
3706 (probe_target_hardware_step): New procedure.
3707 (top level): Probe hardware stepping and hardware breakpoint
3708 support. Test stepping through a read-only region, with both
3709 "breakpoint auto-hw" on and off and both "always-inserted" on and
3712 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
3714 * gdb.dlang/demangle.exp: Update for demangling changes.
3716 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3718 * gdb.cp/non-trivial-retval.cc: Add new test cases.
3719 * gdb.cp/non-trivial-retval.exp: Add new tests.
3721 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3725 * gdb.cp/non-trivial-retval.cc: New file.
3726 * gdb.cp/non-trivial-retval.exp: New file.
3728 2014-10-15 Yao Qi <yao@codesourcery.com>
3730 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
3733 2014-10-15 Yao Qi <yao@codesourcery.com>
3735 * gdb.python/py-symbol.exp: Match file base name if host is
3736 remote, otherwise match file name with dir name.
3737 * gdb.python/py-symtab.exp: Likewise.
3738 * gdb.python/python.exp: Likewise.
3740 2014-10-15 Yao Qi <yao@codesourcery.com>
3742 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
3744 * gdb.python/py-symtab.exp: Likewise.
3745 * gdb.python/python.exp: Remove trailing ".*". Fix typo
3748 2014-10-14 Joel Brobecker <brobecker@adacore.com>
3750 * gdb.ada/addr_arith: New testcase.
3752 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
3754 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
3755 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
3756 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
3757 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
3759 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
3761 * gdb.arch/stap-eval-lang-ada.S: Likewise.
3762 * gdb.arch/stap-eval-lang-ada.c: Likewise.
3763 * gdb.arch/stap-eval-lang-ada.exp: New file.
3765 2014-10-14 Yao Qi <yao@codesourcery.com>
3767 * gdb.mi/mi-var-child.c (nothing1): New function.
3768 (nothing2): New function.
3769 (do_children_tests): Set function pointers by nothing1 and
3771 * gdb.mi/mi-var-child.exp: Step over new added statements.
3772 Update test to match the new output.
3773 * gdb.mi/var-cmd.c (nothing1): New function.
3774 (nothing2): New function.
3775 (do_children_tests): Set function pointers by nothing1 and
3777 * gdb.mi/mi-var-display.exp: Update test to match output.
3778 Step to the line specified by $line_dct_nothing.
3779 Increase the number of lines to step.
3781 2014-10-14 Yao Qi <yao@codesourcery.com>
3783 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
3785 * gdb.mi/mi2-var-child.exp: Likewise.
3787 2014-10-13 Doug Evans <dje@google.com>
3789 * gdb.python/py-objfile.exp: Change name of file name test.
3791 2014-10-13 Doug Evans <dje@google.com>
3793 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
3794 from the start of the CU.
3796 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3797 Yao Qi <yao@codesourcery.com>
3799 Fix "save breakpoints" for "catch" command.
3800 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
3801 Remove -nonewline. Match also the added "main" line.
3803 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3805 Fix "save breakpoints" for "disable $bpnum" command.
3806 * gdb.base/save-bp.c (main): Add label.
3807 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
3809 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3811 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
3813 2014-10-11 Yao Qi <yao@codesourcery.com>
3815 * gdb.server/server-kill.exp: Execute command
3816 "set remote trace-status-packet on" before "tstatus".
3818 2014-10-11 Yao Qi <yao@codesourcery.com>
3820 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
3821 (main): Call getppid.
3822 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
3823 and continue to it. Read variable "server_pid".
3825 2014-10-11 Yao Qi <yao@codesourcery.com>
3827 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
3829 2014-10-11 Yao Qi <yao@codesourcery.com>
3831 * gdb.threads/thread-find.exp: Don't execute command
3833 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
3834 * gdb.threads/linux-dp.exp: Don't check the condition
3835 $threads_created equals to zero.
3837 2014-10-10 Pedro Alves <palves@redhat.com>
3839 * gdb.base/bigcore.exp: Remove references to IRIX.
3840 * gdb.base/funcargs.exp: Likewise.
3841 * gdb.base/interrupt.exp: Likewise.
3842 * gdb.base/mips_pro.exp: Likewise.
3843 * gdb.base/nodebug.exp: Likewise.
3844 * gdb.base/setvar.exp: Likewise.
3845 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
3847 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3848 Pedro Alves <palves@redhat.com>
3851 * gdb.base/vdso-warning.c: New file.
3852 * gdb.base/vdso-warning.exp: New file.
3854 2014-10-02 Doug Evans <dje@google.com>
3856 * gdb.base/structs.c (main): Don't run forever.
3858 2014-10-02 Pedro Alves <palves@redhat.com>
3860 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
3861 (top level) <stop threads 1, stop threads 2>: Use it.
3863 2014-10-02 Pedro Alves <palves@redhat.com>
3865 * gdb.threads/break-while-running.exp (test): Add new
3866 'update_thread_list' argument. Skip "info threads" if false.
3867 (top level): Add new 'update_thread_list' axis.
3869 2014-10-02 Pedro Alves <palves@redhat.com>
3871 PR breakpoints/17431
3872 * gdb.base/execl-update-breakpoints.c: New file.
3873 * gdb.base/execl-update-breakpoints.exp: New file.
3875 2014-10-01 Pedro Alves <palves@redhat.com>
3877 * gdb.base/breakpoint-in-ro-region.c: New file.
3878 * gdb.base/breakpoint-in-ro-region.exp: New file.
3880 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
3882 * gdb.mi/mi-exit-code.exp: New file.
3883 * gdb.mi/mi-exit-code.c: New file.
3885 2014-09-30 Yao Qi <yao@codesourcery.com>
3887 * lib/prelink-support.exp (build_executable_own_libs): Error if
3888 the target isn't native.
3890 2014-09-30 Yao Qi <yao@codesourcery.com>
3892 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
3895 2014-09-22 Pedro Alves <palves@redhat.com>
3897 * gdb.threads/break-while-running.exp: New file.
3898 * gdb.threads/break-while-running.c: New file.
3900 2014-09-19 Yao Qi <yao@codesourcery.com>
3902 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
3903 Invoke test. Restart GDB with --readnow and invoke test again.
3905 2014-09-19 Yao Qi <yao@codesourcery.com>
3907 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
3908 proc set_breakpoint_on_gcd_function. Invoke
3909 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
3910 invoke set_breakpoint_on_gcd_function again.
3912 2014-09-18 Doug Evans <dje@google.com>
3914 * gdb.dwarf2/symtab-producer.exp: New file.
3916 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3918 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
3919 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
3920 * gdb.base/global-var-nested-by-dso.c: Likewise.
3921 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3923 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3924 Pedro Alves <palves@redhat.com>
3926 * gdb.base/watch-bitfields.exp: Pass string other than test file
3927 name to prepare_for_testing.
3928 (watch): New procedure.
3929 (expect_watchpoint): Use with_test_prefix.
3930 (top level): Factor out tests to ...
3931 (test_watch_location, test_regular_watch): ... these new
3932 procedures, and use with_test_prefix and gdb_continue_to_end.
3934 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
3936 PR breakpoints/12526
3937 * gdb.base/watch-bitfields.exp: New file.
3938 * gdb.base/watch-bitfields.c: New file.
3940 2014-09-16 Pedro Alves <palves@redhat.com>
3942 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
3943 software and hardware addresses, not software address against
3946 2014-09-16 Pedro Alves <palves@redhat.com>
3948 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
3949 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
3951 2014-09-16 Pedro Alves <palves@redhat.com>
3953 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
3955 * gdb.base/a2-run.exp: Remove all code guarded by istarget
3956 "*-*-vxworks*" throughout.
3957 * gdb.base/break.exp: Likewise.
3958 * gdb.base/default.exp: Likewise.
3959 * gdb.base/scope.exp: Likewise.
3960 * gdb.base/sepdebug.exp: Likewise.
3961 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
3963 * gdb.base/run.c: Likewise.
3964 * gdb.base/sepdebug.c: Likewise.
3965 * gdb.hp/gdb.aCC/run.c: Likewise.
3966 * gdb.reverse/until-reverse.c: Likewise.
3967 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
3969 2014-09-16 Yao Qi <yao@codesourcery.com>
3971 * boards/local-remote-host-native.exp: New file.
3973 2014-09-14 Doug Evans <xdje42@gmail.com>
3975 * gdb.threads/queue-signal.c (thread_count): New variable.
3976 (thread_count_mutex, thread_count_condvar): New variables.
3977 (incr_thread_count, wait_all_threads_running): New functions.
3978 (main): Wait for all threads to be in their thread functions.
3980 2014-09-13 Doug Evans <xdje42@gmail.com>
3982 * gdb.threads/queue-signal.c: New file.
3983 * gdb.threads/queue-signal.exp: New file.
3985 2014-09-13 Doug Evans <xdje42@gmail.com>
3987 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
3988 be consistent with what default_gdb_init uses.
3989 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
3990 the plain text of the prompt. Add some logging printfs.
3991 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
3993 2014-09-12 Pedro Alves <palves@redhat.com>
3995 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
3996 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
3997 * gdb.arch/i386-size-overlap.exp: Likewise.
3998 * gdb.arch/i386-size.exp: Likewise.
3999 * gdb.arch/i386-unwind.exp: Likewise.
4000 * gdb.base/a2-run.exp: Likewise.
4001 * gdb.base/break.exp: Likewise.
4002 * gdb.base/charset.exp: Likewise.
4003 * gdb.base/chng-syms.exp: Likewise.
4004 * gdb.base/commands.exp: Likewise.
4005 * gdb.base/dbx.exp: Likewise.
4006 * gdb.base/find.exp: Likewise.
4007 * gdb.base/funcargs.exp: Likewise.
4008 * gdb.base/jit-simple.exp: Likewise.
4009 * gdb.base/reread.exp: Likewise.
4010 * gdb.base/sepdebug.exp: Likewise.
4011 * gdb.base/step-bt.exp: Likewise.
4012 * gdb.cp/mb-inline.exp: Likewise.
4013 * gdb.cp/mb-templates.exp: Likewise.
4014 * gdb.objc/basicclass.exp: Likewise.
4015 * gdb.threads/killed.exp: Likewise.
4017 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4020 * gdb.arch/powerpc-stackless.S: New file.
4021 * gdb.arch/powerpc-stackless.exp: New file.
4023 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4025 * gdb.base/attach.c: Include unistd.h.
4026 (main): Call alarm. Add label postloop.
4027 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
4028 gdb_breakpoint, gdb_continue_to_breakpoint.
4029 (test_command_line_attach_run): Kill ${testpid} in one exit path.
4031 2014-09-11 Pedro Alves <palves@redhat.com>
4034 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
4035 * gdb.base/attach.exp (test_command_line_attach_run): New
4037 (top level): Call it.
4039 2014-09-11 Pedro Alves <palves@redhat.com>
4041 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
4042 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
4043 (do_command_attach_tests): Use spawn_wait_for_attach.
4044 * gdb.base/solib-overlap.exp: Likewise.
4045 * gdb.multi/multi-attach.exp: Likewise.
4046 * gdb.python/py-prompt.exp: Likewise.
4047 * gdb.python/py-sync-interp.exp: Likewise.
4048 * gdb.server/ext-attach.exp: Likewise.
4050 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
4052 * gdb.fortran/array-element.exp: Remove unexpected "continue"
4053 command in testcase. Simplify testcase.
4055 2014-09-10 Joel Brobecker <brobecker@adacore.com>
4057 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
4059 2014-09-10 Joel Brobecker <brobecker@adacore.com>
4061 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
4063 2014-09-10 Joel Brobecker <brobecker@adacore.com>
4065 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
4067 2014-09-10 Joel Brobecker <brobecker@adacore.com>
4069 * gdb.dwarf2/dynarr-ptr.c: New file.
4070 * gdb.dwarf2/dynarr-ptr.exp: New file.
4072 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4074 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
4075 of 30 rather than hardcoding 120 for a slow test case. Take the
4076 `gdb,timeout' target setting into account for this calculation.
4077 Don't extend the timeout for the test cases that don't need it.
4079 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4081 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
4082 a factor of 2 for a slow test case. Take the `gdb,timeout'
4083 target setting into account for this calculation.
4084 * gdb.reverse/until-precsave.exp: Increase the timeout by
4085 a factor of 15 and 3 respectively rather than adding 120
4086 for a pair of slow test cases. Take the `gdb,timeout'
4087 target setting into account for this calculation.
4089 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4091 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
4092 timeout, don't pass one down to gdb_expect.
4093 (gdb_expect): Rework timeout selection.
4095 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4097 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
4098 exception on timeout.
4099 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
4100 (gdbserver_start_extended): Catch any `gdbserver_start' error
4102 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
4103 * lib/mi-support.exp (mi_gdb_target_load): Catch any
4104 `gdbserver_gdb_load' error exceptions.
4106 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4108 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
4109 120 on waiting for the TCP socket to open.
4111 2014-09-09 Doug Evans <xdje42@gmail.com>
4113 * gdb.base/default.exp (show_conv_list): Add _caller_is,
4114 _caller_matches, _any_caller_is, _any_caller_matches.
4116 2014-09-09 Doug Evans <xdje42@gmail.com>
4118 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
4120 2014-09-09 Yao Qi <yao@codesourcery.com>
4122 * gdb.mi/mi-var-display.exp: Set print symbol off.
4124 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
4127 * gdb.base/commands.exp: Add tests to verify user-defined
4128 commands with empty bodies.
4129 * gdb.python/py-cmd.exp: Test that we don't show user-defined
4130 python commands in `show user command`.
4131 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
4132 scheme commands in `show user command`.
4134 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4137 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
4138 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
4139 * gdb.python/py-framefilter-invalidarg.exp: New file.
4140 * gdb.python/py-framefilter-invalidarg.py: New file.
4142 2014-09-06 Doug Evans <xdje42@gmail.com>
4145 * gdb.python/py-caller-is.c: New file.
4146 * gdb.python/py-caller-is.exp: New file.
4148 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
4151 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
4152 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
4154 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
4157 * gdb.fortran/print-formatted.exp: New file.
4158 * gdb.fortran/print-formatted.f90: Likewise.
4160 2014-09-03 Sasha Smundak <asmundak@google.com>
4162 * gdb.python/py-frame.exp: Test Frame.read_register.
4164 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
4167 * gdb.python/py-completion.exp: New file.
4168 * gdb.python/py-completion.py: Likewise.
4170 2014-08-28 Doug Evans <dje@google.com>
4172 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
4173 eax,etc. are live with values set by gdb and thus the compiler can't
4175 * gdb.arch/i386-pseudo.c (main): Ditto.
4177 2014-08-27 Doug Evans <dje@google.com>
4179 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
4181 2014-08-25 Doug Evans <dje@google.com>
4183 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
4186 2014-08-25 Doug Evans <dje@google.com>
4188 * gdb.threads/thread-execl.exp: #include <stdio.h>.
4190 2014-08-24 Yao Qi <yao@codesourcery.com>
4192 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
4194 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
4196 2014-08-22 Doug Evans <dje@google.com>
4199 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
4200 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
4201 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
4203 2014-08-22 Yao Qi <yao@codesourcery.com>
4205 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
4206 * gdb.python/py-finish-breakpoint2.exp: Likewise.
4207 * gdb.python/python.exp: Likewise. Use .py file on the host
4208 instead of the build.
4210 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4212 * gdb.threads/gcore-stale-thread.c: New file.
4213 * gdb.threads/gcore-stale-thread.exp: New file.
4215 2014-08-21 Pedro Alves <palves@redhat.com>
4217 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
4218 * gdb.base/gcore-relro-pie.exp: Likewise.
4219 * gdb.base/gcore-relro.exp: Likewise.
4220 * gdb.base/gcore.exp: Likewise.
4221 * gdb.base/print-symbol-loading.exp: Likewise.
4222 * gdb.threads/gcore-thread.exp: Likewise.
4223 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
4225 2014-08-20 Pedro Alves <palves@redhat.com>
4226 Jan Kratochvil <jan.kratochvil@redhat.com>
4228 * Makefile.in (EXTRA_RULES, CC): New variables, get from
4230 (EXPECT): Handle READ1 being set.
4231 (all): Depend on EXTRA_RULES.
4232 (check-read1, expect-read1, read1.so, read1): New rules.
4233 * README (Testsuite Parameters): Document the READ1 make variable.
4234 (Race detection): New section.
4235 * configure: Regenerate.
4236 * configure.ac: If build==host==target, and running under a
4237 GNU/glibc system, add read1 to the extra Makefile rules.
4238 (EXTRA_RULES): AC_SUBST it.
4239 * lib/read1.c: New file.
4241 2014-08-20 Joel Brobecker <brobecker@adacore.com>
4243 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
4244 the handling of variables declared as a typedef to an array
4245 which a DW_AT_data_location attribute.
4247 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
4248 Pedro Alves <palves@redhat.com>
4252 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
4255 2014-08-19 Pedro Alves <palves@redhat.com>
4257 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
4259 2014-08-19 Yao Qi <yao@codesourcery.com>
4261 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
4264 2014-08-18 David Blaikie <dblaikie@gmail.com>
4266 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
4268 2014-08-18 Joel Brobecker <brobecker@adacore.com>
4270 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
4271 attribute in array range.
4273 2014-08-18 Joel Brobecker <brobecker@adacore.com>
4275 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
4277 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
4280 * gdb.cp/pr17132.cc: New file.
4281 * gdb.cp/pr17132.exp: New file.
4283 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
4285 * gdb.python/py-xmethods.py (A_getarrayind)
4286 (E_method_char_worker.__call__, E_method_int_worker.__call__):
4287 Use 'print' with function call syntax.
4288 (E_method_matcher.match): Fix tab vs space indentation mixup.
4290 2014-08-15 Yao Qi <yao@codesourcery.com>
4292 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
4295 2014-08-15 Yao Qi <yao@codesourcery.com>
4297 * gdb.cp/casts.exp: Set print symbol off.
4298 * gdb.cp/class2.exp: Likewise.
4299 * gdb.cp/overload.exp: Likewise.
4300 * gdb.cp/templates.exp: Likewise.
4302 2014-08-11 Doug Evans <dje@google.com>
4304 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
4305 (test_load_shlib): Update.
4307 2014-08-09 Yao Qi <yao@codesourcery.com>
4309 * gdb.base/display.exp: Invoke is_address_zero_readable.
4310 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
4311 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4312 * gdb.base/hbreak-unmapped.exp: Return if
4313 is_address_zero_readable returns true.
4314 * gdb.base/signest.exp: Likewise.
4315 * gdb.base/signull.exp: Likewise.
4316 * gdb.base/sigbpt.exp: Likewise.
4317 * gdb.guile/scm-disasm.exp: Do the test if
4318 is_address_zero_readable returns false.
4319 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
4320 * gdb.python/py-arch.exp: Likewise.
4321 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
4322 * lib/gdb.exp (is_address_zero_readable): New proc.
4324 2014-08-09 Yao Qi <yao@codesourcery.com>
4327 * gdb.mi/mi-var-display.exp: Make test messages unique.
4329 2014-08-04 Tom Tromey <tromey@redhat.com>
4331 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
4334 2014-08-04 Tom Tromey <tromey@redhat.com>
4336 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
4339 2014-08-01 Joel Brobecker <brobecker@adacore.com>
4341 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
4342 inner_vla_struct_object_size.
4343 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
4346 2014-07-30 Pedro Alves <palves@redhat.com>
4348 * gdb.threads/signal-command-handle-nopass.exp (test): Add
4351 2014-07-29 Yao Qi <yao@codesourcery.com>
4354 * gdb.base/until-nodebug.exp: New.
4356 2014-07-28 Doug Evans <xdje42@gmail.com>
4359 * gdb.guile/scm-parameter.exp: Add tests for trying to create
4360 previously existing parameter, and previously ambiguously spelled
4363 2014-07-28 Will Newton <will.newton@linaro.org>
4365 * gdb.base/varargs.exp: Remove KFAILs for ARM.
4367 2014-07-26 Ludovic Courtès <ludo@gnu.org>
4368 Doug Evans <xdje42@gmail.com>
4371 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
4373 2014-07-25 Pedro Alves <palves@redhat.com>
4375 * gdb.threads/signal-command-handle-nopass.c: New file.
4376 * gdb.threads/signal-command-handle-nopass.exp: New file.
4377 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
4378 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
4379 * gdb.threads/signal-delivered-right-thread.c: New file.
4380 * gdb.threads/signal-delivered-right-thread.exp: New file.
4382 2014-07-25 Pedro Alves <palves@redhat.com>
4384 * gdb.base/double-prompt-target-event-error.exp
4385 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
4387 (cancel_pagination_in_target_event): Rework double prompt
4389 * gdb.base/paginate-after-ctrl-c-running.exp
4390 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
4392 * gdb.base/paginate-bg-execution.exp
4393 (test_bg_execution_pagination_return)
4394 (test_bg_execution_pagination_cancel): Remove '-notransfer
4396 * gdb.base/paginate-execution-startup.exp
4397 (test_fg_execution_pagination_return)
4398 (test_fg_execution_pagination_cancel): Remove '-notransfer
4400 * gdb.base/paginate-inferior-exit.exp
4401 (test_paginate_inferior_exited): Remove '-notransfer <return>'
4403 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
4404 * lib/gdb.exp (pagination_prompt): Run text through
4406 (gdb_test_multiple): Match $pagination_prompt instead of
4408 (string_to_regexp): Move to lib/gdb-utils.exp.
4410 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4412 * gdb.arch/amd64-entry-value-paramref.S: New file.
4413 * gdb.arch/amd64-entry-value-paramref.cc: New file.
4414 * gdb.arch/amd64-entry-value-paramref.exp: New file.
4415 * gdb.arch/amd64-optimout-repeat.S: New file.
4416 * gdb.arch/amd64-optimout-repeat.c: New file.
4417 * gdb.arch/amd64-optimout-repeat.exp: New file.
4419 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4422 * gdb.base/statistics.exp: New file.
4424 2014-07-17 Doug Evans <dje@google.com>
4427 * gdb.base/maint.exp: Update testing of per-command stats.
4429 2014-07-16 Pedro Alves <palves@redhat.com>
4431 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
4432 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
4433 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
4434 (tfile_write_buf): New functions.
4435 (add_memory_block): Rewrite using the above.
4436 (adjust_function_address): New function.
4437 (FUNCTION_ADDRESS): New macro.
4438 (write_basic_trace_file): Remove short_x local, and use
4439 tfile_write_16. Change type of func_addr local to unsigned long
4440 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
4441 here. Cast argument of add_memory_block to char pointer.
4442 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
4443 (main): Remove parameters.
4444 * gdb.trace/tfile.exp: Remove nowarnings.
4446 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
4448 * gdb.base/debug-expr.exp: Test string evaluation with
4449 "debug expression" on.
4451 2014-07-15 Pedro Alves <palves@redhat.com>
4453 * gdb.base/reread.exp: Use clean_restart.
4455 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
4457 * gdb.arch/avr-flash-qualifer.c: New.
4458 * gdb.arch/avr-flash-qualifer.exp: New.
4460 2014-07-14 Pedro Alves <palves@redhat.com>
4462 * gdb.base/paginate-after-ctrl-c-running.c: New file.
4463 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
4465 2014-07-14 Pedro Alves <palves@redhat.com>
4467 * gdb.base/double-prompt-target-event-error.c: New file.
4468 * gdb.base/double-prompt-target-event-error.exp: New file.
4470 2014-07-14 Pedro Alves <palves@redhat.com>
4473 * gdb.base/paginate-inferior-exit.c: New file.
4474 * gdb.base/paginate-inferior-exit.exp: New file.
4476 2014-07-14 Pedro Alves <palves@redhat.com>
4479 * gdb.base/paginate-bg-execution.c: New file.
4480 * gdb.base/paginate-bg-execution.exp: New file.
4482 2014-07-14 Pedro Alves <palves@redhat.com>
4485 * gdb.base/paginate-execution-startup.c: New file.
4486 * gdb.base/paginate-execution-startup.exp: New file.
4487 * lib/gdb.exp (pagination_prompt): New global.
4488 (default_gdb_spawn): New procedure, factored out from
4490 (default_gdb_start): Adjust to call default_gdb_spawn.
4491 (gdb_spawn): New procedure.
4493 2014-07-14 Pedro Alves <palves@redhat.com>
4495 * lib/gdb.exp (gdb_assert): New procedure.
4496 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
4498 2014-07-14 Pedro Alves <palves@redhat.com>
4500 * gdb.base/execution-termios.c: New file.
4501 * gdb.base/execution-termios.exp: New file.
4503 2014-07-14 Tom Tromey <tromey@redhat.com>
4505 * gdb.cp/vla-cxx.cc: New file.
4506 * gdb.cp/vla-cxx.exp: New file.
4508 2014-07-14 Tom Tromey <tromey@redhat.com>
4510 * gdb.reverse/rerun-prec.c: New file.
4511 * gdb.reverse/rerun-prec.exp: New file.
4513 2014-07-12 Maciej W. Rozycki <macro@mips.com>
4514 Maciej W. Rozycki <macro@codesourcery.com>
4516 * lib/gdb-utils.exp: New file.
4517 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
4518 inline `gdb_init_command' processing.
4519 (gdb_start_cmd): Likewise.
4520 * lib/mi-support.exp (mi_run_cmd): Likewise.
4521 * README: Document `gdb_init_command' and `gdb_init_commands'.
4523 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4525 Fix false FAIL running under a very long directory name.
4526 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
4527 and "set print elements 10000". Twice.
4529 2014-07-11 Yao Qi <yao@codesourcery.com>
4531 * gdb.base/exprs.exp: "set print symbol off".
4533 2014-07-11 Pedro Alves <palves@redhat.com>
4535 * gdb.threads/kill.c: New file.
4536 * gdb.threads/kill.exp: New file.
4538 2014-07-10 Yao Qi <yao@codesourcery.com>
4540 * gdb.trace/tfile.c (write_basic_trace_file)
4541 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
4542 address written to trace file.
4544 2014-07-09 Pedro Alves <palves@redhat.com>
4546 * gdb.base/attach-wait-input.exp: New file.
4547 * gdb.base/attach-wait-input.c: New file.
4549 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4551 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
4552 setting up test structures.
4553 (main): Call new test function.
4554 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
4555 test function, continue into test function and walk test
4558 2014-07-02 Yao Qi <yao@codesourcery.com>
4560 * gdb.trace/entry-values.c: Define labels 'foo_start' and
4561 'bar_start' at the beginning of functions 'foo' and 'bar'
4563 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
4564 instead of 'foo' and 'bar'.
4566 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
4568 * gdb.btrace/segv.exp: New.
4569 * gdb.btrace/segv.c: New.
4571 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
4573 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
4576 2014-06-30 Mark Wielaard <mjw@redhat.com>
4578 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
4579 vulture, vilify, villar): New volatile array constants.
4580 (vindictive, vegetation): New const volatile array constants.
4581 * gdb.base/volatile.exp: Test volatile and const volatile array
4584 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
4586 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
4587 target lacks support for awatch, rwatch, or hbreak.
4589 2014-06-27 Yao Qi <yao@codesourcery.com>
4591 * gdb.multi/dummy-frame-restore.exp: New.
4592 * gdb.multi/dummy-frame-restore.c: New.
4594 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
4596 * gdb.btrace/gcore.exp: New.
4598 2014-06-23 Pedro Alves <palves@redhat.com>
4600 * gdb.base/watchpoint-reuse-slot.c: New file.
4601 * gdb.base/watchpoint-reuse-slot.exp: New file.
4603 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
4605 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
4606 progspace's filename in 'info', 'enable' and 'disable' command
4609 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4611 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
4612 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4613 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
4615 2014-06-20 Gary Benson <gbenson@redhat.com>
4617 * gdb.arch/i386-avx.exp: Fix include file location.
4618 * gdb.arch/i386-sse.exp: Likewise.
4620 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
4622 * gdb.dlang/expression.exp: New file.
4624 2014-06-19 Pedro Alves <palves@redhat.com>
4626 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
4628 (top level): ... here. Iterate running tests under different
4629 scheduler-locking settings.
4631 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
4633 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
4634 to DW_FORM_addr and use non-zero addresses.
4636 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
4639 * gdb.python/py-xmethods.cc: Add global function call counters and
4640 increment them in their respective functions. Remove "cout"
4642 * gdb.python/py-xmethods.exp: Make tests check the global function
4643 call counters instead of depending on inferior IO.
4645 2014-06-18 Don Breazeal <donb@codesourcery.com>
4647 * gdb.base/foll-fork.exp (default_fork_parent_follow):
4649 (explicit_fork_parent_follow): Deleted procedure.
4650 (explicit_fork_child_follow): Deleted procedure.
4651 (test_follow_fork): New procedure.
4652 (do_fork_tests): Replace calls to deleted procedures with
4653 calls to test_follow_fork and reset GDB for subsequent
4656 2014-06-17 Yao Qi <yao@codesourcery.com>
4658 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
4661 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
4663 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
4664 Initialize ptr and S explicitly.
4665 (skip_type_update_when_not_use_rtti_test): Likewise.
4667 2014-06-16 Keith Seitz <keiths@redhat.com>
4670 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
4671 the inferior is started.
4673 2014-06-16 Pedro Alves <palves@redhat.com>
4675 * gdb.base/break-main-file-remove-fail.c: New file.
4676 * gdb.base/break-main-file-remove-fail.exp: New file.
4677 * gdb.base/break-unload-file.exp: Use build_executable instead of
4678 prepare_for_testing.
4679 (test_break): New parameter "initial_load". Handle it.
4680 (top level): Add initial_load cmdline/file axis.
4682 2014-06-12 Tom Tromey <tromey@redhat.com>
4684 * gdb.base/completion.exp: Don't use directory name in test.
4686 2014-06-09 Gary Benson <gbenson@redhat.com>
4688 * gdb.base/sigall.c [Functions to send signals]: Reorder to
4689 separate the always-available ANSI-standard signals from the
4690 signals that require checking.
4692 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
4696 2014-06-07 Keith Seitz <keiths@redhat.com>
4700 * gdb.cp/var-tag.cc: New file.
4701 * gdb.cp/var-tag.exp: New file.
4702 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4703 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4704 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4705 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4707 2014-06-06 Doug Evans <xdje42@gmail.com>
4709 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
4711 2014-06-06 Pedro Alves <palves@redhat.com>
4713 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
4714 in target debug output instead of looking at RSP packets,
4715 disabling the test on any target that uses hardware stepping.
4718 2014-06-06 Pedro Alves <palves@redhat.com>
4720 * gdb.base/break-unload-file.exp: Fix typo.
4722 2014-06-06 Yao Qi <yao@codesourcery.com>
4724 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
4725 from "jit_function" to "^jit_function".
4727 2014-06-06 Yao Qi <yao@codesourcery.com>
4729 * gdb.base/async.c (foo): Add one statement.
4730 * gdb.base/async.exp: Get the next instruction address and
4731 match the output of "nexti" by instruction address. Match
4732 the hex address in the output of "finish".
4734 2014-06-06 Gary Benson <gbenson@redhat.com>
4736 * gdb.base/call-signals.c: Remove preprocessor conditionals
4737 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
4738 SIGSEGV and SIGTERM.
4739 * gdb.base/sigall.c: Likewise.
4740 * gdb.base/unwindonsignal.c: Likewise.
4741 * gdb.reverse/sigall-reverse.c: Likewise.
4743 2014-06-06 Yao Qi <yao@codesourcery.com>
4745 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
4746 readable, skip the test.
4748 2014-06-06 Yao Qi <yao@codesourcery.com>
4750 * gdb.threads/staticthreads.c (thread_function): Move the line
4751 setting breakpoint on forward.
4752 * gdb.threads/staticthreads.exp: Update comments.
4754 2014-06-05 Ludovic Courtès <ludo@gnu.org>
4756 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
4757 "history-append! type error".
4759 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
4761 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
4762 erroneous dprintf expected input.
4764 2014-06-04 Doug Evans <xdje42@gmail.com>
4766 * gdb.guile/scm-generics.exp: Delete.
4768 2014-06-04 Doug Evans <xdje42@gmail.com>
4770 * gdb.guile/scm-breakpoint.exp: Update.
4771 Add tests for breakpoint registration.
4773 2014-06-04 Tom Tromey <tromey@redhat.com>
4775 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
4777 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
4778 inner_vla_struct, vla_union types. Initialize objects of those
4779 types and compute their sizes.
4781 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
4782 Hui Zhu <hui@codesourcery.com>
4784 * gdb.base/fileio.exp: Add test for shell not available as well as
4786 * gdb.base/fileio.c (test_system): Check for shell twice.
4788 2014-06-04 Yao Qi <yao@codesourcery.com>
4790 * gdb.base/auto-connect-native-target.exp: Remove redundant
4791 space from the regexp pattern.
4793 2014-06-04 Yao Qi <yao@codesourcery.com>
4795 * gdb.base/default.exp: Replace "child" with "native" in
4798 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4800 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
4801 * gdb.python/py-xmethods.exp: New tests to test xmethods.
4802 * gdb.python/py-xmethods.py: Python script supporting the
4803 new testcase and tests.
4805 2014-06-03 Joel Brobecker <brobecker@adacore.com>
4806 Pedro Alves <palves@redhat.com>
4808 PR breakpoints/17000
4809 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
4810 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
4812 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
4814 * gdb.base/subst.exp: Add tests to verify partial path matching
4817 2014-06-03 Pedro Alves <palves@redhat.com>
4819 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
4820 target that doesn't use software single-stepping.
4822 2014-06-03 Pedro Alves <palves@redhat.com>
4824 PR breakpoints/17000
4825 * gdb.base/sss-bp-on-user-bp-2.c: New file.
4826 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
4828 2014-06-02 Doug Evans <xdje42@gmail.com>
4830 * gdb.guile/scm-parameter.exp: New file.
4832 2014-06-02 Doug Evans <xdje42@gmail.com>
4834 * gdb.guile/scm-cmd.c: New file.
4835 * gdb.guile/scm-cmd.exp: New file.
4837 2014-06-02 Doug Evans <xdje42@gmail.com>
4839 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
4840 pretty-printer lookup.
4841 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
4842 (make-pp_s-printer): Call it.
4843 (make-pretty-printer-from-dict): New function.
4844 (lookup-pretty-printer-maker-from-dict): New function.
4845 (*pretty-printer*): Simplify.
4846 (make-objfile-pp_s-printer): New function.
4847 (install-objfile-pretty-printers!): New function.
4848 (make-progspace-pp_s-printer): New function.
4849 (install-progspace-pretty-printers!): New function.
4850 * gdb.guile/scm-progspace.c: New file.
4851 * gdb.guile/scm-progspace.exp: New file.
4853 2014-06-02 Pedro Alves <palves@redhat.com>
4855 * gdb.base/dprintf-bp-same-addr.c: New file.
4856 * gdb.base/dprintf-bp-same-addr.exp: New file.
4858 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4860 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
4861 * gdb.arch/powerpc-power.s: Likewise.
4863 2014-06-02 Joel Brobecker <brobecker@adacore.com>
4865 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
4867 2014-06-01 Yao Qi <yao@codesourcery.com>
4869 * gdb.base/watchpoint.exp (test_watch_location): Check null
4870 pointer can be dereferenced. If not, do the test, otherwise
4873 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
4875 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
4877 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
4879 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
4881 * gdb.arch/amd64-invalid-stack-middle.S: New file.
4882 * gdb.arch/amd64-invalid-stack-middle.c: New file.
4883 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
4884 * gdb.arch/amd64-invalid-stack-top.c: New file.
4885 * gdb.arch/amd64-invalid-stack-top.exp: New file.
4887 2014-05-30 Pedro Alves <palves@redhat.com>
4889 PR breakpoints/17000
4890 * gdb.base/sss-bp-on-user-bp.c: New file.
4891 * gdb.base/sss-bp-on-user-bp.exp: New file.
4893 2014-05-30 David Blaikie <dblaikie@gmail.com>
4895 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
4896 gnu_inline semantics via attribute.
4897 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
4898 source explicitly specifies the required semantics.
4900 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
4902 * gdb.reverse/sigall-reverse.exp: Fix a typo.
4904 2014-05-29 Pedro Alves <palves@redhat.com>
4905 Tom Tromey <tromey@redhat.com>
4907 * gdb.base/async-shell.exp: Don't enable target-async.
4908 * gdb.base/async.exp
4909 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
4911 (top level): Don't test with "target-async".
4912 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
4913 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
4914 * gdb.base/inferior-died.exp: Don't enable target-async.
4915 * gdb.base/interrupt-noterm.exp: Likewise.
4916 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
4917 * gdb.mi/mi-nonstop-exit.exp: Likewise.
4918 * gdb.mi/mi-nonstop.exp: Likewise.
4919 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4920 * gdb.mi/mi-nsintrall.exp: Likewise.
4921 * gdb.mi/mi-nsmoribund.exp: Likewise.
4922 * gdb.mi/mi-nsthrexec.exp: Likewise.
4923 * gdb.mi/mi-watch-nonstop.exp: Likewise.
4924 * gdb.multi/watchpoint-multi.exp: Adjust comment.
4925 * gdb.python/py-evsignal.exp: Don't enable target-async.
4926 * gdb.python/py-evthreads.exp: Likewise.
4927 * gdb.python/py-prompt.exp: Likewise.
4928 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
4929 * gdb.server/solib-list.exp: Don't enable target-async.
4930 * gdb.threads/thread-specific-bp.exp: Likewise.
4931 * lib/mi-support.exp: Adjust to use mi-async.
4933 2014-05-29 Pedro Alves <palves@redhat.com>
4936 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
4937 reason, even in sync mode.
4939 2014-05-29 Pedro Alves <palves@redhat.com>
4940 Hui Zhu <hui@codesourcery.com>
4943 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
4944 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
4945 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
4946 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
4948 2014-05-28 Joel Brobecker <brobecker@adacore.com>
4950 * config/monitor.exp (gdb_target_monitor): Replace use of
4951 "set remotebaud" by "set serial baud".
4953 2014-05-26 Andy Wingo <wingo@igalia.com>
4955 * gdb.guile/scm-breakpoint.exp:
4956 * gdb.guile/scm-gsmob.exp: Update to use plain old object
4957 properties instead of gdb-object-properties.
4959 2014-05-26 Yao Qi <yao@codesourcery.com>
4961 * gdb.server/no-thread-db.exp: Specify source file name
4962 explicitly when setting a breakpoint.
4964 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4966 * gdb.btrace/vdso.c: New.
4967 * gdb.btrace/vdso.exp: New.
4969 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4971 * gdb.base/gcore.exp (capture_command_output): Move ...
4972 * lib/gdb.exp (capture_command_output): ... here.
4974 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4976 * gdb.btrace/data.exp: Test memory access during btrace replay.
4978 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
4980 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
4982 2014-05-21 Pedro Alves <palves@redhat.com>
4985 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
4986 (top level): Test that output related to execution commands is
4987 sent to the console with CLI commands, but not with MI commands.
4988 Test that breakpoint events are always mirrored to the console.
4989 Also expect the new source line to be output after a "next" in
4990 async mode too. Make it a pass/fail test.
4991 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
4993 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
4995 2014-05-21 Pedro Alves <palves@redhat.com>
4997 * gdb.base/list.exp (build_pattern, test_list): New procedures.
4998 Use them to test variations of "list" after reaching a breakpoint.
4999 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
5000 Test "list" with listsize 10 after reaching a breakpoint.
5001 * gdb.python/python.exp (decode_line current location line
5002 number): Adjust expected line number.
5004 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
5006 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
5007 behavior for $args, pass it directly to "run".
5009 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
5011 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
5014 2014-05-21 Pedro Alves <palves@redhat.com>
5016 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
5017 auto-connect-native-target off".
5018 * gdb.base/auto-connect-native-target.c: New file.
5019 * gdb.base/auto-connect-native-target.exp: New file.
5021 2014-05-21 Pedro Alves <palves@redhat.com>
5023 * gdb.base/default.exp: Test "target native" instead of "target
5026 2014-05-21 Mark Wielaard <mjw@redhat.com>
5028 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
5030 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5032 Fix TLS access for -static -pthread.
5033 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
5034 <HAVE_TLS> (thread_function, main): Initialize it.
5035 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
5037 <$have_tls != "">: Check TLSVAR.
5039 2014-05-21 Pedro Alves <palves@redhat.com>
5041 * gdb.base/dcache-line-read-error.c: New.
5042 * gdb.base/dcache-line-read-error.exp: New.
5044 2014-05-20 Pedro Alves <palves@redhat.com>
5046 * gdb.base/compare-sections.c: New file.
5047 * gdb.base/compare-sections.exp: New file.
5049 2014-05-20 Pedro Alves <palves@redhat.com>
5051 * gdb.base/break-idempotent.c: New file.
5052 * gdb.base/break-idempotent.exp: New file.
5054 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
5056 * gdb.btrace/nohist.exp: New.
5058 2014-05-20 Yao Qi <yao@codesourcery.com>
5060 * lib/gdb.exp (gdb_init): Set timeout if test file is under
5061 gdb.reverse directory and gdb_reverse_timeout exists in board
5063 * README: Document gdb_reverse_timeout.
5065 2014-05-20 Yao Qi <yao@codesourcery.com>
5067 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
5068 'test_file_name'. Treat args as a string instead of a list.
5069 (gdb_init): Rename argument 'args' by 'test_file_name'.
5071 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5073 * gdb.arch/powerpc-power.exp: New file.
5074 * gdb.arch/powerpc-power.s: New file.
5076 2014-05-16 Doug Evans <dje@google.com>
5078 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
5079 * gdb.base/completion.exp: Check that all expected files exist
5080 before doing file completion.
5082 2014-05-16 Doug Evans <dje@google.com>
5084 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
5086 (do_syscall_tests_without_xml): Update.
5088 2014-05-16 Pedro Alves <palves@redhat.com>
5090 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
5091 instead of "unknown output after running".
5093 2014-05-16 Yao Qi <yao@codesourcery.com>
5095 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
5096 file1.txt from host at the end.
5097 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5099 2014-05-15 Doug Evans <dje@google.com>
5101 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
5102 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
5103 loading file. Add test for TU lookup.
5105 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
5107 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
5108 calling "-exec-arguments" or "set args" before running the
5111 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
5113 * lib/mi-support.exp (mi_expect_stop): Expect message for
5114 inferiors that exit with non-zero exit code.
5116 2014-05-14 Yao Qi <yao@codesourcery.com>
5118 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
5119 match absolute path on remote host.
5120 (test_file_list_exec_source_files): Remove "/" from the
5123 2014-05-14 Yao Qi <yao@codesourcery.com>
5125 * boards/local-remote-host-notty.exp (${board}_file): New
5128 2014-05-07 Kyle McMartin <kyle@redhat.com>
5130 Pushed by Joel Brobecker <brobecker@adacore.com>.
5131 * gdb.arch/aarch64-atomic-inst.c: New file.
5132 * gdb.arch/aarch64-atomic-inst.exp: New file.
5134 2014-05-07 Yao Qi <yao@codesourcery.com>
5136 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
5137 in current context" too.
5139 2014-05-05 Keith Seitz <keiths@redhat.com>
5141 * gdb.linespec/ls-dollar.exp: Add test for linespec
5142 file:convenience_variable.
5144 2014-05-05 Yao Qi <yao@codesourcery.com>
5146 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
5147 traceframes into tfile and ctf trace files. Read data from
5148 trace file and test collected data.
5149 (gdb_collect_locals_test): Likewise.
5150 (gdb_unavailable_registers_test): Likewise.
5151 (gdb_unavailable_floats): Likewise.
5152 (gdb_collect_globals_test): Likewise.
5153 (top-level): Append "ctf" to trace_file_targets if GDB
5156 2014-05-05 Yao Qi <yao@codesourcery.com>
5158 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
5160 (gdb_collect_args_test_1): ... it. New proc.
5161 (gdb_collect_locals_test): Move some code to ...
5162 (gdb_collect_locals_test_1): ... it. New proc.
5163 (gdb_unavailable_registers_test): Move some code to ...
5164 (gdb_unavailable_registers_test_1): ... it. New proc.
5165 (gdb_unavailable_floats): Move some code to ...
5166 (gdb_unavailable_floats_1): ... it. New proc.
5168 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5170 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
5171 probes to test for bitness recognition.
5172 * gdb.arch/amd64-stap-optional-prefix.exp
5173 (test_probe_value_without_reg): New procedure.
5174 Add code to test for different kinds of bitness.
5176 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5178 PR breakpoints/16889
5179 * gdb.arch/amd64-stap-optional-prefix.S: New file.
5180 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5182 2014-05-01 Pedro Alves <palves@redhat.com>
5184 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
5185 gdb_file_cmd if no file is specified.
5186 * boards/native-extended-gdbserver.exp (gdb_load): Use the
5187 last_loaded_file to set the remote exec-file.
5189 2014-05-01 Pedro Alves <palves@redhat.com>
5191 * boards/local-remote-host.exp: New file.
5193 2014-05-01 Pedro Alves <palves@redhat.com>
5195 * boards/local-remote-host.exp: Rename to ...
5196 * boards/local-remote-host-notty.exp: ... this.
5198 2014-04-28 Joel Brobecker <brobecker@adacore.com>
5200 * gdb.ada/dyn_arrayidx: New testcase.
5202 2014-04-26 Yao Qi <yao@codesourcery.com>
5204 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
5205 and compute the length of function main. Save it in
5207 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
5208 (top-level): Use gdb_compile to compile objects into
5209 executable and restart GDB. Remove invocation to
5210 prepare_for_testing.
5212 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
5213 Pedro Alves <palves@redhat.com>
5216 * gdb.multi/multi-attach.c: New file.
5217 * gdb.multi/multi-attach.exp: New file.
5219 2014-04-25 Pedro Alves <palves@redhat.com>
5221 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
5223 (top level): Test that "set remote conditional-breakpoints-packet
5224 off" works as intended.
5225 * gdb.base/dprintf.exp: Test that "set remote
5226 breakpoint-commands-packet off" works as intended.
5227 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
5229 (top level): Call it.
5230 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
5231 remote fast-tracepoints-packet off" works as intended.
5232 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
5233 * lib/gdb.exp (gdb_is_target_remote): ... here.
5235 2014-04-24 David Blaikie <dblaikie@gmail.com>
5237 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
5238 ensure clang would not discard them.
5239 * gdb.base/gdbvars.c: Ditto.
5240 * gdb.base/memattr.c: Ditto.
5241 * gdb.base/whatis.c: Ditto.
5242 * gdb.python/py-prettyprint.c: Ditto.
5243 * gdb.trace/actions.c: Ditto.
5244 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
5245 ensure clang would not discard it.
5247 2014-04-24 David Blaikie <dblaikie@gmail.com>
5249 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
5250 clang to emit the full definition of type required by the test
5251 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
5253 2014-04-24 David Blaikie <dblaikie@gmail.com>
5255 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
5256 coax Clang into emitting the definition of the type.
5257 * gdb.cp/pr10728-x.h (y): Ditto.
5258 * gdb.cp/pr10728-y.cc (y): Ditto.
5260 2014-04-24 David Blaikie <dblaikie@gmail.com>
5262 * gdb.base/label.exp: XFAIL label related tests under Clang.
5263 * gdb.cp/cplabel.exp: Ditto.
5264 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
5265 under Clang those using labels.
5267 2014-04-25 Yao Qi <yao@codesourcery.com>
5269 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
5271 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
5272 partial_label and double_label.
5274 2014-04-24 David Blaikie <dblaikie@gmail.com>
5276 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
5278 2014-04-24 David Blaikie <dblaikie@gmail.com>
5280 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
5281 of the function to work across GCC and Clang.
5282 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
5283 pointer types (const void ** const V void **).
5285 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
5286 Walfred Tedeschi <walfred.tedeschi@intel.com>
5288 * Makefile.in (EXECUTABLES): Added i386-avx512.
5289 * gdb.arch/i386-avx512.c: New file.
5290 * gdb.arch/i386-avx512.exp: Likewise.
5292 2014-04-23 Keith Seitz <keiths@redhat.com>
5294 * lib/mi-support.exp (mi_list_breakpoints): Delete.
5295 (mi_make_breakpoint_table): New procedure.
5296 (mi_create_breakpoint): Use mi_make_breakpoint
5297 and return the result.
5298 (mi_make_breakpoint): New procedure.
5299 (mi_build_kv_pairs): New procedure.
5301 * gdb.mi/mi-break.exp: Remove unused globals,
5302 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
5303 All callers updated.
5304 * gdb.mi/mi-dprintf.exp: Use variable to track command
5306 Update all callers of mi_create_breakpoint and use
5307 mi_make_breakpoint_table.
5308 Remove any unused global variables.
5309 * gdb.mi/mi-nonstop.exp: Likewise.
5310 * gdb.mi/mi-nsintrall.exp: Likewise.
5311 * gdb.mi/mi-nsmoribund.exp: Likewise.
5312 * gdb.mi/mi-nsthrexec.exp: Likewise.
5313 * gdb.mi/mi-reverse.exp: Likewise.
5314 * gdb.mi/mi-simplerun.exp: Likewise.
5315 * gdb.mi/mi-stepn.exp: Likewise.
5316 * gdb.mi/mi-syn-frame.exp: Likewise.
5317 * gdb.mi/mi-until.exp: Likewise.
5318 * gdb.mi/mi-var-cp.exp: Likewise.
5319 * gdb.mi/mi-var-display.exp: Likewise.
5320 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
5321 * gdb.mi/mi2-var-child.exp: Likewise.
5322 * gdb.mi/mi-vla-c99.exp: Likewise.
5323 * lib/mi-support.exp: Likewise.
5325 From Ian Lance Taylor <iant@cygnus.com>:
5326 * lib/gdb.exp (parse_args): New procedure.
5328 2014-04-23 Pedro Alves <palves@redhat.com>
5330 * gdb.base/break-unload-file.c: New file.
5331 * gdb.base/break-unload-file.exp: New file.
5332 * gdb.base/sym-file-lib.c (baz): New function.
5333 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
5335 (load): Store the segment's mapped size.
5336 (unload): New function.
5337 (unload_shlib): New function.
5338 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
5339 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
5340 set a breakpoint at baz, and call it.
5341 * gdb.base/sym-file.exp: New tests for stale breakpoint
5344 2014-04-23 Pedro Alves <palves@redhat.com>
5346 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
5347 * gdb.base/hbreak-in-shr-unsupported.c: New file.
5348 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
5349 * gdb.base/hbreak-unmapped.c: New file.
5350 * gdb.base/hbreak-unmapped.exp: New file.
5351 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
5352 * lib/gdb.exp (gdb_is_target_remote): ... here.
5354 2014-04-22 Pedro Alves <palves@redhat.com>
5356 * gdb.base/consecutive-step-over.c: New file.
5357 * gdb.base/consecutive-step-over.exp: New file.
5359 2014-04-22 Pedro Alves <palves@redhat.com>
5361 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
5362 instead of send_gdb/gdb_expect.
5364 2014-04-22 Yao Qi <yao@codesourcery.com>
5366 * lib/trace-support.exp (generate_tracefile): New procedure.
5367 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
5369 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
5370 if generate_tracefile returns 1.
5372 2014-04-18 Tom Tromey <palves@redhat.com>
5373 Pedro alves <tromey@redhat.com>
5376 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
5377 with a backtrace limit.
5378 * gdb.python/py-frame-inline.exp: Test running to an inline
5379 function with a backtrace limit, and printing the newest frame.
5380 * gdb.python/py-frame-inline.c (main): Call f.
5382 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
5384 * gdb.java/jnpe.exp: Drop srcdir from untested path.
5386 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
5388 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
5389 Drop prefix from unsupported source file path.
5391 2014-04-17 Yao Qi <yao@codesourcery.com>
5393 * lib/gdb.exp (with_target_charset): New proc.
5394 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
5395 with_target_charset.
5396 (test_print_strings): Likewise.
5397 (test_repeat_bytes): Likewise.
5398 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
5401 2014-04-16 Keith Seitz <keiths@redhat.com>
5404 * gdb.dwarf2/corrupt.c: New file.
5405 * gdb.dwarf2/corrupt.exp: New file.
5407 2014-04-16 Keith Seitz <keiths@redhat.com>
5410 * gdb.cp/namelessclass.cc: New file.
5411 * gdb.cp/namelessclass.exp: New file.
5412 * gdb.cp/namelessclass.S: New file.
5414 2014-04-16 Doug Evans <dje@google.com>
5416 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
5418 (gdbserver_default_get_comm_port): New function.
5419 (gdbserver_start): Check if board file provided
5420 "gdbserver,get_comm_port" and use it if so.
5421 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
5422 (gdb,socketport): Set to "stdio".
5423 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
5424 (stdio_gdbserver_template): Delete.
5425 (${board}_get_remote_address): Update.
5426 (${board}_build_remote_cmd): Delete.
5427 (${board}_get_comm_port): New function.
5428 (${board}_spawn): Update.
5429 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
5431 (${board}_get_remote_address): Update.
5432 (${board}_get_comm_port): New function.
5434 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
5436 * gdb.base/memattr.exp: Improve regexps to handle memory regions
5437 appearing in any order.
5439 2014-04-15 Doug Evans <dje@google.com>
5441 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
5442 uninitialized value of "description".
5444 2014-04-15 Keith Seitz <keiths@redhat.com>
5446 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
5447 Remove unused globals.
5448 (test_running_the_program): Likewise.
5449 (test_controlled_execution): Likewise.
5450 (test_controlling_breakpoints): Likewise.
5451 (test_program_termination): Likewise.
5453 2014-04-15 Keith Seitz <keiths@redhat.com>
5455 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
5457 (test_rbreak_creation_and_listing): Likewise.
5458 (test_ignore_count): Likewise.
5459 (test_error): Likewise.
5461 2014-04-15 Pedro Alves <palves@redhat.com>
5463 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
5464 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
5466 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
5467 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
5468 to sym-file-loader.c.
5469 (struct library): Forward declare.
5470 (load_shlib, lookup_function): Change prototypes.
5471 (find_shstrtab, find_strtab, find_shdr, find_symtab)
5472 (translate_offset): Remove declarations.
5473 (get_text_addr): New declaration.
5474 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
5475 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
5477 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
5478 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
5479 here from sym-file-loader.h.
5480 (struct library): New structure.
5481 (load_shlib, lookup_function): Change prototypes and adjust to
5482 work with a struct library.
5483 (find_shstrtab, find_strtab, find_shdr, find_symtab)
5484 (translate_offset): Make static.
5485 (get_text_addr): New function.
5486 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
5488 2014-04-15 Pedro Alves <palves@redhat.com>
5490 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
5492 2014-04-15 Pedro Alves <palves@redhat.com>
5494 * gdb.base/sym-file-loader.c: Include <limits.h>.
5495 (SELF_LINK): New define.
5496 (get_origin): New function.
5497 (load_shlib): Use it.
5498 * gdb.base/sym-file.exp: Don't early return if the target is
5499 remote. Use runto_main, and issue fail is that fails. Use
5501 (shlib_name): Delete.
5502 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
5504 2014-04-15 Pedro Alves <palves@redhat.com>
5506 * gdb.base/sym-file.exp: Remove regex characters from test
5507 message. Don't refer to breakpoint numbers in test messages.
5509 2014-04-14 Keith Seitz <keiths@redhat.com>
5512 * gdb.cp/var-tag.cc: New file.
5513 * gdb.cp/var-tag.exp: New file.
5514 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5515 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5516 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5517 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5519 2014-04-14 Tom Tromey <tromey@redhat.com>
5521 * gdb.cp/classes.exp (test_enums): Handle underlying type.
5522 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
5524 * gdb.cp/enum-class.exp: New file.
5525 * gdb.cp/enum-class.cc: New file.
5527 2014-04-14 Tom Tromey <tromey@redhat.com>
5529 * gdb.dwarf2/enum-type.exp: New file.
5531 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5533 * gdb.mi/mi-vla-c99.exp: New file.
5534 * gdb.mi/vla.c: New file.
5536 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5538 * gdb.base/vla-datatypes.c: New file.
5539 * gdb.base/vla-datatypes.exp: New file.
5541 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5543 * gdb.base/vla-ptr.c: New file.
5544 * gdb.base/vla-ptr.exp: New file.
5546 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5548 * gdb.dwarf2/count.exp: New file.
5550 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5552 * gdb.base/vla-sideeffect.c: New file.
5553 * gdb.base/vla-sideeffect.exp: New file.
5555 2014-04-14 David Blaikie <dblaikie@gmail.com>
5557 * gdb.mi/non-stop.c: Add return value for non-void function return
5559 * gdb.threads/staticthreads.c: Ditto.
5561 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
5562 Doug Evans <xdje42@gmail.com>
5564 * gdb.guile/scm-value.c: Improve test case.
5565 * gdb.guile/scm-value.exp: Add new test.
5567 2014-04-11 David Blaikie <dblaikie@gmail.com>
5569 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
5570 override Clang's default.
5572 2014-04-11 Joel Brobecker <brobecker@adacore.com>
5574 Revert the following changes (regressions):
5576 * gdb.base/vla-sideeffect.c: New file.
5577 * gdb.base/vla-sideeffect.exp: New file.
5579 * gdb.dwarf2/count.exp: New file.
5581 * gdb.base/vla-multi.c: New file.
5582 * gdb.base/vla-multi.exp: New file.
5584 * gdb.base/vla-ptr.c: New file.
5585 * gdb.base/vla-ptr.exp: New file.
5587 * gdb.base/vla-datatypes.c: New file.
5588 * gdb.base/vla-datatypes.exp: New file.
5590 * gdb.mi/mi-vla-c99.exp: New file.
5591 * gdb.mi/vla.c: New file.
5593 2014-04-11 Keith Seitz <keiths@redhat.com>
5596 * gdb.cp/cpsizeof.exp: New file.
5597 * gdb.cp/cpsizeof.cc: New file.
5599 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5601 * gdb.mi/mi-vla-c99.exp: New file.
5602 * gdb.mi/vla.c: New file.
5604 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5606 * gdb.base/vla-datatypes.c: New file.
5607 * gdb.base/vla-datatypes.exp: New file.
5609 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5611 * gdb.base/vla-ptr.c: New file.
5612 * gdb.base/vla-ptr.exp: New file.
5614 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5616 * gdb.base/vla-multi.c: New file.
5617 * gdb.base/vla-multi.exp: New file.
5619 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5621 * gdb.dwarf2/count.exp: New file.
5623 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5625 * gdb.base/vla-sideeffect.c: New file.
5626 * gdb.base/vla-sideeffect.exp: New file.
5628 2014-04-11 Yao Qi <yao@codesourcery.com>
5630 * gdb.base/completion.exp: Check file exists before running tests
5633 2014-04-10 Pedro Alves <palves@redhat.com>
5635 * gdb.base/cond-eval-mode.c: New file.
5636 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
5637 prepare_for_testing to build the new file. Check result of
5639 (test_break, test_watch): New procedures.
5640 (top level): Use them.
5642 2014-04-08 Pierre Muller <muller@sourceware.org>
5644 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
5645 Ctrl-V use for mingw hosts.
5647 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
5649 * gdb.python/py-value.c: Improve test case.
5650 * gdb.python/py-value.exp: Add new test.
5652 2014-04-07 David Blaikie <dblaikie@gmail.com>
5654 * lib/compiler.c: Identify the clang compiler.
5655 * lib/compiler.cc: Ditto.
5657 2014-04-03 Yao Qi <yao@codesourcery.com>
5659 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
5661 2014-04-01 Anton Blanchard <anton@samba.org>
5663 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
5666 2014-04-01 Anton Blanchard <anton@samba.org>
5668 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
5669 prepare_for_testing.
5671 2014-04-01 Anton Blanchard <anton@samba.org>
5673 * gdb.arch/ppc64-atomic-inst.c: Remove.
5674 * gdb.arch/ppc64-atomic-inst.S: New file.
5675 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
5677 2014-03-31 Doug Evans <dje@google.com>
5679 * gdb.base/print-symbol-loading-lib.c: New file.
5680 * gdb.base/print-symbol-loading-main.c: New file.
5681 * gdb.base/print-symbol-loading.exp: New file.
5683 2014-03-31 Yao Qi <yao@codesourcery.com>
5685 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
5687 2014-03-28 Joel Brobecker <brobecker@adacore.com>
5689 * gdb.ada/mi_dyn_arr: New testcase.
5691 2014-03-27 Doug Evans <dje@google.com>
5693 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
5695 2014-03-27 Yao Qi <yao@codesourcery.com>
5697 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
5698 if target is nios2-*-*.
5700 2014-03-26 Yao Qi <yao@codesourcery.com>
5702 * lib/gdb.exp (readline_is_used): New proc.
5703 * gdb.base/completion.exp: Move tests on command complete up.
5704 Skip the rest of tests if readline is not used.
5705 * gdb.ada/complete.exp: Skp the test if readline is not
5707 * gdb.base/filesym.exp: Likewise.
5708 * gdb.base/macscp.exp: Likewise.
5709 * gdb.base/readline-ask.exp: Likewise.
5710 * gdb.base/readline.exp: Likewise.
5711 * gdb.python/py-cmd.exp: Likewise.
5712 * gdb.trace/tfile.exp: Likewise.
5714 2014-03-26 Yao Qi <yao@codesourcery.com>
5716 * gdb.base/macscp.exp: Fix code format issues.
5718 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
5720 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
5721 * gdb.asm/powerpc64le.inc: New file.
5723 2014-03-25 Pedro Alves <palves@redhat.com>
5724 Doug Evans <dje@google.com>
5726 * gdb.base/source-execution.c: New file.
5727 * gdb.base/source-execution.exp: New file.
5728 * gdb.base/source-execution.gdb: New file.
5730 2014-03-24 Doug Evans <dje@google.com>
5732 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
5735 2014-03-24 Hui Zhu <hui@codesourcery.com>
5736 Pedro Alves <palves@redhat.com>
5738 PR breakpoints/16101
5739 * gdb.base/dprintf.exp: Use unsupported rather than changing the
5740 test pass/fail messages. Detect missing support for dprintf when
5741 breakpoints are actually inserted.
5742 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
5743 breakpoints are actually inserted.
5744 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
5747 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5749 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
5751 2014-03-22 Doug Evans <xdje42@gmail.com>
5753 * gdb.python/python.exp (python not supported): Verify multi-line
5754 python command issues an error.
5755 * gdb.guile/guile.exp (guile not supported): Verify multi-line
5756 guile command issues an error.
5758 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
5760 * gdb.threads/thread-specific.exp: Handle the lack of usable
5761 $this_breakpoint and $this_thread.
5763 2014-03-21 Hui Zhu <hui@codesourcery.com>
5765 * gdb.base/attach.exp (do_command_attach_tests): New.
5767 2014-03-20 Tom Tromey <tromey@redhat.com>
5768 Pedro Alves <palves@redhat.com>
5771 * gdb.base/condbreak-call-false.c: New file.
5772 * gdb.base/condbreak-call-false.exp: New file.
5774 2014-03-20 Pedro Alves <palves@redhat.com>
5776 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
5778 (block_signals, unblock_signals): Delete.
5779 (child_function_2, main): Remove references to deleted variable
5782 2014-03-20 Pedro Alves <palves@redhat.com>
5784 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
5785 Use pthread_kill to signal thread 2.
5786 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5787 Adjust to make the test send itself a signal rather than using the
5788 host's "kill" command.
5790 2014-03-20 Pedro Alves <palves@redhat.com>
5792 * gdb.threads/multiple-step-overs.c: New file.
5793 * gdb.threads/multiple-step-overs.exp: New file.
5794 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5795 Adjust expected infrun debug output.
5797 2014-03-20 Pedro Alves <palves@redhat.com>
5799 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
5800 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
5802 2014-03-20 Pedro Alves <palves@redhat.com>
5805 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
5806 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
5807 of gdb_test_multiple.
5808 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
5809 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
5811 2014-03-20 Pedro Alves <palves@redhat.com>
5813 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
5814 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
5816 2014-03-19 Pedro Alves <palves@redhat.com>
5818 * gdb.base/async.exp: Remove early return.
5820 2014-03-19 Pedro Alves <palves@redhat.com>
5822 * gdb.base/async.exp (step& tests): Pass explicit test messages.
5824 2014-03-19 Pedro Alves <palves@redhat.com>
5826 * gdb.base/async.exp (test_background): Expect \r\n after
5827 "completed." in the fail pattern.
5829 2014-03-19 Pedro Alves <palves@redhat.com>
5831 * gdb.base/async.exp (test_background): New procedure.
5832 Use it for all background execution command tests.
5834 2014-03-19 Pedro Alves <palves@redhat.com>
5836 * gdb.base/async.exp: Use prepare_for_testing.
5838 2014-03-19 Pedro Alves <palves@redhat.com>
5840 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
5843 2014-03-19 Pedro Alves <palves@redhat.com>
5845 * gdb.base/async.c (main): Add "jump here" and "until here" line
5847 * gdb.base/async.exp (jump_here): New global.
5848 (jump& test): Use it.
5849 (until_here): New global.
5850 (until& test): Use it.
5852 2014-03-19 Pedro Alves <palves@redhat.com>
5854 * gdb.base/async.exp: Don't frob gdb_protocol.
5856 2014-03-18 Doug Evans <xdje42@gmail.com>
5858 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
5859 Fix spelling of exec-done-display.
5861 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5864 * gdb.base/gdb-sigterm.c: New file.
5865 * gdb.base/gdb-sigterm.exp: New file.
5867 2014-03-18 Pedro Alves <palves@redhat.com>
5870 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
5871 * lib/mi-support.exp (mi_expect_stop): Add special handling for
5874 2014-03-17 Joel Brobecker <brobecker@adacore.com>
5876 * gdb.ada/pckd_arr_ren: New testcase.
5878 2014-03-13 Doug Evans <xdje42@gmail.com>
5881 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
5882 collect after discarding symbols.
5884 2014-03-13 Ludovic Courtès <ludo@gnu.org>
5885 Doug Evans <xdje42@gmail.com>
5887 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
5888 to history survives a gc.
5890 2014-03-13 Pedro Alves <palves@redhat.com>
5892 * gdb.base/default.exp: Don't test "target procfs".
5894 2014-03-13 Pedro Alves <palves@redhat.com>
5896 * gdb.base/default.exp: Update "target child" and "target procfs"
5897 tests to not expect "Unix".
5899 2014-03-12 Tom Tromey <tromey@redhat.com>
5901 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
5902 New procs. Add target-async tests.
5903 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
5904 Add target-async tests.
5906 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5908 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
5909 'func_start' and 'func_end' for the beginning and end of the
5910 function code, respectively.
5911 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
5912 'func_end' instead of 'func' and 'main'.
5914 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5916 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
5917 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
5918 generate the debug info assembler source.
5920 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5922 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
5923 * gdb.dwarf2/arr-subrange.exp: Likewise.
5924 * gdb.dwarf2/dwz.exp: Likewise.
5925 * gdb.dwarf2/method-ptr.exp: Likewise.
5926 * gdb.dwarf2/missing-sig-type.exp: Likewise.
5927 * gdb.dwarf2/subrange.exp: Likewise.
5928 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
5929 * gdb.dwarf2/implptrpiece.exp: Likewise.
5930 * gdb.dwarf2/nostaticblock.exp: Likewise.
5932 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5934 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
5935 directory to absolute path name arguments.
5937 2014-03-10 Joel Brobecker <brobecker@adacore.com>
5939 * gdb.ada/tagged_access: New testcase.
5941 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
5943 * gdb.btrace/data.exp: Update expected output.
5945 2014-03-06 Yao Qi <yao@codesourcery.com>
5947 * gdb.trace/pr16508.exp: New file.
5949 2014-03-05 Pedro Alves <palves@redhat.com>
5952 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
5954 (top level): Adjust to use it. Add tests that exercise breakpoint
5955 interaction with the code-cache.
5957 2014-02-26 Ludovic Courtès <ludo@gnu.org>
5959 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
5960 test for 'history-append!'.
5962 2014-02-26 Joel Brobecker <brobecker@adacore.com>
5964 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
5965 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
5966 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
5967 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
5968 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
5969 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
5971 2014-02-26 Joel Brobecker <brobecker@adacore.com>
5973 * testsuite/gdb.python/py-pp-re-notag.c: New file.
5974 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
5975 * testsuite/gdb.python/py-pp-re-notag.p: New file.
5977 2014-02-26 Joel Brobecker <brobecker@adacore.com>
5979 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
5981 2014-02-26 Joel Brobecker <brobecker@adacore.com>
5983 * gdb.dwarf2/arr-stride.c: New file.
5984 * gdb.dwarf2/arr-stride.exp: New file.
5986 2014-02-26 Pedro Alves <palves@redhat.com>
5988 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
5989 that won't ever trigger. Make sure that GDB reports the correct
5990 breakpoint that caused the stop.
5992 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5995 * gdb.base/auto-load-script: New file.
5996 * gdb.base/auto-load.c: New file.
5997 * gdb.base/auto-load.exp: New file.
6000 * gdb.base/auto-load.exp: Fix out-of-srctree run.
6002 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6004 Fix dw2-icycle.exp -fsanitize=address GDB crash.
6005 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
6007 2014-02-24 Doug Evans <dje@google.com>
6009 * lib/gdb.exp (run_on_host): Log error output if program fails.
6011 2014-02-21 Pedro Alves <palves@redhat.com>
6013 * gdb.threads/step-after-sr-lock.c: Rename to ...
6014 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
6015 * gdb.threads/step-after-sr-lock.exp: Rename to ...
6016 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6019 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
6022 * gdb.arch/amd64-stap-special-operands.exp: New file.
6023 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
6024 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
6025 * gdb.arch/amd64-stap-triplet.S: Likewise.
6026 * gdb.arch/amd64-stap-triplet.c: Likewise.
6028 2014-02-20 Joel Brobecker <brobecker@adacore.com>
6030 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
6031 in .section pseudo-op.
6033 2014-02-20 lin zuojian <manjian2006@gmail.com>
6034 Joel Brobecker <brobecker@adacore.com>
6035 Doug Evans <xdje42@gmail.com>
6038 * gdb.dwarf2/dw2-icycle.S: New file.
6039 * gdb.dwarf2/dw2-icycle.c: New file.
6040 * gdb.dwarf2/dw2-icycle.exp: New file.
6042 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
6044 * gdb.python/py-value-cc.cc: Improve test case to enable testing
6045 operations on gdb.Value objects.
6046 * gdb.python/py-value-cc.exp: Add new test to test operations on
6049 2014-02-18 Doug Evans <dje@google.com>
6051 * Makefile.in (TESTS): New variable.
6052 (expanded_tests, expanded_tests_or_none): New variables
6053 (check-single): Pass $(expanded_tests_or_none) to runtest.
6054 (check-parallel): Only run tests in $(TESTS) if non-empty.
6055 (check/no-matching-tests-found): New rule.
6056 * README: Document TESTS makefile variable.
6058 2014-02-18 Doug Evans <dje@google.com>
6060 * Makefile.in (check-parallel): rm -rf outputs temp.
6062 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6064 Fix "ERROR: no fileid for" in the testsuite.
6065 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
6067 2014-02-12 Doug Evans <dje@google.com>
6069 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
6070 (MISCELLANEOUS): New variable.
6071 (clean): rm -rf $(MISCELLANEOUS).
6072 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
6073 dwp live in the same directory as symlinks, with each symlink pointed
6074 to a differently named file in a different directory.
6076 2014-02-11 Doug Evans <dje@google.com>
6078 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
6079 of Tcl file commands.
6081 2014-02-10 Mark Kettenis <kettenis@gnu.org>
6083 * gdb.threads/step-after-sr-lock.exp: Avoid executing
6086 2014-02-10 Joel Brobecker <brobecker@adacore.com>
6088 * gdb.ada/tick_length_array_enum_idx: New testcase.
6090 2014-02-10 Doug Evans <xdje42@gmail.com>
6092 * configure.ac (AC_OUTPUT): Add gdb.guile.
6093 * configure: Regenerate.
6094 * lib/gdb-guile.exp: New file.
6095 * lib/gdb.exp (get_target_charset): New function.
6096 * gdb.base/help.exp: Update expected output from "apropos apropos".
6097 * gdb.guile/Makefile.in: New file.
6098 * gdb.guile/guile.exp: New file.
6099 * gdb.guile/scm-arch.c: New file.
6100 * gdb.guile/scm-arch.exp: New file.
6101 * gdb.guile/scm-block.c: New file.
6102 * gdb.guile/scm-block.exp: New file.
6103 * gdb.guile/scm-breakpoint.c: New file.
6104 * gdb.guile/scm-breakpoint.exp: New file.
6105 * gdb.guile/scm-disasm.c: New file.
6106 * gdb.guile/scm-disasm.exp: New file.
6107 * gdb.guile/scm-equal.c: New file.
6108 * gdb.guile/scm-equal.exp: New file.
6109 * gdb.guile/scm-error.exp: New file.
6110 * gdb.guile/scm-error.scm: New file.
6111 * gdb.guile/scm-frame-args.c: New file.
6112 * gdb.guile/scm-frame-args.exp: New file.
6113 * gdb.guile/scm-frame-args.scm: New file.
6114 * gdb.guile/scm-frame-inline.c: New file.
6115 * gdb.guile/scm-frame-inline.exp: New file.
6116 * gdb.guile/scm-frame.c: New file.
6117 * gdb.guile/scm-frame.exp: New file.
6118 * gdb.guile/scm-generics.exp: New file.
6119 * gdb.guile/scm-gsmob.exp: New file.
6120 * gdb.guile/scm-iterator.c: New file.
6121 * gdb.guile/scm-iterator.exp: New file.
6122 * gdb.guile/scm-math.c: New file.
6123 * gdb.guile/scm-math.exp: New file.
6124 * gdb.guile/scm-objfile-script-gdb.in: New file.
6125 * gdb.guile/scm-objfile-script.c: New file.
6126 * gdb.guile/scm-objfile-script.exp: New file.
6127 * gdb.guile/scm-objfile.c: New file.
6128 * gdb.guile/scm-objfile.exp: New file.
6129 * gdb.guile/scm-ports.exp: New file.
6130 * gdb.guile/scm-pretty-print.c: New file.
6131 * gdb.guile/scm-pretty-print.exp: New file.
6132 * gdb.guile/scm-pretty-print.scm: New file.
6133 * gdb.guile/scm-section-script.c: New file.
6134 * gdb.guile/scm-section-script.exp: New file.
6135 * gdb.guile/scm-section-script.scm: New file.
6136 * gdb.guile/scm-symbol.c: New file.
6137 * gdb.guile/scm-symbol.exp: New file.
6138 * gdb.guile/scm-symtab-2.c: New file.
6139 * gdb.guile/scm-symtab.c: New file.
6140 * gdb.guile/scm-symtab.exp: New file.
6141 * gdb.guile/scm-type.c: New file.
6142 * gdb.guile/scm-type.exp: New file.
6143 * gdb.guile/scm-value-cc.cc: New file.
6144 * gdb.guile/scm-value-cc.exp: New file.
6145 * gdb.guile/scm-value.c: New file.
6146 * gdb.guile/scm-value.exp: New file.
6147 * gdb.guile/source2.scm: New file.
6148 * gdb.guile/types-module.cc: New file.
6149 * gdb.guile/types-module.exp: New file.
6151 2014-02-10 Yao Qi <yao@codesourcery.com>
6154 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
6155 * configure: Regenerated.
6156 * Makefile.in: New file.
6158 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
6160 * gdb.python/py-framefilter.exp: Fix typo.
6162 2014-02-08 Yao Qi <yao@codesourcery.com>
6164 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
6165 that no =breakpoint-modified is emitted when breakpoints are
6166 modified through MI commands.
6168 2014-02-07 Pedro Alves <pedro@codesourcery.com>
6169 Pedro Alves <palves@redhat.com>
6171 * gdb.threads/step-after-sr-lock.c: New file.
6172 * gdb.threads/step-after-sr-lock.exp: New file.
6174 2014-02-07 Pedro Alves <palves@redhat.com>
6176 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
6178 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6180 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
6181 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
6183 2014-02-06 Doug Evans <xdje42@gmail.com>
6185 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
6188 * gdb.gdb/python-interrupts.exp: New file.
6190 2014-02-05 Yao Qi <yao@codesourcery.com>
6192 * gdb.trace/report.exp (use_collected_data): Test the output
6193 of "info threads" and "info inferiors".
6195 2014-02-05 Yao Qi <yao@codesourcery.com>
6199 2013-05-24 Yao Qi <yao@codesourcery.com>
6201 * gdb.trace/tfile.exp: Test inferior and thread.
6203 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6205 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
6207 * gdb.base/step-bt.c: Call hello via function pointer to make
6208 sure its first instruction is executed on powerpc64le-linux.
6210 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6212 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
6214 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6216 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
6217 of the test patterns for use on little-endian systems.
6219 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6221 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
6222 (decimal_vector): Fix for little-endian.
6224 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
6226 * gdb.arch/sparc-sysstep.exp: New file.
6227 * gdb.arch/sparc-sysstep.c: Likewise.
6229 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
6231 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6233 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
6235 2014-01-23 Tom Tromey <tromey@redhat.com>
6237 * gdb.ada/array_char_idx: New testcase.
6239 2014-01-23 Tom Tromey <tromey@redhat.com>
6242 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
6243 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
6246 2014-01-23 Tom Tromey <tromey@redhat.com>
6249 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
6250 string from an inferior frame.
6251 * gdb.python/py-framefilter-mi.exp: Update.
6253 2014-01-22 Doug Evans <dje@google.com>
6255 * gdb.server/server-mon.exp: Add tests for "set debug-format".
6257 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6259 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
6261 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6263 * gdb.trace/entry-values.exp: Remove excess space character from
6264 regex patterns. Handle s390 call instruction.
6266 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6268 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
6269 define "*_start" label. Make "name" static.
6270 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
6271 ${name} by references to ${name}_start.
6273 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6275 * gdb.base/info-macros.exp: Remove "debug" from the compile
6278 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6280 * gdb.dlang/demangle.exp: New file.
6282 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6284 * gdb.dlang/primitive-types.exp: New file.
6286 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6288 * configure.ac: Create gdb.dlang/Makefile.
6289 * configure: Regenerate.
6290 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
6291 * gdb.dlang/Makefile.in: New file.
6292 * lib/d-support.exp: New file.
6293 * lib/gdb.exp (skip_d_tests): New proc.
6295 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6297 * gdb.btrace/delta.exp: Check reverse stepi.
6298 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
6299 * gdb.btrace/finish.exp: New.
6300 * gdb.btrace/next.exp: New.
6301 * gdb.btrace/nexti.exp: New.
6302 * gdb.btrace/record_goto.c: Add comments.
6303 * gdb.btrace/step.exp: New.
6304 * gdb.btrace/stepi.exp: New.
6305 * gdb.btrace/multi-thread-step.c: New.
6306 * gdb.btrace/multi-thread-step.exp: New.
6307 * gdb.btrace/rn-dl-bind.c: New.
6308 * gdb.btrace/rn-dl-bind.exp: New.
6309 * gdb.btrace/data.c: New.
6310 * gdb.btrace/data.exp: New.
6311 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
6313 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6315 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
6316 * gdb.btrace/exception.exp: Update.
6317 * gdb.btrace/instruction_history.exp: Update.
6318 * gdb.btrace/record_goto.exp: Update.
6319 * gdb.btrace/tailcall.exp: Update.
6320 * gdb.btrace/unknown_functions.exp: Update.
6321 * gdb.btrace/delta.exp: New.
6323 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6325 * gdb.btrace/record_goto.exp: Add backtrace test.
6326 * gdb.btrace/tailcall.exp: Add backtrace test.
6328 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6330 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
6331 * gdb.btrace/record_goto.c: New.
6332 * gdb.btrace/record_goto.exp: New.
6333 * gdb.btrace/x86-record_goto.S: New.
6335 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6337 * gdb.btrace/function_call_history.exp: Update tests.
6338 * gdb.btrace/instruction_history.exp: Update tests.
6340 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6342 * gdb.btrace/function_call_history.exp: Fix expected field
6343 order for "record function-call-history".
6344 Add new tests for "record function-call-history /c".
6345 * gdb.btrace/exception.cc: New.
6346 * gdb.btrace/exception.exp: New.
6347 * gdb.btrace/tailcall.exp: New.
6348 * gdb.btrace/x86-tailcall.S: New.
6349 * gdb.btrace/x86-tailcall.c: New.
6350 * gdb.btrace/unknown_functions.c: New.
6351 * gdb.btrace/unknown_functions.exp: New.
6352 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
6354 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6356 * gdb.btrace/instruction_history.exp: Update.
6357 * gdb.btrace/function_call_history.exp: Update.
6359 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6361 * gdb.btrace/function_call_history.exp: Fix expected function
6363 * gdb.btrace/instruction_history.exp: Initialize traced.
6364 Remove traced_functions.
6366 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6368 * gdb.btrace/function_call_history.exp: Update
6369 * gdb.btrace/instruction_history.exp: Update.
6371 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6373 * gdb.btrace/enable.exp: Update expected text.
6375 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
6377 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
6380 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
6382 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
6384 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6386 * lib/gdb.exp (supports_process_record): Return true for
6387 arm*-linux*. (supports_reverse): Likewise.
6389 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
6393 * gdb.python/py-type.c: Enhance test case.
6394 * gdb.python/py-value-cc.cc: Likewise
6395 * gdb.python/py-type.exp: Add new tests.
6396 * gdb.python/py-value-cc.exp: Likewise
6398 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
6399 Pedro Alves <palves@redhat.com>
6401 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
6403 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
6404 references to ${name}_start by references to ${name}.
6406 2014-01-10 Joel Brobecker <brobecker@adacore.com>
6408 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
6410 2014-01-10 Joel Brobecker <brobecker@adacore.com>
6412 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
6414 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
6415 Pedro Alves <palves@redhat.com>
6417 * gdb.mi/mi-info-os.exp: Connect to the target with
6420 2014-01-08 Pedro Alves <palves@redhat.com>
6422 * gdb.threads/reconnect-signal.c: New file.
6423 * gdb.threads/reconnect-signal.exp: New file.
6425 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6427 * gdb.base/source-dir.exp: New file.
6429 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6431 * gdb.ada/mi_interface: New testcase.
6433 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6435 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
6436 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
6437 gdb.ada/pp-rec-component/pck.ads: New files.
6439 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6441 * gdb.python/py-pp-integral.c: New file.
6442 * gdb.python/py-pp-integral.py: New file.
6443 * gdb.python/py-pp-integral.exp: New file.
6445 For older changes see ChangeLog-1993-2013.
6451 ;; version-control: never
6454 Copyright 2014-2015 Free Software Foundation, Inc.
6455 Copying and distribution of this file, with or without modification,
6456 are permitted provided the copyright notice and this notice are preserved.