1 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
4 * gdb.python/py-type.c (C::a_method): New.
5 (C::a_const_method): New.
6 (C::a_static_method): New.
8 * gdb.python/py-type.exp (test_fields): Test getting fields
9 from function and method.
11 2015-10-21 Keven Boell <keven.boell@intel.com>
13 * gdb.fortran/vla-alloc-assoc.exp: New file.
14 * gdb.fortran/vla-datatypes.exp: New file.
15 * gdb.fortran/vla-datatypes.f90: New file.
16 * gdb.fortran/vla-history.exp: New file.
17 * gdb.fortran/vla-ptype-sub.exp: New file.
18 * gdb.fortran/vla-ptype.exp: New file.
19 * gdb.fortran/vla-sizeof.exp: New file.
20 * gdb.fortran/vla-sub.f90: New file.
21 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
22 * gdb.fortran/vla-value-sub-finish.exp: New file.
23 * gdb.fortran/vla-value-sub.exp: New file.
24 * gdb.fortran/vla-value.exp: New file.
25 * gdb.fortran/vla-ptr-info.exp: New file.
26 * gdb.mi/mi-vla-fortran.exp: New file.
27 * gdb.mi/vla.f90: New file.
29 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
31 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
32 of hardwired timeout value.
34 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
35 Pedro Alves <palves@redhat.com>
37 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
38 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
40 2015-10-19 Josh Stone <jistone@redhat.com>
42 * gdb.base/catch-syscall.c: Include <sched.h>.
43 (unknown_syscall): New variable.
44 (main): Trigger a vfork and an unknown syscall.
45 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
46 (unknown_syscall_number): Likewise.
47 (check_call_to_syscall): Accept an optional syscall pattern.
48 (check_return_from_syscall): Likewise.
49 (check_continue): Likewise.
50 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
51 (test_catch_syscall_skipping_return): New test toggling off 'catch
52 syscall' to step over the syscall return, then toggling back on.
53 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
54 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
55 (do_syscall_tests): Call test_catch_syscall_without_args and
56 test_catch_syscall_mid_vfork.
57 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
58 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
60 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
62 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
63 print g_vE): Add new pass patterns.
64 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
65 print various symbol names for vptr fields.
67 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
69 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
72 2015-10-12 Yao Qi <yao.qi@linaro.org>
74 * gdb.arch/disp-step-insn-reloc.exp: New test case.
76 2015-10-12 Yao Qi <yao.qi@linaro.org>
78 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
81 2015-10-12 Yao Qi <yao.qi@linaro.org>
83 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
84 (can_relocate_bcond_true): ... it.
85 (can_relocate_bcond_false): New function.
87 (can_relocate_bl): Likewise.
88 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
91 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
93 * gdb.base/nested-addr.c: New file.
94 * gdb.base/nested-addr.exp: New testcase.
96 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
98 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
99 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
100 its output. Ignore the output of "record goto begin" and instead
101 check that GDB is replaying.
103 2015-10-09 Pedro Alves <palves@redhat.com>
105 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
106 (top level): Use it in the run with no args test.
108 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
110 * gdb.dlang/properties.exp: New file.
112 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
114 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
115 whether or not address 0x1000 is mapped on the target.
117 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
119 * gdb.python/py-type.exp: Do not run tests if binaries fail to
122 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
124 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
125 instruction-history test.
127 2015-09-28 Doug Evans <dje@google.com>
129 * gdb.base/gcore.c (array_func): Add reference to static_array.
131 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
133 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
136 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
138 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
139 short or char as base type.
141 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
143 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
144 to allow any size enum.
146 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
148 * gdb.ada/array_ptr_renaming.exp: New testcase.
149 * gdb.ada/array_ptr_renaming/foo.adb: New file.
150 * gdb.ada/array_ptr_renaming/pack.ads: New file.
152 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
154 * gdb.trace/ftrace-lock.c: New file.
155 * gdb.trace/ftrace-lock.exp: New file.
157 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
159 * gdb.arch/insn-reloc.c: New file.
160 * gdb.arch/ftrace-insn-reloc.exp: New file.
162 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
164 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
166 * gdb.trace/pendshr1.c (pendfunc): Likewise.
167 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
168 * gdb.trace/range-stepping.c: Likewise.
169 * gdb.trace/trace-break.c: Likewise.
170 * gdb.trace/trace-mt.c (thread_function): Likewise.
171 * gdb.trace/ftrace.c (marker): Likewise.
172 * gdb.trace/trace-condition.c (marker): Likewise.
173 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
174 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
177 2015-09-18 Doug Evans <xdje42@gmail.com>
179 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
180 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
182 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
184 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
187 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
189 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
190 the pending breakpoint. Remove timeout override for "Run till
191 MI pending breakpoint on pendfunc3 on thread 2" test.
193 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
195 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
198 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
200 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
201 in breakpoint filename pattern.
203 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
205 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
207 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
209 * gdb.linespec/explicit.exp: Check for readline support for
210 tab-completion tests. Fix obvious typo.
212 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
214 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
217 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
219 * gdb.btrace/non-stop.c: New.
220 * gdb.btrace/non-stop.exp: New.
222 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
223 Yao Qi <yao.qi@linaro.org>
225 * gdb.trace/trace-condition.c: New file.
226 * gdb.trace/trace-condition.exp: New file.
228 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
230 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
231 for testing bytecode compilation.
233 2015-09-16 Pedro Alves <palves@redhat.com>
234 Sandra Loosemore <sandra@codesourcery.com>
236 * gdb.threads/non-stop-fair-events.c (timeout): New global.
238 (main): Call pthread_kill and alarm early.
239 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
241 (test): If the target can't hardware step and doesn't support
242 displaced stepping, increase the timeout.
244 2015-09-16 Pedro Alves <palves@redhat.com>
246 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
247 (enable_debug): New procedures.
248 (test): Use them. Bail out if waiting for threads fails.
249 (top level): Bail out if a test fails.
251 2015-09-16 Yao Qi <yao.qi@linaro.org>
253 * gdb.asm/asm-source.exp: Set asm-arch for
255 * gdb.asm/aarch64.inc: New file.
257 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
259 * gdb.ada/array_of_variable_length.exp: New testcase.
260 * gdb.ada/array_of_variable_length/foo.adb: New file.
261 * gdb.ada/array_of_variable_length/pck.adb: New file.
262 * gdb.ada/array_of_variable_length/pck.ads: New file.
264 2015-09-15 Doug Evans <dje@google.com>
266 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
267 of function static local variable.
269 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
271 * gdb.threads/tls-so_extern.exp: New test file.
272 * gdb.threads/tls-so_extern.c: New test file.
273 * gdb.threads/tls-so_extern_main.c: New test file.
275 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
277 * gdb.opt/solib-intra-step-lib.c: New file.
278 * gdb.opt/solib-intra-step-main.c: New file.
279 * gdb.opt/solib-intra-step.exp: New file.
281 2015-09-15 Pedro Alves <palves@redhat.com>
283 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
284 gdb_continue_to_breakpoint instead of gdb_test_multiple.
286 2015-09-14 Pedro Alves <palves@redhat.com>
288 * gdb.base/hook-stop-continue.c: Delete.
289 * gdb.base/hook-stop-continue.exp: Delete.
290 * gdb.base/hook-stop-frame.c: Delete.
291 * gdb.base/hook-stop-frame.exp: Delete.
292 * gdb.base/hook-stop.c: New file.
293 * gdb.base/hook-stop.exp: New file.
295 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
297 * gdb.ada/access_to_packed_array.exp: New testcase.
298 * gdb.ada/access_to_packed_array/foo.adb: New file.
299 * gdb.ada/access_to_packed_array/pack.adb: New file.
300 * gdb.ada/access_to_packed_array/pack.ads: New file.
302 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
304 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
307 2015-09-11 Don Breazeal <donb@codesourcery.com>
309 * gdb.base/foll-exec.c: Add copyright header. Fix
311 * gdb.base/foll-exec.exp (zap_session): Delete proc.
312 (do_exec_tests): Use clean_restart in place of zap_session,
313 and for test initialization. Fix formatting issues. Use
314 fail in place of perror.
315 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
316 an expect statement to match an expression with output from
317 the program under debug.
318 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
319 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
320 * gdb.threads/non-ldr-exc-2.exp: Likewise.
321 * gdb.threads/non-ldr-exc-3.exp: Likewise.
322 * gdb.threads/non-ldr-exc-4.exp: Likewise.
324 2015-09-09 Doug Evans <dje@google.com>
326 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
328 2015-09-09 Doug Evans <dje@google.com>
330 * gdb.base/pie-execl.exp: Fix result test of build_executable.
332 2015-09-09 Doug Evans <dje@google.com>
334 * gdb.base/savedregs.exp: Fix typo.
336 2015-09-09 Pedro Alves <palves@redhat.com>
338 * gdb.mi/mi-cli.exp: Add CLI finish tests.
340 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
342 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
343 command actually switches threads. Give up on remaining
344 tests if target fails to stop at breakpoint.
346 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
348 * gdb.ada/funcall_char.exp: New testcase.
349 * gdb.ada/funcall_char/foo.adb: New file.
351 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
353 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
354 expected outputs. Add two testcases for completing ambiguous
356 * gdb.ada/complete/aux_pck.adb: New file.
357 * gdb.ada/complete/aux_pck.ads: New file.
358 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
359 Ambiguous_Func functions.
360 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
361 * gdb.ada/complete/pck.adb: Likewise.
363 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
365 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
366 failures to run the test program under GDB.
368 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
370 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
373 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
375 * gdb.base/run-after-attach.exp: New test file.
376 * gdb.base/run-after-attach.c: New test file.
378 2015-08-26 Don Breazeal <donb@codesourcery.com>
380 * gdb.base/foll-exec-2.c: New test program.
381 * gdb.base/foll-exec-2.exp: New test.
383 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
385 * gdb.base/nested-subp1.exp: New file.
386 * gdb.base/nested-subp1.c: New file.
387 * gdb.base/nested-subp2.exp: New file.
388 * gdb.base/nested-subp2.c: New file.
389 * gdb.base/nested-subp3.exp: New file.
390 * gdb.base/nested-subp3.c: New file.
392 2015-08-24 Pedro Alves <palves@redhat.com>
394 * gdb.server/connect-without-multi-process.c: New file.
395 * gdb.server/connect-without-multi-process.exp: New file.
397 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
399 * gdb.opt/inline-markers.c: Make z int.
401 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
403 * gdb.opt/inline-markers.c: Make z volatile.
405 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
407 * gdb.opt/inline-bt.c: New volatile global z.
408 * gdb.opt/inline-cmds.c: Likewise.
409 * gdb.opt/inline-locals.c: Likewise.
410 * gdb.opt/inline-markers.c: New extern global z.
412 (inline_fn): Likewise.
414 2015-08-24 Pedro Alves <palves@redhat.com>
416 * config/m32r-stub.exp: Remove file.
417 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
418 * gdb.base/call-rt-st.exp: Likewise.
419 * gdb.base/call-strs.exp: Likewise.
420 * gdb.base/default.exp: Remove references to h8300-*-hms and
422 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
424 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
426 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
427 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
428 and "return" use KFAIL when GDB can not read/write the vector
431 2015-08-21 Gary Benson <gbenson@redhat.com>
433 * gdb.trace/pending.exp: Cope with remote transfer warnings.
435 2015-08-20 Pedro Alves <palves@redhat.com>
437 * gdb.server/solib-list.exp: No longer expect an interior stop in
440 2015-08-20 Pedro Alves <palves@redhat.com>
442 * gdb.server/connect-stopped-target.c: New file.
443 * gdb.server/connect-stopped-target.exp: New file.
445 2015-08-20 Pedro Alves <palves@redhat.com>
447 * gdb.dwarf2/comp-unit-lang.exp: New file.
448 * gdb.dwarf2/comp-unit-lang.c: New file.
450 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
452 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
453 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
455 2015-08-19 Kevin Buettner <kevinb@redhat.com>
457 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
458 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
460 2015-08-18 Doug Evans <dje@google.com>
461 Adrian Sendroiu <adrian.sendroiu@freescale.com>
463 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
464 skip_python_tests. New arg prompt_regexp.
465 (skip_python_tests): New function.
466 * lib/mi-support.exp (mi_skip_python_tests): New function.
467 * gdb.python/py-mi-objfile-gdb.py: New file.
468 * gdb.python/py-mi-objfile.c: New file.
469 * gdb.python/py-mi-objfile.exp: New file.
471 2015-08-17 Keith Seitz <keiths@redhat.com>
473 * gdb.linespec/explicit.exp: Move strace test from here ...
474 * gdb.trace/strace.exp: ... to here.
476 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
478 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
479 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
481 2015-08-14 Doug Evans <xdje42@gmail.com>
483 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
484 inferior before selecting a new file.
486 2015-08-14 Doug Evans <xdje42@gmail.com>
488 * gdb.mi/mi-disassemble.exp: Update.
489 * gdb.base/disasm-optim.S: New file.
490 * gdb.base/disasm-optim.c: New file.
491 * gdb.base/disasm-optim.h: New file.
492 * gdb.base/disasm-optim.exp: New file.
494 2015-08-14 Keith Seitz <keiths@redhat.com>
496 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
499 2015-08-13 Joel Brobecker <brobecker@adacore.com>
501 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
503 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
505 * gdb.ada/fun_renaming.exp: New testcase.
506 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
507 * gdb.ada/fun_renaming/pack.adb: New file.
508 * gdb.ada/fun_renaming/pack.ads: New file.
510 2015-08-12 Keith Seitz <keiths@redhat.com>
512 * gdb.base/dso2dso.exp: Pass basename of source file in call to
515 2015-08-12 Joel Brobecker <brobecker@adacore.com>
517 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
518 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
519 gdb.base/dso2dso.exp: New files.
521 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
522 Pedro Alves <palves@redhat.com>
523 Keith Seitz <keiths@redhat.com>
525 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
528 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
530 * gdb.base/gdbhistsize-history.exp
531 (test_histsize_history_setting): Use save_vars.
532 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
534 (test_no_truncation_of_unlimited_history_file): Use save_vars.
535 * gdb.base/readline.exp: Use save_vars.
537 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
539 * lib/gdb.exp (save_vars): New proc.
541 2015-08-11 Keith Seitz <keiths@redhat.com>
543 * gdb.base/help.exp: Update help_breakpoint_text.
545 2015-08-11 Keith Seitz <keiths@redhat.com>
547 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
548 (at toplevel): Call test_explicit_breakpoints.
549 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
551 * lib/mi-support.exp (mi_make_breakpoint): Add support for
552 breakpoint conditions, "-cond".
554 2015-08-11 Keith Seitz <keiths@redhat.com>
556 * gdb.linespec/3explicit.c: New file.
557 * gdb.linespec/cpexplicit.cc: New file.
558 * gdb.linespec/cpexplicit.exp: New file.
559 * gdb.linespec/explicit.c: New file.
560 * gdb.linespec/explicit.exp: New file.
561 * gdb.linespec/explicit2.c: New file.
562 * gdb.linespec/ls-errs.exp: Add explicit location tests.
563 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
564 before using in the matching pattern.
565 Clarify that `prefix' is a regular expression.
567 2015-08-11 Keith Seitz <keiths@redhat.com>
569 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
571 Add tests for missing ",FMT" and ",".
573 2015-08-10 Doug Evans <dje@google.com>
574 Keith Seitz <keiths@redhat.com>
577 * gdb.base/completion.exp: Add location completer tests.
579 2015-08-07 Pedro Alves <palves@redhat.com>
581 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
583 (top level): Run do_test with and without displaced stepping.
585 2015-08-07 Pedro Alves <palves@redhat.com>
587 * gdb.base/valgrind-disp-step.c: New file.
588 * gdb.base/valgrind-disp-step.exp: New file.
590 2015-08-07 Pedro Alves <palves@redhat.com>
592 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
594 (main): Add alarm. Run an infinite loop instead of calling
596 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
598 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
600 (main): Add alarm. Run an infinite loop instead of calling
602 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
605 2015-08-07 Pedro Alves <palves@redhat.com>
607 * gdb.base/checkpoint-ns.exp: New file.
608 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
611 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
613 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
614 * gdb.btrace/instruction_history.exp: Update.
615 * gdb.btrace/tsx.exp: New.
616 * gdb.btrace/tsx.c: New.
618 2015-08-06 Pedro Alves <palves@redhat.com>
620 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
622 * gdb.reverse/until-precsave.exp: Bump timeouts.
624 2015-08-06 Pedro Alves <palves@redhat.com>
626 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
628 2015-08-06 Pedro Alves <palves@redhat.com>
631 * gdb.threads/process-dies-while-handling-bp.c: New file.
632 * gdb.threads/process-dies-while-handling-bp.exp: New file.
634 2015-08-06 Pedro Alves <palves@redhat.com>
636 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
637 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
639 2015-08-05 Pedro Alves <palves@redhat.com>
641 * gdb.threads/next-while-other-thread-longjmps.c: New file.
642 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
644 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
646 * gdb.base/bp-permanent.exp: Report test as unsupported if
647 the target cannot stop at the permanent breakpoint.
649 2015-08-03 Doug Evans <dje@google.com>
651 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
654 2015-08-03 Doug Evans <dje@google.com>
656 * Makefile.in (workers/%.worker, build-perf): New rule.
657 (GDB_PERFTEST_MODE): New variable.
658 (check-perf): Use it.
659 (clean): Clean up gdb.perf parallel build subdirs.
660 * lib/build-piece.exp: New file.
661 * lib/gdb.exp (make_gdb_parallel_path): New function
662 (standard_output_file, standard_temp_file): Call it.
663 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
665 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
667 2015-08-03 Doug Evans <dje@google.com>
669 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
670 (LOG_FILE_NAME): New global.
671 (TextReporter.__init__): Initialize self.txt_sum.
672 (TextReporter.report): Add support for multiple data-points.
673 Move report to perftest.sum, put raw data in perftest.log.
674 (TextReporter.start): Open sum and log files.
675 (TextReporter.end): Close sum and log files.
676 * gdb.perf/lib/perftest/testresult.py
677 (SingleStatisticTestResult.record): Handle multiple data-points.
679 2015-07-31 Pedro Alves <palves@redhat.com>
681 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
682 Use spawn_id_get_pid. Wait for spawn id after eof. Use
683 kill_wait_spawned_process instead of explicit "kill -9".
684 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
685 returning a spawn id instead of a pid. Use spawn_id_get_pid and
686 kill_wait_spawned_process.
687 * gdb.base/attach-twice.exp: Likewise.
688 * gdb.base/attach.exp: Likewise.
689 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
691 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
692 returning a spawn id instead of a pid. Use spawn_id_get_pid and
693 kill_wait_spawned_process.
694 * gdb.base/valgrind-infcall.exp: Likewise.
695 * gdb.multi/multi-attach.exp: Likewise.
696 * gdb.python/py-prompt.exp: Likewise.
697 * gdb.python/py-sync-interp.exp: Likewise.
698 * gdb.server/ext-attach.exp: Likewise.
699 * gdb.threads/attach-into-signal.exp (corefunc): Use
700 spawn_wait_for_attach, spawn_id_get_pid and
701 kill_wait_spawned_process.
702 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
703 spawn_wait_for_attach returning a spawn id instead of a pid. Use
704 spawn_id_get_pid and kill_wait_spawned_process.
705 * gdb.threads/attach-stopped.exp (corefunc): Use
706 spawn_wait_for_attach, spawn_id_get_pid and
707 kill_wait_spawned_process.
708 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
709 Use spawn_id_get_pid. Wait for spawn id after eof. Use
710 kill_wait_spawned_process instead of explicit "kill -9".
711 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
712 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
713 (spawn_wait_for_attach): Use spawn instead of exec to spawn
714 processes. Don't map cygwin/windows pids here. Now returns a
717 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
719 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
720 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
723 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
725 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
727 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
730 2014-05-21 Mark Wielaard <mjw@redhat.com>
732 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
734 2015-07-30 Pedro Alves <palves@redhat.com>
736 * linux-low.c (handle_extended_wait): Set the child's last
737 reported status to TARGET_WAITKIND_STOPPED.
739 2015-07-30 Pedro Alves <palves@redhat.com>
742 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
743 only shows inferior 1.
745 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
746 Pedro Alves <palves@redhat.com>
749 * gdb.threads/fork-plus-threads.c: New file.
750 * gdb.threads/fork-plus-threads.exp: New file.
752 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
754 * gdb.base/batch-preserve-term-settings.exp
755 (test_terminal_settings_preserved_after_cli_exit): Use
758 2015-07-29 Pedro Alves <palves@redhat.com>
759 Don Breazeal <donb@codesourcery.com>
761 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
762 output from both inferior_spawn_id and gdb_spawn_id.
764 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
766 * gdb.threads/attach-into-signal.exp (corefunc): Use
767 with_test_prefix on nested loops, uniquefying the test messages.
769 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
771 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
774 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
776 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
778 (test_terminal_settings_preserved_after_sigterm): New test.
780 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
782 * gdb.base/batch-preserve-term-settings.exp
783 (test_terminal_settings_preserved_after_cli_exit): New test.
785 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
787 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
788 manipulation of saved_gdbflags.
789 (test_terminal_settings_preserved): Remove global declaration of
790 the unused variable pagination_prompt. Remove manipulation of
791 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
794 2015-07-29 Pedro Alves <palves@redhat.com>
796 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
798 2015-07-29 Pedro Alves <palves@redhat.com>
800 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
803 2015-07-29 Pedro Alves <palves@redhat.com>
805 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
806 (main): Call gdb_unbuffer_output.
807 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
808 (main): Call gdb_unbuffer_output.
809 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
810 (main): Call gdb_unbuffer_output.
811 * gdb.base/call-strs.exp: Adjust to step over the
812 gdb_unbuffer_output call.
813 * gdb.base/catch-gdb-caused-signals.c: Include
814 "../lib/unbuffer_output.c".
815 (main): Call gdb_unbuffer_output.
816 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
817 (main): Call gdb_unbuffer_output.
818 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
819 (main): Call gdb_unbuffer_output.
820 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
821 (main): Call gdb_unbuffer_output.
822 * gdb.base/shlib-call.exp: Adjust to step over the
823 gdb_unbuffer_output call.
824 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
825 (main): Call gdb_unbuffer_output.
826 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
827 (main): Call gdb_unbuffer_output.
828 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
829 (main): Rename to ...
832 * gdb.base/varargs.exp: Run to test instead of to main.
833 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
834 (main): Call gdb_unbuffer_output.
836 2015-07-29 Pedro Alves <palves@redhat.com>
838 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
839 factore out from mi_continue_dprintf. For call-style dprintfs,
840 expect dprintf output out of $inferior_spawn_id.
841 (mi_continue_dprintf): Use mi_expect_dprintf.
842 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
843 (main): Call gdb_unbuffer_output.
845 2015-07-29 Pedro Alves <palves@redhat.com>
847 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
848 (default_mi_gdb_start): Set inferior_spawn_id instead of
849 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
851 (mi_gdb_test): Always expect inferior output from both
852 $inferior_spawn_id and $gdb_spawn_id.
854 2015-07-29 Pedro Alves <palves@redhat.com>
856 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
857 send_inferior and $inferior_spawn_id.
859 2015-07-29 Pedro Alves <palves@redhat.com>
861 * gdb.gdb/complaints.exp (test_initial_complaints)
862 (test_serial_complaints, test_short_complaints): Use
864 (test_empty_complaint): Handle $inferior_spawn_id !=
867 2015-07-29 Pedro Alves <palves@redhat.com>
869 * gdb.base/varargs.exp: Use gdb_test_stdio.
871 2015-07-29 Pedro Alves <palves@redhat.com>
873 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
875 2015-07-29 Pedro Alves <palves@redhat.com>
877 * gdb.base/ending-run.exp: Use gdb_test_stdio.
879 2015-07-29 Pedro Alves <palves@redhat.com>
881 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
882 parameter into two new parameters, "inf_result" and "gdb_result".
883 Expect inferior output and gdb output from $inferior_spawn_id and
884 $gdb_spawn_id, respectively. Adjust all callers.
886 2015-07-29 Pedro Alves <palves@redhat.com>
888 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
889 of gdb_test_sequence.
891 2015-07-29 Pedro Alves <palves@redhat.com>
893 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
894 (saw_spurious_output): Expect inferior output from
895 $inferior_spawn_id. Use gdb_test_stdio.
897 2015-07-29 Pedro Alves <palves@redhat.com>
899 * gdb.base/dprintf.exp: Use standard_testfile. Change
900 prepare_for_testing call.
901 (srcfile): Don't set.
902 (restart): New procedure.
903 (test_dprintf): New procecure, use to continue over dprintfs.
904 (test_call, test_agent): New procedures, tests moved here.
905 Restart gdb and recreate dprintfs. Adjust expected output.
907 2015-07-29 Pedro Alves <palves@redhat.com>
909 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
911 2015-07-29 Pedro Alves <palves@redhat.com>
913 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
915 2015-07-29 Pedro Alves <palves@redhat.com>
917 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
920 2015-07-29 Pedro Alves <palves@redhat.com>
922 * lib/gdb.exp (gdb_test_stdio): New procedure.
924 2015-07-29 Pedro Alves <palves@redhat.com>
926 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
928 2015-07-29 Pedro Alves <palves@redhat.com>
930 * gdb.base/call-signal-resume.exp: Remove check for
931 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
932 * gdb.base/unwindonsignal.exp: Likewise.
933 * gdb.base/call-signals.c (gen_signal): Remove printf call.
934 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
936 2015-07-29 Pedro Alves <palves@redhat.com>
938 * gdb.base/siginfo-addr.c (pass): New function.
939 (handler): Call it iff si_addr is correct.
940 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
941 Set a breakpoint at "pass" and continue to it.
943 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
945 * gdb.python/py-objfile.exp: Make some tests have unique names.
946 * gdb.python/py-pp-registration.exp: Likewise.
948 2015-07-28 Pedro Alves <palves@redhat.com>
950 * gdb.server/server-exec-info.exp: Issue a "disconnect".
952 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
954 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
956 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
958 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
960 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
962 * gdb.base/gdb-sigterm-2.exp: New test.
964 2015-07-25 Doug Evans <xdje42@gmail.com>
967 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
968 (workers/%.worker, build-perf): New rule.
969 (GDB_PERFTEST_MODE): New variable.
970 (check-perf): Use it.
971 (clean): Clean up gdb.perf parallel build subdirs.
972 * lib/build-piece.exp: New file.
973 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
974 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
976 (standard_temp_file): Ditto.
977 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
980 2015-07-24 Doug Evans <dje@google.com>
982 * gdb.perf/lib/perftest/utils.py: New file.
983 * gdb.perf/gm-hello.cc: New file.
984 * gdb.perf/gm-pervasive-typedef.cc: New file.
985 * gdb.perf/gm-pervasive-typedef.h: New file.
986 * gdb.perf/gm-std.cc: New file.
987 * gdb.perf/gm-std.h: New file.
988 * gdb.perf/gm-use-cerr.cc: New file.
989 * gdb.perf/gm-utils.h: New file.
990 * gdb.perf/gmonster-null-lookup.py: New file.
991 * gdb.perf/gmonster-pervasive-typedef.py: New file.
992 * gdb.perf/gmonster-print-cerr.py: New file.
993 * gdb.perf/gmonster-ptype-string.py: New file.
994 * gdb.perf/gmonster-runto-main.py: New file.
995 * gdb.perf/gmonster-select-file.py: New file.
996 * gdb.perf/gmonster1-null-lookup.exp: New file.
997 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
998 * gdb.perf/gmonster1-print-cerr.exp: New file.
999 * gdb.perf/gmonster1-ptype-string.exp: New file.
1000 * gdb.perf/gmonster1-runto-main.exp: New file.
1001 * gdb.perf/gmonster1-select-file.exp: New file.
1002 * gdb.perf/gmonster1.cc: New file.
1003 * gdb.perf/gmonster1.exp: New file.
1004 * gdb.perf/gmonster2-null-lookup.exp: New file.
1005 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
1006 * gdb.perf/gmonster2-print-cerr.exp: New file.
1007 * gdb.perf/gmonster2-ptype-string.exp: New file.
1008 * gdb.perf/gmonster2-runto-main.exp: New file.
1009 * gdb.perf/gmonster2-select-file.exp: New file.
1010 * gdb.perf/gmonster2.cc: New file.
1011 * gdb.perf/gmonster2.exp: New file.
1013 2015-07-24 Doug Evans <dje@google.com>
1015 * gdb.perf/README: New file.
1016 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
1017 * lib/gen-perf-test.exp: New file.
1019 2015-07-24 Doug Evans <dje@google.com>
1021 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
1022 (PerfTest::startup): New function.
1023 (PerfTest::run): Return result of calling body.
1024 (PerfTest::assemble): Rewrite.
1025 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
1026 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
1027 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
1028 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
1029 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
1031 2015-07-24 Doug Evans <dje@google.com>
1033 * lib/gdb.exp (clean_restart): Make executable optional.
1035 2015-07-24 Doug Evans <dje@google.com>
1037 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
1038 compiler_info references.
1039 * gdb.cp/temargs.exp: Ditto.
1040 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
1041 (get_compiler_info): Early exit if already computed. Set compiler_info
1042 to "unknown" if there was a problem.
1043 (test_compiler_info): Add function comment. Call get_compiler_info.
1045 2015-07-24 Doug Evans <dje@google.com>
1047 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
1048 (workers/%.worker, build-perf): New rule.
1049 (GDB_PERFTEST_MODE): New variable.
1050 (check-perf): Use it.
1051 (clean): Clean up gdb.perf parallel build subdirs.
1052 * lib/build-piece.exp: New file.
1053 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
1054 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
1056 (standard_temp_file): Ditto.
1057 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1060 2015-07-24 Doug Evans <dje@google.com>
1062 * lib/future.exp (gdb_default_target_compile): New option
1064 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
1067 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
1069 * gdb.base/catch-syscall.exp: Call gdb_exit before
1072 2015-07-24 Pedro Alves <palves@redhat.com>
1074 * gdb.python/py-events.exp: Accept output between the stop event
1076 * gdb.python/py-evsignal.exp: Likewise.
1077 * gdb.python/py-evthreads.exp: Likewise.
1079 2015-07-24 Pedro Alves <palves@redhat.com>
1082 * gdb.threads/non-ldr-exit.c: New file.
1083 * gdb.threads/non-ldr-exit.exp: New file.
1085 2015-07-24 Yao Qi <yao.qi@linaro.org>
1087 * gdb.server/ext-wrapper.exp: Test --wrapper option when
1090 2015-07-24 Yao Qi <yao.qi@linaro.org>
1092 * gdb.server/ext-restart.exp: New file.
1094 2015-07-24 Yao Qi <yao.qi@linaro.org>
1096 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
1098 * gdb.server/ext-wrapper.exp: New file.
1100 2015-07-23 Doug Evans <dje@google.com>
1102 * gdb.dwarf2/dw2-dummy-cu.S: New file.
1103 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
1105 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
1107 * gdb.ada/var_arr_typedef.exp: New testcase.
1108 * gdb.ada/var_arr_typedef/pack.adb: New file.
1109 * gdb.ada/var_arr_typedef/pack.ads: New file.
1110 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
1112 2015-07-20 Joel Brobecker <brobecker@adacore.com>
1114 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
1116 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1118 * gdb.arch/i386-biarch-core.exp: Replace istarget
1119 by "complete set gnutarget". Remove expectation for the "core-file"
1122 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1124 Revert the previous commit:
1125 Tests for validate symbol file using build-id.
1127 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
1129 Tests for validate symbol file using build-id.
1130 * gdb.base/solib-mismatch-lib.c: New file.
1131 * gdb.base/solib-mismatch-libmod.c: New file.
1132 * gdb.base/solib-mismatch.c: New file.
1133 * gdb.base/solib-mismatch.exp: New file.
1135 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
1137 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
1139 * gdb.base/sigbpt.exp (stepi_out): Likewise.
1140 * gdb.base/siginfo.exp: Likewise.
1141 * gdb.base/sigstep.exp (advance, advancei): Likewise.
1143 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
1145 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
1147 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
1149 * gdb.trace/range-stepping.exp: Check that the target supports
1152 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1154 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
1156 2015-07-14 Pedro Alves <palves@redhat.com>
1158 * gdb.base/killed-outside.exp: New file.
1159 * gdb.base/killed-outside.c: New file.
1161 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1163 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
1165 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
1167 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
1169 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
1170 infcall tests instead of setting up for KFAIL.
1172 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
1174 * gdb.btrace/record_goto-step.exp: New.
1176 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1179 * gdb.compile/compile.c (struct struct_type): Add volatile to
1181 * gdb.compile/compile.exp
1182 (compile code struct_object.selffield = &struct_object): Skip further
1183 struct_object tests if this one xfails.
1185 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
1188 * gdb.trace/ax.exp: Add test.
1190 2015-07-07 Yao Qi <yao.qi@linaro.org>
1192 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
1193 instead of istarget "aarch64*-*-*".
1194 * gdb.arch/aarch64-fp.exp: Likewise.
1195 * gdb.base/float.exp: Likewise.
1196 * gdb.reverse/aarch64.exp: Likewise.
1197 * lib/gdb.exp (is_aarch64_target): New proc.
1199 2015-07-07 Yao Qi <yao.qi@linaro.org>
1201 * lib/gdb.exp (is_aarch32_target): New proc.
1202 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
1203 instead of "istarget "arm*-*-*"".
1204 * gdb.arch/arm-disp-step.exp: Likewise.
1205 * gdb.arch/thumb-bx-pc.exp: Likewise.
1206 * gdb.arch/thumb-prologue.exp: Likewise.
1207 * gdb.arch/thumb-singlestep.exp: Likewise.
1208 * gdb.base/disp-step-syscall.exp: Likewise.
1209 * gdb.base/float.exp: Likewise.
1211 2015-07-07 Yao Qi <yao.qi@linaro.org>
1213 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
1214 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
1216 2015-07-07 Yao Qi <yao.qi@linaro.org>
1218 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
1219 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
1221 * gdb.multi/multi-arch.exp: Likewise.
1223 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
1225 * gdb.python/py-lazy-string.exp: Add missing parentheses to
1228 2015-07-07 Yao Qi <yao.qi@linaro.org>
1230 * gdb.arch/thumb-singlestep.exp: Do one more single step.
1232 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
1234 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
1235 '[' and ']' characters.
1237 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
1239 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1241 2015-06-29 Pedro Alves <palves@redhat.com>
1244 * gdb.threads/hand-call-new-thread.c: New file.
1245 * gdb.threads/hand-call-new-thread.c: New file.
1247 2015-06-26 Keith Seitz <keiths@redhat.com>
1248 Doug Evans <dje@google.com>
1251 * gdb.cp/var-tag-2.cc: New file.
1252 * gdb.cp/var-tag-3.cc: New file.
1253 * gdb.cp/var-tag-4.cc: New file.
1254 * gdb.cp/var-tag.cc: New file.
1255 * gdb.cp/var-tag.exp: New file.
1257 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
1259 * gdb.base/history-duplicates.exp: New test.
1261 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
1263 * gdb.base/completion.exp: Test the completion of the "focus"
1266 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1268 * gdb.arch/amd64-prologue-skip.S: New file.
1269 * gdb.arch/amd64-prologue-skip.exp: New file.
1271 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
1273 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
1274 is_address_zero_readable check.
1276 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
1278 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
1279 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
1281 2015-06-24 Yao Qi <yao.qi@linaro.org>
1283 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
1286 2015-06-24 Yao Qi <yao.qi@linaro.org>
1288 * lib/gdb.exp (supports_get_siginfo_type): New proc.
1289 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
1290 * gdb.base/siginfo-thread.exp: Likewise.
1292 2015-06-22 Yao Qi <yao.qi@linaro.org>
1294 * boards/remote-gdbserver-on-localhost.exp: Add comments.
1296 2015-06-22 Yao Qi <yao.qi@linaro.org>
1298 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
1300 (skip_hw_watchpoint_tests): Likewise.
1302 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
1304 * gdb.base/gdbinit-history.exp: Test the interaction between
1305 setting GDBHISTSIZE and setting the history size via .gdbinit.
1307 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1310 * gdb.base/gdbhistsize-history.exp: New test.
1312 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1314 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
1316 * gdb.base/readline.exp: Likewise.
1318 2015-06-17 Yao Qi <yao.qi@linaro.org>
1320 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
1323 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1325 * gdb.base/gdbinit-history.exp: Add test case to check that
1326 an unlimited history file does not get truncated on exit.
1328 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1330 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
1331 (VECTOR): New macro. Use it...
1332 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
1333 ...for these typedefs.
1334 (int8, char1, int1, double1): New typedefs.
1335 (struct just_int2, struct two_int2): New structures.
1336 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
1337 (add_structvecs, add_singlevecs): New functions.
1338 (main): Call add_some_intvecs twice.
1339 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
1340 the compile and exit upon failure. Try compiling for the "native"
1341 architecture. Test inferior function calls with vector arguments
1342 and vector return value handling with "finish" and "return".
1344 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
1346 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
1347 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
1349 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
1351 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1353 PR breakpoints/16465
1354 * gdb.mi/mi-dprintf-pending.c: New file.
1355 * gdb.mi/mi-dprintf-pending.exp: New test.
1356 * gdb.mi/mi-dprintf-pendshr.c: New file.
1358 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1359 Mircea Gherzan <mircea.gherzan@intel.com>
1361 * gdb.arch/i386-mpx-map.c: New file.
1362 * gdb.arch/i386-mpx-map.exp: New File.
1364 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1366 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
1367 * gdb.arch/i386-mpx.exp: Indentation fixed.
1369 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1371 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
1372 function and improved indentation.
1373 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
1374 gdb_test_multiple. Added additional tests to skip the test.
1376 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1378 * gdb.arch/i386-avx512.c: Change path in include file.
1379 * gdb.arch/i386-avx512.exp: Change include dir path
1381 * gdb.arch/i386-mpx.c: Change path in include file.
1382 * gdb.arch/i386-mpx.exp: Change include dir path compilation
1385 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1387 * gdb.compile/compile-print.exp (compile print *vararray@3)
1388 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
1390 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1392 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
1393 (do not keep jit in memory): ... this.
1394 (expect 5): Change it to ...
1395 (expect no 5): ... this.
1397 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
1400 * gdb.mi/mi-detach.exp: New file.
1402 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1405 * gdb.arch/amd64-tailcall-self.S: New file.
1406 * gdb.arch/amd64-tailcall-self.c: New file.
1407 * gdb.arch/amd64-tailcall-self.exp: New file.
1409 2015-05-28 Don Breazeal <donb@codesourcery.com>
1411 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
1412 tests for remote targets by checking is_target_gdbserver.
1414 2015-05-27 Doug Evans <dje@google.com>
1416 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
1417 * gdb.dwarf2/opaque-type-lookup.c: New file.
1418 * gdb.dwarf2/opaque-type-lookup.exp: New file.
1420 2015-05-26 Doug Evans <dje@google.com>
1422 * gdb.cp/iostream.cc: New file.
1423 * gdb.cp/iostream.exp: New file.
1425 2015-05-26 Doug Evans <dje@google.com>
1427 * gdb.dwarf2/dw2-op-call.exp: Update.
1428 * gdb.dwarf2/dw4-sig-types.exp: Update.
1429 * gdb.dwarf2/implptr.exp: Update.
1430 * gdb.mi/mi-cmd-param-changed.exp: Update.
1432 2015-05-26 Doug Evans <dje@google.com>
1434 * gdb.python/py-lazy-string.c: New file.
1435 * gdb.python/py-lazy-string.exp: New file.
1436 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
1437 (main): Update. Add estring3.
1438 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
1439 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
1441 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
1442 Yao Qi <yao.qi@linaro.org>
1444 * gdb.reverse/aarch64.c: New.
1445 * gdb.reverse/aarch64.exp: New.
1447 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
1449 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
1450 (supports_reverse): Likewise.
1452 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
1454 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1455 Use with_test_prefix.
1457 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
1459 * gdb.base/completion.exp: Add test for completion of layout
1462 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
1464 * lib/gdb.exp (skip_tui_tests): New proc.
1465 * gdb.base/tui-layout.exp: Check skip_tui_tests.
1467 2015-05-19 Pedro Alves <palves@redhat.com>
1469 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1470 Save the whole env array instead of just HOME. Unset HISTSIZE in
1471 the environment while testing. Restore whole environment
1474 2015-05-16 Doug Evans <xdje42@gmail.com>
1476 * gdb.guile/scm-ports.c: New file.
1477 * gdb.guile/scm-ports.exp: Add memory port tests.
1479 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1481 * gdb.compile/compile-print.c: New file.
1482 * gdb.compile/compile-print.exp: New file.
1484 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1486 * gdb.compile/compile-ops.exp: Cast param to void.
1487 * gdb.compile/compile.exp: Complete type for _gdb_expr.
1488 (compile code struct_object.selffield = &struct_object): Add xfail.
1490 2015-05-15 Joel Brobecker <brobecker@adacore.com>
1492 * gdb.ada/arr_enum_with_gap: New testcase.
1494 2015-05-15 Joel Brobecker <brobecker@adacore.com>
1496 * gdb.ada/byte_packed_arr: New testcase.
1498 2015-05-15 Joel Brobecker <brobecker@adacore.com>
1500 * gdb.ada/pckd_neg: New testcase.
1502 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
1505 * gdb.base/gdbinit-history.exp: New test.
1506 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
1507 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
1509 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
1511 * gdb.python/py-xmethods.cc: Enhance test case.
1512 * gdb.python/py-xmethods.exp: New tests.
1513 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
1515 (B_indexoper): Likewise.
1516 (global_dm_list) : Add new xmethod worker functions.
1518 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
1520 * gdb.base/coredump-filter.exp: Correctly unset
1521 "coredump_var_addr" array.
1523 2015-05-08 Pedro Alves <palves@redhat.com>
1525 * gdb.server/non-existing-program.exp: Unset spawn_id.
1527 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
1530 * gdb.python/py-xmethods.exp: Add tests.
1532 2015-05-08 Yao Qi <yao.qi@linaro.org>
1535 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
1536 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
1537 function set_coredump_filter, and remove remote_exec call.
1538 Remove argument ipid. Callers update.
1539 (top level): Don't get inferior's PID.
1541 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
1543 * gdb.base/watch_thread_num.exp: Skip test on targets without
1546 2015-05-06 Pedro Alves <palves@redhat.com>
1549 * gdb.server/non-existing-program.exp: New file.
1551 2015-05-05 Joel Brobecker <brobecker@adacore.com>
1553 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
1555 2015-05-05 Joel Brobecker <brobecker@adacore.com>
1557 * gdb.ada/out_of_line_in_inlined: New testcase.
1559 2015-05-05 Joel Brobecker <brobecker@adacore.com>
1561 * gdb.ada/var_rec_arr: New testcase.
1563 2015-04-30 Yao Qi <yao.qi@linaro.org>
1565 * gdb.base/break-idempotent.exp: If
1566 skip_hw_watchpoint_multi_tests returns true, skip the tests
1567 on "rwatch" and "awatch".
1569 2015-04-30 Yao Qi <yao.qi@linaro.org>
1571 * gdb.base/relativedebug.exp: Invoke gdb command
1572 "info sharedlibrary", and if libc.so doesn't have debug info,
1575 2015-04-29 Doug Evans <dje@google.com>
1577 * gdb.python/py-xmethods.exp: Add ptype tests.
1578 * gdb.python/py-xmethods.py (E_method_char_worker): Add
1579 get_result_type method.
1581 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
1583 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
1584 the target does not support hardware watchpoints.
1586 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
1588 * gdb.base/break-always.exp: Abort testing if writing to memory
1591 2015-04-28 Doug Evans <dje@google.com>
1593 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
1594 * gdb.python/py-pp-registration.exp: ... here. New file.
1595 * gdb.python/py-pp-registration.c: New file.
1596 * gdb.python/py-pp-registration.py: New file.
1598 2015-04-28 Doug Evans <dje@google.com>
1600 * gdb.python/py-bad-printers.c: New file.
1601 * gdb.python/py-bad-printers.py: New file.
1602 * gdb.python/py-bad-printers.exp: New file.
1604 2015-04-28 Sasha Smundak <asmundak@google.com>
1606 * gdb.python/py-type.exp: New test.
1608 2015-04-28 Andy Wingo <wingo@igalia.com>
1610 * gdb.python/py-parameter.exp:
1611 * gdb.guile/scm-parameter.exp: Escape the path that we are
1612 matching against, as it might contain characters that are special
1613 to regular expressions.
1615 2015-04-27 Joel Brobecker <brobecker@adacore.com>
1617 * gdb.ada/rec_comp: New testcase.
1619 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
1621 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
1624 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
1626 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
1627 new tests for verilog output.
1629 2015-04-24 Yao Qi <yao.qi@linaro.org>
1631 * boards/remote-gdbserver-on-localhost.exp: New file.
1633 2015-04-23 Pedro Alves <palves@redhat.com>
1635 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
1636 $inferior_spawn_id instead of $inferior_spawn_id directly. On
1637 "end of file", remove $inferior_spawn_id from the indirect list.
1639 2015-04-23 Pedro Alves <palves@redhat.com>
1641 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
1643 2015-04-23 Pedro Alves <palves@redhat.com>
1645 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
1646 on $any_spawn_id instead of only on $gdb_spawn_id.
1648 2015-04-21 Pierre Muller <muller@sourceware.org>
1651 * lib/pascal.exp (gpc_compile): Add new option "class".
1652 (fpc_compile): Likewise.
1653 * gdb.pascal/case-insensitive-symbols.pas: New file.
1654 * gdb.pascal/case-insensitive-symbols.exp: New file.
1656 2015-04-20 Gary Benson <gbenson@redhat.com>
1658 * gdb.base/attach.exp: Fix three extended remote failures.
1660 2015-04-17 Gary Benson <gbenson@redhat.com>
1662 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
1663 the main executable over the remote protocol.
1665 2015-04-16 Pedro Alves <palves@redhat.com>
1667 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
1668 a new gdbserver if gdbserver_reconnect_p is set.
1670 2015-04-16 Pedro Alves <palves@redhat.com>
1672 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
1673 is set, don't exit gdbserver.
1675 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1677 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
1678 appropriate .insn, such that an older assembler can be used.
1679 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
1680 the z/Architecture instruction set on 31-bit targets as well.
1682 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1684 * gdb.go/handcall.exp: Remove all logic related to the first
1685 breakpoint and rely on go_runto_main instead.
1686 * gdb.go/strings.exp: Likewise.
1687 * gdb.go/unsafe.exp: Likewise.
1688 * gdb.go/hello.exp: Likewise. Also rename the remaining
1689 breakpoint marker to "breakpoint 1".
1690 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
1691 * gdb.go/strings.go: Likewise.
1692 * gdb.go/unsafe.go: Likewise.
1693 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
1694 "set breakpoint 2 here" and rename the remaining breakpoint marker
1697 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
1699 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
1700 if itertools.imap is not present.
1701 * gdb.python/py-objfile.exp: Add parentheses.
1702 * gdb.python/py-type.exp: Same.
1703 * gdb.python/py-unwind-maint.py: Same.
1705 2015-04-15 Yao Qi <yao.qi@linaro.org>
1707 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
1708 of ":$ptr_size" and set its form explicitly.
1710 2015-04-15 Pedro Alves <palves@redhat.com>
1711 Yao Qi <yao.qi@linaro.org>
1713 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
1714 timeout by factor of 4.
1715 (test_regular_watch): Likewise.
1716 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
1717 * gdb.reverse/sigall-reverse.exp: Likewise.
1718 * gdb.reverse/until-precsave.exp: Likewise.
1719 * lib/gdb.exp (with_timeout_factor): New proc.
1720 (gdb_expect): Move some code to ...
1721 (get_largest_timeout): ... here. New procedure.
1723 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
1725 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
1727 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
1729 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
1730 to write to the .text section.
1732 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
1734 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
1735 Handle the case of targets that do not provide PID information.
1737 2015-04-13 Yao Qi <yao.qi@linaro.org>
1739 * lib/gdbserver-support.exp (gdb_exit): Catch exception
1740 and use expect instead of gdb_expect.
1742 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
1744 * gdb.base/coredump-filter.exp: Rename variable "addr" to
1745 "coredump_var_addr" to avoid naming conflict with other testcases.
1747 2015-04-10 Pedro Alves <palves@redhat.com>
1749 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
1750 gdb_test_sequence and gdb_assert.
1752 2015-04-10 Pedro Alves <palves@redhat.com>
1754 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
1755 test messages that don't include the breakpoint address.
1757 2015-04-10 Yao Qi <yao.qi@linaro.org>
1759 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
1760 false for some offset and width combinations which aren't
1761 supported by linux kernel.
1763 2015-04-10 Pedro Alves <palves@redhat.com>
1765 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
1766 procedure, factored out from ...
1767 (top level): ... here. Add "set displaced-stepping" testing axis.
1768 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
1769 parameter "displaced". Use it.
1770 (top level): Use foreach and add "set displaced-stepping" testing
1773 2015-04-10 Pedro Alves <palves@redhat.com>
1775 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
1777 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
1778 both the address of the instruction that triggers the watchpoint
1779 and the address of the instruction immediately after, and use
1780 those addresses for the test. Fix comment.
1782 2015-04-10 Pedro Alves <palves@redhat.com>
1784 * gdb.base/sigstep.exp (breakpoint_to_handler)
1785 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
1786 Test "backtrace" in handler.
1787 (breakpoint_over_handler): New parameter 'displaced'. Use it.
1788 (top level): Add new "displaced" test axis to
1789 breakpoint_to_handler, breakpoint_to_handler_entry and
1790 breakpoint_over_handler.
1792 2015-04-10 Pedro Alves <palves@redhat.com>
1795 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
1797 2015-04-10 Yao Qi <yao.qi@linaro.org>
1799 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
1800 (test_add_rn_pc): New function.
1801 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
1802 (top level): Invoke test_add_rn_pc.
1804 2015-04-10 Pedro Alves <palves@redhat.com>
1807 * gdb.base/step-over-no-symbols.exp: New file.
1809 2015-04-09 Andy Wingo <wingo@igalia.com>
1811 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
1812 after the Python tests.
1814 2015-04-08 Keith Seitz <keiths@redhat.com>
1817 * gdb.python/py-completion.exp: New tests for completion.
1818 * gdb.python/py-completion.py (CompleteLimit1): New class.
1819 (CompleteLimit2): Likewise.
1820 (CompleteLimit3): Likewise.
1821 (CompleteLimit4): Likewise.
1822 (CompleteLimit5): Likewise.
1823 (CompleteLimit6): Likewise.
1824 (CompleteLimit7): Likewise.
1826 2015-04-08 Pedro Alves <palves@redhat.com>
1830 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
1832 (main): Install it as SIGUSR1 handler.
1833 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
1834 parameter. Always use "setup" as prefix. Toggle "set
1835 displaced-stepping" off/on depending on global. Don't switch to
1837 (top level): Add displaced stepping "off/on" test axis. Update
1838 "setup" calls. Wrap each subtest with with_test_prefix. Test
1839 continuing with a queued signal in each thread.
1841 2015-04-08 Pedro Alves <palves@redhat.com>
1843 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
1844 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
1845 gdb_breakpoint instead of gdb_test that doesn't expect anything.
1846 Return early if running to main fails.
1847 * gdb.trace/while-stepping.exp: Likewise.
1849 2015-04-07 Pedro Alves <palves@redhat.com>
1851 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
1852 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
1853 interact with inferior program.
1855 2015-04-07 Pedro Alves <palves@redhat.com>
1857 * lib/gdb.exp (inferior_spawn_id): New global.
1858 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
1859 spawn id after processing the user code.
1860 (default_gdb_start): Set inferior_spawn_id.
1861 (send_inferior): New procedure.
1862 * lib/gdbserver-support.exp (gdbserver_start): Set
1864 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
1866 2015-04-07 Pedro Alves <palves@redhat.com>
1868 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
1869 * lib/gdbserver-support.exp (gdbserver_start): Make
1870 $server_spawn_id global.
1871 (gdbserver_start): Don't wait for gdbserver's spawn id with
1873 (close_gdbserver): New procedure.
1874 (gdb_exit): Rename the default version and reimplement.
1876 2015-04-07 Pedro Alves <palves@redhat.com>
1878 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
1879 append the substituted item, not the original item.
1881 2015-04-07 Pedro Alves <palves@redhat.com>
1883 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
1886 2015-04-07 Pedro Alves <palves@redhat.com>
1888 * gdb.base/interrupt.exp: Don't handle the case of the inferior
1889 output appearing once only.
1891 2015-04-07 Pedro Alves <palves@redhat.com>
1893 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
1894 that doesn't expect anything. Return early if running to main
1897 2015-04-07 Yao Qi <yao.qi@linaro.org>
1899 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
1900 (child_function): Call alarm.
1901 (main): Move call to alarm into the loop.
1902 * gdb.threads/non-stop-fair-events.exp: Build program with
1905 2015-04-06 Doug Evans <xdje42@gmail.com>
1907 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
1908 Fix dest parameter to board_info.
1909 (fpc_compile): Ditto.
1910 (gdb_compile_pascal): Rename dest arg to destfile.
1912 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
1914 * gdb.ada/funcall_ref.exp: New file.
1915 * gdb.ada/funcall_ref/foo.adb: New file.
1917 2015-04-02 Yao Qi <yao.qi@linaro.org>
1919 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
1922 2015-04-02 Gary Benson <gbenson@redhat.com>
1924 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
1926 2015-04-01 Sasha Smundak <asmundak@google.com>
1928 * gdb.python/py-unwind-maint.c: New file.
1929 * gdb.python/py-unwind-maint.exp: New test.
1930 * gdb.python/py-unwind-maint.py: New file.
1931 * gdb.python/py-unwind.c: New file.
1932 * gdb.python/py-unwind.exp: New test.
1933 * gdb.python/py-unwind.py: New test.
1935 2015-04-01 Pedro Alves <palves@redhat.com>
1937 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
1938 to fail instead of non-existent $test.
1940 2015-04-01 Pedro Alves <palves@redhat.com>
1942 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
1943 GDBFLAGS if not empty.
1945 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
1947 * gdb.ada/complete.exp: Remove "multi_line".
1948 * gdb.ada/info_exc.exp: Remove "multi_line".
1949 * gdb.ada/packed_tagged.exp: Remove "multi_line".
1950 * gdb.ada/ptype_field.exp: Remove "multi_line".
1951 * gdb.ada/sym_print_name.exp: Remove "multi_line".
1952 * gdb.ada/tagged.exp: Remove "multi_line".
1953 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
1955 * gdb.btrace/delta.exp: Likewise.
1956 * gdb.btrace/exception.exp: Likewise.
1957 * gdb.btrace/function_call_history.exp: Likewise.
1958 * gdb.btrace/instruction_history.exp: Likewise.
1959 * gdb.btrace/nohist.exp: Likewise.
1960 * gdb.btrace/record_goto.exp: Likewise.
1961 * gdb.btrace/segv.exp: Likewise.
1962 * gdb.btrace/stepi.exp: Likewise.
1963 * gdb.btrace/tailcall.exp: Likewise.
1964 * gdb.btrace/unknown_functions.exp: Likewise.
1965 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
1966 * lib/gdb.exp: Add the "multi_line" helper.
1968 2015-04-01 Pedro Alves <palves@redhat.com>
1970 * gdb.threads/tid-reuse.c: New file.
1971 * gdb.threads/tid-reuse.exp: New file.
1973 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
1976 * gdb.base/coredump-filter.c: New file.
1977 * gdb.base/coredump-filter.exp: Likewise.
1979 2015-03-27 Petr Machata <pmachata@redhat.com>
1981 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
1982 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
1983 (Dwarf::assemble): Initialize them.
1984 (Dwarf::lines): New function.
1986 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
1988 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
1989 SYMBOL_PREFIX for x86_64-*-cygwin.
1991 2015-03-26 Andy Wingo <wingo@igalia.com>
1994 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
1995 const_value but not a location.
1996 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
1997 location defined in non-main CUs are visible.
1999 2015-03-26 Yao Qi <yao.qi@linaro.org>
2002 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
2003 Add a line number entry for the same line.
2004 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
2005 Add a line number entry for the same line.
2007 2015-03-26 Yao Qi <yao.qi@linaro.org>
2009 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
2011 (func): Likewise. Add .Lfunc_1 label.
2013 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
2018 2015-03-26 Yao Qi <yao.qi@linaro.org>
2020 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
2021 Call gdb_compile instead to compile each .s files without debug
2024 2015-03-26 Yao Qi <yao.qi@linaro.org>
2026 * gdb.base/savedregs.exp (process_saved_regs): Make
2027 "Saved registers:" optional in the pattern.
2029 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
2031 * gdb.btrace/next.exp: Merged into step.exp.
2032 * gdb.btrace/finish.exp: Merged into step.exp.
2033 * gdb.btrace/nexti.exp: Merged into stepi.exp.
2034 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
2035 "record goto" and checking the exact replay position.
2036 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
2037 check for "Recording format" in "info record" output.
2038 * gdb.btrace/record_goto.exp: Choose test file based on target.
2039 * gdb.btrace/x86-record_goto.S: Renamed into ...
2040 * gdb.btrace/x86_64-record_goto.S: ... this.
2041 * gdb.btrace/i686-record_goto.S: New.
2042 * gdb.btrace/x86-tailcall.S: Renamed into ...
2043 * gdb.btrace/x86_64-tailcall.S: ... this.
2044 * gdb.btrace/i686-tailcall.S: New.
2045 * gdb.btrace/x86-tailcall.c: Renamed into ...
2046 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
2047 separate statements. Update test.
2048 * gdb.btrace/delta.exp: Use record_goto.c as test file.
2049 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
2050 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
2051 * gdb.btrace/tailcall.exp: Choose test file based on target.
2052 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
2054 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
2056 * gdb.btrace/exception.exp: Increase BTS buffer size.
2058 2015-03-24 Pedro Alves <palves@redhat.com>
2060 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
2062 2015-03-24 Pedro Alves <palves@redhat.com>
2064 * gdb.threads/schedlock.exp (test_step): No longer expect that
2065 "set scheduler-locking step" with "next" over a function call runs
2068 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2070 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
2072 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2074 PR breakpoints/16466
2075 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
2076 * gdb.mi/mi-pending.c (thread_func): New function.
2077 (int main): Add threading support required.
2078 * gdb.mi/mi-pending.exp: Add tests for this issue.
2079 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
2080 (pendfunc2): Remove stdio dependency.
2081 * gdb.mi/mi-pendshr2.c: New file.
2083 2015-03-23 Keith Seitz <keiths@redhat.com>
2085 * gdb.linespec/keywords.c: New file.
2086 * gdb.linespec/keywords.exp: New file.
2088 2015-03-23 Keith Seitz <keiths@redhat.com>
2091 * gdb.dwarf2/staticvirtual.exp: New test.
2093 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2095 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
2096 * README: Remove HP-UX and gdb.hp.
2098 * configure: Regenerate.
2099 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
2100 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
2101 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
2102 gdb.hp/gdb.defects/Makefile.
2103 * gdb.hp/Makefile.in: File deleted.
2104 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
2105 * gdb.hp/gdb.aCC/optimize.c: File deleted.
2106 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
2107 * gdb.hp/gdb.aCC/run.c: File deleted.
2108 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
2109 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
2110 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
2111 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
2112 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
2113 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
2114 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
2115 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
2116 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
2117 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
2118 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
2119 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
2120 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
2121 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
2122 * gdb.hp/gdb.base-hp/reg.s: File deleted.
2123 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
2124 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
2125 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
2126 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
2127 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
2128 * gdb.hp/gdb.compat/Makefile.in: File deleted.
2129 * gdb.hp/gdb.compat/average.c: File deleted.
2130 * gdb.hp/gdb.compat/sum.c: File deleted.
2131 * gdb.hp/gdb.compat/xdb.c: File deleted.
2132 * gdb.hp/gdb.compat/xdb0.c: File deleted.
2133 * gdb.hp/gdb.compat/xdb0.h: File deleted.
2134 * gdb.hp/gdb.compat/xdb1.c: File deleted.
2135 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
2136 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
2137 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
2138 * gdb.hp/gdb.defects/Makefile.in: File deleted.
2139 * gdb.hp/gdb.defects/bs14602.c: File deleted.
2140 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
2141 * gdb.hp/gdb.defects/solib-d.c: File deleted.
2142 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
2143 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
2144 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
2145 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
2146 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
2147 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
2148 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
2149 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
2150 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
2151 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
2152 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
2153 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
2154 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
2155 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
2156 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
2157 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
2158 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
2159 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
2160 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
2161 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
2162 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
2163 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
2164 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
2165 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
2166 * gdb.hp/tools/odump: File deleted.
2168 2015-03-19 Pedro Alves <palves@redhat.com>
2170 * gdb.threads/continue-pending-status.exp (saw_thread_2)
2171 (saw_thread_3): New globals.
2172 (top level): Increment them when an event for the corresponding
2174 (no thread starvation): New test.
2176 2015-03-19 Pedro Alves <palves@redhat.com>
2178 * gdb.threads/continue-pending-status.c: New file.
2179 * gdb.threads/continue-pending-status.exp: New file.
2181 2015-03-18 Pedro Alves <palves@redhat.com>
2183 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
2184 Use gdb_is_target_remote instead of is_remote. Use
2185 gdb_test_multiple instead of gdb_expect. Exit early if
2186 gdb_test_multiple hits its internal matches. Tighten stepi tests
2187 expected output. Fail on exit with any signal, instead of just
2190 2015-03-18 Yao Qi <yao.qi@linaro.org>
2193 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
2195 * gdb.base/catch-syscall.exp: Don't skip it on
2196 aarch64*-*-linux* target. Remove elements in all_syscalls.
2197 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
2199 (setup_all_syscalls): New proc.
2201 2015-03-16 Yao Qi <yao.qi@linaro.org>
2203 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
2204 (top level): Skip tests if valid_addr_p returns false for
2207 2015-03-11 Andy Wingo <wingo@igalia.com>
2209 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
2211 2015-03-11 Yao Qi <yao.qi@linaro.org>
2213 * gdb.base/catch-syscall.exp: Fix typo in comments.
2215 2015-03-11 Yao Qi <yao.qi@linaro.org>
2217 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
2219 2015-03-09 Pedro Alves <palves@redhat.com>
2221 * dg-extract-results.py: Delete.
2223 2015-03-09 Pedro Alves <palves@redhat.com>
2225 Merge dg-extract-results.sh from GCC upstream (r218843).
2227 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
2228 * dg-extract-results.sh: Use --text with grep to avoid issues with
2229 binary files. Fall back to cat -v, if that doesn't work.
2231 2015-03-05 Pedro Alves <palves@redhat.com>
2233 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
2235 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
2237 * lib/mi-support.exp (mi_expect_interrupt): Accept
2238 alternative event for when in all-stop mode.
2240 2015-03-04 Pedro Alves <palves@redhat.com>
2242 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
2244 2015-03-04 Mark Kettenis <kettenis@gnu.org>
2246 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
2248 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2250 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
2251 regexps for GDB's current line display, accept a hex address
2252 preceding the line number.
2254 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2256 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
2257 the 'arch1' variable for "s390*-linux*" targets.
2259 2015-03-04 Pedro Alves <palves@redhat.com>
2261 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
2262 (main): Pass missing retval argument to pthread_join call.
2264 2015-03-02 Pedro Alves <palves@redhat.com>
2266 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
2267 (top level): Call do_test with non-stop as well.
2269 2015-03-02 Pedro Alves <palves@redhat.com>
2271 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
2274 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
2276 * gdb.arch/s390-vregs.exp: New test.
2277 * gdb.arch/s390-vregs.S: New file.
2279 2015-02-27 Pedro Alves <palves@redhat.com>
2281 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
2282 call to catch_command_errors.
2283 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
2284 catch_command_errors.
2286 2015-02-27 Pedro Alves <palves@redhat.com>
2288 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
2289 "true" for boolean result.
2290 * gdb.gdb/selftest.exp (test_with_self): Also accept full
2293 2015-02-27 Pedro Alves <palves@redhat.com>
2295 * lib/unbuffer_output.c: New file.
2296 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
2297 (main): Call gdb_unbuffer_output.
2299 2015-02-27 Yao Qi <yao.qi@linaro.org>
2301 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
2304 2015-02-26 Doug Evans <dje@google.com>
2306 * gdb.cp/class2.cc (Dbase, D): New classes.
2307 (main): New local delta.
2308 * gdb.cp/class2.exp: Test printing delta.
2309 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
2310 (dynbar): New global.
2311 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
2313 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2315 * gdb.compile/compile-ifunc.c: New file.
2316 * gdb.compile/compile-ifunc.exp: New file.
2318 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
2320 * gdb.base/structs.exp: Check for correct struct on finish.
2322 2015-02-26 Yao Qi <yao.qi@linaro.org>
2324 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
2327 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2329 * gdb.arch/cordic.ko.bz2: New file.
2330 * gdb.arch/cordic.ko.debug.bz2: New file.
2331 * gdb.arch/ppc64-symtab-cordic.exp: New file.
2333 2015-02-25 Yao Qi <yao.qi@linaro.org>
2335 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
2336 aarch64*-*-* target.
2338 2015-02-23 Pedro Alves <palves@redhat.com>
2340 * lib/gdb.exp (delete_breakpoints): Rewrite using
2343 2015-02-23 Pedro Alves <palves@redhat.com>
2345 * gdb.base/info-os.c: Include stdlib.h.
2347 2015-02-22 Doug Evans <xdje42@gmail.com>
2350 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
2351 is read after symbols have been re-read.
2352 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
2353 * gdb.ada/exec_changed/second.adb (Second): Ditto.
2355 2015-02-21 Doug Evans <dje@google.com>
2357 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
2359 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2362 * gdb.arch/i386-biarch-core.core.bz2: New file.
2363 * gdb.arch/i386-biarch-core.exp: New file.
2365 2015-02-21 Pedro Alves <palves@redhat.com>
2367 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
2370 2015-02-20 Pedro Alves <palves@redhat.com>
2372 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
2375 2015-02-20 Pedro Alves <palves@redhat.com>
2377 * gdb.threads/multi-create-ns-info-thr.exp: New file.
2379 2015-02-20 Pedro Alves <palves@redhat.com>
2381 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
2382 clean_restart before gdb_target_supports_trace.
2384 2015-02-20 Pedro Alves <palves@redhat.com>
2387 * gdb.threads/clone-thread_db.c: New file.
2388 * gdb.threads/clone-thread_db.exp: New file.
2390 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
2392 PR breakpoints/16812
2393 * gdb.base/catch-gdb-caused-signals.c: New file.
2394 * gdb.base/catch-gdb-caused-signals.exp: New file.
2396 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
2398 * configure: Regenerated.
2399 * configure.ac: Use GDB_AC_TRANSFORM.
2400 * aclocal.m4: sinclude ../transform.m4.
2402 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2404 * lib/dtrace.exp: New file.
2405 * gdb.base/dtrace-probe.exp: Likewise.
2406 * gdb.base/dtrace-probe.d: Likewise.
2407 * gdb.base/dtrace-probe.c: Likewise.
2408 * lib/pdtrace.in: Likewise.
2409 * configure.ac: Output variables with the transformed names of
2410 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
2411 * configure: Regenerated.
2413 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2415 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
2416 expected message when trying to access $_probe_* convenience
2417 variables while not on a probe.
2419 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2421 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
2423 2015-02-11 Pedro Alves <pedro@codesourcery.com>
2425 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
2426 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
2428 2015-02-10 Doug Evans <xdje42@gmail.com>
2430 * lib/gdb.exp (gdb_load): Always return a result.
2432 2015-02-10 Pedro Alves <palves@redhat.com>
2434 * gdb.threads/signal-sigtrap.c: New file.
2435 * gdb.threads/signal-sigtrap.exp: New file.
2437 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
2439 * gdb.trace/no-attach-trace.c: New file.
2440 * gdb.trace/no-attach-trace.exp: New file.
2442 2015-02-09 Mark Wielaard <mjw@redhat.com>
2444 * gdb.dwarf2/atomic.c: New file.
2445 * gdb.dwarf2/atomic-type.exp: Likewise.
2447 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2449 * gdb.btrace/buffer-size.exp: Update "info record" output.
2450 * gdb.btrace/delta.exp: Update "info record" output.
2451 * gdb.btrace/enable.exp: Update "info record" output.
2452 * gdb.btrace/finish.exp: Update "info record" output.
2453 * gdb.btrace/instruction_history.exp: Update "info record" output.
2454 * gdb.btrace/next.exp: Update "info record" output.
2455 * gdb.btrace/nexti.exp: Update "info record" output.
2456 * gdb.btrace/step.exp: Update "info record" output.
2457 * gdb.btrace/stepi.exp: Update "info record" output.
2458 * gdb.btrace/nohist.exp: Update "info record" output.
2460 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2462 * gdb.btrace/buffer-size: New.
2464 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2466 * gdb.btrace/delta.exp: Update "info record" output.
2467 * gdb.btrace/enable.exp: Update "info record" output.
2468 * gdb.btrace/finish.exp: Update "info record" output.
2469 * gdb.btrace/instruction_history.exp: Update "info record" output.
2470 * gdb.btrace/next.exp: Update "info record" output.
2471 * gdb.btrace/nexti.exp: Update "info record" output.
2472 * gdb.btrace/step.exp: Update "info record" output.
2473 * gdb.btrace/stepi.exp: Update "info record" output.
2474 * gdb.btrace/nohist.exp: Update "info record" output.
2476 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
2479 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
2481 2015-02-06 Pedro Alves <palves@redhat.com>
2483 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
2485 (seconds_left, again): New globals.
2486 (main): Wait seconds_left in a 1-second sleep loop instead of
2487 sleeping 180 seconds. If 'again' is set, reset the seconds
2489 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
2490 'again' in the inferior before detaching. Print the seconds left.
2491 (options): New global.
2492 (top level): Build program with -DTIMEOUT=$timeout.
2494 2015-02-06 Pedro Alves <palves@redhat.com>
2496 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
2497 determine how many seconds to pass to 'alarm'.
2498 * gdb.base/gdb-sigterm.exp (top level): Build program with
2500 (do_test): Return success/failure indication. Add more verbose
2501 logging. Don't fail if 200 single steps are seen. Instead, fail
2502 when the test times out.
2503 (passes): New global.
2504 (top level): Break the testing loop if testing fails on any
2505 iteration. Use gdb_assert.
2507 2015-02-04 Don Breazeal <donb@codesourcery.com>
2509 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
2510 and initialize them.
2511 (ipc_cleanup): New function.
2512 (main): Don't declare shmid, semid, and msqid. Add a call to
2513 atexit so that we call ipc_cleanup on exit.
2515 2015-02-04 Pedro Alves <palves@redhat.com>
2517 * boards/native-extended-gdbserver.exp: Remove any target variant
2518 specifications from the board name before clearing the isremote
2519 flag from board_info.
2521 2015-01-31 Doug Evans <xdje42@gmail.com>
2523 * gdb.base/maint.exp <maint print type argc>: Update expected output.
2525 2015-01-31 Gary Benson <gbenson@redhat.com>
2527 * gdb.base/completion.exp: Disable completion limiting for
2528 existing tests. Add new tests to check completion limiting.
2529 * gdb.linespec/ls-errs.exp: Disable completion limiting.
2531 2015-01-31 Doug Evans <xdje42@gmail.com>
2533 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
2535 2015-01-31 Doug Evans <xdje42@gmail.com>
2537 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
2538 entries. Duplicate file section script entries.
2539 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
2540 inlined entries. Add test for safe-path rejection.
2541 * gdb.python/py-section-script.c: Add duplicate inlined section script
2542 entries. Duplicate file section script entries.
2543 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
2544 inlined entries. Add test for safe-path rejection.
2546 2015-01-29 Joel Brobecker <brobecker@adacore.com>
2548 * gdb.ada/disc_arr_bound: New testcase.
2550 2015-01-29 Joel Brobecker <brobecker@adacore.com>
2552 * gdb.ada/mi_var_array: New testcase.
2554 2015-01-27 Doug Evans <dje@google.com>
2556 * gdb.python/py-objfile.exp: Add tests for objfile.username.
2557 Add test for objfile.filename, objfile.username after objfile
2560 2015-01-26 Joel Brobecker <brobecker@adacore.com>
2562 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
2563 the second test to print the name attribute of value
2564 returned by the call to gdb.lookup_type, and adjust
2565 the expected output accordingly.
2567 2015-01-25 Mark Wielaard <mjw@redhat.com>
2569 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
2570 * gdb.base/disp-step-fork.c: Include unistd.h.
2571 * gdb.base/siginfo-obj.c: Include stdio.h.
2572 * gdb.base/siginfo-thread.c: Likewise.
2573 * gdb.mi/non-stop.c: Include unistd.h.
2574 * gdb.mi/nsthrexec.c: Include stdio.h.
2575 * gdb.mi/pthreads.c: Include unistd.h.
2576 * gdb.modula2/unbounded1.c (main): Declare returns int.
2577 * gdb.reverse/consecutive-reverse.c: Likewise.
2578 * gdb.threads/create-fail.c: Include unistd.h.
2579 * gdb.threads/killed.c: Likewise.
2580 * gdb.threads/linux-dp.c: Likewise.
2581 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
2582 * gdb.threads/non-ldr-exc-2.c: Likewise.
2583 * gdb.threads/non-ldr-exc-3.c: Likewise.
2584 * gdb.threads/non-ldr-exc-4.c: Likewise.
2585 * gdb.threads/pthreads.c: Include unistd.h.
2586 (main): Declare returns int.
2587 * gdb.threads/tls-main.c (foo): New declaration.
2588 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
2590 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
2592 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
2593 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
2595 2015-01-15 Mark Wielaard <mjw@redhat.com>
2597 * gdb.base/noreturn-return.c: New file.
2598 * gdb.base/noreturn-return.exp: New file.
2599 * gdb.base/noreturn-finish.c: New file.
2600 * gdb.base/noreturn-finish.exp: New file.
2602 2015-01-23 Pedro Alves <palves@redhat.com>
2604 * gdb.threads/continue-pending-after-query.c: New file.
2605 * gdb.threads/continue-pending-after-query.exp: New file.
2607 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
2608 Simon Marchi <simon.marchi@ericsson.com>
2610 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
2611 * gdb.base/valgrind-db-attach.exp: Same.
2612 * gdb.base/valgrind-infcall.exp: Same.
2613 * lib/mi-support.exp (default_mi_gdb_start): Same.
2614 * lib/prompt.exp (default_prompt_gdb_start): Same.
2615 * lib/gdb.exp (default_gdb_spawn): Same.
2616 (gdb_interact): New.
2619 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2621 * gdb.compile/compile.exp (pointer to jit function): New test.
2623 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
2625 * lib/gdb.exp (supports_process_record): Return true for
2627 (supports_reverse): Likewise.
2629 2015-01-15 Don Breazeal <donb@codesourcery.com>
2631 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
2632 instead of checking whether the target board is remote and
2633 use spawn_wait_for_attach instead of exec/sleep.
2634 * gdb.base/attach-twice.exp: Likewise.
2636 2015-01-15 Joel Brobecker <brobecker@adacore.com>
2638 * gdb.ada/var_arr_attrs: New testcase.
2640 2015-01-14 Pedro Alves <palves@redhat.com>
2641 Joel Brobecker <brobecker@adacore.com>
2644 * gdb.base/bp-cmds-execution-x-script.c: New file.
2645 * gdb.base/bp-cmds-execution-x-script.exp: New file.
2646 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
2648 2015-01-14 Pedro Alves <palves@redhat.com>
2651 * gdb.base/batch-preserve-term-settings.c: New file.
2652 * gdb.base/batch-preserve-term-settings.exp: New file.
2654 2015-01-13 Doug Evans <dje@google.com>
2656 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
2659 2015-01-13 Joel Brobecker <brobecker@adacore.com>
2661 * Makefile.in (clean mostlyclean): Do not delete *.py.
2663 2015-01-13 Joel Brobecker <brobecker@adacore.com>
2665 * gdb.python/py-lookup-type.exp: New file.
2667 2015-01-12 Pedro Alves <palves@redhat.com>
2669 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
2670 restore GDBFLAGS before returning.
2672 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2674 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
2675 is_amd64_regs_target and is_x86_like_target.
2677 2015-01-11 Doug Evans <xdje42@gmail.com>
2679 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
2680 is given without an explicit form.
2681 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
2683 * gdb.dwarf/corrupt.exp: Ditto.
2684 * gdb.dwarf2/enum-type.exp: Ditto.
2685 * gdb.trace/entry-values.exp: Ditto.
2686 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
2688 2015-01-11 Doug Evans <xdje42@gmail.com>
2691 * gdb.base/maint.exp: Remove references to "maint demangle".
2692 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
2693 Add tests for explicitly specifying language to demangle.
2694 * gdb.dlang/demangle.exp: Ditto.
2696 2015-01-09 Pedro Alves <palves@redhat.com>
2698 * gdb.threads/non-stop-fair-events.c: New file.
2699 * gdb.threads/non-stop-fair-events.exp: New file.
2701 2015-01-09 Pedro Alves <palves@redhat.com>
2703 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
2704 the global scope. Set a breakpoint after all threads are started
2705 rather than stepping over two source lines. Expect the prompt.
2706 * gdb.base/watch_thread_num.c (threads_started_barrier): New
2709 (main): Use threads_started_barrier to wait for all threads to
2710 start. Main thread no longer calls thread_function. Exit after
2712 (loop): New function.
2713 (thread_function): Wait on threads_started_barrier barrier. Call
2714 'loop' at each iteration.
2715 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
2716 threads have started, instead of hardcoding number of "next"
2717 steps. Use an access watchpoint instead of a write watchpoint.
2719 2015-01-09 Pedro Alves <palves@redhat.com>
2721 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
2722 (thread_func): Wait on barrier.
2723 (main): Wait for all threads to start before stopping GDB.
2724 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
2726 (thread1_func, thread2_func): Wait on barrier.
2727 (main): Wait for all threads to start before stopping GDB.
2728 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
2730 (thread1_func, thread2_func): Wait on barrier.
2731 (main): Wait for all threads to start before stopping GDB.
2733 2015-01-09 Pedro Alves <palves@redhat.com>
2735 * gdb.threads/attach-many-short-lived-threads.c: New file.
2736 * gdb.threads/attach-many-short-lived-threads.exp: New file.
2738 2014-01-09 Pedro Alves <palves@redhat.com>
2740 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
2741 instead of to thread 2.
2742 * gdb.threads/signal-command-multiple-signals-pending.c (main):
2743 Add barrier around each pthread_create call instead of around all
2745 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
2746 Set a break on thread_function and have the child threads hit it
2749 2015-01-09 Pedro Alves <palves@redhat.com>
2751 * lib/gdb.exp (can_spawn_for_attach): New procedure.
2752 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
2754 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
2755 checking whether the target board is remote.
2756 * gdb.multi/multi-attach.exp: Likewise.
2757 * gdb.python/py-sync-interp.exp: Likewise.
2758 * gdb.server/ext-attach.exp: Likewise.
2759 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
2760 tests that need to attach, instead of checking whether the target
2761 board is remote at the top of the file.
2763 2015-01-08 Yao Qi <yao@codesourcery.com>
2765 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
2767 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2769 Fix testcase compilation.
2770 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
2772 2015-01-06 Joel Brobecker <brobecker@adacore.com>
2774 * gdb.python/py-type.exp: Add a couple test about empty
2775 array creation, and negative-length array creation.
2777 2015-01-02 Doug Evans <xdje42@gmail.com>
2779 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
2781 2015-01-02 Doug Evans <dje@google.com>
2783 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
2785 2014-12-29 Yao Qi <yao@codesourcery.com>
2787 * gdb.trace/entry-values.exp: Update comments. Rename variable
2788 bar_call_foo to returned_from_foo.
2790 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
2793 * gdb.linespec/break-asm-file.c: New file.
2794 * gdb.linespec/break-asm-file.exp: New file.
2795 * gdb.linespec/break-asm-file0.s: New file.
2796 * gdb.linespec/break-asm-file1.s: New file.
2798 2014-12-18 Nigel Stephens <nigel@mips.com>
2799 Maciej W. Rozycki <macro@codesourcery.com>
2801 * gdb.base/float.exp: Handle the new output from "info float" on
2804 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2806 Fix MinGW compilation.
2807 * gdb.compile/compile-ops.exp: Update untested message if
2808 !skip_compile_feature_tests.
2809 * gdb.compile/compile-setjmp.exp: Likewise.
2810 * gdb.compile/compile-tls.exp: Likewise.
2811 * gdb.compile/compile.exp: Likewise.
2812 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
2813 supported on this host".
2815 2014-12-16 Doug Evans <xdje42@gmail.com>
2817 * boards/stabs.exp: New file.
2819 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
2821 * gdb.base/completion.exp: Adjust to format changes of "maint
2822 print user-registers".
2824 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
2827 * gdb.arch/aarch64-fp.c: New file.
2828 * gdb.arch/aarch64-fp.exp: New file.
2830 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
2832 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
2833 r210637, r210913, r211666, r215400, r215817).
2835 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
2836 * dg-extract-results.py: New file.
2837 * dg-extract-results.sh: Use it if the environment seems
2840 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
2842 * dg-extract-results.py (parse_run): Handle warnings that
2843 are printed before a test harness is run.
2845 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
2847 * dg-extract-results.py (Named): Remove __cmp__ method.
2848 (output_variation): Use a key to sort variation.harnesses.
2850 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
2852 * dg-extract-results.py: For Python 3, force sys.stdout to
2853 handle surrogate escape sequences.
2854 (safe_open): New function.
2855 (output_segment, main): Use it.
2857 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
2859 * dg-extract-results.py (Prog.result_re): Include options
2862 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
2864 * dg-extract-results.py (output_variation): Always sort if
2867 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
2869 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
2870 as long as we get pagination notifications.
2872 2014-12-15 Jason Merrill <jason@redhat.com>
2874 * Makefile.in (check-gdb.%): Restore.
2875 * README: Mention it.
2877 2014-12-13 Joel Brobecker <brobecker@adacore.com>
2879 * gdb.ada/str_uninit: New testcase.
2881 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2884 * gdb.base/vla-stub-define.c: New file.
2885 * gdb.base/vla-stub.c: New file.
2886 * gdb.base/vla-stub.exp: New file.
2888 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
2889 Jan Kratochvil <jan.kratochvil@redhat.com>
2890 Tom Tromey <tromey@redhat.com>
2892 * configure.ac: Add gdb.compile/.
2893 * configure: Regenerate.
2894 * gdb.compile/Makefile.in: New file.
2895 * gdb.compile/compile-ops.exp: New file.
2896 * gdb.compile/compile-ops.c: New file.
2897 * gdb.compile/compile-tls.c: New file.
2898 * gdb.compile/compile-tls.exp: New file.
2899 * gdb.compile/compile-constvar.S: New file.
2900 * gdb.compile/compile-constvar.c: New file.
2901 * gdb.compile/compile-mod.c: New file.
2902 * gdb.compile/compile-nodebug.c: New file.
2903 * gdb.compile/compile-setjmp-mod.c: New file.
2904 * gdb.compile/compile-setjmp.c: New file.
2905 * gdb.compile/compile-setjmp.exp: New file.
2906 * gdb.compile/compile-shlib.c: New file.
2907 * gdb.compile/compile.c: New file.
2908 * gdb.compile/compile.exp: New file.
2909 * lib/gdb.exp (skip_compile_feature_tests): New proc.
2911 2014-12-12 Tom Tromey <tromey@redhat.com>
2913 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
2914 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
2916 2014-12-12 Doug Evans <dje@google.com>
2918 * lib/gdb-python.exp (get_python_valueof): New function.
2919 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
2921 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2923 * gdb.base/completion.exp: Add test for completion of "info
2926 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
2928 * gdb.base/func-ptrs.c: New file.
2929 * gdb.base/func-ptrs.exp: New file.
2931 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2933 PR breakpoints/17012
2934 * gdb.base/dprintf-detach.c: New file.
2935 * gdb.base/dprintf-detach.exp: New file.
2937 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2939 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
2940 * lib/gdb.exp (target_is_gdbserver): New procedure.
2942 2014-12-08 Doug Evans <dje@google.com>
2944 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
2946 2014-12-05 Yao Qi <yao@codesourcery.com>
2948 * gdb.guile/scm-error.exp: Remove the third argument to
2949 gdb_remote_download.
2950 * gdb.guile/scm-frame-args.exp: Likewise.
2951 * gdb.guile/scm-section-script.exp: Likewise.
2953 2014-12-05 Yao Qi <yao@codesourcery.com>
2955 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
2957 2014-12-04 Doug Evans <dje@google.com>
2959 * gdb.python/py-objfile.exp: Add tests for
2960 objfile.add_separate_debug_file.
2962 2014-12-04 Doug Evans <dje@google.com>
2964 * lib/gdb.exp (get_build_id): New function.
2965 (build_id_debug_filename_get): Rewrite to use it.
2966 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
2968 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
2970 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
2971 `method(long)', not just 0x0.
2972 * gdb.cp/nsalias.exp: Align code labels to 4.
2973 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
2974 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
2975 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
2976 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
2977 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
2978 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
2980 2014-12-02 Doug Evans <dje@google.com>
2983 * gdb.cp/anon-ns.cc: Move guts of this file to ...
2984 * gdb.cp/anon-ns2.cc: ... here. New file.
2985 * gdb.cp/anon-ns.exp: Update.
2987 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
2989 * gdb.python/py-events.py (inferior_call_handler): New.
2990 (register_changed_handler, memory_changed_handler): New.
2991 (test_events.invoke): Register new handlers.
2992 * gdb.python/py-events.exp: Add tests for inferior call,
2993 memory_changed and register_changed events.
2995 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
2997 * gdb.base/execl-update-breakpoints.exp: Specify the link address
2998 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
2999 if the linker doesn't understand this.
3001 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
3003 * gdb.python/python.exp: Change expected reply to help().
3005 2014-12-01 Yao Qi <yao@codesourcery.com>
3007 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
3008 AC_CONFIG_SUBDIRS(gdb.gdbtk).
3009 * configure: Re-generated.
3011 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
3013 * gdb.cp/chained-calls.cc: New file.
3014 * gdb.cp/chained-calls.exp: New file.
3015 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
3017 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
3019 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
3020 * gdb.dwarf2/symtab-producer.exp: Same.
3021 * gdb.gdb/python-interrupts.exp: Same.
3022 * gdb.gdb/python-selftest.exp: Same.
3023 * gdb.python/py-linetable.exp: Same.
3024 * gdb.python/py-type.exp: Same.
3025 * gdb.python/py-value-cc.exp: Same.
3026 * gdb.python/py-value.exp: Same.
3028 2014-11-28 Yao Qi <yao@codesourcery.com>
3030 * gdb.base/break-probes.exp: Match library name prefixed with
3033 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
3035 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
3036 test expected output. Add parentheses for the call to print.
3037 Remove L suffix from integers.
3039 2014-11-26 Doug Evans <dje@google.com>
3041 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
3043 2014-11-22 Yao Qi <yao@codesourcery.com>
3045 * gdb.trace/entry-values.c: Remove asms.
3046 (foo): Add foo_label.
3047 (bar): Add bar_label.
3048 * gdb.trace/entry-values.exp: Remove code computing foo's
3049 length and bar's length.
3050 (Dwarf::assemble): Invoke function_range for bar and use
3051 MACRO_AT_func for foo.
3053 2014-11-22 Yao Qi <yao@codesourcery.com>
3055 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
3056 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
3057 Use .Lgcc43_procstart instead of gcc43.
3059 2014-11-21 Joel Brobecker <brobecker@adacore.com>
3061 * gdb.ada/n_arr_bound: New testcase.
3063 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
3065 PR breakpoints/10737
3066 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
3067 test_catch_syscall_multi_arch.
3068 (test_catch_syscall_multi_arch): New function.
3070 2014-11-20 Doug Evans <xdje42@gmail.com>
3072 * gdb.base/maint.exp: Update expected output.
3074 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3076 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
3077 4-byte instruction on S390.
3079 2014-11-19 Joel Brobecker <brobecker@adacore.com>
3081 * gdb.ada/arr_arr: New testcase.
3083 2014-11-19 Joel Brobecker <brobecker@adacore.com>
3085 * gdb.ada/pkd_arr_elem: New Testcase.
3087 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
3089 * gdb.reverse/break-precsave: Expect completion message for
3091 * gdb.reverse/consecutive-precsave.exp: Likewise.
3092 * gdb.reverse/finish-precsave.exp: Likewise.
3093 * gdb.reverse/i386-precsave.exp: Likewise.
3094 * gdb.reverse/machinestate-precsave.exp: Likewise.
3095 * gdb.reverse/sigall-precsave.exp: Likewise.
3096 * gdb.reverse/solib-precsave.exp: Likewise.
3097 * gdb.reverse/step-precsave.exp: Likewise.
3098 * gdb.reverse/until-precsave.exp: Likewise.
3099 * gdb.reverse/watch-precsave.exp: Likewise.
3101 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3103 * gdb.base/bp-permanent.c: Include unistd.h.
3104 * gdb.python/py-framefilter-mi.c (main): Add return type.
3105 * gdb.python/py-framefilter.c (main): Likewise.
3106 * gdb.trace/actions-changed.c (main): Likewise.
3108 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3110 * gdb.mi/until.c: Add eye-catchers.
3111 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
3114 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3116 * gdb.base/condbreak.exp: Drop references to removed non-prototype
3117 function header variants in break1.c.
3118 * gdb.base/ena-dis-br.exp: Likewise.
3119 * gdb.base/hbreak2.exp: Likewise.
3120 * gdb.reverse/until-precsave.exp: Drop references to removed
3121 non-prototype function header variants in ur1.c.
3122 * gdb.reverse/until-reverse.exp: Likewise.
3124 2014-11-17 Petr Machata <pmachata@redhat.com>
3126 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
3127 ${_cu_offset_size} bytes abbrev offset.
3129 2014-11-15 Doug Evans <xdje42@gmail.com>
3132 * gdb.base/line-symtabs.exp: New file.
3133 * gdb.base/line-symtabs.c: New file.
3134 * gdb.base/line-symtabs.h: New file.
3136 2014-11-14 Yao Qi <yao@codesourcery.com>
3138 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
3139 (func): Add label func_label.
3140 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
3141 Replace low_pc and high_pc with MACRO_AT_range.
3142 Replace name, low_pc and high_pc with MACRO_AT_func.
3144 2014-11-14 Yao Qi <yao@codesourcery.com>
3146 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
3147 Replace name, low_pc and high_pc with MACRO_AT_func.
3149 2014-11-14 Yao Qi <yao@codesourcery.com>
3151 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
3152 produce debug information.
3153 * gdb.dwarf2/implptr-optimized-out.S: Removed.
3155 2014-11-14 Yao Qi <yao@codesourcery.com>
3157 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
3158 object and get function length.
3159 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
3161 (top-level): Replace gdb_compile and clean_restart with
3162 prepare_for_testing.
3163 * gdb.dwarf2/main.c (main): Add label main_label.
3165 2014-11-14 Yao Qi <yao@codesourcery.com>
3167 * lib/dwarf.exp (function_range): New procedure.
3168 (Dwarf::_handle_macro_at_func): New procedure.
3169 (Dwarf::_handle_macro_at_range): New procedure.
3170 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
3172 2014-11-14 Yao Qi <yao@codesourcery.com>
3174 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
3175 (_handle_attribute): New procedure.
3177 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3179 * gdb.ada/cond_lang/foo.c (callme): Add return type.
3180 * gdb.base/call-sc.c (zed): Likewise.
3181 * gdb.base/checkpoint.c (main): Likewise.
3182 * gdb.base/dump.c (main): Likewise.
3183 * gdb.base/gcore.c (main): Likewise.
3184 * gdb.base/huge.c (main): Likewise.
3185 * gdb.base/multi-forks.c (main): Likewise.
3186 * gdb.base/pr10179-a.c (main): Likewise.
3187 * gdb.base/savedregs.c (main): Likewise.
3188 * gdb.base/sigaltstack.c (main): Likewise.
3189 * gdb.base/siginfo.c (main): Likewise.
3190 * gdb.base/structs.c (zed): Likewise.
3191 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
3192 * gdb.mi/mi-syn-frame.c (main): Likewise.
3193 * gdb.mi/until.c (foo, main): Likewise.
3194 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
3195 * gdb.base/solib-weak.c (foo): Declare.
3196 * gdb.base/attach-twice.c: Include stdio.h.
3197 * gdb.base/weaklib1.c: Likewise.
3198 * gdb.base/weaklib2.c: Likewise.
3199 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
3200 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
3202 * gdb.base/attach-pie-misread.c: Include stdlib.h.
3203 * gdb.mi/mi-exit-code.c: Likewise.
3204 * gdb.base/break-interp-lib.c: Include string.h.
3205 * gdb.base/coremaker.c: Likewise.
3206 * gdb.base/testenv.c: Likewise.
3207 * gdb.python/py-finish-breakpoint.c: Likewise.
3208 * gdb.base/inferior-died.c: Include sys/wait.h.
3209 * gdb.base/fileio.c: Include time.h.
3210 * gdb.base/async-shell.c: Include unistd.h.
3211 * gdb.base/dprintf-non-stop.c: Likewise.
3212 * gdb.base/info-os.c: Likewise.
3213 * gdb.mi/mi-console.c: Likewise.
3214 * gdb.mi/watch-nonstop.c: Likewise.
3215 * gdb.python/py-events.c: Likewise.
3216 * gdb.base/async.c (baz): Move up before its invocation.
3217 * gdb.base/code_elim2.c (my_global_func): Likewise.
3218 * gdb.base/skip-solib-lib.c (multiply): Likewise.
3219 * gdb.base/advance.c (func2): Likewise.
3221 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3223 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
3225 * gdb.base/annota3.c: Likewise.
3226 * gdb.base/async.c: Likewise.
3227 * gdb.base/average.c: Likewise.
3228 * gdb.base/call-ar-st.c: Likewise.
3229 * gdb.base/call-rt-st.c: Likewise.
3230 * gdb.base/call-sc.c: Likewise.
3231 * gdb.base/call-strs.c: Likewise.
3232 * gdb.base/ending-run.c: Likewise.
3233 * gdb.base/execd-prog.c: Likewise.
3234 * gdb.base/exprs.c: Likewise.
3235 * gdb.base/foll-exec.c: Likewise.
3236 * gdb.base/foll-fork.c: Likewise.
3237 * gdb.base/foll-vfork.c: Likewise.
3238 * gdb.base/funcargs.c: Likewise.
3239 * gdb.base/gcore.c: Likewise.
3240 * gdb.base/jump.c: Likewise.
3241 * gdb.base/langs0.c: Likewise.
3242 * gdb.base/langs1.c: Likewise.
3243 * gdb.base/langs2.c: Likewise.
3244 * gdb.base/mips_pro.c: Likewise.
3245 * gdb.base/nodebug.c: Likewise.
3246 * gdb.base/opaque0.c: Likewise.
3247 * gdb.base/opaque1.c: Likewise.
3248 * gdb.base/recurse.c: Likewise.
3249 * gdb.base/run.c: Likewise.
3250 * gdb.base/scope0.c: Likewise.
3251 * gdb.base/scope1.c: Likewise.
3252 * gdb.base/setshow.c: Likewise.
3253 * gdb.base/setvar.c: Likewise.
3254 * gdb.base/shmain.c: Likewise.
3255 * gdb.base/shr1.c: Likewise.
3256 * gdb.base/shr2.c: Likewise.
3257 * gdb.base/sigall.c: Likewise.
3258 * gdb.base/signals.c: Likewise.
3259 * gdb.base/so-indr-cl.c: Likewise.
3260 * gdb.base/solib2.c: Likewise.
3261 * gdb.base/structs.c: Likewise.
3262 * gdb.base/sum.c: Likewise.
3263 * gdb.base/vforked-prog.c: Likewise.
3264 * gdb.base/watchpoint.c: Likewise.
3265 * gdb.reverse/shr2.c: Likewise.
3266 * gdb.reverse/until-reverse.c: Likewise.
3267 * gdb.reverse/ur1.c: Likewise.
3268 * gdb.reverse/watch-reverse.c: Likewise.
3270 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3272 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
3274 * gdb.base/sepdebug.exp: Drop references to removed code.
3276 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3278 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
3279 variant. Preserve original line numbering.
3280 * gdb.base/list1.c: Likewise.
3282 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3284 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
3286 * gdb.base/break1.c: Likewise.
3287 * gdb.base/break.exp: Drop references to removed code.
3289 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3291 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
3294 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3296 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
3298 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3300 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
3301 logic into perform_all_tests() and invoke it with and without
3302 function header prototypes.
3303 (do_function_calls): Remove conditional XFAIL for PR 5318.
3304 (rerun_and_prepare): Remove duplicate code.
3305 (perform_all_tests): New. Main logic moved here.
3307 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3309 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
3310 code guarded by #ifdef NO_PROTOTYPES.
3311 (t_double_many_args): Likewise.
3312 (DEF_FUNC_MANY_ARGS_1): Likewise.
3313 (DEF_FUNC_VALUES_1): Likewise.
3314 (t_structs_ldc): Renamed from t_structs_fc in conditional code
3315 guarded by #ifdef PROTOTYPES.
3317 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3319 * gdb.mi/mi-console.c: Add eye-catcher.
3320 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
3321 instead of literal line number.
3323 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3325 * gdb.base/shr2.c: Add eye-catcher.
3326 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
3329 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3331 * gdb.base/jump.c: Add eye-catchers.
3332 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
3335 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3337 * gdb.base/execd-prog.c: Add eye-catchers.
3338 * gdb.base/foll-exec.c: Likewise.
3339 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
3342 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3344 * gdb.base/ending-run.c: Add eye-catchers.
3345 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
3346 literal line numbers.
3348 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3350 * gdb.base/call-rt-st.c: Add eye-catchers.
3351 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
3352 literal line numbers.
3354 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3356 * gdb.base/call-ar-st.c: Add eye-catchers.
3357 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
3358 literal line numbers.
3360 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3362 * gdb.base/average.c: Add eye-catchers.
3363 * gdb.base/sum.c: Likewise.
3364 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
3365 regexps dynamically.
3367 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3369 * gdb.base/solib1.c: Add eye-catchers.
3370 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
3371 literal line numbers.
3373 2014-11-12 Pedro Alves <palves@redhat.com>
3375 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
3378 2014-11-12 Pedro Alves <palves@redhat.com>
3380 * gdb.arch/i386-bp_permanent.c: New file.
3381 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
3382 (srcfile): Set to i386-bp_permanent.c.
3383 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
3384 that stepi does not execute the 'leave' instruction, instead of
3385 testing it does execute.
3386 * gdb.base/bp-permanent.c: New file.
3387 * gdb.base/bp-permanent.exp: New file.
3389 2014-11-10 Doug Evans <xdje42@gmail.com>
3392 * gdb.base/symtab-search-order.exp: New file.
3393 * gdb.base/symtab-search-order.c: New file.
3394 * gdb.base/symtab-search-order-1.c: New file.
3395 * gdb.base/symtab-search-order-shlib-1.c: New file.
3397 2014-11-07 Pedro Alves <palves@redhat.com>
3400 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
3403 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
3406 * gdb.cp/pr17494.cc: New file.
3407 * gdb.cp/pr17494.exp: New file.
3409 2014-11-02 Yao Qi <yao@codesourcery.com>
3411 * gdb.python/python.exp: Get working directory and match the
3412 output of "set extended-prompt \\w " with it.
3414 2014-10-30 Doug Evans <dje@google.com>
3416 * gdb.python/py-objfile.exp: Add tests for setting random attributes
3418 * gdb.python/py-progspace.exp: Add tests for setting random attributes
3421 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
3423 * gdb.base/fullpath-expand.exp: Skip for a remote host.
3424 * gdb.base/realname-expand.exp: Likewise.
3425 * gdb.linespec/macro-relative.exp: Likewise.
3427 2014-10-29 Pedro Alves <palves@redhat.com>
3430 * gdb.threads/schedlock.c (some_function): New function.
3431 (call_function): New global.
3432 (MAYBE_CALL_SOME_FUNCTION): New macro.
3433 (thread_function): Call it.
3434 * gdb.threads/schedlock.exp (get_args): Add description parameter,
3435 and use it instead of a global counter. Adjust all callers.
3436 (get_current_thread): Use "find current thread" for test message
3437 here rather than having all callers pass down the same string.
3438 (goto_loop): New procedure, factored out from ...
3439 (my_continue): ... this.
3440 (step_ten_loops): Change parameter from test message to command to
3442 (list_count): Delete global.
3443 (check_result): New procedure, factored out from duplicate top
3445 (continue tests): Wrap in with_test_prefix.
3446 (test_step): New procedure, factored out from duplicate top level
3448 (top level): Test "step" in combination with all scheduler-locking
3449 modes. Test "next" in combination with all scheduler-locking
3450 modes, and in combination with stepping over a function call or
3452 * gdb.threads/next-bp-other-thread.c: New file.
3453 * gdb.threads/next-bp-other-thread.exp: New file.
3455 2014-10-29 Pedro Alves <palves@redhat.com>
3458 * gdb.python/python.exp: Test a multi-line command that spawns
3460 * gdb.base/multi-line-starts-subshell.exp: New file.
3462 2014-10-29 Yao Qi <yao@codesourcery.com>
3464 * gdb.base/fileio.exp: Make directories on host.
3466 2014-10-29 Yao Qi <yao@codesourcery.com>
3468 * gdb.base/fileio.c (test_write): Close the file.
3470 2014-10-28 Pedro Alves <palves@redhat.com>
3473 * gdb.base/sigstep.c (no_handler): New global.
3474 (main): If 'no_handler is true, set the signal handlers to
3476 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
3477 with_sw_watch and no_handler parameters. Handle them.
3478 (top level) <stepping over handler when stopped at a breakpoint
3479 test>: Add a test axis for testing with a software watchpoint, and
3480 another for testing with the signal handler set to SIG_IGN.
3481 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
3482 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
3484 2014-10-28 Pedro Alves <palves@redhat.com>
3487 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
3488 * gdb.base/sigstep.exp (other_handler_location): New global.
3489 (advance): Support stepping into the signal handler, and running
3490 commands while in the handler.
3491 (in_handler_map): New global.
3492 (top level): In the advance test, add combinations for getting
3493 into the handler with stepping commands, and for running commands
3494 in the handler. Add comment descripting the advancei tests.
3496 2014-10-28 Pedro Alves <palves@redhat.com>
3498 * gdb.base/sigstep.exp: Use build_executable instead of
3499 prepare_for_testing.
3500 (top level): Move code that starts GDB, runs to main and creates a
3502 (restart): ... this new procedure.
3503 (top level): Move backtrace from signal handler test to ...
3504 (validate_backtrace): ... this new procedure.
3505 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
3506 with_test_prefix. Always restart GDB.
3507 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
3508 with_test_prefix. Always restart GDB. No need to delete
3509 breakpoints after the test.
3510 (test_skip_handler): Remove prefix parameter.
3511 (skip_over_handler, breakpoint_to_handler)
3512 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
3513 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
3514 restart GDB. No need to delete breakpoints after the test.
3515 (top level): Use foreach to call the test procedures with
3518 2014-10-28 Pedro Alves <palves@redhat.com>
3520 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
3521 instead of GNATS numbers.
3522 * gdb.base/sigbpt.exp: Likewise.
3523 * gdb.base/siginfo.exp: Likewise.
3524 * gdb.base/sigstep.exp: Likewise.
3526 2014-10-27 Pedro Alves <palves@redhat.com>
3528 * gdb.base/sigstep.c (dummy): New global.
3529 (main): Issue a couple writes to the new global.
3530 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
3532 (skip_over_handler): Use test_skip_handler.
3533 (top level): Call skip_over_handler for stepi and nexti too.
3534 (breakpoint_over_handler): Use test_skip_handler.
3535 (top level): Call breakpoint_over_handler for stepi and nexti too.
3537 2014-10-27 Yao Qi <yao@codesourcery.com>
3539 * gdb.trace/tfile.c (adjust_function_address)
3540 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
3541 function descriptor.
3543 2014-10-24 Don Breazeal <donb@codesourcery.com>
3545 * gdb.base/foll-fork.exp (test_follow_fork,
3546 catch_fork_child_follow): Check for updated fork messages emitted
3548 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
3549 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
3550 vfork_and_exec_child_follow_through_step): Check for updated vfork
3551 messages emitted from infrun.c.
3553 2014-10-24 Pedro Alves <palves@redhat.com>
3555 * gdb.base/corefile.exp: Remove references to ultrix.
3556 * gdb.base/interrupt.exp: Likewise.
3557 * gdb.base/whatis.exp: Likewise.
3558 * gdb.gdb/selftest.exp: Likewise.
3559 * gdb.threads/manythreads.exp: Likewise.
3560 * gdb.threads/print-threads.exp: Likewise.
3561 * gdb.threads/pthreads.exp:: Likewise.
3562 * gdb.threads/schedlock.exp: Likewise.
3564 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
3566 * gdb.cp/non-trivial-retval.cc: Add a test case.
3567 * gdb.cp/non-trivial-retval.exp: Add a test.
3569 2014-10-20 Yao Qi <yao@codesourcery.com>
3571 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
3572 * gdb.python/py-objfile-script-gdb.py: New file.
3573 * gdb.python/py-objfile-script.exp: Update reference to
3574 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
3575 of remote_download. Remove the dest file.
3577 2014-10-20 Yao Qi <yao@codesourcery.com>
3579 * gdb.base/checkpoint.exp: Don't remove file copied on host.
3580 * gdb.base/step-line.exp: Likewise.
3581 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3582 * gdb.dwarf2/dw2-basic.exp: Likewise.
3583 * gdb.dwarf2/dw2-compressed.exp: Likewise.
3584 * gdb.dwarf2/dw2-filename.exp: Likewise.
3585 * gdb.dwarf2/dw2-intercu.exp: Likewise.
3586 * gdb.dwarf2/dw2-intermix.exp: Likewise.
3587 * gdb.dwarf2/dw2-producer.exp: Likewise.
3588 * gdb.dwarf2/mac-fileno.exp: Likewise.
3589 * gdb.python/py-frame-args.exp: Likewise.
3590 * gdb.python/py-framefilter.exp: Likewise.
3591 * gdb.python/py-mi.exp: Likewise.
3592 * gdb.python/py-objfile-script.exp: Likewise
3593 * gdb.python/py-pp-integral.exp: Likewise.
3594 * gdb.python/py-pp-re-notag.exp: Likewise.
3595 * gdb.python/py-prettyprint.exp: Likewise.
3596 * gdb.python/py-section-script.exp: Likewise.
3597 * gdb.python/py-typeprint.exp: Likewise.
3598 * gdb.python/py-xmethods.exp: Likewise.
3599 * gdb.stabs/weird.exp: Likewise.
3600 * gdb.xml/tdesc-regs.exp: Likewise.
3602 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
3604 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
3605 (out_cu): Use addr_len for the size of addresses.
3606 (out_line): Likewise. Size DW_LNE_set_address instruction
3607 according to addr_len.
3608 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
3609 (FUNC): Add START_INSNS to definition.
3611 2014-10-18 Yao Qi <yao@codesourcery.com>
3613 * gdb.base/argv0-symlink.exp: Check argv[0] value if
3614 gdb_has_argv0 return true.
3615 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
3616 check [target_info exists noargs], check [gdb_has_argv0]
3618 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3619 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
3622 2014-10-17 Doug Evans <dje@google.com>
3624 * gdb.python/py-events.exp: Update expected output for clear_objfiles
3626 * gdb.python/py-events.py: Add clear_objfiles event.
3628 2014-10-17 Doug Evans <dje@google.com>
3630 * gdb.python/py-objfile.exp: Test progspace attribute.
3632 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
3634 * gdb.guile/scm-breakpoint.exp: Do not assume any
3635 directory separators when matching source file paths.
3636 * gdb.python/py-breakpoint.exp: Likewise.
3637 * gdb.reverse/break-precsave.exp: Likewise.
3638 * gdb.reverse/break-reverse.exp: Likewise.
3639 * gdb.reverse/consecutive-precsave.exp: Likewise.
3640 * gdb.reverse/finish-precsave.exp: Likewise.
3641 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
3642 * gdb.reverse/finish-reverse.exp: Likewise.
3643 * gdb.reverse/i386-precsave.exp: Likewise.
3644 * gdb.reverse/i387-env-reverse.exp: Likewise.
3645 * gdb.reverse/i387-stack-reverse.exp: Likewise.
3646 * gdb.reverse/machinestate-precsave.exp: Likewise.
3647 * gdb.reverse/machinestate.exp: Likewise.
3648 * gdb.reverse/sigall-precsave.exp: Likewise.
3649 * gdb.reverse/solib-precsave.exp: Likewise.
3650 * gdb.reverse/step-precsave.exp: Likewise.
3651 * gdb.reverse/until-precsave.exp: Likewise.
3652 * gdb.reverse/watch-precsave.exp: Likewise.
3653 * gdb.reverse/watch-reverse.exp: Likewise.
3655 2014-10-17 Yao Qi <yao@codesourcery.com>
3657 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
3658 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
3660 2014-10-17 Pedro Alves <palves@redhat.com>
3663 * gdb.base/bg-execution-repeat.c: New file.
3664 * gdb.base/bg-execution-repeat.exp: New file.
3666 2014-10-17 Pedro Alves <palves@redhat.com>
3669 * gdb.base/continue-all-already-running.c: New file.
3670 * gdb.base/continue-all-already-running.exp: New file.
3672 2014-10-17 Pedro Alves <palves@redhat.com>
3675 * gdb.base/annota-input-while-running.c: New file.
3676 * gdb.base/annota-input-while-running.exp: New file.
3678 2014-10-17 Pedro Alves <palves@redhat.com>
3680 * gdb.base/callfuncs.exp: emove references to osf.
3681 * gdb.base/sigall.exp: Likewise.
3682 * gdb.gdb/selftest.exp: Likewise.
3683 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
3684 * gdb.mi/non-stop.c: Likewise.
3685 * gdb.mi/pthreads.c: Likewise.
3686 * gdb.reverse/sigall-precsave.exp: Likewise.
3687 * gdb.reverse/sigall-reverse.exp: Likewise.
3688 * gdb.threads/pthreads.c: Likewise.
3689 * gdb.threads/pthreads.exp: Likewise.
3691 2014-10-17 Yao Qi <yao@codesourcery.com>
3693 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
3694 check 'target_info exists noargs'.
3695 (test_command_prompt_position): Likewise.
3696 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
3698 (progvar_simple_while_test): Likewise.
3699 (progvar_complex_if_while_test): Likewise.
3700 (if_while_breakpoint_command_test): Likewise.
3701 (infrun_breakpoint_command_test): Likewise.
3702 (breakpoint_command_test): Likewise.
3703 (watchpoint_command_test): Likewise.
3704 (bp_deleted_in_command_test): Likewise.
3705 (temporary_breakpoint_commands): Likewise.
3707 2014-10-16 Yao Qi <yao@codesourcery.com>
3709 * gdb.base/remotetimeout.exp: Remove noargs checking.
3711 2014-10-15 Pedro Alves <palves@redhat.com>
3714 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
3715 * gdb.base/breakpoint-in-ro-region.exp
3716 (probe_target_hardware_step): New procedure.
3717 (top level): Probe hardware stepping and hardware breakpoint
3718 support. Test stepping through a read-only region, with both
3719 "breakpoint auto-hw" on and off and both "always-inserted" on and
3722 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
3724 * gdb.dlang/demangle.exp: Update for demangling changes.
3726 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3728 * gdb.cp/non-trivial-retval.cc: Add new test cases.
3729 * gdb.cp/non-trivial-retval.exp: Add new tests.
3731 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3735 * gdb.cp/non-trivial-retval.cc: New file.
3736 * gdb.cp/non-trivial-retval.exp: New file.
3738 2014-10-15 Yao Qi <yao@codesourcery.com>
3740 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
3743 2014-10-15 Yao Qi <yao@codesourcery.com>
3745 * gdb.python/py-symbol.exp: Match file base name if host is
3746 remote, otherwise match file name with dir name.
3747 * gdb.python/py-symtab.exp: Likewise.
3748 * gdb.python/python.exp: Likewise.
3750 2014-10-15 Yao Qi <yao@codesourcery.com>
3752 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
3754 * gdb.python/py-symtab.exp: Likewise.
3755 * gdb.python/python.exp: Remove trailing ".*". Fix typo
3758 2014-10-14 Joel Brobecker <brobecker@adacore.com>
3760 * gdb.ada/addr_arith: New testcase.
3762 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
3764 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
3765 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
3766 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
3767 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
3769 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
3771 * gdb.arch/stap-eval-lang-ada.S: Likewise.
3772 * gdb.arch/stap-eval-lang-ada.c: Likewise.
3773 * gdb.arch/stap-eval-lang-ada.exp: New file.
3775 2014-10-14 Yao Qi <yao@codesourcery.com>
3777 * gdb.mi/mi-var-child.c (nothing1): New function.
3778 (nothing2): New function.
3779 (do_children_tests): Set function pointers by nothing1 and
3781 * gdb.mi/mi-var-child.exp: Step over new added statements.
3782 Update test to match the new output.
3783 * gdb.mi/var-cmd.c (nothing1): New function.
3784 (nothing2): New function.
3785 (do_children_tests): Set function pointers by nothing1 and
3787 * gdb.mi/mi-var-display.exp: Update test to match output.
3788 Step to the line specified by $line_dct_nothing.
3789 Increase the number of lines to step.
3791 2014-10-14 Yao Qi <yao@codesourcery.com>
3793 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
3795 * gdb.mi/mi2-var-child.exp: Likewise.
3797 2014-10-13 Doug Evans <dje@google.com>
3799 * gdb.python/py-objfile.exp: Change name of file name test.
3801 2014-10-13 Doug Evans <dje@google.com>
3803 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
3804 from the start of the CU.
3806 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3807 Yao Qi <yao@codesourcery.com>
3809 Fix "save breakpoints" for "catch" command.
3810 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
3811 Remove -nonewline. Match also the added "main" line.
3813 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3815 Fix "save breakpoints" for "disable $bpnum" command.
3816 * gdb.base/save-bp.c (main): Add label.
3817 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
3819 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3821 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
3823 2014-10-11 Yao Qi <yao@codesourcery.com>
3825 * gdb.server/server-kill.exp: Execute command
3826 "set remote trace-status-packet on" before "tstatus".
3828 2014-10-11 Yao Qi <yao@codesourcery.com>
3830 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
3831 (main): Call getppid.
3832 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
3833 and continue to it. Read variable "server_pid".
3835 2014-10-11 Yao Qi <yao@codesourcery.com>
3837 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
3839 2014-10-11 Yao Qi <yao@codesourcery.com>
3841 * gdb.threads/thread-find.exp: Don't execute command
3843 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
3844 * gdb.threads/linux-dp.exp: Don't check the condition
3845 $threads_created equals to zero.
3847 2014-10-10 Pedro Alves <palves@redhat.com>
3849 * gdb.base/bigcore.exp: Remove references to IRIX.
3850 * gdb.base/funcargs.exp: Likewise.
3851 * gdb.base/interrupt.exp: Likewise.
3852 * gdb.base/mips_pro.exp: Likewise.
3853 * gdb.base/nodebug.exp: Likewise.
3854 * gdb.base/setvar.exp: Likewise.
3855 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
3857 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3858 Pedro Alves <palves@redhat.com>
3861 * gdb.base/vdso-warning.c: New file.
3862 * gdb.base/vdso-warning.exp: New file.
3864 2014-10-02 Doug Evans <dje@google.com>
3866 * gdb.base/structs.c (main): Don't run forever.
3868 2014-10-02 Pedro Alves <palves@redhat.com>
3870 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
3871 (top level) <stop threads 1, stop threads 2>: Use it.
3873 2014-10-02 Pedro Alves <palves@redhat.com>
3875 * gdb.threads/break-while-running.exp (test): Add new
3876 'update_thread_list' argument. Skip "info threads" if false.
3877 (top level): Add new 'update_thread_list' axis.
3879 2014-10-02 Pedro Alves <palves@redhat.com>
3881 PR breakpoints/17431
3882 * gdb.base/execl-update-breakpoints.c: New file.
3883 * gdb.base/execl-update-breakpoints.exp: New file.
3885 2014-10-01 Pedro Alves <palves@redhat.com>
3887 * gdb.base/breakpoint-in-ro-region.c: New file.
3888 * gdb.base/breakpoint-in-ro-region.exp: New file.
3890 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
3892 * gdb.mi/mi-exit-code.exp: New file.
3893 * gdb.mi/mi-exit-code.c: New file.
3895 2014-09-30 Yao Qi <yao@codesourcery.com>
3897 * lib/prelink-support.exp (build_executable_own_libs): Error if
3898 the target isn't native.
3900 2014-09-30 Yao Qi <yao@codesourcery.com>
3902 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
3905 2014-09-22 Pedro Alves <palves@redhat.com>
3907 * gdb.threads/break-while-running.exp: New file.
3908 * gdb.threads/break-while-running.c: New file.
3910 2014-09-19 Yao Qi <yao@codesourcery.com>
3912 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
3913 Invoke test. Restart GDB with --readnow and invoke test again.
3915 2014-09-19 Yao Qi <yao@codesourcery.com>
3917 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
3918 proc set_breakpoint_on_gcd_function. Invoke
3919 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
3920 invoke set_breakpoint_on_gcd_function again.
3922 2014-09-18 Doug Evans <dje@google.com>
3924 * gdb.dwarf2/symtab-producer.exp: New file.
3926 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3928 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
3929 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
3930 * gdb.base/global-var-nested-by-dso.c: Likewise.
3931 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3933 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3934 Pedro Alves <palves@redhat.com>
3936 * gdb.base/watch-bitfields.exp: Pass string other than test file
3937 name to prepare_for_testing.
3938 (watch): New procedure.
3939 (expect_watchpoint): Use with_test_prefix.
3940 (top level): Factor out tests to ...
3941 (test_watch_location, test_regular_watch): ... these new
3942 procedures, and use with_test_prefix and gdb_continue_to_end.
3944 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
3946 PR breakpoints/12526
3947 * gdb.base/watch-bitfields.exp: New file.
3948 * gdb.base/watch-bitfields.c: New file.
3950 2014-09-16 Pedro Alves <palves@redhat.com>
3952 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
3953 software and hardware addresses, not software address against
3956 2014-09-16 Pedro Alves <palves@redhat.com>
3958 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
3959 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
3961 2014-09-16 Pedro Alves <palves@redhat.com>
3963 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
3965 * gdb.base/a2-run.exp: Remove all code guarded by istarget
3966 "*-*-vxworks*" throughout.
3967 * gdb.base/break.exp: Likewise.
3968 * gdb.base/default.exp: Likewise.
3969 * gdb.base/scope.exp: Likewise.
3970 * gdb.base/sepdebug.exp: Likewise.
3971 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
3973 * gdb.base/run.c: Likewise.
3974 * gdb.base/sepdebug.c: Likewise.
3975 * gdb.hp/gdb.aCC/run.c: Likewise.
3976 * gdb.reverse/until-reverse.c: Likewise.
3977 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
3979 2014-09-16 Yao Qi <yao@codesourcery.com>
3981 * boards/local-remote-host-native.exp: New file.
3983 2014-09-14 Doug Evans <xdje42@gmail.com>
3985 * gdb.threads/queue-signal.c (thread_count): New variable.
3986 (thread_count_mutex, thread_count_condvar): New variables.
3987 (incr_thread_count, wait_all_threads_running): New functions.
3988 (main): Wait for all threads to be in their thread functions.
3990 2014-09-13 Doug Evans <xdje42@gmail.com>
3992 * gdb.threads/queue-signal.c: New file.
3993 * gdb.threads/queue-signal.exp: New file.
3995 2014-09-13 Doug Evans <xdje42@gmail.com>
3997 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
3998 be consistent with what default_gdb_init uses.
3999 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
4000 the plain text of the prompt. Add some logging printfs.
4001 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
4003 2014-09-12 Pedro Alves <palves@redhat.com>
4005 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
4006 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
4007 * gdb.arch/i386-size-overlap.exp: Likewise.
4008 * gdb.arch/i386-size.exp: Likewise.
4009 * gdb.arch/i386-unwind.exp: Likewise.
4010 * gdb.base/a2-run.exp: Likewise.
4011 * gdb.base/break.exp: Likewise.
4012 * gdb.base/charset.exp: Likewise.
4013 * gdb.base/chng-syms.exp: Likewise.
4014 * gdb.base/commands.exp: Likewise.
4015 * gdb.base/dbx.exp: Likewise.
4016 * gdb.base/find.exp: Likewise.
4017 * gdb.base/funcargs.exp: Likewise.
4018 * gdb.base/jit-simple.exp: Likewise.
4019 * gdb.base/reread.exp: Likewise.
4020 * gdb.base/sepdebug.exp: Likewise.
4021 * gdb.base/step-bt.exp: Likewise.
4022 * gdb.cp/mb-inline.exp: Likewise.
4023 * gdb.cp/mb-templates.exp: Likewise.
4024 * gdb.objc/basicclass.exp: Likewise.
4025 * gdb.threads/killed.exp: Likewise.
4027 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4030 * gdb.arch/powerpc-stackless.S: New file.
4031 * gdb.arch/powerpc-stackless.exp: New file.
4033 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4035 * gdb.base/attach.c: Include unistd.h.
4036 (main): Call alarm. Add label postloop.
4037 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
4038 gdb_breakpoint, gdb_continue_to_breakpoint.
4039 (test_command_line_attach_run): Kill ${testpid} in one exit path.
4041 2014-09-11 Pedro Alves <palves@redhat.com>
4044 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
4045 * gdb.base/attach.exp (test_command_line_attach_run): New
4047 (top level): Call it.
4049 2014-09-11 Pedro Alves <palves@redhat.com>
4051 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
4052 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
4053 (do_command_attach_tests): Use spawn_wait_for_attach.
4054 * gdb.base/solib-overlap.exp: Likewise.
4055 * gdb.multi/multi-attach.exp: Likewise.
4056 * gdb.python/py-prompt.exp: Likewise.
4057 * gdb.python/py-sync-interp.exp: Likewise.
4058 * gdb.server/ext-attach.exp: Likewise.
4060 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
4062 * gdb.fortran/array-element.exp: Remove unexpected "continue"
4063 command in testcase. Simplify testcase.
4065 2014-09-10 Joel Brobecker <brobecker@adacore.com>
4067 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
4069 2014-09-10 Joel Brobecker <brobecker@adacore.com>
4071 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
4073 2014-09-10 Joel Brobecker <brobecker@adacore.com>
4075 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
4077 2014-09-10 Joel Brobecker <brobecker@adacore.com>
4079 * gdb.dwarf2/dynarr-ptr.c: New file.
4080 * gdb.dwarf2/dynarr-ptr.exp: New file.
4082 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4084 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
4085 of 30 rather than hardcoding 120 for a slow test case. Take the
4086 `gdb,timeout' target setting into account for this calculation.
4087 Don't extend the timeout for the test cases that don't need it.
4089 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4091 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
4092 a factor of 2 for a slow test case. Take the `gdb,timeout'
4093 target setting into account for this calculation.
4094 * gdb.reverse/until-precsave.exp: Increase the timeout by
4095 a factor of 15 and 3 respectively rather than adding 120
4096 for a pair of slow test cases. Take the `gdb,timeout'
4097 target setting into account for this calculation.
4099 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4101 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
4102 timeout, don't pass one down to gdb_expect.
4103 (gdb_expect): Rework timeout selection.
4105 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4107 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
4108 exception on timeout.
4109 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
4110 (gdbserver_start_extended): Catch any `gdbserver_start' error
4112 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
4113 * lib/mi-support.exp (mi_gdb_target_load): Catch any
4114 `gdbserver_gdb_load' error exceptions.
4116 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4118 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
4119 120 on waiting for the TCP socket to open.
4121 2014-09-09 Doug Evans <xdje42@gmail.com>
4123 * gdb.base/default.exp (show_conv_list): Add _caller_is,
4124 _caller_matches, _any_caller_is, _any_caller_matches.
4126 2014-09-09 Doug Evans <xdje42@gmail.com>
4128 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
4130 2014-09-09 Yao Qi <yao@codesourcery.com>
4132 * gdb.mi/mi-var-display.exp: Set print symbol off.
4134 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
4137 * gdb.base/commands.exp: Add tests to verify user-defined
4138 commands with empty bodies.
4139 * gdb.python/py-cmd.exp: Test that we don't show user-defined
4140 python commands in `show user command`.
4141 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
4142 scheme commands in `show user command`.
4144 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4147 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
4148 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
4149 * gdb.python/py-framefilter-invalidarg.exp: New file.
4150 * gdb.python/py-framefilter-invalidarg.py: New file.
4152 2014-09-06 Doug Evans <xdje42@gmail.com>
4155 * gdb.python/py-caller-is.c: New file.
4156 * gdb.python/py-caller-is.exp: New file.
4158 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
4161 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
4162 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
4164 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
4167 * gdb.fortran/print-formatted.exp: New file.
4168 * gdb.fortran/print-formatted.f90: Likewise.
4170 2014-09-03 Sasha Smundak <asmundak@google.com>
4172 * gdb.python/py-frame.exp: Test Frame.read_register.
4174 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
4177 * gdb.python/py-completion.exp: New file.
4178 * gdb.python/py-completion.py: Likewise.
4180 2014-08-28 Doug Evans <dje@google.com>
4182 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
4183 eax,etc. are live with values set by gdb and thus the compiler can't
4185 * gdb.arch/i386-pseudo.c (main): Ditto.
4187 2014-08-27 Doug Evans <dje@google.com>
4189 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
4191 2014-08-25 Doug Evans <dje@google.com>
4193 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
4196 2014-08-25 Doug Evans <dje@google.com>
4198 * gdb.threads/thread-execl.exp: #include <stdio.h>.
4200 2014-08-24 Yao Qi <yao@codesourcery.com>
4202 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
4204 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
4206 2014-08-22 Doug Evans <dje@google.com>
4209 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
4210 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
4211 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
4213 2014-08-22 Yao Qi <yao@codesourcery.com>
4215 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
4216 * gdb.python/py-finish-breakpoint2.exp: Likewise.
4217 * gdb.python/python.exp: Likewise. Use .py file on the host
4218 instead of the build.
4220 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4222 * gdb.threads/gcore-stale-thread.c: New file.
4223 * gdb.threads/gcore-stale-thread.exp: New file.
4225 2014-08-21 Pedro Alves <palves@redhat.com>
4227 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
4228 * gdb.base/gcore-relro-pie.exp: Likewise.
4229 * gdb.base/gcore-relro.exp: Likewise.
4230 * gdb.base/gcore.exp: Likewise.
4231 * gdb.base/print-symbol-loading.exp: Likewise.
4232 * gdb.threads/gcore-thread.exp: Likewise.
4233 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
4235 2014-08-20 Pedro Alves <palves@redhat.com>
4236 Jan Kratochvil <jan.kratochvil@redhat.com>
4238 * Makefile.in (EXTRA_RULES, CC): New variables, get from
4240 (EXPECT): Handle READ1 being set.
4241 (all): Depend on EXTRA_RULES.
4242 (check-read1, expect-read1, read1.so, read1): New rules.
4243 * README (Testsuite Parameters): Document the READ1 make variable.
4244 (Race detection): New section.
4245 * configure: Regenerate.
4246 * configure.ac: If build==host==target, and running under a
4247 GNU/glibc system, add read1 to the extra Makefile rules.
4248 (EXTRA_RULES): AC_SUBST it.
4249 * lib/read1.c: New file.
4251 2014-08-20 Joel Brobecker <brobecker@adacore.com>
4253 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
4254 the handling of variables declared as a typedef to an array
4255 which a DW_AT_data_location attribute.
4257 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
4258 Pedro Alves <palves@redhat.com>
4262 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
4265 2014-08-19 Pedro Alves <palves@redhat.com>
4267 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
4269 2014-08-19 Yao Qi <yao@codesourcery.com>
4271 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
4274 2014-08-18 David Blaikie <dblaikie@gmail.com>
4276 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
4278 2014-08-18 Joel Brobecker <brobecker@adacore.com>
4280 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
4281 attribute in array range.
4283 2014-08-18 Joel Brobecker <brobecker@adacore.com>
4285 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
4287 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
4290 * gdb.cp/pr17132.cc: New file.
4291 * gdb.cp/pr17132.exp: New file.
4293 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
4295 * gdb.python/py-xmethods.py (A_getarrayind)
4296 (E_method_char_worker.__call__, E_method_int_worker.__call__):
4297 Use 'print' with function call syntax.
4298 (E_method_matcher.match): Fix tab vs space indentation mixup.
4300 2014-08-15 Yao Qi <yao@codesourcery.com>
4302 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
4305 2014-08-15 Yao Qi <yao@codesourcery.com>
4307 * gdb.cp/casts.exp: Set print symbol off.
4308 * gdb.cp/class2.exp: Likewise.
4309 * gdb.cp/overload.exp: Likewise.
4310 * gdb.cp/templates.exp: Likewise.
4312 2014-08-11 Doug Evans <dje@google.com>
4314 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
4315 (test_load_shlib): Update.
4317 2014-08-09 Yao Qi <yao@codesourcery.com>
4319 * gdb.base/display.exp: Invoke is_address_zero_readable.
4320 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
4321 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4322 * gdb.base/hbreak-unmapped.exp: Return if
4323 is_address_zero_readable returns true.
4324 * gdb.base/signest.exp: Likewise.
4325 * gdb.base/signull.exp: Likewise.
4326 * gdb.base/sigbpt.exp: Likewise.
4327 * gdb.guile/scm-disasm.exp: Do the test if
4328 is_address_zero_readable returns false.
4329 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
4330 * gdb.python/py-arch.exp: Likewise.
4331 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
4332 * lib/gdb.exp (is_address_zero_readable): New proc.
4334 2014-08-09 Yao Qi <yao@codesourcery.com>
4337 * gdb.mi/mi-var-display.exp: Make test messages unique.
4339 2014-08-04 Tom Tromey <tromey@redhat.com>
4341 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
4344 2014-08-04 Tom Tromey <tromey@redhat.com>
4346 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
4349 2014-08-01 Joel Brobecker <brobecker@adacore.com>
4351 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
4352 inner_vla_struct_object_size.
4353 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
4356 2014-07-30 Pedro Alves <palves@redhat.com>
4358 * gdb.threads/signal-command-handle-nopass.exp (test): Add
4361 2014-07-29 Yao Qi <yao@codesourcery.com>
4364 * gdb.base/until-nodebug.exp: New.
4366 2014-07-28 Doug Evans <xdje42@gmail.com>
4369 * gdb.guile/scm-parameter.exp: Add tests for trying to create
4370 previously existing parameter, and previously ambiguously spelled
4373 2014-07-28 Will Newton <will.newton@linaro.org>
4375 * gdb.base/varargs.exp: Remove KFAILs for ARM.
4377 2014-07-26 Ludovic Courtès <ludo@gnu.org>
4378 Doug Evans <xdje42@gmail.com>
4381 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
4383 2014-07-25 Pedro Alves <palves@redhat.com>
4385 * gdb.threads/signal-command-handle-nopass.c: New file.
4386 * gdb.threads/signal-command-handle-nopass.exp: New file.
4387 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
4388 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
4389 * gdb.threads/signal-delivered-right-thread.c: New file.
4390 * gdb.threads/signal-delivered-right-thread.exp: New file.
4392 2014-07-25 Pedro Alves <palves@redhat.com>
4394 * gdb.base/double-prompt-target-event-error.exp
4395 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
4397 (cancel_pagination_in_target_event): Rework double prompt
4399 * gdb.base/paginate-after-ctrl-c-running.exp
4400 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
4402 * gdb.base/paginate-bg-execution.exp
4403 (test_bg_execution_pagination_return)
4404 (test_bg_execution_pagination_cancel): Remove '-notransfer
4406 * gdb.base/paginate-execution-startup.exp
4407 (test_fg_execution_pagination_return)
4408 (test_fg_execution_pagination_cancel): Remove '-notransfer
4410 * gdb.base/paginate-inferior-exit.exp
4411 (test_paginate_inferior_exited): Remove '-notransfer <return>'
4413 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
4414 * lib/gdb.exp (pagination_prompt): Run text through
4416 (gdb_test_multiple): Match $pagination_prompt instead of
4418 (string_to_regexp): Move to lib/gdb-utils.exp.
4420 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4422 * gdb.arch/amd64-entry-value-paramref.S: New file.
4423 * gdb.arch/amd64-entry-value-paramref.cc: New file.
4424 * gdb.arch/amd64-entry-value-paramref.exp: New file.
4425 * gdb.arch/amd64-optimout-repeat.S: New file.
4426 * gdb.arch/amd64-optimout-repeat.c: New file.
4427 * gdb.arch/amd64-optimout-repeat.exp: New file.
4429 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4432 * gdb.base/statistics.exp: New file.
4434 2014-07-17 Doug Evans <dje@google.com>
4437 * gdb.base/maint.exp: Update testing of per-command stats.
4439 2014-07-16 Pedro Alves <palves@redhat.com>
4441 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
4442 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
4443 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
4444 (tfile_write_buf): New functions.
4445 (add_memory_block): Rewrite using the above.
4446 (adjust_function_address): New function.
4447 (FUNCTION_ADDRESS): New macro.
4448 (write_basic_trace_file): Remove short_x local, and use
4449 tfile_write_16. Change type of func_addr local to unsigned long
4450 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
4451 here. Cast argument of add_memory_block to char pointer.
4452 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
4453 (main): Remove parameters.
4454 * gdb.trace/tfile.exp: Remove nowarnings.
4456 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
4458 * gdb.base/debug-expr.exp: Test string evaluation with
4459 "debug expression" on.
4461 2014-07-15 Pedro Alves <palves@redhat.com>
4463 * gdb.base/reread.exp: Use clean_restart.
4465 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
4467 * gdb.arch/avr-flash-qualifer.c: New.
4468 * gdb.arch/avr-flash-qualifer.exp: New.
4470 2014-07-14 Pedro Alves <palves@redhat.com>
4472 * gdb.base/paginate-after-ctrl-c-running.c: New file.
4473 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
4475 2014-07-14 Pedro Alves <palves@redhat.com>
4477 * gdb.base/double-prompt-target-event-error.c: New file.
4478 * gdb.base/double-prompt-target-event-error.exp: New file.
4480 2014-07-14 Pedro Alves <palves@redhat.com>
4483 * gdb.base/paginate-inferior-exit.c: New file.
4484 * gdb.base/paginate-inferior-exit.exp: New file.
4486 2014-07-14 Pedro Alves <palves@redhat.com>
4489 * gdb.base/paginate-bg-execution.c: New file.
4490 * gdb.base/paginate-bg-execution.exp: New file.
4492 2014-07-14 Pedro Alves <palves@redhat.com>
4495 * gdb.base/paginate-execution-startup.c: New file.
4496 * gdb.base/paginate-execution-startup.exp: New file.
4497 * lib/gdb.exp (pagination_prompt): New global.
4498 (default_gdb_spawn): New procedure, factored out from
4500 (default_gdb_start): Adjust to call default_gdb_spawn.
4501 (gdb_spawn): New procedure.
4503 2014-07-14 Pedro Alves <palves@redhat.com>
4505 * lib/gdb.exp (gdb_assert): New procedure.
4506 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
4508 2014-07-14 Pedro Alves <palves@redhat.com>
4510 * gdb.base/execution-termios.c: New file.
4511 * gdb.base/execution-termios.exp: New file.
4513 2014-07-14 Tom Tromey <tromey@redhat.com>
4515 * gdb.cp/vla-cxx.cc: New file.
4516 * gdb.cp/vla-cxx.exp: New file.
4518 2014-07-14 Tom Tromey <tromey@redhat.com>
4520 * gdb.reverse/rerun-prec.c: New file.
4521 * gdb.reverse/rerun-prec.exp: New file.
4523 2014-07-12 Maciej W. Rozycki <macro@mips.com>
4524 Maciej W. Rozycki <macro@codesourcery.com>
4526 * lib/gdb-utils.exp: New file.
4527 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
4528 inline `gdb_init_command' processing.
4529 (gdb_start_cmd): Likewise.
4530 * lib/mi-support.exp (mi_run_cmd): Likewise.
4531 * README: Document `gdb_init_command' and `gdb_init_commands'.
4533 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4535 Fix false FAIL running under a very long directory name.
4536 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
4537 and "set print elements 10000". Twice.
4539 2014-07-11 Yao Qi <yao@codesourcery.com>
4541 * gdb.base/exprs.exp: "set print symbol off".
4543 2014-07-11 Pedro Alves <palves@redhat.com>
4545 * gdb.threads/kill.c: New file.
4546 * gdb.threads/kill.exp: New file.
4548 2014-07-10 Yao Qi <yao@codesourcery.com>
4550 * gdb.trace/tfile.c (write_basic_trace_file)
4551 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
4552 address written to trace file.
4554 2014-07-09 Pedro Alves <palves@redhat.com>
4556 * gdb.base/attach-wait-input.exp: New file.
4557 * gdb.base/attach-wait-input.c: New file.
4559 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4561 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
4562 setting up test structures.
4563 (main): Call new test function.
4564 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
4565 test function, continue into test function and walk test
4568 2014-07-02 Yao Qi <yao@codesourcery.com>
4570 * gdb.trace/entry-values.c: Define labels 'foo_start' and
4571 'bar_start' at the beginning of functions 'foo' and 'bar'
4573 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
4574 instead of 'foo' and 'bar'.
4576 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
4578 * gdb.btrace/segv.exp: New.
4579 * gdb.btrace/segv.c: New.
4581 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
4583 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
4586 2014-06-30 Mark Wielaard <mjw@redhat.com>
4588 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
4589 vulture, vilify, villar): New volatile array constants.
4590 (vindictive, vegetation): New const volatile array constants.
4591 * gdb.base/volatile.exp: Test volatile and const volatile array
4594 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
4596 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
4597 target lacks support for awatch, rwatch, or hbreak.
4599 2014-06-27 Yao Qi <yao@codesourcery.com>
4601 * gdb.multi/dummy-frame-restore.exp: New.
4602 * gdb.multi/dummy-frame-restore.c: New.
4604 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
4606 * gdb.btrace/gcore.exp: New.
4608 2014-06-23 Pedro Alves <palves@redhat.com>
4610 * gdb.base/watchpoint-reuse-slot.c: New file.
4611 * gdb.base/watchpoint-reuse-slot.exp: New file.
4613 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
4615 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
4616 progspace's filename in 'info', 'enable' and 'disable' command
4619 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4621 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
4622 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4623 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
4625 2014-06-20 Gary Benson <gbenson@redhat.com>
4627 * gdb.arch/i386-avx.exp: Fix include file location.
4628 * gdb.arch/i386-sse.exp: Likewise.
4630 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
4632 * gdb.dlang/expression.exp: New file.
4634 2014-06-19 Pedro Alves <palves@redhat.com>
4636 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
4638 (top level): ... here. Iterate running tests under different
4639 scheduler-locking settings.
4641 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
4643 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
4644 to DW_FORM_addr and use non-zero addresses.
4646 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
4649 * gdb.python/py-xmethods.cc: Add global function call counters and
4650 increment them in their respective functions. Remove "cout"
4652 * gdb.python/py-xmethods.exp: Make tests check the global function
4653 call counters instead of depending on inferior IO.
4655 2014-06-18 Don Breazeal <donb@codesourcery.com>
4657 * gdb.base/foll-fork.exp (default_fork_parent_follow):
4659 (explicit_fork_parent_follow): Deleted procedure.
4660 (explicit_fork_child_follow): Deleted procedure.
4661 (test_follow_fork): New procedure.
4662 (do_fork_tests): Replace calls to deleted procedures with
4663 calls to test_follow_fork and reset GDB for subsequent
4666 2014-06-17 Yao Qi <yao@codesourcery.com>
4668 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
4671 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
4673 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
4674 Initialize ptr and S explicitly.
4675 (skip_type_update_when_not_use_rtti_test): Likewise.
4677 2014-06-16 Keith Seitz <keiths@redhat.com>
4680 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
4681 the inferior is started.
4683 2014-06-16 Pedro Alves <palves@redhat.com>
4685 * gdb.base/break-main-file-remove-fail.c: New file.
4686 * gdb.base/break-main-file-remove-fail.exp: New file.
4687 * gdb.base/break-unload-file.exp: Use build_executable instead of
4688 prepare_for_testing.
4689 (test_break): New parameter "initial_load". Handle it.
4690 (top level): Add initial_load cmdline/file axis.
4692 2014-06-12 Tom Tromey <tromey@redhat.com>
4694 * gdb.base/completion.exp: Don't use directory name in test.
4696 2014-06-09 Gary Benson <gbenson@redhat.com>
4698 * gdb.base/sigall.c [Functions to send signals]: Reorder to
4699 separate the always-available ANSI-standard signals from the
4700 signals that require checking.
4702 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
4706 2014-06-07 Keith Seitz <keiths@redhat.com>
4710 * gdb.cp/var-tag.cc: New file.
4711 * gdb.cp/var-tag.exp: New file.
4712 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4713 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4714 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4715 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4717 2014-06-06 Doug Evans <xdje42@gmail.com>
4719 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
4721 2014-06-06 Pedro Alves <palves@redhat.com>
4723 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
4724 in target debug output instead of looking at RSP packets,
4725 disabling the test on any target that uses hardware stepping.
4728 2014-06-06 Pedro Alves <palves@redhat.com>
4730 * gdb.base/break-unload-file.exp: Fix typo.
4732 2014-06-06 Yao Qi <yao@codesourcery.com>
4734 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
4735 from "jit_function" to "^jit_function".
4737 2014-06-06 Yao Qi <yao@codesourcery.com>
4739 * gdb.base/async.c (foo): Add one statement.
4740 * gdb.base/async.exp: Get the next instruction address and
4741 match the output of "nexti" by instruction address. Match
4742 the hex address in the output of "finish".
4744 2014-06-06 Gary Benson <gbenson@redhat.com>
4746 * gdb.base/call-signals.c: Remove preprocessor conditionals
4747 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
4748 SIGSEGV and SIGTERM.
4749 * gdb.base/sigall.c: Likewise.
4750 * gdb.base/unwindonsignal.c: Likewise.
4751 * gdb.reverse/sigall-reverse.c: Likewise.
4753 2014-06-06 Yao Qi <yao@codesourcery.com>
4755 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
4756 readable, skip the test.
4758 2014-06-06 Yao Qi <yao@codesourcery.com>
4760 * gdb.threads/staticthreads.c (thread_function): Move the line
4761 setting breakpoint on forward.
4762 * gdb.threads/staticthreads.exp: Update comments.
4764 2014-06-05 Ludovic Courtès <ludo@gnu.org>
4766 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
4767 "history-append! type error".
4769 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
4771 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
4772 erroneous dprintf expected input.
4774 2014-06-04 Doug Evans <xdje42@gmail.com>
4776 * gdb.guile/scm-generics.exp: Delete.
4778 2014-06-04 Doug Evans <xdje42@gmail.com>
4780 * gdb.guile/scm-breakpoint.exp: Update.
4781 Add tests for breakpoint registration.
4783 2014-06-04 Tom Tromey <tromey@redhat.com>
4785 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
4787 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
4788 inner_vla_struct, vla_union types. Initialize objects of those
4789 types and compute their sizes.
4791 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
4792 Hui Zhu <hui@codesourcery.com>
4794 * gdb.base/fileio.exp: Add test for shell not available as well as
4796 * gdb.base/fileio.c (test_system): Check for shell twice.
4798 2014-06-04 Yao Qi <yao@codesourcery.com>
4800 * gdb.base/auto-connect-native-target.exp: Remove redundant
4801 space from the regexp pattern.
4803 2014-06-04 Yao Qi <yao@codesourcery.com>
4805 * gdb.base/default.exp: Replace "child" with "native" in
4808 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4810 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
4811 * gdb.python/py-xmethods.exp: New tests to test xmethods.
4812 * gdb.python/py-xmethods.py: Python script supporting the
4813 new testcase and tests.
4815 2014-06-03 Joel Brobecker <brobecker@adacore.com>
4816 Pedro Alves <palves@redhat.com>
4818 PR breakpoints/17000
4819 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
4820 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
4822 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
4824 * gdb.base/subst.exp: Add tests to verify partial path matching
4827 2014-06-03 Pedro Alves <palves@redhat.com>
4829 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
4830 target that doesn't use software single-stepping.
4832 2014-06-03 Pedro Alves <palves@redhat.com>
4834 PR breakpoints/17000
4835 * gdb.base/sss-bp-on-user-bp-2.c: New file.
4836 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
4838 2014-06-02 Doug Evans <xdje42@gmail.com>
4840 * gdb.guile/scm-parameter.exp: New file.
4842 2014-06-02 Doug Evans <xdje42@gmail.com>
4844 * gdb.guile/scm-cmd.c: New file.
4845 * gdb.guile/scm-cmd.exp: New file.
4847 2014-06-02 Doug Evans <xdje42@gmail.com>
4849 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
4850 pretty-printer lookup.
4851 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
4852 (make-pp_s-printer): Call it.
4853 (make-pretty-printer-from-dict): New function.
4854 (lookup-pretty-printer-maker-from-dict): New function.
4855 (*pretty-printer*): Simplify.
4856 (make-objfile-pp_s-printer): New function.
4857 (install-objfile-pretty-printers!): New function.
4858 (make-progspace-pp_s-printer): New function.
4859 (install-progspace-pretty-printers!): New function.
4860 * gdb.guile/scm-progspace.c: New file.
4861 * gdb.guile/scm-progspace.exp: New file.
4863 2014-06-02 Pedro Alves <palves@redhat.com>
4865 * gdb.base/dprintf-bp-same-addr.c: New file.
4866 * gdb.base/dprintf-bp-same-addr.exp: New file.
4868 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4870 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
4871 * gdb.arch/powerpc-power.s: Likewise.
4873 2014-06-02 Joel Brobecker <brobecker@adacore.com>
4875 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
4877 2014-06-01 Yao Qi <yao@codesourcery.com>
4879 * gdb.base/watchpoint.exp (test_watch_location): Check null
4880 pointer can be dereferenced. If not, do the test, otherwise
4883 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
4885 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
4887 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
4889 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
4891 * gdb.arch/amd64-invalid-stack-middle.S: New file.
4892 * gdb.arch/amd64-invalid-stack-middle.c: New file.
4893 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
4894 * gdb.arch/amd64-invalid-stack-top.c: New file.
4895 * gdb.arch/amd64-invalid-stack-top.exp: New file.
4897 2014-05-30 Pedro Alves <palves@redhat.com>
4899 PR breakpoints/17000
4900 * gdb.base/sss-bp-on-user-bp.c: New file.
4901 * gdb.base/sss-bp-on-user-bp.exp: New file.
4903 2014-05-30 David Blaikie <dblaikie@gmail.com>
4905 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
4906 gnu_inline semantics via attribute.
4907 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
4908 source explicitly specifies the required semantics.
4910 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
4912 * gdb.reverse/sigall-reverse.exp: Fix a typo.
4914 2014-05-29 Pedro Alves <palves@redhat.com>
4915 Tom Tromey <tromey@redhat.com>
4917 * gdb.base/async-shell.exp: Don't enable target-async.
4918 * gdb.base/async.exp
4919 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
4921 (top level): Don't test with "target-async".
4922 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
4923 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
4924 * gdb.base/inferior-died.exp: Don't enable target-async.
4925 * gdb.base/interrupt-noterm.exp: Likewise.
4926 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
4927 * gdb.mi/mi-nonstop-exit.exp: Likewise.
4928 * gdb.mi/mi-nonstop.exp: Likewise.
4929 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4930 * gdb.mi/mi-nsintrall.exp: Likewise.
4931 * gdb.mi/mi-nsmoribund.exp: Likewise.
4932 * gdb.mi/mi-nsthrexec.exp: Likewise.
4933 * gdb.mi/mi-watch-nonstop.exp: Likewise.
4934 * gdb.multi/watchpoint-multi.exp: Adjust comment.
4935 * gdb.python/py-evsignal.exp: Don't enable target-async.
4936 * gdb.python/py-evthreads.exp: Likewise.
4937 * gdb.python/py-prompt.exp: Likewise.
4938 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
4939 * gdb.server/solib-list.exp: Don't enable target-async.
4940 * gdb.threads/thread-specific-bp.exp: Likewise.
4941 * lib/mi-support.exp: Adjust to use mi-async.
4943 2014-05-29 Pedro Alves <palves@redhat.com>
4946 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
4947 reason, even in sync mode.
4949 2014-05-29 Pedro Alves <palves@redhat.com>
4950 Hui Zhu <hui@codesourcery.com>
4953 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
4954 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
4955 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
4956 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
4958 2014-05-28 Joel Brobecker <brobecker@adacore.com>
4960 * config/monitor.exp (gdb_target_monitor): Replace use of
4961 "set remotebaud" by "set serial baud".
4963 2014-05-26 Andy Wingo <wingo@igalia.com>
4965 * gdb.guile/scm-breakpoint.exp:
4966 * gdb.guile/scm-gsmob.exp: Update to use plain old object
4967 properties instead of gdb-object-properties.
4969 2014-05-26 Yao Qi <yao@codesourcery.com>
4971 * gdb.server/no-thread-db.exp: Specify source file name
4972 explicitly when setting a breakpoint.
4974 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4976 * gdb.btrace/vdso.c: New.
4977 * gdb.btrace/vdso.exp: New.
4979 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4981 * gdb.base/gcore.exp (capture_command_output): Move ...
4982 * lib/gdb.exp (capture_command_output): ... here.
4984 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4986 * gdb.btrace/data.exp: Test memory access during btrace replay.
4988 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
4990 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
4992 2014-05-21 Pedro Alves <palves@redhat.com>
4995 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
4996 (top level): Test that output related to execution commands is
4997 sent to the console with CLI commands, but not with MI commands.
4998 Test that breakpoint events are always mirrored to the console.
4999 Also expect the new source line to be output after a "next" in
5000 async mode too. Make it a pass/fail test.
5001 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
5003 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
5005 2014-05-21 Pedro Alves <palves@redhat.com>
5007 * gdb.base/list.exp (build_pattern, test_list): New procedures.
5008 Use them to test variations of "list" after reaching a breakpoint.
5009 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
5010 Test "list" with listsize 10 after reaching a breakpoint.
5011 * gdb.python/python.exp (decode_line current location line
5012 number): Adjust expected line number.
5014 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
5016 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
5017 behavior for $args, pass it directly to "run".
5019 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
5021 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
5024 2014-05-21 Pedro Alves <palves@redhat.com>
5026 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
5027 auto-connect-native-target off".
5028 * gdb.base/auto-connect-native-target.c: New file.
5029 * gdb.base/auto-connect-native-target.exp: New file.
5031 2014-05-21 Pedro Alves <palves@redhat.com>
5033 * gdb.base/default.exp: Test "target native" instead of "target
5036 2014-05-21 Mark Wielaard <mjw@redhat.com>
5038 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
5040 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5042 Fix TLS access for -static -pthread.
5043 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
5044 <HAVE_TLS> (thread_function, main): Initialize it.
5045 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
5047 <$have_tls != "">: Check TLSVAR.
5049 2014-05-21 Pedro Alves <palves@redhat.com>
5051 * gdb.base/dcache-line-read-error.c: New.
5052 * gdb.base/dcache-line-read-error.exp: New.
5054 2014-05-20 Pedro Alves <palves@redhat.com>
5056 * gdb.base/compare-sections.c: New file.
5057 * gdb.base/compare-sections.exp: New file.
5059 2014-05-20 Pedro Alves <palves@redhat.com>
5061 * gdb.base/break-idempotent.c: New file.
5062 * gdb.base/break-idempotent.exp: New file.
5064 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
5066 * gdb.btrace/nohist.exp: New.
5068 2014-05-20 Yao Qi <yao@codesourcery.com>
5070 * lib/gdb.exp (gdb_init): Set timeout if test file is under
5071 gdb.reverse directory and gdb_reverse_timeout exists in board
5073 * README: Document gdb_reverse_timeout.
5075 2014-05-20 Yao Qi <yao@codesourcery.com>
5077 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
5078 'test_file_name'. Treat args as a string instead of a list.
5079 (gdb_init): Rename argument 'args' by 'test_file_name'.
5081 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5083 * gdb.arch/powerpc-power.exp: New file.
5084 * gdb.arch/powerpc-power.s: New file.
5086 2014-05-16 Doug Evans <dje@google.com>
5088 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
5089 * gdb.base/completion.exp: Check that all expected files exist
5090 before doing file completion.
5092 2014-05-16 Doug Evans <dje@google.com>
5094 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
5096 (do_syscall_tests_without_xml): Update.
5098 2014-05-16 Pedro Alves <palves@redhat.com>
5100 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
5101 instead of "unknown output after running".
5103 2014-05-16 Yao Qi <yao@codesourcery.com>
5105 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
5106 file1.txt from host at the end.
5107 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5109 2014-05-15 Doug Evans <dje@google.com>
5111 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
5112 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
5113 loading file. Add test for TU lookup.
5115 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
5117 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
5118 calling "-exec-arguments" or "set args" before running the
5121 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
5123 * lib/mi-support.exp (mi_expect_stop): Expect message for
5124 inferiors that exit with non-zero exit code.
5126 2014-05-14 Yao Qi <yao@codesourcery.com>
5128 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
5129 match absolute path on remote host.
5130 (test_file_list_exec_source_files): Remove "/" from the
5133 2014-05-14 Yao Qi <yao@codesourcery.com>
5135 * boards/local-remote-host-notty.exp (${board}_file): New
5138 2014-05-07 Kyle McMartin <kyle@redhat.com>
5140 Pushed by Joel Brobecker <brobecker@adacore.com>.
5141 * gdb.arch/aarch64-atomic-inst.c: New file.
5142 * gdb.arch/aarch64-atomic-inst.exp: New file.
5144 2014-05-07 Yao Qi <yao@codesourcery.com>
5146 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
5147 in current context" too.
5149 2014-05-05 Keith Seitz <keiths@redhat.com>
5151 * gdb.linespec/ls-dollar.exp: Add test for linespec
5152 file:convenience_variable.
5154 2014-05-05 Yao Qi <yao@codesourcery.com>
5156 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
5157 traceframes into tfile and ctf trace files. Read data from
5158 trace file and test collected data.
5159 (gdb_collect_locals_test): Likewise.
5160 (gdb_unavailable_registers_test): Likewise.
5161 (gdb_unavailable_floats): Likewise.
5162 (gdb_collect_globals_test): Likewise.
5163 (top-level): Append "ctf" to trace_file_targets if GDB
5166 2014-05-05 Yao Qi <yao@codesourcery.com>
5168 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
5170 (gdb_collect_args_test_1): ... it. New proc.
5171 (gdb_collect_locals_test): Move some code to ...
5172 (gdb_collect_locals_test_1): ... it. New proc.
5173 (gdb_unavailable_registers_test): Move some code to ...
5174 (gdb_unavailable_registers_test_1): ... it. New proc.
5175 (gdb_unavailable_floats): Move some code to ...
5176 (gdb_unavailable_floats_1): ... it. New proc.
5178 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5180 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
5181 probes to test for bitness recognition.
5182 * gdb.arch/amd64-stap-optional-prefix.exp
5183 (test_probe_value_without_reg): New procedure.
5184 Add code to test for different kinds of bitness.
5186 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5188 PR breakpoints/16889
5189 * gdb.arch/amd64-stap-optional-prefix.S: New file.
5190 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5192 2014-05-01 Pedro Alves <palves@redhat.com>
5194 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
5195 gdb_file_cmd if no file is specified.
5196 * boards/native-extended-gdbserver.exp (gdb_load): Use the
5197 last_loaded_file to set the remote exec-file.
5199 2014-05-01 Pedro Alves <palves@redhat.com>
5201 * boards/local-remote-host.exp: New file.
5203 2014-05-01 Pedro Alves <palves@redhat.com>
5205 * boards/local-remote-host.exp: Rename to ...
5206 * boards/local-remote-host-notty.exp: ... this.
5208 2014-04-28 Joel Brobecker <brobecker@adacore.com>
5210 * gdb.ada/dyn_arrayidx: New testcase.
5212 2014-04-26 Yao Qi <yao@codesourcery.com>
5214 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
5215 and compute the length of function main. Save it in
5217 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
5218 (top-level): Use gdb_compile to compile objects into
5219 executable and restart GDB. Remove invocation to
5220 prepare_for_testing.
5222 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
5223 Pedro Alves <palves@redhat.com>
5226 * gdb.multi/multi-attach.c: New file.
5227 * gdb.multi/multi-attach.exp: New file.
5229 2014-04-25 Pedro Alves <palves@redhat.com>
5231 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
5233 (top level): Test that "set remote conditional-breakpoints-packet
5234 off" works as intended.
5235 * gdb.base/dprintf.exp: Test that "set remote
5236 breakpoint-commands-packet off" works as intended.
5237 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
5239 (top level): Call it.
5240 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
5241 remote fast-tracepoints-packet off" works as intended.
5242 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
5243 * lib/gdb.exp (gdb_is_target_remote): ... here.
5245 2014-04-24 David Blaikie <dblaikie@gmail.com>
5247 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
5248 ensure clang would not discard them.
5249 * gdb.base/gdbvars.c: Ditto.
5250 * gdb.base/memattr.c: Ditto.
5251 * gdb.base/whatis.c: Ditto.
5252 * gdb.python/py-prettyprint.c: Ditto.
5253 * gdb.trace/actions.c: Ditto.
5254 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
5255 ensure clang would not discard it.
5257 2014-04-24 David Blaikie <dblaikie@gmail.com>
5259 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
5260 clang to emit the full definition of type required by the test
5261 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
5263 2014-04-24 David Blaikie <dblaikie@gmail.com>
5265 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
5266 coax Clang into emitting the definition of the type.
5267 * gdb.cp/pr10728-x.h (y): Ditto.
5268 * gdb.cp/pr10728-y.cc (y): Ditto.
5270 2014-04-24 David Blaikie <dblaikie@gmail.com>
5272 * gdb.base/label.exp: XFAIL label related tests under Clang.
5273 * gdb.cp/cplabel.exp: Ditto.
5274 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
5275 under Clang those using labels.
5277 2014-04-25 Yao Qi <yao@codesourcery.com>
5279 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
5281 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
5282 partial_label and double_label.
5284 2014-04-24 David Blaikie <dblaikie@gmail.com>
5286 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
5288 2014-04-24 David Blaikie <dblaikie@gmail.com>
5290 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
5291 of the function to work across GCC and Clang.
5292 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
5293 pointer types (const void ** const V void **).
5295 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
5296 Walfred Tedeschi <walfred.tedeschi@intel.com>
5298 * Makefile.in (EXECUTABLES): Added i386-avx512.
5299 * gdb.arch/i386-avx512.c: New file.
5300 * gdb.arch/i386-avx512.exp: Likewise.
5302 2014-04-23 Keith Seitz <keiths@redhat.com>
5304 * lib/mi-support.exp (mi_list_breakpoints): Delete.
5305 (mi_make_breakpoint_table): New procedure.
5306 (mi_create_breakpoint): Use mi_make_breakpoint
5307 and return the result.
5308 (mi_make_breakpoint): New procedure.
5309 (mi_build_kv_pairs): New procedure.
5311 * gdb.mi/mi-break.exp: Remove unused globals,
5312 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
5313 All callers updated.
5314 * gdb.mi/mi-dprintf.exp: Use variable to track command
5316 Update all callers of mi_create_breakpoint and use
5317 mi_make_breakpoint_table.
5318 Remove any unused global variables.
5319 * gdb.mi/mi-nonstop.exp: Likewise.
5320 * gdb.mi/mi-nsintrall.exp: Likewise.
5321 * gdb.mi/mi-nsmoribund.exp: Likewise.
5322 * gdb.mi/mi-nsthrexec.exp: Likewise.
5323 * gdb.mi/mi-reverse.exp: Likewise.
5324 * gdb.mi/mi-simplerun.exp: Likewise.
5325 * gdb.mi/mi-stepn.exp: Likewise.
5326 * gdb.mi/mi-syn-frame.exp: Likewise.
5327 * gdb.mi/mi-until.exp: Likewise.
5328 * gdb.mi/mi-var-cp.exp: Likewise.
5329 * gdb.mi/mi-var-display.exp: Likewise.
5330 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
5331 * gdb.mi/mi2-var-child.exp: Likewise.
5332 * gdb.mi/mi-vla-c99.exp: Likewise.
5333 * lib/mi-support.exp: Likewise.
5335 From Ian Lance Taylor <iant@cygnus.com>:
5336 * lib/gdb.exp (parse_args): New procedure.
5338 2014-04-23 Pedro Alves <palves@redhat.com>
5340 * gdb.base/break-unload-file.c: New file.
5341 * gdb.base/break-unload-file.exp: New file.
5342 * gdb.base/sym-file-lib.c (baz): New function.
5343 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
5345 (load): Store the segment's mapped size.
5346 (unload): New function.
5347 (unload_shlib): New function.
5348 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
5349 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
5350 set a breakpoint at baz, and call it.
5351 * gdb.base/sym-file.exp: New tests for stale breakpoint
5354 2014-04-23 Pedro Alves <palves@redhat.com>
5356 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
5357 * gdb.base/hbreak-in-shr-unsupported.c: New file.
5358 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
5359 * gdb.base/hbreak-unmapped.c: New file.
5360 * gdb.base/hbreak-unmapped.exp: New file.
5361 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
5362 * lib/gdb.exp (gdb_is_target_remote): ... here.
5364 2014-04-22 Pedro Alves <palves@redhat.com>
5366 * gdb.base/consecutive-step-over.c: New file.
5367 * gdb.base/consecutive-step-over.exp: New file.
5369 2014-04-22 Pedro Alves <palves@redhat.com>
5371 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
5372 instead of send_gdb/gdb_expect.
5374 2014-04-22 Yao Qi <yao@codesourcery.com>
5376 * lib/trace-support.exp (generate_tracefile): New procedure.
5377 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
5379 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
5380 if generate_tracefile returns 1.
5382 2014-04-18 Tom Tromey <palves@redhat.com>
5383 Pedro alves <tromey@redhat.com>
5386 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
5387 with a backtrace limit.
5388 * gdb.python/py-frame-inline.exp: Test running to an inline
5389 function with a backtrace limit, and printing the newest frame.
5390 * gdb.python/py-frame-inline.c (main): Call f.
5392 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
5394 * gdb.java/jnpe.exp: Drop srcdir from untested path.
5396 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
5398 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
5399 Drop prefix from unsupported source file path.
5401 2014-04-17 Yao Qi <yao@codesourcery.com>
5403 * lib/gdb.exp (with_target_charset): New proc.
5404 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
5405 with_target_charset.
5406 (test_print_strings): Likewise.
5407 (test_repeat_bytes): Likewise.
5408 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
5411 2014-04-16 Keith Seitz <keiths@redhat.com>
5414 * gdb.dwarf2/corrupt.c: New file.
5415 * gdb.dwarf2/corrupt.exp: New file.
5417 2014-04-16 Keith Seitz <keiths@redhat.com>
5420 * gdb.cp/namelessclass.cc: New file.
5421 * gdb.cp/namelessclass.exp: New file.
5422 * gdb.cp/namelessclass.S: New file.
5424 2014-04-16 Doug Evans <dje@google.com>
5426 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
5428 (gdbserver_default_get_comm_port): New function.
5429 (gdbserver_start): Check if board file provided
5430 "gdbserver,get_comm_port" and use it if so.
5431 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
5432 (gdb,socketport): Set to "stdio".
5433 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
5434 (stdio_gdbserver_template): Delete.
5435 (${board}_get_remote_address): Update.
5436 (${board}_build_remote_cmd): Delete.
5437 (${board}_get_comm_port): New function.
5438 (${board}_spawn): Update.
5439 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
5441 (${board}_get_remote_address): Update.
5442 (${board}_get_comm_port): New function.
5444 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
5446 * gdb.base/memattr.exp: Improve regexps to handle memory regions
5447 appearing in any order.
5449 2014-04-15 Doug Evans <dje@google.com>
5451 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
5452 uninitialized value of "description".
5454 2014-04-15 Keith Seitz <keiths@redhat.com>
5456 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
5457 Remove unused globals.
5458 (test_running_the_program): Likewise.
5459 (test_controlled_execution): Likewise.
5460 (test_controlling_breakpoints): Likewise.
5461 (test_program_termination): Likewise.
5463 2014-04-15 Keith Seitz <keiths@redhat.com>
5465 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
5467 (test_rbreak_creation_and_listing): Likewise.
5468 (test_ignore_count): Likewise.
5469 (test_error): Likewise.
5471 2014-04-15 Pedro Alves <palves@redhat.com>
5473 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
5474 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
5476 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
5477 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
5478 to sym-file-loader.c.
5479 (struct library): Forward declare.
5480 (load_shlib, lookup_function): Change prototypes.
5481 (find_shstrtab, find_strtab, find_shdr, find_symtab)
5482 (translate_offset): Remove declarations.
5483 (get_text_addr): New declaration.
5484 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
5485 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
5487 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
5488 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
5489 here from sym-file-loader.h.
5490 (struct library): New structure.
5491 (load_shlib, lookup_function): Change prototypes and adjust to
5492 work with a struct library.
5493 (find_shstrtab, find_strtab, find_shdr, find_symtab)
5494 (translate_offset): Make static.
5495 (get_text_addr): New function.
5496 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
5498 2014-04-15 Pedro Alves <palves@redhat.com>
5500 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
5502 2014-04-15 Pedro Alves <palves@redhat.com>
5504 * gdb.base/sym-file-loader.c: Include <limits.h>.
5505 (SELF_LINK): New define.
5506 (get_origin): New function.
5507 (load_shlib): Use it.
5508 * gdb.base/sym-file.exp: Don't early return if the target is
5509 remote. Use runto_main, and issue fail is that fails. Use
5511 (shlib_name): Delete.
5512 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
5514 2014-04-15 Pedro Alves <palves@redhat.com>
5516 * gdb.base/sym-file.exp: Remove regex characters from test
5517 message. Don't refer to breakpoint numbers in test messages.
5519 2014-04-14 Keith Seitz <keiths@redhat.com>
5522 * gdb.cp/var-tag.cc: New file.
5523 * gdb.cp/var-tag.exp: New file.
5524 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5525 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5526 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5527 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5529 2014-04-14 Tom Tromey <tromey@redhat.com>
5531 * gdb.cp/classes.exp (test_enums): Handle underlying type.
5532 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
5534 * gdb.cp/enum-class.exp: New file.
5535 * gdb.cp/enum-class.cc: New file.
5537 2014-04-14 Tom Tromey <tromey@redhat.com>
5539 * gdb.dwarf2/enum-type.exp: New file.
5541 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5543 * gdb.mi/mi-vla-c99.exp: New file.
5544 * gdb.mi/vla.c: New file.
5546 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5548 * gdb.base/vla-datatypes.c: New file.
5549 * gdb.base/vla-datatypes.exp: New file.
5551 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5553 * gdb.base/vla-ptr.c: New file.
5554 * gdb.base/vla-ptr.exp: New file.
5556 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5558 * gdb.dwarf2/count.exp: New file.
5560 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5562 * gdb.base/vla-sideeffect.c: New file.
5563 * gdb.base/vla-sideeffect.exp: New file.
5565 2014-04-14 David Blaikie <dblaikie@gmail.com>
5567 * gdb.mi/non-stop.c: Add return value for non-void function return
5569 * gdb.threads/staticthreads.c: Ditto.
5571 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
5572 Doug Evans <xdje42@gmail.com>
5574 * gdb.guile/scm-value.c: Improve test case.
5575 * gdb.guile/scm-value.exp: Add new test.
5577 2014-04-11 David Blaikie <dblaikie@gmail.com>
5579 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
5580 override Clang's default.
5582 2014-04-11 Joel Brobecker <brobecker@adacore.com>
5584 Revert the following changes (regressions):
5586 * gdb.base/vla-sideeffect.c: New file.
5587 * gdb.base/vla-sideeffect.exp: New file.
5589 * gdb.dwarf2/count.exp: New file.
5591 * gdb.base/vla-multi.c: New file.
5592 * gdb.base/vla-multi.exp: New file.
5594 * gdb.base/vla-ptr.c: New file.
5595 * gdb.base/vla-ptr.exp: New file.
5597 * gdb.base/vla-datatypes.c: New file.
5598 * gdb.base/vla-datatypes.exp: New file.
5600 * gdb.mi/mi-vla-c99.exp: New file.
5601 * gdb.mi/vla.c: New file.
5603 2014-04-11 Keith Seitz <keiths@redhat.com>
5606 * gdb.cp/cpsizeof.exp: New file.
5607 * gdb.cp/cpsizeof.cc: New file.
5609 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5611 * gdb.mi/mi-vla-c99.exp: New file.
5612 * gdb.mi/vla.c: New file.
5614 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5616 * gdb.base/vla-datatypes.c: New file.
5617 * gdb.base/vla-datatypes.exp: New file.
5619 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5621 * gdb.base/vla-ptr.c: New file.
5622 * gdb.base/vla-ptr.exp: New file.
5624 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5626 * gdb.base/vla-multi.c: New file.
5627 * gdb.base/vla-multi.exp: New file.
5629 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5631 * gdb.dwarf2/count.exp: New file.
5633 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5635 * gdb.base/vla-sideeffect.c: New file.
5636 * gdb.base/vla-sideeffect.exp: New file.
5638 2014-04-11 Yao Qi <yao@codesourcery.com>
5640 * gdb.base/completion.exp: Check file exists before running tests
5643 2014-04-10 Pedro Alves <palves@redhat.com>
5645 * gdb.base/cond-eval-mode.c: New file.
5646 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
5647 prepare_for_testing to build the new file. Check result of
5649 (test_break, test_watch): New procedures.
5650 (top level): Use them.
5652 2014-04-08 Pierre Muller <muller@sourceware.org>
5654 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
5655 Ctrl-V use for mingw hosts.
5657 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
5659 * gdb.python/py-value.c: Improve test case.
5660 * gdb.python/py-value.exp: Add new test.
5662 2014-04-07 David Blaikie <dblaikie@gmail.com>
5664 * lib/compiler.c: Identify the clang compiler.
5665 * lib/compiler.cc: Ditto.
5667 2014-04-03 Yao Qi <yao@codesourcery.com>
5669 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
5671 2014-04-01 Anton Blanchard <anton@samba.org>
5673 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
5676 2014-04-01 Anton Blanchard <anton@samba.org>
5678 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
5679 prepare_for_testing.
5681 2014-04-01 Anton Blanchard <anton@samba.org>
5683 * gdb.arch/ppc64-atomic-inst.c: Remove.
5684 * gdb.arch/ppc64-atomic-inst.S: New file.
5685 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
5687 2014-03-31 Doug Evans <dje@google.com>
5689 * gdb.base/print-symbol-loading-lib.c: New file.
5690 * gdb.base/print-symbol-loading-main.c: New file.
5691 * gdb.base/print-symbol-loading.exp: New file.
5693 2014-03-31 Yao Qi <yao@codesourcery.com>
5695 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
5697 2014-03-28 Joel Brobecker <brobecker@adacore.com>
5699 * gdb.ada/mi_dyn_arr: New testcase.
5701 2014-03-27 Doug Evans <dje@google.com>
5703 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
5705 2014-03-27 Yao Qi <yao@codesourcery.com>
5707 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
5708 if target is nios2-*-*.
5710 2014-03-26 Yao Qi <yao@codesourcery.com>
5712 * lib/gdb.exp (readline_is_used): New proc.
5713 * gdb.base/completion.exp: Move tests on command complete up.
5714 Skip the rest of tests if readline is not used.
5715 * gdb.ada/complete.exp: Skp the test if readline is not
5717 * gdb.base/filesym.exp: Likewise.
5718 * gdb.base/macscp.exp: Likewise.
5719 * gdb.base/readline-ask.exp: Likewise.
5720 * gdb.base/readline.exp: Likewise.
5721 * gdb.python/py-cmd.exp: Likewise.
5722 * gdb.trace/tfile.exp: Likewise.
5724 2014-03-26 Yao Qi <yao@codesourcery.com>
5726 * gdb.base/macscp.exp: Fix code format issues.
5728 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
5730 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
5731 * gdb.asm/powerpc64le.inc: New file.
5733 2014-03-25 Pedro Alves <palves@redhat.com>
5734 Doug Evans <dje@google.com>
5736 * gdb.base/source-execution.c: New file.
5737 * gdb.base/source-execution.exp: New file.
5738 * gdb.base/source-execution.gdb: New file.
5740 2014-03-24 Doug Evans <dje@google.com>
5742 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
5745 2014-03-24 Hui Zhu <hui@codesourcery.com>
5746 Pedro Alves <palves@redhat.com>
5748 PR breakpoints/16101
5749 * gdb.base/dprintf.exp: Use unsupported rather than changing the
5750 test pass/fail messages. Detect missing support for dprintf when
5751 breakpoints are actually inserted.
5752 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
5753 breakpoints are actually inserted.
5754 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
5757 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5759 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
5761 2014-03-22 Doug Evans <xdje42@gmail.com>
5763 * gdb.python/python.exp (python not supported): Verify multi-line
5764 python command issues an error.
5765 * gdb.guile/guile.exp (guile not supported): Verify multi-line
5766 guile command issues an error.
5768 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
5770 * gdb.threads/thread-specific.exp: Handle the lack of usable
5771 $this_breakpoint and $this_thread.
5773 2014-03-21 Hui Zhu <hui@codesourcery.com>
5775 * gdb.base/attach.exp (do_command_attach_tests): New.
5777 2014-03-20 Tom Tromey <tromey@redhat.com>
5778 Pedro Alves <palves@redhat.com>
5781 * gdb.base/condbreak-call-false.c: New file.
5782 * gdb.base/condbreak-call-false.exp: New file.
5784 2014-03-20 Pedro Alves <palves@redhat.com>
5786 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
5788 (block_signals, unblock_signals): Delete.
5789 (child_function_2, main): Remove references to deleted variable
5792 2014-03-20 Pedro Alves <palves@redhat.com>
5794 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
5795 Use pthread_kill to signal thread 2.
5796 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5797 Adjust to make the test send itself a signal rather than using the
5798 host's "kill" command.
5800 2014-03-20 Pedro Alves <palves@redhat.com>
5802 * gdb.threads/multiple-step-overs.c: New file.
5803 * gdb.threads/multiple-step-overs.exp: New file.
5804 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5805 Adjust expected infrun debug output.
5807 2014-03-20 Pedro Alves <palves@redhat.com>
5809 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
5810 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
5812 2014-03-20 Pedro Alves <palves@redhat.com>
5815 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
5816 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
5817 of gdb_test_multiple.
5818 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
5819 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
5821 2014-03-20 Pedro Alves <palves@redhat.com>
5823 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
5824 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
5826 2014-03-19 Pedro Alves <palves@redhat.com>
5828 * gdb.base/async.exp: Remove early return.
5830 2014-03-19 Pedro Alves <palves@redhat.com>
5832 * gdb.base/async.exp (step& tests): Pass explicit test messages.
5834 2014-03-19 Pedro Alves <palves@redhat.com>
5836 * gdb.base/async.exp (test_background): Expect \r\n after
5837 "completed." in the fail pattern.
5839 2014-03-19 Pedro Alves <palves@redhat.com>
5841 * gdb.base/async.exp (test_background): New procedure.
5842 Use it for all background execution command tests.
5844 2014-03-19 Pedro Alves <palves@redhat.com>
5846 * gdb.base/async.exp: Use prepare_for_testing.
5848 2014-03-19 Pedro Alves <palves@redhat.com>
5850 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
5853 2014-03-19 Pedro Alves <palves@redhat.com>
5855 * gdb.base/async.c (main): Add "jump here" and "until here" line
5857 * gdb.base/async.exp (jump_here): New global.
5858 (jump& test): Use it.
5859 (until_here): New global.
5860 (until& test): Use it.
5862 2014-03-19 Pedro Alves <palves@redhat.com>
5864 * gdb.base/async.exp: Don't frob gdb_protocol.
5866 2014-03-18 Doug Evans <xdje42@gmail.com>
5868 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
5869 Fix spelling of exec-done-display.
5871 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5874 * gdb.base/gdb-sigterm.c: New file.
5875 * gdb.base/gdb-sigterm.exp: New file.
5877 2014-03-18 Pedro Alves <palves@redhat.com>
5880 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
5881 * lib/mi-support.exp (mi_expect_stop): Add special handling for
5884 2014-03-17 Joel Brobecker <brobecker@adacore.com>
5886 * gdb.ada/pckd_arr_ren: New testcase.
5888 2014-03-13 Doug Evans <xdje42@gmail.com>
5891 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
5892 collect after discarding symbols.
5894 2014-03-13 Ludovic Courtès <ludo@gnu.org>
5895 Doug Evans <xdje42@gmail.com>
5897 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
5898 to history survives a gc.
5900 2014-03-13 Pedro Alves <palves@redhat.com>
5902 * gdb.base/default.exp: Don't test "target procfs".
5904 2014-03-13 Pedro Alves <palves@redhat.com>
5906 * gdb.base/default.exp: Update "target child" and "target procfs"
5907 tests to not expect "Unix".
5909 2014-03-12 Tom Tromey <tromey@redhat.com>
5911 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
5912 New procs. Add target-async tests.
5913 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
5914 Add target-async tests.
5916 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5918 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
5919 'func_start' and 'func_end' for the beginning and end of the
5920 function code, respectively.
5921 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
5922 'func_end' instead of 'func' and 'main'.
5924 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5926 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
5927 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
5928 generate the debug info assembler source.
5930 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5932 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
5933 * gdb.dwarf2/arr-subrange.exp: Likewise.
5934 * gdb.dwarf2/dwz.exp: Likewise.
5935 * gdb.dwarf2/method-ptr.exp: Likewise.
5936 * gdb.dwarf2/missing-sig-type.exp: Likewise.
5937 * gdb.dwarf2/subrange.exp: Likewise.
5938 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
5939 * gdb.dwarf2/implptrpiece.exp: Likewise.
5940 * gdb.dwarf2/nostaticblock.exp: Likewise.
5942 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5944 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
5945 directory to absolute path name arguments.
5947 2014-03-10 Joel Brobecker <brobecker@adacore.com>
5949 * gdb.ada/tagged_access: New testcase.
5951 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
5953 * gdb.btrace/data.exp: Update expected output.
5955 2014-03-06 Yao Qi <yao@codesourcery.com>
5957 * gdb.trace/pr16508.exp: New file.
5959 2014-03-05 Pedro Alves <palves@redhat.com>
5962 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
5964 (top level): Adjust to use it. Add tests that exercise breakpoint
5965 interaction with the code-cache.
5967 2014-02-26 Ludovic Courtès <ludo@gnu.org>
5969 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
5970 test for 'history-append!'.
5972 2014-02-26 Joel Brobecker <brobecker@adacore.com>
5974 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
5975 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
5976 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
5977 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
5978 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
5979 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
5981 2014-02-26 Joel Brobecker <brobecker@adacore.com>
5983 * testsuite/gdb.python/py-pp-re-notag.c: New file.
5984 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
5985 * testsuite/gdb.python/py-pp-re-notag.p: New file.
5987 2014-02-26 Joel Brobecker <brobecker@adacore.com>
5989 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
5991 2014-02-26 Joel Brobecker <brobecker@adacore.com>
5993 * gdb.dwarf2/arr-stride.c: New file.
5994 * gdb.dwarf2/arr-stride.exp: New file.
5996 2014-02-26 Pedro Alves <palves@redhat.com>
5998 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
5999 that won't ever trigger. Make sure that GDB reports the correct
6000 breakpoint that caused the stop.
6002 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6005 * gdb.base/auto-load-script: New file.
6006 * gdb.base/auto-load.c: New file.
6007 * gdb.base/auto-load.exp: New file.
6010 * gdb.base/auto-load.exp: Fix out-of-srctree run.
6012 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6014 Fix dw2-icycle.exp -fsanitize=address GDB crash.
6015 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
6017 2014-02-24 Doug Evans <dje@google.com>
6019 * lib/gdb.exp (run_on_host): Log error output if program fails.
6021 2014-02-21 Pedro Alves <palves@redhat.com>
6023 * gdb.threads/step-after-sr-lock.c: Rename to ...
6024 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
6025 * gdb.threads/step-after-sr-lock.exp: Rename to ...
6026 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6029 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
6032 * gdb.arch/amd64-stap-special-operands.exp: New file.
6033 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
6034 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
6035 * gdb.arch/amd64-stap-triplet.S: Likewise.
6036 * gdb.arch/amd64-stap-triplet.c: Likewise.
6038 2014-02-20 Joel Brobecker <brobecker@adacore.com>
6040 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
6041 in .section pseudo-op.
6043 2014-02-20 lin zuojian <manjian2006@gmail.com>
6044 Joel Brobecker <brobecker@adacore.com>
6045 Doug Evans <xdje42@gmail.com>
6048 * gdb.dwarf2/dw2-icycle.S: New file.
6049 * gdb.dwarf2/dw2-icycle.c: New file.
6050 * gdb.dwarf2/dw2-icycle.exp: New file.
6052 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
6054 * gdb.python/py-value-cc.cc: Improve test case to enable testing
6055 operations on gdb.Value objects.
6056 * gdb.python/py-value-cc.exp: Add new test to test operations on
6059 2014-02-18 Doug Evans <dje@google.com>
6061 * Makefile.in (TESTS): New variable.
6062 (expanded_tests, expanded_tests_or_none): New variables
6063 (check-single): Pass $(expanded_tests_or_none) to runtest.
6064 (check-parallel): Only run tests in $(TESTS) if non-empty.
6065 (check/no-matching-tests-found): New rule.
6066 * README: Document TESTS makefile variable.
6068 2014-02-18 Doug Evans <dje@google.com>
6070 * Makefile.in (check-parallel): rm -rf outputs temp.
6072 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6074 Fix "ERROR: no fileid for" in the testsuite.
6075 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
6077 2014-02-12 Doug Evans <dje@google.com>
6079 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
6080 (MISCELLANEOUS): New variable.
6081 (clean): rm -rf $(MISCELLANEOUS).
6082 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
6083 dwp live in the same directory as symlinks, with each symlink pointed
6084 to a differently named file in a different directory.
6086 2014-02-11 Doug Evans <dje@google.com>
6088 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
6089 of Tcl file commands.
6091 2014-02-10 Mark Kettenis <kettenis@gnu.org>
6093 * gdb.threads/step-after-sr-lock.exp: Avoid executing
6096 2014-02-10 Joel Brobecker <brobecker@adacore.com>
6098 * gdb.ada/tick_length_array_enum_idx: New testcase.
6100 2014-02-10 Doug Evans <xdje42@gmail.com>
6102 * configure.ac (AC_OUTPUT): Add gdb.guile.
6103 * configure: Regenerate.
6104 * lib/gdb-guile.exp: New file.
6105 * lib/gdb.exp (get_target_charset): New function.
6106 * gdb.base/help.exp: Update expected output from "apropos apropos".
6107 * gdb.guile/Makefile.in: New file.
6108 * gdb.guile/guile.exp: New file.
6109 * gdb.guile/scm-arch.c: New file.
6110 * gdb.guile/scm-arch.exp: New file.
6111 * gdb.guile/scm-block.c: New file.
6112 * gdb.guile/scm-block.exp: New file.
6113 * gdb.guile/scm-breakpoint.c: New file.
6114 * gdb.guile/scm-breakpoint.exp: New file.
6115 * gdb.guile/scm-disasm.c: New file.
6116 * gdb.guile/scm-disasm.exp: New file.
6117 * gdb.guile/scm-equal.c: New file.
6118 * gdb.guile/scm-equal.exp: New file.
6119 * gdb.guile/scm-error.exp: New file.
6120 * gdb.guile/scm-error.scm: New file.
6121 * gdb.guile/scm-frame-args.c: New file.
6122 * gdb.guile/scm-frame-args.exp: New file.
6123 * gdb.guile/scm-frame-args.scm: New file.
6124 * gdb.guile/scm-frame-inline.c: New file.
6125 * gdb.guile/scm-frame-inline.exp: New file.
6126 * gdb.guile/scm-frame.c: New file.
6127 * gdb.guile/scm-frame.exp: New file.
6128 * gdb.guile/scm-generics.exp: New file.
6129 * gdb.guile/scm-gsmob.exp: New file.
6130 * gdb.guile/scm-iterator.c: New file.
6131 * gdb.guile/scm-iterator.exp: New file.
6132 * gdb.guile/scm-math.c: New file.
6133 * gdb.guile/scm-math.exp: New file.
6134 * gdb.guile/scm-objfile-script-gdb.in: New file.
6135 * gdb.guile/scm-objfile-script.c: New file.
6136 * gdb.guile/scm-objfile-script.exp: New file.
6137 * gdb.guile/scm-objfile.c: New file.
6138 * gdb.guile/scm-objfile.exp: New file.
6139 * gdb.guile/scm-ports.exp: New file.
6140 * gdb.guile/scm-pretty-print.c: New file.
6141 * gdb.guile/scm-pretty-print.exp: New file.
6142 * gdb.guile/scm-pretty-print.scm: New file.
6143 * gdb.guile/scm-section-script.c: New file.
6144 * gdb.guile/scm-section-script.exp: New file.
6145 * gdb.guile/scm-section-script.scm: New file.
6146 * gdb.guile/scm-symbol.c: New file.
6147 * gdb.guile/scm-symbol.exp: New file.
6148 * gdb.guile/scm-symtab-2.c: New file.
6149 * gdb.guile/scm-symtab.c: New file.
6150 * gdb.guile/scm-symtab.exp: New file.
6151 * gdb.guile/scm-type.c: New file.
6152 * gdb.guile/scm-type.exp: New file.
6153 * gdb.guile/scm-value-cc.cc: New file.
6154 * gdb.guile/scm-value-cc.exp: New file.
6155 * gdb.guile/scm-value.c: New file.
6156 * gdb.guile/scm-value.exp: New file.
6157 * gdb.guile/source2.scm: New file.
6158 * gdb.guile/types-module.cc: New file.
6159 * gdb.guile/types-module.exp: New file.
6161 2014-02-10 Yao Qi <yao@codesourcery.com>
6164 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
6165 * configure: Regenerated.
6166 * Makefile.in: New file.
6168 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
6170 * gdb.python/py-framefilter.exp: Fix typo.
6172 2014-02-08 Yao Qi <yao@codesourcery.com>
6174 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
6175 that no =breakpoint-modified is emitted when breakpoints are
6176 modified through MI commands.
6178 2014-02-07 Pedro Alves <pedro@codesourcery.com>
6179 Pedro Alves <palves@redhat.com>
6181 * gdb.threads/step-after-sr-lock.c: New file.
6182 * gdb.threads/step-after-sr-lock.exp: New file.
6184 2014-02-07 Pedro Alves <palves@redhat.com>
6186 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
6188 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6190 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
6191 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
6193 2014-02-06 Doug Evans <xdje42@gmail.com>
6195 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
6198 * gdb.gdb/python-interrupts.exp: New file.
6200 2014-02-05 Yao Qi <yao@codesourcery.com>
6202 * gdb.trace/report.exp (use_collected_data): Test the output
6203 of "info threads" and "info inferiors".
6205 2014-02-05 Yao Qi <yao@codesourcery.com>
6209 2013-05-24 Yao Qi <yao@codesourcery.com>
6211 * gdb.trace/tfile.exp: Test inferior and thread.
6213 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6215 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
6217 * gdb.base/step-bt.c: Call hello via function pointer to make
6218 sure its first instruction is executed on powerpc64le-linux.
6220 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6222 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
6224 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6226 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
6227 of the test patterns for use on little-endian systems.
6229 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6231 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
6232 (decimal_vector): Fix for little-endian.
6234 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
6236 * gdb.arch/sparc-sysstep.exp: New file.
6237 * gdb.arch/sparc-sysstep.c: Likewise.
6239 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
6241 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6243 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
6245 2014-01-23 Tom Tromey <tromey@redhat.com>
6247 * gdb.ada/array_char_idx: New testcase.
6249 2014-01-23 Tom Tromey <tromey@redhat.com>
6252 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
6253 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
6256 2014-01-23 Tom Tromey <tromey@redhat.com>
6259 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
6260 string from an inferior frame.
6261 * gdb.python/py-framefilter-mi.exp: Update.
6263 2014-01-22 Doug Evans <dje@google.com>
6265 * gdb.server/server-mon.exp: Add tests for "set debug-format".
6267 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6269 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
6271 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6273 * gdb.trace/entry-values.exp: Remove excess space character from
6274 regex patterns. Handle s390 call instruction.
6276 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6278 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
6279 define "*_start" label. Make "name" static.
6280 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
6281 ${name} by references to ${name}_start.
6283 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6285 * gdb.base/info-macros.exp: Remove "debug" from the compile
6288 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6290 * gdb.dlang/demangle.exp: New file.
6292 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6294 * gdb.dlang/primitive-types.exp: New file.
6296 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6298 * configure.ac: Create gdb.dlang/Makefile.
6299 * configure: Regenerate.
6300 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
6301 * gdb.dlang/Makefile.in: New file.
6302 * lib/d-support.exp: New file.
6303 * lib/gdb.exp (skip_d_tests): New proc.
6305 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6307 * gdb.btrace/delta.exp: Check reverse stepi.
6308 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
6309 * gdb.btrace/finish.exp: New.
6310 * gdb.btrace/next.exp: New.
6311 * gdb.btrace/nexti.exp: New.
6312 * gdb.btrace/record_goto.c: Add comments.
6313 * gdb.btrace/step.exp: New.
6314 * gdb.btrace/stepi.exp: New.
6315 * gdb.btrace/multi-thread-step.c: New.
6316 * gdb.btrace/multi-thread-step.exp: New.
6317 * gdb.btrace/rn-dl-bind.c: New.
6318 * gdb.btrace/rn-dl-bind.exp: New.
6319 * gdb.btrace/data.c: New.
6320 * gdb.btrace/data.exp: New.
6321 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
6323 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6325 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
6326 * gdb.btrace/exception.exp: Update.
6327 * gdb.btrace/instruction_history.exp: Update.
6328 * gdb.btrace/record_goto.exp: Update.
6329 * gdb.btrace/tailcall.exp: Update.
6330 * gdb.btrace/unknown_functions.exp: Update.
6331 * gdb.btrace/delta.exp: New.
6333 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6335 * gdb.btrace/record_goto.exp: Add backtrace test.
6336 * gdb.btrace/tailcall.exp: Add backtrace test.
6338 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6340 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
6341 * gdb.btrace/record_goto.c: New.
6342 * gdb.btrace/record_goto.exp: New.
6343 * gdb.btrace/x86-record_goto.S: New.
6345 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6347 * gdb.btrace/function_call_history.exp: Update tests.
6348 * gdb.btrace/instruction_history.exp: Update tests.
6350 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6352 * gdb.btrace/function_call_history.exp: Fix expected field
6353 order for "record function-call-history".
6354 Add new tests for "record function-call-history /c".
6355 * gdb.btrace/exception.cc: New.
6356 * gdb.btrace/exception.exp: New.
6357 * gdb.btrace/tailcall.exp: New.
6358 * gdb.btrace/x86-tailcall.S: New.
6359 * gdb.btrace/x86-tailcall.c: New.
6360 * gdb.btrace/unknown_functions.c: New.
6361 * gdb.btrace/unknown_functions.exp: New.
6362 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
6364 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6366 * gdb.btrace/instruction_history.exp: Update.
6367 * gdb.btrace/function_call_history.exp: Update.
6369 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6371 * gdb.btrace/function_call_history.exp: Fix expected function
6373 * gdb.btrace/instruction_history.exp: Initialize traced.
6374 Remove traced_functions.
6376 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6378 * gdb.btrace/function_call_history.exp: Update
6379 * gdb.btrace/instruction_history.exp: Update.
6381 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6383 * gdb.btrace/enable.exp: Update expected text.
6385 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
6387 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
6390 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
6392 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
6394 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6396 * lib/gdb.exp (supports_process_record): Return true for
6397 arm*-linux*. (supports_reverse): Likewise.
6399 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
6403 * gdb.python/py-type.c: Enhance test case.
6404 * gdb.python/py-value-cc.cc: Likewise
6405 * gdb.python/py-type.exp: Add new tests.
6406 * gdb.python/py-value-cc.exp: Likewise
6408 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
6409 Pedro Alves <palves@redhat.com>
6411 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
6413 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
6414 references to ${name}_start by references to ${name}.
6416 2014-01-10 Joel Brobecker <brobecker@adacore.com>
6418 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
6420 2014-01-10 Joel Brobecker <brobecker@adacore.com>
6422 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
6424 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
6425 Pedro Alves <palves@redhat.com>
6427 * gdb.mi/mi-info-os.exp: Connect to the target with
6430 2014-01-08 Pedro Alves <palves@redhat.com>
6432 * gdb.threads/reconnect-signal.c: New file.
6433 * gdb.threads/reconnect-signal.exp: New file.
6435 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6437 * gdb.base/source-dir.exp: New file.
6439 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6441 * gdb.ada/mi_interface: New testcase.
6443 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6445 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
6446 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
6447 gdb.ada/pp-rec-component/pck.ads: New files.
6449 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6451 * gdb.python/py-pp-integral.c: New file.
6452 * gdb.python/py-pp-integral.py: New file.
6453 * gdb.python/py-pp-integral.exp: New file.
6455 For older changes see ChangeLog-1993-2013.
6461 ;; version-control: never
6464 Copyright 2014-2015 Free Software Foundation, Inc.
6465 Copying and distribution of this file, with or without modification,
6466 are permitted provided the copyright notice and this notice are preserved.