1 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
5 2015-10-26 Doug Evans <dje@google.com>
8 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
9 * gdb.dwarf2/bad-regnum.c: New file.
10 * gdb.dwarf2/bad-regnum.exp: New file.
12 2015-10-26 Doug Evans <dje@google.com>
15 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
18 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
20 * gdb.compile/compile.exp (compile code globalvar): Update expectation
21 for a change by "Mention language in compile error message".
23 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
26 * gdb.python/py-type.c (C::a_method): New.
27 (C::a_const_method): New.
28 (C::a_static_method): New.
30 * gdb.python/py-type.exp (test_fields): Test getting fields
31 from function and method.
33 2015-10-21 Keven Boell <keven.boell@intel.com>
35 * gdb.fortran/vla-alloc-assoc.exp: New file.
36 * gdb.fortran/vla-datatypes.exp: New file.
37 * gdb.fortran/vla-datatypes.f90: New file.
38 * gdb.fortran/vla-history.exp: New file.
39 * gdb.fortran/vla-ptype-sub.exp: New file.
40 * gdb.fortran/vla-ptype.exp: New file.
41 * gdb.fortran/vla-sizeof.exp: New file.
42 * gdb.fortran/vla-sub.f90: New file.
43 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
44 * gdb.fortran/vla-value-sub-finish.exp: New file.
45 * gdb.fortran/vla-value-sub.exp: New file.
46 * gdb.fortran/vla-value.exp: New file.
47 * gdb.fortran/vla-ptr-info.exp: New file.
48 * gdb.mi/mi-vla-fortran.exp: New file.
49 * gdb.mi/vla.f90: New file.
51 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
53 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
54 of hardwired timeout value.
56 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
57 Pedro Alves <palves@redhat.com>
59 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
60 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
62 2015-10-19 Josh Stone <jistone@redhat.com>
64 * gdb.base/catch-syscall.c: Include <sched.h>.
65 (unknown_syscall): New variable.
66 (main): Trigger a vfork and an unknown syscall.
67 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
68 (unknown_syscall_number): Likewise.
69 (check_call_to_syscall): Accept an optional syscall pattern.
70 (check_return_from_syscall): Likewise.
71 (check_continue): Likewise.
72 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
73 (test_catch_syscall_skipping_return): New test toggling off 'catch
74 syscall' to step over the syscall return, then toggling back on.
75 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
76 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
77 (do_syscall_tests): Call test_catch_syscall_without_args and
78 test_catch_syscall_mid_vfork.
79 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
80 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
82 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
84 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
85 print g_vE): Add new pass patterns.
86 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
87 print various symbol names for vptr fields.
89 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
91 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
94 2015-10-12 Yao Qi <yao.qi@linaro.org>
96 * gdb.arch/disp-step-insn-reloc.exp: New test case.
98 2015-10-12 Yao Qi <yao.qi@linaro.org>
100 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
101 is aarch64*-*-linux*.
103 2015-10-12 Yao Qi <yao.qi@linaro.org>
105 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
106 (can_relocate_bcond_true): ... it.
107 (can_relocate_bcond_false): New function.
109 (can_relocate_bl): Likewise.
110 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
113 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
115 * gdb.base/nested-addr.c: New file.
116 * gdb.base/nested-addr.exp: New testcase.
118 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
120 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
121 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
122 its output. Ignore the output of "record goto begin" and instead
123 check that GDB is replaying.
125 2015-10-09 Pedro Alves <palves@redhat.com>
127 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
128 (top level): Use it in the run with no args test.
130 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
132 * gdb.dlang/properties.exp: New file.
134 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
136 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
137 whether or not address 0x1000 is mapped on the target.
139 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
141 * gdb.python/py-type.exp: Do not run tests if binaries fail to
144 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
146 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
147 instruction-history test.
149 2015-09-28 Doug Evans <dje@google.com>
151 * gdb.base/gcore.c (array_func): Add reference to static_array.
153 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
155 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
158 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
160 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
161 short or char as base type.
163 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
165 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
166 to allow any size enum.
168 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
170 * gdb.ada/array_ptr_renaming.exp: New testcase.
171 * gdb.ada/array_ptr_renaming/foo.adb: New file.
172 * gdb.ada/array_ptr_renaming/pack.ads: New file.
174 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
176 * gdb.trace/ftrace-lock.c: New file.
177 * gdb.trace/ftrace-lock.exp: New file.
179 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
181 * gdb.arch/insn-reloc.c: New file.
182 * gdb.arch/ftrace-insn-reloc.exp: New file.
184 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
186 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
188 * gdb.trace/pendshr1.c (pendfunc): Likewise.
189 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
190 * gdb.trace/range-stepping.c: Likewise.
191 * gdb.trace/trace-break.c: Likewise.
192 * gdb.trace/trace-mt.c (thread_function): Likewise.
193 * gdb.trace/ftrace.c (marker): Likewise.
194 * gdb.trace/trace-condition.c (marker): Likewise.
195 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
196 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
199 2015-09-18 Doug Evans <xdje42@gmail.com>
201 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
202 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
204 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
206 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
209 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
211 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
212 the pending breakpoint. Remove timeout override for "Run till
213 MI pending breakpoint on pendfunc3 on thread 2" test.
215 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
217 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
220 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
222 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
223 in breakpoint filename pattern.
225 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
227 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
229 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
231 * gdb.linespec/explicit.exp: Check for readline support for
232 tab-completion tests. Fix obvious typo.
234 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
236 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
239 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
241 * gdb.btrace/non-stop.c: New.
242 * gdb.btrace/non-stop.exp: New.
244 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
245 Yao Qi <yao.qi@linaro.org>
247 * gdb.trace/trace-condition.c: New file.
248 * gdb.trace/trace-condition.exp: New file.
250 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
252 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
253 for testing bytecode compilation.
255 2015-09-16 Pedro Alves <palves@redhat.com>
256 Sandra Loosemore <sandra@codesourcery.com>
258 * gdb.threads/non-stop-fair-events.c (timeout): New global.
260 (main): Call pthread_kill and alarm early.
261 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
263 (test): If the target can't hardware step and doesn't support
264 displaced stepping, increase the timeout.
266 2015-09-16 Pedro Alves <palves@redhat.com>
268 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
269 (enable_debug): New procedures.
270 (test): Use them. Bail out if waiting for threads fails.
271 (top level): Bail out if a test fails.
273 2015-09-16 Yao Qi <yao.qi@linaro.org>
275 * gdb.asm/asm-source.exp: Set asm-arch for
277 * gdb.asm/aarch64.inc: New file.
279 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
281 * gdb.ada/array_of_variable_length.exp: New testcase.
282 * gdb.ada/array_of_variable_length/foo.adb: New file.
283 * gdb.ada/array_of_variable_length/pck.adb: New file.
284 * gdb.ada/array_of_variable_length/pck.ads: New file.
286 2015-09-15 Doug Evans <dje@google.com>
288 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
289 of function static local variable.
291 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
293 * gdb.threads/tls-so_extern.exp: New test file.
294 * gdb.threads/tls-so_extern.c: New test file.
295 * gdb.threads/tls-so_extern_main.c: New test file.
297 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
299 * gdb.opt/solib-intra-step-lib.c: New file.
300 * gdb.opt/solib-intra-step-main.c: New file.
301 * gdb.opt/solib-intra-step.exp: New file.
303 2015-09-15 Pedro Alves <palves@redhat.com>
305 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
306 gdb_continue_to_breakpoint instead of gdb_test_multiple.
308 2015-09-14 Pedro Alves <palves@redhat.com>
310 * gdb.base/hook-stop-continue.c: Delete.
311 * gdb.base/hook-stop-continue.exp: Delete.
312 * gdb.base/hook-stop-frame.c: Delete.
313 * gdb.base/hook-stop-frame.exp: Delete.
314 * gdb.base/hook-stop.c: New file.
315 * gdb.base/hook-stop.exp: New file.
317 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
319 * gdb.ada/access_to_packed_array.exp: New testcase.
320 * gdb.ada/access_to_packed_array/foo.adb: New file.
321 * gdb.ada/access_to_packed_array/pack.adb: New file.
322 * gdb.ada/access_to_packed_array/pack.ads: New file.
324 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
326 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
329 2015-09-11 Don Breazeal <donb@codesourcery.com>
331 * gdb.base/foll-exec.c: Add copyright header. Fix
333 * gdb.base/foll-exec.exp (zap_session): Delete proc.
334 (do_exec_tests): Use clean_restart in place of zap_session,
335 and for test initialization. Fix formatting issues. Use
336 fail in place of perror.
337 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
338 an expect statement to match an expression with output from
339 the program under debug.
340 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
341 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
342 * gdb.threads/non-ldr-exc-2.exp: Likewise.
343 * gdb.threads/non-ldr-exc-3.exp: Likewise.
344 * gdb.threads/non-ldr-exc-4.exp: Likewise.
346 2015-09-09 Doug Evans <dje@google.com>
348 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
350 2015-09-09 Doug Evans <dje@google.com>
352 * gdb.base/pie-execl.exp: Fix result test of build_executable.
354 2015-09-09 Doug Evans <dje@google.com>
356 * gdb.base/savedregs.exp: Fix typo.
358 2015-09-09 Pedro Alves <palves@redhat.com>
360 * gdb.mi/mi-cli.exp: Add CLI finish tests.
362 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
364 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
365 command actually switches threads. Give up on remaining
366 tests if target fails to stop at breakpoint.
368 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
370 * gdb.ada/funcall_char.exp: New testcase.
371 * gdb.ada/funcall_char/foo.adb: New file.
373 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
375 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
376 expected outputs. Add two testcases for completing ambiguous
378 * gdb.ada/complete/aux_pck.adb: New file.
379 * gdb.ada/complete/aux_pck.ads: New file.
380 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
381 Ambiguous_Func functions.
382 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
383 * gdb.ada/complete/pck.adb: Likewise.
385 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
387 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
388 failures to run the test program under GDB.
390 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
392 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
395 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
397 * gdb.base/run-after-attach.exp: New test file.
398 * gdb.base/run-after-attach.c: New test file.
400 2015-08-26 Don Breazeal <donb@codesourcery.com>
402 * gdb.base/foll-exec-2.c: New test program.
403 * gdb.base/foll-exec-2.exp: New test.
405 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
407 * gdb.base/nested-subp1.exp: New file.
408 * gdb.base/nested-subp1.c: New file.
409 * gdb.base/nested-subp2.exp: New file.
410 * gdb.base/nested-subp2.c: New file.
411 * gdb.base/nested-subp3.exp: New file.
412 * gdb.base/nested-subp3.c: New file.
414 2015-08-24 Pedro Alves <palves@redhat.com>
416 * gdb.server/connect-without-multi-process.c: New file.
417 * gdb.server/connect-without-multi-process.exp: New file.
419 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
421 * gdb.opt/inline-markers.c: Make z int.
423 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
425 * gdb.opt/inline-markers.c: Make z volatile.
427 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
429 * gdb.opt/inline-bt.c: New volatile global z.
430 * gdb.opt/inline-cmds.c: Likewise.
431 * gdb.opt/inline-locals.c: Likewise.
432 * gdb.opt/inline-markers.c: New extern global z.
434 (inline_fn): Likewise.
436 2015-08-24 Pedro Alves <palves@redhat.com>
438 * config/m32r-stub.exp: Remove file.
439 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
440 * gdb.base/call-rt-st.exp: Likewise.
441 * gdb.base/call-strs.exp: Likewise.
442 * gdb.base/default.exp: Remove references to h8300-*-hms and
444 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
446 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
448 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
449 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
450 and "return" use KFAIL when GDB can not read/write the vector
453 2015-08-21 Gary Benson <gbenson@redhat.com>
455 * gdb.trace/pending.exp: Cope with remote transfer warnings.
457 2015-08-20 Pedro Alves <palves@redhat.com>
459 * gdb.server/solib-list.exp: No longer expect an interior stop in
462 2015-08-20 Pedro Alves <palves@redhat.com>
464 * gdb.server/connect-stopped-target.c: New file.
465 * gdb.server/connect-stopped-target.exp: New file.
467 2015-08-20 Pedro Alves <palves@redhat.com>
469 * gdb.dwarf2/comp-unit-lang.exp: New file.
470 * gdb.dwarf2/comp-unit-lang.c: New file.
472 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
474 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
475 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
477 2015-08-19 Kevin Buettner <kevinb@redhat.com>
479 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
480 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
482 2015-08-18 Doug Evans <dje@google.com>
483 Adrian Sendroiu <adrian.sendroiu@freescale.com>
485 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
486 skip_python_tests. New arg prompt_regexp.
487 (skip_python_tests): New function.
488 * lib/mi-support.exp (mi_skip_python_tests): New function.
489 * gdb.python/py-mi-objfile-gdb.py: New file.
490 * gdb.python/py-mi-objfile.c: New file.
491 * gdb.python/py-mi-objfile.exp: New file.
493 2015-08-17 Keith Seitz <keiths@redhat.com>
495 * gdb.linespec/explicit.exp: Move strace test from here ...
496 * gdb.trace/strace.exp: ... to here.
498 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
500 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
501 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
503 2015-08-14 Doug Evans <xdje42@gmail.com>
505 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
506 inferior before selecting a new file.
508 2015-08-14 Doug Evans <xdje42@gmail.com>
510 * gdb.mi/mi-disassemble.exp: Update.
511 * gdb.base/disasm-optim.S: New file.
512 * gdb.base/disasm-optim.c: New file.
513 * gdb.base/disasm-optim.h: New file.
514 * gdb.base/disasm-optim.exp: New file.
516 2015-08-14 Keith Seitz <keiths@redhat.com>
518 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
521 2015-08-13 Joel Brobecker <brobecker@adacore.com>
523 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
525 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
527 * gdb.ada/fun_renaming.exp: New testcase.
528 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
529 * gdb.ada/fun_renaming/pack.adb: New file.
530 * gdb.ada/fun_renaming/pack.ads: New file.
532 2015-08-12 Keith Seitz <keiths@redhat.com>
534 * gdb.base/dso2dso.exp: Pass basename of source file in call to
537 2015-08-12 Joel Brobecker <brobecker@adacore.com>
539 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
540 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
541 gdb.base/dso2dso.exp: New files.
543 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
544 Pedro Alves <palves@redhat.com>
545 Keith Seitz <keiths@redhat.com>
547 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
550 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
552 * gdb.base/gdbhistsize-history.exp
553 (test_histsize_history_setting): Use save_vars.
554 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
556 (test_no_truncation_of_unlimited_history_file): Use save_vars.
557 * gdb.base/readline.exp: Use save_vars.
559 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
561 * lib/gdb.exp (save_vars): New proc.
563 2015-08-11 Keith Seitz <keiths@redhat.com>
565 * gdb.base/help.exp: Update help_breakpoint_text.
567 2015-08-11 Keith Seitz <keiths@redhat.com>
569 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
570 (at toplevel): Call test_explicit_breakpoints.
571 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
573 * lib/mi-support.exp (mi_make_breakpoint): Add support for
574 breakpoint conditions, "-cond".
576 2015-08-11 Keith Seitz <keiths@redhat.com>
578 * gdb.linespec/3explicit.c: New file.
579 * gdb.linespec/cpexplicit.cc: New file.
580 * gdb.linespec/cpexplicit.exp: New file.
581 * gdb.linespec/explicit.c: New file.
582 * gdb.linespec/explicit.exp: New file.
583 * gdb.linespec/explicit2.c: New file.
584 * gdb.linespec/ls-errs.exp: Add explicit location tests.
585 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
586 before using in the matching pattern.
587 Clarify that `prefix' is a regular expression.
589 2015-08-11 Keith Seitz <keiths@redhat.com>
591 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
593 Add tests for missing ",FMT" and ",".
595 2015-08-10 Doug Evans <dje@google.com>
596 Keith Seitz <keiths@redhat.com>
599 * gdb.base/completion.exp: Add location completer tests.
601 2015-08-07 Pedro Alves <palves@redhat.com>
603 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
605 (top level): Run do_test with and without displaced stepping.
607 2015-08-07 Pedro Alves <palves@redhat.com>
609 * gdb.base/valgrind-disp-step.c: New file.
610 * gdb.base/valgrind-disp-step.exp: New file.
612 2015-08-07 Pedro Alves <palves@redhat.com>
614 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
616 (main): Add alarm. Run an infinite loop instead of calling
618 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
620 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
622 (main): Add alarm. Run an infinite loop instead of calling
624 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
627 2015-08-07 Pedro Alves <palves@redhat.com>
629 * gdb.base/checkpoint-ns.exp: New file.
630 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
633 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
635 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
636 * gdb.btrace/instruction_history.exp: Update.
637 * gdb.btrace/tsx.exp: New.
638 * gdb.btrace/tsx.c: New.
640 2015-08-06 Pedro Alves <palves@redhat.com>
642 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
644 * gdb.reverse/until-precsave.exp: Bump timeouts.
646 2015-08-06 Pedro Alves <palves@redhat.com>
648 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
650 2015-08-06 Pedro Alves <palves@redhat.com>
653 * gdb.threads/process-dies-while-handling-bp.c: New file.
654 * gdb.threads/process-dies-while-handling-bp.exp: New file.
656 2015-08-06 Pedro Alves <palves@redhat.com>
658 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
659 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
661 2015-08-05 Pedro Alves <palves@redhat.com>
663 * gdb.threads/next-while-other-thread-longjmps.c: New file.
664 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
666 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
668 * gdb.base/bp-permanent.exp: Report test as unsupported if
669 the target cannot stop at the permanent breakpoint.
671 2015-08-03 Doug Evans <dje@google.com>
673 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
676 2015-08-03 Doug Evans <dje@google.com>
678 * Makefile.in (workers/%.worker, build-perf): New rule.
679 (GDB_PERFTEST_MODE): New variable.
680 (check-perf): Use it.
681 (clean): Clean up gdb.perf parallel build subdirs.
682 * lib/build-piece.exp: New file.
683 * lib/gdb.exp (make_gdb_parallel_path): New function
684 (standard_output_file, standard_temp_file): Call it.
685 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
687 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
689 2015-08-03 Doug Evans <dje@google.com>
691 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
692 (LOG_FILE_NAME): New global.
693 (TextReporter.__init__): Initialize self.txt_sum.
694 (TextReporter.report): Add support for multiple data-points.
695 Move report to perftest.sum, put raw data in perftest.log.
696 (TextReporter.start): Open sum and log files.
697 (TextReporter.end): Close sum and log files.
698 * gdb.perf/lib/perftest/testresult.py
699 (SingleStatisticTestResult.record): Handle multiple data-points.
701 2015-07-31 Pedro Alves <palves@redhat.com>
703 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
704 Use spawn_id_get_pid. Wait for spawn id after eof. Use
705 kill_wait_spawned_process instead of explicit "kill -9".
706 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
707 returning a spawn id instead of a pid. Use spawn_id_get_pid and
708 kill_wait_spawned_process.
709 * gdb.base/attach-twice.exp: Likewise.
710 * gdb.base/attach.exp: Likewise.
711 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
713 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
714 returning a spawn id instead of a pid. Use spawn_id_get_pid and
715 kill_wait_spawned_process.
716 * gdb.base/valgrind-infcall.exp: Likewise.
717 * gdb.multi/multi-attach.exp: Likewise.
718 * gdb.python/py-prompt.exp: Likewise.
719 * gdb.python/py-sync-interp.exp: Likewise.
720 * gdb.server/ext-attach.exp: Likewise.
721 * gdb.threads/attach-into-signal.exp (corefunc): Use
722 spawn_wait_for_attach, spawn_id_get_pid and
723 kill_wait_spawned_process.
724 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
725 spawn_wait_for_attach returning a spawn id instead of a pid. Use
726 spawn_id_get_pid and kill_wait_spawned_process.
727 * gdb.threads/attach-stopped.exp (corefunc): Use
728 spawn_wait_for_attach, spawn_id_get_pid and
729 kill_wait_spawned_process.
730 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
731 Use spawn_id_get_pid. Wait for spawn id after eof. Use
732 kill_wait_spawned_process instead of explicit "kill -9".
733 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
734 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
735 (spawn_wait_for_attach): Use spawn instead of exec to spawn
736 processes. Don't map cygwin/windows pids here. Now returns a
739 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
741 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
742 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
745 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
747 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
749 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
752 2014-05-21 Mark Wielaard <mjw@redhat.com>
754 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
756 2015-07-30 Pedro Alves <palves@redhat.com>
758 * linux-low.c (handle_extended_wait): Set the child's last
759 reported status to TARGET_WAITKIND_STOPPED.
761 2015-07-30 Pedro Alves <palves@redhat.com>
764 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
765 only shows inferior 1.
767 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
768 Pedro Alves <palves@redhat.com>
771 * gdb.threads/fork-plus-threads.c: New file.
772 * gdb.threads/fork-plus-threads.exp: New file.
774 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
776 * gdb.base/batch-preserve-term-settings.exp
777 (test_terminal_settings_preserved_after_cli_exit): Use
780 2015-07-29 Pedro Alves <palves@redhat.com>
781 Don Breazeal <donb@codesourcery.com>
783 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
784 output from both inferior_spawn_id and gdb_spawn_id.
786 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
788 * gdb.threads/attach-into-signal.exp (corefunc): Use
789 with_test_prefix on nested loops, uniquefying the test messages.
791 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
793 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
796 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
798 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
800 (test_terminal_settings_preserved_after_sigterm): New test.
802 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
804 * gdb.base/batch-preserve-term-settings.exp
805 (test_terminal_settings_preserved_after_cli_exit): New test.
807 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
809 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
810 manipulation of saved_gdbflags.
811 (test_terminal_settings_preserved): Remove global declaration of
812 the unused variable pagination_prompt. Remove manipulation of
813 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
816 2015-07-29 Pedro Alves <palves@redhat.com>
818 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
820 2015-07-29 Pedro Alves <palves@redhat.com>
822 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
825 2015-07-29 Pedro Alves <palves@redhat.com>
827 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
828 (main): Call gdb_unbuffer_output.
829 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
830 (main): Call gdb_unbuffer_output.
831 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
832 (main): Call gdb_unbuffer_output.
833 * gdb.base/call-strs.exp: Adjust to step over the
834 gdb_unbuffer_output call.
835 * gdb.base/catch-gdb-caused-signals.c: Include
836 "../lib/unbuffer_output.c".
837 (main): Call gdb_unbuffer_output.
838 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
839 (main): Call gdb_unbuffer_output.
840 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
841 (main): Call gdb_unbuffer_output.
842 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
843 (main): Call gdb_unbuffer_output.
844 * gdb.base/shlib-call.exp: Adjust to step over the
845 gdb_unbuffer_output call.
846 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
847 (main): Call gdb_unbuffer_output.
848 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
849 (main): Call gdb_unbuffer_output.
850 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
851 (main): Rename to ...
854 * gdb.base/varargs.exp: Run to test instead of to main.
855 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
856 (main): Call gdb_unbuffer_output.
858 2015-07-29 Pedro Alves <palves@redhat.com>
860 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
861 factore out from mi_continue_dprintf. For call-style dprintfs,
862 expect dprintf output out of $inferior_spawn_id.
863 (mi_continue_dprintf): Use mi_expect_dprintf.
864 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
865 (main): Call gdb_unbuffer_output.
867 2015-07-29 Pedro Alves <palves@redhat.com>
869 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
870 (default_mi_gdb_start): Set inferior_spawn_id instead of
871 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
873 (mi_gdb_test): Always expect inferior output from both
874 $inferior_spawn_id and $gdb_spawn_id.
876 2015-07-29 Pedro Alves <palves@redhat.com>
878 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
879 send_inferior and $inferior_spawn_id.
881 2015-07-29 Pedro Alves <palves@redhat.com>
883 * gdb.gdb/complaints.exp (test_initial_complaints)
884 (test_serial_complaints, test_short_complaints): Use
886 (test_empty_complaint): Handle $inferior_spawn_id !=
889 2015-07-29 Pedro Alves <palves@redhat.com>
891 * gdb.base/varargs.exp: Use gdb_test_stdio.
893 2015-07-29 Pedro Alves <palves@redhat.com>
895 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
897 2015-07-29 Pedro Alves <palves@redhat.com>
899 * gdb.base/ending-run.exp: Use gdb_test_stdio.
901 2015-07-29 Pedro Alves <palves@redhat.com>
903 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
904 parameter into two new parameters, "inf_result" and "gdb_result".
905 Expect inferior output and gdb output from $inferior_spawn_id and
906 $gdb_spawn_id, respectively. Adjust all callers.
908 2015-07-29 Pedro Alves <palves@redhat.com>
910 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
911 of gdb_test_sequence.
913 2015-07-29 Pedro Alves <palves@redhat.com>
915 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
916 (saw_spurious_output): Expect inferior output from
917 $inferior_spawn_id. Use gdb_test_stdio.
919 2015-07-29 Pedro Alves <palves@redhat.com>
921 * gdb.base/dprintf.exp: Use standard_testfile. Change
922 prepare_for_testing call.
923 (srcfile): Don't set.
924 (restart): New procedure.
925 (test_dprintf): New procecure, use to continue over dprintfs.
926 (test_call, test_agent): New procedures, tests moved here.
927 Restart gdb and recreate dprintfs. Adjust expected output.
929 2015-07-29 Pedro Alves <palves@redhat.com>
931 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
933 2015-07-29 Pedro Alves <palves@redhat.com>
935 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
937 2015-07-29 Pedro Alves <palves@redhat.com>
939 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
942 2015-07-29 Pedro Alves <palves@redhat.com>
944 * lib/gdb.exp (gdb_test_stdio): New procedure.
946 2015-07-29 Pedro Alves <palves@redhat.com>
948 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
950 2015-07-29 Pedro Alves <palves@redhat.com>
952 * gdb.base/call-signal-resume.exp: Remove check for
953 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
954 * gdb.base/unwindonsignal.exp: Likewise.
955 * gdb.base/call-signals.c (gen_signal): Remove printf call.
956 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
958 2015-07-29 Pedro Alves <palves@redhat.com>
960 * gdb.base/siginfo-addr.c (pass): New function.
961 (handler): Call it iff si_addr is correct.
962 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
963 Set a breakpoint at "pass" and continue to it.
965 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
967 * gdb.python/py-objfile.exp: Make some tests have unique names.
968 * gdb.python/py-pp-registration.exp: Likewise.
970 2015-07-28 Pedro Alves <palves@redhat.com>
972 * gdb.server/server-exec-info.exp: Issue a "disconnect".
974 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
976 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
978 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
980 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
982 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
984 * gdb.base/gdb-sigterm-2.exp: New test.
986 2015-07-25 Doug Evans <xdje42@gmail.com>
989 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
990 (workers/%.worker, build-perf): New rule.
991 (GDB_PERFTEST_MODE): New variable.
992 (check-perf): Use it.
993 (clean): Clean up gdb.perf parallel build subdirs.
994 * lib/build-piece.exp: New file.
995 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
996 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
998 (standard_temp_file): Ditto.
999 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1002 2015-07-24 Doug Evans <dje@google.com>
1004 * gdb.perf/lib/perftest/utils.py: New file.
1005 * gdb.perf/gm-hello.cc: New file.
1006 * gdb.perf/gm-pervasive-typedef.cc: New file.
1007 * gdb.perf/gm-pervasive-typedef.h: New file.
1008 * gdb.perf/gm-std.cc: New file.
1009 * gdb.perf/gm-std.h: New file.
1010 * gdb.perf/gm-use-cerr.cc: New file.
1011 * gdb.perf/gm-utils.h: New file.
1012 * gdb.perf/gmonster-null-lookup.py: New file.
1013 * gdb.perf/gmonster-pervasive-typedef.py: New file.
1014 * gdb.perf/gmonster-print-cerr.py: New file.
1015 * gdb.perf/gmonster-ptype-string.py: New file.
1016 * gdb.perf/gmonster-runto-main.py: New file.
1017 * gdb.perf/gmonster-select-file.py: New file.
1018 * gdb.perf/gmonster1-null-lookup.exp: New file.
1019 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
1020 * gdb.perf/gmonster1-print-cerr.exp: New file.
1021 * gdb.perf/gmonster1-ptype-string.exp: New file.
1022 * gdb.perf/gmonster1-runto-main.exp: New file.
1023 * gdb.perf/gmonster1-select-file.exp: New file.
1024 * gdb.perf/gmonster1.cc: New file.
1025 * gdb.perf/gmonster1.exp: New file.
1026 * gdb.perf/gmonster2-null-lookup.exp: New file.
1027 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
1028 * gdb.perf/gmonster2-print-cerr.exp: New file.
1029 * gdb.perf/gmonster2-ptype-string.exp: New file.
1030 * gdb.perf/gmonster2-runto-main.exp: New file.
1031 * gdb.perf/gmonster2-select-file.exp: New file.
1032 * gdb.perf/gmonster2.cc: New file.
1033 * gdb.perf/gmonster2.exp: New file.
1035 2015-07-24 Doug Evans <dje@google.com>
1037 * gdb.perf/README: New file.
1038 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
1039 * lib/gen-perf-test.exp: New file.
1041 2015-07-24 Doug Evans <dje@google.com>
1043 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
1044 (PerfTest::startup): New function.
1045 (PerfTest::run): Return result of calling body.
1046 (PerfTest::assemble): Rewrite.
1047 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
1048 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
1049 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
1050 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
1051 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
1053 2015-07-24 Doug Evans <dje@google.com>
1055 * lib/gdb.exp (clean_restart): Make executable optional.
1057 2015-07-24 Doug Evans <dje@google.com>
1059 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
1060 compiler_info references.
1061 * gdb.cp/temargs.exp: Ditto.
1062 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
1063 (get_compiler_info): Early exit if already computed. Set compiler_info
1064 to "unknown" if there was a problem.
1065 (test_compiler_info): Add function comment. Call get_compiler_info.
1067 2015-07-24 Doug Evans <dje@google.com>
1069 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
1070 (workers/%.worker, build-perf): New rule.
1071 (GDB_PERFTEST_MODE): New variable.
1072 (check-perf): Use it.
1073 (clean): Clean up gdb.perf parallel build subdirs.
1074 * lib/build-piece.exp: New file.
1075 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
1076 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
1078 (standard_temp_file): Ditto.
1079 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1082 2015-07-24 Doug Evans <dje@google.com>
1084 * lib/future.exp (gdb_default_target_compile): New option
1086 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
1089 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
1091 * gdb.base/catch-syscall.exp: Call gdb_exit before
1094 2015-07-24 Pedro Alves <palves@redhat.com>
1096 * gdb.python/py-events.exp: Accept output between the stop event
1098 * gdb.python/py-evsignal.exp: Likewise.
1099 * gdb.python/py-evthreads.exp: Likewise.
1101 2015-07-24 Pedro Alves <palves@redhat.com>
1104 * gdb.threads/non-ldr-exit.c: New file.
1105 * gdb.threads/non-ldr-exit.exp: New file.
1107 2015-07-24 Yao Qi <yao.qi@linaro.org>
1109 * gdb.server/ext-wrapper.exp: Test --wrapper option when
1112 2015-07-24 Yao Qi <yao.qi@linaro.org>
1114 * gdb.server/ext-restart.exp: New file.
1116 2015-07-24 Yao Qi <yao.qi@linaro.org>
1118 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
1120 * gdb.server/ext-wrapper.exp: New file.
1122 2015-07-23 Doug Evans <dje@google.com>
1124 * gdb.dwarf2/dw2-dummy-cu.S: New file.
1125 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
1127 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
1129 * gdb.ada/var_arr_typedef.exp: New testcase.
1130 * gdb.ada/var_arr_typedef/pack.adb: New file.
1131 * gdb.ada/var_arr_typedef/pack.ads: New file.
1132 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
1134 2015-07-20 Joel Brobecker <brobecker@adacore.com>
1136 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
1138 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1140 * gdb.arch/i386-biarch-core.exp: Replace istarget
1141 by "complete set gnutarget". Remove expectation for the "core-file"
1144 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1146 Revert the previous commit:
1147 Tests for validate symbol file using build-id.
1149 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
1151 Tests for validate symbol file using build-id.
1152 * gdb.base/solib-mismatch-lib.c: New file.
1153 * gdb.base/solib-mismatch-libmod.c: New file.
1154 * gdb.base/solib-mismatch.c: New file.
1155 * gdb.base/solib-mismatch.exp: New file.
1157 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
1159 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
1161 * gdb.base/sigbpt.exp (stepi_out): Likewise.
1162 * gdb.base/siginfo.exp: Likewise.
1163 * gdb.base/sigstep.exp (advance, advancei): Likewise.
1165 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
1167 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
1169 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
1171 * gdb.trace/range-stepping.exp: Check that the target supports
1174 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1176 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
1178 2015-07-14 Pedro Alves <palves@redhat.com>
1180 * gdb.base/killed-outside.exp: New file.
1181 * gdb.base/killed-outside.c: New file.
1183 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1185 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
1187 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
1189 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
1191 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
1192 infcall tests instead of setting up for KFAIL.
1194 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
1196 * gdb.btrace/record_goto-step.exp: New.
1198 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1201 * gdb.compile/compile.c (struct struct_type): Add volatile to
1203 * gdb.compile/compile.exp
1204 (compile code struct_object.selffield = &struct_object): Skip further
1205 struct_object tests if this one xfails.
1207 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
1210 * gdb.trace/ax.exp: Add test.
1212 2015-07-07 Yao Qi <yao.qi@linaro.org>
1214 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
1215 instead of istarget "aarch64*-*-*".
1216 * gdb.arch/aarch64-fp.exp: Likewise.
1217 * gdb.base/float.exp: Likewise.
1218 * gdb.reverse/aarch64.exp: Likewise.
1219 * lib/gdb.exp (is_aarch64_target): New proc.
1221 2015-07-07 Yao Qi <yao.qi@linaro.org>
1223 * lib/gdb.exp (is_aarch32_target): New proc.
1224 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
1225 instead of "istarget "arm*-*-*"".
1226 * gdb.arch/arm-disp-step.exp: Likewise.
1227 * gdb.arch/thumb-bx-pc.exp: Likewise.
1228 * gdb.arch/thumb-prologue.exp: Likewise.
1229 * gdb.arch/thumb-singlestep.exp: Likewise.
1230 * gdb.base/disp-step-syscall.exp: Likewise.
1231 * gdb.base/float.exp: Likewise.
1233 2015-07-07 Yao Qi <yao.qi@linaro.org>
1235 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
1236 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
1238 2015-07-07 Yao Qi <yao.qi@linaro.org>
1240 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
1241 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
1243 * gdb.multi/multi-arch.exp: Likewise.
1245 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
1247 * gdb.python/py-lazy-string.exp: Add missing parentheses to
1250 2015-07-07 Yao Qi <yao.qi@linaro.org>
1252 * gdb.arch/thumb-singlestep.exp: Do one more single step.
1254 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
1256 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
1257 '[' and ']' characters.
1259 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
1261 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1263 2015-06-29 Pedro Alves <palves@redhat.com>
1266 * gdb.threads/hand-call-new-thread.c: New file.
1267 * gdb.threads/hand-call-new-thread.c: New file.
1269 2015-06-26 Keith Seitz <keiths@redhat.com>
1270 Doug Evans <dje@google.com>
1273 * gdb.cp/var-tag-2.cc: New file.
1274 * gdb.cp/var-tag-3.cc: New file.
1275 * gdb.cp/var-tag-4.cc: New file.
1276 * gdb.cp/var-tag.cc: New file.
1277 * gdb.cp/var-tag.exp: New file.
1279 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
1281 * gdb.base/history-duplicates.exp: New test.
1283 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
1285 * gdb.base/completion.exp: Test the completion of the "focus"
1288 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1290 * gdb.arch/amd64-prologue-skip.S: New file.
1291 * gdb.arch/amd64-prologue-skip.exp: New file.
1293 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
1295 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
1296 is_address_zero_readable check.
1298 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
1300 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
1301 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
1303 2015-06-24 Yao Qi <yao.qi@linaro.org>
1305 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
1308 2015-06-24 Yao Qi <yao.qi@linaro.org>
1310 * lib/gdb.exp (supports_get_siginfo_type): New proc.
1311 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
1312 * gdb.base/siginfo-thread.exp: Likewise.
1314 2015-06-22 Yao Qi <yao.qi@linaro.org>
1316 * boards/remote-gdbserver-on-localhost.exp: Add comments.
1318 2015-06-22 Yao Qi <yao.qi@linaro.org>
1320 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
1322 (skip_hw_watchpoint_tests): Likewise.
1324 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
1326 * gdb.base/gdbinit-history.exp: Test the interaction between
1327 setting GDBHISTSIZE and setting the history size via .gdbinit.
1329 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1332 * gdb.base/gdbhistsize-history.exp: New test.
1334 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1336 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
1338 * gdb.base/readline.exp: Likewise.
1340 2015-06-17 Yao Qi <yao.qi@linaro.org>
1342 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
1345 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1347 * gdb.base/gdbinit-history.exp: Add test case to check that
1348 an unlimited history file does not get truncated on exit.
1350 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1352 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
1353 (VECTOR): New macro. Use it...
1354 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
1355 ...for these typedefs.
1356 (int8, char1, int1, double1): New typedefs.
1357 (struct just_int2, struct two_int2): New structures.
1358 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
1359 (add_structvecs, add_singlevecs): New functions.
1360 (main): Call add_some_intvecs twice.
1361 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
1362 the compile and exit upon failure. Try compiling for the "native"
1363 architecture. Test inferior function calls with vector arguments
1364 and vector return value handling with "finish" and "return".
1366 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
1368 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
1369 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
1371 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
1373 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1375 PR breakpoints/16465
1376 * gdb.mi/mi-dprintf-pending.c: New file.
1377 * gdb.mi/mi-dprintf-pending.exp: New test.
1378 * gdb.mi/mi-dprintf-pendshr.c: New file.
1380 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1381 Mircea Gherzan <mircea.gherzan@intel.com>
1383 * gdb.arch/i386-mpx-map.c: New file.
1384 * gdb.arch/i386-mpx-map.exp: New File.
1386 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1388 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
1389 * gdb.arch/i386-mpx.exp: Indentation fixed.
1391 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1393 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
1394 function and improved indentation.
1395 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
1396 gdb_test_multiple. Added additional tests to skip the test.
1398 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1400 * gdb.arch/i386-avx512.c: Change path in include file.
1401 * gdb.arch/i386-avx512.exp: Change include dir path
1403 * gdb.arch/i386-mpx.c: Change path in include file.
1404 * gdb.arch/i386-mpx.exp: Change include dir path compilation
1407 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1409 * gdb.compile/compile-print.exp (compile print *vararray@3)
1410 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
1412 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1414 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
1415 (do not keep jit in memory): ... this.
1416 (expect 5): Change it to ...
1417 (expect no 5): ... this.
1419 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
1422 * gdb.mi/mi-detach.exp: New file.
1424 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1427 * gdb.arch/amd64-tailcall-self.S: New file.
1428 * gdb.arch/amd64-tailcall-self.c: New file.
1429 * gdb.arch/amd64-tailcall-self.exp: New file.
1431 2015-05-28 Don Breazeal <donb@codesourcery.com>
1433 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
1434 tests for remote targets by checking is_target_gdbserver.
1436 2015-05-27 Doug Evans <dje@google.com>
1438 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
1439 * gdb.dwarf2/opaque-type-lookup.c: New file.
1440 * gdb.dwarf2/opaque-type-lookup.exp: New file.
1442 2015-05-26 Doug Evans <dje@google.com>
1444 * gdb.cp/iostream.cc: New file.
1445 * gdb.cp/iostream.exp: New file.
1447 2015-05-26 Doug Evans <dje@google.com>
1449 * gdb.dwarf2/dw2-op-call.exp: Update.
1450 * gdb.dwarf2/dw4-sig-types.exp: Update.
1451 * gdb.dwarf2/implptr.exp: Update.
1452 * gdb.mi/mi-cmd-param-changed.exp: Update.
1454 2015-05-26 Doug Evans <dje@google.com>
1456 * gdb.python/py-lazy-string.c: New file.
1457 * gdb.python/py-lazy-string.exp: New file.
1458 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
1459 (main): Update. Add estring3.
1460 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
1461 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
1463 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
1464 Yao Qi <yao.qi@linaro.org>
1466 * gdb.reverse/aarch64.c: New.
1467 * gdb.reverse/aarch64.exp: New.
1469 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
1471 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
1472 (supports_reverse): Likewise.
1474 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
1476 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1477 Use with_test_prefix.
1479 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
1481 * gdb.base/completion.exp: Add test for completion of layout
1484 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
1486 * lib/gdb.exp (skip_tui_tests): New proc.
1487 * gdb.base/tui-layout.exp: Check skip_tui_tests.
1489 2015-05-19 Pedro Alves <palves@redhat.com>
1491 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1492 Save the whole env array instead of just HOME. Unset HISTSIZE in
1493 the environment while testing. Restore whole environment
1496 2015-05-16 Doug Evans <xdje42@gmail.com>
1498 * gdb.guile/scm-ports.c: New file.
1499 * gdb.guile/scm-ports.exp: Add memory port tests.
1501 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1503 * gdb.compile/compile-print.c: New file.
1504 * gdb.compile/compile-print.exp: New file.
1506 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1508 * gdb.compile/compile-ops.exp: Cast param to void.
1509 * gdb.compile/compile.exp: Complete type for _gdb_expr.
1510 (compile code struct_object.selffield = &struct_object): Add xfail.
1512 2015-05-15 Joel Brobecker <brobecker@adacore.com>
1514 * gdb.ada/arr_enum_with_gap: New testcase.
1516 2015-05-15 Joel Brobecker <brobecker@adacore.com>
1518 * gdb.ada/byte_packed_arr: New testcase.
1520 2015-05-15 Joel Brobecker <brobecker@adacore.com>
1522 * gdb.ada/pckd_neg: New testcase.
1524 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
1527 * gdb.base/gdbinit-history.exp: New test.
1528 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
1529 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
1531 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
1533 * gdb.python/py-xmethods.cc: Enhance test case.
1534 * gdb.python/py-xmethods.exp: New tests.
1535 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
1537 (B_indexoper): Likewise.
1538 (global_dm_list) : Add new xmethod worker functions.
1540 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
1542 * gdb.base/coredump-filter.exp: Correctly unset
1543 "coredump_var_addr" array.
1545 2015-05-08 Pedro Alves <palves@redhat.com>
1547 * gdb.server/non-existing-program.exp: Unset spawn_id.
1549 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
1552 * gdb.python/py-xmethods.exp: Add tests.
1554 2015-05-08 Yao Qi <yao.qi@linaro.org>
1557 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
1558 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
1559 function set_coredump_filter, and remove remote_exec call.
1560 Remove argument ipid. Callers update.
1561 (top level): Don't get inferior's PID.
1563 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
1565 * gdb.base/watch_thread_num.exp: Skip test on targets without
1568 2015-05-06 Pedro Alves <palves@redhat.com>
1571 * gdb.server/non-existing-program.exp: New file.
1573 2015-05-05 Joel Brobecker <brobecker@adacore.com>
1575 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
1577 2015-05-05 Joel Brobecker <brobecker@adacore.com>
1579 * gdb.ada/out_of_line_in_inlined: New testcase.
1581 2015-05-05 Joel Brobecker <brobecker@adacore.com>
1583 * gdb.ada/var_rec_arr: New testcase.
1585 2015-04-30 Yao Qi <yao.qi@linaro.org>
1587 * gdb.base/break-idempotent.exp: If
1588 skip_hw_watchpoint_multi_tests returns true, skip the tests
1589 on "rwatch" and "awatch".
1591 2015-04-30 Yao Qi <yao.qi@linaro.org>
1593 * gdb.base/relativedebug.exp: Invoke gdb command
1594 "info sharedlibrary", and if libc.so doesn't have debug info,
1597 2015-04-29 Doug Evans <dje@google.com>
1599 * gdb.python/py-xmethods.exp: Add ptype tests.
1600 * gdb.python/py-xmethods.py (E_method_char_worker): Add
1601 get_result_type method.
1603 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
1605 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
1606 the target does not support hardware watchpoints.
1608 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
1610 * gdb.base/break-always.exp: Abort testing if writing to memory
1613 2015-04-28 Doug Evans <dje@google.com>
1615 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
1616 * gdb.python/py-pp-registration.exp: ... here. New file.
1617 * gdb.python/py-pp-registration.c: New file.
1618 * gdb.python/py-pp-registration.py: New file.
1620 2015-04-28 Doug Evans <dje@google.com>
1622 * gdb.python/py-bad-printers.c: New file.
1623 * gdb.python/py-bad-printers.py: New file.
1624 * gdb.python/py-bad-printers.exp: New file.
1626 2015-04-28 Sasha Smundak <asmundak@google.com>
1628 * gdb.python/py-type.exp: New test.
1630 2015-04-28 Andy Wingo <wingo@igalia.com>
1632 * gdb.python/py-parameter.exp:
1633 * gdb.guile/scm-parameter.exp: Escape the path that we are
1634 matching against, as it might contain characters that are special
1635 to regular expressions.
1637 2015-04-27 Joel Brobecker <brobecker@adacore.com>
1639 * gdb.ada/rec_comp: New testcase.
1641 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
1643 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
1646 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
1648 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
1649 new tests for verilog output.
1651 2015-04-24 Yao Qi <yao.qi@linaro.org>
1653 * boards/remote-gdbserver-on-localhost.exp: New file.
1655 2015-04-23 Pedro Alves <palves@redhat.com>
1657 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
1658 $inferior_spawn_id instead of $inferior_spawn_id directly. On
1659 "end of file", remove $inferior_spawn_id from the indirect list.
1661 2015-04-23 Pedro Alves <palves@redhat.com>
1663 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
1665 2015-04-23 Pedro Alves <palves@redhat.com>
1667 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
1668 on $any_spawn_id instead of only on $gdb_spawn_id.
1670 2015-04-21 Pierre Muller <muller@sourceware.org>
1673 * lib/pascal.exp (gpc_compile): Add new option "class".
1674 (fpc_compile): Likewise.
1675 * gdb.pascal/case-insensitive-symbols.pas: New file.
1676 * gdb.pascal/case-insensitive-symbols.exp: New file.
1678 2015-04-20 Gary Benson <gbenson@redhat.com>
1680 * gdb.base/attach.exp: Fix three extended remote failures.
1682 2015-04-17 Gary Benson <gbenson@redhat.com>
1684 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
1685 the main executable over the remote protocol.
1687 2015-04-16 Pedro Alves <palves@redhat.com>
1689 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
1690 a new gdbserver if gdbserver_reconnect_p is set.
1692 2015-04-16 Pedro Alves <palves@redhat.com>
1694 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
1695 is set, don't exit gdbserver.
1697 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1699 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
1700 appropriate .insn, such that an older assembler can be used.
1701 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
1702 the z/Architecture instruction set on 31-bit targets as well.
1704 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1706 * gdb.go/handcall.exp: Remove all logic related to the first
1707 breakpoint and rely on go_runto_main instead.
1708 * gdb.go/strings.exp: Likewise.
1709 * gdb.go/unsafe.exp: Likewise.
1710 * gdb.go/hello.exp: Likewise. Also rename the remaining
1711 breakpoint marker to "breakpoint 1".
1712 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
1713 * gdb.go/strings.go: Likewise.
1714 * gdb.go/unsafe.go: Likewise.
1715 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
1716 "set breakpoint 2 here" and rename the remaining breakpoint marker
1719 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
1721 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
1722 if itertools.imap is not present.
1723 * gdb.python/py-objfile.exp: Add parentheses.
1724 * gdb.python/py-type.exp: Same.
1725 * gdb.python/py-unwind-maint.py: Same.
1727 2015-04-15 Yao Qi <yao.qi@linaro.org>
1729 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
1730 of ":$ptr_size" and set its form explicitly.
1732 2015-04-15 Pedro Alves <palves@redhat.com>
1733 Yao Qi <yao.qi@linaro.org>
1735 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
1736 timeout by factor of 4.
1737 (test_regular_watch): Likewise.
1738 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
1739 * gdb.reverse/sigall-reverse.exp: Likewise.
1740 * gdb.reverse/until-precsave.exp: Likewise.
1741 * lib/gdb.exp (with_timeout_factor): New proc.
1742 (gdb_expect): Move some code to ...
1743 (get_largest_timeout): ... here. New procedure.
1745 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
1747 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
1749 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
1751 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
1752 to write to the .text section.
1754 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
1756 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
1757 Handle the case of targets that do not provide PID information.
1759 2015-04-13 Yao Qi <yao.qi@linaro.org>
1761 * lib/gdbserver-support.exp (gdb_exit): Catch exception
1762 and use expect instead of gdb_expect.
1764 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
1766 * gdb.base/coredump-filter.exp: Rename variable "addr" to
1767 "coredump_var_addr" to avoid naming conflict with other testcases.
1769 2015-04-10 Pedro Alves <palves@redhat.com>
1771 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
1772 gdb_test_sequence and gdb_assert.
1774 2015-04-10 Pedro Alves <palves@redhat.com>
1776 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
1777 test messages that don't include the breakpoint address.
1779 2015-04-10 Yao Qi <yao.qi@linaro.org>
1781 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
1782 false for some offset and width combinations which aren't
1783 supported by linux kernel.
1785 2015-04-10 Pedro Alves <palves@redhat.com>
1787 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
1788 procedure, factored out from ...
1789 (top level): ... here. Add "set displaced-stepping" testing axis.
1790 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
1791 parameter "displaced". Use it.
1792 (top level): Use foreach and add "set displaced-stepping" testing
1795 2015-04-10 Pedro Alves <palves@redhat.com>
1797 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
1799 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
1800 both the address of the instruction that triggers the watchpoint
1801 and the address of the instruction immediately after, and use
1802 those addresses for the test. Fix comment.
1804 2015-04-10 Pedro Alves <palves@redhat.com>
1806 * gdb.base/sigstep.exp (breakpoint_to_handler)
1807 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
1808 Test "backtrace" in handler.
1809 (breakpoint_over_handler): New parameter 'displaced'. Use it.
1810 (top level): Add new "displaced" test axis to
1811 breakpoint_to_handler, breakpoint_to_handler_entry and
1812 breakpoint_over_handler.
1814 2015-04-10 Pedro Alves <palves@redhat.com>
1817 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
1819 2015-04-10 Yao Qi <yao.qi@linaro.org>
1821 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
1822 (test_add_rn_pc): New function.
1823 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
1824 (top level): Invoke test_add_rn_pc.
1826 2015-04-10 Pedro Alves <palves@redhat.com>
1829 * gdb.base/step-over-no-symbols.exp: New file.
1831 2015-04-09 Andy Wingo <wingo@igalia.com>
1833 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
1834 after the Python tests.
1836 2015-04-08 Keith Seitz <keiths@redhat.com>
1839 * gdb.python/py-completion.exp: New tests for completion.
1840 * gdb.python/py-completion.py (CompleteLimit1): New class.
1841 (CompleteLimit2): Likewise.
1842 (CompleteLimit3): Likewise.
1843 (CompleteLimit4): Likewise.
1844 (CompleteLimit5): Likewise.
1845 (CompleteLimit6): Likewise.
1846 (CompleteLimit7): Likewise.
1848 2015-04-08 Pedro Alves <palves@redhat.com>
1852 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
1854 (main): Install it as SIGUSR1 handler.
1855 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
1856 parameter. Always use "setup" as prefix. Toggle "set
1857 displaced-stepping" off/on depending on global. Don't switch to
1859 (top level): Add displaced stepping "off/on" test axis. Update
1860 "setup" calls. Wrap each subtest with with_test_prefix. Test
1861 continuing with a queued signal in each thread.
1863 2015-04-08 Pedro Alves <palves@redhat.com>
1865 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
1866 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
1867 gdb_breakpoint instead of gdb_test that doesn't expect anything.
1868 Return early if running to main fails.
1869 * gdb.trace/while-stepping.exp: Likewise.
1871 2015-04-07 Pedro Alves <palves@redhat.com>
1873 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
1874 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
1875 interact with inferior program.
1877 2015-04-07 Pedro Alves <palves@redhat.com>
1879 * lib/gdb.exp (inferior_spawn_id): New global.
1880 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
1881 spawn id after processing the user code.
1882 (default_gdb_start): Set inferior_spawn_id.
1883 (send_inferior): New procedure.
1884 * lib/gdbserver-support.exp (gdbserver_start): Set
1886 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
1888 2015-04-07 Pedro Alves <palves@redhat.com>
1890 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
1891 * lib/gdbserver-support.exp (gdbserver_start): Make
1892 $server_spawn_id global.
1893 (gdbserver_start): Don't wait for gdbserver's spawn id with
1895 (close_gdbserver): New procedure.
1896 (gdb_exit): Rename the default version and reimplement.
1898 2015-04-07 Pedro Alves <palves@redhat.com>
1900 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
1901 append the substituted item, not the original item.
1903 2015-04-07 Pedro Alves <palves@redhat.com>
1905 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
1908 2015-04-07 Pedro Alves <palves@redhat.com>
1910 * gdb.base/interrupt.exp: Don't handle the case of the inferior
1911 output appearing once only.
1913 2015-04-07 Pedro Alves <palves@redhat.com>
1915 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
1916 that doesn't expect anything. Return early if running to main
1919 2015-04-07 Yao Qi <yao.qi@linaro.org>
1921 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
1922 (child_function): Call alarm.
1923 (main): Move call to alarm into the loop.
1924 * gdb.threads/non-stop-fair-events.exp: Build program with
1927 2015-04-06 Doug Evans <xdje42@gmail.com>
1929 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
1930 Fix dest parameter to board_info.
1931 (fpc_compile): Ditto.
1932 (gdb_compile_pascal): Rename dest arg to destfile.
1934 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
1936 * gdb.ada/funcall_ref.exp: New file.
1937 * gdb.ada/funcall_ref/foo.adb: New file.
1939 2015-04-02 Yao Qi <yao.qi@linaro.org>
1941 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
1944 2015-04-02 Gary Benson <gbenson@redhat.com>
1946 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
1948 2015-04-01 Sasha Smundak <asmundak@google.com>
1950 * gdb.python/py-unwind-maint.c: New file.
1951 * gdb.python/py-unwind-maint.exp: New test.
1952 * gdb.python/py-unwind-maint.py: New file.
1953 * gdb.python/py-unwind.c: New file.
1954 * gdb.python/py-unwind.exp: New test.
1955 * gdb.python/py-unwind.py: New test.
1957 2015-04-01 Pedro Alves <palves@redhat.com>
1959 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
1960 to fail instead of non-existent $test.
1962 2015-04-01 Pedro Alves <palves@redhat.com>
1964 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
1965 GDBFLAGS if not empty.
1967 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
1969 * gdb.ada/complete.exp: Remove "multi_line".
1970 * gdb.ada/info_exc.exp: Remove "multi_line".
1971 * gdb.ada/packed_tagged.exp: Remove "multi_line".
1972 * gdb.ada/ptype_field.exp: Remove "multi_line".
1973 * gdb.ada/sym_print_name.exp: Remove "multi_line".
1974 * gdb.ada/tagged.exp: Remove "multi_line".
1975 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
1977 * gdb.btrace/delta.exp: Likewise.
1978 * gdb.btrace/exception.exp: Likewise.
1979 * gdb.btrace/function_call_history.exp: Likewise.
1980 * gdb.btrace/instruction_history.exp: Likewise.
1981 * gdb.btrace/nohist.exp: Likewise.
1982 * gdb.btrace/record_goto.exp: Likewise.
1983 * gdb.btrace/segv.exp: Likewise.
1984 * gdb.btrace/stepi.exp: Likewise.
1985 * gdb.btrace/tailcall.exp: Likewise.
1986 * gdb.btrace/unknown_functions.exp: Likewise.
1987 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
1988 * lib/gdb.exp: Add the "multi_line" helper.
1990 2015-04-01 Pedro Alves <palves@redhat.com>
1992 * gdb.threads/tid-reuse.c: New file.
1993 * gdb.threads/tid-reuse.exp: New file.
1995 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
1998 * gdb.base/coredump-filter.c: New file.
1999 * gdb.base/coredump-filter.exp: Likewise.
2001 2015-03-27 Petr Machata <pmachata@redhat.com>
2003 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
2004 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
2005 (Dwarf::assemble): Initialize them.
2006 (Dwarf::lines): New function.
2008 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
2010 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
2011 SYMBOL_PREFIX for x86_64-*-cygwin.
2013 2015-03-26 Andy Wingo <wingo@igalia.com>
2016 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
2017 const_value but not a location.
2018 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
2019 location defined in non-main CUs are visible.
2021 2015-03-26 Yao Qi <yao.qi@linaro.org>
2024 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
2025 Add a line number entry for the same line.
2026 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
2027 Add a line number entry for the same line.
2029 2015-03-26 Yao Qi <yao.qi@linaro.org>
2031 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
2033 (func): Likewise. Add .Lfunc_1 label.
2035 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
2040 2015-03-26 Yao Qi <yao.qi@linaro.org>
2042 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
2043 Call gdb_compile instead to compile each .s files without debug
2046 2015-03-26 Yao Qi <yao.qi@linaro.org>
2048 * gdb.base/savedregs.exp (process_saved_regs): Make
2049 "Saved registers:" optional in the pattern.
2051 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
2053 * gdb.btrace/next.exp: Merged into step.exp.
2054 * gdb.btrace/finish.exp: Merged into step.exp.
2055 * gdb.btrace/nexti.exp: Merged into stepi.exp.
2056 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
2057 "record goto" and checking the exact replay position.
2058 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
2059 check for "Recording format" in "info record" output.
2060 * gdb.btrace/record_goto.exp: Choose test file based on target.
2061 * gdb.btrace/x86-record_goto.S: Renamed into ...
2062 * gdb.btrace/x86_64-record_goto.S: ... this.
2063 * gdb.btrace/i686-record_goto.S: New.
2064 * gdb.btrace/x86-tailcall.S: Renamed into ...
2065 * gdb.btrace/x86_64-tailcall.S: ... this.
2066 * gdb.btrace/i686-tailcall.S: New.
2067 * gdb.btrace/x86-tailcall.c: Renamed into ...
2068 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
2069 separate statements. Update test.
2070 * gdb.btrace/delta.exp: Use record_goto.c as test file.
2071 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
2072 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
2073 * gdb.btrace/tailcall.exp: Choose test file based on target.
2074 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
2076 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
2078 * gdb.btrace/exception.exp: Increase BTS buffer size.
2080 2015-03-24 Pedro Alves <palves@redhat.com>
2082 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
2084 2015-03-24 Pedro Alves <palves@redhat.com>
2086 * gdb.threads/schedlock.exp (test_step): No longer expect that
2087 "set scheduler-locking step" with "next" over a function call runs
2090 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2092 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
2094 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2096 PR breakpoints/16466
2097 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
2098 * gdb.mi/mi-pending.c (thread_func): New function.
2099 (int main): Add threading support required.
2100 * gdb.mi/mi-pending.exp: Add tests for this issue.
2101 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
2102 (pendfunc2): Remove stdio dependency.
2103 * gdb.mi/mi-pendshr2.c: New file.
2105 2015-03-23 Keith Seitz <keiths@redhat.com>
2107 * gdb.linespec/keywords.c: New file.
2108 * gdb.linespec/keywords.exp: New file.
2110 2015-03-23 Keith Seitz <keiths@redhat.com>
2113 * gdb.dwarf2/staticvirtual.exp: New test.
2115 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2117 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
2118 * README: Remove HP-UX and gdb.hp.
2120 * configure: Regenerate.
2121 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
2122 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
2123 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
2124 gdb.hp/gdb.defects/Makefile.
2125 * gdb.hp/Makefile.in: File deleted.
2126 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
2127 * gdb.hp/gdb.aCC/optimize.c: File deleted.
2128 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
2129 * gdb.hp/gdb.aCC/run.c: File deleted.
2130 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
2131 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
2132 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
2133 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
2134 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
2135 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
2136 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
2137 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
2138 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
2139 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
2140 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
2141 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
2142 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
2143 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
2144 * gdb.hp/gdb.base-hp/reg.s: File deleted.
2145 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
2146 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
2147 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
2148 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
2149 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
2150 * gdb.hp/gdb.compat/Makefile.in: File deleted.
2151 * gdb.hp/gdb.compat/average.c: File deleted.
2152 * gdb.hp/gdb.compat/sum.c: File deleted.
2153 * gdb.hp/gdb.compat/xdb.c: File deleted.
2154 * gdb.hp/gdb.compat/xdb0.c: File deleted.
2155 * gdb.hp/gdb.compat/xdb0.h: File deleted.
2156 * gdb.hp/gdb.compat/xdb1.c: File deleted.
2157 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
2158 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
2159 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
2160 * gdb.hp/gdb.defects/Makefile.in: File deleted.
2161 * gdb.hp/gdb.defects/bs14602.c: File deleted.
2162 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
2163 * gdb.hp/gdb.defects/solib-d.c: File deleted.
2164 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
2165 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
2166 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
2167 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
2168 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
2169 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
2170 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
2171 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
2172 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
2173 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
2174 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
2175 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
2176 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
2177 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
2178 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
2179 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
2180 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
2181 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
2182 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
2183 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
2184 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
2185 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
2186 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
2187 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
2188 * gdb.hp/tools/odump: File deleted.
2190 2015-03-19 Pedro Alves <palves@redhat.com>
2192 * gdb.threads/continue-pending-status.exp (saw_thread_2)
2193 (saw_thread_3): New globals.
2194 (top level): Increment them when an event for the corresponding
2196 (no thread starvation): New test.
2198 2015-03-19 Pedro Alves <palves@redhat.com>
2200 * gdb.threads/continue-pending-status.c: New file.
2201 * gdb.threads/continue-pending-status.exp: New file.
2203 2015-03-18 Pedro Alves <palves@redhat.com>
2205 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
2206 Use gdb_is_target_remote instead of is_remote. Use
2207 gdb_test_multiple instead of gdb_expect. Exit early if
2208 gdb_test_multiple hits its internal matches. Tighten stepi tests
2209 expected output. Fail on exit with any signal, instead of just
2212 2015-03-18 Yao Qi <yao.qi@linaro.org>
2215 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
2217 * gdb.base/catch-syscall.exp: Don't skip it on
2218 aarch64*-*-linux* target. Remove elements in all_syscalls.
2219 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
2221 (setup_all_syscalls): New proc.
2223 2015-03-16 Yao Qi <yao.qi@linaro.org>
2225 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
2226 (top level): Skip tests if valid_addr_p returns false for
2229 2015-03-11 Andy Wingo <wingo@igalia.com>
2231 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
2233 2015-03-11 Yao Qi <yao.qi@linaro.org>
2235 * gdb.base/catch-syscall.exp: Fix typo in comments.
2237 2015-03-11 Yao Qi <yao.qi@linaro.org>
2239 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
2241 2015-03-09 Pedro Alves <palves@redhat.com>
2243 * dg-extract-results.py: Delete.
2245 2015-03-09 Pedro Alves <palves@redhat.com>
2247 Merge dg-extract-results.sh from GCC upstream (r218843).
2249 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
2250 * dg-extract-results.sh: Use --text with grep to avoid issues with
2251 binary files. Fall back to cat -v, if that doesn't work.
2253 2015-03-05 Pedro Alves <palves@redhat.com>
2255 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
2257 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
2259 * lib/mi-support.exp (mi_expect_interrupt): Accept
2260 alternative event for when in all-stop mode.
2262 2015-03-04 Pedro Alves <palves@redhat.com>
2264 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
2266 2015-03-04 Mark Kettenis <kettenis@gnu.org>
2268 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
2270 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2272 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
2273 regexps for GDB's current line display, accept a hex address
2274 preceding the line number.
2276 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2278 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
2279 the 'arch1' variable for "s390*-linux*" targets.
2281 2015-03-04 Pedro Alves <palves@redhat.com>
2283 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
2284 (main): Pass missing retval argument to pthread_join call.
2286 2015-03-02 Pedro Alves <palves@redhat.com>
2288 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
2289 (top level): Call do_test with non-stop as well.
2291 2015-03-02 Pedro Alves <palves@redhat.com>
2293 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
2296 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
2298 * gdb.arch/s390-vregs.exp: New test.
2299 * gdb.arch/s390-vregs.S: New file.
2301 2015-02-27 Pedro Alves <palves@redhat.com>
2303 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
2304 call to catch_command_errors.
2305 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
2306 catch_command_errors.
2308 2015-02-27 Pedro Alves <palves@redhat.com>
2310 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
2311 "true" for boolean result.
2312 * gdb.gdb/selftest.exp (test_with_self): Also accept full
2315 2015-02-27 Pedro Alves <palves@redhat.com>
2317 * lib/unbuffer_output.c: New file.
2318 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
2319 (main): Call gdb_unbuffer_output.
2321 2015-02-27 Yao Qi <yao.qi@linaro.org>
2323 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
2326 2015-02-26 Doug Evans <dje@google.com>
2328 * gdb.cp/class2.cc (Dbase, D): New classes.
2329 (main): New local delta.
2330 * gdb.cp/class2.exp: Test printing delta.
2331 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
2332 (dynbar): New global.
2333 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
2335 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2337 * gdb.compile/compile-ifunc.c: New file.
2338 * gdb.compile/compile-ifunc.exp: New file.
2340 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
2342 * gdb.base/structs.exp: Check for correct struct on finish.
2344 2015-02-26 Yao Qi <yao.qi@linaro.org>
2346 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
2349 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2351 * gdb.arch/cordic.ko.bz2: New file.
2352 * gdb.arch/cordic.ko.debug.bz2: New file.
2353 * gdb.arch/ppc64-symtab-cordic.exp: New file.
2355 2015-02-25 Yao Qi <yao.qi@linaro.org>
2357 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
2358 aarch64*-*-* target.
2360 2015-02-23 Pedro Alves <palves@redhat.com>
2362 * lib/gdb.exp (delete_breakpoints): Rewrite using
2365 2015-02-23 Pedro Alves <palves@redhat.com>
2367 * gdb.base/info-os.c: Include stdlib.h.
2369 2015-02-22 Doug Evans <xdje42@gmail.com>
2372 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
2373 is read after symbols have been re-read.
2374 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
2375 * gdb.ada/exec_changed/second.adb (Second): Ditto.
2377 2015-02-21 Doug Evans <dje@google.com>
2379 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
2381 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2384 * gdb.arch/i386-biarch-core.core.bz2: New file.
2385 * gdb.arch/i386-biarch-core.exp: New file.
2387 2015-02-21 Pedro Alves <palves@redhat.com>
2389 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
2392 2015-02-20 Pedro Alves <palves@redhat.com>
2394 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
2397 2015-02-20 Pedro Alves <palves@redhat.com>
2399 * gdb.threads/multi-create-ns-info-thr.exp: New file.
2401 2015-02-20 Pedro Alves <palves@redhat.com>
2403 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
2404 clean_restart before gdb_target_supports_trace.
2406 2015-02-20 Pedro Alves <palves@redhat.com>
2409 * gdb.threads/clone-thread_db.c: New file.
2410 * gdb.threads/clone-thread_db.exp: New file.
2412 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
2414 PR breakpoints/16812
2415 * gdb.base/catch-gdb-caused-signals.c: New file.
2416 * gdb.base/catch-gdb-caused-signals.exp: New file.
2418 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
2420 * configure: Regenerated.
2421 * configure.ac: Use GDB_AC_TRANSFORM.
2422 * aclocal.m4: sinclude ../transform.m4.
2424 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2426 * lib/dtrace.exp: New file.
2427 * gdb.base/dtrace-probe.exp: Likewise.
2428 * gdb.base/dtrace-probe.d: Likewise.
2429 * gdb.base/dtrace-probe.c: Likewise.
2430 * lib/pdtrace.in: Likewise.
2431 * configure.ac: Output variables with the transformed names of
2432 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
2433 * configure: Regenerated.
2435 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2437 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
2438 expected message when trying to access $_probe_* convenience
2439 variables while not on a probe.
2441 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2443 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
2445 2015-02-11 Pedro Alves <pedro@codesourcery.com>
2447 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
2448 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
2450 2015-02-10 Doug Evans <xdje42@gmail.com>
2452 * lib/gdb.exp (gdb_load): Always return a result.
2454 2015-02-10 Pedro Alves <palves@redhat.com>
2456 * gdb.threads/signal-sigtrap.c: New file.
2457 * gdb.threads/signal-sigtrap.exp: New file.
2459 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
2461 * gdb.trace/no-attach-trace.c: New file.
2462 * gdb.trace/no-attach-trace.exp: New file.
2464 2015-02-09 Mark Wielaard <mjw@redhat.com>
2466 * gdb.dwarf2/atomic.c: New file.
2467 * gdb.dwarf2/atomic-type.exp: Likewise.
2469 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2471 * gdb.btrace/buffer-size.exp: Update "info record" output.
2472 * gdb.btrace/delta.exp: Update "info record" output.
2473 * gdb.btrace/enable.exp: Update "info record" output.
2474 * gdb.btrace/finish.exp: Update "info record" output.
2475 * gdb.btrace/instruction_history.exp: Update "info record" output.
2476 * gdb.btrace/next.exp: Update "info record" output.
2477 * gdb.btrace/nexti.exp: Update "info record" output.
2478 * gdb.btrace/step.exp: Update "info record" output.
2479 * gdb.btrace/stepi.exp: Update "info record" output.
2480 * gdb.btrace/nohist.exp: Update "info record" output.
2482 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2484 * gdb.btrace/buffer-size: New.
2486 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2488 * gdb.btrace/delta.exp: Update "info record" output.
2489 * gdb.btrace/enable.exp: Update "info record" output.
2490 * gdb.btrace/finish.exp: Update "info record" output.
2491 * gdb.btrace/instruction_history.exp: Update "info record" output.
2492 * gdb.btrace/next.exp: Update "info record" output.
2493 * gdb.btrace/nexti.exp: Update "info record" output.
2494 * gdb.btrace/step.exp: Update "info record" output.
2495 * gdb.btrace/stepi.exp: Update "info record" output.
2496 * gdb.btrace/nohist.exp: Update "info record" output.
2498 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
2501 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
2503 2015-02-06 Pedro Alves <palves@redhat.com>
2505 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
2507 (seconds_left, again): New globals.
2508 (main): Wait seconds_left in a 1-second sleep loop instead of
2509 sleeping 180 seconds. If 'again' is set, reset the seconds
2511 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
2512 'again' in the inferior before detaching. Print the seconds left.
2513 (options): New global.
2514 (top level): Build program with -DTIMEOUT=$timeout.
2516 2015-02-06 Pedro Alves <palves@redhat.com>
2518 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
2519 determine how many seconds to pass to 'alarm'.
2520 * gdb.base/gdb-sigterm.exp (top level): Build program with
2522 (do_test): Return success/failure indication. Add more verbose
2523 logging. Don't fail if 200 single steps are seen. Instead, fail
2524 when the test times out.
2525 (passes): New global.
2526 (top level): Break the testing loop if testing fails on any
2527 iteration. Use gdb_assert.
2529 2015-02-04 Don Breazeal <donb@codesourcery.com>
2531 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
2532 and initialize them.
2533 (ipc_cleanup): New function.
2534 (main): Don't declare shmid, semid, and msqid. Add a call to
2535 atexit so that we call ipc_cleanup on exit.
2537 2015-02-04 Pedro Alves <palves@redhat.com>
2539 * boards/native-extended-gdbserver.exp: Remove any target variant
2540 specifications from the board name before clearing the isremote
2541 flag from board_info.
2543 2015-01-31 Doug Evans <xdje42@gmail.com>
2545 * gdb.base/maint.exp <maint print type argc>: Update expected output.
2547 2015-01-31 Gary Benson <gbenson@redhat.com>
2549 * gdb.base/completion.exp: Disable completion limiting for
2550 existing tests. Add new tests to check completion limiting.
2551 * gdb.linespec/ls-errs.exp: Disable completion limiting.
2553 2015-01-31 Doug Evans <xdje42@gmail.com>
2555 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
2557 2015-01-31 Doug Evans <xdje42@gmail.com>
2559 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
2560 entries. Duplicate file section script entries.
2561 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
2562 inlined entries. Add test for safe-path rejection.
2563 * gdb.python/py-section-script.c: Add duplicate inlined section script
2564 entries. Duplicate file section script entries.
2565 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
2566 inlined entries. Add test for safe-path rejection.
2568 2015-01-29 Joel Brobecker <brobecker@adacore.com>
2570 * gdb.ada/disc_arr_bound: New testcase.
2572 2015-01-29 Joel Brobecker <brobecker@adacore.com>
2574 * gdb.ada/mi_var_array: New testcase.
2576 2015-01-27 Doug Evans <dje@google.com>
2578 * gdb.python/py-objfile.exp: Add tests for objfile.username.
2579 Add test for objfile.filename, objfile.username after objfile
2582 2015-01-26 Joel Brobecker <brobecker@adacore.com>
2584 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
2585 the second test to print the name attribute of value
2586 returned by the call to gdb.lookup_type, and adjust
2587 the expected output accordingly.
2589 2015-01-25 Mark Wielaard <mjw@redhat.com>
2591 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
2592 * gdb.base/disp-step-fork.c: Include unistd.h.
2593 * gdb.base/siginfo-obj.c: Include stdio.h.
2594 * gdb.base/siginfo-thread.c: Likewise.
2595 * gdb.mi/non-stop.c: Include unistd.h.
2596 * gdb.mi/nsthrexec.c: Include stdio.h.
2597 * gdb.mi/pthreads.c: Include unistd.h.
2598 * gdb.modula2/unbounded1.c (main): Declare returns int.
2599 * gdb.reverse/consecutive-reverse.c: Likewise.
2600 * gdb.threads/create-fail.c: Include unistd.h.
2601 * gdb.threads/killed.c: Likewise.
2602 * gdb.threads/linux-dp.c: Likewise.
2603 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
2604 * gdb.threads/non-ldr-exc-2.c: Likewise.
2605 * gdb.threads/non-ldr-exc-3.c: Likewise.
2606 * gdb.threads/non-ldr-exc-4.c: Likewise.
2607 * gdb.threads/pthreads.c: Include unistd.h.
2608 (main): Declare returns int.
2609 * gdb.threads/tls-main.c (foo): New declaration.
2610 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
2612 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
2614 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
2615 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
2617 2015-01-15 Mark Wielaard <mjw@redhat.com>
2619 * gdb.base/noreturn-return.c: New file.
2620 * gdb.base/noreturn-return.exp: New file.
2621 * gdb.base/noreturn-finish.c: New file.
2622 * gdb.base/noreturn-finish.exp: New file.
2624 2015-01-23 Pedro Alves <palves@redhat.com>
2626 * gdb.threads/continue-pending-after-query.c: New file.
2627 * gdb.threads/continue-pending-after-query.exp: New file.
2629 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
2630 Simon Marchi <simon.marchi@ericsson.com>
2632 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
2633 * gdb.base/valgrind-db-attach.exp: Same.
2634 * gdb.base/valgrind-infcall.exp: Same.
2635 * lib/mi-support.exp (default_mi_gdb_start): Same.
2636 * lib/prompt.exp (default_prompt_gdb_start): Same.
2637 * lib/gdb.exp (default_gdb_spawn): Same.
2638 (gdb_interact): New.
2641 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2643 * gdb.compile/compile.exp (pointer to jit function): New test.
2645 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
2647 * lib/gdb.exp (supports_process_record): Return true for
2649 (supports_reverse): Likewise.
2651 2015-01-15 Don Breazeal <donb@codesourcery.com>
2653 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
2654 instead of checking whether the target board is remote and
2655 use spawn_wait_for_attach instead of exec/sleep.
2656 * gdb.base/attach-twice.exp: Likewise.
2658 2015-01-15 Joel Brobecker <brobecker@adacore.com>
2660 * gdb.ada/var_arr_attrs: New testcase.
2662 2015-01-14 Pedro Alves <palves@redhat.com>
2663 Joel Brobecker <brobecker@adacore.com>
2666 * gdb.base/bp-cmds-execution-x-script.c: New file.
2667 * gdb.base/bp-cmds-execution-x-script.exp: New file.
2668 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
2670 2015-01-14 Pedro Alves <palves@redhat.com>
2673 * gdb.base/batch-preserve-term-settings.c: New file.
2674 * gdb.base/batch-preserve-term-settings.exp: New file.
2676 2015-01-13 Doug Evans <dje@google.com>
2678 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
2681 2015-01-13 Joel Brobecker <brobecker@adacore.com>
2683 * Makefile.in (clean mostlyclean): Do not delete *.py.
2685 2015-01-13 Joel Brobecker <brobecker@adacore.com>
2687 * gdb.python/py-lookup-type.exp: New file.
2689 2015-01-12 Pedro Alves <palves@redhat.com>
2691 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
2692 restore GDBFLAGS before returning.
2694 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2696 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
2697 is_amd64_regs_target and is_x86_like_target.
2699 2015-01-11 Doug Evans <xdje42@gmail.com>
2701 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
2702 is given without an explicit form.
2703 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
2705 * gdb.dwarf/corrupt.exp: Ditto.
2706 * gdb.dwarf2/enum-type.exp: Ditto.
2707 * gdb.trace/entry-values.exp: Ditto.
2708 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
2710 2015-01-11 Doug Evans <xdje42@gmail.com>
2713 * gdb.base/maint.exp: Remove references to "maint demangle".
2714 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
2715 Add tests for explicitly specifying language to demangle.
2716 * gdb.dlang/demangle.exp: Ditto.
2718 2015-01-09 Pedro Alves <palves@redhat.com>
2720 * gdb.threads/non-stop-fair-events.c: New file.
2721 * gdb.threads/non-stop-fair-events.exp: New file.
2723 2015-01-09 Pedro Alves <palves@redhat.com>
2725 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
2726 the global scope. Set a breakpoint after all threads are started
2727 rather than stepping over two source lines. Expect the prompt.
2728 * gdb.base/watch_thread_num.c (threads_started_barrier): New
2731 (main): Use threads_started_barrier to wait for all threads to
2732 start. Main thread no longer calls thread_function. Exit after
2734 (loop): New function.
2735 (thread_function): Wait on threads_started_barrier barrier. Call
2736 'loop' at each iteration.
2737 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
2738 threads have started, instead of hardcoding number of "next"
2739 steps. Use an access watchpoint instead of a write watchpoint.
2741 2015-01-09 Pedro Alves <palves@redhat.com>
2743 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
2744 (thread_func): Wait on barrier.
2745 (main): Wait for all threads to start before stopping GDB.
2746 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
2748 (thread1_func, thread2_func): Wait on barrier.
2749 (main): Wait for all threads to start before stopping GDB.
2750 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
2752 (thread1_func, thread2_func): Wait on barrier.
2753 (main): Wait for all threads to start before stopping GDB.
2755 2015-01-09 Pedro Alves <palves@redhat.com>
2757 * gdb.threads/attach-many-short-lived-threads.c: New file.
2758 * gdb.threads/attach-many-short-lived-threads.exp: New file.
2760 2014-01-09 Pedro Alves <palves@redhat.com>
2762 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
2763 instead of to thread 2.
2764 * gdb.threads/signal-command-multiple-signals-pending.c (main):
2765 Add barrier around each pthread_create call instead of around all
2767 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
2768 Set a break on thread_function and have the child threads hit it
2771 2015-01-09 Pedro Alves <palves@redhat.com>
2773 * lib/gdb.exp (can_spawn_for_attach): New procedure.
2774 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
2776 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
2777 checking whether the target board is remote.
2778 * gdb.multi/multi-attach.exp: Likewise.
2779 * gdb.python/py-sync-interp.exp: Likewise.
2780 * gdb.server/ext-attach.exp: Likewise.
2781 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
2782 tests that need to attach, instead of checking whether the target
2783 board is remote at the top of the file.
2785 2015-01-08 Yao Qi <yao@codesourcery.com>
2787 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
2789 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2791 Fix testcase compilation.
2792 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
2794 2015-01-06 Joel Brobecker <brobecker@adacore.com>
2796 * gdb.python/py-type.exp: Add a couple test about empty
2797 array creation, and negative-length array creation.
2799 2015-01-02 Doug Evans <xdje42@gmail.com>
2801 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
2803 2015-01-02 Doug Evans <dje@google.com>
2805 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
2807 2014-12-29 Yao Qi <yao@codesourcery.com>
2809 * gdb.trace/entry-values.exp: Update comments. Rename variable
2810 bar_call_foo to returned_from_foo.
2812 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
2815 * gdb.linespec/break-asm-file.c: New file.
2816 * gdb.linespec/break-asm-file.exp: New file.
2817 * gdb.linespec/break-asm-file0.s: New file.
2818 * gdb.linespec/break-asm-file1.s: New file.
2820 2014-12-18 Nigel Stephens <nigel@mips.com>
2821 Maciej W. Rozycki <macro@codesourcery.com>
2823 * gdb.base/float.exp: Handle the new output from "info float" on
2826 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2828 Fix MinGW compilation.
2829 * gdb.compile/compile-ops.exp: Update untested message if
2830 !skip_compile_feature_tests.
2831 * gdb.compile/compile-setjmp.exp: Likewise.
2832 * gdb.compile/compile-tls.exp: Likewise.
2833 * gdb.compile/compile.exp: Likewise.
2834 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
2835 supported on this host".
2837 2014-12-16 Doug Evans <xdje42@gmail.com>
2839 * boards/stabs.exp: New file.
2841 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
2843 * gdb.base/completion.exp: Adjust to format changes of "maint
2844 print user-registers".
2846 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
2849 * gdb.arch/aarch64-fp.c: New file.
2850 * gdb.arch/aarch64-fp.exp: New file.
2852 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
2854 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
2855 r210637, r210913, r211666, r215400, r215817).
2857 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
2858 * dg-extract-results.py: New file.
2859 * dg-extract-results.sh: Use it if the environment seems
2862 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
2864 * dg-extract-results.py (parse_run): Handle warnings that
2865 are printed before a test harness is run.
2867 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
2869 * dg-extract-results.py (Named): Remove __cmp__ method.
2870 (output_variation): Use a key to sort variation.harnesses.
2872 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
2874 * dg-extract-results.py: For Python 3, force sys.stdout to
2875 handle surrogate escape sequences.
2876 (safe_open): New function.
2877 (output_segment, main): Use it.
2879 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
2881 * dg-extract-results.py (Prog.result_re): Include options
2884 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
2886 * dg-extract-results.py (output_variation): Always sort if
2889 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
2891 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
2892 as long as we get pagination notifications.
2894 2014-12-15 Jason Merrill <jason@redhat.com>
2896 * Makefile.in (check-gdb.%): Restore.
2897 * README: Mention it.
2899 2014-12-13 Joel Brobecker <brobecker@adacore.com>
2901 * gdb.ada/str_uninit: New testcase.
2903 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2906 * gdb.base/vla-stub-define.c: New file.
2907 * gdb.base/vla-stub.c: New file.
2908 * gdb.base/vla-stub.exp: New file.
2910 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
2911 Jan Kratochvil <jan.kratochvil@redhat.com>
2912 Tom Tromey <tromey@redhat.com>
2914 * configure.ac: Add gdb.compile/.
2915 * configure: Regenerate.
2916 * gdb.compile/Makefile.in: New file.
2917 * gdb.compile/compile-ops.exp: New file.
2918 * gdb.compile/compile-ops.c: New file.
2919 * gdb.compile/compile-tls.c: New file.
2920 * gdb.compile/compile-tls.exp: New file.
2921 * gdb.compile/compile-constvar.S: New file.
2922 * gdb.compile/compile-constvar.c: New file.
2923 * gdb.compile/compile-mod.c: New file.
2924 * gdb.compile/compile-nodebug.c: New file.
2925 * gdb.compile/compile-setjmp-mod.c: New file.
2926 * gdb.compile/compile-setjmp.c: New file.
2927 * gdb.compile/compile-setjmp.exp: New file.
2928 * gdb.compile/compile-shlib.c: New file.
2929 * gdb.compile/compile.c: New file.
2930 * gdb.compile/compile.exp: New file.
2931 * lib/gdb.exp (skip_compile_feature_tests): New proc.
2933 2014-12-12 Tom Tromey <tromey@redhat.com>
2935 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
2936 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
2938 2014-12-12 Doug Evans <dje@google.com>
2940 * lib/gdb-python.exp (get_python_valueof): New function.
2941 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
2943 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2945 * gdb.base/completion.exp: Add test for completion of "info
2948 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
2950 * gdb.base/func-ptrs.c: New file.
2951 * gdb.base/func-ptrs.exp: New file.
2953 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2955 PR breakpoints/17012
2956 * gdb.base/dprintf-detach.c: New file.
2957 * gdb.base/dprintf-detach.exp: New file.
2959 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2961 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
2962 * lib/gdb.exp (target_is_gdbserver): New procedure.
2964 2014-12-08 Doug Evans <dje@google.com>
2966 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
2968 2014-12-05 Yao Qi <yao@codesourcery.com>
2970 * gdb.guile/scm-error.exp: Remove the third argument to
2971 gdb_remote_download.
2972 * gdb.guile/scm-frame-args.exp: Likewise.
2973 * gdb.guile/scm-section-script.exp: Likewise.
2975 2014-12-05 Yao Qi <yao@codesourcery.com>
2977 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
2979 2014-12-04 Doug Evans <dje@google.com>
2981 * gdb.python/py-objfile.exp: Add tests for
2982 objfile.add_separate_debug_file.
2984 2014-12-04 Doug Evans <dje@google.com>
2986 * lib/gdb.exp (get_build_id): New function.
2987 (build_id_debug_filename_get): Rewrite to use it.
2988 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
2990 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
2992 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
2993 `method(long)', not just 0x0.
2994 * gdb.cp/nsalias.exp: Align code labels to 4.
2995 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
2996 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
2997 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
2998 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
2999 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
3000 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
3002 2014-12-02 Doug Evans <dje@google.com>
3005 * gdb.cp/anon-ns.cc: Move guts of this file to ...
3006 * gdb.cp/anon-ns2.cc: ... here. New file.
3007 * gdb.cp/anon-ns.exp: Update.
3009 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
3011 * gdb.python/py-events.py (inferior_call_handler): New.
3012 (register_changed_handler, memory_changed_handler): New.
3013 (test_events.invoke): Register new handlers.
3014 * gdb.python/py-events.exp: Add tests for inferior call,
3015 memory_changed and register_changed events.
3017 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3019 * gdb.base/execl-update-breakpoints.exp: Specify the link address
3020 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
3021 if the linker doesn't understand this.
3023 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
3025 * gdb.python/python.exp: Change expected reply to help().
3027 2014-12-01 Yao Qi <yao@codesourcery.com>
3029 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
3030 AC_CONFIG_SUBDIRS(gdb.gdbtk).
3031 * configure: Re-generated.
3033 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
3035 * gdb.cp/chained-calls.cc: New file.
3036 * gdb.cp/chained-calls.exp: New file.
3037 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
3039 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
3041 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
3042 * gdb.dwarf2/symtab-producer.exp: Same.
3043 * gdb.gdb/python-interrupts.exp: Same.
3044 * gdb.gdb/python-selftest.exp: Same.
3045 * gdb.python/py-linetable.exp: Same.
3046 * gdb.python/py-type.exp: Same.
3047 * gdb.python/py-value-cc.exp: Same.
3048 * gdb.python/py-value.exp: Same.
3050 2014-11-28 Yao Qi <yao@codesourcery.com>
3052 * gdb.base/break-probes.exp: Match library name prefixed with
3055 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
3057 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
3058 test expected output. Add parentheses for the call to print.
3059 Remove L suffix from integers.
3061 2014-11-26 Doug Evans <dje@google.com>
3063 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
3065 2014-11-22 Yao Qi <yao@codesourcery.com>
3067 * gdb.trace/entry-values.c: Remove asms.
3068 (foo): Add foo_label.
3069 (bar): Add bar_label.
3070 * gdb.trace/entry-values.exp: Remove code computing foo's
3071 length and bar's length.
3072 (Dwarf::assemble): Invoke function_range for bar and use
3073 MACRO_AT_func for foo.
3075 2014-11-22 Yao Qi <yao@codesourcery.com>
3077 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
3078 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
3079 Use .Lgcc43_procstart instead of gcc43.
3081 2014-11-21 Joel Brobecker <brobecker@adacore.com>
3083 * gdb.ada/n_arr_bound: New testcase.
3085 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
3087 PR breakpoints/10737
3088 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
3089 test_catch_syscall_multi_arch.
3090 (test_catch_syscall_multi_arch): New function.
3092 2014-11-20 Doug Evans <xdje42@gmail.com>
3094 * gdb.base/maint.exp: Update expected output.
3096 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3098 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
3099 4-byte instruction on S390.
3101 2014-11-19 Joel Brobecker <brobecker@adacore.com>
3103 * gdb.ada/arr_arr: New testcase.
3105 2014-11-19 Joel Brobecker <brobecker@adacore.com>
3107 * gdb.ada/pkd_arr_elem: New Testcase.
3109 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
3111 * gdb.reverse/break-precsave: Expect completion message for
3113 * gdb.reverse/consecutive-precsave.exp: Likewise.
3114 * gdb.reverse/finish-precsave.exp: Likewise.
3115 * gdb.reverse/i386-precsave.exp: Likewise.
3116 * gdb.reverse/machinestate-precsave.exp: Likewise.
3117 * gdb.reverse/sigall-precsave.exp: Likewise.
3118 * gdb.reverse/solib-precsave.exp: Likewise.
3119 * gdb.reverse/step-precsave.exp: Likewise.
3120 * gdb.reverse/until-precsave.exp: Likewise.
3121 * gdb.reverse/watch-precsave.exp: Likewise.
3123 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3125 * gdb.base/bp-permanent.c: Include unistd.h.
3126 * gdb.python/py-framefilter-mi.c (main): Add return type.
3127 * gdb.python/py-framefilter.c (main): Likewise.
3128 * gdb.trace/actions-changed.c (main): Likewise.
3130 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3132 * gdb.mi/until.c: Add eye-catchers.
3133 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
3136 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3138 * gdb.base/condbreak.exp: Drop references to removed non-prototype
3139 function header variants in break1.c.
3140 * gdb.base/ena-dis-br.exp: Likewise.
3141 * gdb.base/hbreak2.exp: Likewise.
3142 * gdb.reverse/until-precsave.exp: Drop references to removed
3143 non-prototype function header variants in ur1.c.
3144 * gdb.reverse/until-reverse.exp: Likewise.
3146 2014-11-17 Petr Machata <pmachata@redhat.com>
3148 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
3149 ${_cu_offset_size} bytes abbrev offset.
3151 2014-11-15 Doug Evans <xdje42@gmail.com>
3154 * gdb.base/line-symtabs.exp: New file.
3155 * gdb.base/line-symtabs.c: New file.
3156 * gdb.base/line-symtabs.h: New file.
3158 2014-11-14 Yao Qi <yao@codesourcery.com>
3160 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
3161 (func): Add label func_label.
3162 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
3163 Replace low_pc and high_pc with MACRO_AT_range.
3164 Replace name, low_pc and high_pc with MACRO_AT_func.
3166 2014-11-14 Yao Qi <yao@codesourcery.com>
3168 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
3169 Replace name, low_pc and high_pc with MACRO_AT_func.
3171 2014-11-14 Yao Qi <yao@codesourcery.com>
3173 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
3174 produce debug information.
3175 * gdb.dwarf2/implptr-optimized-out.S: Removed.
3177 2014-11-14 Yao Qi <yao@codesourcery.com>
3179 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
3180 object and get function length.
3181 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
3183 (top-level): Replace gdb_compile and clean_restart with
3184 prepare_for_testing.
3185 * gdb.dwarf2/main.c (main): Add label main_label.
3187 2014-11-14 Yao Qi <yao@codesourcery.com>
3189 * lib/dwarf.exp (function_range): New procedure.
3190 (Dwarf::_handle_macro_at_func): New procedure.
3191 (Dwarf::_handle_macro_at_range): New procedure.
3192 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
3194 2014-11-14 Yao Qi <yao@codesourcery.com>
3196 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
3197 (_handle_attribute): New procedure.
3199 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3201 * gdb.ada/cond_lang/foo.c (callme): Add return type.
3202 * gdb.base/call-sc.c (zed): Likewise.
3203 * gdb.base/checkpoint.c (main): Likewise.
3204 * gdb.base/dump.c (main): Likewise.
3205 * gdb.base/gcore.c (main): Likewise.
3206 * gdb.base/huge.c (main): Likewise.
3207 * gdb.base/multi-forks.c (main): Likewise.
3208 * gdb.base/pr10179-a.c (main): Likewise.
3209 * gdb.base/savedregs.c (main): Likewise.
3210 * gdb.base/sigaltstack.c (main): Likewise.
3211 * gdb.base/siginfo.c (main): Likewise.
3212 * gdb.base/structs.c (zed): Likewise.
3213 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
3214 * gdb.mi/mi-syn-frame.c (main): Likewise.
3215 * gdb.mi/until.c (foo, main): Likewise.
3216 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
3217 * gdb.base/solib-weak.c (foo): Declare.
3218 * gdb.base/attach-twice.c: Include stdio.h.
3219 * gdb.base/weaklib1.c: Likewise.
3220 * gdb.base/weaklib2.c: Likewise.
3221 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
3222 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
3224 * gdb.base/attach-pie-misread.c: Include stdlib.h.
3225 * gdb.mi/mi-exit-code.c: Likewise.
3226 * gdb.base/break-interp-lib.c: Include string.h.
3227 * gdb.base/coremaker.c: Likewise.
3228 * gdb.base/testenv.c: Likewise.
3229 * gdb.python/py-finish-breakpoint.c: Likewise.
3230 * gdb.base/inferior-died.c: Include sys/wait.h.
3231 * gdb.base/fileio.c: Include time.h.
3232 * gdb.base/async-shell.c: Include unistd.h.
3233 * gdb.base/dprintf-non-stop.c: Likewise.
3234 * gdb.base/info-os.c: Likewise.
3235 * gdb.mi/mi-console.c: Likewise.
3236 * gdb.mi/watch-nonstop.c: Likewise.
3237 * gdb.python/py-events.c: Likewise.
3238 * gdb.base/async.c (baz): Move up before its invocation.
3239 * gdb.base/code_elim2.c (my_global_func): Likewise.
3240 * gdb.base/skip-solib-lib.c (multiply): Likewise.
3241 * gdb.base/advance.c (func2): Likewise.
3243 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3245 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
3247 * gdb.base/annota3.c: Likewise.
3248 * gdb.base/async.c: Likewise.
3249 * gdb.base/average.c: Likewise.
3250 * gdb.base/call-ar-st.c: Likewise.
3251 * gdb.base/call-rt-st.c: Likewise.
3252 * gdb.base/call-sc.c: Likewise.
3253 * gdb.base/call-strs.c: Likewise.
3254 * gdb.base/ending-run.c: Likewise.
3255 * gdb.base/execd-prog.c: Likewise.
3256 * gdb.base/exprs.c: Likewise.
3257 * gdb.base/foll-exec.c: Likewise.
3258 * gdb.base/foll-fork.c: Likewise.
3259 * gdb.base/foll-vfork.c: Likewise.
3260 * gdb.base/funcargs.c: Likewise.
3261 * gdb.base/gcore.c: Likewise.
3262 * gdb.base/jump.c: Likewise.
3263 * gdb.base/langs0.c: Likewise.
3264 * gdb.base/langs1.c: Likewise.
3265 * gdb.base/langs2.c: Likewise.
3266 * gdb.base/mips_pro.c: Likewise.
3267 * gdb.base/nodebug.c: Likewise.
3268 * gdb.base/opaque0.c: Likewise.
3269 * gdb.base/opaque1.c: Likewise.
3270 * gdb.base/recurse.c: Likewise.
3271 * gdb.base/run.c: Likewise.
3272 * gdb.base/scope0.c: Likewise.
3273 * gdb.base/scope1.c: Likewise.
3274 * gdb.base/setshow.c: Likewise.
3275 * gdb.base/setvar.c: Likewise.
3276 * gdb.base/shmain.c: Likewise.
3277 * gdb.base/shr1.c: Likewise.
3278 * gdb.base/shr2.c: Likewise.
3279 * gdb.base/sigall.c: Likewise.
3280 * gdb.base/signals.c: Likewise.
3281 * gdb.base/so-indr-cl.c: Likewise.
3282 * gdb.base/solib2.c: Likewise.
3283 * gdb.base/structs.c: Likewise.
3284 * gdb.base/sum.c: Likewise.
3285 * gdb.base/vforked-prog.c: Likewise.
3286 * gdb.base/watchpoint.c: Likewise.
3287 * gdb.reverse/shr2.c: Likewise.
3288 * gdb.reverse/until-reverse.c: Likewise.
3289 * gdb.reverse/ur1.c: Likewise.
3290 * gdb.reverse/watch-reverse.c: Likewise.
3292 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3294 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
3296 * gdb.base/sepdebug.exp: Drop references to removed code.
3298 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3300 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
3301 variant. Preserve original line numbering.
3302 * gdb.base/list1.c: Likewise.
3304 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3306 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
3308 * gdb.base/break1.c: Likewise.
3309 * gdb.base/break.exp: Drop references to removed code.
3311 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3313 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
3316 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3318 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
3320 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3322 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
3323 logic into perform_all_tests() and invoke it with and without
3324 function header prototypes.
3325 (do_function_calls): Remove conditional XFAIL for PR 5318.
3326 (rerun_and_prepare): Remove duplicate code.
3327 (perform_all_tests): New. Main logic moved here.
3329 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3331 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
3332 code guarded by #ifdef NO_PROTOTYPES.
3333 (t_double_many_args): Likewise.
3334 (DEF_FUNC_MANY_ARGS_1): Likewise.
3335 (DEF_FUNC_VALUES_1): Likewise.
3336 (t_structs_ldc): Renamed from t_structs_fc in conditional code
3337 guarded by #ifdef PROTOTYPES.
3339 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3341 * gdb.mi/mi-console.c: Add eye-catcher.
3342 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
3343 instead of literal line number.
3345 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3347 * gdb.base/shr2.c: Add eye-catcher.
3348 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
3351 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3353 * gdb.base/jump.c: Add eye-catchers.
3354 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
3357 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3359 * gdb.base/execd-prog.c: Add eye-catchers.
3360 * gdb.base/foll-exec.c: Likewise.
3361 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
3364 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3366 * gdb.base/ending-run.c: Add eye-catchers.
3367 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
3368 literal line numbers.
3370 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3372 * gdb.base/call-rt-st.c: Add eye-catchers.
3373 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
3374 literal line numbers.
3376 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3378 * gdb.base/call-ar-st.c: Add eye-catchers.
3379 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
3380 literal line numbers.
3382 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3384 * gdb.base/average.c: Add eye-catchers.
3385 * gdb.base/sum.c: Likewise.
3386 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
3387 regexps dynamically.
3389 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3391 * gdb.base/solib1.c: Add eye-catchers.
3392 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
3393 literal line numbers.
3395 2014-11-12 Pedro Alves <palves@redhat.com>
3397 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
3400 2014-11-12 Pedro Alves <palves@redhat.com>
3402 * gdb.arch/i386-bp_permanent.c: New file.
3403 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
3404 (srcfile): Set to i386-bp_permanent.c.
3405 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
3406 that stepi does not execute the 'leave' instruction, instead of
3407 testing it does execute.
3408 * gdb.base/bp-permanent.c: New file.
3409 * gdb.base/bp-permanent.exp: New file.
3411 2014-11-10 Doug Evans <xdje42@gmail.com>
3414 * gdb.base/symtab-search-order.exp: New file.
3415 * gdb.base/symtab-search-order.c: New file.
3416 * gdb.base/symtab-search-order-1.c: New file.
3417 * gdb.base/symtab-search-order-shlib-1.c: New file.
3419 2014-11-07 Pedro Alves <palves@redhat.com>
3422 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
3425 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
3428 * gdb.cp/pr17494.cc: New file.
3429 * gdb.cp/pr17494.exp: New file.
3431 2014-11-02 Yao Qi <yao@codesourcery.com>
3433 * gdb.python/python.exp: Get working directory and match the
3434 output of "set extended-prompt \\w " with it.
3436 2014-10-30 Doug Evans <dje@google.com>
3438 * gdb.python/py-objfile.exp: Add tests for setting random attributes
3440 * gdb.python/py-progspace.exp: Add tests for setting random attributes
3443 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
3445 * gdb.base/fullpath-expand.exp: Skip for a remote host.
3446 * gdb.base/realname-expand.exp: Likewise.
3447 * gdb.linespec/macro-relative.exp: Likewise.
3449 2014-10-29 Pedro Alves <palves@redhat.com>
3452 * gdb.threads/schedlock.c (some_function): New function.
3453 (call_function): New global.
3454 (MAYBE_CALL_SOME_FUNCTION): New macro.
3455 (thread_function): Call it.
3456 * gdb.threads/schedlock.exp (get_args): Add description parameter,
3457 and use it instead of a global counter. Adjust all callers.
3458 (get_current_thread): Use "find current thread" for test message
3459 here rather than having all callers pass down the same string.
3460 (goto_loop): New procedure, factored out from ...
3461 (my_continue): ... this.
3462 (step_ten_loops): Change parameter from test message to command to
3464 (list_count): Delete global.
3465 (check_result): New procedure, factored out from duplicate top
3467 (continue tests): Wrap in with_test_prefix.
3468 (test_step): New procedure, factored out from duplicate top level
3470 (top level): Test "step" in combination with all scheduler-locking
3471 modes. Test "next" in combination with all scheduler-locking
3472 modes, and in combination with stepping over a function call or
3474 * gdb.threads/next-bp-other-thread.c: New file.
3475 * gdb.threads/next-bp-other-thread.exp: New file.
3477 2014-10-29 Pedro Alves <palves@redhat.com>
3480 * gdb.python/python.exp: Test a multi-line command that spawns
3482 * gdb.base/multi-line-starts-subshell.exp: New file.
3484 2014-10-29 Yao Qi <yao@codesourcery.com>
3486 * gdb.base/fileio.exp: Make directories on host.
3488 2014-10-29 Yao Qi <yao@codesourcery.com>
3490 * gdb.base/fileio.c (test_write): Close the file.
3492 2014-10-28 Pedro Alves <palves@redhat.com>
3495 * gdb.base/sigstep.c (no_handler): New global.
3496 (main): If 'no_handler is true, set the signal handlers to
3498 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
3499 with_sw_watch and no_handler parameters. Handle them.
3500 (top level) <stepping over handler when stopped at a breakpoint
3501 test>: Add a test axis for testing with a software watchpoint, and
3502 another for testing with the signal handler set to SIG_IGN.
3503 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
3504 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
3506 2014-10-28 Pedro Alves <palves@redhat.com>
3509 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
3510 * gdb.base/sigstep.exp (other_handler_location): New global.
3511 (advance): Support stepping into the signal handler, and running
3512 commands while in the handler.
3513 (in_handler_map): New global.
3514 (top level): In the advance test, add combinations for getting
3515 into the handler with stepping commands, and for running commands
3516 in the handler. Add comment descripting the advancei tests.
3518 2014-10-28 Pedro Alves <palves@redhat.com>
3520 * gdb.base/sigstep.exp: Use build_executable instead of
3521 prepare_for_testing.
3522 (top level): Move code that starts GDB, runs to main and creates a
3524 (restart): ... this new procedure.
3525 (top level): Move backtrace from signal handler test to ...
3526 (validate_backtrace): ... this new procedure.
3527 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
3528 with_test_prefix. Always restart GDB.
3529 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
3530 with_test_prefix. Always restart GDB. No need to delete
3531 breakpoints after the test.
3532 (test_skip_handler): Remove prefix parameter.
3533 (skip_over_handler, breakpoint_to_handler)
3534 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
3535 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
3536 restart GDB. No need to delete breakpoints after the test.
3537 (top level): Use foreach to call the test procedures with
3540 2014-10-28 Pedro Alves <palves@redhat.com>
3542 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
3543 instead of GNATS numbers.
3544 * gdb.base/sigbpt.exp: Likewise.
3545 * gdb.base/siginfo.exp: Likewise.
3546 * gdb.base/sigstep.exp: Likewise.
3548 2014-10-27 Pedro Alves <palves@redhat.com>
3550 * gdb.base/sigstep.c (dummy): New global.
3551 (main): Issue a couple writes to the new global.
3552 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
3554 (skip_over_handler): Use test_skip_handler.
3555 (top level): Call skip_over_handler for stepi and nexti too.
3556 (breakpoint_over_handler): Use test_skip_handler.
3557 (top level): Call breakpoint_over_handler for stepi and nexti too.
3559 2014-10-27 Yao Qi <yao@codesourcery.com>
3561 * gdb.trace/tfile.c (adjust_function_address)
3562 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
3563 function descriptor.
3565 2014-10-24 Don Breazeal <donb@codesourcery.com>
3567 * gdb.base/foll-fork.exp (test_follow_fork,
3568 catch_fork_child_follow): Check for updated fork messages emitted
3570 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
3571 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
3572 vfork_and_exec_child_follow_through_step): Check for updated vfork
3573 messages emitted from infrun.c.
3575 2014-10-24 Pedro Alves <palves@redhat.com>
3577 * gdb.base/corefile.exp: Remove references to ultrix.
3578 * gdb.base/interrupt.exp: Likewise.
3579 * gdb.base/whatis.exp: Likewise.
3580 * gdb.gdb/selftest.exp: Likewise.
3581 * gdb.threads/manythreads.exp: Likewise.
3582 * gdb.threads/print-threads.exp: Likewise.
3583 * gdb.threads/pthreads.exp:: Likewise.
3584 * gdb.threads/schedlock.exp: Likewise.
3586 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
3588 * gdb.cp/non-trivial-retval.cc: Add a test case.
3589 * gdb.cp/non-trivial-retval.exp: Add a test.
3591 2014-10-20 Yao Qi <yao@codesourcery.com>
3593 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
3594 * gdb.python/py-objfile-script-gdb.py: New file.
3595 * gdb.python/py-objfile-script.exp: Update reference to
3596 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
3597 of remote_download. Remove the dest file.
3599 2014-10-20 Yao Qi <yao@codesourcery.com>
3601 * gdb.base/checkpoint.exp: Don't remove file copied on host.
3602 * gdb.base/step-line.exp: Likewise.
3603 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3604 * gdb.dwarf2/dw2-basic.exp: Likewise.
3605 * gdb.dwarf2/dw2-compressed.exp: Likewise.
3606 * gdb.dwarf2/dw2-filename.exp: Likewise.
3607 * gdb.dwarf2/dw2-intercu.exp: Likewise.
3608 * gdb.dwarf2/dw2-intermix.exp: Likewise.
3609 * gdb.dwarf2/dw2-producer.exp: Likewise.
3610 * gdb.dwarf2/mac-fileno.exp: Likewise.
3611 * gdb.python/py-frame-args.exp: Likewise.
3612 * gdb.python/py-framefilter.exp: Likewise.
3613 * gdb.python/py-mi.exp: Likewise.
3614 * gdb.python/py-objfile-script.exp: Likewise
3615 * gdb.python/py-pp-integral.exp: Likewise.
3616 * gdb.python/py-pp-re-notag.exp: Likewise.
3617 * gdb.python/py-prettyprint.exp: Likewise.
3618 * gdb.python/py-section-script.exp: Likewise.
3619 * gdb.python/py-typeprint.exp: Likewise.
3620 * gdb.python/py-xmethods.exp: Likewise.
3621 * gdb.stabs/weird.exp: Likewise.
3622 * gdb.xml/tdesc-regs.exp: Likewise.
3624 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
3626 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
3627 (out_cu): Use addr_len for the size of addresses.
3628 (out_line): Likewise. Size DW_LNE_set_address instruction
3629 according to addr_len.
3630 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
3631 (FUNC): Add START_INSNS to definition.
3633 2014-10-18 Yao Qi <yao@codesourcery.com>
3635 * gdb.base/argv0-symlink.exp: Check argv[0] value if
3636 gdb_has_argv0 return true.
3637 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
3638 check [target_info exists noargs], check [gdb_has_argv0]
3640 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3641 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
3644 2014-10-17 Doug Evans <dje@google.com>
3646 * gdb.python/py-events.exp: Update expected output for clear_objfiles
3648 * gdb.python/py-events.py: Add clear_objfiles event.
3650 2014-10-17 Doug Evans <dje@google.com>
3652 * gdb.python/py-objfile.exp: Test progspace attribute.
3654 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
3656 * gdb.guile/scm-breakpoint.exp: Do not assume any
3657 directory separators when matching source file paths.
3658 * gdb.python/py-breakpoint.exp: Likewise.
3659 * gdb.reverse/break-precsave.exp: Likewise.
3660 * gdb.reverse/break-reverse.exp: Likewise.
3661 * gdb.reverse/consecutive-precsave.exp: Likewise.
3662 * gdb.reverse/finish-precsave.exp: Likewise.
3663 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
3664 * gdb.reverse/finish-reverse.exp: Likewise.
3665 * gdb.reverse/i386-precsave.exp: Likewise.
3666 * gdb.reverse/i387-env-reverse.exp: Likewise.
3667 * gdb.reverse/i387-stack-reverse.exp: Likewise.
3668 * gdb.reverse/machinestate-precsave.exp: Likewise.
3669 * gdb.reverse/machinestate.exp: Likewise.
3670 * gdb.reverse/sigall-precsave.exp: Likewise.
3671 * gdb.reverse/solib-precsave.exp: Likewise.
3672 * gdb.reverse/step-precsave.exp: Likewise.
3673 * gdb.reverse/until-precsave.exp: Likewise.
3674 * gdb.reverse/watch-precsave.exp: Likewise.
3675 * gdb.reverse/watch-reverse.exp: Likewise.
3677 2014-10-17 Yao Qi <yao@codesourcery.com>
3679 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
3680 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
3682 2014-10-17 Pedro Alves <palves@redhat.com>
3685 * gdb.base/bg-execution-repeat.c: New file.
3686 * gdb.base/bg-execution-repeat.exp: New file.
3688 2014-10-17 Pedro Alves <palves@redhat.com>
3691 * gdb.base/continue-all-already-running.c: New file.
3692 * gdb.base/continue-all-already-running.exp: New file.
3694 2014-10-17 Pedro Alves <palves@redhat.com>
3697 * gdb.base/annota-input-while-running.c: New file.
3698 * gdb.base/annota-input-while-running.exp: New file.
3700 2014-10-17 Pedro Alves <palves@redhat.com>
3702 * gdb.base/callfuncs.exp: emove references to osf.
3703 * gdb.base/sigall.exp: Likewise.
3704 * gdb.gdb/selftest.exp: Likewise.
3705 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
3706 * gdb.mi/non-stop.c: Likewise.
3707 * gdb.mi/pthreads.c: Likewise.
3708 * gdb.reverse/sigall-precsave.exp: Likewise.
3709 * gdb.reverse/sigall-reverse.exp: Likewise.
3710 * gdb.threads/pthreads.c: Likewise.
3711 * gdb.threads/pthreads.exp: Likewise.
3713 2014-10-17 Yao Qi <yao@codesourcery.com>
3715 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
3716 check 'target_info exists noargs'.
3717 (test_command_prompt_position): Likewise.
3718 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
3720 (progvar_simple_while_test): Likewise.
3721 (progvar_complex_if_while_test): Likewise.
3722 (if_while_breakpoint_command_test): Likewise.
3723 (infrun_breakpoint_command_test): Likewise.
3724 (breakpoint_command_test): Likewise.
3725 (watchpoint_command_test): Likewise.
3726 (bp_deleted_in_command_test): Likewise.
3727 (temporary_breakpoint_commands): Likewise.
3729 2014-10-16 Yao Qi <yao@codesourcery.com>
3731 * gdb.base/remotetimeout.exp: Remove noargs checking.
3733 2014-10-15 Pedro Alves <palves@redhat.com>
3736 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
3737 * gdb.base/breakpoint-in-ro-region.exp
3738 (probe_target_hardware_step): New procedure.
3739 (top level): Probe hardware stepping and hardware breakpoint
3740 support. Test stepping through a read-only region, with both
3741 "breakpoint auto-hw" on and off and both "always-inserted" on and
3744 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
3746 * gdb.dlang/demangle.exp: Update for demangling changes.
3748 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3750 * gdb.cp/non-trivial-retval.cc: Add new test cases.
3751 * gdb.cp/non-trivial-retval.exp: Add new tests.
3753 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3757 * gdb.cp/non-trivial-retval.cc: New file.
3758 * gdb.cp/non-trivial-retval.exp: New file.
3760 2014-10-15 Yao Qi <yao@codesourcery.com>
3762 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
3765 2014-10-15 Yao Qi <yao@codesourcery.com>
3767 * gdb.python/py-symbol.exp: Match file base name if host is
3768 remote, otherwise match file name with dir name.
3769 * gdb.python/py-symtab.exp: Likewise.
3770 * gdb.python/python.exp: Likewise.
3772 2014-10-15 Yao Qi <yao@codesourcery.com>
3774 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
3776 * gdb.python/py-symtab.exp: Likewise.
3777 * gdb.python/python.exp: Remove trailing ".*". Fix typo
3780 2014-10-14 Joel Brobecker <brobecker@adacore.com>
3782 * gdb.ada/addr_arith: New testcase.
3784 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
3786 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
3787 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
3788 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
3789 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
3791 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
3793 * gdb.arch/stap-eval-lang-ada.S: Likewise.
3794 * gdb.arch/stap-eval-lang-ada.c: Likewise.
3795 * gdb.arch/stap-eval-lang-ada.exp: New file.
3797 2014-10-14 Yao Qi <yao@codesourcery.com>
3799 * gdb.mi/mi-var-child.c (nothing1): New function.
3800 (nothing2): New function.
3801 (do_children_tests): Set function pointers by nothing1 and
3803 * gdb.mi/mi-var-child.exp: Step over new added statements.
3804 Update test to match the new output.
3805 * gdb.mi/var-cmd.c (nothing1): New function.
3806 (nothing2): New function.
3807 (do_children_tests): Set function pointers by nothing1 and
3809 * gdb.mi/mi-var-display.exp: Update test to match output.
3810 Step to the line specified by $line_dct_nothing.
3811 Increase the number of lines to step.
3813 2014-10-14 Yao Qi <yao@codesourcery.com>
3815 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
3817 * gdb.mi/mi2-var-child.exp: Likewise.
3819 2014-10-13 Doug Evans <dje@google.com>
3821 * gdb.python/py-objfile.exp: Change name of file name test.
3823 2014-10-13 Doug Evans <dje@google.com>
3825 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
3826 from the start of the CU.
3828 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3829 Yao Qi <yao@codesourcery.com>
3831 Fix "save breakpoints" for "catch" command.
3832 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
3833 Remove -nonewline. Match also the added "main" line.
3835 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3837 Fix "save breakpoints" for "disable $bpnum" command.
3838 * gdb.base/save-bp.c (main): Add label.
3839 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
3841 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3843 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
3845 2014-10-11 Yao Qi <yao@codesourcery.com>
3847 * gdb.server/server-kill.exp: Execute command
3848 "set remote trace-status-packet on" before "tstatus".
3850 2014-10-11 Yao Qi <yao@codesourcery.com>
3852 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
3853 (main): Call getppid.
3854 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
3855 and continue to it. Read variable "server_pid".
3857 2014-10-11 Yao Qi <yao@codesourcery.com>
3859 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
3861 2014-10-11 Yao Qi <yao@codesourcery.com>
3863 * gdb.threads/thread-find.exp: Don't execute command
3865 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
3866 * gdb.threads/linux-dp.exp: Don't check the condition
3867 $threads_created equals to zero.
3869 2014-10-10 Pedro Alves <palves@redhat.com>
3871 * gdb.base/bigcore.exp: Remove references to IRIX.
3872 * gdb.base/funcargs.exp: Likewise.
3873 * gdb.base/interrupt.exp: Likewise.
3874 * gdb.base/mips_pro.exp: Likewise.
3875 * gdb.base/nodebug.exp: Likewise.
3876 * gdb.base/setvar.exp: Likewise.
3877 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
3879 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3880 Pedro Alves <palves@redhat.com>
3883 * gdb.base/vdso-warning.c: New file.
3884 * gdb.base/vdso-warning.exp: New file.
3886 2014-10-02 Doug Evans <dje@google.com>
3888 * gdb.base/structs.c (main): Don't run forever.
3890 2014-10-02 Pedro Alves <palves@redhat.com>
3892 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
3893 (top level) <stop threads 1, stop threads 2>: Use it.
3895 2014-10-02 Pedro Alves <palves@redhat.com>
3897 * gdb.threads/break-while-running.exp (test): Add new
3898 'update_thread_list' argument. Skip "info threads" if false.
3899 (top level): Add new 'update_thread_list' axis.
3901 2014-10-02 Pedro Alves <palves@redhat.com>
3903 PR breakpoints/17431
3904 * gdb.base/execl-update-breakpoints.c: New file.
3905 * gdb.base/execl-update-breakpoints.exp: New file.
3907 2014-10-01 Pedro Alves <palves@redhat.com>
3909 * gdb.base/breakpoint-in-ro-region.c: New file.
3910 * gdb.base/breakpoint-in-ro-region.exp: New file.
3912 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
3914 * gdb.mi/mi-exit-code.exp: New file.
3915 * gdb.mi/mi-exit-code.c: New file.
3917 2014-09-30 Yao Qi <yao@codesourcery.com>
3919 * lib/prelink-support.exp (build_executable_own_libs): Error if
3920 the target isn't native.
3922 2014-09-30 Yao Qi <yao@codesourcery.com>
3924 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
3927 2014-09-22 Pedro Alves <palves@redhat.com>
3929 * gdb.threads/break-while-running.exp: New file.
3930 * gdb.threads/break-while-running.c: New file.
3932 2014-09-19 Yao Qi <yao@codesourcery.com>
3934 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
3935 Invoke test. Restart GDB with --readnow and invoke test again.
3937 2014-09-19 Yao Qi <yao@codesourcery.com>
3939 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
3940 proc set_breakpoint_on_gcd_function. Invoke
3941 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
3942 invoke set_breakpoint_on_gcd_function again.
3944 2014-09-18 Doug Evans <dje@google.com>
3946 * gdb.dwarf2/symtab-producer.exp: New file.
3948 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3950 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
3951 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
3952 * gdb.base/global-var-nested-by-dso.c: Likewise.
3953 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3955 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3956 Pedro Alves <palves@redhat.com>
3958 * gdb.base/watch-bitfields.exp: Pass string other than test file
3959 name to prepare_for_testing.
3960 (watch): New procedure.
3961 (expect_watchpoint): Use with_test_prefix.
3962 (top level): Factor out tests to ...
3963 (test_watch_location, test_regular_watch): ... these new
3964 procedures, and use with_test_prefix and gdb_continue_to_end.
3966 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
3968 PR breakpoints/12526
3969 * gdb.base/watch-bitfields.exp: New file.
3970 * gdb.base/watch-bitfields.c: New file.
3972 2014-09-16 Pedro Alves <palves@redhat.com>
3974 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
3975 software and hardware addresses, not software address against
3978 2014-09-16 Pedro Alves <palves@redhat.com>
3980 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
3981 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
3983 2014-09-16 Pedro Alves <palves@redhat.com>
3985 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
3987 * gdb.base/a2-run.exp: Remove all code guarded by istarget
3988 "*-*-vxworks*" throughout.
3989 * gdb.base/break.exp: Likewise.
3990 * gdb.base/default.exp: Likewise.
3991 * gdb.base/scope.exp: Likewise.
3992 * gdb.base/sepdebug.exp: Likewise.
3993 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
3995 * gdb.base/run.c: Likewise.
3996 * gdb.base/sepdebug.c: Likewise.
3997 * gdb.hp/gdb.aCC/run.c: Likewise.
3998 * gdb.reverse/until-reverse.c: Likewise.
3999 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
4001 2014-09-16 Yao Qi <yao@codesourcery.com>
4003 * boards/local-remote-host-native.exp: New file.
4005 2014-09-14 Doug Evans <xdje42@gmail.com>
4007 * gdb.threads/queue-signal.c (thread_count): New variable.
4008 (thread_count_mutex, thread_count_condvar): New variables.
4009 (incr_thread_count, wait_all_threads_running): New functions.
4010 (main): Wait for all threads to be in their thread functions.
4012 2014-09-13 Doug Evans <xdje42@gmail.com>
4014 * gdb.threads/queue-signal.c: New file.
4015 * gdb.threads/queue-signal.exp: New file.
4017 2014-09-13 Doug Evans <xdje42@gmail.com>
4019 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
4020 be consistent with what default_gdb_init uses.
4021 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
4022 the plain text of the prompt. Add some logging printfs.
4023 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
4025 2014-09-12 Pedro Alves <palves@redhat.com>
4027 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
4028 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
4029 * gdb.arch/i386-size-overlap.exp: Likewise.
4030 * gdb.arch/i386-size.exp: Likewise.
4031 * gdb.arch/i386-unwind.exp: Likewise.
4032 * gdb.base/a2-run.exp: Likewise.
4033 * gdb.base/break.exp: Likewise.
4034 * gdb.base/charset.exp: Likewise.
4035 * gdb.base/chng-syms.exp: Likewise.
4036 * gdb.base/commands.exp: Likewise.
4037 * gdb.base/dbx.exp: Likewise.
4038 * gdb.base/find.exp: Likewise.
4039 * gdb.base/funcargs.exp: Likewise.
4040 * gdb.base/jit-simple.exp: Likewise.
4041 * gdb.base/reread.exp: Likewise.
4042 * gdb.base/sepdebug.exp: Likewise.
4043 * gdb.base/step-bt.exp: Likewise.
4044 * gdb.cp/mb-inline.exp: Likewise.
4045 * gdb.cp/mb-templates.exp: Likewise.
4046 * gdb.objc/basicclass.exp: Likewise.
4047 * gdb.threads/killed.exp: Likewise.
4049 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4052 * gdb.arch/powerpc-stackless.S: New file.
4053 * gdb.arch/powerpc-stackless.exp: New file.
4055 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4057 * gdb.base/attach.c: Include unistd.h.
4058 (main): Call alarm. Add label postloop.
4059 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
4060 gdb_breakpoint, gdb_continue_to_breakpoint.
4061 (test_command_line_attach_run): Kill ${testpid} in one exit path.
4063 2014-09-11 Pedro Alves <palves@redhat.com>
4066 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
4067 * gdb.base/attach.exp (test_command_line_attach_run): New
4069 (top level): Call it.
4071 2014-09-11 Pedro Alves <palves@redhat.com>
4073 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
4074 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
4075 (do_command_attach_tests): Use spawn_wait_for_attach.
4076 * gdb.base/solib-overlap.exp: Likewise.
4077 * gdb.multi/multi-attach.exp: Likewise.
4078 * gdb.python/py-prompt.exp: Likewise.
4079 * gdb.python/py-sync-interp.exp: Likewise.
4080 * gdb.server/ext-attach.exp: Likewise.
4082 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
4084 * gdb.fortran/array-element.exp: Remove unexpected "continue"
4085 command in testcase. Simplify testcase.
4087 2014-09-10 Joel Brobecker <brobecker@adacore.com>
4089 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
4091 2014-09-10 Joel Brobecker <brobecker@adacore.com>
4093 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
4095 2014-09-10 Joel Brobecker <brobecker@adacore.com>
4097 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
4099 2014-09-10 Joel Brobecker <brobecker@adacore.com>
4101 * gdb.dwarf2/dynarr-ptr.c: New file.
4102 * gdb.dwarf2/dynarr-ptr.exp: New file.
4104 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4106 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
4107 of 30 rather than hardcoding 120 for a slow test case. Take the
4108 `gdb,timeout' target setting into account for this calculation.
4109 Don't extend the timeout for the test cases that don't need it.
4111 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4113 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
4114 a factor of 2 for a slow test case. Take the `gdb,timeout'
4115 target setting into account for this calculation.
4116 * gdb.reverse/until-precsave.exp: Increase the timeout by
4117 a factor of 15 and 3 respectively rather than adding 120
4118 for a pair of slow test cases. Take the `gdb,timeout'
4119 target setting into account for this calculation.
4121 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4123 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
4124 timeout, don't pass one down to gdb_expect.
4125 (gdb_expect): Rework timeout selection.
4127 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4129 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
4130 exception on timeout.
4131 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
4132 (gdbserver_start_extended): Catch any `gdbserver_start' error
4134 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
4135 * lib/mi-support.exp (mi_gdb_target_load): Catch any
4136 `gdbserver_gdb_load' error exceptions.
4138 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4140 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
4141 120 on waiting for the TCP socket to open.
4143 2014-09-09 Doug Evans <xdje42@gmail.com>
4145 * gdb.base/default.exp (show_conv_list): Add _caller_is,
4146 _caller_matches, _any_caller_is, _any_caller_matches.
4148 2014-09-09 Doug Evans <xdje42@gmail.com>
4150 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
4152 2014-09-09 Yao Qi <yao@codesourcery.com>
4154 * gdb.mi/mi-var-display.exp: Set print symbol off.
4156 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
4159 * gdb.base/commands.exp: Add tests to verify user-defined
4160 commands with empty bodies.
4161 * gdb.python/py-cmd.exp: Test that we don't show user-defined
4162 python commands in `show user command`.
4163 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
4164 scheme commands in `show user command`.
4166 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4169 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
4170 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
4171 * gdb.python/py-framefilter-invalidarg.exp: New file.
4172 * gdb.python/py-framefilter-invalidarg.py: New file.
4174 2014-09-06 Doug Evans <xdje42@gmail.com>
4177 * gdb.python/py-caller-is.c: New file.
4178 * gdb.python/py-caller-is.exp: New file.
4180 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
4183 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
4184 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
4186 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
4189 * gdb.fortran/print-formatted.exp: New file.
4190 * gdb.fortran/print-formatted.f90: Likewise.
4192 2014-09-03 Sasha Smundak <asmundak@google.com>
4194 * gdb.python/py-frame.exp: Test Frame.read_register.
4196 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
4199 * gdb.python/py-completion.exp: New file.
4200 * gdb.python/py-completion.py: Likewise.
4202 2014-08-28 Doug Evans <dje@google.com>
4204 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
4205 eax,etc. are live with values set by gdb and thus the compiler can't
4207 * gdb.arch/i386-pseudo.c (main): Ditto.
4209 2014-08-27 Doug Evans <dje@google.com>
4211 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
4213 2014-08-25 Doug Evans <dje@google.com>
4215 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
4218 2014-08-25 Doug Evans <dje@google.com>
4220 * gdb.threads/thread-execl.exp: #include <stdio.h>.
4222 2014-08-24 Yao Qi <yao@codesourcery.com>
4224 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
4226 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
4228 2014-08-22 Doug Evans <dje@google.com>
4231 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
4232 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
4233 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
4235 2014-08-22 Yao Qi <yao@codesourcery.com>
4237 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
4238 * gdb.python/py-finish-breakpoint2.exp: Likewise.
4239 * gdb.python/python.exp: Likewise. Use .py file on the host
4240 instead of the build.
4242 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4244 * gdb.threads/gcore-stale-thread.c: New file.
4245 * gdb.threads/gcore-stale-thread.exp: New file.
4247 2014-08-21 Pedro Alves <palves@redhat.com>
4249 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
4250 * gdb.base/gcore-relro-pie.exp: Likewise.
4251 * gdb.base/gcore-relro.exp: Likewise.
4252 * gdb.base/gcore.exp: Likewise.
4253 * gdb.base/print-symbol-loading.exp: Likewise.
4254 * gdb.threads/gcore-thread.exp: Likewise.
4255 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
4257 2014-08-20 Pedro Alves <palves@redhat.com>
4258 Jan Kratochvil <jan.kratochvil@redhat.com>
4260 * Makefile.in (EXTRA_RULES, CC): New variables, get from
4262 (EXPECT): Handle READ1 being set.
4263 (all): Depend on EXTRA_RULES.
4264 (check-read1, expect-read1, read1.so, read1): New rules.
4265 * README (Testsuite Parameters): Document the READ1 make variable.
4266 (Race detection): New section.
4267 * configure: Regenerate.
4268 * configure.ac: If build==host==target, and running under a
4269 GNU/glibc system, add read1 to the extra Makefile rules.
4270 (EXTRA_RULES): AC_SUBST it.
4271 * lib/read1.c: New file.
4273 2014-08-20 Joel Brobecker <brobecker@adacore.com>
4275 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
4276 the handling of variables declared as a typedef to an array
4277 which a DW_AT_data_location attribute.
4279 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
4280 Pedro Alves <palves@redhat.com>
4284 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
4287 2014-08-19 Pedro Alves <palves@redhat.com>
4289 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
4291 2014-08-19 Yao Qi <yao@codesourcery.com>
4293 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
4296 2014-08-18 David Blaikie <dblaikie@gmail.com>
4298 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
4300 2014-08-18 Joel Brobecker <brobecker@adacore.com>
4302 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
4303 attribute in array range.
4305 2014-08-18 Joel Brobecker <brobecker@adacore.com>
4307 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
4309 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
4312 * gdb.cp/pr17132.cc: New file.
4313 * gdb.cp/pr17132.exp: New file.
4315 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
4317 * gdb.python/py-xmethods.py (A_getarrayind)
4318 (E_method_char_worker.__call__, E_method_int_worker.__call__):
4319 Use 'print' with function call syntax.
4320 (E_method_matcher.match): Fix tab vs space indentation mixup.
4322 2014-08-15 Yao Qi <yao@codesourcery.com>
4324 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
4327 2014-08-15 Yao Qi <yao@codesourcery.com>
4329 * gdb.cp/casts.exp: Set print symbol off.
4330 * gdb.cp/class2.exp: Likewise.
4331 * gdb.cp/overload.exp: Likewise.
4332 * gdb.cp/templates.exp: Likewise.
4334 2014-08-11 Doug Evans <dje@google.com>
4336 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
4337 (test_load_shlib): Update.
4339 2014-08-09 Yao Qi <yao@codesourcery.com>
4341 * gdb.base/display.exp: Invoke is_address_zero_readable.
4342 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
4343 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4344 * gdb.base/hbreak-unmapped.exp: Return if
4345 is_address_zero_readable returns true.
4346 * gdb.base/signest.exp: Likewise.
4347 * gdb.base/signull.exp: Likewise.
4348 * gdb.base/sigbpt.exp: Likewise.
4349 * gdb.guile/scm-disasm.exp: Do the test if
4350 is_address_zero_readable returns false.
4351 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
4352 * gdb.python/py-arch.exp: Likewise.
4353 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
4354 * lib/gdb.exp (is_address_zero_readable): New proc.
4356 2014-08-09 Yao Qi <yao@codesourcery.com>
4359 * gdb.mi/mi-var-display.exp: Make test messages unique.
4361 2014-08-04 Tom Tromey <tromey@redhat.com>
4363 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
4366 2014-08-04 Tom Tromey <tromey@redhat.com>
4368 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
4371 2014-08-01 Joel Brobecker <brobecker@adacore.com>
4373 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
4374 inner_vla_struct_object_size.
4375 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
4378 2014-07-30 Pedro Alves <palves@redhat.com>
4380 * gdb.threads/signal-command-handle-nopass.exp (test): Add
4383 2014-07-29 Yao Qi <yao@codesourcery.com>
4386 * gdb.base/until-nodebug.exp: New.
4388 2014-07-28 Doug Evans <xdje42@gmail.com>
4391 * gdb.guile/scm-parameter.exp: Add tests for trying to create
4392 previously existing parameter, and previously ambiguously spelled
4395 2014-07-28 Will Newton <will.newton@linaro.org>
4397 * gdb.base/varargs.exp: Remove KFAILs for ARM.
4399 2014-07-26 Ludovic Courtès <ludo@gnu.org>
4400 Doug Evans <xdje42@gmail.com>
4403 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
4405 2014-07-25 Pedro Alves <palves@redhat.com>
4407 * gdb.threads/signal-command-handle-nopass.c: New file.
4408 * gdb.threads/signal-command-handle-nopass.exp: New file.
4409 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
4410 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
4411 * gdb.threads/signal-delivered-right-thread.c: New file.
4412 * gdb.threads/signal-delivered-right-thread.exp: New file.
4414 2014-07-25 Pedro Alves <palves@redhat.com>
4416 * gdb.base/double-prompt-target-event-error.exp
4417 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
4419 (cancel_pagination_in_target_event): Rework double prompt
4421 * gdb.base/paginate-after-ctrl-c-running.exp
4422 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
4424 * gdb.base/paginate-bg-execution.exp
4425 (test_bg_execution_pagination_return)
4426 (test_bg_execution_pagination_cancel): Remove '-notransfer
4428 * gdb.base/paginate-execution-startup.exp
4429 (test_fg_execution_pagination_return)
4430 (test_fg_execution_pagination_cancel): Remove '-notransfer
4432 * gdb.base/paginate-inferior-exit.exp
4433 (test_paginate_inferior_exited): Remove '-notransfer <return>'
4435 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
4436 * lib/gdb.exp (pagination_prompt): Run text through
4438 (gdb_test_multiple): Match $pagination_prompt instead of
4440 (string_to_regexp): Move to lib/gdb-utils.exp.
4442 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4444 * gdb.arch/amd64-entry-value-paramref.S: New file.
4445 * gdb.arch/amd64-entry-value-paramref.cc: New file.
4446 * gdb.arch/amd64-entry-value-paramref.exp: New file.
4447 * gdb.arch/amd64-optimout-repeat.S: New file.
4448 * gdb.arch/amd64-optimout-repeat.c: New file.
4449 * gdb.arch/amd64-optimout-repeat.exp: New file.
4451 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4454 * gdb.base/statistics.exp: New file.
4456 2014-07-17 Doug Evans <dje@google.com>
4459 * gdb.base/maint.exp: Update testing of per-command stats.
4461 2014-07-16 Pedro Alves <palves@redhat.com>
4463 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
4464 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
4465 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
4466 (tfile_write_buf): New functions.
4467 (add_memory_block): Rewrite using the above.
4468 (adjust_function_address): New function.
4469 (FUNCTION_ADDRESS): New macro.
4470 (write_basic_trace_file): Remove short_x local, and use
4471 tfile_write_16. Change type of func_addr local to unsigned long
4472 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
4473 here. Cast argument of add_memory_block to char pointer.
4474 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
4475 (main): Remove parameters.
4476 * gdb.trace/tfile.exp: Remove nowarnings.
4478 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
4480 * gdb.base/debug-expr.exp: Test string evaluation with
4481 "debug expression" on.
4483 2014-07-15 Pedro Alves <palves@redhat.com>
4485 * gdb.base/reread.exp: Use clean_restart.
4487 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
4489 * gdb.arch/avr-flash-qualifer.c: New.
4490 * gdb.arch/avr-flash-qualifer.exp: New.
4492 2014-07-14 Pedro Alves <palves@redhat.com>
4494 * gdb.base/paginate-after-ctrl-c-running.c: New file.
4495 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
4497 2014-07-14 Pedro Alves <palves@redhat.com>
4499 * gdb.base/double-prompt-target-event-error.c: New file.
4500 * gdb.base/double-prompt-target-event-error.exp: New file.
4502 2014-07-14 Pedro Alves <palves@redhat.com>
4505 * gdb.base/paginate-inferior-exit.c: New file.
4506 * gdb.base/paginate-inferior-exit.exp: New file.
4508 2014-07-14 Pedro Alves <palves@redhat.com>
4511 * gdb.base/paginate-bg-execution.c: New file.
4512 * gdb.base/paginate-bg-execution.exp: New file.
4514 2014-07-14 Pedro Alves <palves@redhat.com>
4517 * gdb.base/paginate-execution-startup.c: New file.
4518 * gdb.base/paginate-execution-startup.exp: New file.
4519 * lib/gdb.exp (pagination_prompt): New global.
4520 (default_gdb_spawn): New procedure, factored out from
4522 (default_gdb_start): Adjust to call default_gdb_spawn.
4523 (gdb_spawn): New procedure.
4525 2014-07-14 Pedro Alves <palves@redhat.com>
4527 * lib/gdb.exp (gdb_assert): New procedure.
4528 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
4530 2014-07-14 Pedro Alves <palves@redhat.com>
4532 * gdb.base/execution-termios.c: New file.
4533 * gdb.base/execution-termios.exp: New file.
4535 2014-07-14 Tom Tromey <tromey@redhat.com>
4537 * gdb.cp/vla-cxx.cc: New file.
4538 * gdb.cp/vla-cxx.exp: New file.
4540 2014-07-14 Tom Tromey <tromey@redhat.com>
4542 * gdb.reverse/rerun-prec.c: New file.
4543 * gdb.reverse/rerun-prec.exp: New file.
4545 2014-07-12 Maciej W. Rozycki <macro@mips.com>
4546 Maciej W. Rozycki <macro@codesourcery.com>
4548 * lib/gdb-utils.exp: New file.
4549 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
4550 inline `gdb_init_command' processing.
4551 (gdb_start_cmd): Likewise.
4552 * lib/mi-support.exp (mi_run_cmd): Likewise.
4553 * README: Document `gdb_init_command' and `gdb_init_commands'.
4555 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4557 Fix false FAIL running under a very long directory name.
4558 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
4559 and "set print elements 10000". Twice.
4561 2014-07-11 Yao Qi <yao@codesourcery.com>
4563 * gdb.base/exprs.exp: "set print symbol off".
4565 2014-07-11 Pedro Alves <palves@redhat.com>
4567 * gdb.threads/kill.c: New file.
4568 * gdb.threads/kill.exp: New file.
4570 2014-07-10 Yao Qi <yao@codesourcery.com>
4572 * gdb.trace/tfile.c (write_basic_trace_file)
4573 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
4574 address written to trace file.
4576 2014-07-09 Pedro Alves <palves@redhat.com>
4578 * gdb.base/attach-wait-input.exp: New file.
4579 * gdb.base/attach-wait-input.c: New file.
4581 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4583 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
4584 setting up test structures.
4585 (main): Call new test function.
4586 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
4587 test function, continue into test function and walk test
4590 2014-07-02 Yao Qi <yao@codesourcery.com>
4592 * gdb.trace/entry-values.c: Define labels 'foo_start' and
4593 'bar_start' at the beginning of functions 'foo' and 'bar'
4595 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
4596 instead of 'foo' and 'bar'.
4598 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
4600 * gdb.btrace/segv.exp: New.
4601 * gdb.btrace/segv.c: New.
4603 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
4605 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
4608 2014-06-30 Mark Wielaard <mjw@redhat.com>
4610 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
4611 vulture, vilify, villar): New volatile array constants.
4612 (vindictive, vegetation): New const volatile array constants.
4613 * gdb.base/volatile.exp: Test volatile and const volatile array
4616 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
4618 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
4619 target lacks support for awatch, rwatch, or hbreak.
4621 2014-06-27 Yao Qi <yao@codesourcery.com>
4623 * gdb.multi/dummy-frame-restore.exp: New.
4624 * gdb.multi/dummy-frame-restore.c: New.
4626 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
4628 * gdb.btrace/gcore.exp: New.
4630 2014-06-23 Pedro Alves <palves@redhat.com>
4632 * gdb.base/watchpoint-reuse-slot.c: New file.
4633 * gdb.base/watchpoint-reuse-slot.exp: New file.
4635 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
4637 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
4638 progspace's filename in 'info', 'enable' and 'disable' command
4641 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4643 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
4644 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4645 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
4647 2014-06-20 Gary Benson <gbenson@redhat.com>
4649 * gdb.arch/i386-avx.exp: Fix include file location.
4650 * gdb.arch/i386-sse.exp: Likewise.
4652 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
4654 * gdb.dlang/expression.exp: New file.
4656 2014-06-19 Pedro Alves <palves@redhat.com>
4658 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
4660 (top level): ... here. Iterate running tests under different
4661 scheduler-locking settings.
4663 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
4665 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
4666 to DW_FORM_addr and use non-zero addresses.
4668 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
4671 * gdb.python/py-xmethods.cc: Add global function call counters and
4672 increment them in their respective functions. Remove "cout"
4674 * gdb.python/py-xmethods.exp: Make tests check the global function
4675 call counters instead of depending on inferior IO.
4677 2014-06-18 Don Breazeal <donb@codesourcery.com>
4679 * gdb.base/foll-fork.exp (default_fork_parent_follow):
4681 (explicit_fork_parent_follow): Deleted procedure.
4682 (explicit_fork_child_follow): Deleted procedure.
4683 (test_follow_fork): New procedure.
4684 (do_fork_tests): Replace calls to deleted procedures with
4685 calls to test_follow_fork and reset GDB for subsequent
4688 2014-06-17 Yao Qi <yao@codesourcery.com>
4690 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
4693 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
4695 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
4696 Initialize ptr and S explicitly.
4697 (skip_type_update_when_not_use_rtti_test): Likewise.
4699 2014-06-16 Keith Seitz <keiths@redhat.com>
4702 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
4703 the inferior is started.
4705 2014-06-16 Pedro Alves <palves@redhat.com>
4707 * gdb.base/break-main-file-remove-fail.c: New file.
4708 * gdb.base/break-main-file-remove-fail.exp: New file.
4709 * gdb.base/break-unload-file.exp: Use build_executable instead of
4710 prepare_for_testing.
4711 (test_break): New parameter "initial_load". Handle it.
4712 (top level): Add initial_load cmdline/file axis.
4714 2014-06-12 Tom Tromey <tromey@redhat.com>
4716 * gdb.base/completion.exp: Don't use directory name in test.
4718 2014-06-09 Gary Benson <gbenson@redhat.com>
4720 * gdb.base/sigall.c [Functions to send signals]: Reorder to
4721 separate the always-available ANSI-standard signals from the
4722 signals that require checking.
4724 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
4728 2014-06-07 Keith Seitz <keiths@redhat.com>
4732 * gdb.cp/var-tag.cc: New file.
4733 * gdb.cp/var-tag.exp: New file.
4734 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4735 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4736 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4737 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4739 2014-06-06 Doug Evans <xdje42@gmail.com>
4741 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
4743 2014-06-06 Pedro Alves <palves@redhat.com>
4745 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
4746 in target debug output instead of looking at RSP packets,
4747 disabling the test on any target that uses hardware stepping.
4750 2014-06-06 Pedro Alves <palves@redhat.com>
4752 * gdb.base/break-unload-file.exp: Fix typo.
4754 2014-06-06 Yao Qi <yao@codesourcery.com>
4756 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
4757 from "jit_function" to "^jit_function".
4759 2014-06-06 Yao Qi <yao@codesourcery.com>
4761 * gdb.base/async.c (foo): Add one statement.
4762 * gdb.base/async.exp: Get the next instruction address and
4763 match the output of "nexti" by instruction address. Match
4764 the hex address in the output of "finish".
4766 2014-06-06 Gary Benson <gbenson@redhat.com>
4768 * gdb.base/call-signals.c: Remove preprocessor conditionals
4769 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
4770 SIGSEGV and SIGTERM.
4771 * gdb.base/sigall.c: Likewise.
4772 * gdb.base/unwindonsignal.c: Likewise.
4773 * gdb.reverse/sigall-reverse.c: Likewise.
4775 2014-06-06 Yao Qi <yao@codesourcery.com>
4777 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
4778 readable, skip the test.
4780 2014-06-06 Yao Qi <yao@codesourcery.com>
4782 * gdb.threads/staticthreads.c (thread_function): Move the line
4783 setting breakpoint on forward.
4784 * gdb.threads/staticthreads.exp: Update comments.
4786 2014-06-05 Ludovic Courtès <ludo@gnu.org>
4788 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
4789 "history-append! type error".
4791 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
4793 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
4794 erroneous dprintf expected input.
4796 2014-06-04 Doug Evans <xdje42@gmail.com>
4798 * gdb.guile/scm-generics.exp: Delete.
4800 2014-06-04 Doug Evans <xdje42@gmail.com>
4802 * gdb.guile/scm-breakpoint.exp: Update.
4803 Add tests for breakpoint registration.
4805 2014-06-04 Tom Tromey <tromey@redhat.com>
4807 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
4809 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
4810 inner_vla_struct, vla_union types. Initialize objects of those
4811 types and compute their sizes.
4813 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
4814 Hui Zhu <hui@codesourcery.com>
4816 * gdb.base/fileio.exp: Add test for shell not available as well as
4818 * gdb.base/fileio.c (test_system): Check for shell twice.
4820 2014-06-04 Yao Qi <yao@codesourcery.com>
4822 * gdb.base/auto-connect-native-target.exp: Remove redundant
4823 space from the regexp pattern.
4825 2014-06-04 Yao Qi <yao@codesourcery.com>
4827 * gdb.base/default.exp: Replace "child" with "native" in
4830 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4832 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
4833 * gdb.python/py-xmethods.exp: New tests to test xmethods.
4834 * gdb.python/py-xmethods.py: Python script supporting the
4835 new testcase and tests.
4837 2014-06-03 Joel Brobecker <brobecker@adacore.com>
4838 Pedro Alves <palves@redhat.com>
4840 PR breakpoints/17000
4841 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
4842 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
4844 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
4846 * gdb.base/subst.exp: Add tests to verify partial path matching
4849 2014-06-03 Pedro Alves <palves@redhat.com>
4851 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
4852 target that doesn't use software single-stepping.
4854 2014-06-03 Pedro Alves <palves@redhat.com>
4856 PR breakpoints/17000
4857 * gdb.base/sss-bp-on-user-bp-2.c: New file.
4858 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
4860 2014-06-02 Doug Evans <xdje42@gmail.com>
4862 * gdb.guile/scm-parameter.exp: New file.
4864 2014-06-02 Doug Evans <xdje42@gmail.com>
4866 * gdb.guile/scm-cmd.c: New file.
4867 * gdb.guile/scm-cmd.exp: New file.
4869 2014-06-02 Doug Evans <xdje42@gmail.com>
4871 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
4872 pretty-printer lookup.
4873 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
4874 (make-pp_s-printer): Call it.
4875 (make-pretty-printer-from-dict): New function.
4876 (lookup-pretty-printer-maker-from-dict): New function.
4877 (*pretty-printer*): Simplify.
4878 (make-objfile-pp_s-printer): New function.
4879 (install-objfile-pretty-printers!): New function.
4880 (make-progspace-pp_s-printer): New function.
4881 (install-progspace-pretty-printers!): New function.
4882 * gdb.guile/scm-progspace.c: New file.
4883 * gdb.guile/scm-progspace.exp: New file.
4885 2014-06-02 Pedro Alves <palves@redhat.com>
4887 * gdb.base/dprintf-bp-same-addr.c: New file.
4888 * gdb.base/dprintf-bp-same-addr.exp: New file.
4890 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4892 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
4893 * gdb.arch/powerpc-power.s: Likewise.
4895 2014-06-02 Joel Brobecker <brobecker@adacore.com>
4897 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
4899 2014-06-01 Yao Qi <yao@codesourcery.com>
4901 * gdb.base/watchpoint.exp (test_watch_location): Check null
4902 pointer can be dereferenced. If not, do the test, otherwise
4905 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
4907 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
4909 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
4911 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
4913 * gdb.arch/amd64-invalid-stack-middle.S: New file.
4914 * gdb.arch/amd64-invalid-stack-middle.c: New file.
4915 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
4916 * gdb.arch/amd64-invalid-stack-top.c: New file.
4917 * gdb.arch/amd64-invalid-stack-top.exp: New file.
4919 2014-05-30 Pedro Alves <palves@redhat.com>
4921 PR breakpoints/17000
4922 * gdb.base/sss-bp-on-user-bp.c: New file.
4923 * gdb.base/sss-bp-on-user-bp.exp: New file.
4925 2014-05-30 David Blaikie <dblaikie@gmail.com>
4927 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
4928 gnu_inline semantics via attribute.
4929 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
4930 source explicitly specifies the required semantics.
4932 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
4934 * gdb.reverse/sigall-reverse.exp: Fix a typo.
4936 2014-05-29 Pedro Alves <palves@redhat.com>
4937 Tom Tromey <tromey@redhat.com>
4939 * gdb.base/async-shell.exp: Don't enable target-async.
4940 * gdb.base/async.exp
4941 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
4943 (top level): Don't test with "target-async".
4944 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
4945 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
4946 * gdb.base/inferior-died.exp: Don't enable target-async.
4947 * gdb.base/interrupt-noterm.exp: Likewise.
4948 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
4949 * gdb.mi/mi-nonstop-exit.exp: Likewise.
4950 * gdb.mi/mi-nonstop.exp: Likewise.
4951 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4952 * gdb.mi/mi-nsintrall.exp: Likewise.
4953 * gdb.mi/mi-nsmoribund.exp: Likewise.
4954 * gdb.mi/mi-nsthrexec.exp: Likewise.
4955 * gdb.mi/mi-watch-nonstop.exp: Likewise.
4956 * gdb.multi/watchpoint-multi.exp: Adjust comment.
4957 * gdb.python/py-evsignal.exp: Don't enable target-async.
4958 * gdb.python/py-evthreads.exp: Likewise.
4959 * gdb.python/py-prompt.exp: Likewise.
4960 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
4961 * gdb.server/solib-list.exp: Don't enable target-async.
4962 * gdb.threads/thread-specific-bp.exp: Likewise.
4963 * lib/mi-support.exp: Adjust to use mi-async.
4965 2014-05-29 Pedro Alves <palves@redhat.com>
4968 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
4969 reason, even in sync mode.
4971 2014-05-29 Pedro Alves <palves@redhat.com>
4972 Hui Zhu <hui@codesourcery.com>
4975 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
4976 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
4977 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
4978 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
4980 2014-05-28 Joel Brobecker <brobecker@adacore.com>
4982 * config/monitor.exp (gdb_target_monitor): Replace use of
4983 "set remotebaud" by "set serial baud".
4985 2014-05-26 Andy Wingo <wingo@igalia.com>
4987 * gdb.guile/scm-breakpoint.exp:
4988 * gdb.guile/scm-gsmob.exp: Update to use plain old object
4989 properties instead of gdb-object-properties.
4991 2014-05-26 Yao Qi <yao@codesourcery.com>
4993 * gdb.server/no-thread-db.exp: Specify source file name
4994 explicitly when setting a breakpoint.
4996 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4998 * gdb.btrace/vdso.c: New.
4999 * gdb.btrace/vdso.exp: New.
5001 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5003 * gdb.base/gcore.exp (capture_command_output): Move ...
5004 * lib/gdb.exp (capture_command_output): ... here.
5006 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5008 * gdb.btrace/data.exp: Test memory access during btrace replay.
5010 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
5012 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
5014 2014-05-21 Pedro Alves <palves@redhat.com>
5017 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
5018 (top level): Test that output related to execution commands is
5019 sent to the console with CLI commands, but not with MI commands.
5020 Test that breakpoint events are always mirrored to the console.
5021 Also expect the new source line to be output after a "next" in
5022 async mode too. Make it a pass/fail test.
5023 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
5025 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
5027 2014-05-21 Pedro Alves <palves@redhat.com>
5029 * gdb.base/list.exp (build_pattern, test_list): New procedures.
5030 Use them to test variations of "list" after reaching a breakpoint.
5031 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
5032 Test "list" with listsize 10 after reaching a breakpoint.
5033 * gdb.python/python.exp (decode_line current location line
5034 number): Adjust expected line number.
5036 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
5038 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
5039 behavior for $args, pass it directly to "run".
5041 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
5043 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
5046 2014-05-21 Pedro Alves <palves@redhat.com>
5048 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
5049 auto-connect-native-target off".
5050 * gdb.base/auto-connect-native-target.c: New file.
5051 * gdb.base/auto-connect-native-target.exp: New file.
5053 2014-05-21 Pedro Alves <palves@redhat.com>
5055 * gdb.base/default.exp: Test "target native" instead of "target
5058 2014-05-21 Mark Wielaard <mjw@redhat.com>
5060 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
5062 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5064 Fix TLS access for -static -pthread.
5065 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
5066 <HAVE_TLS> (thread_function, main): Initialize it.
5067 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
5069 <$have_tls != "">: Check TLSVAR.
5071 2014-05-21 Pedro Alves <palves@redhat.com>
5073 * gdb.base/dcache-line-read-error.c: New.
5074 * gdb.base/dcache-line-read-error.exp: New.
5076 2014-05-20 Pedro Alves <palves@redhat.com>
5078 * gdb.base/compare-sections.c: New file.
5079 * gdb.base/compare-sections.exp: New file.
5081 2014-05-20 Pedro Alves <palves@redhat.com>
5083 * gdb.base/break-idempotent.c: New file.
5084 * gdb.base/break-idempotent.exp: New file.
5086 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
5088 * gdb.btrace/nohist.exp: New.
5090 2014-05-20 Yao Qi <yao@codesourcery.com>
5092 * lib/gdb.exp (gdb_init): Set timeout if test file is under
5093 gdb.reverse directory and gdb_reverse_timeout exists in board
5095 * README: Document gdb_reverse_timeout.
5097 2014-05-20 Yao Qi <yao@codesourcery.com>
5099 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
5100 'test_file_name'. Treat args as a string instead of a list.
5101 (gdb_init): Rename argument 'args' by 'test_file_name'.
5103 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5105 * gdb.arch/powerpc-power.exp: New file.
5106 * gdb.arch/powerpc-power.s: New file.
5108 2014-05-16 Doug Evans <dje@google.com>
5110 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
5111 * gdb.base/completion.exp: Check that all expected files exist
5112 before doing file completion.
5114 2014-05-16 Doug Evans <dje@google.com>
5116 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
5118 (do_syscall_tests_without_xml): Update.
5120 2014-05-16 Pedro Alves <palves@redhat.com>
5122 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
5123 instead of "unknown output after running".
5125 2014-05-16 Yao Qi <yao@codesourcery.com>
5127 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
5128 file1.txt from host at the end.
5129 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5131 2014-05-15 Doug Evans <dje@google.com>
5133 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
5134 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
5135 loading file. Add test for TU lookup.
5137 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
5139 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
5140 calling "-exec-arguments" or "set args" before running the
5143 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
5145 * lib/mi-support.exp (mi_expect_stop): Expect message for
5146 inferiors that exit with non-zero exit code.
5148 2014-05-14 Yao Qi <yao@codesourcery.com>
5150 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
5151 match absolute path on remote host.
5152 (test_file_list_exec_source_files): Remove "/" from the
5155 2014-05-14 Yao Qi <yao@codesourcery.com>
5157 * boards/local-remote-host-notty.exp (${board}_file): New
5160 2014-05-07 Kyle McMartin <kyle@redhat.com>
5162 Pushed by Joel Brobecker <brobecker@adacore.com>.
5163 * gdb.arch/aarch64-atomic-inst.c: New file.
5164 * gdb.arch/aarch64-atomic-inst.exp: New file.
5166 2014-05-07 Yao Qi <yao@codesourcery.com>
5168 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
5169 in current context" too.
5171 2014-05-05 Keith Seitz <keiths@redhat.com>
5173 * gdb.linespec/ls-dollar.exp: Add test for linespec
5174 file:convenience_variable.
5176 2014-05-05 Yao Qi <yao@codesourcery.com>
5178 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
5179 traceframes into tfile and ctf trace files. Read data from
5180 trace file and test collected data.
5181 (gdb_collect_locals_test): Likewise.
5182 (gdb_unavailable_registers_test): Likewise.
5183 (gdb_unavailable_floats): Likewise.
5184 (gdb_collect_globals_test): Likewise.
5185 (top-level): Append "ctf" to trace_file_targets if GDB
5188 2014-05-05 Yao Qi <yao@codesourcery.com>
5190 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
5192 (gdb_collect_args_test_1): ... it. New proc.
5193 (gdb_collect_locals_test): Move some code to ...
5194 (gdb_collect_locals_test_1): ... it. New proc.
5195 (gdb_unavailable_registers_test): Move some code to ...
5196 (gdb_unavailable_registers_test_1): ... it. New proc.
5197 (gdb_unavailable_floats): Move some code to ...
5198 (gdb_unavailable_floats_1): ... it. New proc.
5200 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5202 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
5203 probes to test for bitness recognition.
5204 * gdb.arch/amd64-stap-optional-prefix.exp
5205 (test_probe_value_without_reg): New procedure.
5206 Add code to test for different kinds of bitness.
5208 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5210 PR breakpoints/16889
5211 * gdb.arch/amd64-stap-optional-prefix.S: New file.
5212 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5214 2014-05-01 Pedro Alves <palves@redhat.com>
5216 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
5217 gdb_file_cmd if no file is specified.
5218 * boards/native-extended-gdbserver.exp (gdb_load): Use the
5219 last_loaded_file to set the remote exec-file.
5221 2014-05-01 Pedro Alves <palves@redhat.com>
5223 * boards/local-remote-host.exp: New file.
5225 2014-05-01 Pedro Alves <palves@redhat.com>
5227 * boards/local-remote-host.exp: Rename to ...
5228 * boards/local-remote-host-notty.exp: ... this.
5230 2014-04-28 Joel Brobecker <brobecker@adacore.com>
5232 * gdb.ada/dyn_arrayidx: New testcase.
5234 2014-04-26 Yao Qi <yao@codesourcery.com>
5236 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
5237 and compute the length of function main. Save it in
5239 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
5240 (top-level): Use gdb_compile to compile objects into
5241 executable and restart GDB. Remove invocation to
5242 prepare_for_testing.
5244 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
5245 Pedro Alves <palves@redhat.com>
5248 * gdb.multi/multi-attach.c: New file.
5249 * gdb.multi/multi-attach.exp: New file.
5251 2014-04-25 Pedro Alves <palves@redhat.com>
5253 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
5255 (top level): Test that "set remote conditional-breakpoints-packet
5256 off" works as intended.
5257 * gdb.base/dprintf.exp: Test that "set remote
5258 breakpoint-commands-packet off" works as intended.
5259 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
5261 (top level): Call it.
5262 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
5263 remote fast-tracepoints-packet off" works as intended.
5264 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
5265 * lib/gdb.exp (gdb_is_target_remote): ... here.
5267 2014-04-24 David Blaikie <dblaikie@gmail.com>
5269 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
5270 ensure clang would not discard them.
5271 * gdb.base/gdbvars.c: Ditto.
5272 * gdb.base/memattr.c: Ditto.
5273 * gdb.base/whatis.c: Ditto.
5274 * gdb.python/py-prettyprint.c: Ditto.
5275 * gdb.trace/actions.c: Ditto.
5276 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
5277 ensure clang would not discard it.
5279 2014-04-24 David Blaikie <dblaikie@gmail.com>
5281 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
5282 clang to emit the full definition of type required by the test
5283 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
5285 2014-04-24 David Blaikie <dblaikie@gmail.com>
5287 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
5288 coax Clang into emitting the definition of the type.
5289 * gdb.cp/pr10728-x.h (y): Ditto.
5290 * gdb.cp/pr10728-y.cc (y): Ditto.
5292 2014-04-24 David Blaikie <dblaikie@gmail.com>
5294 * gdb.base/label.exp: XFAIL label related tests under Clang.
5295 * gdb.cp/cplabel.exp: Ditto.
5296 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
5297 under Clang those using labels.
5299 2014-04-25 Yao Qi <yao@codesourcery.com>
5301 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
5303 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
5304 partial_label and double_label.
5306 2014-04-24 David Blaikie <dblaikie@gmail.com>
5308 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
5310 2014-04-24 David Blaikie <dblaikie@gmail.com>
5312 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
5313 of the function to work across GCC and Clang.
5314 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
5315 pointer types (const void ** const V void **).
5317 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
5318 Walfred Tedeschi <walfred.tedeschi@intel.com>
5320 * Makefile.in (EXECUTABLES): Added i386-avx512.
5321 * gdb.arch/i386-avx512.c: New file.
5322 * gdb.arch/i386-avx512.exp: Likewise.
5324 2014-04-23 Keith Seitz <keiths@redhat.com>
5326 * lib/mi-support.exp (mi_list_breakpoints): Delete.
5327 (mi_make_breakpoint_table): New procedure.
5328 (mi_create_breakpoint): Use mi_make_breakpoint
5329 and return the result.
5330 (mi_make_breakpoint): New procedure.
5331 (mi_build_kv_pairs): New procedure.
5333 * gdb.mi/mi-break.exp: Remove unused globals,
5334 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
5335 All callers updated.
5336 * gdb.mi/mi-dprintf.exp: Use variable to track command
5338 Update all callers of mi_create_breakpoint and use
5339 mi_make_breakpoint_table.
5340 Remove any unused global variables.
5341 * gdb.mi/mi-nonstop.exp: Likewise.
5342 * gdb.mi/mi-nsintrall.exp: Likewise.
5343 * gdb.mi/mi-nsmoribund.exp: Likewise.
5344 * gdb.mi/mi-nsthrexec.exp: Likewise.
5345 * gdb.mi/mi-reverse.exp: Likewise.
5346 * gdb.mi/mi-simplerun.exp: Likewise.
5347 * gdb.mi/mi-stepn.exp: Likewise.
5348 * gdb.mi/mi-syn-frame.exp: Likewise.
5349 * gdb.mi/mi-until.exp: Likewise.
5350 * gdb.mi/mi-var-cp.exp: Likewise.
5351 * gdb.mi/mi-var-display.exp: Likewise.
5352 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
5353 * gdb.mi/mi2-var-child.exp: Likewise.
5354 * gdb.mi/mi-vla-c99.exp: Likewise.
5355 * lib/mi-support.exp: Likewise.
5357 From Ian Lance Taylor <iant@cygnus.com>:
5358 * lib/gdb.exp (parse_args): New procedure.
5360 2014-04-23 Pedro Alves <palves@redhat.com>
5362 * gdb.base/break-unload-file.c: New file.
5363 * gdb.base/break-unload-file.exp: New file.
5364 * gdb.base/sym-file-lib.c (baz): New function.
5365 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
5367 (load): Store the segment's mapped size.
5368 (unload): New function.
5369 (unload_shlib): New function.
5370 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
5371 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
5372 set a breakpoint at baz, and call it.
5373 * gdb.base/sym-file.exp: New tests for stale breakpoint
5376 2014-04-23 Pedro Alves <palves@redhat.com>
5378 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
5379 * gdb.base/hbreak-in-shr-unsupported.c: New file.
5380 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
5381 * gdb.base/hbreak-unmapped.c: New file.
5382 * gdb.base/hbreak-unmapped.exp: New file.
5383 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
5384 * lib/gdb.exp (gdb_is_target_remote): ... here.
5386 2014-04-22 Pedro Alves <palves@redhat.com>
5388 * gdb.base/consecutive-step-over.c: New file.
5389 * gdb.base/consecutive-step-over.exp: New file.
5391 2014-04-22 Pedro Alves <palves@redhat.com>
5393 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
5394 instead of send_gdb/gdb_expect.
5396 2014-04-22 Yao Qi <yao@codesourcery.com>
5398 * lib/trace-support.exp (generate_tracefile): New procedure.
5399 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
5401 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
5402 if generate_tracefile returns 1.
5404 2014-04-18 Tom Tromey <palves@redhat.com>
5405 Pedro alves <tromey@redhat.com>
5408 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
5409 with a backtrace limit.
5410 * gdb.python/py-frame-inline.exp: Test running to an inline
5411 function with a backtrace limit, and printing the newest frame.
5412 * gdb.python/py-frame-inline.c (main): Call f.
5414 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
5416 * gdb.java/jnpe.exp: Drop srcdir from untested path.
5418 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
5420 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
5421 Drop prefix from unsupported source file path.
5423 2014-04-17 Yao Qi <yao@codesourcery.com>
5425 * lib/gdb.exp (with_target_charset): New proc.
5426 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
5427 with_target_charset.
5428 (test_print_strings): Likewise.
5429 (test_repeat_bytes): Likewise.
5430 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
5433 2014-04-16 Keith Seitz <keiths@redhat.com>
5436 * gdb.dwarf2/corrupt.c: New file.
5437 * gdb.dwarf2/corrupt.exp: New file.
5439 2014-04-16 Keith Seitz <keiths@redhat.com>
5442 * gdb.cp/namelessclass.cc: New file.
5443 * gdb.cp/namelessclass.exp: New file.
5444 * gdb.cp/namelessclass.S: New file.
5446 2014-04-16 Doug Evans <dje@google.com>
5448 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
5450 (gdbserver_default_get_comm_port): New function.
5451 (gdbserver_start): Check if board file provided
5452 "gdbserver,get_comm_port" and use it if so.
5453 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
5454 (gdb,socketport): Set to "stdio".
5455 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
5456 (stdio_gdbserver_template): Delete.
5457 (${board}_get_remote_address): Update.
5458 (${board}_build_remote_cmd): Delete.
5459 (${board}_get_comm_port): New function.
5460 (${board}_spawn): Update.
5461 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
5463 (${board}_get_remote_address): Update.
5464 (${board}_get_comm_port): New function.
5466 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
5468 * gdb.base/memattr.exp: Improve regexps to handle memory regions
5469 appearing in any order.
5471 2014-04-15 Doug Evans <dje@google.com>
5473 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
5474 uninitialized value of "description".
5476 2014-04-15 Keith Seitz <keiths@redhat.com>
5478 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
5479 Remove unused globals.
5480 (test_running_the_program): Likewise.
5481 (test_controlled_execution): Likewise.
5482 (test_controlling_breakpoints): Likewise.
5483 (test_program_termination): Likewise.
5485 2014-04-15 Keith Seitz <keiths@redhat.com>
5487 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
5489 (test_rbreak_creation_and_listing): Likewise.
5490 (test_ignore_count): Likewise.
5491 (test_error): Likewise.
5493 2014-04-15 Pedro Alves <palves@redhat.com>
5495 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
5496 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
5498 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
5499 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
5500 to sym-file-loader.c.
5501 (struct library): Forward declare.
5502 (load_shlib, lookup_function): Change prototypes.
5503 (find_shstrtab, find_strtab, find_shdr, find_symtab)
5504 (translate_offset): Remove declarations.
5505 (get_text_addr): New declaration.
5506 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
5507 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
5509 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
5510 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
5511 here from sym-file-loader.h.
5512 (struct library): New structure.
5513 (load_shlib, lookup_function): Change prototypes and adjust to
5514 work with a struct library.
5515 (find_shstrtab, find_strtab, find_shdr, find_symtab)
5516 (translate_offset): Make static.
5517 (get_text_addr): New function.
5518 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
5520 2014-04-15 Pedro Alves <palves@redhat.com>
5522 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
5524 2014-04-15 Pedro Alves <palves@redhat.com>
5526 * gdb.base/sym-file-loader.c: Include <limits.h>.
5527 (SELF_LINK): New define.
5528 (get_origin): New function.
5529 (load_shlib): Use it.
5530 * gdb.base/sym-file.exp: Don't early return if the target is
5531 remote. Use runto_main, and issue fail is that fails. Use
5533 (shlib_name): Delete.
5534 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
5536 2014-04-15 Pedro Alves <palves@redhat.com>
5538 * gdb.base/sym-file.exp: Remove regex characters from test
5539 message. Don't refer to breakpoint numbers in test messages.
5541 2014-04-14 Keith Seitz <keiths@redhat.com>
5544 * gdb.cp/var-tag.cc: New file.
5545 * gdb.cp/var-tag.exp: New file.
5546 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5547 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5548 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5549 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5551 2014-04-14 Tom Tromey <tromey@redhat.com>
5553 * gdb.cp/classes.exp (test_enums): Handle underlying type.
5554 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
5556 * gdb.cp/enum-class.exp: New file.
5557 * gdb.cp/enum-class.cc: New file.
5559 2014-04-14 Tom Tromey <tromey@redhat.com>
5561 * gdb.dwarf2/enum-type.exp: New file.
5563 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5565 * gdb.mi/mi-vla-c99.exp: New file.
5566 * gdb.mi/vla.c: New file.
5568 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5570 * gdb.base/vla-datatypes.c: New file.
5571 * gdb.base/vla-datatypes.exp: New file.
5573 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5575 * gdb.base/vla-ptr.c: New file.
5576 * gdb.base/vla-ptr.exp: New file.
5578 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5580 * gdb.dwarf2/count.exp: New file.
5582 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5584 * gdb.base/vla-sideeffect.c: New file.
5585 * gdb.base/vla-sideeffect.exp: New file.
5587 2014-04-14 David Blaikie <dblaikie@gmail.com>
5589 * gdb.mi/non-stop.c: Add return value for non-void function return
5591 * gdb.threads/staticthreads.c: Ditto.
5593 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
5594 Doug Evans <xdje42@gmail.com>
5596 * gdb.guile/scm-value.c: Improve test case.
5597 * gdb.guile/scm-value.exp: Add new test.
5599 2014-04-11 David Blaikie <dblaikie@gmail.com>
5601 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
5602 override Clang's default.
5604 2014-04-11 Joel Brobecker <brobecker@adacore.com>
5606 Revert the following changes (regressions):
5608 * gdb.base/vla-sideeffect.c: New file.
5609 * gdb.base/vla-sideeffect.exp: New file.
5611 * gdb.dwarf2/count.exp: New file.
5613 * gdb.base/vla-multi.c: New file.
5614 * gdb.base/vla-multi.exp: New file.
5616 * gdb.base/vla-ptr.c: New file.
5617 * gdb.base/vla-ptr.exp: New file.
5619 * gdb.base/vla-datatypes.c: New file.
5620 * gdb.base/vla-datatypes.exp: New file.
5622 * gdb.mi/mi-vla-c99.exp: New file.
5623 * gdb.mi/vla.c: New file.
5625 2014-04-11 Keith Seitz <keiths@redhat.com>
5628 * gdb.cp/cpsizeof.exp: New file.
5629 * gdb.cp/cpsizeof.cc: New file.
5631 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5633 * gdb.mi/mi-vla-c99.exp: New file.
5634 * gdb.mi/vla.c: New file.
5636 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5638 * gdb.base/vla-datatypes.c: New file.
5639 * gdb.base/vla-datatypes.exp: New file.
5641 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5643 * gdb.base/vla-ptr.c: New file.
5644 * gdb.base/vla-ptr.exp: New file.
5646 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5648 * gdb.base/vla-multi.c: New file.
5649 * gdb.base/vla-multi.exp: New file.
5651 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5653 * gdb.dwarf2/count.exp: New file.
5655 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5657 * gdb.base/vla-sideeffect.c: New file.
5658 * gdb.base/vla-sideeffect.exp: New file.
5660 2014-04-11 Yao Qi <yao@codesourcery.com>
5662 * gdb.base/completion.exp: Check file exists before running tests
5665 2014-04-10 Pedro Alves <palves@redhat.com>
5667 * gdb.base/cond-eval-mode.c: New file.
5668 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
5669 prepare_for_testing to build the new file. Check result of
5671 (test_break, test_watch): New procedures.
5672 (top level): Use them.
5674 2014-04-08 Pierre Muller <muller@sourceware.org>
5676 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
5677 Ctrl-V use for mingw hosts.
5679 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
5681 * gdb.python/py-value.c: Improve test case.
5682 * gdb.python/py-value.exp: Add new test.
5684 2014-04-07 David Blaikie <dblaikie@gmail.com>
5686 * lib/compiler.c: Identify the clang compiler.
5687 * lib/compiler.cc: Ditto.
5689 2014-04-03 Yao Qi <yao@codesourcery.com>
5691 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
5693 2014-04-01 Anton Blanchard <anton@samba.org>
5695 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
5698 2014-04-01 Anton Blanchard <anton@samba.org>
5700 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
5701 prepare_for_testing.
5703 2014-04-01 Anton Blanchard <anton@samba.org>
5705 * gdb.arch/ppc64-atomic-inst.c: Remove.
5706 * gdb.arch/ppc64-atomic-inst.S: New file.
5707 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
5709 2014-03-31 Doug Evans <dje@google.com>
5711 * gdb.base/print-symbol-loading-lib.c: New file.
5712 * gdb.base/print-symbol-loading-main.c: New file.
5713 * gdb.base/print-symbol-loading.exp: New file.
5715 2014-03-31 Yao Qi <yao@codesourcery.com>
5717 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
5719 2014-03-28 Joel Brobecker <brobecker@adacore.com>
5721 * gdb.ada/mi_dyn_arr: New testcase.
5723 2014-03-27 Doug Evans <dje@google.com>
5725 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
5727 2014-03-27 Yao Qi <yao@codesourcery.com>
5729 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
5730 if target is nios2-*-*.
5732 2014-03-26 Yao Qi <yao@codesourcery.com>
5734 * lib/gdb.exp (readline_is_used): New proc.
5735 * gdb.base/completion.exp: Move tests on command complete up.
5736 Skip the rest of tests if readline is not used.
5737 * gdb.ada/complete.exp: Skp the test if readline is not
5739 * gdb.base/filesym.exp: Likewise.
5740 * gdb.base/macscp.exp: Likewise.
5741 * gdb.base/readline-ask.exp: Likewise.
5742 * gdb.base/readline.exp: Likewise.
5743 * gdb.python/py-cmd.exp: Likewise.
5744 * gdb.trace/tfile.exp: Likewise.
5746 2014-03-26 Yao Qi <yao@codesourcery.com>
5748 * gdb.base/macscp.exp: Fix code format issues.
5750 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
5752 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
5753 * gdb.asm/powerpc64le.inc: New file.
5755 2014-03-25 Pedro Alves <palves@redhat.com>
5756 Doug Evans <dje@google.com>
5758 * gdb.base/source-execution.c: New file.
5759 * gdb.base/source-execution.exp: New file.
5760 * gdb.base/source-execution.gdb: New file.
5762 2014-03-24 Doug Evans <dje@google.com>
5764 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
5767 2014-03-24 Hui Zhu <hui@codesourcery.com>
5768 Pedro Alves <palves@redhat.com>
5770 PR breakpoints/16101
5771 * gdb.base/dprintf.exp: Use unsupported rather than changing the
5772 test pass/fail messages. Detect missing support for dprintf when
5773 breakpoints are actually inserted.
5774 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
5775 breakpoints are actually inserted.
5776 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
5779 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5781 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
5783 2014-03-22 Doug Evans <xdje42@gmail.com>
5785 * gdb.python/python.exp (python not supported): Verify multi-line
5786 python command issues an error.
5787 * gdb.guile/guile.exp (guile not supported): Verify multi-line
5788 guile command issues an error.
5790 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
5792 * gdb.threads/thread-specific.exp: Handle the lack of usable
5793 $this_breakpoint and $this_thread.
5795 2014-03-21 Hui Zhu <hui@codesourcery.com>
5797 * gdb.base/attach.exp (do_command_attach_tests): New.
5799 2014-03-20 Tom Tromey <tromey@redhat.com>
5800 Pedro Alves <palves@redhat.com>
5803 * gdb.base/condbreak-call-false.c: New file.
5804 * gdb.base/condbreak-call-false.exp: New file.
5806 2014-03-20 Pedro Alves <palves@redhat.com>
5808 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
5810 (block_signals, unblock_signals): Delete.
5811 (child_function_2, main): Remove references to deleted variable
5814 2014-03-20 Pedro Alves <palves@redhat.com>
5816 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
5817 Use pthread_kill to signal thread 2.
5818 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5819 Adjust to make the test send itself a signal rather than using the
5820 host's "kill" command.
5822 2014-03-20 Pedro Alves <palves@redhat.com>
5824 * gdb.threads/multiple-step-overs.c: New file.
5825 * gdb.threads/multiple-step-overs.exp: New file.
5826 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5827 Adjust expected infrun debug output.
5829 2014-03-20 Pedro Alves <palves@redhat.com>
5831 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
5832 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
5834 2014-03-20 Pedro Alves <palves@redhat.com>
5837 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
5838 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
5839 of gdb_test_multiple.
5840 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
5841 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
5843 2014-03-20 Pedro Alves <palves@redhat.com>
5845 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
5846 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
5848 2014-03-19 Pedro Alves <palves@redhat.com>
5850 * gdb.base/async.exp: Remove early return.
5852 2014-03-19 Pedro Alves <palves@redhat.com>
5854 * gdb.base/async.exp (step& tests): Pass explicit test messages.
5856 2014-03-19 Pedro Alves <palves@redhat.com>
5858 * gdb.base/async.exp (test_background): Expect \r\n after
5859 "completed." in the fail pattern.
5861 2014-03-19 Pedro Alves <palves@redhat.com>
5863 * gdb.base/async.exp (test_background): New procedure.
5864 Use it for all background execution command tests.
5866 2014-03-19 Pedro Alves <palves@redhat.com>
5868 * gdb.base/async.exp: Use prepare_for_testing.
5870 2014-03-19 Pedro Alves <palves@redhat.com>
5872 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
5875 2014-03-19 Pedro Alves <palves@redhat.com>
5877 * gdb.base/async.c (main): Add "jump here" and "until here" line
5879 * gdb.base/async.exp (jump_here): New global.
5880 (jump& test): Use it.
5881 (until_here): New global.
5882 (until& test): Use it.
5884 2014-03-19 Pedro Alves <palves@redhat.com>
5886 * gdb.base/async.exp: Don't frob gdb_protocol.
5888 2014-03-18 Doug Evans <xdje42@gmail.com>
5890 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
5891 Fix spelling of exec-done-display.
5893 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5896 * gdb.base/gdb-sigterm.c: New file.
5897 * gdb.base/gdb-sigterm.exp: New file.
5899 2014-03-18 Pedro Alves <palves@redhat.com>
5902 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
5903 * lib/mi-support.exp (mi_expect_stop): Add special handling for
5906 2014-03-17 Joel Brobecker <brobecker@adacore.com>
5908 * gdb.ada/pckd_arr_ren: New testcase.
5910 2014-03-13 Doug Evans <xdje42@gmail.com>
5913 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
5914 collect after discarding symbols.
5916 2014-03-13 Ludovic Courtès <ludo@gnu.org>
5917 Doug Evans <xdje42@gmail.com>
5919 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
5920 to history survives a gc.
5922 2014-03-13 Pedro Alves <palves@redhat.com>
5924 * gdb.base/default.exp: Don't test "target procfs".
5926 2014-03-13 Pedro Alves <palves@redhat.com>
5928 * gdb.base/default.exp: Update "target child" and "target procfs"
5929 tests to not expect "Unix".
5931 2014-03-12 Tom Tromey <tromey@redhat.com>
5933 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
5934 New procs. Add target-async tests.
5935 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
5936 Add target-async tests.
5938 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5940 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
5941 'func_start' and 'func_end' for the beginning and end of the
5942 function code, respectively.
5943 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
5944 'func_end' instead of 'func' and 'main'.
5946 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5948 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
5949 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
5950 generate the debug info assembler source.
5952 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5954 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
5955 * gdb.dwarf2/arr-subrange.exp: Likewise.
5956 * gdb.dwarf2/dwz.exp: Likewise.
5957 * gdb.dwarf2/method-ptr.exp: Likewise.
5958 * gdb.dwarf2/missing-sig-type.exp: Likewise.
5959 * gdb.dwarf2/subrange.exp: Likewise.
5960 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
5961 * gdb.dwarf2/implptrpiece.exp: Likewise.
5962 * gdb.dwarf2/nostaticblock.exp: Likewise.
5964 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5966 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
5967 directory to absolute path name arguments.
5969 2014-03-10 Joel Brobecker <brobecker@adacore.com>
5971 * gdb.ada/tagged_access: New testcase.
5973 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
5975 * gdb.btrace/data.exp: Update expected output.
5977 2014-03-06 Yao Qi <yao@codesourcery.com>
5979 * gdb.trace/pr16508.exp: New file.
5981 2014-03-05 Pedro Alves <palves@redhat.com>
5984 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
5986 (top level): Adjust to use it. Add tests that exercise breakpoint
5987 interaction with the code-cache.
5989 2014-02-26 Ludovic Courtès <ludo@gnu.org>
5991 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
5992 test for 'history-append!'.
5994 2014-02-26 Joel Brobecker <brobecker@adacore.com>
5996 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
5997 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
5998 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
5999 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
6000 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
6001 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
6003 2014-02-26 Joel Brobecker <brobecker@adacore.com>
6005 * testsuite/gdb.python/py-pp-re-notag.c: New file.
6006 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
6007 * testsuite/gdb.python/py-pp-re-notag.p: New file.
6009 2014-02-26 Joel Brobecker <brobecker@adacore.com>
6011 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
6013 2014-02-26 Joel Brobecker <brobecker@adacore.com>
6015 * gdb.dwarf2/arr-stride.c: New file.
6016 * gdb.dwarf2/arr-stride.exp: New file.
6018 2014-02-26 Pedro Alves <palves@redhat.com>
6020 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
6021 that won't ever trigger. Make sure that GDB reports the correct
6022 breakpoint that caused the stop.
6024 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6027 * gdb.base/auto-load-script: New file.
6028 * gdb.base/auto-load.c: New file.
6029 * gdb.base/auto-load.exp: New file.
6032 * gdb.base/auto-load.exp: Fix out-of-srctree run.
6034 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6036 Fix dw2-icycle.exp -fsanitize=address GDB crash.
6037 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
6039 2014-02-24 Doug Evans <dje@google.com>
6041 * lib/gdb.exp (run_on_host): Log error output if program fails.
6043 2014-02-21 Pedro Alves <palves@redhat.com>
6045 * gdb.threads/step-after-sr-lock.c: Rename to ...
6046 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
6047 * gdb.threads/step-after-sr-lock.exp: Rename to ...
6048 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6051 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
6054 * gdb.arch/amd64-stap-special-operands.exp: New file.
6055 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
6056 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
6057 * gdb.arch/amd64-stap-triplet.S: Likewise.
6058 * gdb.arch/amd64-stap-triplet.c: Likewise.
6060 2014-02-20 Joel Brobecker <brobecker@adacore.com>
6062 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
6063 in .section pseudo-op.
6065 2014-02-20 lin zuojian <manjian2006@gmail.com>
6066 Joel Brobecker <brobecker@adacore.com>
6067 Doug Evans <xdje42@gmail.com>
6070 * gdb.dwarf2/dw2-icycle.S: New file.
6071 * gdb.dwarf2/dw2-icycle.c: New file.
6072 * gdb.dwarf2/dw2-icycle.exp: New file.
6074 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
6076 * gdb.python/py-value-cc.cc: Improve test case to enable testing
6077 operations on gdb.Value objects.
6078 * gdb.python/py-value-cc.exp: Add new test to test operations on
6081 2014-02-18 Doug Evans <dje@google.com>
6083 * Makefile.in (TESTS): New variable.
6084 (expanded_tests, expanded_tests_or_none): New variables
6085 (check-single): Pass $(expanded_tests_or_none) to runtest.
6086 (check-parallel): Only run tests in $(TESTS) if non-empty.
6087 (check/no-matching-tests-found): New rule.
6088 * README: Document TESTS makefile variable.
6090 2014-02-18 Doug Evans <dje@google.com>
6092 * Makefile.in (check-parallel): rm -rf outputs temp.
6094 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6096 Fix "ERROR: no fileid for" in the testsuite.
6097 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
6099 2014-02-12 Doug Evans <dje@google.com>
6101 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
6102 (MISCELLANEOUS): New variable.
6103 (clean): rm -rf $(MISCELLANEOUS).
6104 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
6105 dwp live in the same directory as symlinks, with each symlink pointed
6106 to a differently named file in a different directory.
6108 2014-02-11 Doug Evans <dje@google.com>
6110 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
6111 of Tcl file commands.
6113 2014-02-10 Mark Kettenis <kettenis@gnu.org>
6115 * gdb.threads/step-after-sr-lock.exp: Avoid executing
6118 2014-02-10 Joel Brobecker <brobecker@adacore.com>
6120 * gdb.ada/tick_length_array_enum_idx: New testcase.
6122 2014-02-10 Doug Evans <xdje42@gmail.com>
6124 * configure.ac (AC_OUTPUT): Add gdb.guile.
6125 * configure: Regenerate.
6126 * lib/gdb-guile.exp: New file.
6127 * lib/gdb.exp (get_target_charset): New function.
6128 * gdb.base/help.exp: Update expected output from "apropos apropos".
6129 * gdb.guile/Makefile.in: New file.
6130 * gdb.guile/guile.exp: New file.
6131 * gdb.guile/scm-arch.c: New file.
6132 * gdb.guile/scm-arch.exp: New file.
6133 * gdb.guile/scm-block.c: New file.
6134 * gdb.guile/scm-block.exp: New file.
6135 * gdb.guile/scm-breakpoint.c: New file.
6136 * gdb.guile/scm-breakpoint.exp: New file.
6137 * gdb.guile/scm-disasm.c: New file.
6138 * gdb.guile/scm-disasm.exp: New file.
6139 * gdb.guile/scm-equal.c: New file.
6140 * gdb.guile/scm-equal.exp: New file.
6141 * gdb.guile/scm-error.exp: New file.
6142 * gdb.guile/scm-error.scm: New file.
6143 * gdb.guile/scm-frame-args.c: New file.
6144 * gdb.guile/scm-frame-args.exp: New file.
6145 * gdb.guile/scm-frame-args.scm: New file.
6146 * gdb.guile/scm-frame-inline.c: New file.
6147 * gdb.guile/scm-frame-inline.exp: New file.
6148 * gdb.guile/scm-frame.c: New file.
6149 * gdb.guile/scm-frame.exp: New file.
6150 * gdb.guile/scm-generics.exp: New file.
6151 * gdb.guile/scm-gsmob.exp: New file.
6152 * gdb.guile/scm-iterator.c: New file.
6153 * gdb.guile/scm-iterator.exp: New file.
6154 * gdb.guile/scm-math.c: New file.
6155 * gdb.guile/scm-math.exp: New file.
6156 * gdb.guile/scm-objfile-script-gdb.in: New file.
6157 * gdb.guile/scm-objfile-script.c: New file.
6158 * gdb.guile/scm-objfile-script.exp: New file.
6159 * gdb.guile/scm-objfile.c: New file.
6160 * gdb.guile/scm-objfile.exp: New file.
6161 * gdb.guile/scm-ports.exp: New file.
6162 * gdb.guile/scm-pretty-print.c: New file.
6163 * gdb.guile/scm-pretty-print.exp: New file.
6164 * gdb.guile/scm-pretty-print.scm: New file.
6165 * gdb.guile/scm-section-script.c: New file.
6166 * gdb.guile/scm-section-script.exp: New file.
6167 * gdb.guile/scm-section-script.scm: New file.
6168 * gdb.guile/scm-symbol.c: New file.
6169 * gdb.guile/scm-symbol.exp: New file.
6170 * gdb.guile/scm-symtab-2.c: New file.
6171 * gdb.guile/scm-symtab.c: New file.
6172 * gdb.guile/scm-symtab.exp: New file.
6173 * gdb.guile/scm-type.c: New file.
6174 * gdb.guile/scm-type.exp: New file.
6175 * gdb.guile/scm-value-cc.cc: New file.
6176 * gdb.guile/scm-value-cc.exp: New file.
6177 * gdb.guile/scm-value.c: New file.
6178 * gdb.guile/scm-value.exp: New file.
6179 * gdb.guile/source2.scm: New file.
6180 * gdb.guile/types-module.cc: New file.
6181 * gdb.guile/types-module.exp: New file.
6183 2014-02-10 Yao Qi <yao@codesourcery.com>
6186 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
6187 * configure: Regenerated.
6188 * Makefile.in: New file.
6190 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
6192 * gdb.python/py-framefilter.exp: Fix typo.
6194 2014-02-08 Yao Qi <yao@codesourcery.com>
6196 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
6197 that no =breakpoint-modified is emitted when breakpoints are
6198 modified through MI commands.
6200 2014-02-07 Pedro Alves <pedro@codesourcery.com>
6201 Pedro Alves <palves@redhat.com>
6203 * gdb.threads/step-after-sr-lock.c: New file.
6204 * gdb.threads/step-after-sr-lock.exp: New file.
6206 2014-02-07 Pedro Alves <palves@redhat.com>
6208 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
6210 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6212 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
6213 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
6215 2014-02-06 Doug Evans <xdje42@gmail.com>
6217 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
6220 * gdb.gdb/python-interrupts.exp: New file.
6222 2014-02-05 Yao Qi <yao@codesourcery.com>
6224 * gdb.trace/report.exp (use_collected_data): Test the output
6225 of "info threads" and "info inferiors".
6227 2014-02-05 Yao Qi <yao@codesourcery.com>
6231 2013-05-24 Yao Qi <yao@codesourcery.com>
6233 * gdb.trace/tfile.exp: Test inferior and thread.
6235 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6237 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
6239 * gdb.base/step-bt.c: Call hello via function pointer to make
6240 sure its first instruction is executed on powerpc64le-linux.
6242 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6244 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
6246 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6248 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
6249 of the test patterns for use on little-endian systems.
6251 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6253 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
6254 (decimal_vector): Fix for little-endian.
6256 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
6258 * gdb.arch/sparc-sysstep.exp: New file.
6259 * gdb.arch/sparc-sysstep.c: Likewise.
6261 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
6263 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6265 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
6267 2014-01-23 Tom Tromey <tromey@redhat.com>
6269 * gdb.ada/array_char_idx: New testcase.
6271 2014-01-23 Tom Tromey <tromey@redhat.com>
6274 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
6275 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
6278 2014-01-23 Tom Tromey <tromey@redhat.com>
6281 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
6282 string from an inferior frame.
6283 * gdb.python/py-framefilter-mi.exp: Update.
6285 2014-01-22 Doug Evans <dje@google.com>
6287 * gdb.server/server-mon.exp: Add tests for "set debug-format".
6289 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6291 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
6293 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6295 * gdb.trace/entry-values.exp: Remove excess space character from
6296 regex patterns. Handle s390 call instruction.
6298 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6300 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
6301 define "*_start" label. Make "name" static.
6302 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
6303 ${name} by references to ${name}_start.
6305 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6307 * gdb.base/info-macros.exp: Remove "debug" from the compile
6310 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6312 * gdb.dlang/demangle.exp: New file.
6314 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6316 * gdb.dlang/primitive-types.exp: New file.
6318 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6320 * configure.ac: Create gdb.dlang/Makefile.
6321 * configure: Regenerate.
6322 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
6323 * gdb.dlang/Makefile.in: New file.
6324 * lib/d-support.exp: New file.
6325 * lib/gdb.exp (skip_d_tests): New proc.
6327 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6329 * gdb.btrace/delta.exp: Check reverse stepi.
6330 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
6331 * gdb.btrace/finish.exp: New.
6332 * gdb.btrace/next.exp: New.
6333 * gdb.btrace/nexti.exp: New.
6334 * gdb.btrace/record_goto.c: Add comments.
6335 * gdb.btrace/step.exp: New.
6336 * gdb.btrace/stepi.exp: New.
6337 * gdb.btrace/multi-thread-step.c: New.
6338 * gdb.btrace/multi-thread-step.exp: New.
6339 * gdb.btrace/rn-dl-bind.c: New.
6340 * gdb.btrace/rn-dl-bind.exp: New.
6341 * gdb.btrace/data.c: New.
6342 * gdb.btrace/data.exp: New.
6343 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
6345 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6347 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
6348 * gdb.btrace/exception.exp: Update.
6349 * gdb.btrace/instruction_history.exp: Update.
6350 * gdb.btrace/record_goto.exp: Update.
6351 * gdb.btrace/tailcall.exp: Update.
6352 * gdb.btrace/unknown_functions.exp: Update.
6353 * gdb.btrace/delta.exp: New.
6355 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6357 * gdb.btrace/record_goto.exp: Add backtrace test.
6358 * gdb.btrace/tailcall.exp: Add backtrace test.
6360 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6362 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
6363 * gdb.btrace/record_goto.c: New.
6364 * gdb.btrace/record_goto.exp: New.
6365 * gdb.btrace/x86-record_goto.S: New.
6367 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6369 * gdb.btrace/function_call_history.exp: Update tests.
6370 * gdb.btrace/instruction_history.exp: Update tests.
6372 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6374 * gdb.btrace/function_call_history.exp: Fix expected field
6375 order for "record function-call-history".
6376 Add new tests for "record function-call-history /c".
6377 * gdb.btrace/exception.cc: New.
6378 * gdb.btrace/exception.exp: New.
6379 * gdb.btrace/tailcall.exp: New.
6380 * gdb.btrace/x86-tailcall.S: New.
6381 * gdb.btrace/x86-tailcall.c: New.
6382 * gdb.btrace/unknown_functions.c: New.
6383 * gdb.btrace/unknown_functions.exp: New.
6384 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
6386 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6388 * gdb.btrace/instruction_history.exp: Update.
6389 * gdb.btrace/function_call_history.exp: Update.
6391 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6393 * gdb.btrace/function_call_history.exp: Fix expected function
6395 * gdb.btrace/instruction_history.exp: Initialize traced.
6396 Remove traced_functions.
6398 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6400 * gdb.btrace/function_call_history.exp: Update
6401 * gdb.btrace/instruction_history.exp: Update.
6403 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6405 * gdb.btrace/enable.exp: Update expected text.
6407 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
6409 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
6412 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
6414 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
6416 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6418 * lib/gdb.exp (supports_process_record): Return true for
6419 arm*-linux*. (supports_reverse): Likewise.
6421 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
6425 * gdb.python/py-type.c: Enhance test case.
6426 * gdb.python/py-value-cc.cc: Likewise
6427 * gdb.python/py-type.exp: Add new tests.
6428 * gdb.python/py-value-cc.exp: Likewise
6430 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
6431 Pedro Alves <palves@redhat.com>
6433 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
6435 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
6436 references to ${name}_start by references to ${name}.
6438 2014-01-10 Joel Brobecker <brobecker@adacore.com>
6440 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
6442 2014-01-10 Joel Brobecker <brobecker@adacore.com>
6444 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
6446 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
6447 Pedro Alves <palves@redhat.com>
6449 * gdb.mi/mi-info-os.exp: Connect to the target with
6452 2014-01-08 Pedro Alves <palves@redhat.com>
6454 * gdb.threads/reconnect-signal.c: New file.
6455 * gdb.threads/reconnect-signal.exp: New file.
6457 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6459 * gdb.base/source-dir.exp: New file.
6461 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6463 * gdb.ada/mi_interface: New testcase.
6465 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6467 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
6468 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
6469 gdb.ada/pp-rec-component/pck.ads: New files.
6471 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6473 * gdb.python/py-pp-integral.c: New file.
6474 * gdb.python/py-pp-integral.py: New file.
6475 * gdb.python/py-pp-integral.exp: New file.
6477 For older changes see ChangeLog-1993-2013.
6483 ;; version-control: never
6486 Copyright 2014-2015 Free Software Foundation, Inc.
6487 Copying and distribution of this file, with or without modification,
6488 are permitted provided the copyright notice and this notice are preserved.