1 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
3 * gdb.reverse/s390-mvcle.c: New test.
4 * gdb.reverse/s390-mvcle.exp: New file.
5 * lib/gdb.exp: Enable reverse tests on s390*-linux.
7 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
9 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
11 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
13 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
15 * gdb.reverse/getresuid-reverse.exp: Likewise.
16 * gdb.reverse/pipe-reverse.exp: Likewise.
17 * gdb.reverse/readv-reverse.exp: Likewise.
18 * gdb.reverse/recvmsg-reverse.exp: Likewise.
19 * gdb.reverse/time-reverse.exp: Likewise.
20 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
22 2015-10-30 Yao Qi <yao.qi@linaro.org>
24 * gdb.threads/wp-replication.c (watch_count_done): Remove.
25 (empty_cycle): Remove.
26 (main): Don't call empty_cycle. Don't use watch_count_done.
27 * gdb.threads/wp-replication.exp: Don't set breakpoint on
28 empty_cycle. Rewrite the code counting HW watchpoints.
30 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
32 * gdb.reverse/fstatat-reverse.c: New test.
33 * gdb.reverse/fstatat-reverse.exp: New file.
34 * gdb.reverse/getresuid-reverse.c: New test.
35 * gdb.reverse/getresuid-reverse.exp: New file.
36 * gdb.reverse/pipe-reverse.c: New test.
37 * gdb.reverse/pipe-reverse.exp: New file.
38 * gdb.reverse/readv-reverse.c: New test.
39 * gdb.reverse/readv-reverse.exp: New file.
40 * gdb.reverse/recvmsg-reverse.c: New test.
41 * gdb.reverse/recvmsg-reverse.exp: New file.
42 * gdb.reverse/time-reverse.c: New test.
43 * gdb.reverse/time-reverse.exp: New file.
44 * gdb.reverse/waitpid-reverse.c: New test.
45 * gdb.reverse/waitpid-reverse.exp: New file.
47 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
49 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
51 2015-10-26 Doug Evans <dje@google.com>
54 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
55 * gdb.dwarf2/bad-regnum.c: New file.
56 * gdb.dwarf2/bad-regnum.exp: New file.
58 2015-10-26 Doug Evans <dje@google.com>
61 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
64 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
66 * gdb.compile/compile.exp (compile code globalvar): Update expectation
67 for a change by "Mention language in compile error message".
69 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
72 * gdb.python/py-type.c (C::a_method): New.
73 (C::a_const_method): New.
74 (C::a_static_method): New.
76 * gdb.python/py-type.exp (test_fields): Test getting fields
77 from function and method.
79 2015-10-21 Keven Boell <keven.boell@intel.com>
81 * gdb.fortran/vla-alloc-assoc.exp: New file.
82 * gdb.fortran/vla-datatypes.exp: New file.
83 * gdb.fortran/vla-datatypes.f90: New file.
84 * gdb.fortran/vla-history.exp: New file.
85 * gdb.fortran/vla-ptype-sub.exp: New file.
86 * gdb.fortran/vla-ptype.exp: New file.
87 * gdb.fortran/vla-sizeof.exp: New file.
88 * gdb.fortran/vla-sub.f90: New file.
89 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
90 * gdb.fortran/vla-value-sub-finish.exp: New file.
91 * gdb.fortran/vla-value-sub.exp: New file.
92 * gdb.fortran/vla-value.exp: New file.
93 * gdb.fortran/vla-ptr-info.exp: New file.
94 * gdb.mi/mi-vla-fortran.exp: New file.
95 * gdb.mi/vla.f90: New file.
97 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
99 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
100 of hardwired timeout value.
102 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
103 Pedro Alves <palves@redhat.com>
105 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
106 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
108 2015-10-19 Josh Stone <jistone@redhat.com>
110 * gdb.base/catch-syscall.c: Include <sched.h>.
111 (unknown_syscall): New variable.
112 (main): Trigger a vfork and an unknown syscall.
113 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
114 (unknown_syscall_number): Likewise.
115 (check_call_to_syscall): Accept an optional syscall pattern.
116 (check_return_from_syscall): Likewise.
117 (check_continue): Likewise.
118 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
119 (test_catch_syscall_skipping_return): New test toggling off 'catch
120 syscall' to step over the syscall return, then toggling back on.
121 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
122 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
123 (do_syscall_tests): Call test_catch_syscall_without_args and
124 test_catch_syscall_mid_vfork.
125 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
126 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
128 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
130 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
131 print g_vE): Add new pass patterns.
132 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
133 print various symbol names for vptr fields.
135 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
137 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
140 2015-10-12 Yao Qi <yao.qi@linaro.org>
142 * gdb.arch/disp-step-insn-reloc.exp: New test case.
144 2015-10-12 Yao Qi <yao.qi@linaro.org>
146 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
147 is aarch64*-*-linux*.
149 2015-10-12 Yao Qi <yao.qi@linaro.org>
151 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
152 (can_relocate_bcond_true): ... it.
153 (can_relocate_bcond_false): New function.
155 (can_relocate_bl): Likewise.
156 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
159 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
161 * gdb.base/nested-addr.c: New file.
162 * gdb.base/nested-addr.exp: New testcase.
164 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
166 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
167 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
168 its output. Ignore the output of "record goto begin" and instead
169 check that GDB is replaying.
171 2015-10-09 Pedro Alves <palves@redhat.com>
173 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
174 (top level): Use it in the run with no args test.
176 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
178 * gdb.dlang/properties.exp: New file.
180 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
182 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
183 whether or not address 0x1000 is mapped on the target.
185 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
187 * gdb.python/py-type.exp: Do not run tests if binaries fail to
190 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
192 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
193 instruction-history test.
195 2015-09-28 Doug Evans <dje@google.com>
197 * gdb.base/gcore.c (array_func): Add reference to static_array.
199 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
201 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
204 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
206 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
207 short or char as base type.
209 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
211 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
212 to allow any size enum.
214 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
216 * gdb.ada/array_ptr_renaming.exp: New testcase.
217 * gdb.ada/array_ptr_renaming/foo.adb: New file.
218 * gdb.ada/array_ptr_renaming/pack.ads: New file.
220 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
222 * gdb.trace/ftrace-lock.c: New file.
223 * gdb.trace/ftrace-lock.exp: New file.
225 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
227 * gdb.arch/insn-reloc.c: New file.
228 * gdb.arch/ftrace-insn-reloc.exp: New file.
230 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
232 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
234 * gdb.trace/pendshr1.c (pendfunc): Likewise.
235 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
236 * gdb.trace/range-stepping.c: Likewise.
237 * gdb.trace/trace-break.c: Likewise.
238 * gdb.trace/trace-mt.c (thread_function): Likewise.
239 * gdb.trace/ftrace.c (marker): Likewise.
240 * gdb.trace/trace-condition.c (marker): Likewise.
241 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
242 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
245 2015-09-18 Doug Evans <xdje42@gmail.com>
247 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
248 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
250 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
252 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
255 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
257 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
258 the pending breakpoint. Remove timeout override for "Run till
259 MI pending breakpoint on pendfunc3 on thread 2" test.
261 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
263 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
266 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
268 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
269 in breakpoint filename pattern.
271 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
273 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
275 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
277 * gdb.linespec/explicit.exp: Check for readline support for
278 tab-completion tests. Fix obvious typo.
280 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
282 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
285 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
287 * gdb.btrace/non-stop.c: New.
288 * gdb.btrace/non-stop.exp: New.
290 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
291 Yao Qi <yao.qi@linaro.org>
293 * gdb.trace/trace-condition.c: New file.
294 * gdb.trace/trace-condition.exp: New file.
296 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
298 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
299 for testing bytecode compilation.
301 2015-09-16 Pedro Alves <palves@redhat.com>
302 Sandra Loosemore <sandra@codesourcery.com>
304 * gdb.threads/non-stop-fair-events.c (timeout): New global.
306 (main): Call pthread_kill and alarm early.
307 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
309 (test): If the target can't hardware step and doesn't support
310 displaced stepping, increase the timeout.
312 2015-09-16 Pedro Alves <palves@redhat.com>
314 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
315 (enable_debug): New procedures.
316 (test): Use them. Bail out if waiting for threads fails.
317 (top level): Bail out if a test fails.
319 2015-09-16 Yao Qi <yao.qi@linaro.org>
321 * gdb.asm/asm-source.exp: Set asm-arch for
323 * gdb.asm/aarch64.inc: New file.
325 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
327 * gdb.ada/array_of_variable_length.exp: New testcase.
328 * gdb.ada/array_of_variable_length/foo.adb: New file.
329 * gdb.ada/array_of_variable_length/pck.adb: New file.
330 * gdb.ada/array_of_variable_length/pck.ads: New file.
332 2015-09-15 Doug Evans <dje@google.com>
334 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
335 of function static local variable.
337 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
339 * gdb.threads/tls-so_extern.exp: New test file.
340 * gdb.threads/tls-so_extern.c: New test file.
341 * gdb.threads/tls-so_extern_main.c: New test file.
343 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
345 * gdb.opt/solib-intra-step-lib.c: New file.
346 * gdb.opt/solib-intra-step-main.c: New file.
347 * gdb.opt/solib-intra-step.exp: New file.
349 2015-09-15 Pedro Alves <palves@redhat.com>
351 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
352 gdb_continue_to_breakpoint instead of gdb_test_multiple.
354 2015-09-14 Pedro Alves <palves@redhat.com>
356 * gdb.base/hook-stop-continue.c: Delete.
357 * gdb.base/hook-stop-continue.exp: Delete.
358 * gdb.base/hook-stop-frame.c: Delete.
359 * gdb.base/hook-stop-frame.exp: Delete.
360 * gdb.base/hook-stop.c: New file.
361 * gdb.base/hook-stop.exp: New file.
363 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
365 * gdb.ada/access_to_packed_array.exp: New testcase.
366 * gdb.ada/access_to_packed_array/foo.adb: New file.
367 * gdb.ada/access_to_packed_array/pack.adb: New file.
368 * gdb.ada/access_to_packed_array/pack.ads: New file.
370 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
372 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
375 2015-09-11 Don Breazeal <donb@codesourcery.com>
377 * gdb.base/foll-exec.c: Add copyright header. Fix
379 * gdb.base/foll-exec.exp (zap_session): Delete proc.
380 (do_exec_tests): Use clean_restart in place of zap_session,
381 and for test initialization. Fix formatting issues. Use
382 fail in place of perror.
383 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
384 an expect statement to match an expression with output from
385 the program under debug.
386 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
387 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
388 * gdb.threads/non-ldr-exc-2.exp: Likewise.
389 * gdb.threads/non-ldr-exc-3.exp: Likewise.
390 * gdb.threads/non-ldr-exc-4.exp: Likewise.
392 2015-09-09 Doug Evans <dje@google.com>
394 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
396 2015-09-09 Doug Evans <dje@google.com>
398 * gdb.base/pie-execl.exp: Fix result test of build_executable.
400 2015-09-09 Doug Evans <dje@google.com>
402 * gdb.base/savedregs.exp: Fix typo.
404 2015-09-09 Pedro Alves <palves@redhat.com>
406 * gdb.mi/mi-cli.exp: Add CLI finish tests.
408 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
410 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
411 command actually switches threads. Give up on remaining
412 tests if target fails to stop at breakpoint.
414 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
416 * gdb.ada/funcall_char.exp: New testcase.
417 * gdb.ada/funcall_char/foo.adb: New file.
419 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
421 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
422 expected outputs. Add two testcases for completing ambiguous
424 * gdb.ada/complete/aux_pck.adb: New file.
425 * gdb.ada/complete/aux_pck.ads: New file.
426 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
427 Ambiguous_Func functions.
428 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
429 * gdb.ada/complete/pck.adb: Likewise.
431 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
433 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
434 failures to run the test program under GDB.
436 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
438 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
441 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
443 * gdb.base/run-after-attach.exp: New test file.
444 * gdb.base/run-after-attach.c: New test file.
446 2015-08-26 Don Breazeal <donb@codesourcery.com>
448 * gdb.base/foll-exec-2.c: New test program.
449 * gdb.base/foll-exec-2.exp: New test.
451 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
453 * gdb.base/nested-subp1.exp: New file.
454 * gdb.base/nested-subp1.c: New file.
455 * gdb.base/nested-subp2.exp: New file.
456 * gdb.base/nested-subp2.c: New file.
457 * gdb.base/nested-subp3.exp: New file.
458 * gdb.base/nested-subp3.c: New file.
460 2015-08-24 Pedro Alves <palves@redhat.com>
462 * gdb.server/connect-without-multi-process.c: New file.
463 * gdb.server/connect-without-multi-process.exp: New file.
465 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
467 * gdb.opt/inline-markers.c: Make z int.
469 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
471 * gdb.opt/inline-markers.c: Make z volatile.
473 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
475 * gdb.opt/inline-bt.c: New volatile global z.
476 * gdb.opt/inline-cmds.c: Likewise.
477 * gdb.opt/inline-locals.c: Likewise.
478 * gdb.opt/inline-markers.c: New extern global z.
480 (inline_fn): Likewise.
482 2015-08-24 Pedro Alves <palves@redhat.com>
484 * config/m32r-stub.exp: Remove file.
485 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
486 * gdb.base/call-rt-st.exp: Likewise.
487 * gdb.base/call-strs.exp: Likewise.
488 * gdb.base/default.exp: Remove references to h8300-*-hms and
490 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
492 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
494 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
495 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
496 and "return" use KFAIL when GDB can not read/write the vector
499 2015-08-21 Gary Benson <gbenson@redhat.com>
501 * gdb.trace/pending.exp: Cope with remote transfer warnings.
503 2015-08-20 Pedro Alves <palves@redhat.com>
505 * gdb.server/solib-list.exp: No longer expect an interior stop in
508 2015-08-20 Pedro Alves <palves@redhat.com>
510 * gdb.server/connect-stopped-target.c: New file.
511 * gdb.server/connect-stopped-target.exp: New file.
513 2015-08-20 Pedro Alves <palves@redhat.com>
515 * gdb.dwarf2/comp-unit-lang.exp: New file.
516 * gdb.dwarf2/comp-unit-lang.c: New file.
518 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
520 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
521 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
523 2015-08-19 Kevin Buettner <kevinb@redhat.com>
525 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
526 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
528 2015-08-18 Doug Evans <dje@google.com>
529 Adrian Sendroiu <adrian.sendroiu@freescale.com>
531 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
532 skip_python_tests. New arg prompt_regexp.
533 (skip_python_tests): New function.
534 * lib/mi-support.exp (mi_skip_python_tests): New function.
535 * gdb.python/py-mi-objfile-gdb.py: New file.
536 * gdb.python/py-mi-objfile.c: New file.
537 * gdb.python/py-mi-objfile.exp: New file.
539 2015-08-17 Keith Seitz <keiths@redhat.com>
541 * gdb.linespec/explicit.exp: Move strace test from here ...
542 * gdb.trace/strace.exp: ... to here.
544 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
546 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
547 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
549 2015-08-14 Doug Evans <xdje42@gmail.com>
551 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
552 inferior before selecting a new file.
554 2015-08-14 Doug Evans <xdje42@gmail.com>
556 * gdb.mi/mi-disassemble.exp: Update.
557 * gdb.base/disasm-optim.S: New file.
558 * gdb.base/disasm-optim.c: New file.
559 * gdb.base/disasm-optim.h: New file.
560 * gdb.base/disasm-optim.exp: New file.
562 2015-08-14 Keith Seitz <keiths@redhat.com>
564 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
567 2015-08-13 Joel Brobecker <brobecker@adacore.com>
569 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
571 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
573 * gdb.ada/fun_renaming.exp: New testcase.
574 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
575 * gdb.ada/fun_renaming/pack.adb: New file.
576 * gdb.ada/fun_renaming/pack.ads: New file.
578 2015-08-12 Keith Seitz <keiths@redhat.com>
580 * gdb.base/dso2dso.exp: Pass basename of source file in call to
583 2015-08-12 Joel Brobecker <brobecker@adacore.com>
585 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
586 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
587 gdb.base/dso2dso.exp: New files.
589 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
590 Pedro Alves <palves@redhat.com>
591 Keith Seitz <keiths@redhat.com>
593 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
596 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
598 * gdb.base/gdbhistsize-history.exp
599 (test_histsize_history_setting): Use save_vars.
600 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
602 (test_no_truncation_of_unlimited_history_file): Use save_vars.
603 * gdb.base/readline.exp: Use save_vars.
605 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
607 * lib/gdb.exp (save_vars): New proc.
609 2015-08-11 Keith Seitz <keiths@redhat.com>
611 * gdb.base/help.exp: Update help_breakpoint_text.
613 2015-08-11 Keith Seitz <keiths@redhat.com>
615 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
616 (at toplevel): Call test_explicit_breakpoints.
617 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
619 * lib/mi-support.exp (mi_make_breakpoint): Add support for
620 breakpoint conditions, "-cond".
622 2015-08-11 Keith Seitz <keiths@redhat.com>
624 * gdb.linespec/3explicit.c: New file.
625 * gdb.linespec/cpexplicit.cc: New file.
626 * gdb.linespec/cpexplicit.exp: New file.
627 * gdb.linespec/explicit.c: New file.
628 * gdb.linespec/explicit.exp: New file.
629 * gdb.linespec/explicit2.c: New file.
630 * gdb.linespec/ls-errs.exp: Add explicit location tests.
631 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
632 before using in the matching pattern.
633 Clarify that `prefix' is a regular expression.
635 2015-08-11 Keith Seitz <keiths@redhat.com>
637 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
639 Add tests for missing ",FMT" and ",".
641 2015-08-10 Doug Evans <dje@google.com>
642 Keith Seitz <keiths@redhat.com>
645 * gdb.base/completion.exp: Add location completer tests.
647 2015-08-07 Pedro Alves <palves@redhat.com>
649 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
651 (top level): Run do_test with and without displaced stepping.
653 2015-08-07 Pedro Alves <palves@redhat.com>
655 * gdb.base/valgrind-disp-step.c: New file.
656 * gdb.base/valgrind-disp-step.exp: New file.
658 2015-08-07 Pedro Alves <palves@redhat.com>
660 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
662 (main): Add alarm. Run an infinite loop instead of calling
664 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
666 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
668 (main): Add alarm. Run an infinite loop instead of calling
670 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
673 2015-08-07 Pedro Alves <palves@redhat.com>
675 * gdb.base/checkpoint-ns.exp: New file.
676 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
679 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
681 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
682 * gdb.btrace/instruction_history.exp: Update.
683 * gdb.btrace/tsx.exp: New.
684 * gdb.btrace/tsx.c: New.
686 2015-08-06 Pedro Alves <palves@redhat.com>
688 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
690 * gdb.reverse/until-precsave.exp: Bump timeouts.
692 2015-08-06 Pedro Alves <palves@redhat.com>
694 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
696 2015-08-06 Pedro Alves <palves@redhat.com>
699 * gdb.threads/process-dies-while-handling-bp.c: New file.
700 * gdb.threads/process-dies-while-handling-bp.exp: New file.
702 2015-08-06 Pedro Alves <palves@redhat.com>
704 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
705 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
707 2015-08-05 Pedro Alves <palves@redhat.com>
709 * gdb.threads/next-while-other-thread-longjmps.c: New file.
710 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
712 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
714 * gdb.base/bp-permanent.exp: Report test as unsupported if
715 the target cannot stop at the permanent breakpoint.
717 2015-08-03 Doug Evans <dje@google.com>
719 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
722 2015-08-03 Doug Evans <dje@google.com>
724 * Makefile.in (workers/%.worker, build-perf): New rule.
725 (GDB_PERFTEST_MODE): New variable.
726 (check-perf): Use it.
727 (clean): Clean up gdb.perf parallel build subdirs.
728 * lib/build-piece.exp: New file.
729 * lib/gdb.exp (make_gdb_parallel_path): New function
730 (standard_output_file, standard_temp_file): Call it.
731 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
733 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
735 2015-08-03 Doug Evans <dje@google.com>
737 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
738 (LOG_FILE_NAME): New global.
739 (TextReporter.__init__): Initialize self.txt_sum.
740 (TextReporter.report): Add support for multiple data-points.
741 Move report to perftest.sum, put raw data in perftest.log.
742 (TextReporter.start): Open sum and log files.
743 (TextReporter.end): Close sum and log files.
744 * gdb.perf/lib/perftest/testresult.py
745 (SingleStatisticTestResult.record): Handle multiple data-points.
747 2015-07-31 Pedro Alves <palves@redhat.com>
749 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
750 Use spawn_id_get_pid. Wait for spawn id after eof. Use
751 kill_wait_spawned_process instead of explicit "kill -9".
752 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
753 returning a spawn id instead of a pid. Use spawn_id_get_pid and
754 kill_wait_spawned_process.
755 * gdb.base/attach-twice.exp: Likewise.
756 * gdb.base/attach.exp: Likewise.
757 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
759 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
760 returning a spawn id instead of a pid. Use spawn_id_get_pid and
761 kill_wait_spawned_process.
762 * gdb.base/valgrind-infcall.exp: Likewise.
763 * gdb.multi/multi-attach.exp: Likewise.
764 * gdb.python/py-prompt.exp: Likewise.
765 * gdb.python/py-sync-interp.exp: Likewise.
766 * gdb.server/ext-attach.exp: Likewise.
767 * gdb.threads/attach-into-signal.exp (corefunc): Use
768 spawn_wait_for_attach, spawn_id_get_pid and
769 kill_wait_spawned_process.
770 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
771 spawn_wait_for_attach returning a spawn id instead of a pid. Use
772 spawn_id_get_pid and kill_wait_spawned_process.
773 * gdb.threads/attach-stopped.exp (corefunc): Use
774 spawn_wait_for_attach, spawn_id_get_pid and
775 kill_wait_spawned_process.
776 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
777 Use spawn_id_get_pid. Wait for spawn id after eof. Use
778 kill_wait_spawned_process instead of explicit "kill -9".
779 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
780 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
781 (spawn_wait_for_attach): Use spawn instead of exec to spawn
782 processes. Don't map cygwin/windows pids here. Now returns a
785 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
787 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
788 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
791 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
793 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
795 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
798 2014-05-21 Mark Wielaard <mjw@redhat.com>
800 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
802 2015-07-30 Pedro Alves <palves@redhat.com>
804 * linux-low.c (handle_extended_wait): Set the child's last
805 reported status to TARGET_WAITKIND_STOPPED.
807 2015-07-30 Pedro Alves <palves@redhat.com>
810 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
811 only shows inferior 1.
813 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
814 Pedro Alves <palves@redhat.com>
817 * gdb.threads/fork-plus-threads.c: New file.
818 * gdb.threads/fork-plus-threads.exp: New file.
820 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
822 * gdb.base/batch-preserve-term-settings.exp
823 (test_terminal_settings_preserved_after_cli_exit): Use
826 2015-07-29 Pedro Alves <palves@redhat.com>
827 Don Breazeal <donb@codesourcery.com>
829 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
830 output from both inferior_spawn_id and gdb_spawn_id.
832 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
834 * gdb.threads/attach-into-signal.exp (corefunc): Use
835 with_test_prefix on nested loops, uniquefying the test messages.
837 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
839 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
842 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
844 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
846 (test_terminal_settings_preserved_after_sigterm): New test.
848 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
850 * gdb.base/batch-preserve-term-settings.exp
851 (test_terminal_settings_preserved_after_cli_exit): New test.
853 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
855 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
856 manipulation of saved_gdbflags.
857 (test_terminal_settings_preserved): Remove global declaration of
858 the unused variable pagination_prompt. Remove manipulation of
859 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
862 2015-07-29 Pedro Alves <palves@redhat.com>
864 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
866 2015-07-29 Pedro Alves <palves@redhat.com>
868 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
871 2015-07-29 Pedro Alves <palves@redhat.com>
873 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
874 (main): Call gdb_unbuffer_output.
875 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
876 (main): Call gdb_unbuffer_output.
877 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
878 (main): Call gdb_unbuffer_output.
879 * gdb.base/call-strs.exp: Adjust to step over the
880 gdb_unbuffer_output call.
881 * gdb.base/catch-gdb-caused-signals.c: Include
882 "../lib/unbuffer_output.c".
883 (main): Call gdb_unbuffer_output.
884 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
885 (main): Call gdb_unbuffer_output.
886 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
887 (main): Call gdb_unbuffer_output.
888 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
889 (main): Call gdb_unbuffer_output.
890 * gdb.base/shlib-call.exp: Adjust to step over the
891 gdb_unbuffer_output call.
892 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
893 (main): Call gdb_unbuffer_output.
894 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
895 (main): Call gdb_unbuffer_output.
896 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
897 (main): Rename to ...
900 * gdb.base/varargs.exp: Run to test instead of to main.
901 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
902 (main): Call gdb_unbuffer_output.
904 2015-07-29 Pedro Alves <palves@redhat.com>
906 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
907 factore out from mi_continue_dprintf. For call-style dprintfs,
908 expect dprintf output out of $inferior_spawn_id.
909 (mi_continue_dprintf): Use mi_expect_dprintf.
910 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
911 (main): Call gdb_unbuffer_output.
913 2015-07-29 Pedro Alves <palves@redhat.com>
915 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
916 (default_mi_gdb_start): Set inferior_spawn_id instead of
917 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
919 (mi_gdb_test): Always expect inferior output from both
920 $inferior_spawn_id and $gdb_spawn_id.
922 2015-07-29 Pedro Alves <palves@redhat.com>
924 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
925 send_inferior and $inferior_spawn_id.
927 2015-07-29 Pedro Alves <palves@redhat.com>
929 * gdb.gdb/complaints.exp (test_initial_complaints)
930 (test_serial_complaints, test_short_complaints): Use
932 (test_empty_complaint): Handle $inferior_spawn_id !=
935 2015-07-29 Pedro Alves <palves@redhat.com>
937 * gdb.base/varargs.exp: Use gdb_test_stdio.
939 2015-07-29 Pedro Alves <palves@redhat.com>
941 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
943 2015-07-29 Pedro Alves <palves@redhat.com>
945 * gdb.base/ending-run.exp: Use gdb_test_stdio.
947 2015-07-29 Pedro Alves <palves@redhat.com>
949 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
950 parameter into two new parameters, "inf_result" and "gdb_result".
951 Expect inferior output and gdb output from $inferior_spawn_id and
952 $gdb_spawn_id, respectively. Adjust all callers.
954 2015-07-29 Pedro Alves <palves@redhat.com>
956 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
957 of gdb_test_sequence.
959 2015-07-29 Pedro Alves <palves@redhat.com>
961 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
962 (saw_spurious_output): Expect inferior output from
963 $inferior_spawn_id. Use gdb_test_stdio.
965 2015-07-29 Pedro Alves <palves@redhat.com>
967 * gdb.base/dprintf.exp: Use standard_testfile. Change
968 prepare_for_testing call.
969 (srcfile): Don't set.
970 (restart): New procedure.
971 (test_dprintf): New procecure, use to continue over dprintfs.
972 (test_call, test_agent): New procedures, tests moved here.
973 Restart gdb and recreate dprintfs. Adjust expected output.
975 2015-07-29 Pedro Alves <palves@redhat.com>
977 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
979 2015-07-29 Pedro Alves <palves@redhat.com>
981 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
983 2015-07-29 Pedro Alves <palves@redhat.com>
985 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
988 2015-07-29 Pedro Alves <palves@redhat.com>
990 * lib/gdb.exp (gdb_test_stdio): New procedure.
992 2015-07-29 Pedro Alves <palves@redhat.com>
994 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
996 2015-07-29 Pedro Alves <palves@redhat.com>
998 * gdb.base/call-signal-resume.exp: Remove check for
999 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
1000 * gdb.base/unwindonsignal.exp: Likewise.
1001 * gdb.base/call-signals.c (gen_signal): Remove printf call.
1002 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
1004 2015-07-29 Pedro Alves <palves@redhat.com>
1006 * gdb.base/siginfo-addr.c (pass): New function.
1007 (handler): Call it iff si_addr is correct.
1008 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
1009 Set a breakpoint at "pass" and continue to it.
1011 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
1013 * gdb.python/py-objfile.exp: Make some tests have unique names.
1014 * gdb.python/py-pp-registration.exp: Likewise.
1016 2015-07-28 Pedro Alves <palves@redhat.com>
1018 * gdb.server/server-exec-info.exp: Issue a "disconnect".
1020 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
1022 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
1024 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
1026 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
1028 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
1030 * gdb.base/gdb-sigterm-2.exp: New test.
1032 2015-07-25 Doug Evans <xdje42@gmail.com>
1035 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
1036 (workers/%.worker, build-perf): New rule.
1037 (GDB_PERFTEST_MODE): New variable.
1038 (check-perf): Use it.
1039 (clean): Clean up gdb.perf parallel build subdirs.
1040 * lib/build-piece.exp: New file.
1041 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
1042 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
1044 (standard_temp_file): Ditto.
1045 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1048 2015-07-24 Doug Evans <dje@google.com>
1050 * gdb.perf/lib/perftest/utils.py: New file.
1051 * gdb.perf/gm-hello.cc: New file.
1052 * gdb.perf/gm-pervasive-typedef.cc: New file.
1053 * gdb.perf/gm-pervasive-typedef.h: New file.
1054 * gdb.perf/gm-std.cc: New file.
1055 * gdb.perf/gm-std.h: New file.
1056 * gdb.perf/gm-use-cerr.cc: New file.
1057 * gdb.perf/gm-utils.h: New file.
1058 * gdb.perf/gmonster-null-lookup.py: New file.
1059 * gdb.perf/gmonster-pervasive-typedef.py: New file.
1060 * gdb.perf/gmonster-print-cerr.py: New file.
1061 * gdb.perf/gmonster-ptype-string.py: New file.
1062 * gdb.perf/gmonster-runto-main.py: New file.
1063 * gdb.perf/gmonster-select-file.py: New file.
1064 * gdb.perf/gmonster1-null-lookup.exp: New file.
1065 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
1066 * gdb.perf/gmonster1-print-cerr.exp: New file.
1067 * gdb.perf/gmonster1-ptype-string.exp: New file.
1068 * gdb.perf/gmonster1-runto-main.exp: New file.
1069 * gdb.perf/gmonster1-select-file.exp: New file.
1070 * gdb.perf/gmonster1.cc: New file.
1071 * gdb.perf/gmonster1.exp: New file.
1072 * gdb.perf/gmonster2-null-lookup.exp: New file.
1073 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
1074 * gdb.perf/gmonster2-print-cerr.exp: New file.
1075 * gdb.perf/gmonster2-ptype-string.exp: New file.
1076 * gdb.perf/gmonster2-runto-main.exp: New file.
1077 * gdb.perf/gmonster2-select-file.exp: New file.
1078 * gdb.perf/gmonster2.cc: New file.
1079 * gdb.perf/gmonster2.exp: New file.
1081 2015-07-24 Doug Evans <dje@google.com>
1083 * gdb.perf/README: New file.
1084 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
1085 * lib/gen-perf-test.exp: New file.
1087 2015-07-24 Doug Evans <dje@google.com>
1089 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
1090 (PerfTest::startup): New function.
1091 (PerfTest::run): Return result of calling body.
1092 (PerfTest::assemble): Rewrite.
1093 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
1094 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
1095 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
1096 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
1097 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
1099 2015-07-24 Doug Evans <dje@google.com>
1101 * lib/gdb.exp (clean_restart): Make executable optional.
1103 2015-07-24 Doug Evans <dje@google.com>
1105 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
1106 compiler_info references.
1107 * gdb.cp/temargs.exp: Ditto.
1108 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
1109 (get_compiler_info): Early exit if already computed. Set compiler_info
1110 to "unknown" if there was a problem.
1111 (test_compiler_info): Add function comment. Call get_compiler_info.
1113 2015-07-24 Doug Evans <dje@google.com>
1115 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
1116 (workers/%.worker, build-perf): New rule.
1117 (GDB_PERFTEST_MODE): New variable.
1118 (check-perf): Use it.
1119 (clean): Clean up gdb.perf parallel build subdirs.
1120 * lib/build-piece.exp: New file.
1121 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
1122 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
1124 (standard_temp_file): Ditto.
1125 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1128 2015-07-24 Doug Evans <dje@google.com>
1130 * lib/future.exp (gdb_default_target_compile): New option
1132 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
1135 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
1137 * gdb.base/catch-syscall.exp: Call gdb_exit before
1140 2015-07-24 Pedro Alves <palves@redhat.com>
1142 * gdb.python/py-events.exp: Accept output between the stop event
1144 * gdb.python/py-evsignal.exp: Likewise.
1145 * gdb.python/py-evthreads.exp: Likewise.
1147 2015-07-24 Pedro Alves <palves@redhat.com>
1150 * gdb.threads/non-ldr-exit.c: New file.
1151 * gdb.threads/non-ldr-exit.exp: New file.
1153 2015-07-24 Yao Qi <yao.qi@linaro.org>
1155 * gdb.server/ext-wrapper.exp: Test --wrapper option when
1158 2015-07-24 Yao Qi <yao.qi@linaro.org>
1160 * gdb.server/ext-restart.exp: New file.
1162 2015-07-24 Yao Qi <yao.qi@linaro.org>
1164 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
1166 * gdb.server/ext-wrapper.exp: New file.
1168 2015-07-23 Doug Evans <dje@google.com>
1170 * gdb.dwarf2/dw2-dummy-cu.S: New file.
1171 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
1173 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
1175 * gdb.ada/var_arr_typedef.exp: New testcase.
1176 * gdb.ada/var_arr_typedef/pack.adb: New file.
1177 * gdb.ada/var_arr_typedef/pack.ads: New file.
1178 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
1180 2015-07-20 Joel Brobecker <brobecker@adacore.com>
1182 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
1184 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1186 * gdb.arch/i386-biarch-core.exp: Replace istarget
1187 by "complete set gnutarget". Remove expectation for the "core-file"
1190 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1192 Revert the previous commit:
1193 Tests for validate symbol file using build-id.
1195 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
1197 Tests for validate symbol file using build-id.
1198 * gdb.base/solib-mismatch-lib.c: New file.
1199 * gdb.base/solib-mismatch-libmod.c: New file.
1200 * gdb.base/solib-mismatch.c: New file.
1201 * gdb.base/solib-mismatch.exp: New file.
1203 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
1205 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
1207 * gdb.base/sigbpt.exp (stepi_out): Likewise.
1208 * gdb.base/siginfo.exp: Likewise.
1209 * gdb.base/sigstep.exp (advance, advancei): Likewise.
1211 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
1213 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
1215 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
1217 * gdb.trace/range-stepping.exp: Check that the target supports
1220 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1222 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
1224 2015-07-14 Pedro Alves <palves@redhat.com>
1226 * gdb.base/killed-outside.exp: New file.
1227 * gdb.base/killed-outside.c: New file.
1229 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1231 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
1233 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
1235 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
1237 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
1238 infcall tests instead of setting up for KFAIL.
1240 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
1242 * gdb.btrace/record_goto-step.exp: New.
1244 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1247 * gdb.compile/compile.c (struct struct_type): Add volatile to
1249 * gdb.compile/compile.exp
1250 (compile code struct_object.selffield = &struct_object): Skip further
1251 struct_object tests if this one xfails.
1253 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
1256 * gdb.trace/ax.exp: Add test.
1258 2015-07-07 Yao Qi <yao.qi@linaro.org>
1260 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
1261 instead of istarget "aarch64*-*-*".
1262 * gdb.arch/aarch64-fp.exp: Likewise.
1263 * gdb.base/float.exp: Likewise.
1264 * gdb.reverse/aarch64.exp: Likewise.
1265 * lib/gdb.exp (is_aarch64_target): New proc.
1267 2015-07-07 Yao Qi <yao.qi@linaro.org>
1269 * lib/gdb.exp (is_aarch32_target): New proc.
1270 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
1271 instead of "istarget "arm*-*-*"".
1272 * gdb.arch/arm-disp-step.exp: Likewise.
1273 * gdb.arch/thumb-bx-pc.exp: Likewise.
1274 * gdb.arch/thumb-prologue.exp: Likewise.
1275 * gdb.arch/thumb-singlestep.exp: Likewise.
1276 * gdb.base/disp-step-syscall.exp: Likewise.
1277 * gdb.base/float.exp: Likewise.
1279 2015-07-07 Yao Qi <yao.qi@linaro.org>
1281 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
1282 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
1284 2015-07-07 Yao Qi <yao.qi@linaro.org>
1286 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
1287 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
1289 * gdb.multi/multi-arch.exp: Likewise.
1291 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
1293 * gdb.python/py-lazy-string.exp: Add missing parentheses to
1296 2015-07-07 Yao Qi <yao.qi@linaro.org>
1298 * gdb.arch/thumb-singlestep.exp: Do one more single step.
1300 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
1302 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
1303 '[' and ']' characters.
1305 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
1307 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1309 2015-06-29 Pedro Alves <palves@redhat.com>
1312 * gdb.threads/hand-call-new-thread.c: New file.
1313 * gdb.threads/hand-call-new-thread.c: New file.
1315 2015-06-26 Keith Seitz <keiths@redhat.com>
1316 Doug Evans <dje@google.com>
1319 * gdb.cp/var-tag-2.cc: New file.
1320 * gdb.cp/var-tag-3.cc: New file.
1321 * gdb.cp/var-tag-4.cc: New file.
1322 * gdb.cp/var-tag.cc: New file.
1323 * gdb.cp/var-tag.exp: New file.
1325 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
1327 * gdb.base/history-duplicates.exp: New test.
1329 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
1331 * gdb.base/completion.exp: Test the completion of the "focus"
1334 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1336 * gdb.arch/amd64-prologue-skip.S: New file.
1337 * gdb.arch/amd64-prologue-skip.exp: New file.
1339 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
1341 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
1342 is_address_zero_readable check.
1344 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
1346 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
1347 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
1349 2015-06-24 Yao Qi <yao.qi@linaro.org>
1351 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
1354 2015-06-24 Yao Qi <yao.qi@linaro.org>
1356 * lib/gdb.exp (supports_get_siginfo_type): New proc.
1357 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
1358 * gdb.base/siginfo-thread.exp: Likewise.
1360 2015-06-22 Yao Qi <yao.qi@linaro.org>
1362 * boards/remote-gdbserver-on-localhost.exp: Add comments.
1364 2015-06-22 Yao Qi <yao.qi@linaro.org>
1366 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
1368 (skip_hw_watchpoint_tests): Likewise.
1370 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
1372 * gdb.base/gdbinit-history.exp: Test the interaction between
1373 setting GDBHISTSIZE and setting the history size via .gdbinit.
1375 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1378 * gdb.base/gdbhistsize-history.exp: New test.
1380 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1382 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
1384 * gdb.base/readline.exp: Likewise.
1386 2015-06-17 Yao Qi <yao.qi@linaro.org>
1388 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
1391 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1393 * gdb.base/gdbinit-history.exp: Add test case to check that
1394 an unlimited history file does not get truncated on exit.
1396 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1398 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
1399 (VECTOR): New macro. Use it...
1400 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
1401 ...for these typedefs.
1402 (int8, char1, int1, double1): New typedefs.
1403 (struct just_int2, struct two_int2): New structures.
1404 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
1405 (add_structvecs, add_singlevecs): New functions.
1406 (main): Call add_some_intvecs twice.
1407 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
1408 the compile and exit upon failure. Try compiling for the "native"
1409 architecture. Test inferior function calls with vector arguments
1410 and vector return value handling with "finish" and "return".
1412 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
1414 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
1415 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
1417 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
1419 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1421 PR breakpoints/16465
1422 * gdb.mi/mi-dprintf-pending.c: New file.
1423 * gdb.mi/mi-dprintf-pending.exp: New test.
1424 * gdb.mi/mi-dprintf-pendshr.c: New file.
1426 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1427 Mircea Gherzan <mircea.gherzan@intel.com>
1429 * gdb.arch/i386-mpx-map.c: New file.
1430 * gdb.arch/i386-mpx-map.exp: New File.
1432 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1434 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
1435 * gdb.arch/i386-mpx.exp: Indentation fixed.
1437 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1439 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
1440 function and improved indentation.
1441 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
1442 gdb_test_multiple. Added additional tests to skip the test.
1444 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1446 * gdb.arch/i386-avx512.c: Change path in include file.
1447 * gdb.arch/i386-avx512.exp: Change include dir path
1449 * gdb.arch/i386-mpx.c: Change path in include file.
1450 * gdb.arch/i386-mpx.exp: Change include dir path compilation
1453 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1455 * gdb.compile/compile-print.exp (compile print *vararray@3)
1456 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
1458 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1460 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
1461 (do not keep jit in memory): ... this.
1462 (expect 5): Change it to ...
1463 (expect no 5): ... this.
1465 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
1468 * gdb.mi/mi-detach.exp: New file.
1470 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1473 * gdb.arch/amd64-tailcall-self.S: New file.
1474 * gdb.arch/amd64-tailcall-self.c: New file.
1475 * gdb.arch/amd64-tailcall-self.exp: New file.
1477 2015-05-28 Don Breazeal <donb@codesourcery.com>
1479 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
1480 tests for remote targets by checking is_target_gdbserver.
1482 2015-05-27 Doug Evans <dje@google.com>
1484 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
1485 * gdb.dwarf2/opaque-type-lookup.c: New file.
1486 * gdb.dwarf2/opaque-type-lookup.exp: New file.
1488 2015-05-26 Doug Evans <dje@google.com>
1490 * gdb.cp/iostream.cc: New file.
1491 * gdb.cp/iostream.exp: New file.
1493 2015-05-26 Doug Evans <dje@google.com>
1495 * gdb.dwarf2/dw2-op-call.exp: Update.
1496 * gdb.dwarf2/dw4-sig-types.exp: Update.
1497 * gdb.dwarf2/implptr.exp: Update.
1498 * gdb.mi/mi-cmd-param-changed.exp: Update.
1500 2015-05-26 Doug Evans <dje@google.com>
1502 * gdb.python/py-lazy-string.c: New file.
1503 * gdb.python/py-lazy-string.exp: New file.
1504 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
1505 (main): Update. Add estring3.
1506 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
1507 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
1509 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
1510 Yao Qi <yao.qi@linaro.org>
1512 * gdb.reverse/aarch64.c: New.
1513 * gdb.reverse/aarch64.exp: New.
1515 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
1517 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
1518 (supports_reverse): Likewise.
1520 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
1522 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1523 Use with_test_prefix.
1525 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
1527 * gdb.base/completion.exp: Add test for completion of layout
1530 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
1532 * lib/gdb.exp (skip_tui_tests): New proc.
1533 * gdb.base/tui-layout.exp: Check skip_tui_tests.
1535 2015-05-19 Pedro Alves <palves@redhat.com>
1537 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1538 Save the whole env array instead of just HOME. Unset HISTSIZE in
1539 the environment while testing. Restore whole environment
1542 2015-05-16 Doug Evans <xdje42@gmail.com>
1544 * gdb.guile/scm-ports.c: New file.
1545 * gdb.guile/scm-ports.exp: Add memory port tests.
1547 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1549 * gdb.compile/compile-print.c: New file.
1550 * gdb.compile/compile-print.exp: New file.
1552 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1554 * gdb.compile/compile-ops.exp: Cast param to void.
1555 * gdb.compile/compile.exp: Complete type for _gdb_expr.
1556 (compile code struct_object.selffield = &struct_object): Add xfail.
1558 2015-05-15 Joel Brobecker <brobecker@adacore.com>
1560 * gdb.ada/arr_enum_with_gap: New testcase.
1562 2015-05-15 Joel Brobecker <brobecker@adacore.com>
1564 * gdb.ada/byte_packed_arr: New testcase.
1566 2015-05-15 Joel Brobecker <brobecker@adacore.com>
1568 * gdb.ada/pckd_neg: New testcase.
1570 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
1573 * gdb.base/gdbinit-history.exp: New test.
1574 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
1575 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
1577 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
1579 * gdb.python/py-xmethods.cc: Enhance test case.
1580 * gdb.python/py-xmethods.exp: New tests.
1581 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
1583 (B_indexoper): Likewise.
1584 (global_dm_list) : Add new xmethod worker functions.
1586 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
1588 * gdb.base/coredump-filter.exp: Correctly unset
1589 "coredump_var_addr" array.
1591 2015-05-08 Pedro Alves <palves@redhat.com>
1593 * gdb.server/non-existing-program.exp: Unset spawn_id.
1595 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
1598 * gdb.python/py-xmethods.exp: Add tests.
1600 2015-05-08 Yao Qi <yao.qi@linaro.org>
1603 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
1604 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
1605 function set_coredump_filter, and remove remote_exec call.
1606 Remove argument ipid. Callers update.
1607 (top level): Don't get inferior's PID.
1609 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
1611 * gdb.base/watch_thread_num.exp: Skip test on targets without
1614 2015-05-06 Pedro Alves <palves@redhat.com>
1617 * gdb.server/non-existing-program.exp: New file.
1619 2015-05-05 Joel Brobecker <brobecker@adacore.com>
1621 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
1623 2015-05-05 Joel Brobecker <brobecker@adacore.com>
1625 * gdb.ada/out_of_line_in_inlined: New testcase.
1627 2015-05-05 Joel Brobecker <brobecker@adacore.com>
1629 * gdb.ada/var_rec_arr: New testcase.
1631 2015-04-30 Yao Qi <yao.qi@linaro.org>
1633 * gdb.base/break-idempotent.exp: If
1634 skip_hw_watchpoint_multi_tests returns true, skip the tests
1635 on "rwatch" and "awatch".
1637 2015-04-30 Yao Qi <yao.qi@linaro.org>
1639 * gdb.base/relativedebug.exp: Invoke gdb command
1640 "info sharedlibrary", and if libc.so doesn't have debug info,
1643 2015-04-29 Doug Evans <dje@google.com>
1645 * gdb.python/py-xmethods.exp: Add ptype tests.
1646 * gdb.python/py-xmethods.py (E_method_char_worker): Add
1647 get_result_type method.
1649 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
1651 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
1652 the target does not support hardware watchpoints.
1654 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
1656 * gdb.base/break-always.exp: Abort testing if writing to memory
1659 2015-04-28 Doug Evans <dje@google.com>
1661 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
1662 * gdb.python/py-pp-registration.exp: ... here. New file.
1663 * gdb.python/py-pp-registration.c: New file.
1664 * gdb.python/py-pp-registration.py: New file.
1666 2015-04-28 Doug Evans <dje@google.com>
1668 * gdb.python/py-bad-printers.c: New file.
1669 * gdb.python/py-bad-printers.py: New file.
1670 * gdb.python/py-bad-printers.exp: New file.
1672 2015-04-28 Sasha Smundak <asmundak@google.com>
1674 * gdb.python/py-type.exp: New test.
1676 2015-04-28 Andy Wingo <wingo@igalia.com>
1678 * gdb.python/py-parameter.exp:
1679 * gdb.guile/scm-parameter.exp: Escape the path that we are
1680 matching against, as it might contain characters that are special
1681 to regular expressions.
1683 2015-04-27 Joel Brobecker <brobecker@adacore.com>
1685 * gdb.ada/rec_comp: New testcase.
1687 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
1689 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
1692 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
1694 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
1695 new tests for verilog output.
1697 2015-04-24 Yao Qi <yao.qi@linaro.org>
1699 * boards/remote-gdbserver-on-localhost.exp: New file.
1701 2015-04-23 Pedro Alves <palves@redhat.com>
1703 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
1704 $inferior_spawn_id instead of $inferior_spawn_id directly. On
1705 "end of file", remove $inferior_spawn_id from the indirect list.
1707 2015-04-23 Pedro Alves <palves@redhat.com>
1709 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
1711 2015-04-23 Pedro Alves <palves@redhat.com>
1713 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
1714 on $any_spawn_id instead of only on $gdb_spawn_id.
1716 2015-04-21 Pierre Muller <muller@sourceware.org>
1719 * lib/pascal.exp (gpc_compile): Add new option "class".
1720 (fpc_compile): Likewise.
1721 * gdb.pascal/case-insensitive-symbols.pas: New file.
1722 * gdb.pascal/case-insensitive-symbols.exp: New file.
1724 2015-04-20 Gary Benson <gbenson@redhat.com>
1726 * gdb.base/attach.exp: Fix three extended remote failures.
1728 2015-04-17 Gary Benson <gbenson@redhat.com>
1730 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
1731 the main executable over the remote protocol.
1733 2015-04-16 Pedro Alves <palves@redhat.com>
1735 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
1736 a new gdbserver if gdbserver_reconnect_p is set.
1738 2015-04-16 Pedro Alves <palves@redhat.com>
1740 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
1741 is set, don't exit gdbserver.
1743 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1745 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
1746 appropriate .insn, such that an older assembler can be used.
1747 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
1748 the z/Architecture instruction set on 31-bit targets as well.
1750 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1752 * gdb.go/handcall.exp: Remove all logic related to the first
1753 breakpoint and rely on go_runto_main instead.
1754 * gdb.go/strings.exp: Likewise.
1755 * gdb.go/unsafe.exp: Likewise.
1756 * gdb.go/hello.exp: Likewise. Also rename the remaining
1757 breakpoint marker to "breakpoint 1".
1758 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
1759 * gdb.go/strings.go: Likewise.
1760 * gdb.go/unsafe.go: Likewise.
1761 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
1762 "set breakpoint 2 here" and rename the remaining breakpoint marker
1765 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
1767 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
1768 if itertools.imap is not present.
1769 * gdb.python/py-objfile.exp: Add parentheses.
1770 * gdb.python/py-type.exp: Same.
1771 * gdb.python/py-unwind-maint.py: Same.
1773 2015-04-15 Yao Qi <yao.qi@linaro.org>
1775 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
1776 of ":$ptr_size" and set its form explicitly.
1778 2015-04-15 Pedro Alves <palves@redhat.com>
1779 Yao Qi <yao.qi@linaro.org>
1781 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
1782 timeout by factor of 4.
1783 (test_regular_watch): Likewise.
1784 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
1785 * gdb.reverse/sigall-reverse.exp: Likewise.
1786 * gdb.reverse/until-precsave.exp: Likewise.
1787 * lib/gdb.exp (with_timeout_factor): New proc.
1788 (gdb_expect): Move some code to ...
1789 (get_largest_timeout): ... here. New procedure.
1791 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
1793 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
1795 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
1797 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
1798 to write to the .text section.
1800 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
1802 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
1803 Handle the case of targets that do not provide PID information.
1805 2015-04-13 Yao Qi <yao.qi@linaro.org>
1807 * lib/gdbserver-support.exp (gdb_exit): Catch exception
1808 and use expect instead of gdb_expect.
1810 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
1812 * gdb.base/coredump-filter.exp: Rename variable "addr" to
1813 "coredump_var_addr" to avoid naming conflict with other testcases.
1815 2015-04-10 Pedro Alves <palves@redhat.com>
1817 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
1818 gdb_test_sequence and gdb_assert.
1820 2015-04-10 Pedro Alves <palves@redhat.com>
1822 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
1823 test messages that don't include the breakpoint address.
1825 2015-04-10 Yao Qi <yao.qi@linaro.org>
1827 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
1828 false for some offset and width combinations which aren't
1829 supported by linux kernel.
1831 2015-04-10 Pedro Alves <palves@redhat.com>
1833 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
1834 procedure, factored out from ...
1835 (top level): ... here. Add "set displaced-stepping" testing axis.
1836 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
1837 parameter "displaced". Use it.
1838 (top level): Use foreach and add "set displaced-stepping" testing
1841 2015-04-10 Pedro Alves <palves@redhat.com>
1843 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
1845 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
1846 both the address of the instruction that triggers the watchpoint
1847 and the address of the instruction immediately after, and use
1848 those addresses for the test. Fix comment.
1850 2015-04-10 Pedro Alves <palves@redhat.com>
1852 * gdb.base/sigstep.exp (breakpoint_to_handler)
1853 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
1854 Test "backtrace" in handler.
1855 (breakpoint_over_handler): New parameter 'displaced'. Use it.
1856 (top level): Add new "displaced" test axis to
1857 breakpoint_to_handler, breakpoint_to_handler_entry and
1858 breakpoint_over_handler.
1860 2015-04-10 Pedro Alves <palves@redhat.com>
1863 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
1865 2015-04-10 Yao Qi <yao.qi@linaro.org>
1867 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
1868 (test_add_rn_pc): New function.
1869 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
1870 (top level): Invoke test_add_rn_pc.
1872 2015-04-10 Pedro Alves <palves@redhat.com>
1875 * gdb.base/step-over-no-symbols.exp: New file.
1877 2015-04-09 Andy Wingo <wingo@igalia.com>
1879 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
1880 after the Python tests.
1882 2015-04-08 Keith Seitz <keiths@redhat.com>
1885 * gdb.python/py-completion.exp: New tests for completion.
1886 * gdb.python/py-completion.py (CompleteLimit1): New class.
1887 (CompleteLimit2): Likewise.
1888 (CompleteLimit3): Likewise.
1889 (CompleteLimit4): Likewise.
1890 (CompleteLimit5): Likewise.
1891 (CompleteLimit6): Likewise.
1892 (CompleteLimit7): Likewise.
1894 2015-04-08 Pedro Alves <palves@redhat.com>
1898 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
1900 (main): Install it as SIGUSR1 handler.
1901 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
1902 parameter. Always use "setup" as prefix. Toggle "set
1903 displaced-stepping" off/on depending on global. Don't switch to
1905 (top level): Add displaced stepping "off/on" test axis. Update
1906 "setup" calls. Wrap each subtest with with_test_prefix. Test
1907 continuing with a queued signal in each thread.
1909 2015-04-08 Pedro Alves <palves@redhat.com>
1911 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
1912 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
1913 gdb_breakpoint instead of gdb_test that doesn't expect anything.
1914 Return early if running to main fails.
1915 * gdb.trace/while-stepping.exp: Likewise.
1917 2015-04-07 Pedro Alves <palves@redhat.com>
1919 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
1920 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
1921 interact with inferior program.
1923 2015-04-07 Pedro Alves <palves@redhat.com>
1925 * lib/gdb.exp (inferior_spawn_id): New global.
1926 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
1927 spawn id after processing the user code.
1928 (default_gdb_start): Set inferior_spawn_id.
1929 (send_inferior): New procedure.
1930 * lib/gdbserver-support.exp (gdbserver_start): Set
1932 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
1934 2015-04-07 Pedro Alves <palves@redhat.com>
1936 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
1937 * lib/gdbserver-support.exp (gdbserver_start): Make
1938 $server_spawn_id global.
1939 (gdbserver_start): Don't wait for gdbserver's spawn id with
1941 (close_gdbserver): New procedure.
1942 (gdb_exit): Rename the default version and reimplement.
1944 2015-04-07 Pedro Alves <palves@redhat.com>
1946 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
1947 append the substituted item, not the original item.
1949 2015-04-07 Pedro Alves <palves@redhat.com>
1951 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
1954 2015-04-07 Pedro Alves <palves@redhat.com>
1956 * gdb.base/interrupt.exp: Don't handle the case of the inferior
1957 output appearing once only.
1959 2015-04-07 Pedro Alves <palves@redhat.com>
1961 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
1962 that doesn't expect anything. Return early if running to main
1965 2015-04-07 Yao Qi <yao.qi@linaro.org>
1967 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
1968 (child_function): Call alarm.
1969 (main): Move call to alarm into the loop.
1970 * gdb.threads/non-stop-fair-events.exp: Build program with
1973 2015-04-06 Doug Evans <xdje42@gmail.com>
1975 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
1976 Fix dest parameter to board_info.
1977 (fpc_compile): Ditto.
1978 (gdb_compile_pascal): Rename dest arg to destfile.
1980 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
1982 * gdb.ada/funcall_ref.exp: New file.
1983 * gdb.ada/funcall_ref/foo.adb: New file.
1985 2015-04-02 Yao Qi <yao.qi@linaro.org>
1987 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
1990 2015-04-02 Gary Benson <gbenson@redhat.com>
1992 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
1994 2015-04-01 Sasha Smundak <asmundak@google.com>
1996 * gdb.python/py-unwind-maint.c: New file.
1997 * gdb.python/py-unwind-maint.exp: New test.
1998 * gdb.python/py-unwind-maint.py: New file.
1999 * gdb.python/py-unwind.c: New file.
2000 * gdb.python/py-unwind.exp: New test.
2001 * gdb.python/py-unwind.py: New test.
2003 2015-04-01 Pedro Alves <palves@redhat.com>
2005 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
2006 to fail instead of non-existent $test.
2008 2015-04-01 Pedro Alves <palves@redhat.com>
2010 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
2011 GDBFLAGS if not empty.
2013 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
2015 * gdb.ada/complete.exp: Remove "multi_line".
2016 * gdb.ada/info_exc.exp: Remove "multi_line".
2017 * gdb.ada/packed_tagged.exp: Remove "multi_line".
2018 * gdb.ada/ptype_field.exp: Remove "multi_line".
2019 * gdb.ada/sym_print_name.exp: Remove "multi_line".
2020 * gdb.ada/tagged.exp: Remove "multi_line".
2021 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
2023 * gdb.btrace/delta.exp: Likewise.
2024 * gdb.btrace/exception.exp: Likewise.
2025 * gdb.btrace/function_call_history.exp: Likewise.
2026 * gdb.btrace/instruction_history.exp: Likewise.
2027 * gdb.btrace/nohist.exp: Likewise.
2028 * gdb.btrace/record_goto.exp: Likewise.
2029 * gdb.btrace/segv.exp: Likewise.
2030 * gdb.btrace/stepi.exp: Likewise.
2031 * gdb.btrace/tailcall.exp: Likewise.
2032 * gdb.btrace/unknown_functions.exp: Likewise.
2033 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
2034 * lib/gdb.exp: Add the "multi_line" helper.
2036 2015-04-01 Pedro Alves <palves@redhat.com>
2038 * gdb.threads/tid-reuse.c: New file.
2039 * gdb.threads/tid-reuse.exp: New file.
2041 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
2044 * gdb.base/coredump-filter.c: New file.
2045 * gdb.base/coredump-filter.exp: Likewise.
2047 2015-03-27 Petr Machata <pmachata@redhat.com>
2049 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
2050 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
2051 (Dwarf::assemble): Initialize them.
2052 (Dwarf::lines): New function.
2054 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
2056 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
2057 SYMBOL_PREFIX for x86_64-*-cygwin.
2059 2015-03-26 Andy Wingo <wingo@igalia.com>
2062 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
2063 const_value but not a location.
2064 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
2065 location defined in non-main CUs are visible.
2067 2015-03-26 Yao Qi <yao.qi@linaro.org>
2070 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
2071 Add a line number entry for the same line.
2072 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
2073 Add a line number entry for the same line.
2075 2015-03-26 Yao Qi <yao.qi@linaro.org>
2077 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
2079 (func): Likewise. Add .Lfunc_1 label.
2081 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
2086 2015-03-26 Yao Qi <yao.qi@linaro.org>
2088 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
2089 Call gdb_compile instead to compile each .s files without debug
2092 2015-03-26 Yao Qi <yao.qi@linaro.org>
2094 * gdb.base/savedregs.exp (process_saved_regs): Make
2095 "Saved registers:" optional in the pattern.
2097 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
2099 * gdb.btrace/next.exp: Merged into step.exp.
2100 * gdb.btrace/finish.exp: Merged into step.exp.
2101 * gdb.btrace/nexti.exp: Merged into stepi.exp.
2102 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
2103 "record goto" and checking the exact replay position.
2104 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
2105 check for "Recording format" in "info record" output.
2106 * gdb.btrace/record_goto.exp: Choose test file based on target.
2107 * gdb.btrace/x86-record_goto.S: Renamed into ...
2108 * gdb.btrace/x86_64-record_goto.S: ... this.
2109 * gdb.btrace/i686-record_goto.S: New.
2110 * gdb.btrace/x86-tailcall.S: Renamed into ...
2111 * gdb.btrace/x86_64-tailcall.S: ... this.
2112 * gdb.btrace/i686-tailcall.S: New.
2113 * gdb.btrace/x86-tailcall.c: Renamed into ...
2114 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
2115 separate statements. Update test.
2116 * gdb.btrace/delta.exp: Use record_goto.c as test file.
2117 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
2118 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
2119 * gdb.btrace/tailcall.exp: Choose test file based on target.
2120 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
2122 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
2124 * gdb.btrace/exception.exp: Increase BTS buffer size.
2126 2015-03-24 Pedro Alves <palves@redhat.com>
2128 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
2130 2015-03-24 Pedro Alves <palves@redhat.com>
2132 * gdb.threads/schedlock.exp (test_step): No longer expect that
2133 "set scheduler-locking step" with "next" over a function call runs
2136 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2138 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
2140 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2142 PR breakpoints/16466
2143 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
2144 * gdb.mi/mi-pending.c (thread_func): New function.
2145 (int main): Add threading support required.
2146 * gdb.mi/mi-pending.exp: Add tests for this issue.
2147 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
2148 (pendfunc2): Remove stdio dependency.
2149 * gdb.mi/mi-pendshr2.c: New file.
2151 2015-03-23 Keith Seitz <keiths@redhat.com>
2153 * gdb.linespec/keywords.c: New file.
2154 * gdb.linespec/keywords.exp: New file.
2156 2015-03-23 Keith Seitz <keiths@redhat.com>
2159 * gdb.dwarf2/staticvirtual.exp: New test.
2161 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2163 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
2164 * README: Remove HP-UX and gdb.hp.
2166 * configure: Regenerate.
2167 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
2168 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
2169 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
2170 gdb.hp/gdb.defects/Makefile.
2171 * gdb.hp/Makefile.in: File deleted.
2172 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
2173 * gdb.hp/gdb.aCC/optimize.c: File deleted.
2174 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
2175 * gdb.hp/gdb.aCC/run.c: File deleted.
2176 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
2177 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
2178 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
2179 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
2180 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
2181 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
2182 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
2183 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
2184 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
2185 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
2186 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
2187 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
2188 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
2189 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
2190 * gdb.hp/gdb.base-hp/reg.s: File deleted.
2191 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
2192 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
2193 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
2194 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
2195 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
2196 * gdb.hp/gdb.compat/Makefile.in: File deleted.
2197 * gdb.hp/gdb.compat/average.c: File deleted.
2198 * gdb.hp/gdb.compat/sum.c: File deleted.
2199 * gdb.hp/gdb.compat/xdb.c: File deleted.
2200 * gdb.hp/gdb.compat/xdb0.c: File deleted.
2201 * gdb.hp/gdb.compat/xdb0.h: File deleted.
2202 * gdb.hp/gdb.compat/xdb1.c: File deleted.
2203 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
2204 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
2205 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
2206 * gdb.hp/gdb.defects/Makefile.in: File deleted.
2207 * gdb.hp/gdb.defects/bs14602.c: File deleted.
2208 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
2209 * gdb.hp/gdb.defects/solib-d.c: File deleted.
2210 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
2211 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
2212 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
2213 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
2214 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
2215 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
2216 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
2217 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
2218 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
2219 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
2220 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
2221 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
2222 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
2223 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
2224 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
2225 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
2226 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
2227 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
2228 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
2229 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
2230 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
2231 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
2232 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
2233 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
2234 * gdb.hp/tools/odump: File deleted.
2236 2015-03-19 Pedro Alves <palves@redhat.com>
2238 * gdb.threads/continue-pending-status.exp (saw_thread_2)
2239 (saw_thread_3): New globals.
2240 (top level): Increment them when an event for the corresponding
2242 (no thread starvation): New test.
2244 2015-03-19 Pedro Alves <palves@redhat.com>
2246 * gdb.threads/continue-pending-status.c: New file.
2247 * gdb.threads/continue-pending-status.exp: New file.
2249 2015-03-18 Pedro Alves <palves@redhat.com>
2251 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
2252 Use gdb_is_target_remote instead of is_remote. Use
2253 gdb_test_multiple instead of gdb_expect. Exit early if
2254 gdb_test_multiple hits its internal matches. Tighten stepi tests
2255 expected output. Fail on exit with any signal, instead of just
2258 2015-03-18 Yao Qi <yao.qi@linaro.org>
2261 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
2263 * gdb.base/catch-syscall.exp: Don't skip it on
2264 aarch64*-*-linux* target. Remove elements in all_syscalls.
2265 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
2267 (setup_all_syscalls): New proc.
2269 2015-03-16 Yao Qi <yao.qi@linaro.org>
2271 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
2272 (top level): Skip tests if valid_addr_p returns false for
2275 2015-03-11 Andy Wingo <wingo@igalia.com>
2277 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
2279 2015-03-11 Yao Qi <yao.qi@linaro.org>
2281 * gdb.base/catch-syscall.exp: Fix typo in comments.
2283 2015-03-11 Yao Qi <yao.qi@linaro.org>
2285 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
2287 2015-03-09 Pedro Alves <palves@redhat.com>
2289 * dg-extract-results.py: Delete.
2291 2015-03-09 Pedro Alves <palves@redhat.com>
2293 Merge dg-extract-results.sh from GCC upstream (r218843).
2295 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
2296 * dg-extract-results.sh: Use --text with grep to avoid issues with
2297 binary files. Fall back to cat -v, if that doesn't work.
2299 2015-03-05 Pedro Alves <palves@redhat.com>
2301 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
2303 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
2305 * lib/mi-support.exp (mi_expect_interrupt): Accept
2306 alternative event for when in all-stop mode.
2308 2015-03-04 Pedro Alves <palves@redhat.com>
2310 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
2312 2015-03-04 Mark Kettenis <kettenis@gnu.org>
2314 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
2316 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2318 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
2319 regexps for GDB's current line display, accept a hex address
2320 preceding the line number.
2322 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2324 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
2325 the 'arch1' variable for "s390*-linux*" targets.
2327 2015-03-04 Pedro Alves <palves@redhat.com>
2329 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
2330 (main): Pass missing retval argument to pthread_join call.
2332 2015-03-02 Pedro Alves <palves@redhat.com>
2334 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
2335 (top level): Call do_test with non-stop as well.
2337 2015-03-02 Pedro Alves <palves@redhat.com>
2339 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
2342 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
2344 * gdb.arch/s390-vregs.exp: New test.
2345 * gdb.arch/s390-vregs.S: New file.
2347 2015-02-27 Pedro Alves <palves@redhat.com>
2349 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
2350 call to catch_command_errors.
2351 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
2352 catch_command_errors.
2354 2015-02-27 Pedro Alves <palves@redhat.com>
2356 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
2357 "true" for boolean result.
2358 * gdb.gdb/selftest.exp (test_with_self): Also accept full
2361 2015-02-27 Pedro Alves <palves@redhat.com>
2363 * lib/unbuffer_output.c: New file.
2364 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
2365 (main): Call gdb_unbuffer_output.
2367 2015-02-27 Yao Qi <yao.qi@linaro.org>
2369 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
2372 2015-02-26 Doug Evans <dje@google.com>
2374 * gdb.cp/class2.cc (Dbase, D): New classes.
2375 (main): New local delta.
2376 * gdb.cp/class2.exp: Test printing delta.
2377 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
2378 (dynbar): New global.
2379 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
2381 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2383 * gdb.compile/compile-ifunc.c: New file.
2384 * gdb.compile/compile-ifunc.exp: New file.
2386 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
2388 * gdb.base/structs.exp: Check for correct struct on finish.
2390 2015-02-26 Yao Qi <yao.qi@linaro.org>
2392 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
2395 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2397 * gdb.arch/cordic.ko.bz2: New file.
2398 * gdb.arch/cordic.ko.debug.bz2: New file.
2399 * gdb.arch/ppc64-symtab-cordic.exp: New file.
2401 2015-02-25 Yao Qi <yao.qi@linaro.org>
2403 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
2404 aarch64*-*-* target.
2406 2015-02-23 Pedro Alves <palves@redhat.com>
2408 * lib/gdb.exp (delete_breakpoints): Rewrite using
2411 2015-02-23 Pedro Alves <palves@redhat.com>
2413 * gdb.base/info-os.c: Include stdlib.h.
2415 2015-02-22 Doug Evans <xdje42@gmail.com>
2418 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
2419 is read after symbols have been re-read.
2420 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
2421 * gdb.ada/exec_changed/second.adb (Second): Ditto.
2423 2015-02-21 Doug Evans <dje@google.com>
2425 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
2427 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2430 * gdb.arch/i386-biarch-core.core.bz2: New file.
2431 * gdb.arch/i386-biarch-core.exp: New file.
2433 2015-02-21 Pedro Alves <palves@redhat.com>
2435 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
2438 2015-02-20 Pedro Alves <palves@redhat.com>
2440 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
2443 2015-02-20 Pedro Alves <palves@redhat.com>
2445 * gdb.threads/multi-create-ns-info-thr.exp: New file.
2447 2015-02-20 Pedro Alves <palves@redhat.com>
2449 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
2450 clean_restart before gdb_target_supports_trace.
2452 2015-02-20 Pedro Alves <palves@redhat.com>
2455 * gdb.threads/clone-thread_db.c: New file.
2456 * gdb.threads/clone-thread_db.exp: New file.
2458 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
2460 PR breakpoints/16812
2461 * gdb.base/catch-gdb-caused-signals.c: New file.
2462 * gdb.base/catch-gdb-caused-signals.exp: New file.
2464 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
2466 * configure: Regenerated.
2467 * configure.ac: Use GDB_AC_TRANSFORM.
2468 * aclocal.m4: sinclude ../transform.m4.
2470 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2472 * lib/dtrace.exp: New file.
2473 * gdb.base/dtrace-probe.exp: Likewise.
2474 * gdb.base/dtrace-probe.d: Likewise.
2475 * gdb.base/dtrace-probe.c: Likewise.
2476 * lib/pdtrace.in: Likewise.
2477 * configure.ac: Output variables with the transformed names of
2478 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
2479 * configure: Regenerated.
2481 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2483 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
2484 expected message when trying to access $_probe_* convenience
2485 variables while not on a probe.
2487 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2489 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
2491 2015-02-11 Pedro Alves <pedro@codesourcery.com>
2493 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
2494 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
2496 2015-02-10 Doug Evans <xdje42@gmail.com>
2498 * lib/gdb.exp (gdb_load): Always return a result.
2500 2015-02-10 Pedro Alves <palves@redhat.com>
2502 * gdb.threads/signal-sigtrap.c: New file.
2503 * gdb.threads/signal-sigtrap.exp: New file.
2505 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
2507 * gdb.trace/no-attach-trace.c: New file.
2508 * gdb.trace/no-attach-trace.exp: New file.
2510 2015-02-09 Mark Wielaard <mjw@redhat.com>
2512 * gdb.dwarf2/atomic.c: New file.
2513 * gdb.dwarf2/atomic-type.exp: Likewise.
2515 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2517 * gdb.btrace/buffer-size.exp: Update "info record" output.
2518 * gdb.btrace/delta.exp: Update "info record" output.
2519 * gdb.btrace/enable.exp: Update "info record" output.
2520 * gdb.btrace/finish.exp: Update "info record" output.
2521 * gdb.btrace/instruction_history.exp: Update "info record" output.
2522 * gdb.btrace/next.exp: Update "info record" output.
2523 * gdb.btrace/nexti.exp: Update "info record" output.
2524 * gdb.btrace/step.exp: Update "info record" output.
2525 * gdb.btrace/stepi.exp: Update "info record" output.
2526 * gdb.btrace/nohist.exp: Update "info record" output.
2528 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2530 * gdb.btrace/buffer-size: New.
2532 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2534 * gdb.btrace/delta.exp: Update "info record" output.
2535 * gdb.btrace/enable.exp: Update "info record" output.
2536 * gdb.btrace/finish.exp: Update "info record" output.
2537 * gdb.btrace/instruction_history.exp: Update "info record" output.
2538 * gdb.btrace/next.exp: Update "info record" output.
2539 * gdb.btrace/nexti.exp: Update "info record" output.
2540 * gdb.btrace/step.exp: Update "info record" output.
2541 * gdb.btrace/stepi.exp: Update "info record" output.
2542 * gdb.btrace/nohist.exp: Update "info record" output.
2544 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
2547 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
2549 2015-02-06 Pedro Alves <palves@redhat.com>
2551 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
2553 (seconds_left, again): New globals.
2554 (main): Wait seconds_left in a 1-second sleep loop instead of
2555 sleeping 180 seconds. If 'again' is set, reset the seconds
2557 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
2558 'again' in the inferior before detaching. Print the seconds left.
2559 (options): New global.
2560 (top level): Build program with -DTIMEOUT=$timeout.
2562 2015-02-06 Pedro Alves <palves@redhat.com>
2564 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
2565 determine how many seconds to pass to 'alarm'.
2566 * gdb.base/gdb-sigterm.exp (top level): Build program with
2568 (do_test): Return success/failure indication. Add more verbose
2569 logging. Don't fail if 200 single steps are seen. Instead, fail
2570 when the test times out.
2571 (passes): New global.
2572 (top level): Break the testing loop if testing fails on any
2573 iteration. Use gdb_assert.
2575 2015-02-04 Don Breazeal <donb@codesourcery.com>
2577 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
2578 and initialize them.
2579 (ipc_cleanup): New function.
2580 (main): Don't declare shmid, semid, and msqid. Add a call to
2581 atexit so that we call ipc_cleanup on exit.
2583 2015-02-04 Pedro Alves <palves@redhat.com>
2585 * boards/native-extended-gdbserver.exp: Remove any target variant
2586 specifications from the board name before clearing the isremote
2587 flag from board_info.
2589 2015-01-31 Doug Evans <xdje42@gmail.com>
2591 * gdb.base/maint.exp <maint print type argc>: Update expected output.
2593 2015-01-31 Gary Benson <gbenson@redhat.com>
2595 * gdb.base/completion.exp: Disable completion limiting for
2596 existing tests. Add new tests to check completion limiting.
2597 * gdb.linespec/ls-errs.exp: Disable completion limiting.
2599 2015-01-31 Doug Evans <xdje42@gmail.com>
2601 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
2603 2015-01-31 Doug Evans <xdje42@gmail.com>
2605 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
2606 entries. Duplicate file section script entries.
2607 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
2608 inlined entries. Add test for safe-path rejection.
2609 * gdb.python/py-section-script.c: Add duplicate inlined section script
2610 entries. Duplicate file section script entries.
2611 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
2612 inlined entries. Add test for safe-path rejection.
2614 2015-01-29 Joel Brobecker <brobecker@adacore.com>
2616 * gdb.ada/disc_arr_bound: New testcase.
2618 2015-01-29 Joel Brobecker <brobecker@adacore.com>
2620 * gdb.ada/mi_var_array: New testcase.
2622 2015-01-27 Doug Evans <dje@google.com>
2624 * gdb.python/py-objfile.exp: Add tests for objfile.username.
2625 Add test for objfile.filename, objfile.username after objfile
2628 2015-01-26 Joel Brobecker <brobecker@adacore.com>
2630 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
2631 the second test to print the name attribute of value
2632 returned by the call to gdb.lookup_type, and adjust
2633 the expected output accordingly.
2635 2015-01-25 Mark Wielaard <mjw@redhat.com>
2637 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
2638 * gdb.base/disp-step-fork.c: Include unistd.h.
2639 * gdb.base/siginfo-obj.c: Include stdio.h.
2640 * gdb.base/siginfo-thread.c: Likewise.
2641 * gdb.mi/non-stop.c: Include unistd.h.
2642 * gdb.mi/nsthrexec.c: Include stdio.h.
2643 * gdb.mi/pthreads.c: Include unistd.h.
2644 * gdb.modula2/unbounded1.c (main): Declare returns int.
2645 * gdb.reverse/consecutive-reverse.c: Likewise.
2646 * gdb.threads/create-fail.c: Include unistd.h.
2647 * gdb.threads/killed.c: Likewise.
2648 * gdb.threads/linux-dp.c: Likewise.
2649 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
2650 * gdb.threads/non-ldr-exc-2.c: Likewise.
2651 * gdb.threads/non-ldr-exc-3.c: Likewise.
2652 * gdb.threads/non-ldr-exc-4.c: Likewise.
2653 * gdb.threads/pthreads.c: Include unistd.h.
2654 (main): Declare returns int.
2655 * gdb.threads/tls-main.c (foo): New declaration.
2656 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
2658 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
2660 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
2661 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
2663 2015-01-15 Mark Wielaard <mjw@redhat.com>
2665 * gdb.base/noreturn-return.c: New file.
2666 * gdb.base/noreturn-return.exp: New file.
2667 * gdb.base/noreturn-finish.c: New file.
2668 * gdb.base/noreturn-finish.exp: New file.
2670 2015-01-23 Pedro Alves <palves@redhat.com>
2672 * gdb.threads/continue-pending-after-query.c: New file.
2673 * gdb.threads/continue-pending-after-query.exp: New file.
2675 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
2676 Simon Marchi <simon.marchi@ericsson.com>
2678 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
2679 * gdb.base/valgrind-db-attach.exp: Same.
2680 * gdb.base/valgrind-infcall.exp: Same.
2681 * lib/mi-support.exp (default_mi_gdb_start): Same.
2682 * lib/prompt.exp (default_prompt_gdb_start): Same.
2683 * lib/gdb.exp (default_gdb_spawn): Same.
2684 (gdb_interact): New.
2687 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2689 * gdb.compile/compile.exp (pointer to jit function): New test.
2691 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
2693 * lib/gdb.exp (supports_process_record): Return true for
2695 (supports_reverse): Likewise.
2697 2015-01-15 Don Breazeal <donb@codesourcery.com>
2699 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
2700 instead of checking whether the target board is remote and
2701 use spawn_wait_for_attach instead of exec/sleep.
2702 * gdb.base/attach-twice.exp: Likewise.
2704 2015-01-15 Joel Brobecker <brobecker@adacore.com>
2706 * gdb.ada/var_arr_attrs: New testcase.
2708 2015-01-14 Pedro Alves <palves@redhat.com>
2709 Joel Brobecker <brobecker@adacore.com>
2712 * gdb.base/bp-cmds-execution-x-script.c: New file.
2713 * gdb.base/bp-cmds-execution-x-script.exp: New file.
2714 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
2716 2015-01-14 Pedro Alves <palves@redhat.com>
2719 * gdb.base/batch-preserve-term-settings.c: New file.
2720 * gdb.base/batch-preserve-term-settings.exp: New file.
2722 2015-01-13 Doug Evans <dje@google.com>
2724 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
2727 2015-01-13 Joel Brobecker <brobecker@adacore.com>
2729 * Makefile.in (clean mostlyclean): Do not delete *.py.
2731 2015-01-13 Joel Brobecker <brobecker@adacore.com>
2733 * gdb.python/py-lookup-type.exp: New file.
2735 2015-01-12 Pedro Alves <palves@redhat.com>
2737 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
2738 restore GDBFLAGS before returning.
2740 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2742 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
2743 is_amd64_regs_target and is_x86_like_target.
2745 2015-01-11 Doug Evans <xdje42@gmail.com>
2747 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
2748 is given without an explicit form.
2749 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
2751 * gdb.dwarf/corrupt.exp: Ditto.
2752 * gdb.dwarf2/enum-type.exp: Ditto.
2753 * gdb.trace/entry-values.exp: Ditto.
2754 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
2756 2015-01-11 Doug Evans <xdje42@gmail.com>
2759 * gdb.base/maint.exp: Remove references to "maint demangle".
2760 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
2761 Add tests for explicitly specifying language to demangle.
2762 * gdb.dlang/demangle.exp: Ditto.
2764 2015-01-09 Pedro Alves <palves@redhat.com>
2766 * gdb.threads/non-stop-fair-events.c: New file.
2767 * gdb.threads/non-stop-fair-events.exp: New file.
2769 2015-01-09 Pedro Alves <palves@redhat.com>
2771 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
2772 the global scope. Set a breakpoint after all threads are started
2773 rather than stepping over two source lines. Expect the prompt.
2774 * gdb.base/watch_thread_num.c (threads_started_barrier): New
2777 (main): Use threads_started_barrier to wait for all threads to
2778 start. Main thread no longer calls thread_function. Exit after
2780 (loop): New function.
2781 (thread_function): Wait on threads_started_barrier barrier. Call
2782 'loop' at each iteration.
2783 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
2784 threads have started, instead of hardcoding number of "next"
2785 steps. Use an access watchpoint instead of a write watchpoint.
2787 2015-01-09 Pedro Alves <palves@redhat.com>
2789 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
2790 (thread_func): Wait on barrier.
2791 (main): Wait for all threads to start before stopping GDB.
2792 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
2794 (thread1_func, thread2_func): Wait on barrier.
2795 (main): Wait for all threads to start before stopping GDB.
2796 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
2798 (thread1_func, thread2_func): Wait on barrier.
2799 (main): Wait for all threads to start before stopping GDB.
2801 2015-01-09 Pedro Alves <palves@redhat.com>
2803 * gdb.threads/attach-many-short-lived-threads.c: New file.
2804 * gdb.threads/attach-many-short-lived-threads.exp: New file.
2806 2014-01-09 Pedro Alves <palves@redhat.com>
2808 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
2809 instead of to thread 2.
2810 * gdb.threads/signal-command-multiple-signals-pending.c (main):
2811 Add barrier around each pthread_create call instead of around all
2813 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
2814 Set a break on thread_function and have the child threads hit it
2817 2015-01-09 Pedro Alves <palves@redhat.com>
2819 * lib/gdb.exp (can_spawn_for_attach): New procedure.
2820 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
2822 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
2823 checking whether the target board is remote.
2824 * gdb.multi/multi-attach.exp: Likewise.
2825 * gdb.python/py-sync-interp.exp: Likewise.
2826 * gdb.server/ext-attach.exp: Likewise.
2827 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
2828 tests that need to attach, instead of checking whether the target
2829 board is remote at the top of the file.
2831 2015-01-08 Yao Qi <yao@codesourcery.com>
2833 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
2835 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2837 Fix testcase compilation.
2838 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
2840 2015-01-06 Joel Brobecker <brobecker@adacore.com>
2842 * gdb.python/py-type.exp: Add a couple test about empty
2843 array creation, and negative-length array creation.
2845 2015-01-02 Doug Evans <xdje42@gmail.com>
2847 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
2849 2015-01-02 Doug Evans <dje@google.com>
2851 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
2853 2014-12-29 Yao Qi <yao@codesourcery.com>
2855 * gdb.trace/entry-values.exp: Update comments. Rename variable
2856 bar_call_foo to returned_from_foo.
2858 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
2861 * gdb.linespec/break-asm-file.c: New file.
2862 * gdb.linespec/break-asm-file.exp: New file.
2863 * gdb.linespec/break-asm-file0.s: New file.
2864 * gdb.linespec/break-asm-file1.s: New file.
2866 2014-12-18 Nigel Stephens <nigel@mips.com>
2867 Maciej W. Rozycki <macro@codesourcery.com>
2869 * gdb.base/float.exp: Handle the new output from "info float" on
2872 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2874 Fix MinGW compilation.
2875 * gdb.compile/compile-ops.exp: Update untested message if
2876 !skip_compile_feature_tests.
2877 * gdb.compile/compile-setjmp.exp: Likewise.
2878 * gdb.compile/compile-tls.exp: Likewise.
2879 * gdb.compile/compile.exp: Likewise.
2880 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
2881 supported on this host".
2883 2014-12-16 Doug Evans <xdje42@gmail.com>
2885 * boards/stabs.exp: New file.
2887 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
2889 * gdb.base/completion.exp: Adjust to format changes of "maint
2890 print user-registers".
2892 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
2895 * gdb.arch/aarch64-fp.c: New file.
2896 * gdb.arch/aarch64-fp.exp: New file.
2898 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
2900 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
2901 r210637, r210913, r211666, r215400, r215817).
2903 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
2904 * dg-extract-results.py: New file.
2905 * dg-extract-results.sh: Use it if the environment seems
2908 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
2910 * dg-extract-results.py (parse_run): Handle warnings that
2911 are printed before a test harness is run.
2913 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
2915 * dg-extract-results.py (Named): Remove __cmp__ method.
2916 (output_variation): Use a key to sort variation.harnesses.
2918 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
2920 * dg-extract-results.py: For Python 3, force sys.stdout to
2921 handle surrogate escape sequences.
2922 (safe_open): New function.
2923 (output_segment, main): Use it.
2925 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
2927 * dg-extract-results.py (Prog.result_re): Include options
2930 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
2932 * dg-extract-results.py (output_variation): Always sort if
2935 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
2937 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
2938 as long as we get pagination notifications.
2940 2014-12-15 Jason Merrill <jason@redhat.com>
2942 * Makefile.in (check-gdb.%): Restore.
2943 * README: Mention it.
2945 2014-12-13 Joel Brobecker <brobecker@adacore.com>
2947 * gdb.ada/str_uninit: New testcase.
2949 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2952 * gdb.base/vla-stub-define.c: New file.
2953 * gdb.base/vla-stub.c: New file.
2954 * gdb.base/vla-stub.exp: New file.
2956 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
2957 Jan Kratochvil <jan.kratochvil@redhat.com>
2958 Tom Tromey <tromey@redhat.com>
2960 * configure.ac: Add gdb.compile/.
2961 * configure: Regenerate.
2962 * gdb.compile/Makefile.in: New file.
2963 * gdb.compile/compile-ops.exp: New file.
2964 * gdb.compile/compile-ops.c: New file.
2965 * gdb.compile/compile-tls.c: New file.
2966 * gdb.compile/compile-tls.exp: New file.
2967 * gdb.compile/compile-constvar.S: New file.
2968 * gdb.compile/compile-constvar.c: New file.
2969 * gdb.compile/compile-mod.c: New file.
2970 * gdb.compile/compile-nodebug.c: New file.
2971 * gdb.compile/compile-setjmp-mod.c: New file.
2972 * gdb.compile/compile-setjmp.c: New file.
2973 * gdb.compile/compile-setjmp.exp: New file.
2974 * gdb.compile/compile-shlib.c: New file.
2975 * gdb.compile/compile.c: New file.
2976 * gdb.compile/compile.exp: New file.
2977 * lib/gdb.exp (skip_compile_feature_tests): New proc.
2979 2014-12-12 Tom Tromey <tromey@redhat.com>
2981 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
2982 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
2984 2014-12-12 Doug Evans <dje@google.com>
2986 * lib/gdb-python.exp (get_python_valueof): New function.
2987 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
2989 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2991 * gdb.base/completion.exp: Add test for completion of "info
2994 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
2996 * gdb.base/func-ptrs.c: New file.
2997 * gdb.base/func-ptrs.exp: New file.
2999 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
3001 PR breakpoints/17012
3002 * gdb.base/dprintf-detach.c: New file.
3003 * gdb.base/dprintf-detach.exp: New file.
3005 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
3007 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
3008 * lib/gdb.exp (target_is_gdbserver): New procedure.
3010 2014-12-08 Doug Evans <dje@google.com>
3012 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
3014 2014-12-05 Yao Qi <yao@codesourcery.com>
3016 * gdb.guile/scm-error.exp: Remove the third argument to
3017 gdb_remote_download.
3018 * gdb.guile/scm-frame-args.exp: Likewise.
3019 * gdb.guile/scm-section-script.exp: Likewise.
3021 2014-12-05 Yao Qi <yao@codesourcery.com>
3023 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
3025 2014-12-04 Doug Evans <dje@google.com>
3027 * gdb.python/py-objfile.exp: Add tests for
3028 objfile.add_separate_debug_file.
3030 2014-12-04 Doug Evans <dje@google.com>
3032 * lib/gdb.exp (get_build_id): New function.
3033 (build_id_debug_filename_get): Rewrite to use it.
3034 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
3036 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
3038 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
3039 `method(long)', not just 0x0.
3040 * gdb.cp/nsalias.exp: Align code labels to 4.
3041 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
3042 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
3043 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
3044 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
3045 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
3046 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
3048 2014-12-02 Doug Evans <dje@google.com>
3051 * gdb.cp/anon-ns.cc: Move guts of this file to ...
3052 * gdb.cp/anon-ns2.cc: ... here. New file.
3053 * gdb.cp/anon-ns.exp: Update.
3055 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
3057 * gdb.python/py-events.py (inferior_call_handler): New.
3058 (register_changed_handler, memory_changed_handler): New.
3059 (test_events.invoke): Register new handlers.
3060 * gdb.python/py-events.exp: Add tests for inferior call,
3061 memory_changed and register_changed events.
3063 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3065 * gdb.base/execl-update-breakpoints.exp: Specify the link address
3066 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
3067 if the linker doesn't understand this.
3069 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
3071 * gdb.python/python.exp: Change expected reply to help().
3073 2014-12-01 Yao Qi <yao@codesourcery.com>
3075 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
3076 AC_CONFIG_SUBDIRS(gdb.gdbtk).
3077 * configure: Re-generated.
3079 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
3081 * gdb.cp/chained-calls.cc: New file.
3082 * gdb.cp/chained-calls.exp: New file.
3083 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
3085 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
3087 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
3088 * gdb.dwarf2/symtab-producer.exp: Same.
3089 * gdb.gdb/python-interrupts.exp: Same.
3090 * gdb.gdb/python-selftest.exp: Same.
3091 * gdb.python/py-linetable.exp: Same.
3092 * gdb.python/py-type.exp: Same.
3093 * gdb.python/py-value-cc.exp: Same.
3094 * gdb.python/py-value.exp: Same.
3096 2014-11-28 Yao Qi <yao@codesourcery.com>
3098 * gdb.base/break-probes.exp: Match library name prefixed with
3101 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
3103 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
3104 test expected output. Add parentheses for the call to print.
3105 Remove L suffix from integers.
3107 2014-11-26 Doug Evans <dje@google.com>
3109 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
3111 2014-11-22 Yao Qi <yao@codesourcery.com>
3113 * gdb.trace/entry-values.c: Remove asms.
3114 (foo): Add foo_label.
3115 (bar): Add bar_label.
3116 * gdb.trace/entry-values.exp: Remove code computing foo's
3117 length and bar's length.
3118 (Dwarf::assemble): Invoke function_range for bar and use
3119 MACRO_AT_func for foo.
3121 2014-11-22 Yao Qi <yao@codesourcery.com>
3123 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
3124 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
3125 Use .Lgcc43_procstart instead of gcc43.
3127 2014-11-21 Joel Brobecker <brobecker@adacore.com>
3129 * gdb.ada/n_arr_bound: New testcase.
3131 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
3133 PR breakpoints/10737
3134 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
3135 test_catch_syscall_multi_arch.
3136 (test_catch_syscall_multi_arch): New function.
3138 2014-11-20 Doug Evans <xdje42@gmail.com>
3140 * gdb.base/maint.exp: Update expected output.
3142 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3144 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
3145 4-byte instruction on S390.
3147 2014-11-19 Joel Brobecker <brobecker@adacore.com>
3149 * gdb.ada/arr_arr: New testcase.
3151 2014-11-19 Joel Brobecker <brobecker@adacore.com>
3153 * gdb.ada/pkd_arr_elem: New Testcase.
3155 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
3157 * gdb.reverse/break-precsave: Expect completion message for
3159 * gdb.reverse/consecutive-precsave.exp: Likewise.
3160 * gdb.reverse/finish-precsave.exp: Likewise.
3161 * gdb.reverse/i386-precsave.exp: Likewise.
3162 * gdb.reverse/machinestate-precsave.exp: Likewise.
3163 * gdb.reverse/sigall-precsave.exp: Likewise.
3164 * gdb.reverse/solib-precsave.exp: Likewise.
3165 * gdb.reverse/step-precsave.exp: Likewise.
3166 * gdb.reverse/until-precsave.exp: Likewise.
3167 * gdb.reverse/watch-precsave.exp: Likewise.
3169 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3171 * gdb.base/bp-permanent.c: Include unistd.h.
3172 * gdb.python/py-framefilter-mi.c (main): Add return type.
3173 * gdb.python/py-framefilter.c (main): Likewise.
3174 * gdb.trace/actions-changed.c (main): Likewise.
3176 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3178 * gdb.mi/until.c: Add eye-catchers.
3179 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
3182 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3184 * gdb.base/condbreak.exp: Drop references to removed non-prototype
3185 function header variants in break1.c.
3186 * gdb.base/ena-dis-br.exp: Likewise.
3187 * gdb.base/hbreak2.exp: Likewise.
3188 * gdb.reverse/until-precsave.exp: Drop references to removed
3189 non-prototype function header variants in ur1.c.
3190 * gdb.reverse/until-reverse.exp: Likewise.
3192 2014-11-17 Petr Machata <pmachata@redhat.com>
3194 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
3195 ${_cu_offset_size} bytes abbrev offset.
3197 2014-11-15 Doug Evans <xdje42@gmail.com>
3200 * gdb.base/line-symtabs.exp: New file.
3201 * gdb.base/line-symtabs.c: New file.
3202 * gdb.base/line-symtabs.h: New file.
3204 2014-11-14 Yao Qi <yao@codesourcery.com>
3206 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
3207 (func): Add label func_label.
3208 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
3209 Replace low_pc and high_pc with MACRO_AT_range.
3210 Replace name, low_pc and high_pc with MACRO_AT_func.
3212 2014-11-14 Yao Qi <yao@codesourcery.com>
3214 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
3215 Replace name, low_pc and high_pc with MACRO_AT_func.
3217 2014-11-14 Yao Qi <yao@codesourcery.com>
3219 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
3220 produce debug information.
3221 * gdb.dwarf2/implptr-optimized-out.S: Removed.
3223 2014-11-14 Yao Qi <yao@codesourcery.com>
3225 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
3226 object and get function length.
3227 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
3229 (top-level): Replace gdb_compile and clean_restart with
3230 prepare_for_testing.
3231 * gdb.dwarf2/main.c (main): Add label main_label.
3233 2014-11-14 Yao Qi <yao@codesourcery.com>
3235 * lib/dwarf.exp (function_range): New procedure.
3236 (Dwarf::_handle_macro_at_func): New procedure.
3237 (Dwarf::_handle_macro_at_range): New procedure.
3238 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
3240 2014-11-14 Yao Qi <yao@codesourcery.com>
3242 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
3243 (_handle_attribute): New procedure.
3245 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3247 * gdb.ada/cond_lang/foo.c (callme): Add return type.
3248 * gdb.base/call-sc.c (zed): Likewise.
3249 * gdb.base/checkpoint.c (main): Likewise.
3250 * gdb.base/dump.c (main): Likewise.
3251 * gdb.base/gcore.c (main): Likewise.
3252 * gdb.base/huge.c (main): Likewise.
3253 * gdb.base/multi-forks.c (main): Likewise.
3254 * gdb.base/pr10179-a.c (main): Likewise.
3255 * gdb.base/savedregs.c (main): Likewise.
3256 * gdb.base/sigaltstack.c (main): Likewise.
3257 * gdb.base/siginfo.c (main): Likewise.
3258 * gdb.base/structs.c (zed): Likewise.
3259 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
3260 * gdb.mi/mi-syn-frame.c (main): Likewise.
3261 * gdb.mi/until.c (foo, main): Likewise.
3262 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
3263 * gdb.base/solib-weak.c (foo): Declare.
3264 * gdb.base/attach-twice.c: Include stdio.h.
3265 * gdb.base/weaklib1.c: Likewise.
3266 * gdb.base/weaklib2.c: Likewise.
3267 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
3268 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
3270 * gdb.base/attach-pie-misread.c: Include stdlib.h.
3271 * gdb.mi/mi-exit-code.c: Likewise.
3272 * gdb.base/break-interp-lib.c: Include string.h.
3273 * gdb.base/coremaker.c: Likewise.
3274 * gdb.base/testenv.c: Likewise.
3275 * gdb.python/py-finish-breakpoint.c: Likewise.
3276 * gdb.base/inferior-died.c: Include sys/wait.h.
3277 * gdb.base/fileio.c: Include time.h.
3278 * gdb.base/async-shell.c: Include unistd.h.
3279 * gdb.base/dprintf-non-stop.c: Likewise.
3280 * gdb.base/info-os.c: Likewise.
3281 * gdb.mi/mi-console.c: Likewise.
3282 * gdb.mi/watch-nonstop.c: Likewise.
3283 * gdb.python/py-events.c: Likewise.
3284 * gdb.base/async.c (baz): Move up before its invocation.
3285 * gdb.base/code_elim2.c (my_global_func): Likewise.
3286 * gdb.base/skip-solib-lib.c (multiply): Likewise.
3287 * gdb.base/advance.c (func2): Likewise.
3289 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3291 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
3293 * gdb.base/annota3.c: Likewise.
3294 * gdb.base/async.c: Likewise.
3295 * gdb.base/average.c: Likewise.
3296 * gdb.base/call-ar-st.c: Likewise.
3297 * gdb.base/call-rt-st.c: Likewise.
3298 * gdb.base/call-sc.c: Likewise.
3299 * gdb.base/call-strs.c: Likewise.
3300 * gdb.base/ending-run.c: Likewise.
3301 * gdb.base/execd-prog.c: Likewise.
3302 * gdb.base/exprs.c: Likewise.
3303 * gdb.base/foll-exec.c: Likewise.
3304 * gdb.base/foll-fork.c: Likewise.
3305 * gdb.base/foll-vfork.c: Likewise.
3306 * gdb.base/funcargs.c: Likewise.
3307 * gdb.base/gcore.c: Likewise.
3308 * gdb.base/jump.c: Likewise.
3309 * gdb.base/langs0.c: Likewise.
3310 * gdb.base/langs1.c: Likewise.
3311 * gdb.base/langs2.c: Likewise.
3312 * gdb.base/mips_pro.c: Likewise.
3313 * gdb.base/nodebug.c: Likewise.
3314 * gdb.base/opaque0.c: Likewise.
3315 * gdb.base/opaque1.c: Likewise.
3316 * gdb.base/recurse.c: Likewise.
3317 * gdb.base/run.c: Likewise.
3318 * gdb.base/scope0.c: Likewise.
3319 * gdb.base/scope1.c: Likewise.
3320 * gdb.base/setshow.c: Likewise.
3321 * gdb.base/setvar.c: Likewise.
3322 * gdb.base/shmain.c: Likewise.
3323 * gdb.base/shr1.c: Likewise.
3324 * gdb.base/shr2.c: Likewise.
3325 * gdb.base/sigall.c: Likewise.
3326 * gdb.base/signals.c: Likewise.
3327 * gdb.base/so-indr-cl.c: Likewise.
3328 * gdb.base/solib2.c: Likewise.
3329 * gdb.base/structs.c: Likewise.
3330 * gdb.base/sum.c: Likewise.
3331 * gdb.base/vforked-prog.c: Likewise.
3332 * gdb.base/watchpoint.c: Likewise.
3333 * gdb.reverse/shr2.c: Likewise.
3334 * gdb.reverse/until-reverse.c: Likewise.
3335 * gdb.reverse/ur1.c: Likewise.
3336 * gdb.reverse/watch-reverse.c: Likewise.
3338 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3340 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
3342 * gdb.base/sepdebug.exp: Drop references to removed code.
3344 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3346 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
3347 variant. Preserve original line numbering.
3348 * gdb.base/list1.c: Likewise.
3350 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3352 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
3354 * gdb.base/break1.c: Likewise.
3355 * gdb.base/break.exp: Drop references to removed code.
3357 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3359 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
3362 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3364 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
3366 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3368 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
3369 logic into perform_all_tests() and invoke it with and without
3370 function header prototypes.
3371 (do_function_calls): Remove conditional XFAIL for PR 5318.
3372 (rerun_and_prepare): Remove duplicate code.
3373 (perform_all_tests): New. Main logic moved here.
3375 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3377 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
3378 code guarded by #ifdef NO_PROTOTYPES.
3379 (t_double_many_args): Likewise.
3380 (DEF_FUNC_MANY_ARGS_1): Likewise.
3381 (DEF_FUNC_VALUES_1): Likewise.
3382 (t_structs_ldc): Renamed from t_structs_fc in conditional code
3383 guarded by #ifdef PROTOTYPES.
3385 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3387 * gdb.mi/mi-console.c: Add eye-catcher.
3388 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
3389 instead of literal line number.
3391 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3393 * gdb.base/shr2.c: Add eye-catcher.
3394 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
3397 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3399 * gdb.base/jump.c: Add eye-catchers.
3400 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
3403 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3405 * gdb.base/execd-prog.c: Add eye-catchers.
3406 * gdb.base/foll-exec.c: Likewise.
3407 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
3410 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3412 * gdb.base/ending-run.c: Add eye-catchers.
3413 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
3414 literal line numbers.
3416 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3418 * gdb.base/call-rt-st.c: Add eye-catchers.
3419 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
3420 literal line numbers.
3422 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3424 * gdb.base/call-ar-st.c: Add eye-catchers.
3425 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
3426 literal line numbers.
3428 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3430 * gdb.base/average.c: Add eye-catchers.
3431 * gdb.base/sum.c: Likewise.
3432 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
3433 regexps dynamically.
3435 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3437 * gdb.base/solib1.c: Add eye-catchers.
3438 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
3439 literal line numbers.
3441 2014-11-12 Pedro Alves <palves@redhat.com>
3443 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
3446 2014-11-12 Pedro Alves <palves@redhat.com>
3448 * gdb.arch/i386-bp_permanent.c: New file.
3449 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
3450 (srcfile): Set to i386-bp_permanent.c.
3451 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
3452 that stepi does not execute the 'leave' instruction, instead of
3453 testing it does execute.
3454 * gdb.base/bp-permanent.c: New file.
3455 * gdb.base/bp-permanent.exp: New file.
3457 2014-11-10 Doug Evans <xdje42@gmail.com>
3460 * gdb.base/symtab-search-order.exp: New file.
3461 * gdb.base/symtab-search-order.c: New file.
3462 * gdb.base/symtab-search-order-1.c: New file.
3463 * gdb.base/symtab-search-order-shlib-1.c: New file.
3465 2014-11-07 Pedro Alves <palves@redhat.com>
3468 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
3471 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
3474 * gdb.cp/pr17494.cc: New file.
3475 * gdb.cp/pr17494.exp: New file.
3477 2014-11-02 Yao Qi <yao@codesourcery.com>
3479 * gdb.python/python.exp: Get working directory and match the
3480 output of "set extended-prompt \\w " with it.
3482 2014-10-30 Doug Evans <dje@google.com>
3484 * gdb.python/py-objfile.exp: Add tests for setting random attributes
3486 * gdb.python/py-progspace.exp: Add tests for setting random attributes
3489 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
3491 * gdb.base/fullpath-expand.exp: Skip for a remote host.
3492 * gdb.base/realname-expand.exp: Likewise.
3493 * gdb.linespec/macro-relative.exp: Likewise.
3495 2014-10-29 Pedro Alves <palves@redhat.com>
3498 * gdb.threads/schedlock.c (some_function): New function.
3499 (call_function): New global.
3500 (MAYBE_CALL_SOME_FUNCTION): New macro.
3501 (thread_function): Call it.
3502 * gdb.threads/schedlock.exp (get_args): Add description parameter,
3503 and use it instead of a global counter. Adjust all callers.
3504 (get_current_thread): Use "find current thread" for test message
3505 here rather than having all callers pass down the same string.
3506 (goto_loop): New procedure, factored out from ...
3507 (my_continue): ... this.
3508 (step_ten_loops): Change parameter from test message to command to
3510 (list_count): Delete global.
3511 (check_result): New procedure, factored out from duplicate top
3513 (continue tests): Wrap in with_test_prefix.
3514 (test_step): New procedure, factored out from duplicate top level
3516 (top level): Test "step" in combination with all scheduler-locking
3517 modes. Test "next" in combination with all scheduler-locking
3518 modes, and in combination with stepping over a function call or
3520 * gdb.threads/next-bp-other-thread.c: New file.
3521 * gdb.threads/next-bp-other-thread.exp: New file.
3523 2014-10-29 Pedro Alves <palves@redhat.com>
3526 * gdb.python/python.exp: Test a multi-line command that spawns
3528 * gdb.base/multi-line-starts-subshell.exp: New file.
3530 2014-10-29 Yao Qi <yao@codesourcery.com>
3532 * gdb.base/fileio.exp: Make directories on host.
3534 2014-10-29 Yao Qi <yao@codesourcery.com>
3536 * gdb.base/fileio.c (test_write): Close the file.
3538 2014-10-28 Pedro Alves <palves@redhat.com>
3541 * gdb.base/sigstep.c (no_handler): New global.
3542 (main): If 'no_handler is true, set the signal handlers to
3544 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
3545 with_sw_watch and no_handler parameters. Handle them.
3546 (top level) <stepping over handler when stopped at a breakpoint
3547 test>: Add a test axis for testing with a software watchpoint, and
3548 another for testing with the signal handler set to SIG_IGN.
3549 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
3550 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
3552 2014-10-28 Pedro Alves <palves@redhat.com>
3555 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
3556 * gdb.base/sigstep.exp (other_handler_location): New global.
3557 (advance): Support stepping into the signal handler, and running
3558 commands while in the handler.
3559 (in_handler_map): New global.
3560 (top level): In the advance test, add combinations for getting
3561 into the handler with stepping commands, and for running commands
3562 in the handler. Add comment descripting the advancei tests.
3564 2014-10-28 Pedro Alves <palves@redhat.com>
3566 * gdb.base/sigstep.exp: Use build_executable instead of
3567 prepare_for_testing.
3568 (top level): Move code that starts GDB, runs to main and creates a
3570 (restart): ... this new procedure.
3571 (top level): Move backtrace from signal handler test to ...
3572 (validate_backtrace): ... this new procedure.
3573 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
3574 with_test_prefix. Always restart GDB.
3575 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
3576 with_test_prefix. Always restart GDB. No need to delete
3577 breakpoints after the test.
3578 (test_skip_handler): Remove prefix parameter.
3579 (skip_over_handler, breakpoint_to_handler)
3580 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
3581 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
3582 restart GDB. No need to delete breakpoints after the test.
3583 (top level): Use foreach to call the test procedures with
3586 2014-10-28 Pedro Alves <palves@redhat.com>
3588 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
3589 instead of GNATS numbers.
3590 * gdb.base/sigbpt.exp: Likewise.
3591 * gdb.base/siginfo.exp: Likewise.
3592 * gdb.base/sigstep.exp: Likewise.
3594 2014-10-27 Pedro Alves <palves@redhat.com>
3596 * gdb.base/sigstep.c (dummy): New global.
3597 (main): Issue a couple writes to the new global.
3598 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
3600 (skip_over_handler): Use test_skip_handler.
3601 (top level): Call skip_over_handler for stepi and nexti too.
3602 (breakpoint_over_handler): Use test_skip_handler.
3603 (top level): Call breakpoint_over_handler for stepi and nexti too.
3605 2014-10-27 Yao Qi <yao@codesourcery.com>
3607 * gdb.trace/tfile.c (adjust_function_address)
3608 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
3609 function descriptor.
3611 2014-10-24 Don Breazeal <donb@codesourcery.com>
3613 * gdb.base/foll-fork.exp (test_follow_fork,
3614 catch_fork_child_follow): Check for updated fork messages emitted
3616 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
3617 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
3618 vfork_and_exec_child_follow_through_step): Check for updated vfork
3619 messages emitted from infrun.c.
3621 2014-10-24 Pedro Alves <palves@redhat.com>
3623 * gdb.base/corefile.exp: Remove references to ultrix.
3624 * gdb.base/interrupt.exp: Likewise.
3625 * gdb.base/whatis.exp: Likewise.
3626 * gdb.gdb/selftest.exp: Likewise.
3627 * gdb.threads/manythreads.exp: Likewise.
3628 * gdb.threads/print-threads.exp: Likewise.
3629 * gdb.threads/pthreads.exp:: Likewise.
3630 * gdb.threads/schedlock.exp: Likewise.
3632 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
3634 * gdb.cp/non-trivial-retval.cc: Add a test case.
3635 * gdb.cp/non-trivial-retval.exp: Add a test.
3637 2014-10-20 Yao Qi <yao@codesourcery.com>
3639 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
3640 * gdb.python/py-objfile-script-gdb.py: New file.
3641 * gdb.python/py-objfile-script.exp: Update reference to
3642 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
3643 of remote_download. Remove the dest file.
3645 2014-10-20 Yao Qi <yao@codesourcery.com>
3647 * gdb.base/checkpoint.exp: Don't remove file copied on host.
3648 * gdb.base/step-line.exp: Likewise.
3649 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3650 * gdb.dwarf2/dw2-basic.exp: Likewise.
3651 * gdb.dwarf2/dw2-compressed.exp: Likewise.
3652 * gdb.dwarf2/dw2-filename.exp: Likewise.
3653 * gdb.dwarf2/dw2-intercu.exp: Likewise.
3654 * gdb.dwarf2/dw2-intermix.exp: Likewise.
3655 * gdb.dwarf2/dw2-producer.exp: Likewise.
3656 * gdb.dwarf2/mac-fileno.exp: Likewise.
3657 * gdb.python/py-frame-args.exp: Likewise.
3658 * gdb.python/py-framefilter.exp: Likewise.
3659 * gdb.python/py-mi.exp: Likewise.
3660 * gdb.python/py-objfile-script.exp: Likewise
3661 * gdb.python/py-pp-integral.exp: Likewise.
3662 * gdb.python/py-pp-re-notag.exp: Likewise.
3663 * gdb.python/py-prettyprint.exp: Likewise.
3664 * gdb.python/py-section-script.exp: Likewise.
3665 * gdb.python/py-typeprint.exp: Likewise.
3666 * gdb.python/py-xmethods.exp: Likewise.
3667 * gdb.stabs/weird.exp: Likewise.
3668 * gdb.xml/tdesc-regs.exp: Likewise.
3670 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
3672 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
3673 (out_cu): Use addr_len for the size of addresses.
3674 (out_line): Likewise. Size DW_LNE_set_address instruction
3675 according to addr_len.
3676 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
3677 (FUNC): Add START_INSNS to definition.
3679 2014-10-18 Yao Qi <yao@codesourcery.com>
3681 * gdb.base/argv0-symlink.exp: Check argv[0] value if
3682 gdb_has_argv0 return true.
3683 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
3684 check [target_info exists noargs], check [gdb_has_argv0]
3686 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3687 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
3690 2014-10-17 Doug Evans <dje@google.com>
3692 * gdb.python/py-events.exp: Update expected output for clear_objfiles
3694 * gdb.python/py-events.py: Add clear_objfiles event.
3696 2014-10-17 Doug Evans <dje@google.com>
3698 * gdb.python/py-objfile.exp: Test progspace attribute.
3700 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
3702 * gdb.guile/scm-breakpoint.exp: Do not assume any
3703 directory separators when matching source file paths.
3704 * gdb.python/py-breakpoint.exp: Likewise.
3705 * gdb.reverse/break-precsave.exp: Likewise.
3706 * gdb.reverse/break-reverse.exp: Likewise.
3707 * gdb.reverse/consecutive-precsave.exp: Likewise.
3708 * gdb.reverse/finish-precsave.exp: Likewise.
3709 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
3710 * gdb.reverse/finish-reverse.exp: Likewise.
3711 * gdb.reverse/i386-precsave.exp: Likewise.
3712 * gdb.reverse/i387-env-reverse.exp: Likewise.
3713 * gdb.reverse/i387-stack-reverse.exp: Likewise.
3714 * gdb.reverse/machinestate-precsave.exp: Likewise.
3715 * gdb.reverse/machinestate.exp: Likewise.
3716 * gdb.reverse/sigall-precsave.exp: Likewise.
3717 * gdb.reverse/solib-precsave.exp: Likewise.
3718 * gdb.reverse/step-precsave.exp: Likewise.
3719 * gdb.reverse/until-precsave.exp: Likewise.
3720 * gdb.reverse/watch-precsave.exp: Likewise.
3721 * gdb.reverse/watch-reverse.exp: Likewise.
3723 2014-10-17 Yao Qi <yao@codesourcery.com>
3725 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
3726 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
3728 2014-10-17 Pedro Alves <palves@redhat.com>
3731 * gdb.base/bg-execution-repeat.c: New file.
3732 * gdb.base/bg-execution-repeat.exp: New file.
3734 2014-10-17 Pedro Alves <palves@redhat.com>
3737 * gdb.base/continue-all-already-running.c: New file.
3738 * gdb.base/continue-all-already-running.exp: New file.
3740 2014-10-17 Pedro Alves <palves@redhat.com>
3743 * gdb.base/annota-input-while-running.c: New file.
3744 * gdb.base/annota-input-while-running.exp: New file.
3746 2014-10-17 Pedro Alves <palves@redhat.com>
3748 * gdb.base/callfuncs.exp: emove references to osf.
3749 * gdb.base/sigall.exp: Likewise.
3750 * gdb.gdb/selftest.exp: Likewise.
3751 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
3752 * gdb.mi/non-stop.c: Likewise.
3753 * gdb.mi/pthreads.c: Likewise.
3754 * gdb.reverse/sigall-precsave.exp: Likewise.
3755 * gdb.reverse/sigall-reverse.exp: Likewise.
3756 * gdb.threads/pthreads.c: Likewise.
3757 * gdb.threads/pthreads.exp: Likewise.
3759 2014-10-17 Yao Qi <yao@codesourcery.com>
3761 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
3762 check 'target_info exists noargs'.
3763 (test_command_prompt_position): Likewise.
3764 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
3766 (progvar_simple_while_test): Likewise.
3767 (progvar_complex_if_while_test): Likewise.
3768 (if_while_breakpoint_command_test): Likewise.
3769 (infrun_breakpoint_command_test): Likewise.
3770 (breakpoint_command_test): Likewise.
3771 (watchpoint_command_test): Likewise.
3772 (bp_deleted_in_command_test): Likewise.
3773 (temporary_breakpoint_commands): Likewise.
3775 2014-10-16 Yao Qi <yao@codesourcery.com>
3777 * gdb.base/remotetimeout.exp: Remove noargs checking.
3779 2014-10-15 Pedro Alves <palves@redhat.com>
3782 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
3783 * gdb.base/breakpoint-in-ro-region.exp
3784 (probe_target_hardware_step): New procedure.
3785 (top level): Probe hardware stepping and hardware breakpoint
3786 support. Test stepping through a read-only region, with both
3787 "breakpoint auto-hw" on and off and both "always-inserted" on and
3790 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
3792 * gdb.dlang/demangle.exp: Update for demangling changes.
3794 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3796 * gdb.cp/non-trivial-retval.cc: Add new test cases.
3797 * gdb.cp/non-trivial-retval.exp: Add new tests.
3799 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3803 * gdb.cp/non-trivial-retval.cc: New file.
3804 * gdb.cp/non-trivial-retval.exp: New file.
3806 2014-10-15 Yao Qi <yao@codesourcery.com>
3808 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
3811 2014-10-15 Yao Qi <yao@codesourcery.com>
3813 * gdb.python/py-symbol.exp: Match file base name if host is
3814 remote, otherwise match file name with dir name.
3815 * gdb.python/py-symtab.exp: Likewise.
3816 * gdb.python/python.exp: Likewise.
3818 2014-10-15 Yao Qi <yao@codesourcery.com>
3820 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
3822 * gdb.python/py-symtab.exp: Likewise.
3823 * gdb.python/python.exp: Remove trailing ".*". Fix typo
3826 2014-10-14 Joel Brobecker <brobecker@adacore.com>
3828 * gdb.ada/addr_arith: New testcase.
3830 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
3832 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
3833 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
3834 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
3835 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
3837 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
3839 * gdb.arch/stap-eval-lang-ada.S: Likewise.
3840 * gdb.arch/stap-eval-lang-ada.c: Likewise.
3841 * gdb.arch/stap-eval-lang-ada.exp: New file.
3843 2014-10-14 Yao Qi <yao@codesourcery.com>
3845 * gdb.mi/mi-var-child.c (nothing1): New function.
3846 (nothing2): New function.
3847 (do_children_tests): Set function pointers by nothing1 and
3849 * gdb.mi/mi-var-child.exp: Step over new added statements.
3850 Update test to match the new output.
3851 * gdb.mi/var-cmd.c (nothing1): New function.
3852 (nothing2): New function.
3853 (do_children_tests): Set function pointers by nothing1 and
3855 * gdb.mi/mi-var-display.exp: Update test to match output.
3856 Step to the line specified by $line_dct_nothing.
3857 Increase the number of lines to step.
3859 2014-10-14 Yao Qi <yao@codesourcery.com>
3861 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
3863 * gdb.mi/mi2-var-child.exp: Likewise.
3865 2014-10-13 Doug Evans <dje@google.com>
3867 * gdb.python/py-objfile.exp: Change name of file name test.
3869 2014-10-13 Doug Evans <dje@google.com>
3871 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
3872 from the start of the CU.
3874 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3875 Yao Qi <yao@codesourcery.com>
3877 Fix "save breakpoints" for "catch" command.
3878 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
3879 Remove -nonewline. Match also the added "main" line.
3881 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3883 Fix "save breakpoints" for "disable $bpnum" command.
3884 * gdb.base/save-bp.c (main): Add label.
3885 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
3887 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3889 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
3891 2014-10-11 Yao Qi <yao@codesourcery.com>
3893 * gdb.server/server-kill.exp: Execute command
3894 "set remote trace-status-packet on" before "tstatus".
3896 2014-10-11 Yao Qi <yao@codesourcery.com>
3898 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
3899 (main): Call getppid.
3900 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
3901 and continue to it. Read variable "server_pid".
3903 2014-10-11 Yao Qi <yao@codesourcery.com>
3905 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
3907 2014-10-11 Yao Qi <yao@codesourcery.com>
3909 * gdb.threads/thread-find.exp: Don't execute command
3911 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
3912 * gdb.threads/linux-dp.exp: Don't check the condition
3913 $threads_created equals to zero.
3915 2014-10-10 Pedro Alves <palves@redhat.com>
3917 * gdb.base/bigcore.exp: Remove references to IRIX.
3918 * gdb.base/funcargs.exp: Likewise.
3919 * gdb.base/interrupt.exp: Likewise.
3920 * gdb.base/mips_pro.exp: Likewise.
3921 * gdb.base/nodebug.exp: Likewise.
3922 * gdb.base/setvar.exp: Likewise.
3923 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
3925 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3926 Pedro Alves <palves@redhat.com>
3929 * gdb.base/vdso-warning.c: New file.
3930 * gdb.base/vdso-warning.exp: New file.
3932 2014-10-02 Doug Evans <dje@google.com>
3934 * gdb.base/structs.c (main): Don't run forever.
3936 2014-10-02 Pedro Alves <palves@redhat.com>
3938 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
3939 (top level) <stop threads 1, stop threads 2>: Use it.
3941 2014-10-02 Pedro Alves <palves@redhat.com>
3943 * gdb.threads/break-while-running.exp (test): Add new
3944 'update_thread_list' argument. Skip "info threads" if false.
3945 (top level): Add new 'update_thread_list' axis.
3947 2014-10-02 Pedro Alves <palves@redhat.com>
3949 PR breakpoints/17431
3950 * gdb.base/execl-update-breakpoints.c: New file.
3951 * gdb.base/execl-update-breakpoints.exp: New file.
3953 2014-10-01 Pedro Alves <palves@redhat.com>
3955 * gdb.base/breakpoint-in-ro-region.c: New file.
3956 * gdb.base/breakpoint-in-ro-region.exp: New file.
3958 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
3960 * gdb.mi/mi-exit-code.exp: New file.
3961 * gdb.mi/mi-exit-code.c: New file.
3963 2014-09-30 Yao Qi <yao@codesourcery.com>
3965 * lib/prelink-support.exp (build_executable_own_libs): Error if
3966 the target isn't native.
3968 2014-09-30 Yao Qi <yao@codesourcery.com>
3970 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
3973 2014-09-22 Pedro Alves <palves@redhat.com>
3975 * gdb.threads/break-while-running.exp: New file.
3976 * gdb.threads/break-while-running.c: New file.
3978 2014-09-19 Yao Qi <yao@codesourcery.com>
3980 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
3981 Invoke test. Restart GDB with --readnow and invoke test again.
3983 2014-09-19 Yao Qi <yao@codesourcery.com>
3985 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
3986 proc set_breakpoint_on_gcd_function. Invoke
3987 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
3988 invoke set_breakpoint_on_gcd_function again.
3990 2014-09-18 Doug Evans <dje@google.com>
3992 * gdb.dwarf2/symtab-producer.exp: New file.
3994 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3996 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
3997 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
3998 * gdb.base/global-var-nested-by-dso.c: Likewise.
3999 * gdb.base/global-var-nested-by-dso.exp: Likewise.
4001 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
4002 Pedro Alves <palves@redhat.com>
4004 * gdb.base/watch-bitfields.exp: Pass string other than test file
4005 name to prepare_for_testing.
4006 (watch): New procedure.
4007 (expect_watchpoint): Use with_test_prefix.
4008 (top level): Factor out tests to ...
4009 (test_watch_location, test_regular_watch): ... these new
4010 procedures, and use with_test_prefix and gdb_continue_to_end.
4012 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
4014 PR breakpoints/12526
4015 * gdb.base/watch-bitfields.exp: New file.
4016 * gdb.base/watch-bitfields.c: New file.
4018 2014-09-16 Pedro Alves <palves@redhat.com>
4020 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
4021 software and hardware addresses, not software address against
4024 2014-09-16 Pedro Alves <palves@redhat.com>
4026 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
4027 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
4029 2014-09-16 Pedro Alves <palves@redhat.com>
4031 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
4033 * gdb.base/a2-run.exp: Remove all code guarded by istarget
4034 "*-*-vxworks*" throughout.
4035 * gdb.base/break.exp: Likewise.
4036 * gdb.base/default.exp: Likewise.
4037 * gdb.base/scope.exp: Likewise.
4038 * gdb.base/sepdebug.exp: Likewise.
4039 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
4041 * gdb.base/run.c: Likewise.
4042 * gdb.base/sepdebug.c: Likewise.
4043 * gdb.hp/gdb.aCC/run.c: Likewise.
4044 * gdb.reverse/until-reverse.c: Likewise.
4045 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
4047 2014-09-16 Yao Qi <yao@codesourcery.com>
4049 * boards/local-remote-host-native.exp: New file.
4051 2014-09-14 Doug Evans <xdje42@gmail.com>
4053 * gdb.threads/queue-signal.c (thread_count): New variable.
4054 (thread_count_mutex, thread_count_condvar): New variables.
4055 (incr_thread_count, wait_all_threads_running): New functions.
4056 (main): Wait for all threads to be in their thread functions.
4058 2014-09-13 Doug Evans <xdje42@gmail.com>
4060 * gdb.threads/queue-signal.c: New file.
4061 * gdb.threads/queue-signal.exp: New file.
4063 2014-09-13 Doug Evans <xdje42@gmail.com>
4065 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
4066 be consistent with what default_gdb_init uses.
4067 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
4068 the plain text of the prompt. Add some logging printfs.
4069 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
4071 2014-09-12 Pedro Alves <palves@redhat.com>
4073 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
4074 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
4075 * gdb.arch/i386-size-overlap.exp: Likewise.
4076 * gdb.arch/i386-size.exp: Likewise.
4077 * gdb.arch/i386-unwind.exp: Likewise.
4078 * gdb.base/a2-run.exp: Likewise.
4079 * gdb.base/break.exp: Likewise.
4080 * gdb.base/charset.exp: Likewise.
4081 * gdb.base/chng-syms.exp: Likewise.
4082 * gdb.base/commands.exp: Likewise.
4083 * gdb.base/dbx.exp: Likewise.
4084 * gdb.base/find.exp: Likewise.
4085 * gdb.base/funcargs.exp: Likewise.
4086 * gdb.base/jit-simple.exp: Likewise.
4087 * gdb.base/reread.exp: Likewise.
4088 * gdb.base/sepdebug.exp: Likewise.
4089 * gdb.base/step-bt.exp: Likewise.
4090 * gdb.cp/mb-inline.exp: Likewise.
4091 * gdb.cp/mb-templates.exp: Likewise.
4092 * gdb.objc/basicclass.exp: Likewise.
4093 * gdb.threads/killed.exp: Likewise.
4095 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4098 * gdb.arch/powerpc-stackless.S: New file.
4099 * gdb.arch/powerpc-stackless.exp: New file.
4101 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4103 * gdb.base/attach.c: Include unistd.h.
4104 (main): Call alarm. Add label postloop.
4105 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
4106 gdb_breakpoint, gdb_continue_to_breakpoint.
4107 (test_command_line_attach_run): Kill ${testpid} in one exit path.
4109 2014-09-11 Pedro Alves <palves@redhat.com>
4112 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
4113 * gdb.base/attach.exp (test_command_line_attach_run): New
4115 (top level): Call it.
4117 2014-09-11 Pedro Alves <palves@redhat.com>
4119 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
4120 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
4121 (do_command_attach_tests): Use spawn_wait_for_attach.
4122 * gdb.base/solib-overlap.exp: Likewise.
4123 * gdb.multi/multi-attach.exp: Likewise.
4124 * gdb.python/py-prompt.exp: Likewise.
4125 * gdb.python/py-sync-interp.exp: Likewise.
4126 * gdb.server/ext-attach.exp: Likewise.
4128 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
4130 * gdb.fortran/array-element.exp: Remove unexpected "continue"
4131 command in testcase. Simplify testcase.
4133 2014-09-10 Joel Brobecker <brobecker@adacore.com>
4135 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
4137 2014-09-10 Joel Brobecker <brobecker@adacore.com>
4139 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
4141 2014-09-10 Joel Brobecker <brobecker@adacore.com>
4143 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
4145 2014-09-10 Joel Brobecker <brobecker@adacore.com>
4147 * gdb.dwarf2/dynarr-ptr.c: New file.
4148 * gdb.dwarf2/dynarr-ptr.exp: New file.
4150 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4152 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
4153 of 30 rather than hardcoding 120 for a slow test case. Take the
4154 `gdb,timeout' target setting into account for this calculation.
4155 Don't extend the timeout for the test cases that don't need it.
4157 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4159 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
4160 a factor of 2 for a slow test case. Take the `gdb,timeout'
4161 target setting into account for this calculation.
4162 * gdb.reverse/until-precsave.exp: Increase the timeout by
4163 a factor of 15 and 3 respectively rather than adding 120
4164 for a pair of slow test cases. Take the `gdb,timeout'
4165 target setting into account for this calculation.
4167 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4169 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
4170 timeout, don't pass one down to gdb_expect.
4171 (gdb_expect): Rework timeout selection.
4173 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4175 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
4176 exception on timeout.
4177 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
4178 (gdbserver_start_extended): Catch any `gdbserver_start' error
4180 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
4181 * lib/mi-support.exp (mi_gdb_target_load): Catch any
4182 `gdbserver_gdb_load' error exceptions.
4184 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4186 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
4187 120 on waiting for the TCP socket to open.
4189 2014-09-09 Doug Evans <xdje42@gmail.com>
4191 * gdb.base/default.exp (show_conv_list): Add _caller_is,
4192 _caller_matches, _any_caller_is, _any_caller_matches.
4194 2014-09-09 Doug Evans <xdje42@gmail.com>
4196 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
4198 2014-09-09 Yao Qi <yao@codesourcery.com>
4200 * gdb.mi/mi-var-display.exp: Set print symbol off.
4202 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
4205 * gdb.base/commands.exp: Add tests to verify user-defined
4206 commands with empty bodies.
4207 * gdb.python/py-cmd.exp: Test that we don't show user-defined
4208 python commands in `show user command`.
4209 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
4210 scheme commands in `show user command`.
4212 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4215 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
4216 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
4217 * gdb.python/py-framefilter-invalidarg.exp: New file.
4218 * gdb.python/py-framefilter-invalidarg.py: New file.
4220 2014-09-06 Doug Evans <xdje42@gmail.com>
4223 * gdb.python/py-caller-is.c: New file.
4224 * gdb.python/py-caller-is.exp: New file.
4226 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
4229 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
4230 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
4232 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
4235 * gdb.fortran/print-formatted.exp: New file.
4236 * gdb.fortran/print-formatted.f90: Likewise.
4238 2014-09-03 Sasha Smundak <asmundak@google.com>
4240 * gdb.python/py-frame.exp: Test Frame.read_register.
4242 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
4245 * gdb.python/py-completion.exp: New file.
4246 * gdb.python/py-completion.py: Likewise.
4248 2014-08-28 Doug Evans <dje@google.com>
4250 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
4251 eax,etc. are live with values set by gdb and thus the compiler can't
4253 * gdb.arch/i386-pseudo.c (main): Ditto.
4255 2014-08-27 Doug Evans <dje@google.com>
4257 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
4259 2014-08-25 Doug Evans <dje@google.com>
4261 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
4264 2014-08-25 Doug Evans <dje@google.com>
4266 * gdb.threads/thread-execl.exp: #include <stdio.h>.
4268 2014-08-24 Yao Qi <yao@codesourcery.com>
4270 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
4272 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
4274 2014-08-22 Doug Evans <dje@google.com>
4277 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
4278 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
4279 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
4281 2014-08-22 Yao Qi <yao@codesourcery.com>
4283 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
4284 * gdb.python/py-finish-breakpoint2.exp: Likewise.
4285 * gdb.python/python.exp: Likewise. Use .py file on the host
4286 instead of the build.
4288 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4290 * gdb.threads/gcore-stale-thread.c: New file.
4291 * gdb.threads/gcore-stale-thread.exp: New file.
4293 2014-08-21 Pedro Alves <palves@redhat.com>
4295 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
4296 * gdb.base/gcore-relro-pie.exp: Likewise.
4297 * gdb.base/gcore-relro.exp: Likewise.
4298 * gdb.base/gcore.exp: Likewise.
4299 * gdb.base/print-symbol-loading.exp: Likewise.
4300 * gdb.threads/gcore-thread.exp: Likewise.
4301 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
4303 2014-08-20 Pedro Alves <palves@redhat.com>
4304 Jan Kratochvil <jan.kratochvil@redhat.com>
4306 * Makefile.in (EXTRA_RULES, CC): New variables, get from
4308 (EXPECT): Handle READ1 being set.
4309 (all): Depend on EXTRA_RULES.
4310 (check-read1, expect-read1, read1.so, read1): New rules.
4311 * README (Testsuite Parameters): Document the READ1 make variable.
4312 (Race detection): New section.
4313 * configure: Regenerate.
4314 * configure.ac: If build==host==target, and running under a
4315 GNU/glibc system, add read1 to the extra Makefile rules.
4316 (EXTRA_RULES): AC_SUBST it.
4317 * lib/read1.c: New file.
4319 2014-08-20 Joel Brobecker <brobecker@adacore.com>
4321 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
4322 the handling of variables declared as a typedef to an array
4323 which a DW_AT_data_location attribute.
4325 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
4326 Pedro Alves <palves@redhat.com>
4330 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
4333 2014-08-19 Pedro Alves <palves@redhat.com>
4335 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
4337 2014-08-19 Yao Qi <yao@codesourcery.com>
4339 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
4342 2014-08-18 David Blaikie <dblaikie@gmail.com>
4344 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
4346 2014-08-18 Joel Brobecker <brobecker@adacore.com>
4348 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
4349 attribute in array range.
4351 2014-08-18 Joel Brobecker <brobecker@adacore.com>
4353 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
4355 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
4358 * gdb.cp/pr17132.cc: New file.
4359 * gdb.cp/pr17132.exp: New file.
4361 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
4363 * gdb.python/py-xmethods.py (A_getarrayind)
4364 (E_method_char_worker.__call__, E_method_int_worker.__call__):
4365 Use 'print' with function call syntax.
4366 (E_method_matcher.match): Fix tab vs space indentation mixup.
4368 2014-08-15 Yao Qi <yao@codesourcery.com>
4370 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
4373 2014-08-15 Yao Qi <yao@codesourcery.com>
4375 * gdb.cp/casts.exp: Set print symbol off.
4376 * gdb.cp/class2.exp: Likewise.
4377 * gdb.cp/overload.exp: Likewise.
4378 * gdb.cp/templates.exp: Likewise.
4380 2014-08-11 Doug Evans <dje@google.com>
4382 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
4383 (test_load_shlib): Update.
4385 2014-08-09 Yao Qi <yao@codesourcery.com>
4387 * gdb.base/display.exp: Invoke is_address_zero_readable.
4388 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
4389 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4390 * gdb.base/hbreak-unmapped.exp: Return if
4391 is_address_zero_readable returns true.
4392 * gdb.base/signest.exp: Likewise.
4393 * gdb.base/signull.exp: Likewise.
4394 * gdb.base/sigbpt.exp: Likewise.
4395 * gdb.guile/scm-disasm.exp: Do the test if
4396 is_address_zero_readable returns false.
4397 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
4398 * gdb.python/py-arch.exp: Likewise.
4399 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
4400 * lib/gdb.exp (is_address_zero_readable): New proc.
4402 2014-08-09 Yao Qi <yao@codesourcery.com>
4405 * gdb.mi/mi-var-display.exp: Make test messages unique.
4407 2014-08-04 Tom Tromey <tromey@redhat.com>
4409 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
4412 2014-08-04 Tom Tromey <tromey@redhat.com>
4414 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
4417 2014-08-01 Joel Brobecker <brobecker@adacore.com>
4419 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
4420 inner_vla_struct_object_size.
4421 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
4424 2014-07-30 Pedro Alves <palves@redhat.com>
4426 * gdb.threads/signal-command-handle-nopass.exp (test): Add
4429 2014-07-29 Yao Qi <yao@codesourcery.com>
4432 * gdb.base/until-nodebug.exp: New.
4434 2014-07-28 Doug Evans <xdje42@gmail.com>
4437 * gdb.guile/scm-parameter.exp: Add tests for trying to create
4438 previously existing parameter, and previously ambiguously spelled
4441 2014-07-28 Will Newton <will.newton@linaro.org>
4443 * gdb.base/varargs.exp: Remove KFAILs for ARM.
4445 2014-07-26 Ludovic Courtès <ludo@gnu.org>
4446 Doug Evans <xdje42@gmail.com>
4449 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
4451 2014-07-25 Pedro Alves <palves@redhat.com>
4453 * gdb.threads/signal-command-handle-nopass.c: New file.
4454 * gdb.threads/signal-command-handle-nopass.exp: New file.
4455 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
4456 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
4457 * gdb.threads/signal-delivered-right-thread.c: New file.
4458 * gdb.threads/signal-delivered-right-thread.exp: New file.
4460 2014-07-25 Pedro Alves <palves@redhat.com>
4462 * gdb.base/double-prompt-target-event-error.exp
4463 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
4465 (cancel_pagination_in_target_event): Rework double prompt
4467 * gdb.base/paginate-after-ctrl-c-running.exp
4468 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
4470 * gdb.base/paginate-bg-execution.exp
4471 (test_bg_execution_pagination_return)
4472 (test_bg_execution_pagination_cancel): Remove '-notransfer
4474 * gdb.base/paginate-execution-startup.exp
4475 (test_fg_execution_pagination_return)
4476 (test_fg_execution_pagination_cancel): Remove '-notransfer
4478 * gdb.base/paginate-inferior-exit.exp
4479 (test_paginate_inferior_exited): Remove '-notransfer <return>'
4481 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
4482 * lib/gdb.exp (pagination_prompt): Run text through
4484 (gdb_test_multiple): Match $pagination_prompt instead of
4486 (string_to_regexp): Move to lib/gdb-utils.exp.
4488 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4490 * gdb.arch/amd64-entry-value-paramref.S: New file.
4491 * gdb.arch/amd64-entry-value-paramref.cc: New file.
4492 * gdb.arch/amd64-entry-value-paramref.exp: New file.
4493 * gdb.arch/amd64-optimout-repeat.S: New file.
4494 * gdb.arch/amd64-optimout-repeat.c: New file.
4495 * gdb.arch/amd64-optimout-repeat.exp: New file.
4497 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4500 * gdb.base/statistics.exp: New file.
4502 2014-07-17 Doug Evans <dje@google.com>
4505 * gdb.base/maint.exp: Update testing of per-command stats.
4507 2014-07-16 Pedro Alves <palves@redhat.com>
4509 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
4510 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
4511 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
4512 (tfile_write_buf): New functions.
4513 (add_memory_block): Rewrite using the above.
4514 (adjust_function_address): New function.
4515 (FUNCTION_ADDRESS): New macro.
4516 (write_basic_trace_file): Remove short_x local, and use
4517 tfile_write_16. Change type of func_addr local to unsigned long
4518 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
4519 here. Cast argument of add_memory_block to char pointer.
4520 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
4521 (main): Remove parameters.
4522 * gdb.trace/tfile.exp: Remove nowarnings.
4524 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
4526 * gdb.base/debug-expr.exp: Test string evaluation with
4527 "debug expression" on.
4529 2014-07-15 Pedro Alves <palves@redhat.com>
4531 * gdb.base/reread.exp: Use clean_restart.
4533 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
4535 * gdb.arch/avr-flash-qualifer.c: New.
4536 * gdb.arch/avr-flash-qualifer.exp: New.
4538 2014-07-14 Pedro Alves <palves@redhat.com>
4540 * gdb.base/paginate-after-ctrl-c-running.c: New file.
4541 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
4543 2014-07-14 Pedro Alves <palves@redhat.com>
4545 * gdb.base/double-prompt-target-event-error.c: New file.
4546 * gdb.base/double-prompt-target-event-error.exp: New file.
4548 2014-07-14 Pedro Alves <palves@redhat.com>
4551 * gdb.base/paginate-inferior-exit.c: New file.
4552 * gdb.base/paginate-inferior-exit.exp: New file.
4554 2014-07-14 Pedro Alves <palves@redhat.com>
4557 * gdb.base/paginate-bg-execution.c: New file.
4558 * gdb.base/paginate-bg-execution.exp: New file.
4560 2014-07-14 Pedro Alves <palves@redhat.com>
4563 * gdb.base/paginate-execution-startup.c: New file.
4564 * gdb.base/paginate-execution-startup.exp: New file.
4565 * lib/gdb.exp (pagination_prompt): New global.
4566 (default_gdb_spawn): New procedure, factored out from
4568 (default_gdb_start): Adjust to call default_gdb_spawn.
4569 (gdb_spawn): New procedure.
4571 2014-07-14 Pedro Alves <palves@redhat.com>
4573 * lib/gdb.exp (gdb_assert): New procedure.
4574 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
4576 2014-07-14 Pedro Alves <palves@redhat.com>
4578 * gdb.base/execution-termios.c: New file.
4579 * gdb.base/execution-termios.exp: New file.
4581 2014-07-14 Tom Tromey <tromey@redhat.com>
4583 * gdb.cp/vla-cxx.cc: New file.
4584 * gdb.cp/vla-cxx.exp: New file.
4586 2014-07-14 Tom Tromey <tromey@redhat.com>
4588 * gdb.reverse/rerun-prec.c: New file.
4589 * gdb.reverse/rerun-prec.exp: New file.
4591 2014-07-12 Maciej W. Rozycki <macro@mips.com>
4592 Maciej W. Rozycki <macro@codesourcery.com>
4594 * lib/gdb-utils.exp: New file.
4595 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
4596 inline `gdb_init_command' processing.
4597 (gdb_start_cmd): Likewise.
4598 * lib/mi-support.exp (mi_run_cmd): Likewise.
4599 * README: Document `gdb_init_command' and `gdb_init_commands'.
4601 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4603 Fix false FAIL running under a very long directory name.
4604 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
4605 and "set print elements 10000". Twice.
4607 2014-07-11 Yao Qi <yao@codesourcery.com>
4609 * gdb.base/exprs.exp: "set print symbol off".
4611 2014-07-11 Pedro Alves <palves@redhat.com>
4613 * gdb.threads/kill.c: New file.
4614 * gdb.threads/kill.exp: New file.
4616 2014-07-10 Yao Qi <yao@codesourcery.com>
4618 * gdb.trace/tfile.c (write_basic_trace_file)
4619 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
4620 address written to trace file.
4622 2014-07-09 Pedro Alves <palves@redhat.com>
4624 * gdb.base/attach-wait-input.exp: New file.
4625 * gdb.base/attach-wait-input.c: New file.
4627 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4629 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
4630 setting up test structures.
4631 (main): Call new test function.
4632 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
4633 test function, continue into test function and walk test
4636 2014-07-02 Yao Qi <yao@codesourcery.com>
4638 * gdb.trace/entry-values.c: Define labels 'foo_start' and
4639 'bar_start' at the beginning of functions 'foo' and 'bar'
4641 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
4642 instead of 'foo' and 'bar'.
4644 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
4646 * gdb.btrace/segv.exp: New.
4647 * gdb.btrace/segv.c: New.
4649 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
4651 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
4654 2014-06-30 Mark Wielaard <mjw@redhat.com>
4656 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
4657 vulture, vilify, villar): New volatile array constants.
4658 (vindictive, vegetation): New const volatile array constants.
4659 * gdb.base/volatile.exp: Test volatile and const volatile array
4662 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
4664 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
4665 target lacks support for awatch, rwatch, or hbreak.
4667 2014-06-27 Yao Qi <yao@codesourcery.com>
4669 * gdb.multi/dummy-frame-restore.exp: New.
4670 * gdb.multi/dummy-frame-restore.c: New.
4672 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
4674 * gdb.btrace/gcore.exp: New.
4676 2014-06-23 Pedro Alves <palves@redhat.com>
4678 * gdb.base/watchpoint-reuse-slot.c: New file.
4679 * gdb.base/watchpoint-reuse-slot.exp: New file.
4681 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
4683 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
4684 progspace's filename in 'info', 'enable' and 'disable' command
4687 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4689 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
4690 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4691 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
4693 2014-06-20 Gary Benson <gbenson@redhat.com>
4695 * gdb.arch/i386-avx.exp: Fix include file location.
4696 * gdb.arch/i386-sse.exp: Likewise.
4698 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
4700 * gdb.dlang/expression.exp: New file.
4702 2014-06-19 Pedro Alves <palves@redhat.com>
4704 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
4706 (top level): ... here. Iterate running tests under different
4707 scheduler-locking settings.
4709 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
4711 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
4712 to DW_FORM_addr and use non-zero addresses.
4714 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
4717 * gdb.python/py-xmethods.cc: Add global function call counters and
4718 increment them in their respective functions. Remove "cout"
4720 * gdb.python/py-xmethods.exp: Make tests check the global function
4721 call counters instead of depending on inferior IO.
4723 2014-06-18 Don Breazeal <donb@codesourcery.com>
4725 * gdb.base/foll-fork.exp (default_fork_parent_follow):
4727 (explicit_fork_parent_follow): Deleted procedure.
4728 (explicit_fork_child_follow): Deleted procedure.
4729 (test_follow_fork): New procedure.
4730 (do_fork_tests): Replace calls to deleted procedures with
4731 calls to test_follow_fork and reset GDB for subsequent
4734 2014-06-17 Yao Qi <yao@codesourcery.com>
4736 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
4739 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
4741 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
4742 Initialize ptr and S explicitly.
4743 (skip_type_update_when_not_use_rtti_test): Likewise.
4745 2014-06-16 Keith Seitz <keiths@redhat.com>
4748 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
4749 the inferior is started.
4751 2014-06-16 Pedro Alves <palves@redhat.com>
4753 * gdb.base/break-main-file-remove-fail.c: New file.
4754 * gdb.base/break-main-file-remove-fail.exp: New file.
4755 * gdb.base/break-unload-file.exp: Use build_executable instead of
4756 prepare_for_testing.
4757 (test_break): New parameter "initial_load". Handle it.
4758 (top level): Add initial_load cmdline/file axis.
4760 2014-06-12 Tom Tromey <tromey@redhat.com>
4762 * gdb.base/completion.exp: Don't use directory name in test.
4764 2014-06-09 Gary Benson <gbenson@redhat.com>
4766 * gdb.base/sigall.c [Functions to send signals]: Reorder to
4767 separate the always-available ANSI-standard signals from the
4768 signals that require checking.
4770 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
4774 2014-06-07 Keith Seitz <keiths@redhat.com>
4778 * gdb.cp/var-tag.cc: New file.
4779 * gdb.cp/var-tag.exp: New file.
4780 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4781 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4782 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4783 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4785 2014-06-06 Doug Evans <xdje42@gmail.com>
4787 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
4789 2014-06-06 Pedro Alves <palves@redhat.com>
4791 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
4792 in target debug output instead of looking at RSP packets,
4793 disabling the test on any target that uses hardware stepping.
4796 2014-06-06 Pedro Alves <palves@redhat.com>
4798 * gdb.base/break-unload-file.exp: Fix typo.
4800 2014-06-06 Yao Qi <yao@codesourcery.com>
4802 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
4803 from "jit_function" to "^jit_function".
4805 2014-06-06 Yao Qi <yao@codesourcery.com>
4807 * gdb.base/async.c (foo): Add one statement.
4808 * gdb.base/async.exp: Get the next instruction address and
4809 match the output of "nexti" by instruction address. Match
4810 the hex address in the output of "finish".
4812 2014-06-06 Gary Benson <gbenson@redhat.com>
4814 * gdb.base/call-signals.c: Remove preprocessor conditionals
4815 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
4816 SIGSEGV and SIGTERM.
4817 * gdb.base/sigall.c: Likewise.
4818 * gdb.base/unwindonsignal.c: Likewise.
4819 * gdb.reverse/sigall-reverse.c: Likewise.
4821 2014-06-06 Yao Qi <yao@codesourcery.com>
4823 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
4824 readable, skip the test.
4826 2014-06-06 Yao Qi <yao@codesourcery.com>
4828 * gdb.threads/staticthreads.c (thread_function): Move the line
4829 setting breakpoint on forward.
4830 * gdb.threads/staticthreads.exp: Update comments.
4832 2014-06-05 Ludovic Courtès <ludo@gnu.org>
4834 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
4835 "history-append! type error".
4837 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
4839 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
4840 erroneous dprintf expected input.
4842 2014-06-04 Doug Evans <xdje42@gmail.com>
4844 * gdb.guile/scm-generics.exp: Delete.
4846 2014-06-04 Doug Evans <xdje42@gmail.com>
4848 * gdb.guile/scm-breakpoint.exp: Update.
4849 Add tests for breakpoint registration.
4851 2014-06-04 Tom Tromey <tromey@redhat.com>
4853 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
4855 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
4856 inner_vla_struct, vla_union types. Initialize objects of those
4857 types and compute their sizes.
4859 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
4860 Hui Zhu <hui@codesourcery.com>
4862 * gdb.base/fileio.exp: Add test for shell not available as well as
4864 * gdb.base/fileio.c (test_system): Check for shell twice.
4866 2014-06-04 Yao Qi <yao@codesourcery.com>
4868 * gdb.base/auto-connect-native-target.exp: Remove redundant
4869 space from the regexp pattern.
4871 2014-06-04 Yao Qi <yao@codesourcery.com>
4873 * gdb.base/default.exp: Replace "child" with "native" in
4876 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4878 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
4879 * gdb.python/py-xmethods.exp: New tests to test xmethods.
4880 * gdb.python/py-xmethods.py: Python script supporting the
4881 new testcase and tests.
4883 2014-06-03 Joel Brobecker <brobecker@adacore.com>
4884 Pedro Alves <palves@redhat.com>
4886 PR breakpoints/17000
4887 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
4888 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
4890 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
4892 * gdb.base/subst.exp: Add tests to verify partial path matching
4895 2014-06-03 Pedro Alves <palves@redhat.com>
4897 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
4898 target that doesn't use software single-stepping.
4900 2014-06-03 Pedro Alves <palves@redhat.com>
4902 PR breakpoints/17000
4903 * gdb.base/sss-bp-on-user-bp-2.c: New file.
4904 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
4906 2014-06-02 Doug Evans <xdje42@gmail.com>
4908 * gdb.guile/scm-parameter.exp: New file.
4910 2014-06-02 Doug Evans <xdje42@gmail.com>
4912 * gdb.guile/scm-cmd.c: New file.
4913 * gdb.guile/scm-cmd.exp: New file.
4915 2014-06-02 Doug Evans <xdje42@gmail.com>
4917 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
4918 pretty-printer lookup.
4919 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
4920 (make-pp_s-printer): Call it.
4921 (make-pretty-printer-from-dict): New function.
4922 (lookup-pretty-printer-maker-from-dict): New function.
4923 (*pretty-printer*): Simplify.
4924 (make-objfile-pp_s-printer): New function.
4925 (install-objfile-pretty-printers!): New function.
4926 (make-progspace-pp_s-printer): New function.
4927 (install-progspace-pretty-printers!): New function.
4928 * gdb.guile/scm-progspace.c: New file.
4929 * gdb.guile/scm-progspace.exp: New file.
4931 2014-06-02 Pedro Alves <palves@redhat.com>
4933 * gdb.base/dprintf-bp-same-addr.c: New file.
4934 * gdb.base/dprintf-bp-same-addr.exp: New file.
4936 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4938 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
4939 * gdb.arch/powerpc-power.s: Likewise.
4941 2014-06-02 Joel Brobecker <brobecker@adacore.com>
4943 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
4945 2014-06-01 Yao Qi <yao@codesourcery.com>
4947 * gdb.base/watchpoint.exp (test_watch_location): Check null
4948 pointer can be dereferenced. If not, do the test, otherwise
4951 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
4953 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
4955 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
4957 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
4959 * gdb.arch/amd64-invalid-stack-middle.S: New file.
4960 * gdb.arch/amd64-invalid-stack-middle.c: New file.
4961 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
4962 * gdb.arch/amd64-invalid-stack-top.c: New file.
4963 * gdb.arch/amd64-invalid-stack-top.exp: New file.
4965 2014-05-30 Pedro Alves <palves@redhat.com>
4967 PR breakpoints/17000
4968 * gdb.base/sss-bp-on-user-bp.c: New file.
4969 * gdb.base/sss-bp-on-user-bp.exp: New file.
4971 2014-05-30 David Blaikie <dblaikie@gmail.com>
4973 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
4974 gnu_inline semantics via attribute.
4975 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
4976 source explicitly specifies the required semantics.
4978 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
4980 * gdb.reverse/sigall-reverse.exp: Fix a typo.
4982 2014-05-29 Pedro Alves <palves@redhat.com>
4983 Tom Tromey <tromey@redhat.com>
4985 * gdb.base/async-shell.exp: Don't enable target-async.
4986 * gdb.base/async.exp
4987 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
4989 (top level): Don't test with "target-async".
4990 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
4991 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
4992 * gdb.base/inferior-died.exp: Don't enable target-async.
4993 * gdb.base/interrupt-noterm.exp: Likewise.
4994 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
4995 * gdb.mi/mi-nonstop-exit.exp: Likewise.
4996 * gdb.mi/mi-nonstop.exp: Likewise.
4997 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4998 * gdb.mi/mi-nsintrall.exp: Likewise.
4999 * gdb.mi/mi-nsmoribund.exp: Likewise.
5000 * gdb.mi/mi-nsthrexec.exp: Likewise.
5001 * gdb.mi/mi-watch-nonstop.exp: Likewise.
5002 * gdb.multi/watchpoint-multi.exp: Adjust comment.
5003 * gdb.python/py-evsignal.exp: Don't enable target-async.
5004 * gdb.python/py-evthreads.exp: Likewise.
5005 * gdb.python/py-prompt.exp: Likewise.
5006 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
5007 * gdb.server/solib-list.exp: Don't enable target-async.
5008 * gdb.threads/thread-specific-bp.exp: Likewise.
5009 * lib/mi-support.exp: Adjust to use mi-async.
5011 2014-05-29 Pedro Alves <palves@redhat.com>
5014 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
5015 reason, even in sync mode.
5017 2014-05-29 Pedro Alves <palves@redhat.com>
5018 Hui Zhu <hui@codesourcery.com>
5021 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
5022 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
5023 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
5024 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
5026 2014-05-28 Joel Brobecker <brobecker@adacore.com>
5028 * config/monitor.exp (gdb_target_monitor): Replace use of
5029 "set remotebaud" by "set serial baud".
5031 2014-05-26 Andy Wingo <wingo@igalia.com>
5033 * gdb.guile/scm-breakpoint.exp:
5034 * gdb.guile/scm-gsmob.exp: Update to use plain old object
5035 properties instead of gdb-object-properties.
5037 2014-05-26 Yao Qi <yao@codesourcery.com>
5039 * gdb.server/no-thread-db.exp: Specify source file name
5040 explicitly when setting a breakpoint.
5042 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5044 * gdb.btrace/vdso.c: New.
5045 * gdb.btrace/vdso.exp: New.
5047 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5049 * gdb.base/gcore.exp (capture_command_output): Move ...
5050 * lib/gdb.exp (capture_command_output): ... here.
5052 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5054 * gdb.btrace/data.exp: Test memory access during btrace replay.
5056 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
5058 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
5060 2014-05-21 Pedro Alves <palves@redhat.com>
5063 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
5064 (top level): Test that output related to execution commands is
5065 sent to the console with CLI commands, but not with MI commands.
5066 Test that breakpoint events are always mirrored to the console.
5067 Also expect the new source line to be output after a "next" in
5068 async mode too. Make it a pass/fail test.
5069 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
5071 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
5073 2014-05-21 Pedro Alves <palves@redhat.com>
5075 * gdb.base/list.exp (build_pattern, test_list): New procedures.
5076 Use them to test variations of "list" after reaching a breakpoint.
5077 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
5078 Test "list" with listsize 10 after reaching a breakpoint.
5079 * gdb.python/python.exp (decode_line current location line
5080 number): Adjust expected line number.
5082 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
5084 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
5085 behavior for $args, pass it directly to "run".
5087 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
5089 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
5092 2014-05-21 Pedro Alves <palves@redhat.com>
5094 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
5095 auto-connect-native-target off".
5096 * gdb.base/auto-connect-native-target.c: New file.
5097 * gdb.base/auto-connect-native-target.exp: New file.
5099 2014-05-21 Pedro Alves <palves@redhat.com>
5101 * gdb.base/default.exp: Test "target native" instead of "target
5104 2014-05-21 Mark Wielaard <mjw@redhat.com>
5106 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
5108 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5110 Fix TLS access for -static -pthread.
5111 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
5112 <HAVE_TLS> (thread_function, main): Initialize it.
5113 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
5115 <$have_tls != "">: Check TLSVAR.
5117 2014-05-21 Pedro Alves <palves@redhat.com>
5119 * gdb.base/dcache-line-read-error.c: New.
5120 * gdb.base/dcache-line-read-error.exp: New.
5122 2014-05-20 Pedro Alves <palves@redhat.com>
5124 * gdb.base/compare-sections.c: New file.
5125 * gdb.base/compare-sections.exp: New file.
5127 2014-05-20 Pedro Alves <palves@redhat.com>
5129 * gdb.base/break-idempotent.c: New file.
5130 * gdb.base/break-idempotent.exp: New file.
5132 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
5134 * gdb.btrace/nohist.exp: New.
5136 2014-05-20 Yao Qi <yao@codesourcery.com>
5138 * lib/gdb.exp (gdb_init): Set timeout if test file is under
5139 gdb.reverse directory and gdb_reverse_timeout exists in board
5141 * README: Document gdb_reverse_timeout.
5143 2014-05-20 Yao Qi <yao@codesourcery.com>
5145 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
5146 'test_file_name'. Treat args as a string instead of a list.
5147 (gdb_init): Rename argument 'args' by 'test_file_name'.
5149 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5151 * gdb.arch/powerpc-power.exp: New file.
5152 * gdb.arch/powerpc-power.s: New file.
5154 2014-05-16 Doug Evans <dje@google.com>
5156 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
5157 * gdb.base/completion.exp: Check that all expected files exist
5158 before doing file completion.
5160 2014-05-16 Doug Evans <dje@google.com>
5162 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
5164 (do_syscall_tests_without_xml): Update.
5166 2014-05-16 Pedro Alves <palves@redhat.com>
5168 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
5169 instead of "unknown output after running".
5171 2014-05-16 Yao Qi <yao@codesourcery.com>
5173 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
5174 file1.txt from host at the end.
5175 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5177 2014-05-15 Doug Evans <dje@google.com>
5179 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
5180 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
5181 loading file. Add test for TU lookup.
5183 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
5185 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
5186 calling "-exec-arguments" or "set args" before running the
5189 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
5191 * lib/mi-support.exp (mi_expect_stop): Expect message for
5192 inferiors that exit with non-zero exit code.
5194 2014-05-14 Yao Qi <yao@codesourcery.com>
5196 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
5197 match absolute path on remote host.
5198 (test_file_list_exec_source_files): Remove "/" from the
5201 2014-05-14 Yao Qi <yao@codesourcery.com>
5203 * boards/local-remote-host-notty.exp (${board}_file): New
5206 2014-05-07 Kyle McMartin <kyle@redhat.com>
5208 Pushed by Joel Brobecker <brobecker@adacore.com>.
5209 * gdb.arch/aarch64-atomic-inst.c: New file.
5210 * gdb.arch/aarch64-atomic-inst.exp: New file.
5212 2014-05-07 Yao Qi <yao@codesourcery.com>
5214 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
5215 in current context" too.
5217 2014-05-05 Keith Seitz <keiths@redhat.com>
5219 * gdb.linespec/ls-dollar.exp: Add test for linespec
5220 file:convenience_variable.
5222 2014-05-05 Yao Qi <yao@codesourcery.com>
5224 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
5225 traceframes into tfile and ctf trace files. Read data from
5226 trace file and test collected data.
5227 (gdb_collect_locals_test): Likewise.
5228 (gdb_unavailable_registers_test): Likewise.
5229 (gdb_unavailable_floats): Likewise.
5230 (gdb_collect_globals_test): Likewise.
5231 (top-level): Append "ctf" to trace_file_targets if GDB
5234 2014-05-05 Yao Qi <yao@codesourcery.com>
5236 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
5238 (gdb_collect_args_test_1): ... it. New proc.
5239 (gdb_collect_locals_test): Move some code to ...
5240 (gdb_collect_locals_test_1): ... it. New proc.
5241 (gdb_unavailable_registers_test): Move some code to ...
5242 (gdb_unavailable_registers_test_1): ... it. New proc.
5243 (gdb_unavailable_floats): Move some code to ...
5244 (gdb_unavailable_floats_1): ... it. New proc.
5246 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5248 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
5249 probes to test for bitness recognition.
5250 * gdb.arch/amd64-stap-optional-prefix.exp
5251 (test_probe_value_without_reg): New procedure.
5252 Add code to test for different kinds of bitness.
5254 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5256 PR breakpoints/16889
5257 * gdb.arch/amd64-stap-optional-prefix.S: New file.
5258 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5260 2014-05-01 Pedro Alves <palves@redhat.com>
5262 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
5263 gdb_file_cmd if no file is specified.
5264 * boards/native-extended-gdbserver.exp (gdb_load): Use the
5265 last_loaded_file to set the remote exec-file.
5267 2014-05-01 Pedro Alves <palves@redhat.com>
5269 * boards/local-remote-host.exp: New file.
5271 2014-05-01 Pedro Alves <palves@redhat.com>
5273 * boards/local-remote-host.exp: Rename to ...
5274 * boards/local-remote-host-notty.exp: ... this.
5276 2014-04-28 Joel Brobecker <brobecker@adacore.com>
5278 * gdb.ada/dyn_arrayidx: New testcase.
5280 2014-04-26 Yao Qi <yao@codesourcery.com>
5282 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
5283 and compute the length of function main. Save it in
5285 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
5286 (top-level): Use gdb_compile to compile objects into
5287 executable and restart GDB. Remove invocation to
5288 prepare_for_testing.
5290 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
5291 Pedro Alves <palves@redhat.com>
5294 * gdb.multi/multi-attach.c: New file.
5295 * gdb.multi/multi-attach.exp: New file.
5297 2014-04-25 Pedro Alves <palves@redhat.com>
5299 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
5301 (top level): Test that "set remote conditional-breakpoints-packet
5302 off" works as intended.
5303 * gdb.base/dprintf.exp: Test that "set remote
5304 breakpoint-commands-packet off" works as intended.
5305 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
5307 (top level): Call it.
5308 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
5309 remote fast-tracepoints-packet off" works as intended.
5310 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
5311 * lib/gdb.exp (gdb_is_target_remote): ... here.
5313 2014-04-24 David Blaikie <dblaikie@gmail.com>
5315 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
5316 ensure clang would not discard them.
5317 * gdb.base/gdbvars.c: Ditto.
5318 * gdb.base/memattr.c: Ditto.
5319 * gdb.base/whatis.c: Ditto.
5320 * gdb.python/py-prettyprint.c: Ditto.
5321 * gdb.trace/actions.c: Ditto.
5322 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
5323 ensure clang would not discard it.
5325 2014-04-24 David Blaikie <dblaikie@gmail.com>
5327 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
5328 clang to emit the full definition of type required by the test
5329 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
5331 2014-04-24 David Blaikie <dblaikie@gmail.com>
5333 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
5334 coax Clang into emitting the definition of the type.
5335 * gdb.cp/pr10728-x.h (y): Ditto.
5336 * gdb.cp/pr10728-y.cc (y): Ditto.
5338 2014-04-24 David Blaikie <dblaikie@gmail.com>
5340 * gdb.base/label.exp: XFAIL label related tests under Clang.
5341 * gdb.cp/cplabel.exp: Ditto.
5342 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
5343 under Clang those using labels.
5345 2014-04-25 Yao Qi <yao@codesourcery.com>
5347 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
5349 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
5350 partial_label and double_label.
5352 2014-04-24 David Blaikie <dblaikie@gmail.com>
5354 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
5356 2014-04-24 David Blaikie <dblaikie@gmail.com>
5358 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
5359 of the function to work across GCC and Clang.
5360 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
5361 pointer types (const void ** const V void **).
5363 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
5364 Walfred Tedeschi <walfred.tedeschi@intel.com>
5366 * Makefile.in (EXECUTABLES): Added i386-avx512.
5367 * gdb.arch/i386-avx512.c: New file.
5368 * gdb.arch/i386-avx512.exp: Likewise.
5370 2014-04-23 Keith Seitz <keiths@redhat.com>
5372 * lib/mi-support.exp (mi_list_breakpoints): Delete.
5373 (mi_make_breakpoint_table): New procedure.
5374 (mi_create_breakpoint): Use mi_make_breakpoint
5375 and return the result.
5376 (mi_make_breakpoint): New procedure.
5377 (mi_build_kv_pairs): New procedure.
5379 * gdb.mi/mi-break.exp: Remove unused globals,
5380 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
5381 All callers updated.
5382 * gdb.mi/mi-dprintf.exp: Use variable to track command
5384 Update all callers of mi_create_breakpoint and use
5385 mi_make_breakpoint_table.
5386 Remove any unused global variables.
5387 * gdb.mi/mi-nonstop.exp: Likewise.
5388 * gdb.mi/mi-nsintrall.exp: Likewise.
5389 * gdb.mi/mi-nsmoribund.exp: Likewise.
5390 * gdb.mi/mi-nsthrexec.exp: Likewise.
5391 * gdb.mi/mi-reverse.exp: Likewise.
5392 * gdb.mi/mi-simplerun.exp: Likewise.
5393 * gdb.mi/mi-stepn.exp: Likewise.
5394 * gdb.mi/mi-syn-frame.exp: Likewise.
5395 * gdb.mi/mi-until.exp: Likewise.
5396 * gdb.mi/mi-var-cp.exp: Likewise.
5397 * gdb.mi/mi-var-display.exp: Likewise.
5398 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
5399 * gdb.mi/mi2-var-child.exp: Likewise.
5400 * gdb.mi/mi-vla-c99.exp: Likewise.
5401 * lib/mi-support.exp: Likewise.
5403 From Ian Lance Taylor <iant@cygnus.com>:
5404 * lib/gdb.exp (parse_args): New procedure.
5406 2014-04-23 Pedro Alves <palves@redhat.com>
5408 * gdb.base/break-unload-file.c: New file.
5409 * gdb.base/break-unload-file.exp: New file.
5410 * gdb.base/sym-file-lib.c (baz): New function.
5411 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
5413 (load): Store the segment's mapped size.
5414 (unload): New function.
5415 (unload_shlib): New function.
5416 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
5417 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
5418 set a breakpoint at baz, and call it.
5419 * gdb.base/sym-file.exp: New tests for stale breakpoint
5422 2014-04-23 Pedro Alves <palves@redhat.com>
5424 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
5425 * gdb.base/hbreak-in-shr-unsupported.c: New file.
5426 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
5427 * gdb.base/hbreak-unmapped.c: New file.
5428 * gdb.base/hbreak-unmapped.exp: New file.
5429 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
5430 * lib/gdb.exp (gdb_is_target_remote): ... here.
5432 2014-04-22 Pedro Alves <palves@redhat.com>
5434 * gdb.base/consecutive-step-over.c: New file.
5435 * gdb.base/consecutive-step-over.exp: New file.
5437 2014-04-22 Pedro Alves <palves@redhat.com>
5439 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
5440 instead of send_gdb/gdb_expect.
5442 2014-04-22 Yao Qi <yao@codesourcery.com>
5444 * lib/trace-support.exp (generate_tracefile): New procedure.
5445 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
5447 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
5448 if generate_tracefile returns 1.
5450 2014-04-18 Tom Tromey <palves@redhat.com>
5451 Pedro alves <tromey@redhat.com>
5454 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
5455 with a backtrace limit.
5456 * gdb.python/py-frame-inline.exp: Test running to an inline
5457 function with a backtrace limit, and printing the newest frame.
5458 * gdb.python/py-frame-inline.c (main): Call f.
5460 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
5462 * gdb.java/jnpe.exp: Drop srcdir from untested path.
5464 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
5466 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
5467 Drop prefix from unsupported source file path.
5469 2014-04-17 Yao Qi <yao@codesourcery.com>
5471 * lib/gdb.exp (with_target_charset): New proc.
5472 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
5473 with_target_charset.
5474 (test_print_strings): Likewise.
5475 (test_repeat_bytes): Likewise.
5476 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
5479 2014-04-16 Keith Seitz <keiths@redhat.com>
5482 * gdb.dwarf2/corrupt.c: New file.
5483 * gdb.dwarf2/corrupt.exp: New file.
5485 2014-04-16 Keith Seitz <keiths@redhat.com>
5488 * gdb.cp/namelessclass.cc: New file.
5489 * gdb.cp/namelessclass.exp: New file.
5490 * gdb.cp/namelessclass.S: New file.
5492 2014-04-16 Doug Evans <dje@google.com>
5494 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
5496 (gdbserver_default_get_comm_port): New function.
5497 (gdbserver_start): Check if board file provided
5498 "gdbserver,get_comm_port" and use it if so.
5499 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
5500 (gdb,socketport): Set to "stdio".
5501 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
5502 (stdio_gdbserver_template): Delete.
5503 (${board}_get_remote_address): Update.
5504 (${board}_build_remote_cmd): Delete.
5505 (${board}_get_comm_port): New function.
5506 (${board}_spawn): Update.
5507 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
5509 (${board}_get_remote_address): Update.
5510 (${board}_get_comm_port): New function.
5512 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
5514 * gdb.base/memattr.exp: Improve regexps to handle memory regions
5515 appearing in any order.
5517 2014-04-15 Doug Evans <dje@google.com>
5519 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
5520 uninitialized value of "description".
5522 2014-04-15 Keith Seitz <keiths@redhat.com>
5524 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
5525 Remove unused globals.
5526 (test_running_the_program): Likewise.
5527 (test_controlled_execution): Likewise.
5528 (test_controlling_breakpoints): Likewise.
5529 (test_program_termination): Likewise.
5531 2014-04-15 Keith Seitz <keiths@redhat.com>
5533 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
5535 (test_rbreak_creation_and_listing): Likewise.
5536 (test_ignore_count): Likewise.
5537 (test_error): Likewise.
5539 2014-04-15 Pedro Alves <palves@redhat.com>
5541 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
5542 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
5544 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
5545 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
5546 to sym-file-loader.c.
5547 (struct library): Forward declare.
5548 (load_shlib, lookup_function): Change prototypes.
5549 (find_shstrtab, find_strtab, find_shdr, find_symtab)
5550 (translate_offset): Remove declarations.
5551 (get_text_addr): New declaration.
5552 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
5553 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
5555 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
5556 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
5557 here from sym-file-loader.h.
5558 (struct library): New structure.
5559 (load_shlib, lookup_function): Change prototypes and adjust to
5560 work with a struct library.
5561 (find_shstrtab, find_strtab, find_shdr, find_symtab)
5562 (translate_offset): Make static.
5563 (get_text_addr): New function.
5564 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
5566 2014-04-15 Pedro Alves <palves@redhat.com>
5568 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
5570 2014-04-15 Pedro Alves <palves@redhat.com>
5572 * gdb.base/sym-file-loader.c: Include <limits.h>.
5573 (SELF_LINK): New define.
5574 (get_origin): New function.
5575 (load_shlib): Use it.
5576 * gdb.base/sym-file.exp: Don't early return if the target is
5577 remote. Use runto_main, and issue fail is that fails. Use
5579 (shlib_name): Delete.
5580 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
5582 2014-04-15 Pedro Alves <palves@redhat.com>
5584 * gdb.base/sym-file.exp: Remove regex characters from test
5585 message. Don't refer to breakpoint numbers in test messages.
5587 2014-04-14 Keith Seitz <keiths@redhat.com>
5590 * gdb.cp/var-tag.cc: New file.
5591 * gdb.cp/var-tag.exp: New file.
5592 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5593 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5594 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5595 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5597 2014-04-14 Tom Tromey <tromey@redhat.com>
5599 * gdb.cp/classes.exp (test_enums): Handle underlying type.
5600 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
5602 * gdb.cp/enum-class.exp: New file.
5603 * gdb.cp/enum-class.cc: New file.
5605 2014-04-14 Tom Tromey <tromey@redhat.com>
5607 * gdb.dwarf2/enum-type.exp: New file.
5609 2014-04-14 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-14 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-14 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-14 Sanimir Agovic <sanimir.agovic@intel.com>
5626 * gdb.dwarf2/count.exp: New file.
5628 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5630 * gdb.base/vla-sideeffect.c: New file.
5631 * gdb.base/vla-sideeffect.exp: New file.
5633 2014-04-14 David Blaikie <dblaikie@gmail.com>
5635 * gdb.mi/non-stop.c: Add return value for non-void function return
5637 * gdb.threads/staticthreads.c: Ditto.
5639 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
5640 Doug Evans <xdje42@gmail.com>
5642 * gdb.guile/scm-value.c: Improve test case.
5643 * gdb.guile/scm-value.exp: Add new test.
5645 2014-04-11 David Blaikie <dblaikie@gmail.com>
5647 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
5648 override Clang's default.
5650 2014-04-11 Joel Brobecker <brobecker@adacore.com>
5652 Revert the following changes (regressions):
5654 * gdb.base/vla-sideeffect.c: New file.
5655 * gdb.base/vla-sideeffect.exp: New file.
5657 * gdb.dwarf2/count.exp: New file.
5659 * gdb.base/vla-multi.c: New file.
5660 * gdb.base/vla-multi.exp: New file.
5662 * gdb.base/vla-ptr.c: New file.
5663 * gdb.base/vla-ptr.exp: New file.
5665 * gdb.base/vla-datatypes.c: New file.
5666 * gdb.base/vla-datatypes.exp: New file.
5668 * gdb.mi/mi-vla-c99.exp: New file.
5669 * gdb.mi/vla.c: New file.
5671 2014-04-11 Keith Seitz <keiths@redhat.com>
5674 * gdb.cp/cpsizeof.exp: New file.
5675 * gdb.cp/cpsizeof.cc: New file.
5677 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5679 * gdb.mi/mi-vla-c99.exp: New file.
5680 * gdb.mi/vla.c: New file.
5682 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5684 * gdb.base/vla-datatypes.c: New file.
5685 * gdb.base/vla-datatypes.exp: New file.
5687 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5689 * gdb.base/vla-ptr.c: New file.
5690 * gdb.base/vla-ptr.exp: New file.
5692 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5694 * gdb.base/vla-multi.c: New file.
5695 * gdb.base/vla-multi.exp: New file.
5697 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5699 * gdb.dwarf2/count.exp: New file.
5701 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5703 * gdb.base/vla-sideeffect.c: New file.
5704 * gdb.base/vla-sideeffect.exp: New file.
5706 2014-04-11 Yao Qi <yao@codesourcery.com>
5708 * gdb.base/completion.exp: Check file exists before running tests
5711 2014-04-10 Pedro Alves <palves@redhat.com>
5713 * gdb.base/cond-eval-mode.c: New file.
5714 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
5715 prepare_for_testing to build the new file. Check result of
5717 (test_break, test_watch): New procedures.
5718 (top level): Use them.
5720 2014-04-08 Pierre Muller <muller@sourceware.org>
5722 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
5723 Ctrl-V use for mingw hosts.
5725 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
5727 * gdb.python/py-value.c: Improve test case.
5728 * gdb.python/py-value.exp: Add new test.
5730 2014-04-07 David Blaikie <dblaikie@gmail.com>
5732 * lib/compiler.c: Identify the clang compiler.
5733 * lib/compiler.cc: Ditto.
5735 2014-04-03 Yao Qi <yao@codesourcery.com>
5737 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
5739 2014-04-01 Anton Blanchard <anton@samba.org>
5741 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
5744 2014-04-01 Anton Blanchard <anton@samba.org>
5746 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
5747 prepare_for_testing.
5749 2014-04-01 Anton Blanchard <anton@samba.org>
5751 * gdb.arch/ppc64-atomic-inst.c: Remove.
5752 * gdb.arch/ppc64-atomic-inst.S: New file.
5753 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
5755 2014-03-31 Doug Evans <dje@google.com>
5757 * gdb.base/print-symbol-loading-lib.c: New file.
5758 * gdb.base/print-symbol-loading-main.c: New file.
5759 * gdb.base/print-symbol-loading.exp: New file.
5761 2014-03-31 Yao Qi <yao@codesourcery.com>
5763 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
5765 2014-03-28 Joel Brobecker <brobecker@adacore.com>
5767 * gdb.ada/mi_dyn_arr: New testcase.
5769 2014-03-27 Doug Evans <dje@google.com>
5771 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
5773 2014-03-27 Yao Qi <yao@codesourcery.com>
5775 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
5776 if target is nios2-*-*.
5778 2014-03-26 Yao Qi <yao@codesourcery.com>
5780 * lib/gdb.exp (readline_is_used): New proc.
5781 * gdb.base/completion.exp: Move tests on command complete up.
5782 Skip the rest of tests if readline is not used.
5783 * gdb.ada/complete.exp: Skp the test if readline is not
5785 * gdb.base/filesym.exp: Likewise.
5786 * gdb.base/macscp.exp: Likewise.
5787 * gdb.base/readline-ask.exp: Likewise.
5788 * gdb.base/readline.exp: Likewise.
5789 * gdb.python/py-cmd.exp: Likewise.
5790 * gdb.trace/tfile.exp: Likewise.
5792 2014-03-26 Yao Qi <yao@codesourcery.com>
5794 * gdb.base/macscp.exp: Fix code format issues.
5796 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
5798 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
5799 * gdb.asm/powerpc64le.inc: New file.
5801 2014-03-25 Pedro Alves <palves@redhat.com>
5802 Doug Evans <dje@google.com>
5804 * gdb.base/source-execution.c: New file.
5805 * gdb.base/source-execution.exp: New file.
5806 * gdb.base/source-execution.gdb: New file.
5808 2014-03-24 Doug Evans <dje@google.com>
5810 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
5813 2014-03-24 Hui Zhu <hui@codesourcery.com>
5814 Pedro Alves <palves@redhat.com>
5816 PR breakpoints/16101
5817 * gdb.base/dprintf.exp: Use unsupported rather than changing the
5818 test pass/fail messages. Detect missing support for dprintf when
5819 breakpoints are actually inserted.
5820 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
5821 breakpoints are actually inserted.
5822 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
5825 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5827 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
5829 2014-03-22 Doug Evans <xdje42@gmail.com>
5831 * gdb.python/python.exp (python not supported): Verify multi-line
5832 python command issues an error.
5833 * gdb.guile/guile.exp (guile not supported): Verify multi-line
5834 guile command issues an error.
5836 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
5838 * gdb.threads/thread-specific.exp: Handle the lack of usable
5839 $this_breakpoint and $this_thread.
5841 2014-03-21 Hui Zhu <hui@codesourcery.com>
5843 * gdb.base/attach.exp (do_command_attach_tests): New.
5845 2014-03-20 Tom Tromey <tromey@redhat.com>
5846 Pedro Alves <palves@redhat.com>
5849 * gdb.base/condbreak-call-false.c: New file.
5850 * gdb.base/condbreak-call-false.exp: New file.
5852 2014-03-20 Pedro Alves <palves@redhat.com>
5854 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
5856 (block_signals, unblock_signals): Delete.
5857 (child_function_2, main): Remove references to deleted variable
5860 2014-03-20 Pedro Alves <palves@redhat.com>
5862 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
5863 Use pthread_kill to signal thread 2.
5864 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5865 Adjust to make the test send itself a signal rather than using the
5866 host's "kill" command.
5868 2014-03-20 Pedro Alves <palves@redhat.com>
5870 * gdb.threads/multiple-step-overs.c: New file.
5871 * gdb.threads/multiple-step-overs.exp: New file.
5872 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5873 Adjust expected infrun debug output.
5875 2014-03-20 Pedro Alves <palves@redhat.com>
5877 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
5878 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
5880 2014-03-20 Pedro Alves <palves@redhat.com>
5883 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
5884 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
5885 of gdb_test_multiple.
5886 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
5887 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
5889 2014-03-20 Pedro Alves <palves@redhat.com>
5891 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
5892 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
5894 2014-03-19 Pedro Alves <palves@redhat.com>
5896 * gdb.base/async.exp: Remove early return.
5898 2014-03-19 Pedro Alves <palves@redhat.com>
5900 * gdb.base/async.exp (step& tests): Pass explicit test messages.
5902 2014-03-19 Pedro Alves <palves@redhat.com>
5904 * gdb.base/async.exp (test_background): Expect \r\n after
5905 "completed." in the fail pattern.
5907 2014-03-19 Pedro Alves <palves@redhat.com>
5909 * gdb.base/async.exp (test_background): New procedure.
5910 Use it for all background execution command tests.
5912 2014-03-19 Pedro Alves <palves@redhat.com>
5914 * gdb.base/async.exp: Use prepare_for_testing.
5916 2014-03-19 Pedro Alves <palves@redhat.com>
5918 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
5921 2014-03-19 Pedro Alves <palves@redhat.com>
5923 * gdb.base/async.c (main): Add "jump here" and "until here" line
5925 * gdb.base/async.exp (jump_here): New global.
5926 (jump& test): Use it.
5927 (until_here): New global.
5928 (until& test): Use it.
5930 2014-03-19 Pedro Alves <palves@redhat.com>
5932 * gdb.base/async.exp: Don't frob gdb_protocol.
5934 2014-03-18 Doug Evans <xdje42@gmail.com>
5936 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
5937 Fix spelling of exec-done-display.
5939 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5942 * gdb.base/gdb-sigterm.c: New file.
5943 * gdb.base/gdb-sigterm.exp: New file.
5945 2014-03-18 Pedro Alves <palves@redhat.com>
5948 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
5949 * lib/mi-support.exp (mi_expect_stop): Add special handling for
5952 2014-03-17 Joel Brobecker <brobecker@adacore.com>
5954 * gdb.ada/pckd_arr_ren: New testcase.
5956 2014-03-13 Doug Evans <xdje42@gmail.com>
5959 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
5960 collect after discarding symbols.
5962 2014-03-13 Ludovic Courtès <ludo@gnu.org>
5963 Doug Evans <xdje42@gmail.com>
5965 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
5966 to history survives a gc.
5968 2014-03-13 Pedro Alves <palves@redhat.com>
5970 * gdb.base/default.exp: Don't test "target procfs".
5972 2014-03-13 Pedro Alves <palves@redhat.com>
5974 * gdb.base/default.exp: Update "target child" and "target procfs"
5975 tests to not expect "Unix".
5977 2014-03-12 Tom Tromey <tromey@redhat.com>
5979 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
5980 New procs. Add target-async tests.
5981 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
5982 Add target-async tests.
5984 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5986 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
5987 'func_start' and 'func_end' for the beginning and end of the
5988 function code, respectively.
5989 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
5990 'func_end' instead of 'func' and 'main'.
5992 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5994 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
5995 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
5996 generate the debug info assembler source.
5998 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6000 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
6001 * gdb.dwarf2/arr-subrange.exp: Likewise.
6002 * gdb.dwarf2/dwz.exp: Likewise.
6003 * gdb.dwarf2/method-ptr.exp: Likewise.
6004 * gdb.dwarf2/missing-sig-type.exp: Likewise.
6005 * gdb.dwarf2/subrange.exp: Likewise.
6006 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
6007 * gdb.dwarf2/implptrpiece.exp: Likewise.
6008 * gdb.dwarf2/nostaticblock.exp: Likewise.
6010 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6012 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
6013 directory to absolute path name arguments.
6015 2014-03-10 Joel Brobecker <brobecker@adacore.com>
6017 * gdb.ada/tagged_access: New testcase.
6019 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
6021 * gdb.btrace/data.exp: Update expected output.
6023 2014-03-06 Yao Qi <yao@codesourcery.com>
6025 * gdb.trace/pr16508.exp: New file.
6027 2014-03-05 Pedro Alves <palves@redhat.com>
6030 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
6032 (top level): Adjust to use it. Add tests that exercise breakpoint
6033 interaction with the code-cache.
6035 2014-02-26 Ludovic Courtès <ludo@gnu.org>
6037 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
6038 test for 'history-append!'.
6040 2014-02-26 Joel Brobecker <brobecker@adacore.com>
6042 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
6043 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
6044 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
6045 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
6046 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
6047 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
6049 2014-02-26 Joel Brobecker <brobecker@adacore.com>
6051 * testsuite/gdb.python/py-pp-re-notag.c: New file.
6052 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
6053 * testsuite/gdb.python/py-pp-re-notag.p: New file.
6055 2014-02-26 Joel Brobecker <brobecker@adacore.com>
6057 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
6059 2014-02-26 Joel Brobecker <brobecker@adacore.com>
6061 * gdb.dwarf2/arr-stride.c: New file.
6062 * gdb.dwarf2/arr-stride.exp: New file.
6064 2014-02-26 Pedro Alves <palves@redhat.com>
6066 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
6067 that won't ever trigger. Make sure that GDB reports the correct
6068 breakpoint that caused the stop.
6070 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6073 * gdb.base/auto-load-script: New file.
6074 * gdb.base/auto-load.c: New file.
6075 * gdb.base/auto-load.exp: New file.
6078 * gdb.base/auto-load.exp: Fix out-of-srctree run.
6080 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6082 Fix dw2-icycle.exp -fsanitize=address GDB crash.
6083 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
6085 2014-02-24 Doug Evans <dje@google.com>
6087 * lib/gdb.exp (run_on_host): Log error output if program fails.
6089 2014-02-21 Pedro Alves <palves@redhat.com>
6091 * gdb.threads/step-after-sr-lock.c: Rename to ...
6092 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
6093 * gdb.threads/step-after-sr-lock.exp: Rename to ...
6094 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6097 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
6100 * gdb.arch/amd64-stap-special-operands.exp: New file.
6101 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
6102 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
6103 * gdb.arch/amd64-stap-triplet.S: Likewise.
6104 * gdb.arch/amd64-stap-triplet.c: Likewise.
6106 2014-02-20 Joel Brobecker <brobecker@adacore.com>
6108 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
6109 in .section pseudo-op.
6111 2014-02-20 lin zuojian <manjian2006@gmail.com>
6112 Joel Brobecker <brobecker@adacore.com>
6113 Doug Evans <xdje42@gmail.com>
6116 * gdb.dwarf2/dw2-icycle.S: New file.
6117 * gdb.dwarf2/dw2-icycle.c: New file.
6118 * gdb.dwarf2/dw2-icycle.exp: New file.
6120 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
6122 * gdb.python/py-value-cc.cc: Improve test case to enable testing
6123 operations on gdb.Value objects.
6124 * gdb.python/py-value-cc.exp: Add new test to test operations on
6127 2014-02-18 Doug Evans <dje@google.com>
6129 * Makefile.in (TESTS): New variable.
6130 (expanded_tests, expanded_tests_or_none): New variables
6131 (check-single): Pass $(expanded_tests_or_none) to runtest.
6132 (check-parallel): Only run tests in $(TESTS) if non-empty.
6133 (check/no-matching-tests-found): New rule.
6134 * README: Document TESTS makefile variable.
6136 2014-02-18 Doug Evans <dje@google.com>
6138 * Makefile.in (check-parallel): rm -rf outputs temp.
6140 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6142 Fix "ERROR: no fileid for" in the testsuite.
6143 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
6145 2014-02-12 Doug Evans <dje@google.com>
6147 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
6148 (MISCELLANEOUS): New variable.
6149 (clean): rm -rf $(MISCELLANEOUS).
6150 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
6151 dwp live in the same directory as symlinks, with each symlink pointed
6152 to a differently named file in a different directory.
6154 2014-02-11 Doug Evans <dje@google.com>
6156 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
6157 of Tcl file commands.
6159 2014-02-10 Mark Kettenis <kettenis@gnu.org>
6161 * gdb.threads/step-after-sr-lock.exp: Avoid executing
6164 2014-02-10 Joel Brobecker <brobecker@adacore.com>
6166 * gdb.ada/tick_length_array_enum_idx: New testcase.
6168 2014-02-10 Doug Evans <xdje42@gmail.com>
6170 * configure.ac (AC_OUTPUT): Add gdb.guile.
6171 * configure: Regenerate.
6172 * lib/gdb-guile.exp: New file.
6173 * lib/gdb.exp (get_target_charset): New function.
6174 * gdb.base/help.exp: Update expected output from "apropos apropos".
6175 * gdb.guile/Makefile.in: New file.
6176 * gdb.guile/guile.exp: New file.
6177 * gdb.guile/scm-arch.c: New file.
6178 * gdb.guile/scm-arch.exp: New file.
6179 * gdb.guile/scm-block.c: New file.
6180 * gdb.guile/scm-block.exp: New file.
6181 * gdb.guile/scm-breakpoint.c: New file.
6182 * gdb.guile/scm-breakpoint.exp: New file.
6183 * gdb.guile/scm-disasm.c: New file.
6184 * gdb.guile/scm-disasm.exp: New file.
6185 * gdb.guile/scm-equal.c: New file.
6186 * gdb.guile/scm-equal.exp: New file.
6187 * gdb.guile/scm-error.exp: New file.
6188 * gdb.guile/scm-error.scm: New file.
6189 * gdb.guile/scm-frame-args.c: New file.
6190 * gdb.guile/scm-frame-args.exp: New file.
6191 * gdb.guile/scm-frame-args.scm: New file.
6192 * gdb.guile/scm-frame-inline.c: New file.
6193 * gdb.guile/scm-frame-inline.exp: New file.
6194 * gdb.guile/scm-frame.c: New file.
6195 * gdb.guile/scm-frame.exp: New file.
6196 * gdb.guile/scm-generics.exp: New file.
6197 * gdb.guile/scm-gsmob.exp: New file.
6198 * gdb.guile/scm-iterator.c: New file.
6199 * gdb.guile/scm-iterator.exp: New file.
6200 * gdb.guile/scm-math.c: New file.
6201 * gdb.guile/scm-math.exp: New file.
6202 * gdb.guile/scm-objfile-script-gdb.in: New file.
6203 * gdb.guile/scm-objfile-script.c: New file.
6204 * gdb.guile/scm-objfile-script.exp: New file.
6205 * gdb.guile/scm-objfile.c: New file.
6206 * gdb.guile/scm-objfile.exp: New file.
6207 * gdb.guile/scm-ports.exp: New file.
6208 * gdb.guile/scm-pretty-print.c: New file.
6209 * gdb.guile/scm-pretty-print.exp: New file.
6210 * gdb.guile/scm-pretty-print.scm: New file.
6211 * gdb.guile/scm-section-script.c: New file.
6212 * gdb.guile/scm-section-script.exp: New file.
6213 * gdb.guile/scm-section-script.scm: New file.
6214 * gdb.guile/scm-symbol.c: New file.
6215 * gdb.guile/scm-symbol.exp: New file.
6216 * gdb.guile/scm-symtab-2.c: New file.
6217 * gdb.guile/scm-symtab.c: New file.
6218 * gdb.guile/scm-symtab.exp: New file.
6219 * gdb.guile/scm-type.c: New file.
6220 * gdb.guile/scm-type.exp: New file.
6221 * gdb.guile/scm-value-cc.cc: New file.
6222 * gdb.guile/scm-value-cc.exp: New file.
6223 * gdb.guile/scm-value.c: New file.
6224 * gdb.guile/scm-value.exp: New file.
6225 * gdb.guile/source2.scm: New file.
6226 * gdb.guile/types-module.cc: New file.
6227 * gdb.guile/types-module.exp: New file.
6229 2014-02-10 Yao Qi <yao@codesourcery.com>
6232 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
6233 * configure: Regenerated.
6234 * Makefile.in: New file.
6236 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
6238 * gdb.python/py-framefilter.exp: Fix typo.
6240 2014-02-08 Yao Qi <yao@codesourcery.com>
6242 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
6243 that no =breakpoint-modified is emitted when breakpoints are
6244 modified through MI commands.
6246 2014-02-07 Pedro Alves <pedro@codesourcery.com>
6247 Pedro Alves <palves@redhat.com>
6249 * gdb.threads/step-after-sr-lock.c: New file.
6250 * gdb.threads/step-after-sr-lock.exp: New file.
6252 2014-02-07 Pedro Alves <palves@redhat.com>
6254 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
6256 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6258 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
6259 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
6261 2014-02-06 Doug Evans <xdje42@gmail.com>
6263 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
6266 * gdb.gdb/python-interrupts.exp: New file.
6268 2014-02-05 Yao Qi <yao@codesourcery.com>
6270 * gdb.trace/report.exp (use_collected_data): Test the output
6271 of "info threads" and "info inferiors".
6273 2014-02-05 Yao Qi <yao@codesourcery.com>
6277 2013-05-24 Yao Qi <yao@codesourcery.com>
6279 * gdb.trace/tfile.exp: Test inferior and thread.
6281 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6283 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
6285 * gdb.base/step-bt.c: Call hello via function pointer to make
6286 sure its first instruction is executed on powerpc64le-linux.
6288 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6290 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
6292 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6294 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
6295 of the test patterns for use on little-endian systems.
6297 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6299 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
6300 (decimal_vector): Fix for little-endian.
6302 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
6304 * gdb.arch/sparc-sysstep.exp: New file.
6305 * gdb.arch/sparc-sysstep.c: Likewise.
6307 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
6309 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6311 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
6313 2014-01-23 Tom Tromey <tromey@redhat.com>
6315 * gdb.ada/array_char_idx: New testcase.
6317 2014-01-23 Tom Tromey <tromey@redhat.com>
6320 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
6321 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
6324 2014-01-23 Tom Tromey <tromey@redhat.com>
6327 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
6328 string from an inferior frame.
6329 * gdb.python/py-framefilter-mi.exp: Update.
6331 2014-01-22 Doug Evans <dje@google.com>
6333 * gdb.server/server-mon.exp: Add tests for "set debug-format".
6335 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6337 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
6339 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6341 * gdb.trace/entry-values.exp: Remove excess space character from
6342 regex patterns. Handle s390 call instruction.
6344 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6346 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
6347 define "*_start" label. Make "name" static.
6348 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
6349 ${name} by references to ${name}_start.
6351 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6353 * gdb.base/info-macros.exp: Remove "debug" from the compile
6356 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6358 * gdb.dlang/demangle.exp: New file.
6360 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6362 * gdb.dlang/primitive-types.exp: New file.
6364 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6366 * configure.ac: Create gdb.dlang/Makefile.
6367 * configure: Regenerate.
6368 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
6369 * gdb.dlang/Makefile.in: New file.
6370 * lib/d-support.exp: New file.
6371 * lib/gdb.exp (skip_d_tests): New proc.
6373 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6375 * gdb.btrace/delta.exp: Check reverse stepi.
6376 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
6377 * gdb.btrace/finish.exp: New.
6378 * gdb.btrace/next.exp: New.
6379 * gdb.btrace/nexti.exp: New.
6380 * gdb.btrace/record_goto.c: Add comments.
6381 * gdb.btrace/step.exp: New.
6382 * gdb.btrace/stepi.exp: New.
6383 * gdb.btrace/multi-thread-step.c: New.
6384 * gdb.btrace/multi-thread-step.exp: New.
6385 * gdb.btrace/rn-dl-bind.c: New.
6386 * gdb.btrace/rn-dl-bind.exp: New.
6387 * gdb.btrace/data.c: New.
6388 * gdb.btrace/data.exp: New.
6389 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
6391 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6393 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
6394 * gdb.btrace/exception.exp: Update.
6395 * gdb.btrace/instruction_history.exp: Update.
6396 * gdb.btrace/record_goto.exp: Update.
6397 * gdb.btrace/tailcall.exp: Update.
6398 * gdb.btrace/unknown_functions.exp: Update.
6399 * gdb.btrace/delta.exp: New.
6401 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6403 * gdb.btrace/record_goto.exp: Add backtrace test.
6404 * gdb.btrace/tailcall.exp: Add backtrace test.
6406 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6408 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
6409 * gdb.btrace/record_goto.c: New.
6410 * gdb.btrace/record_goto.exp: New.
6411 * gdb.btrace/x86-record_goto.S: New.
6413 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6415 * gdb.btrace/function_call_history.exp: Update tests.
6416 * gdb.btrace/instruction_history.exp: Update tests.
6418 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6420 * gdb.btrace/function_call_history.exp: Fix expected field
6421 order for "record function-call-history".
6422 Add new tests for "record function-call-history /c".
6423 * gdb.btrace/exception.cc: New.
6424 * gdb.btrace/exception.exp: New.
6425 * gdb.btrace/tailcall.exp: New.
6426 * gdb.btrace/x86-tailcall.S: New.
6427 * gdb.btrace/x86-tailcall.c: New.
6428 * gdb.btrace/unknown_functions.c: New.
6429 * gdb.btrace/unknown_functions.exp: New.
6430 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
6432 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6434 * gdb.btrace/instruction_history.exp: Update.
6435 * gdb.btrace/function_call_history.exp: Update.
6437 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6439 * gdb.btrace/function_call_history.exp: Fix expected function
6441 * gdb.btrace/instruction_history.exp: Initialize traced.
6442 Remove traced_functions.
6444 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6446 * gdb.btrace/function_call_history.exp: Update
6447 * gdb.btrace/instruction_history.exp: Update.
6449 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6451 * gdb.btrace/enable.exp: Update expected text.
6453 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
6455 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
6458 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
6460 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
6462 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6464 * lib/gdb.exp (supports_process_record): Return true for
6465 arm*-linux*. (supports_reverse): Likewise.
6467 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
6471 * gdb.python/py-type.c: Enhance test case.
6472 * gdb.python/py-value-cc.cc: Likewise
6473 * gdb.python/py-type.exp: Add new tests.
6474 * gdb.python/py-value-cc.exp: Likewise
6476 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
6477 Pedro Alves <palves@redhat.com>
6479 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
6481 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
6482 references to ${name}_start by references to ${name}.
6484 2014-01-10 Joel Brobecker <brobecker@adacore.com>
6486 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
6488 2014-01-10 Joel Brobecker <brobecker@adacore.com>
6490 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
6492 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
6493 Pedro Alves <palves@redhat.com>
6495 * gdb.mi/mi-info-os.exp: Connect to the target with
6498 2014-01-08 Pedro Alves <palves@redhat.com>
6500 * gdb.threads/reconnect-signal.c: New file.
6501 * gdb.threads/reconnect-signal.exp: New file.
6503 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6505 * gdb.base/source-dir.exp: New file.
6507 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6509 * gdb.ada/mi_interface: New testcase.
6511 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6513 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
6514 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
6515 gdb.ada/pp-rec-component/pck.ads: New files.
6517 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6519 * gdb.python/py-pp-integral.c: New file.
6520 * gdb.python/py-pp-integral.py: New file.
6521 * gdb.python/py-pp-integral.exp: New file.
6523 For older changes see ChangeLog-1993-2013.
6529 ;; version-control: never
6532 Copyright 2014-2015 Free Software Foundation, Inc.
6533 Copying and distribution of this file, with or without modification,
6534 are permitted provided the copyright notice and this notice are preserved.