1 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
5 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
7 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
9 (continue_handler): Likewise.
11 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
13 * gdb.server/solib-list.exp: Remove is_remote check.
14 Pass shlib= to gdb_compile. Don't link shared library with
15 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
16 Run binary filename through "readlink -f" on the target.
18 2016-04-08 Pedro Alves <palves@redhat.com>
20 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
21 interpreter filename as argument to gdbserver_spawn.
22 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
23 Return empty if $last_loaded_file does not exist.
25 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
27 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
28 * gdb.base/jit-main.c: Use exit after usage.
30 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
32 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
33 GDBHISTSIZE prior to the tests.
34 * gdb.base/gdbinit-history.exp: Likewise.
36 2016-04-07 Pedro Alves <palves@redhat.com>
38 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
39 instead of build_executable. Use gdb_load_shlibs.
41 2016-04-07 Yao Qi <yao.qi@linaro.org>
43 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
46 2016-04-07 Yao Qi <yao.qi@linaro.org>
48 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
49 number instead of the comments on some line.
51 2016-04-06 Don Breazeal <donb@codesourcery.com>
53 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
54 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
56 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
58 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
59 standard_output_file. Remove unused binfile variable.
61 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
63 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
64 * gdb.python/py-mi-objfile.exp: Match "list main" output
67 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
69 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
72 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
74 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
76 * gdb.trace/ftrace.exp: Likewise.
77 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
79 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
80 (gdb_load_shlibs): Copy libraries to test directory when testing
81 natively. Only set solib-search-path if testing remotely.
82 * lib/mi-support.exp (mi_load_shlibs): Likewise.
84 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
86 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
87 gdb_download. Use it even if the target is not remote.
88 * gdb.base/jit.exp (compile_jit_test): Likewise.
89 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
90 output directory if the destination board is local, otherwise use
91 the standard remote_download from DejaGnu.
92 (gdb_download): Remove.
93 (gdb_load_shlibs): Use gdb_remote_download instead of
95 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
96 Use gdb_remote_download instead of gdb_download. Use it even if
97 the target is not remote.
98 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
99 instead of gdb_download.
101 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
103 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
104 (test_insert_delete_modify): Call mi_load_shlibs before trying to
107 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
110 * gdb.base/printcmds.exp: Add artificial arrays tests.
112 2016-03-31 Pedro Alves <palves@redhat.com>
115 * gdb.base/jit-main.c: Include unistd.h.
116 (ATTACH): Define to 0 if not already defined.
117 (wait_for_gdb, mypid): New globals.
118 (WAIT_FOR_GDB): New macro.
119 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
120 some breakpoint locations.
121 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
123 (one_jit_test): Add REATTACH parameter, and handle it. Use
124 continue_to_test_location.
125 (top level): Test attach, and adjusts calls to one_jit_test.
127 2016-03-31 Pedro Alves <palves@redhat.com>
130 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
131 BINSUFFIX parameter, and handle it.
132 (top level): Adjust calls compile_jit_test.
134 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
137 * gdb.python/py-mi-events-gdb.py: New file.
138 * gdb.python/py-mi-events.c: New file.
139 * gdb.python/py-mi-events.exp: New file.
141 2016-03-30 Yao Qi <yao.qi@linaro.org>
143 * gdb.reverse/until-precsave.exp: Match function name only.
144 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
145 Move malloc to a condition block.
146 * gdb.reverse/until-reverse.exp: Match function name only.
148 2016-03-29 Marcin KoĆcielnicki <koriakin@0x04.net>
150 * gdb.trace/ftrace.exp: Set arg0exp for s390.
151 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
152 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
153 variable for GPR 0 instead of assuming it is register 0.
154 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
155 * lib/trace-support.exp: Add s390 registers.
157 2016-03-29 Yao Qi <yao.qi@linaro.org>
159 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
161 2016-03-24 Yao Qi <yao.qi@linaro.org>
163 * gdb.reverse/break-reverse.exp: Add quotation mark in the
166 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
168 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
169 maintaining separate logic for constructing the output path.
171 2016-03-16 Don Breazeal <donb@codesourcery.com>
173 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
174 Retry fork and waitpid on interrupted system call errors.
175 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
176 Use with_timeout_factor to increase timeout by factor of 10.
178 2016-03-15 Don Breazeal <donb@codesourcery.com>
180 * gdb.cp/scope-err.cc: New test program.
181 * gdb.cp/scope-err.exp: New test script.
182 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
183 lines and "set breakpoint here" comment.
184 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
185 Fixed some whitespace and format issues.
186 * gdb.mi/mi-linespec-err-cp.cc: New test program.
187 * gdb.mi/mi-linespec-err-cp.exp: New test script.
189 2016-03-15 Doug Evans <dje@google.com>
191 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
192 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
193 All callers updated. Add tests for enums, mixed flags register.
195 2016-03-15 Doug Evans <dje@google.com>
197 * gdb.base/skip.c (main): Call test_skip_file_and_function.
198 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
200 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
202 * gdb.base/default.exp: Add $_as_string to the list of expected
203 convenience functions.
205 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
207 * gdb.base/maint.exp: New tests for 'maint info line-table'.
209 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
211 * gdb.python/py-as-string.exp: New file.
212 * gdb.python/py-as-string.c: New file.
214 2016-03-09 Pedro Alves <palves@redhat.com>
216 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
217 signal" -> "Thread NN received signal" output change.
218 * gdb.threads/ia64-sigill.exp: Likewise.
219 * gdb.threads/linux-dp.exp: Likewise.
220 * gdb.threads/manythreads.exp: Likewise.
221 * gdb.threads/pending-step.exp: Likewise.
222 * gdb.threads/print-threads.exp: Likewise.
223 * gdb.threads/sigstep-threads.exp: Likewise.
224 * gdb.threads/staticthreads.exp: Likewise.
225 * gdb.threads/tls.exp: Likewise.
227 2016-03-09 Pedro Alves <palves@redhat.com>
229 * gdb.base/command-line-input.exp: New file.
231 2016-03-09 Marcin KoĆcielnicki <koriakin@0x04.net>
233 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
234 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
235 * gdb.trace/pending.exp: Accept leading dot before function name.
236 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
237 * lib/trace-support.exp: Set registers for ppc.
239 2016-03-09 Marcin KoĆcielnicki <koriakin@0x04.net>
241 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
242 use it for disassembly; accept .main in addition to main in backtrace.
244 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
245 Marcin KoĆcielnicki <koriakin@0x04.net>
247 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
248 (gdb_recursion_test_ptr): New global variable.
249 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
253 2016-03-09 Marcin KoĆcielnicki <koriakin@0x04.net>
255 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
258 2016-03-09 Marcin KoĆcielnicki <koriakin@0x04.net>
260 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
261 (bar): Add bar_start_lbl label.
262 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
263 of foo/bar for emitting DWARF and tracing.
265 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
267 * analyze-racy-logs.py: Set executable bit.
269 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
271 * Makefile.in (DEFAULT_RACY_ITER): New variable.
272 (CHECK_TARGET_TMP): Likewise.
273 (check-single-racy): New rule.
274 (check-parallel-racy): Likewise.
275 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
276 (do-check-parallel-racy): New rule.
277 (check-racy/%.exp): Likewise.
278 * README (Racy testcases): New section.
279 * analyze-racy-logs.py: New file.
281 2016-03-03 Doug Evans <dje@google.com>
283 * gdb.base/skip.exp: Use with_test_prefix.
285 2016-03-03 Yao Qi <yao.qi@linaro.org>
287 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
288 Invoke step_over_syscall "clone" and break_cond_on_syscall
290 * gdb.base/step-over-clone.c: New file.
292 2016-03-03 Yao Qi <yao.qi@linaro.org>
294 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
297 2016-03-03 Yao Qi <yao.qi@linaro.org>
299 * gdb.base/disp-step-fork.c: Rename to ...
300 * gdb.base/step-over-fork.c: ... it. New file.
301 * gdb.base/disp-step-vfork.c: Rename to ...
302 * gdb.base/step-over-vfork.c: ... it. New file.
303 * gdb.base/disp-step-syscall.exp: Rename to ...
304 * gdb.base/step-over-syscall.exp: ... it. New file.
305 (disp_step_cross_syscall): Rename to ...
306 (step_over_syscall): ... it.
308 2016-03-03 Yao Qi <yao.qi@linaro.org>
310 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
311 If target supports condition evaluation on target, invoke
312 break_cond_on_syscall for fork and vfork.
314 2016-03-03 Yao Qi <yao.qi@linaro.org>
316 * gdb.base/disp-step-syscall.exp: Don't invoke
317 support_displaced_stepping.
318 (disp_step_cross_syscall): Test with displaced stepping off and
321 2016-03-03 Yao Qi <yao.qi@linaro.org>
323 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
326 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
329 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
331 * gdb.fortran/vla-history.exp: Remove breakpoint.
333 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
335 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
337 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
339 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
341 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
343 * gdb.mi/vla.f90: Nullify pointer after declaration.
345 2016-03-01 Pedro Alves <palves@redhat.com>
347 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
349 2016-03-01 Pedro Alves <palves@redhat.com>
351 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
352 before anything else.
353 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
355 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
356 before anything else.
357 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
359 2016-03-01 Pedro Alves <palves@redhat.com>
361 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
363 2016-03-01 Yao Qi <yao.qi@linaro.org>
365 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
368 2016-03-01 Yao Qi <yao.qi@linaro.org>
370 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
372 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
374 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
375 manually constructing the output path.
377 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
379 * gdb.arch/s390-stackless.S: New.
380 * gdb.arch/s390-stackless.exp: New.
382 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
384 * gdb.dlang/circular.c: New file.
385 * gdb.dlang/circular.exp: New file.
387 2016-02-26 Yao Qi <yao.qi@linaro.org>
389 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
390 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
393 2016-02-26 Yao Qi <yao.qi@linaro.org>
395 * gdb.reverse/aarch64.c: Rename to ...
396 * gdb.reverse/insn-reverse.c: ... it.
397 * gdb.reverse/aarch64.exp: Rename to ...
398 * gdb.reverse/insn-reverse.exp: ... it.
400 2016-02-26 Yao Qi <yao.qi@linaro.org>
402 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
403 (testcase_ftype): New.
404 (testcases): New array.
406 (main): Call each element in testcases.
407 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
408 (read_testcase): New.
409 Do the tests in a loop.
411 2016-02-25 Yao Qi <yao.qi@linaro.org>
413 * gdb.base/branches.c: Remove.
415 2016-02-25 Marcin KoĆcielnicki <koriakin@0x04.net>
418 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
420 2016-02-25 Marcin KoĆcielnicki <koriakin@0x04.net>
422 * gdb.trace/ftrace.exp: Remove unnecessary target check.
424 2016-02-25 Marcin KoĆcielnicki <koriakin@0x04.net>
426 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
427 change x86_64 call_insn to 'callq'.
429 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
431 * gdb.trace/tfile-avx.c: Move to...
432 * gdb.trace/tracefile-pseudo-reg.c: Here.
433 * gdb.trace/tfile-avx.exp: Move to...
434 * gdb.trace/tracefile-pseudo-reg.exp: Here.
436 2016-02-24 Gary Benson <gbenson@redhat.com>
438 * gdb.base/attach-pie-noexec.exp: Do not expect an error
441 2016-02-23 Doug Evans <dje@google.com>
443 * gdb.base/skip.c (test_skip): New function.
444 (end_test_skip_file_and_function): New function.
445 (test_skip_file_and_function): New function.
446 * gdb.base/skip1.c (test_skip): New function.
447 (skip1_test_skip_file_and_function): New function.
448 * gdb.base/skip.exp: Add tests for new skip options.
449 * gdb.base/skip-solib.exp: Update expected output.
450 * gdb.perf/skip-command.cc: New file.
451 * gdb.perf/skip-command.exp: New file.
452 * gdb.perf/skip-command.py: New file.
454 2016-02-22 Marcin KoĆcielnicki <koriakin@0x04.net>
456 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
457 info registers pattern.
459 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
461 * lib/future.exp: Add D support.
462 (gdb_find_gdc): New proc.
463 (gdb_default_target_compile): Add D support.
465 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
467 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
469 (trace_speed_test): Determine the iteration count for a time
470 between 15..30 seconds.
472 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
474 * gdb.arch/i386-mpx-sigsegv.c: New file.
475 * gdb.arch/i386-mpx-sigsegv.exp: New file.
476 * gdb.arch/i386-mpx-simple_segv.c: New file.
477 * gdb.arch/i386-mpx-simple_segv.exp: New file.
479 2016-02-18 Yao Qi <yao.qi@linaro.org>
481 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
482 Don't call setup_kfail.
484 2016-02-18 Yao Qi <yao.qi@linaro.org>
486 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
487 Set "set breakpoint condition-evaluation" per $cond_bp_target.
489 2016-02-16 Doug Evans <dje@google.com>
491 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
492 * gdb.base/skip1.c: Ditto.
493 * gdb.base/skip.exp: Whitespace cleanup.
495 2016-02-16 Don Breazeal <donb@codesourcery.com>
498 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
499 Remove kfail for PR remote/19496.
501 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
503 * lib/gdb.exp (standard_temp_file): Return a path specific to
504 the runtest invocation.
506 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
508 * gdb.trace/save-trace.exp: Change relative path to be in the
509 standard output directory.
511 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
513 * gdb.arch/i386-prologue.c: Add missing prototypes.
515 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
517 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
518 * gdb.arch/i386-prologue.exp: Likewise.
519 * gdb.arch/i386-size.exp: Likewise.
521 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
523 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
524 define object file path.
525 * gdb.btrace/gcore.exp: Use standard_output_file to define core
527 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
528 standard_output_file to define binfile.
530 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
532 Fix compatibility with recent gfortran-5.3.1.
533 * gdb.fortran/vla-history.exp (print vla1 allocated)
534 (print vla2 allocated, print $2, print $3): Remove
535 (print $4): Rename to ...
536 (print $2): ... here.
537 (print $9): Rename to ...
538 (print $5): ... here.
539 (print $10): Rename to ...
540 (print $6): ... here.
541 * gdb.fortran/vla.f90: Add pvla initialization.
543 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
545 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
547 * gdb.fortran/vla-value-sub.exp: Likewise.
549 2016-02-12 Marcin KoĆcielnicki <koriakin@0x04.net>
551 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
553 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
555 * i386-biarch-core.exp: Define corefile using
556 standard_output_file.
558 2016-02-12 Yao Qi <yao.qi@linaro.org>
560 * gdb.arch/arm-single-step-kernel-helper.c: New.
561 * gdb.arch/arm-single-step-kernel-helper.exp: New.
563 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
565 * gdb.btrace/tailcall-only.exp: New.
566 * gdb.btrace/tailcall-only.c: New.
567 * gdb.btrace/x86_64-tailcall-only.S: New.
568 * gdb.btrace/i686-tailcall-only.S: New.
570 2016-02-11 Pedro Alves <palves@redhat.com>
572 * README (Parallel testing): Add missing double quotes.
574 2016-02-11 Pedro Alves <palves@redhat.com>
576 * README (Parallel testing): New section.
577 (GDB_PARALLEL): Rewrite.
578 (FORCE_PARALLEL): Document.
580 2016-02-11 Marcin KoĆcielnicki <koriakin@0x04.net>
582 * gdb.trace/tfile-avx.c: New test.
583 * gdb.trace/tfile-avx.exp: New test.
585 2016-02-09 Keith Seitz <keiths@redhat.com>
588 * gdb.base/infcall-exec.c: New file.
589 * gdb.base/infcall-exec2.c: New file.
590 * gdb.base/infcall-exec.exp: New file.
592 2016-02-09 Keith Seitz <keiths@redhat.com>
594 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
595 (toplevel): Call test_bkpt_address.
597 2016-02-09 Keith Seitz <keiths@redhat.com>
600 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
601 (toplevel): Call test_bkpt_address.
603 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
605 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
607 * configure: Regenerate.
609 2016-02-09 Pedro Alves <palves@redhat.com>
612 * gdb.base/execl-update-breakpoints.c (some_function): New
615 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
616 Tighten expected GDB output.
618 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
620 * Makefile.in (ALL_SUBDIRS): Remove.
621 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
622 (distclean maintainer-clean realclean): Likewise.
623 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
624 * configure: Regenerate.
625 * gdb.ada/Makefile.in: Delete.
626 * gdb.arch/Makefile.in: Likewise.
627 * gdb.asm/Makefile.in: Likewise.
628 * gdb.base/Makefile.in: Likewise.
629 * gdb.btrace/Makefile.in: Likewise.
630 * gdb.cell/Makefile.in: Likewise.
631 * gdb.compile/Makefile.in: Likewise.
632 * gdb.cp/Makefile.in: Likewise.
633 * gdb.disasm/Makefile.in: Likewise.
634 * gdb.dlang/Makefile.in: Likewise.
635 * gdb.dwarf2/Makefile.in: Likewise.
636 * gdb.fortran/Makefile.in: Likewise.
637 * gdb.gdb/Makefile.in: Likewise.
638 * gdb.go/Makefile.in: Likewise.
639 * gdb.guile/Makefile.in: Likewise.
640 * gdb.java/Makefile.in: Likewise.
641 * gdb.linespec/Makefile.in: Likewise.
642 * gdb.mi/Makefile.in: Likewise.
643 * gdb.modula2/Makefile.in: Likewise.
644 * gdb.multi/Makefile.in: Likewise.
645 * gdb.objc/Makefile.in: Likewise.
646 * gdb.opencl/Makefile.in: Likewise.
647 * gdb.opt/Makefile.in: Likewise.
648 * gdb.pascal/Makefile.in: Likewise.
649 * gdb.perf/Makefile.in: Likewise.
650 * gdb.python/Makefile.in: Likewise.
651 * gdb.reverse/Makefile.in: Likewise.
652 * gdb.server/Makefile.in: Likewise.
653 * gdb.stabs/Makefile.in: Likewise.
654 * gdb.threads/Makefile.in: Likewise.
655 * gdb.trace/Makefile.in: Likewise.
656 * gdb.xml/Makefile.in: Likewise.
657 * lib/gdb.exp (make_gdb_parallel_path): Add check for
659 (standard_output_file): Remove check for GDB_PARALLEL, always
660 return path in outputs/$subdir/$testname.
662 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
664 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
665 (site.exp): Assign abs_srcdir to tcl's srcdir.
667 2016-02-04 Yao Qi <yao.qi@linaro.org>
669 * gdb.base/foll-exec-mode.c: Include limits.h.
670 (main): Add parameters argc and argv. Get directory from
672 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
674 * gdb.base/foll-exec.c: Include limits.h.
675 (main): Add parameters argc and argv.
676 Get directory from argv[0].
677 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
678 Adjust tests on the number of lines as source code changed.
679 * gdb.base/foll-vfork-exit.c: Include limits.h.
680 (main): Add one line of statement before vfork.
681 * gdb.base/foll-vfork.c: Include limits.h and string.h.
682 (main): Add parameters argc and argv. Get directory from
684 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
685 (setup_gdb): Set tbreak to skip some source lines.
686 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
687 (main): Add parameters argc and argv. Get directory from
689 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
691 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
692 (main): Add parameters argc and argv. Get directory from
694 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
697 2016-02-01 Doug Evans <dje@google.com>
699 * gdb.base/skip.exp: Clean up multiple references to same test name.
701 2016-02-01 Pedro Alves <palves@redhat.com>
704 * gdb.threads/forking-threads-plus-breakpoint.exp
705 (displaced_stepping_supported): New global.
706 (probe_displaced_stepping_support): New procedure.
707 (do_test): Add 'displaced' parameter, and use it.
708 (top level): Check for displaced stepping support. Add displaced
709 stepping on/off testing axis.
711 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
713 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
714 pointer. Don't perform further tests on the unassociated pointer
715 if the first test fails.
717 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
719 * gdb.base/max-value-size.c: New file.
720 * gdb.base/max-value-size.exp: New file.
721 * gdb.base/huge.exp: Disable max-value-size for this test.
723 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
725 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
727 2016-01-28 Yao Qi <yao.qi@linaro.org>
729 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
731 2016-01-25 Pedro Alves <palves@redhat.com>
734 * gdb.base/fork-running-state.c: New file.
735 * gdb.base/fork-running-state.exp: New file.
737 2016-01-25 Pedro Alves <palves@redhat.com>
740 * gdb.base/catch-fork-kill.c: New file.
741 * gdb.base/catch-fork-kill.exp: New file.
743 2016-01-25 Pedro Alves <palves@redhat.com>
745 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
746 Delete, moved to lib/gdb.exp.
747 * gdb.threads/forking-threads-plus-breakpoint.exp
748 (foreach_with_prefix): Likewise.
749 * gdb.threads/process-dies-while-handling-bp.exp
750 (foreach_with_prefix): Likewise.
751 * lib/gdb.exp (foreach_with_prefix): New procedure.
753 2016-01-25 Marcin KoĆcielnicki <koriakin@0x04.net>
755 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
756 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
758 2016-01-23 Marcin KoĆcielnicki <koriakin@0x04.net>
760 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
763 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
764 Pedro Alves <palves@redhat.com>
766 Fix testsuite compatibility with Guile.
767 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
770 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
772 Fix testsuite compatibility with Guile.
773 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
774 (thread 1): New test for backtrace through signal handler.
776 2016-01-22 Yao Qi <yao.qi@linaro.org>
779 * gdb.base/multi-forks.c: Include
780 ../lib/unbuffer_output.c
781 (main): Call gdb_unbuffer_output.
783 2016-01-21 Doug Evans <dje@google.com>
785 * lib/ada.exp (gdb_compile_ada): Fix typo.
787 2016-01-21 Joel Brobecker <brobecker@adacore.com>
789 * gdb.base/break-fun-addr.exp: New file.
790 * gdb.base/break-fun-addr1.c: New file.
791 * gdb.base/break-fun-addr2.c: New file.
793 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
795 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
796 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
799 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
801 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
802 when GDB can not set the vector return value. Add more comments
805 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
807 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
810 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
812 * Makefile.in (DO_RUNTEST): Add --status and update usages.
814 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
816 * Makefile.in (check-single): Pass --status to runtest.
817 (check/%.exp): Likewise.
819 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
821 * Makefile.in (check-parallel): Propagate return code from make
824 2016-01-19 Marcin KoĆcielnicki <koriakin@0x04.net>
826 * gdb.trace/ftrace.exp: Fix expected message on continue.
827 * gdb.trace/pending.exp: Fix expected message on continue.
828 * gdb.trace/trace-break.exp: Fix expected message on continue.
830 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
832 * lib/gdb.exp (gdb_test): Remove unused global references.
834 2016-01-18 Pedro Alves <palves@redhat.com>
836 * gdb.base/async-shell.exp: Adjust expected output.
837 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
838 * gdb.base/siginfo-thread.exp: Adjust expected output.
839 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
840 * gdb.java/jnpe.exp: Adjust expected output.
841 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
842 * gdb.threads/continue-pending-status.exp: Adjust expected output.
843 * gdb.threads/leader-exit.exp: Adjust expected output.
844 * gdb.threads/manythreads.exp: Adjust expected output.
845 * gdb.threads/pthreads.exp: Adjust expected output.
846 * gdb.threads/schedlock.exp: Adjust expected output.
847 * gdb.threads/siginfo-threads.exp: Adjust expected output.
848 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
850 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
852 * gdb.threads/sigthread.exp: Adjust expected output.
853 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
855 2016-01-18 Yao Qi <yao.qi@linaro.org>
857 * gdb.guile/scm-section-script.c: Replace @progbits with
859 * gdb.python/py-section-script.c: Likewise.
861 2016-01-15 Pedro Alves <palves@redhat.com>
863 * gdb.multi/tids.exp: Test star wildcard ranges.
865 2016-01-15 Pedro Alves <palves@redhat.com>
867 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
868 command from "thread apply" invocation.
869 (thr_apply_info_thr_invalid): Default the expected output to the
871 (top level): Add tests that use convenience variables. Add tests
872 for "thread apply" with a valid TID list, but missing the command.
874 2016-01-13 Pedro Alves <palves@redhat.com>
876 * gdb.base/default.exp: Expect $_gthread as well.
877 * gdb.multi/tids.exp: Test $_gthread.
878 * gdb.threads/thread-specific.exp: Test $_gthread.
880 2016-01-13 Pedro Alves <palves@redhat.com>
882 * gdb.multi/tids.exp: Test "info threads -gid".
884 2016-01-13 Pedro Alves <palves@redhat.com>
886 * gdb.multi/tids.exp: Test InferiorThread.global_num and
888 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
890 2016-01-07 Pedro Alves <palves@redhat.com>
892 * gdb.base/break.exp: Adjust to output changes.
893 * gdb.base/hbreak2.exp: Likewise.
894 * gdb.base/sepdebug.exp: Likewise.
895 * gdb.base/watch_thread_num.exp: Likewise.
896 * gdb.linespec/keywords.exp: Likewise.
897 * gdb.multi/info-threads.exp: Likewise.
898 * gdb.threads/thread-find.exp: Likewise.
899 * gdb.multi/tids.c: New file.
900 * gdb.multi/tids.exp: New file.
902 2016-01-13 Pedro Alves <palves@redhat.com>
904 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
906 2016-01-13 Pedro Alves <palves@redhat.com>
908 * gdb.base/default.exp: Expect $_inferior as well.
909 * gdb.multi/base.exp: Test $_inferior.
911 2016-01-13 Pedro Alves <palves@redhat.com>
914 * gdb.base/catch-signal-siginfo-cond.c: New file.
915 * gdb.base/catch-signal-siginfo-cond.exp: New file.
917 2016-01-12 Josh Stone <jistone@redhat.com>
918 Philippe Waroquiers <philippe.waroquiers@skynet.be>
920 * gdb.base/catch-syscall.c (do_execve): New variable.
921 (main): Conditionally trigger an execve.
922 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
923 (test_catch_syscall_execve): New, check entry/return across execve.
924 (do_syscall_tests): Call test_catch_syscall_execve.
926 2016-01-12 Pedro Alves <palves@redhat.com>
928 * gdb.base/random-signal.exp (do_test): New procedure, with body
929 of testcase moved in.
931 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
932 Pedro Alves <palves@redhat.com>
934 * gdb.base/funcargs.exp (finish from indirectly called function):
935 Reintroduce the case for 'First'.
937 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
938 Pedro Alves <palves@redhat.com>
940 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
941 (tcatch_vfork_then_child_follow_exec)
942 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
945 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
947 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
948 and repeats to unlimited.
949 * gdb.python/py-value.exp: Likewise.
950 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
951 and repeats to unlimited.
953 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
955 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
956 and reordering the functions.
957 * gdb.multi/hangout.c: Likewise.
958 * gdb.multi/hello.c: Likewise.
960 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
962 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
964 (SingleStatisticTestResult.report): Use dict.keys instead of
967 2016-01-06 Pedro Alves <palves@redhat.com>
969 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
971 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
973 * gdb.btrace/dlopen.exp: New.
974 * gdb.btrace/dlopen.c: New.
975 * gdb.btrace/dlopen-dso.c: New.
977 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
979 * lib/gdb.exp (gdb_test): Update comments to clarify that the
980 PATTERN argument is optional.
982 2015-12-24 Joel Brobecker <brobecker@adacore.com>
984 * lib/ada.exp (target_compile_ada_from_dir): New function.
985 (gdb_compile_ada): Reimplement avoiding the use of project files.
986 * gdb.ada/gnat_ada.gpr: Delete.
987 * gdb.ada/cond_lang.exp: Adjust test to make path before
989 * gdb.ada/small_reg_param.exp: Likewise.
991 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
993 * gdb.base/foll-vork.exp: Remove HP-UX special case.
995 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
997 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1000 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1002 * gdb.base/break.exp: Remove dead code.
1003 * gdb.base/sepdebug.exp: Likewise.
1005 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1007 * gdb.asm/asm-source.exp: Remove HP-UX references.
1008 * gdb.base/annota1.exp: Likewise.
1009 * gdb.base/annota3.exp: Likewise.
1010 * gdb.base/attach.exp: Likewise.
1011 * gdb.base/bigcore.exp: Likewise.
1012 * gdb.base/break.exp: Likewise.
1013 * gdb.base/call-ar-st.exp: Likewise.
1014 * gdb.base/callfuncs.exp: Likewise.
1015 * gdb.base/catch-fork-static.exp: Likewise.
1016 * gdb.base/display.exp: Likewise.
1017 * gdb.base/foll-exec-mode.exp: Likewise.
1018 * gdb.base/foll-exec.exp: Likewise.
1019 * gdb.base/foll-fork.exp: Likewise.
1020 * gdb.base/foll-vfork.exp: Likewise.
1021 * gdb.base/funcargs.exp: Likewise.
1022 * gdb.base/hbreak2.exp: Likewise.
1023 * gdb.base/inferior-died.exp: Likewise.
1024 * gdb.base/interrupt.exp: Likewise.
1025 * gdb.base/multi-forks.exp: Likewise.
1026 * gdb.base/nodebug.exp: Likewise.
1027 * gdb.base/sepdebug.exp: Likewise.
1028 * gdb.base/solib1.c: Likewise.
1029 * gdb.base/step-test.exp: Likewise.
1030 * gdb.mi/non-stop.c: Likewise.
1031 * gdb.mi/pthreads.c: Likewise.
1032 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1033 * gdb.threads/pthreads.c: Likewise.
1034 * gdb.threads/staticthreads.exp: Likewise.
1035 * lib/future.exp: Likewise.
1036 * lib/gdb.exp: Likewise.
1037 * gdb.base/so-indr-cl.c: Remove.
1038 * gdb.base/so-indr-cl.exp: Likewise.
1039 * gdb.base/solib.c: Likewise.
1040 * gdb.base/solib.exp: Likewise.
1041 * gdb.base/solib2.c: Likewise.
1043 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1045 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1046 * gdb.base/call-ar-st.exp: Likewise.
1047 * gdb.base/callfuncs.exp: Likewise.
1048 * gdb.base/condbreak.exp: Likewise.
1049 * gdb.base/constvars.exp: Likewise.
1050 * gdb.base/hbreak2.exp: Likewise.
1051 * gdb.base/langs.exp: Likewise.
1052 * gdb.base/list.exp: Likewise.
1053 * gdb.base/long_long.exp: Likewise.
1054 * gdb.base/ptype.exp: Likewise.
1055 * gdb.base/scope.exp: Likewise.
1056 * gdb.base/signals.exp: Likewise.
1057 * gdb.base/so-impl-ld.exp: Likewise.
1058 * gdb.base/varargs.exp: Likewise.
1059 * gdb.base/volatile.exp: Likewise.
1060 * gdb.base/whatis.exp: Likewise.
1061 * gdb.cp/cplusfuncs.exp: Likewise.
1062 * gdb.cp/inherit.exp: Likewise.
1063 * gdb.cp/local.exp: Likewise.
1064 * gdb.cp/member-ptr.exp: Likewise.
1065 * gdb.cp/method.exp: Likewise.
1066 * gdb.cp/overload.exp: Likewise.
1067 * gdb.cp/templates.exp: Likewise.
1068 * gdb.stabs/weird.exp: Likewise.
1069 * lib/compiler.c: Likewise.
1070 * lib/compiler.cc: Likewise.
1071 * lib/cp-support.exp: Likewise.
1072 * lib/gdb.exp: Likewise.
1074 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1076 * configure.ac: Remove HP-UX case.
1077 * configure: Regenerate.
1079 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1081 * lib/gdb.exp (gdb_compile): Add function doc.
1083 2015-12-17 Pedro Alves <palves@redhat.com>
1086 * gdb.multi/info-threads.exp: New file.
1088 2015-12-15 Yao Qi <yao.qi@linaro.org>
1090 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1093 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1095 * gdb.base/history-duplicates.exp: Skip if no readline support.
1097 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1099 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1101 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1103 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1105 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1107 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1108 ctrl-C if nointerrupts target property is set.
1109 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1110 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1111 * gdb.base/paginate-bg-execution.exp: Likewise.
1112 * gdb.base/paginate-execution-startup.exp: Likewise.
1113 * gdb.base/random-signal.exp: Likewise.
1114 * gdb.base/range-stepping.exp: Likewise.
1115 * gdb.cp/annota2.exp: Likewise.
1116 * gdb.cp/annota3.exp: Likewise.
1117 * gdb.gdb/selftest.exp: Likewise.
1118 * gdb.threads/continue-pending-status.exp: Likewise.
1119 * gdb.threads/leader-exit.exp: Likewise.
1120 * gdb.threads/manythreads.exp: Likewise.
1121 * gdb.threads/pthreads.exp: Likewise.
1122 * gdb.threads/schedlock.exp: Likewise.
1123 * gdb.threads/sigthread.exp: Likewise.
1125 2015-12-11 Don Breazeal <donb@codesourcery.com>
1127 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1129 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1130 * gdb.base/foll-exec.exp (main): Enable for target remote.
1131 * gdb.base/foll-fork.exp (main): Likewise.
1132 * gdb.base/foll-vfork.exp (main): Likewise.
1133 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1134 (proc continue_to_exit_bp_loc): Use clean_restart.
1135 * gdb.base/pie-execl.exp (main): Disable for target remote.
1136 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1137 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1138 * gdb.threads/execl.exp (main): Likewise.
1139 * gdb.threads/fork-child-threads.exp (main): Likewise.
1140 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1142 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1144 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1145 pid.tid style ptids, instead of just tid.
1146 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1147 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1148 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1149 ptids, instead of just tid.
1151 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1153 * gdb.base/list.exp (test_list_forward): Add end of file error
1155 (test_repeat_list_command): Add end of file error test.
1156 (test_list_backwards): Add beginning of file error test.
1158 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1160 * gdb.base/list.exp (test_list_invalid_args): New function,
1161 defined, and called.
1163 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1165 * gdb.base/list.exp (test_list): Make test names unique.
1167 2015-12-11 Yao Qi <yao.qi@linaro.org>
1169 * gdb.base/coremaker2.c: Remove.
1171 2015-12-10 Pedro Alves <palves@redhat.com>
1173 * gdb.multi/base.exp: Remove stale "spaces" references.
1175 2015-12-10 Pedro Alves <palves@redhat.com>
1177 * gdb.multi/base.exp: Don't use nowarnings.
1178 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1179 * gdb.multi/hangout.c: Include stdio.h.
1180 * gdb.multi/hello.c: Include stdlib.h.
1181 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1182 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1183 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1185 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1187 * gdb.dwarf2/dw2-ranges-base.c: New file.
1188 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1189 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1190 support additional line table, and debug ranges generation.
1191 (Dwarf::ranges): New function, generate .debug_ranges.
1192 (Dwarf::lines): Support generating simple line table programs.
1193 (Dwarf::assemble): Initialise new namespace variables.
1195 2015-12-09 Kevin Buettner <kevinb@redhat.com>
1197 * gdb.base/async.exp (proc test_background): Add case for
1198 asynchronous execution not supported.
1200 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
1202 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1203 format and change test names to make them unique.
1205 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1206 Pedro Alves <pedro@redhat.com>
1209 Add checking of floatformats setup on x86_64 hosts.
1210 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1211 (smallval, bigval): New labels/constants.
1212 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1213 float" after loading bigval and smallval.
1215 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1217 * gdb.ada/fun_overload_menu.exp: New testcase.
1218 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1220 2015-12-04 Josh Stone <jistone@redhat.com>
1222 * gdb.base/catch-fork-static.exp: New.
1224 2015-12-03 Yao Qi <yao.qi@linaro.org>
1226 * gdb.base/sizeof.c: Don't include stdio.h and
1227 ../lib/unbuffer_output.c.
1228 (main): New variable 'size' and 'value'. Remove printf and
1229 gdb_unbuffer_output. Assign return value to size and value.
1230 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1232 (check_sizeof): Check the result by printing variable 'size'.
1233 (check_valueof): Check the result by printing variable 'value'.
1235 2015-12-01 Yao Qi <yao.qi@linaro.org>
1237 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1238 for aarch64*-*-linux* target.
1240 2015-11-30 Pedro Alves <palves@redhat.com>
1242 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1244 2015-11-30 Pedro Alves <palves@redhat.com>
1246 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1247 Handle non-stop mode vCont replies.
1249 2015-11-30 Pedro Alves <palves@redhat.com>
1251 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1252 prepare_for_testing. Start gdb with "set non-stop on" appended to
1253 GDBFLAGS. Lax expected stop output.
1255 2015-11-27 Yao Qi <yao.qi@linaro.org>
1257 * gdb.arch/arm-neon.exp: New.
1258 * gdb.arch/arm-neon.c: New.
1260 2015-11-27 Yao Qi <yao.qi@linaro.org>
1262 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1264 2015-11-27 Yao Qi <yao.qi@linaro.org>
1266 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1267 frames-invalid annotation.
1269 2015-11-27 Yao Qi <yao.qi@linaro.org>
1271 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1273 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1275 * gdb.threads/names.exp: New file.
1276 * gdb.threads/names.c: New file.
1277 * README: Mention gdb,no_thread_names.
1279 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1282 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1285 2015-11-24 Pedro Alves <palves@redhat.com>
1288 * gdb.base/display.exp: Expect displays to be sorted in ascending
1289 order. Use multi_line.
1290 * gdb.base/solib-display.exp: Likewise.
1292 2015-11-24 Pedro Alves <palves@redhat.com>
1295 * gdb.base/display.exp: Expect displays to be sorted in ascending
1296 order. Use multi_line.
1297 * gdb.base/solib-display.exp: Likewise.
1299 2015-11-24 Pedro Alves <palves@redhat.com>
1302 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1303 threads in ascending order.
1304 * gdb.base/foll-fork.exp: Likewise.
1305 * gdb.base/foll-vfork.exp: Likewise.
1306 * gdb.base/multi-forks.exp: Likewise.
1307 * gdb.mi/mi-nonstop.exp: Likewise.
1308 * gdb.mi/mi-nsintrall.exp: Likewise.
1309 * gdb.multi/base.exp: Likewise.
1310 * gdb.multi/multi-arch.exp: Likewise.
1311 * gdb.python/py-inferior.exp: Likewise.
1312 * gdb.threads/break-while-running.exp: Likewise.
1313 * gdb.threads/execl.exp: Likewise.
1314 * gdb.threads/gcore-thread.exp: Likewise.
1315 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1316 * gdb.threads/kill.exp: Likewise.
1317 * gdb.threads/linux-dp.exp: Likewise.
1318 * gdb.threads/multiple-step-overs.exp: Likewise.
1319 * gdb.threads/next-bp-other-thread.exp: Likewise.
1320 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1321 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1322 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1323 * gdb.threads/thread-find.exp: Likewise.
1324 * gdb.threads/tls.exp: Likewise.
1325 * lib/mi-support.exp (mi_reverse_list): Delete.
1326 (mi_check_thread_states): No longer reverse list.
1328 2015-11-24 Pedro Alves <palves@redhat.com>
1330 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1333 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1335 * gdb.trace/actions.c: Include trace-common.h.
1336 (main): Add a location for a fast tracepoint.
1337 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1338 the normal tracepoints.
1339 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1341 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1343 * save-trace.exp: Factor out code to these...
1344 (gdb_save_tracepoints): New.
1345 (gdb_load_tracepoints): New.
1346 (do_save_load_test): New.
1348 2015-11-23 Kevin Buettner <kevinb@redhat.com>
1350 * gdb.base/asmlabel.exp: New test.
1351 * gdb.base/asmlabel.c: New test case.
1353 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1355 * gdb.base/wrong_frame_bt_full-main.c: New file.
1356 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1357 * gdb.base/wrong_frame_bt_full.exp: New file.
1359 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1361 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1363 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1365 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
1366 pstate register when comparing registers values in
1367 sparc64-*-linux-gnu targets to avoid spurious differences.
1369 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1371 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
1373 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1375 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1376 as type argument to gdb_compile.
1377 * gdb.base/nested-subp2.exp: Likewise.
1378 * gdb.base/nested-subp3.exp: Likewise.
1380 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1382 * lib/dwarf.exp (_note): Fix left shift of negative value.
1383 * gdb.trace/trace-condition.exp: Likewise.
1385 2015-11-13 Yao Qi <yao.qi@linaro.org>
1387 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1388 comments about d10v.
1389 (test_scalar_returns): Likewise.
1390 * gdb.base/d10v.ld: Remove.
1391 * gdb.base/overlays.exp: Remove the target triplet checking for
1393 * gdb.base/structs.exp (test_struct_returns): Remove the
1394 comments about d10v.
1395 (test_struct_calls): Likewise.
1397 2015-11-13 Yao Qi <yao.qi@linaro.org>
1399 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1400 * gdb.base/gnu_vector.c: Don't include stdio.h.
1401 (main): Don't print res and call add_some_intvecs.
1403 2015-11-11 Marcin KoĆcielnicki <koriakin@0x04.net>
1405 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1408 (func4): Use FAST_TRACEPOINT_LABEL.
1409 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1412 (thread_function): Use FAST_TRACEPOINT_LABEL.
1413 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1415 (marker): Use FAST_TRACEPOINT_LABEL.
1416 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1417 (pendfunc1): Remove.
1418 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1419 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1421 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1422 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1425 (marker): Use FAST_TRACEPOINT_LABEL.
1426 * gdb.trace/trace-common.h: New header.
1427 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1430 (marker): Use FAST_TRACEPOINT_LABEL.
1431 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1433 (thread_function): Use FAST_TRACEPOINT_LABEL.
1435 2015-11-10 Marcin KoĆcielnicki <koriakin@0x04.net>
1437 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1439 * gdb.trace/change-loc.exp: Use global pcreg definition.
1440 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1441 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1443 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1444 * gdb.trace/pending.exp: Likewise.
1445 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1446 * gdb.trace/trace-break.exp: Likewise.
1447 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1449 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1450 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1452 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1454 2015-11-09 Joel Brobecker <brobecker@adacore.com>
1456 * gdb.ada/fin_fun_out: New testcase.
1458 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1460 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1461 value associated with DW_AT_byte_size.
1462 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1463 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1466 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1468 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1469 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1471 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1472 gdb.dwarf2/dw2-canonicalize-type.exp,
1473 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1474 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1475 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1476 provided by gdb_target_symbol_prefix_flags_asm.
1477 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1478 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1479 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1480 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1481 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1482 macros where needed). Use this macro for symbols which require
1483 the prefix provided by SYMBOL_PREFIX.
1485 2015-11-05 Kevin Buettner <kevinb@redhat.com>
1487 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1489 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1490 representing expressions, of more than one list element.
1491 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1492 to prepend linker symbol prefix to f.
1493 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1494 table_1 and table_2.
1495 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1496 Likewise, for f and g.
1497 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1499 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1501 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1502 table_1_ptr and table_2_ptr.
1504 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1505 Joel Brobecker <brobecker@adacore.com>
1507 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1509 2015-11-04 Marcin KoĆcielnicki <koriakin@0x04.net>
1511 * gdb.reverse/s390-mvcle.c: New test.
1512 * gdb.reverse/s390-mvcle.exp: New file.
1513 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1515 2015-11-02 Marcin KoĆcielnicki <koriakin@0x04.net>
1517 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1519 2015-11-02 Marcin KoĆcielnicki <koriakin@0x04.net>
1521 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1523 * gdb.reverse/getresuid-reverse.exp: Likewise.
1524 * gdb.reverse/pipe-reverse.exp: Likewise.
1525 * gdb.reverse/readv-reverse.exp: Likewise.
1526 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1527 * gdb.reverse/time-reverse.exp: Likewise.
1528 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1530 2015-10-30 Yao Qi <yao.qi@linaro.org>
1532 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1533 (empty_cycle): Remove.
1534 (main): Don't call empty_cycle. Don't use watch_count_done.
1535 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1536 empty_cycle. Rewrite the code counting HW watchpoints.
1538 2015-10-30 Marcin KoĆcielnicki <koriakin@0x04.net>
1540 * gdb.reverse/fstatat-reverse.c: New test.
1541 * gdb.reverse/fstatat-reverse.exp: New file.
1542 * gdb.reverse/getresuid-reverse.c: New test.
1543 * gdb.reverse/getresuid-reverse.exp: New file.
1544 * gdb.reverse/pipe-reverse.c: New test.
1545 * gdb.reverse/pipe-reverse.exp: New file.
1546 * gdb.reverse/readv-reverse.c: New test.
1547 * gdb.reverse/readv-reverse.exp: New file.
1548 * gdb.reverse/recvmsg-reverse.c: New test.
1549 * gdb.reverse/recvmsg-reverse.exp: New file.
1550 * gdb.reverse/time-reverse.c: New test.
1551 * gdb.reverse/time-reverse.exp: New file.
1552 * gdb.reverse/waitpid-reverse.c: New test.
1553 * gdb.reverse/waitpid-reverse.exp: New file.
1555 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1557 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1559 2015-10-26 Doug Evans <dje@google.com>
1562 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1563 * gdb.dwarf2/bad-regnum.c: New file.
1564 * gdb.dwarf2/bad-regnum.exp: New file.
1566 2015-10-26 Doug Evans <dje@google.com>
1569 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1572 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1574 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1575 for a change by "Mention language in compile error message".
1577 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1580 * gdb.python/py-type.c (C::a_method): New.
1581 (C::a_const_method): New.
1582 (C::a_static_method): New.
1584 * gdb.python/py-type.exp (test_fields): Test getting fields
1585 from function and method.
1587 2015-10-21 Keven Boell <keven.boell@intel.com>
1589 * gdb.fortran/vla-alloc-assoc.exp: New file.
1590 * gdb.fortran/vla-datatypes.exp: New file.
1591 * gdb.fortran/vla-datatypes.f90: New file.
1592 * gdb.fortran/vla-history.exp: New file.
1593 * gdb.fortran/vla-ptype-sub.exp: New file.
1594 * gdb.fortran/vla-ptype.exp: New file.
1595 * gdb.fortran/vla-sizeof.exp: New file.
1596 * gdb.fortran/vla-sub.f90: New file.
1597 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1598 * gdb.fortran/vla-value-sub-finish.exp: New file.
1599 * gdb.fortran/vla-value-sub.exp: New file.
1600 * gdb.fortran/vla-value.exp: New file.
1601 * gdb.fortran/vla-ptr-info.exp: New file.
1602 * gdb.mi/mi-vla-fortran.exp: New file.
1603 * gdb.mi/vla.f90: New file.
1605 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1607 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1608 of hardwired timeout value.
1610 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1611 Pedro Alves <palves@redhat.com>
1613 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1614 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1616 2015-10-19 Josh Stone <jistone@redhat.com>
1618 * gdb.base/catch-syscall.c: Include <sched.h>.
1619 (unknown_syscall): New variable.
1620 (main): Trigger a vfork and an unknown syscall.
1621 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1622 (unknown_syscall_number): Likewise.
1623 (check_call_to_syscall): Accept an optional syscall pattern.
1624 (check_return_from_syscall): Likewise.
1625 (check_continue): Likewise.
1626 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1627 (test_catch_syscall_skipping_return): New test toggling off 'catch
1628 syscall' to step over the syscall return, then toggling back on.
1629 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1630 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1631 (do_syscall_tests): Call test_catch_syscall_without_args and
1632 test_catch_syscall_mid_vfork.
1633 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1634 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1636 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
1638 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1639 print g_vE): Add new pass patterns.
1640 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1641 print various symbol names for vptr fields.
1643 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1645 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1648 2015-10-12 Yao Qi <yao.qi@linaro.org>
1650 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1652 2015-10-12 Yao Qi <yao.qi@linaro.org>
1654 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1655 is aarch64*-*-linux*.
1657 2015-10-12 Yao Qi <yao.qi@linaro.org>
1659 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1660 (can_relocate_bcond_true): ... it.
1661 (can_relocate_bcond_false): New function.
1663 (can_relocate_bl): Likewise.
1664 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1667 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1669 * gdb.base/nested-addr.c: New file.
1670 * gdb.base/nested-addr.exp: New testcase.
1672 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1674 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1675 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1676 its output. Ignore the output of "record goto begin" and instead
1677 check that GDB is replaying.
1679 2015-10-09 Pedro Alves <palves@redhat.com>
1681 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1682 (top level): Use it in the run with no args test.
1684 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1686 * gdb.dlang/properties.exp: New file.
1688 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1690 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1691 whether or not address 0x1000 is mapped on the target.
1693 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1695 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1698 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1700 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1701 instruction-history test.
1703 2015-09-28 Doug Evans <dje@google.com>
1705 * gdb.base/gcore.c (array_func): Add reference to static_array.
1707 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1709 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1712 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1714 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1715 short or char as base type.
1717 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1719 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1720 to allow any size enum.
1722 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1724 * gdb.ada/array_ptr_renaming.exp: New testcase.
1725 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1726 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1728 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1730 * gdb.trace/ftrace-lock.c: New file.
1731 * gdb.trace/ftrace-lock.exp: New file.
1733 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1735 * gdb.arch/insn-reloc.c: New file.
1736 * gdb.arch/ftrace-insn-reloc.exp: New file.
1738 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1740 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1742 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1743 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1744 * gdb.trace/range-stepping.c: Likewise.
1745 * gdb.trace/trace-break.c: Likewise.
1746 * gdb.trace/trace-mt.c (thread_function): Likewise.
1747 * gdb.trace/ftrace.c (marker): Likewise.
1748 * gdb.trace/trace-condition.c (marker): Likewise.
1749 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1750 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1753 2015-09-18 Doug Evans <xdje42@gmail.com>
1755 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1756 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1758 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1760 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1763 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1765 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1766 the pending breakpoint. Remove timeout override for "Run till
1767 MI pending breakpoint on pendfunc3 on thread 2" test.
1769 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1771 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1774 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1776 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1777 in breakpoint filename pattern.
1779 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1781 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1783 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1785 * gdb.linespec/explicit.exp: Check for readline support for
1786 tab-completion tests. Fix obvious typo.
1788 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1790 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1793 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1795 * gdb.btrace/non-stop.c: New.
1796 * gdb.btrace/non-stop.exp: New.
1798 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1799 Yao Qi <yao.qi@linaro.org>
1801 * gdb.trace/trace-condition.c: New file.
1802 * gdb.trace/trace-condition.exp: New file.
1804 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
1806 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1807 for testing bytecode compilation.
1809 2015-09-16 Pedro Alves <palves@redhat.com>
1810 Sandra Loosemore <sandra@codesourcery.com>
1812 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1813 (SECONDS): Redefine.
1814 (main): Call pthread_kill and alarm early.
1815 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1817 (test): If the target can't hardware step and doesn't support
1818 displaced stepping, increase the timeout.
1820 2015-09-16 Pedro Alves <palves@redhat.com>
1822 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1823 (enable_debug): New procedures.
1824 (test): Use them. Bail out if waiting for threads fails.
1825 (top level): Bail out if a test fails.
1827 2015-09-16 Yao Qi <yao.qi@linaro.org>
1829 * gdb.asm/asm-source.exp: Set asm-arch for
1830 aarch64*-*-* target.
1831 * gdb.asm/aarch64.inc: New file.
1833 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1835 * gdb.ada/array_of_variable_length.exp: New testcase.
1836 * gdb.ada/array_of_variable_length/foo.adb: New file.
1837 * gdb.ada/array_of_variable_length/pck.adb: New file.
1838 * gdb.ada/array_of_variable_length/pck.ads: New file.
1840 2015-09-15 Doug Evans <dje@google.com>
1842 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1843 of function static local variable.
1845 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1847 * gdb.threads/tls-so_extern.exp: New test file.
1848 * gdb.threads/tls-so_extern.c: New test file.
1849 * gdb.threads/tls-so_extern_main.c: New test file.
1851 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1853 * gdb.opt/solib-intra-step-lib.c: New file.
1854 * gdb.opt/solib-intra-step-main.c: New file.
1855 * gdb.opt/solib-intra-step.exp: New file.
1857 2015-09-15 Pedro Alves <palves@redhat.com>
1859 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1860 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1862 2015-09-14 Pedro Alves <palves@redhat.com>
1864 * gdb.base/hook-stop-continue.c: Delete.
1865 * gdb.base/hook-stop-continue.exp: Delete.
1866 * gdb.base/hook-stop-frame.c: Delete.
1867 * gdb.base/hook-stop-frame.exp: Delete.
1868 * gdb.base/hook-stop.c: New file.
1869 * gdb.base/hook-stop.exp: New file.
1871 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1873 * gdb.ada/access_to_packed_array.exp: New testcase.
1874 * gdb.ada/access_to_packed_array/foo.adb: New file.
1875 * gdb.ada/access_to_packed_array/pack.adb: New file.
1876 * gdb.ada/access_to_packed_array/pack.ads: New file.
1878 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1880 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1883 2015-09-11 Don Breazeal <donb@codesourcery.com>
1885 * gdb.base/foll-exec.c: Add copyright header. Fix
1887 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1888 (do_exec_tests): Use clean_restart in place of zap_session,
1889 and for test initialization. Fix formatting issues. Use
1890 fail in place of perror.
1891 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1892 an expect statement to match an expression with output from
1893 the program under debug.
1894 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1895 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1896 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1897 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1898 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1900 2015-09-09 Doug Evans <dje@google.com>
1902 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1904 2015-09-09 Doug Evans <dje@google.com>
1906 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1908 2015-09-09 Doug Evans <dje@google.com>
1910 * gdb.base/savedregs.exp: Fix typo.
1912 2015-09-09 Pedro Alves <palves@redhat.com>
1914 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1916 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1918 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1919 command actually switches threads. Give up on remaining
1920 tests if target fails to stop at breakpoint.
1922 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1924 * gdb.ada/funcall_char.exp: New testcase.
1925 * gdb.ada/funcall_char/foo.adb: New file.
1927 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1929 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1930 expected outputs. Add two testcases for completing ambiguous
1932 * gdb.ada/complete/aux_pck.adb: New file.
1933 * gdb.ada/complete/aux_pck.ads: New file.
1934 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1935 Ambiguous_Func functions.
1936 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1937 * gdb.ada/complete/pck.adb: Likewise.
1939 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1941 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1942 failures to run the test program under GDB.
1944 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
1946 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1949 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1951 * gdb.base/run-after-attach.exp: New test file.
1952 * gdb.base/run-after-attach.c: New test file.
1954 2015-08-26 Don Breazeal <donb@codesourcery.com>
1956 * gdb.base/foll-exec-2.c: New test program.
1957 * gdb.base/foll-exec-2.exp: New test.
1959 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1961 * gdb.base/nested-subp1.exp: New file.
1962 * gdb.base/nested-subp1.c: New file.
1963 * gdb.base/nested-subp2.exp: New file.
1964 * gdb.base/nested-subp2.c: New file.
1965 * gdb.base/nested-subp3.exp: New file.
1966 * gdb.base/nested-subp3.c: New file.
1968 2015-08-24 Pedro Alves <palves@redhat.com>
1970 * gdb.server/connect-without-multi-process.c: New file.
1971 * gdb.server/connect-without-multi-process.exp: New file.
1973 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1975 * gdb.opt/inline-markers.c: Make z int.
1977 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1979 * gdb.opt/inline-markers.c: Make z volatile.
1981 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1983 * gdb.opt/inline-bt.c: New volatile global z.
1984 * gdb.opt/inline-cmds.c: Likewise.
1985 * gdb.opt/inline-locals.c: Likewise.
1986 * gdb.opt/inline-markers.c: New extern global z.
1988 (inline_fn): Likewise.
1990 2015-08-24 Pedro Alves <palves@redhat.com>
1992 * config/m32r-stub.exp: Remove file.
1993 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1994 * gdb.base/call-rt-st.exp: Likewise.
1995 * gdb.base/call-strs.exp: Likewise.
1996 * gdb.base/default.exp: Remove references to h8300-*-hms and
1998 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2000 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2002 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2003 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2004 and "return" use KFAIL when GDB can not read/write the vector
2007 2015-08-21 Gary Benson <gbenson@redhat.com>
2009 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2011 2015-08-20 Pedro Alves <palves@redhat.com>
2013 * gdb.server/solib-list.exp: No longer expect an interior stop in
2016 2015-08-20 Pedro Alves <palves@redhat.com>
2018 * gdb.server/connect-stopped-target.c: New file.
2019 * gdb.server/connect-stopped-target.exp: New file.
2021 2015-08-20 Pedro Alves <palves@redhat.com>
2023 * gdb.dwarf2/comp-unit-lang.exp: New file.
2024 * gdb.dwarf2/comp-unit-lang.c: New file.
2026 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2028 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2029 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2031 2015-08-19 Kevin Buettner <kevinb@redhat.com>
2033 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2034 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2036 2015-08-18 Doug Evans <dje@google.com>
2037 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2039 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2040 skip_python_tests. New arg prompt_regexp.
2041 (skip_python_tests): New function.
2042 * lib/mi-support.exp (mi_skip_python_tests): New function.
2043 * gdb.python/py-mi-objfile-gdb.py: New file.
2044 * gdb.python/py-mi-objfile.c: New file.
2045 * gdb.python/py-mi-objfile.exp: New file.
2047 2015-08-17 Keith Seitz <keiths@redhat.com>
2049 * gdb.linespec/explicit.exp: Move strace test from here ...
2050 * gdb.trace/strace.exp: ... to here.
2052 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2054 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2055 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2057 2015-08-14 Doug Evans <xdje42@gmail.com>
2059 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2060 inferior before selecting a new file.
2062 2015-08-14 Doug Evans <xdje42@gmail.com>
2064 * gdb.mi/mi-disassemble.exp: Update.
2065 * gdb.base/disasm-optim.S: New file.
2066 * gdb.base/disasm-optim.c: New file.
2067 * gdb.base/disasm-optim.h: New file.
2068 * gdb.base/disasm-optim.exp: New file.
2070 2015-08-14 Keith Seitz <keiths@redhat.com>
2072 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2075 2015-08-13 Joel Brobecker <brobecker@adacore.com>
2077 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2079 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2081 * gdb.ada/fun_renaming.exp: New testcase.
2082 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2083 * gdb.ada/fun_renaming/pack.adb: New file.
2084 * gdb.ada/fun_renaming/pack.ads: New file.
2086 2015-08-12 Keith Seitz <keiths@redhat.com>
2088 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2089 gdb_get_line_number.
2091 2015-08-12 Joel Brobecker <brobecker@adacore.com>
2093 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2094 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2095 gdb.base/dso2dso.exp: New files.
2097 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2098 Pedro Alves <palves@redhat.com>
2099 Keith Seitz <keiths@redhat.com>
2101 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2104 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2106 * gdb.base/gdbhistsize-history.exp
2107 (test_histsize_history_setting): Use save_vars.
2108 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2110 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2111 * gdb.base/readline.exp: Use save_vars.
2113 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2115 * lib/gdb.exp (save_vars): New proc.
2117 2015-08-11 Keith Seitz <keiths@redhat.com>
2119 * gdb.base/help.exp: Update help_breakpoint_text.
2121 2015-08-11 Keith Seitz <keiths@redhat.com>
2123 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2124 (at toplevel): Call test_explicit_breakpoints.
2125 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2127 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2128 breakpoint conditions, "-cond".
2130 2015-08-11 Keith Seitz <keiths@redhat.com>
2132 * gdb.linespec/3explicit.c: New file.
2133 * gdb.linespec/cpexplicit.cc: New file.
2134 * gdb.linespec/cpexplicit.exp: New file.
2135 * gdb.linespec/explicit.c: New file.
2136 * gdb.linespec/explicit.exp: New file.
2137 * gdb.linespec/explicit2.c: New file.
2138 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2139 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2140 before using in the matching pattern.
2141 Clarify that `prefix' is a regular expression.
2143 2015-08-11 Keith Seitz <keiths@redhat.com>
2145 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2147 Add tests for missing ",FMT" and ",".
2149 2015-08-10 Doug Evans <dje@google.com>
2150 Keith Seitz <keiths@redhat.com>
2153 * gdb.base/completion.exp: Add location completer tests.
2155 2015-08-07 Pedro Alves <palves@redhat.com>
2157 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2159 (top level): Run do_test with and without displaced stepping.
2161 2015-08-07 Pedro Alves <palves@redhat.com>
2163 * gdb.base/valgrind-disp-step.c: New file.
2164 * gdb.base/valgrind-disp-step.exp: New file.
2166 2015-08-07 Pedro Alves <palves@redhat.com>
2168 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2170 (main): Add alarm. Run an infinite loop instead of calling
2172 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2174 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2176 (main): Add alarm. Run an infinite loop instead of calling
2178 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2181 2015-08-07 Pedro Alves <palves@redhat.com>
2183 * gdb.base/checkpoint-ns.exp: New file.
2184 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2187 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2189 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2190 * gdb.btrace/instruction_history.exp: Update.
2191 * gdb.btrace/tsx.exp: New.
2192 * gdb.btrace/tsx.c: New.
2194 2015-08-06 Pedro Alves <palves@redhat.com>
2196 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2198 * gdb.reverse/until-precsave.exp: Bump timeouts.
2200 2015-08-06 Pedro Alves <palves@redhat.com>
2202 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2204 2015-08-06 Pedro Alves <palves@redhat.com>
2207 * gdb.threads/process-dies-while-handling-bp.c: New file.
2208 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2210 2015-08-06 Pedro Alves <palves@redhat.com>
2212 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2213 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2215 2015-08-05 Pedro Alves <palves@redhat.com>
2217 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2218 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2220 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2222 * gdb.base/bp-permanent.exp: Report test as unsupported if
2223 the target cannot stop at the permanent breakpoint.
2225 2015-08-03 Doug Evans <dje@google.com>
2227 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2230 2015-08-03 Doug Evans <dje@google.com>
2232 * Makefile.in (workers/%.worker, build-perf): New rule.
2233 (GDB_PERFTEST_MODE): New variable.
2234 (check-perf): Use it.
2235 (clean): Clean up gdb.perf parallel build subdirs.
2236 * lib/build-piece.exp: New file.
2237 * lib/gdb.exp (make_gdb_parallel_path): New function
2238 (standard_output_file, standard_temp_file): Call it.
2239 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2241 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2243 2015-08-03 Doug Evans <dje@google.com>
2245 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
2246 (LOG_FILE_NAME): New global.
2247 (TextReporter.__init__): Initialize self.txt_sum.
2248 (TextReporter.report): Add support for multiple data-points.
2249 Move report to perftest.sum, put raw data in perftest.log.
2250 (TextReporter.start): Open sum and log files.
2251 (TextReporter.end): Close sum and log files.
2252 * gdb.perf/lib/perftest/testresult.py
2253 (SingleStatisticTestResult.record): Handle multiple data-points.
2255 2015-07-31 Pedro Alves <palves@redhat.com>
2257 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2258 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2259 kill_wait_spawned_process instead of explicit "kill -9".
2260 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2261 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2262 kill_wait_spawned_process.
2263 * gdb.base/attach-twice.exp: Likewise.
2264 * gdb.base/attach.exp: Likewise.
2265 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2267 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2268 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2269 kill_wait_spawned_process.
2270 * gdb.base/valgrind-infcall.exp: Likewise.
2271 * gdb.multi/multi-attach.exp: Likewise.
2272 * gdb.python/py-prompt.exp: Likewise.
2273 * gdb.python/py-sync-interp.exp: Likewise.
2274 * gdb.server/ext-attach.exp: Likewise.
2275 * gdb.threads/attach-into-signal.exp (corefunc): Use
2276 spawn_wait_for_attach, spawn_id_get_pid and
2277 kill_wait_spawned_process.
2278 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2279 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2280 spawn_id_get_pid and kill_wait_spawned_process.
2281 * gdb.threads/attach-stopped.exp (corefunc): Use
2282 spawn_wait_for_attach, spawn_id_get_pid and
2283 kill_wait_spawned_process.
2284 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2285 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2286 kill_wait_spawned_process instead of explicit "kill -9".
2287 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2288 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2289 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2290 processes. Don't map cygwin/windows pids here. Now returns a
2293 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2295 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2296 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2299 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2301 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2303 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2306 2014-05-21 Mark Wielaard <mjw@redhat.com>
2308 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2310 2015-07-30 Pedro Alves <palves@redhat.com>
2312 * linux-low.c (handle_extended_wait): Set the child's last
2313 reported status to TARGET_WAITKIND_STOPPED.
2315 2015-07-30 Pedro Alves <palves@redhat.com>
2318 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2319 only shows inferior 1.
2321 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2322 Pedro Alves <palves@redhat.com>
2325 * gdb.threads/fork-plus-threads.c: New file.
2326 * gdb.threads/fork-plus-threads.exp: New file.
2328 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2330 * gdb.base/batch-preserve-term-settings.exp
2331 (test_terminal_settings_preserved_after_cli_exit): Use
2334 2015-07-29 Pedro Alves <palves@redhat.com>
2335 Don Breazeal <donb@codesourcery.com>
2337 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2338 output from both inferior_spawn_id and gdb_spawn_id.
2340 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2342 * gdb.threads/attach-into-signal.exp (corefunc): Use
2343 with_test_prefix on nested loops, uniquefying the test messages.
2345 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2347 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2350 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2352 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2354 (test_terminal_settings_preserved_after_sigterm): New test.
2356 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2358 * gdb.base/batch-preserve-term-settings.exp
2359 (test_terminal_settings_preserved_after_cli_exit): New test.
2361 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2363 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2364 manipulation of saved_gdbflags.
2365 (test_terminal_settings_preserved): Remove global declaration of
2366 the unused variable pagination_prompt. Remove manipulation of
2367 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2370 2015-07-29 Pedro Alves <palves@redhat.com>
2372 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2374 2015-07-29 Pedro Alves <palves@redhat.com>
2376 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2379 2015-07-29 Pedro Alves <palves@redhat.com>
2381 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2382 (main): Call gdb_unbuffer_output.
2383 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2384 (main): Call gdb_unbuffer_output.
2385 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2386 (main): Call gdb_unbuffer_output.
2387 * gdb.base/call-strs.exp: Adjust to step over the
2388 gdb_unbuffer_output call.
2389 * gdb.base/catch-gdb-caused-signals.c: Include
2390 "../lib/unbuffer_output.c".
2391 (main): Call gdb_unbuffer_output.
2392 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2393 (main): Call gdb_unbuffer_output.
2394 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2395 (main): Call gdb_unbuffer_output.
2396 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2397 (main): Call gdb_unbuffer_output.
2398 * gdb.base/shlib-call.exp: Adjust to step over the
2399 gdb_unbuffer_output call.
2400 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2401 (main): Call gdb_unbuffer_output.
2402 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2403 (main): Call gdb_unbuffer_output.
2404 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2405 (main): Rename to ...
2407 (main): Reimplement.
2408 * gdb.base/varargs.exp: Run to test instead of to main.
2409 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2410 (main): Call gdb_unbuffer_output.
2412 2015-07-29 Pedro Alves <palves@redhat.com>
2414 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2415 factore out from mi_continue_dprintf. For call-style dprintfs,
2416 expect dprintf output out of $inferior_spawn_id.
2417 (mi_continue_dprintf): Use mi_expect_dprintf.
2418 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2419 (main): Call gdb_unbuffer_output.
2421 2015-07-29 Pedro Alves <palves@redhat.com>
2423 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2424 (default_mi_gdb_start): Set inferior_spawn_id instead of
2425 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2427 (mi_gdb_test): Always expect inferior output from both
2428 $inferior_spawn_id and $gdb_spawn_id.
2430 2015-07-29 Pedro Alves <palves@redhat.com>
2432 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2433 send_inferior and $inferior_spawn_id.
2435 2015-07-29 Pedro Alves <palves@redhat.com>
2437 * gdb.gdb/complaints.exp (test_initial_complaints)
2438 (test_serial_complaints, test_short_complaints): Use
2440 (test_empty_complaint): Handle $inferior_spawn_id !=
2443 2015-07-29 Pedro Alves <palves@redhat.com>
2445 * gdb.base/varargs.exp: Use gdb_test_stdio.
2447 2015-07-29 Pedro Alves <palves@redhat.com>
2449 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2451 2015-07-29 Pedro Alves <palves@redhat.com>
2453 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2455 2015-07-29 Pedro Alves <palves@redhat.com>
2457 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2458 parameter into two new parameters, "inf_result" and "gdb_result".
2459 Expect inferior output and gdb output from $inferior_spawn_id and
2460 $gdb_spawn_id, respectively. Adjust all callers.
2462 2015-07-29 Pedro Alves <palves@redhat.com>
2464 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2465 of gdb_test_sequence.
2467 2015-07-29 Pedro Alves <palves@redhat.com>
2469 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2470 (saw_spurious_output): Expect inferior output from
2471 $inferior_spawn_id. Use gdb_test_stdio.
2473 2015-07-29 Pedro Alves <palves@redhat.com>
2475 * gdb.base/dprintf.exp: Use standard_testfile. Change
2476 prepare_for_testing call.
2477 (srcfile): Don't set.
2478 (restart): New procedure.
2479 (test_dprintf): New procecure, use to continue over dprintfs.
2480 (test_call, test_agent): New procedures, tests moved here.
2481 Restart gdb and recreate dprintfs. Adjust expected output.
2483 2015-07-29 Pedro Alves <palves@redhat.com>
2485 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2487 2015-07-29 Pedro Alves <palves@redhat.com>
2489 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2491 2015-07-29 Pedro Alves <palves@redhat.com>
2493 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2496 2015-07-29 Pedro Alves <palves@redhat.com>
2498 * lib/gdb.exp (gdb_test_stdio): New procedure.
2500 2015-07-29 Pedro Alves <palves@redhat.com>
2502 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2504 2015-07-29 Pedro Alves <palves@redhat.com>
2506 * gdb.base/call-signal-resume.exp: Remove check for
2507 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2508 * gdb.base/unwindonsignal.exp: Likewise.
2509 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2510 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2512 2015-07-29 Pedro Alves <palves@redhat.com>
2514 * gdb.base/siginfo-addr.c (pass): New function.
2515 (handler): Call it iff si_addr is correct.
2516 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2517 Set a breakpoint at "pass" and continue to it.
2519 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2521 * gdb.python/py-objfile.exp: Make some tests have unique names.
2522 * gdb.python/py-pp-registration.exp: Likewise.
2524 2015-07-28 Pedro Alves <palves@redhat.com>
2526 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2528 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2530 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2532 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2534 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2536 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2538 * gdb.base/gdb-sigterm-2.exp: New test.
2540 2015-07-25 Doug Evans <xdje42@gmail.com>
2543 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2544 (workers/%.worker, build-perf): New rule.
2545 (GDB_PERFTEST_MODE): New variable.
2546 (check-perf): Use it.
2547 (clean): Clean up gdb.perf parallel build subdirs.
2548 * lib/build-piece.exp: New file.
2549 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2550 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2552 (standard_temp_file): Ditto.
2553 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2556 2015-07-24 Doug Evans <dje@google.com>
2558 * gdb.perf/lib/perftest/utils.py: New file.
2559 * gdb.perf/gm-hello.cc: New file.
2560 * gdb.perf/gm-pervasive-typedef.cc: New file.
2561 * gdb.perf/gm-pervasive-typedef.h: New file.
2562 * gdb.perf/gm-std.cc: New file.
2563 * gdb.perf/gm-std.h: New file.
2564 * gdb.perf/gm-use-cerr.cc: New file.
2565 * gdb.perf/gm-utils.h: New file.
2566 * gdb.perf/gmonster-null-lookup.py: New file.
2567 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2568 * gdb.perf/gmonster-print-cerr.py: New file.
2569 * gdb.perf/gmonster-ptype-string.py: New file.
2570 * gdb.perf/gmonster-runto-main.py: New file.
2571 * gdb.perf/gmonster-select-file.py: New file.
2572 * gdb.perf/gmonster1-null-lookup.exp: New file.
2573 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2574 * gdb.perf/gmonster1-print-cerr.exp: New file.
2575 * gdb.perf/gmonster1-ptype-string.exp: New file.
2576 * gdb.perf/gmonster1-runto-main.exp: New file.
2577 * gdb.perf/gmonster1-select-file.exp: New file.
2578 * gdb.perf/gmonster1.cc: New file.
2579 * gdb.perf/gmonster1.exp: New file.
2580 * gdb.perf/gmonster2-null-lookup.exp: New file.
2581 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2582 * gdb.perf/gmonster2-print-cerr.exp: New file.
2583 * gdb.perf/gmonster2-ptype-string.exp: New file.
2584 * gdb.perf/gmonster2-runto-main.exp: New file.
2585 * gdb.perf/gmonster2-select-file.exp: New file.
2586 * gdb.perf/gmonster2.cc: New file.
2587 * gdb.perf/gmonster2.exp: New file.
2589 2015-07-24 Doug Evans <dje@google.com>
2591 * gdb.perf/README: New file.
2592 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2593 * lib/gen-perf-test.exp: New file.
2595 2015-07-24 Doug Evans <dje@google.com>
2597 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2598 (PerfTest::startup): New function.
2599 (PerfTest::run): Return result of calling body.
2600 (PerfTest::assemble): Rewrite.
2601 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2602 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2603 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2604 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2605 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2607 2015-07-24 Doug Evans <dje@google.com>
2609 * lib/gdb.exp (clean_restart): Make executable optional.
2611 2015-07-24 Doug Evans <dje@google.com>
2613 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2614 compiler_info references.
2615 * gdb.cp/temargs.exp: Ditto.
2616 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2617 (get_compiler_info): Early exit if already computed. Set compiler_info
2618 to "unknown" if there was a problem.
2619 (test_compiler_info): Add function comment. Call get_compiler_info.
2621 2015-07-24 Doug Evans <dje@google.com>
2623 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2624 (workers/%.worker, build-perf): New rule.
2625 (GDB_PERFTEST_MODE): New variable.
2626 (check-perf): Use it.
2627 (clean): Clean up gdb.perf parallel build subdirs.
2628 * lib/build-piece.exp: New file.
2629 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2630 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2632 (standard_temp_file): Ditto.
2633 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2636 2015-07-24 Doug Evans <dje@google.com>
2638 * lib/future.exp (gdb_default_target_compile): New option
2640 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2643 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2645 * gdb.base/catch-syscall.exp: Call gdb_exit before
2648 2015-07-24 Pedro Alves <palves@redhat.com>
2650 * gdb.python/py-events.exp: Accept output between the stop event
2652 * gdb.python/py-evsignal.exp: Likewise.
2653 * gdb.python/py-evthreads.exp: Likewise.
2655 2015-07-24 Pedro Alves <palves@redhat.com>
2658 * gdb.threads/non-ldr-exit.c: New file.
2659 * gdb.threads/non-ldr-exit.exp: New file.
2661 2015-07-24 Yao Qi <yao.qi@linaro.org>
2663 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2666 2015-07-24 Yao Qi <yao.qi@linaro.org>
2668 * gdb.server/ext-restart.exp: New file.
2670 2015-07-24 Yao Qi <yao.qi@linaro.org>
2672 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2674 * gdb.server/ext-wrapper.exp: New file.
2676 2015-07-23 Doug Evans <dje@google.com>
2678 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2679 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2681 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2683 * gdb.ada/var_arr_typedef.exp: New testcase.
2684 * gdb.ada/var_arr_typedef/pack.adb: New file.
2685 * gdb.ada/var_arr_typedef/pack.ads: New file.
2686 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2688 2015-07-20 Joel Brobecker <brobecker@adacore.com>
2690 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2692 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2694 * gdb.arch/i386-biarch-core.exp: Replace istarget
2695 by "complete set gnutarget". Remove expectation for the "core-file"
2698 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2700 Revert the previous commit:
2701 Tests for validate symbol file using build-id.
2703 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2705 Tests for validate symbol file using build-id.
2706 * gdb.base/solib-mismatch-lib.c: New file.
2707 * gdb.base/solib-mismatch-libmod.c: New file.
2708 * gdb.base/solib-mismatch.c: New file.
2709 * gdb.base/solib-mismatch.exp: New file.
2711 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2713 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2715 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2716 * gdb.base/siginfo.exp: Likewise.
2717 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2719 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2721 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2723 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2725 * gdb.trace/range-stepping.exp: Check that the target supports
2728 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2730 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2732 2015-07-14 Pedro Alves <palves@redhat.com>
2734 * gdb.base/killed-outside.exp: New file.
2735 * gdb.base/killed-outside.c: New file.
2737 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2739 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2741 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2743 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2745 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2746 infcall tests instead of setting up for KFAIL.
2748 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2750 * gdb.btrace/record_goto-step.exp: New.
2752 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2755 * gdb.compile/compile.c (struct struct_type): Add volatile to
2757 * gdb.compile/compile.exp
2758 (compile code struct_object.selffield = &struct_object): Skip further
2759 struct_object tests if this one xfails.
2761 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
2764 * gdb.trace/ax.exp: Add test.
2766 2015-07-07 Yao Qi <yao.qi@linaro.org>
2768 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2769 instead of istarget "aarch64*-*-*".
2770 * gdb.arch/aarch64-fp.exp: Likewise.
2771 * gdb.base/float.exp: Likewise.
2772 * gdb.reverse/aarch64.exp: Likewise.
2773 * lib/gdb.exp (is_aarch64_target): New proc.
2775 2015-07-07 Yao Qi <yao.qi@linaro.org>
2777 * lib/gdb.exp (is_aarch32_target): New proc.
2778 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2779 instead of "istarget "arm*-*-*"".
2780 * gdb.arch/arm-disp-step.exp: Likewise.
2781 * gdb.arch/thumb-bx-pc.exp: Likewise.
2782 * gdb.arch/thumb-prologue.exp: Likewise.
2783 * gdb.arch/thumb-singlestep.exp: Likewise.
2784 * gdb.base/disp-step-syscall.exp: Likewise.
2785 * gdb.base/float.exp: Likewise.
2787 2015-07-07 Yao Qi <yao.qi@linaro.org>
2789 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2790 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2792 2015-07-07 Yao Qi <yao.qi@linaro.org>
2794 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2795 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2797 * gdb.multi/multi-arch.exp: Likewise.
2799 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2801 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2804 2015-07-07 Yao Qi <yao.qi@linaro.org>
2806 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2808 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2810 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2811 '[' and ']' characters.
2813 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2815 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2817 2015-06-29 Pedro Alves <palves@redhat.com>
2820 * gdb.threads/hand-call-new-thread.c: New file.
2821 * gdb.threads/hand-call-new-thread.c: New file.
2823 2015-06-26 Keith Seitz <keiths@redhat.com>
2824 Doug Evans <dje@google.com>
2827 * gdb.cp/var-tag-2.cc: New file.
2828 * gdb.cp/var-tag-3.cc: New file.
2829 * gdb.cp/var-tag-4.cc: New file.
2830 * gdb.cp/var-tag.cc: New file.
2831 * gdb.cp/var-tag.exp: New file.
2833 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2835 * gdb.base/history-duplicates.exp: New test.
2837 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2839 * gdb.base/completion.exp: Test the completion of the "focus"
2842 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2844 * gdb.arch/amd64-prologue-skip.S: New file.
2845 * gdb.arch/amd64-prologue-skip.exp: New file.
2847 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2849 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2850 is_address_zero_readable check.
2852 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2854 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2855 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2857 2015-06-24 Yao Qi <yao.qi@linaro.org>
2859 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2862 2015-06-24 Yao Qi <yao.qi@linaro.org>
2864 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2865 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2866 * gdb.base/siginfo-thread.exp: Likewise.
2868 2015-06-22 Yao Qi <yao.qi@linaro.org>
2870 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2872 2015-06-22 Yao Qi <yao.qi@linaro.org>
2874 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2876 (skip_hw_watchpoint_tests): Likewise.
2878 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2880 * gdb.base/gdbinit-history.exp: Test the interaction between
2881 setting GDBHISTSIZE and setting the history size via .gdbinit.
2883 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2886 * gdb.base/gdbhistsize-history.exp: New test.
2888 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2890 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2892 * gdb.base/readline.exp: Likewise.
2894 2015-06-17 Yao Qi <yao.qi@linaro.org>
2896 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2899 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2901 * gdb.base/gdbinit-history.exp: Add test case to check that
2902 an unlimited history file does not get truncated on exit.
2904 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2906 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2907 (VECTOR): New macro. Use it...
2908 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2909 ...for these typedefs.
2910 (int8, char1, int1, double1): New typedefs.
2911 (struct just_int2, struct two_int2): New structures.
2912 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2913 (add_structvecs, add_singlevecs): New functions.
2914 (main): Call add_some_intvecs twice.
2915 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2916 the compile and exit upon failure. Try compiling for the "native"
2917 architecture. Test inferior function calls with vector arguments
2918 and vector return value handling with "finish" and "return".
2920 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2922 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2923 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2925 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2927 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2929 PR breakpoints/16465
2930 * gdb.mi/mi-dprintf-pending.c: New file.
2931 * gdb.mi/mi-dprintf-pending.exp: New test.
2932 * gdb.mi/mi-dprintf-pendshr.c: New file.
2934 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2935 Mircea Gherzan <mircea.gherzan@intel.com>
2937 * gdb.arch/i386-mpx-map.c: New file.
2938 * gdb.arch/i386-mpx-map.exp: New File.
2940 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2942 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2943 * gdb.arch/i386-mpx.exp: Indentation fixed.
2945 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2947 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2948 function and improved indentation.
2949 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2950 gdb_test_multiple. Added additional tests to skip the test.
2952 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2954 * gdb.arch/i386-avx512.c: Change path in include file.
2955 * gdb.arch/i386-avx512.exp: Change include dir path
2957 * gdb.arch/i386-mpx.c: Change path in include file.
2958 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2961 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2963 * gdb.compile/compile-print.exp (compile print *vararray@3)
2964 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2966 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2968 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2969 (do not keep jit in memory): ... this.
2970 (expect 5): Change it to ...
2971 (expect no 5): ... this.
2973 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2976 * gdb.mi/mi-detach.exp: New file.
2978 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2981 * gdb.arch/amd64-tailcall-self.S: New file.
2982 * gdb.arch/amd64-tailcall-self.c: New file.
2983 * gdb.arch/amd64-tailcall-self.exp: New file.
2985 2015-05-28 Don Breazeal <donb@codesourcery.com>
2987 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2988 tests for remote targets by checking is_target_gdbserver.
2990 2015-05-27 Doug Evans <dje@google.com>
2992 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2993 * gdb.dwarf2/opaque-type-lookup.c: New file.
2994 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2996 2015-05-26 Doug Evans <dje@google.com>
2998 * gdb.cp/iostream.cc: New file.
2999 * gdb.cp/iostream.exp: New file.
3001 2015-05-26 Doug Evans <dje@google.com>
3003 * gdb.dwarf2/dw2-op-call.exp: Update.
3004 * gdb.dwarf2/dw4-sig-types.exp: Update.
3005 * gdb.dwarf2/implptr.exp: Update.
3006 * gdb.mi/mi-cmd-param-changed.exp: Update.
3008 2015-05-26 Doug Evans <dje@google.com>
3010 * gdb.python/py-lazy-string.c: New file.
3011 * gdb.python/py-lazy-string.exp: New file.
3012 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3013 (main): Update. Add estring3.
3014 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3015 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3017 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3018 Yao Qi <yao.qi@linaro.org>
3020 * gdb.reverse/aarch64.c: New.
3021 * gdb.reverse/aarch64.exp: New.
3023 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3025 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
3026 (supports_reverse): Likewise.
3028 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3030 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3031 Use with_test_prefix.
3033 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3035 * gdb.base/completion.exp: Add test for completion of layout
3038 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3040 * lib/gdb.exp (skip_tui_tests): New proc.
3041 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3043 2015-05-19 Pedro Alves <palves@redhat.com>
3045 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3046 Save the whole env array instead of just HOME. Unset HISTSIZE in
3047 the environment while testing. Restore whole environment
3050 2015-05-16 Doug Evans <xdje42@gmail.com>
3052 * gdb.guile/scm-ports.c: New file.
3053 * gdb.guile/scm-ports.exp: Add memory port tests.
3055 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3057 * gdb.compile/compile-print.c: New file.
3058 * gdb.compile/compile-print.exp: New file.
3060 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3062 * gdb.compile/compile-ops.exp: Cast param to void.
3063 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3064 (compile code struct_object.selffield = &struct_object): Add xfail.
3066 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3068 * gdb.ada/arr_enum_with_gap: New testcase.
3070 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3072 * gdb.ada/byte_packed_arr: New testcase.
3074 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3076 * gdb.ada/pckd_neg: New testcase.
3078 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3081 * gdb.base/gdbinit-history.exp: New test.
3082 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3083 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3085 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3087 * gdb.python/py-xmethods.cc: Enhance test case.
3088 * gdb.python/py-xmethods.exp: New tests.
3089 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3091 (B_indexoper): Likewise.
3092 (global_dm_list) : Add new xmethod worker functions.
3094 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3096 * gdb.base/coredump-filter.exp: Correctly unset
3097 "coredump_var_addr" array.
3099 2015-05-08 Pedro Alves <palves@redhat.com>
3101 * gdb.server/non-existing-program.exp: Unset spawn_id.
3103 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3106 * gdb.python/py-xmethods.exp: Add tests.
3108 2015-05-08 Yao Qi <yao.qi@linaro.org>
3111 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3112 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3113 function set_coredump_filter, and remove remote_exec call.
3114 Remove argument ipid. Callers update.
3115 (top level): Don't get inferior's PID.
3117 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3119 * gdb.base/watch_thread_num.exp: Skip test on targets without
3122 2015-05-06 Pedro Alves <palves@redhat.com>
3125 * gdb.server/non-existing-program.exp: New file.
3127 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3129 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3131 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3133 * gdb.ada/out_of_line_in_inlined: New testcase.
3135 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3137 * gdb.ada/var_rec_arr: New testcase.
3139 2015-04-30 Yao Qi <yao.qi@linaro.org>
3141 * gdb.base/break-idempotent.exp: If
3142 skip_hw_watchpoint_multi_tests returns true, skip the tests
3143 on "rwatch" and "awatch".
3145 2015-04-30 Yao Qi <yao.qi@linaro.org>
3147 * gdb.base/relativedebug.exp: Invoke gdb command
3148 "info sharedlibrary", and if libc.so doesn't have debug info,
3151 2015-04-29 Doug Evans <dje@google.com>
3153 * gdb.python/py-xmethods.exp: Add ptype tests.
3154 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3155 get_result_type method.
3157 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3159 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3160 the target does not support hardware watchpoints.
3162 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3164 * gdb.base/break-always.exp: Abort testing if writing to memory
3167 2015-04-28 Doug Evans <dje@google.com>
3169 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3170 * gdb.python/py-pp-registration.exp: ... here. New file.
3171 * gdb.python/py-pp-registration.c: New file.
3172 * gdb.python/py-pp-registration.py: New file.
3174 2015-04-28 Doug Evans <dje@google.com>
3176 * gdb.python/py-bad-printers.c: New file.
3177 * gdb.python/py-bad-printers.py: New file.
3178 * gdb.python/py-bad-printers.exp: New file.
3180 2015-04-28 Sasha Smundak <asmundak@google.com>
3182 * gdb.python/py-type.exp: New test.
3184 2015-04-28 Andy Wingo <wingo@igalia.com>
3186 * gdb.python/py-parameter.exp:
3187 * gdb.guile/scm-parameter.exp: Escape the path that we are
3188 matching against, as it might contain characters that are special
3189 to regular expressions.
3191 2015-04-27 Joel Brobecker <brobecker@adacore.com>
3193 * gdb.ada/rec_comp: New testcase.
3195 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3197 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3200 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3202 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3203 new tests for verilog output.
3205 2015-04-24 Yao Qi <yao.qi@linaro.org>
3207 * boards/remote-gdbserver-on-localhost.exp: New file.
3209 2015-04-23 Pedro Alves <palves@redhat.com>
3211 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3212 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3213 "end of file", remove $inferior_spawn_id from the indirect list.
3215 2015-04-23 Pedro Alves <palves@redhat.com>
3217 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3219 2015-04-23 Pedro Alves <palves@redhat.com>
3221 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3222 on $any_spawn_id instead of only on $gdb_spawn_id.
3224 2015-04-21 Pierre Muller <muller@sourceware.org>
3227 * lib/pascal.exp (gpc_compile): Add new option "class".
3228 (fpc_compile): Likewise.
3229 * gdb.pascal/case-insensitive-symbols.pas: New file.
3230 * gdb.pascal/case-insensitive-symbols.exp: New file.
3232 2015-04-20 Gary Benson <gbenson@redhat.com>
3234 * gdb.base/attach.exp: Fix three extended remote failures.
3236 2015-04-17 Gary Benson <gbenson@redhat.com>
3238 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3239 the main executable over the remote protocol.
3241 2015-04-16 Pedro Alves <palves@redhat.com>
3243 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3244 a new gdbserver if gdbserver_reconnect_p is set.
3246 2015-04-16 Pedro Alves <palves@redhat.com>
3248 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3249 is set, don't exit gdbserver.
3251 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3253 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3254 appropriate .insn, such that an older assembler can be used.
3255 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3256 the z/Architecture instruction set on 31-bit targets as well.
3258 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3260 * gdb.go/handcall.exp: Remove all logic related to the first
3261 breakpoint and rely on go_runto_main instead.
3262 * gdb.go/strings.exp: Likewise.
3263 * gdb.go/unsafe.exp: Likewise.
3264 * gdb.go/hello.exp: Likewise. Also rename the remaining
3265 breakpoint marker to "breakpoint 1".
3266 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3267 * gdb.go/strings.go: Likewise.
3268 * gdb.go/unsafe.go: Likewise.
3269 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3270 "set breakpoint 2 here" and rename the remaining breakpoint marker
3273 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3275 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3276 if itertools.imap is not present.
3277 * gdb.python/py-objfile.exp: Add parentheses.
3278 * gdb.python/py-type.exp: Same.
3279 * gdb.python/py-unwind-maint.py: Same.
3281 2015-04-15 Yao Qi <yao.qi@linaro.org>
3283 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3284 of ":$ptr_size" and set its form explicitly.
3286 2015-04-15 Pedro Alves <palves@redhat.com>
3287 Yao Qi <yao.qi@linaro.org>
3289 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3290 timeout by factor of 4.
3291 (test_regular_watch): Likewise.
3292 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3293 * gdb.reverse/sigall-reverse.exp: Likewise.
3294 * gdb.reverse/until-precsave.exp: Likewise.
3295 * lib/gdb.exp (with_timeout_factor): New proc.
3296 (gdb_expect): Move some code to ...
3297 (get_largest_timeout): ... here. New procedure.
3299 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
3301 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3303 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3305 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3306 to write to the .text section.
3308 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3310 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3311 Handle the case of targets that do not provide PID information.
3313 2015-04-13 Yao Qi <yao.qi@linaro.org>
3315 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3316 and use expect instead of gdb_expect.
3318 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3320 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3321 "coredump_var_addr" to avoid naming conflict with other testcases.
3323 2015-04-10 Pedro Alves <palves@redhat.com>
3325 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3326 gdb_test_sequence and gdb_assert.
3328 2015-04-10 Pedro Alves <palves@redhat.com>
3330 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3331 test messages that don't include the breakpoint address.
3333 2015-04-10 Yao Qi <yao.qi@linaro.org>
3335 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3336 false for some offset and width combinations which aren't
3337 supported by linux kernel.
3339 2015-04-10 Pedro Alves <palves@redhat.com>
3341 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3342 procedure, factored out from ...
3343 (top level): ... here. Add "set displaced-stepping" testing axis.
3344 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3345 parameter "displaced". Use it.
3346 (top level): Use foreach and add "set displaced-stepping" testing
3349 2015-04-10 Pedro Alves <palves@redhat.com>
3351 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3353 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3354 both the address of the instruction that triggers the watchpoint
3355 and the address of the instruction immediately after, and use
3356 those addresses for the test. Fix comment.
3358 2015-04-10 Pedro Alves <palves@redhat.com>
3360 * gdb.base/sigstep.exp (breakpoint_to_handler)
3361 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3362 Test "backtrace" in handler.
3363 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3364 (top level): Add new "displaced" test axis to
3365 breakpoint_to_handler, breakpoint_to_handler_entry and
3366 breakpoint_over_handler.
3368 2015-04-10 Pedro Alves <palves@redhat.com>
3371 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3373 2015-04-10 Yao Qi <yao.qi@linaro.org>
3375 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3376 (test_add_rn_pc): New function.
3377 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3378 (top level): Invoke test_add_rn_pc.
3380 2015-04-10 Pedro Alves <palves@redhat.com>
3383 * gdb.base/step-over-no-symbols.exp: New file.
3385 2015-04-09 Andy Wingo <wingo@igalia.com>
3387 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3388 after the Python tests.
3390 2015-04-08 Keith Seitz <keiths@redhat.com>
3393 * gdb.python/py-completion.exp: New tests for completion.
3394 * gdb.python/py-completion.py (CompleteLimit1): New class.
3395 (CompleteLimit2): Likewise.
3396 (CompleteLimit3): Likewise.
3397 (CompleteLimit4): Likewise.
3398 (CompleteLimit5): Likewise.
3399 (CompleteLimit6): Likewise.
3400 (CompleteLimit7): Likewise.
3402 2015-04-08 Pedro Alves <palves@redhat.com>
3406 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3408 (main): Install it as SIGUSR1 handler.
3409 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3410 parameter. Always use "setup" as prefix. Toggle "set
3411 displaced-stepping" off/on depending on global. Don't switch to
3413 (top level): Add displaced stepping "off/on" test axis. Update
3414 "setup" calls. Wrap each subtest with with_test_prefix. Test
3415 continuing with a queued signal in each thread.
3417 2015-04-08 Pedro Alves <palves@redhat.com>
3419 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3420 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3421 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3422 Return early if running to main fails.
3423 * gdb.trace/while-stepping.exp: Likewise.
3425 2015-04-07 Pedro Alves <palves@redhat.com>
3427 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3428 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3429 interact with inferior program.
3431 2015-04-07 Pedro Alves <palves@redhat.com>
3433 * lib/gdb.exp (inferior_spawn_id): New global.
3434 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3435 spawn id after processing the user code.
3436 (default_gdb_start): Set inferior_spawn_id.
3437 (send_inferior): New procedure.
3438 * lib/gdbserver-support.exp (gdbserver_start): Set
3440 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3442 2015-04-07 Pedro Alves <palves@redhat.com>
3444 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3445 * lib/gdbserver-support.exp (gdbserver_start): Make
3446 $server_spawn_id global.
3447 (gdbserver_start): Don't wait for gdbserver's spawn id with
3449 (close_gdbserver): New procedure.
3450 (gdb_exit): Rename the default version and reimplement.
3452 2015-04-07 Pedro Alves <palves@redhat.com>
3454 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
3455 append the substituted item, not the original item.
3457 2015-04-07 Pedro Alves <palves@redhat.com>
3459 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3462 2015-04-07 Pedro Alves <palves@redhat.com>
3464 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3465 output appearing once only.
3467 2015-04-07 Pedro Alves <palves@redhat.com>
3469 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3470 that doesn't expect anything. Return early if running to main
3473 2015-04-07 Yao Qi <yao.qi@linaro.org>
3475 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3476 (child_function): Call alarm.
3477 (main): Move call to alarm into the loop.
3478 * gdb.threads/non-stop-fair-events.exp: Build program with
3481 2015-04-06 Doug Evans <xdje42@gmail.com>
3483 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3484 Fix dest parameter to board_info.
3485 (fpc_compile): Ditto.
3486 (gdb_compile_pascal): Rename dest arg to destfile.
3488 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3490 * gdb.ada/funcall_ref.exp: New file.
3491 * gdb.ada/funcall_ref/foo.adb: New file.
3493 2015-04-02 Yao Qi <yao.qi@linaro.org>
3495 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3498 2015-04-02 Gary Benson <gbenson@redhat.com>
3500 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3502 2015-04-01 Sasha Smundak <asmundak@google.com>
3504 * gdb.python/py-unwind-maint.c: New file.
3505 * gdb.python/py-unwind-maint.exp: New test.
3506 * gdb.python/py-unwind-maint.py: New file.
3507 * gdb.python/py-unwind.c: New file.
3508 * gdb.python/py-unwind.exp: New test.
3509 * gdb.python/py-unwind.py: New test.
3511 2015-04-01 Pedro Alves <palves@redhat.com>
3513 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3514 to fail instead of non-existent $test.
3516 2015-04-01 Pedro Alves <palves@redhat.com>
3518 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3519 GDBFLAGS if not empty.
3521 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3523 * gdb.ada/complete.exp: Remove "multi_line".
3524 * gdb.ada/info_exc.exp: Remove "multi_line".
3525 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3526 * gdb.ada/ptype_field.exp: Remove "multi_line".
3527 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3528 * gdb.ada/tagged.exp: Remove "multi_line".
3529 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3531 * gdb.btrace/delta.exp: Likewise.
3532 * gdb.btrace/exception.exp: Likewise.
3533 * gdb.btrace/function_call_history.exp: Likewise.
3534 * gdb.btrace/instruction_history.exp: Likewise.
3535 * gdb.btrace/nohist.exp: Likewise.
3536 * gdb.btrace/record_goto.exp: Likewise.
3537 * gdb.btrace/segv.exp: Likewise.
3538 * gdb.btrace/stepi.exp: Likewise.
3539 * gdb.btrace/tailcall.exp: Likewise.
3540 * gdb.btrace/unknown_functions.exp: Likewise.
3541 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3542 * lib/gdb.exp: Add the "multi_line" helper.
3544 2015-04-01 Pedro Alves <palves@redhat.com>
3546 * gdb.threads/tid-reuse.c: New file.
3547 * gdb.threads/tid-reuse.exp: New file.
3549 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3552 * gdb.base/coredump-filter.c: New file.
3553 * gdb.base/coredump-filter.exp: Likewise.
3555 2015-03-27 Petr Machata <pmachata@redhat.com>
3557 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3558 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3559 (Dwarf::assemble): Initialize them.
3560 (Dwarf::lines): New function.
3562 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3564 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3565 SYMBOL_PREFIX for x86_64-*-cygwin.
3567 2015-03-26 Andy Wingo <wingo@igalia.com>
3570 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3571 const_value but not a location.
3572 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3573 location defined in non-main CUs are visible.
3575 2015-03-26 Yao Qi <yao.qi@linaro.org>
3578 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3579 Add a line number entry for the same line.
3580 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3581 Add a line number entry for the same line.
3583 2015-03-26 Yao Qi <yao.qi@linaro.org>
3585 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3587 (func): Likewise. Add .Lfunc_1 label.
3589 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3594 2015-03-26 Yao Qi <yao.qi@linaro.org>
3596 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3597 Call gdb_compile instead to compile each .s files without debug
3600 2015-03-26 Yao Qi <yao.qi@linaro.org>
3602 * gdb.base/savedregs.exp (process_saved_regs): Make
3603 "Saved registers:" optional in the pattern.
3605 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3607 * gdb.btrace/next.exp: Merged into step.exp.
3608 * gdb.btrace/finish.exp: Merged into step.exp.
3609 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3610 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3611 "record goto" and checking the exact replay position.
3612 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3613 check for "Recording format" in "info record" output.
3614 * gdb.btrace/record_goto.exp: Choose test file based on target.
3615 * gdb.btrace/x86-record_goto.S: Renamed into ...
3616 * gdb.btrace/x86_64-record_goto.S: ... this.
3617 * gdb.btrace/i686-record_goto.S: New.
3618 * gdb.btrace/x86-tailcall.S: Renamed into ...
3619 * gdb.btrace/x86_64-tailcall.S: ... this.
3620 * gdb.btrace/i686-tailcall.S: New.
3621 * gdb.btrace/x86-tailcall.c: Renamed into ...
3622 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3623 separate statements. Update test.
3624 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3625 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3626 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3627 * gdb.btrace/tailcall.exp: Choose test file based on target.
3628 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3630 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3632 * gdb.btrace/exception.exp: Increase BTS buffer size.
3634 2015-03-24 Pedro Alves <palves@redhat.com>
3636 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3638 2015-03-24 Pedro Alves <palves@redhat.com>
3640 * gdb.threads/schedlock.exp (test_step): No longer expect that
3641 "set scheduler-locking step" with "next" over a function call runs
3644 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3646 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3648 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3650 PR breakpoints/16466
3651 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3652 * gdb.mi/mi-pending.c (thread_func): New function.
3653 (int main): Add threading support required.
3654 * gdb.mi/mi-pending.exp: Add tests for this issue.
3655 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3656 (pendfunc2): Remove stdio dependency.
3657 * gdb.mi/mi-pendshr2.c: New file.
3659 2015-03-23 Keith Seitz <keiths@redhat.com>
3661 * gdb.linespec/keywords.c: New file.
3662 * gdb.linespec/keywords.exp: New file.
3664 2015-03-23 Keith Seitz <keiths@redhat.com>
3667 * gdb.dwarf2/staticvirtual.exp: New test.
3669 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3671 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3672 * README: Remove HP-UX and gdb.hp.
3674 * configure: Regenerate.
3675 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3676 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3677 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3678 gdb.hp/gdb.defects/Makefile.
3679 * gdb.hp/Makefile.in: File deleted.
3680 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3681 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3682 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3683 * gdb.hp/gdb.aCC/run.c: File deleted.
3684 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3685 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3686 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3687 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3688 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3689 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3690 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3691 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3692 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3693 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3694 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3695 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3696 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3697 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3698 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3699 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3700 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3701 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3702 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3703 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3704 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3705 * gdb.hp/gdb.compat/average.c: File deleted.
3706 * gdb.hp/gdb.compat/sum.c: File deleted.
3707 * gdb.hp/gdb.compat/xdb.c: File deleted.
3708 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3709 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3710 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3711 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3712 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3713 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3714 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3715 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3716 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3717 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3718 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3719 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3720 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3721 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3722 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3723 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3724 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3725 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3726 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3727 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3728 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3729 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3730 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3731 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3732 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3733 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3734 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3735 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3736 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3737 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3738 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3739 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3740 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3741 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3742 * gdb.hp/tools/odump: File deleted.
3744 2015-03-19 Pedro Alves <palves@redhat.com>
3746 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3747 (saw_thread_3): New globals.
3748 (top level): Increment them when an event for the corresponding
3750 (no thread starvation): New test.
3752 2015-03-19 Pedro Alves <palves@redhat.com>
3754 * gdb.threads/continue-pending-status.c: New file.
3755 * gdb.threads/continue-pending-status.exp: New file.
3757 2015-03-18 Pedro Alves <palves@redhat.com>
3759 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3760 Use gdb_is_target_remote instead of is_remote. Use
3761 gdb_test_multiple instead of gdb_expect. Exit early if
3762 gdb_test_multiple hits its internal matches. Tighten stepi tests
3763 expected output. Fail on exit with any signal, instead of just
3766 2015-03-18 Yao Qi <yao.qi@linaro.org>
3769 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3771 * gdb.base/catch-syscall.exp: Don't skip it on
3772 aarch64*-*-linux* target. Remove elements in all_syscalls.
3773 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3775 (setup_all_syscalls): New proc.
3777 2015-03-16 Yao Qi <yao.qi@linaro.org>
3779 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3780 (top level): Skip tests if valid_addr_p returns false for
3783 2015-03-11 Andy Wingo <wingo@igalia.com>
3785 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3787 2015-03-11 Yao Qi <yao.qi@linaro.org>
3789 * gdb.base/catch-syscall.exp: Fix typo in comments.
3791 2015-03-11 Yao Qi <yao.qi@linaro.org>
3793 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3795 2015-03-09 Pedro Alves <palves@redhat.com>
3797 * dg-extract-results.py: Delete.
3799 2015-03-09 Pedro Alves <palves@redhat.com>
3801 Merge dg-extract-results.sh from GCC upstream (r218843).
3803 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3804 * dg-extract-results.sh: Use --text with grep to avoid issues with
3805 binary files. Fall back to cat -v, if that doesn't work.
3807 2015-03-05 Pedro Alves <palves@redhat.com>
3809 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3811 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3813 * lib/mi-support.exp (mi_expect_interrupt): Accept
3814 alternative event for when in all-stop mode.
3816 2015-03-04 Pedro Alves <palves@redhat.com>
3818 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3820 2015-03-04 Mark Kettenis <kettenis@gnu.org>
3822 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3824 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3826 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3827 regexps for GDB's current line display, accept a hex address
3828 preceding the line number.
3830 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3832 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3833 the 'arch1' variable for "s390*-linux*" targets.
3835 2015-03-04 Pedro Alves <palves@redhat.com>
3837 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3838 (main): Pass missing retval argument to pthread_join call.
3840 2015-03-02 Pedro Alves <palves@redhat.com>
3842 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3843 (top level): Call do_test with non-stop as well.
3845 2015-03-02 Pedro Alves <palves@redhat.com>
3847 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3850 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3852 * gdb.arch/s390-vregs.exp: New test.
3853 * gdb.arch/s390-vregs.S: New file.
3855 2015-02-27 Pedro Alves <palves@redhat.com>
3857 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3858 call to catch_command_errors.
3859 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3860 catch_command_errors.
3862 2015-02-27 Pedro Alves <palves@redhat.com>
3864 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3865 "true" for boolean result.
3866 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3869 2015-02-27 Pedro Alves <palves@redhat.com>
3871 * lib/unbuffer_output.c: New file.
3872 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3873 (main): Call gdb_unbuffer_output.
3875 2015-02-27 Yao Qi <yao.qi@linaro.org>
3877 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3880 2015-02-26 Doug Evans <dje@google.com>
3882 * gdb.cp/class2.cc (Dbase, D): New classes.
3883 (main): New local delta.
3884 * gdb.cp/class2.exp: Test printing delta.
3885 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3886 (dynbar): New global.
3887 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3889 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3891 * gdb.compile/compile-ifunc.c: New file.
3892 * gdb.compile/compile-ifunc.exp: New file.
3894 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3896 * gdb.base/structs.exp: Check for correct struct on finish.
3898 2015-02-26 Yao Qi <yao.qi@linaro.org>
3900 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3903 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3905 * gdb.arch/cordic.ko.bz2: New file.
3906 * gdb.arch/cordic.ko.debug.bz2: New file.
3907 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3909 2015-02-25 Yao Qi <yao.qi@linaro.org>
3911 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3912 aarch64*-*-* target.
3914 2015-02-23 Pedro Alves <palves@redhat.com>
3916 * lib/gdb.exp (delete_breakpoints): Rewrite using
3919 2015-02-23 Pedro Alves <palves@redhat.com>
3921 * gdb.base/info-os.c: Include stdlib.h.
3923 2015-02-22 Doug Evans <xdje42@gmail.com>
3926 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3927 is read after symbols have been re-read.
3928 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3929 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3931 2015-02-21 Doug Evans <dje@google.com>
3933 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3935 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3938 * gdb.arch/i386-biarch-core.core.bz2: New file.
3939 * gdb.arch/i386-biarch-core.exp: New file.
3941 2015-02-21 Pedro Alves <palves@redhat.com>
3943 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3946 2015-02-20 Pedro Alves <palves@redhat.com>
3948 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3951 2015-02-20 Pedro Alves <palves@redhat.com>
3953 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3955 2015-02-20 Pedro Alves <palves@redhat.com>
3957 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3958 clean_restart before gdb_target_supports_trace.
3960 2015-02-20 Pedro Alves <palves@redhat.com>
3963 * gdb.threads/clone-thread_db.c: New file.
3964 * gdb.threads/clone-thread_db.exp: New file.
3966 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3968 PR breakpoints/16812
3969 * gdb.base/catch-gdb-caused-signals.c: New file.
3970 * gdb.base/catch-gdb-caused-signals.exp: New file.
3972 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3974 * configure: Regenerated.
3975 * configure.ac: Use GDB_AC_TRANSFORM.
3976 * aclocal.m4: sinclude ../transform.m4.
3978 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3980 * lib/dtrace.exp: New file.
3981 * gdb.base/dtrace-probe.exp: Likewise.
3982 * gdb.base/dtrace-probe.d: Likewise.
3983 * gdb.base/dtrace-probe.c: Likewise.
3984 * lib/pdtrace.in: Likewise.
3985 * configure.ac: Output variables with the transformed names of
3986 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3987 * configure: Regenerated.
3989 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3991 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3992 expected message when trying to access $_probe_* convenience
3993 variables while not on a probe.
3995 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3997 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3999 2015-02-11 Pedro Alves <pedro@codesourcery.com>
4001 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4002 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4004 2015-02-10 Doug Evans <xdje42@gmail.com>
4006 * lib/gdb.exp (gdb_load): Always return a result.
4008 2015-02-10 Pedro Alves <palves@redhat.com>
4010 * gdb.threads/signal-sigtrap.c: New file.
4011 * gdb.threads/signal-sigtrap.exp: New file.
4013 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4015 * gdb.trace/no-attach-trace.c: New file.
4016 * gdb.trace/no-attach-trace.exp: New file.
4018 2015-02-09 Mark Wielaard <mjw@redhat.com>
4020 * gdb.dwarf2/atomic.c: New file.
4021 * gdb.dwarf2/atomic-type.exp: Likewise.
4023 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4025 * gdb.btrace/buffer-size.exp: Update "info record" output.
4026 * gdb.btrace/delta.exp: Update "info record" output.
4027 * gdb.btrace/enable.exp: Update "info record" output.
4028 * gdb.btrace/finish.exp: Update "info record" output.
4029 * gdb.btrace/instruction_history.exp: Update "info record" output.
4030 * gdb.btrace/next.exp: Update "info record" output.
4031 * gdb.btrace/nexti.exp: Update "info record" output.
4032 * gdb.btrace/step.exp: Update "info record" output.
4033 * gdb.btrace/stepi.exp: Update "info record" output.
4034 * gdb.btrace/nohist.exp: Update "info record" output.
4036 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4038 * gdb.btrace/buffer-size: New.
4040 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4042 * gdb.btrace/delta.exp: Update "info record" output.
4043 * gdb.btrace/enable.exp: Update "info record" output.
4044 * gdb.btrace/finish.exp: Update "info record" output.
4045 * gdb.btrace/instruction_history.exp: Update "info record" output.
4046 * gdb.btrace/next.exp: Update "info record" output.
4047 * gdb.btrace/nexti.exp: Update "info record" output.
4048 * gdb.btrace/step.exp: Update "info record" output.
4049 * gdb.btrace/stepi.exp: Update "info record" output.
4050 * gdb.btrace/nohist.exp: Update "info record" output.
4052 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4055 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4057 2015-02-06 Pedro Alves <palves@redhat.com>
4059 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4061 (seconds_left, again): New globals.
4062 (main): Wait seconds_left in a 1-second sleep loop instead of
4063 sleeping 180 seconds. If 'again' is set, reset the seconds
4065 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4066 'again' in the inferior before detaching. Print the seconds left.
4067 (options): New global.
4068 (top level): Build program with -DTIMEOUT=$timeout.
4070 2015-02-06 Pedro Alves <palves@redhat.com>
4072 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4073 determine how many seconds to pass to 'alarm'.
4074 * gdb.base/gdb-sigterm.exp (top level): Build program with
4076 (do_test): Return success/failure indication. Add more verbose
4077 logging. Don't fail if 200 single steps are seen. Instead, fail
4078 when the test times out.
4079 (passes): New global.
4080 (top level): Break the testing loop if testing fails on any
4081 iteration. Use gdb_assert.
4083 2015-02-04 Don Breazeal <donb@codesourcery.com>
4085 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4086 and initialize them.
4087 (ipc_cleanup): New function.
4088 (main): Don't declare shmid, semid, and msqid. Add a call to
4089 atexit so that we call ipc_cleanup on exit.
4091 2015-02-04 Pedro Alves <palves@redhat.com>
4093 * boards/native-extended-gdbserver.exp: Remove any target variant
4094 specifications from the board name before clearing the isremote
4095 flag from board_info.
4097 2015-01-31 Doug Evans <xdje42@gmail.com>
4099 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4101 2015-01-31 Gary Benson <gbenson@redhat.com>
4103 * gdb.base/completion.exp: Disable completion limiting for
4104 existing tests. Add new tests to check completion limiting.
4105 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4107 2015-01-31 Doug Evans <xdje42@gmail.com>
4109 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4111 2015-01-31 Doug Evans <xdje42@gmail.com>
4113 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4114 entries. Duplicate file section script entries.
4115 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4116 inlined entries. Add test for safe-path rejection.
4117 * gdb.python/py-section-script.c: Add duplicate inlined section script
4118 entries. Duplicate file section script entries.
4119 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4120 inlined entries. Add test for safe-path rejection.
4122 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4124 * gdb.ada/disc_arr_bound: New testcase.
4126 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4128 * gdb.ada/mi_var_array: New testcase.
4130 2015-01-27 Doug Evans <dje@google.com>
4132 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4133 Add test for objfile.filename, objfile.username after objfile
4136 2015-01-26 Joel Brobecker <brobecker@adacore.com>
4138 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4139 the second test to print the name attribute of value
4140 returned by the call to gdb.lookup_type, and adjust
4141 the expected output accordingly.
4143 2015-01-25 Mark Wielaard <mjw@redhat.com>
4145 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4146 * gdb.base/disp-step-fork.c: Include unistd.h.
4147 * gdb.base/siginfo-obj.c: Include stdio.h.
4148 * gdb.base/siginfo-thread.c: Likewise.
4149 * gdb.mi/non-stop.c: Include unistd.h.
4150 * gdb.mi/nsthrexec.c: Include stdio.h.
4151 * gdb.mi/pthreads.c: Include unistd.h.
4152 * gdb.modula2/unbounded1.c (main): Declare returns int.
4153 * gdb.reverse/consecutive-reverse.c: Likewise.
4154 * gdb.threads/create-fail.c: Include unistd.h.
4155 * gdb.threads/killed.c: Likewise.
4156 * gdb.threads/linux-dp.c: Likewise.
4157 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4158 * gdb.threads/non-ldr-exc-2.c: Likewise.
4159 * gdb.threads/non-ldr-exc-3.c: Likewise.
4160 * gdb.threads/non-ldr-exc-4.c: Likewise.
4161 * gdb.threads/pthreads.c: Include unistd.h.
4162 (main): Declare returns int.
4163 * gdb.threads/tls-main.c (foo): New declaration.
4164 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4166 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4168 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4169 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4171 2015-01-15 Mark Wielaard <mjw@redhat.com>
4173 * gdb.base/noreturn-return.c: New file.
4174 * gdb.base/noreturn-return.exp: New file.
4175 * gdb.base/noreturn-finish.c: New file.
4176 * gdb.base/noreturn-finish.exp: New file.
4178 2015-01-23 Pedro Alves <palves@redhat.com>
4180 * gdb.threads/continue-pending-after-query.c: New file.
4181 * gdb.threads/continue-pending-after-query.exp: New file.
4183 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4184 Simon Marchi <simon.marchi@ericsson.com>
4186 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4187 * gdb.base/valgrind-db-attach.exp: Same.
4188 * gdb.base/valgrind-infcall.exp: Same.
4189 * lib/mi-support.exp (default_mi_gdb_start): Same.
4190 * lib/prompt.exp (default_prompt_gdb_start): Same.
4191 * lib/gdb.exp (default_gdb_spawn): Same.
4192 (gdb_interact): New.
4195 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4197 * gdb.compile/compile.exp (pointer to jit function): New test.
4199 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
4201 * lib/gdb.exp (supports_process_record): Return true for
4203 (supports_reverse): Likewise.
4205 2015-01-15 Don Breazeal <donb@codesourcery.com>
4207 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4208 instead of checking whether the target board is remote and
4209 use spawn_wait_for_attach instead of exec/sleep.
4210 * gdb.base/attach-twice.exp: Likewise.
4212 2015-01-15 Joel Brobecker <brobecker@adacore.com>
4214 * gdb.ada/var_arr_attrs: New testcase.
4216 2015-01-14 Pedro Alves <palves@redhat.com>
4217 Joel Brobecker <brobecker@adacore.com>
4220 * gdb.base/bp-cmds-execution-x-script.c: New file.
4221 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4222 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4224 2015-01-14 Pedro Alves <palves@redhat.com>
4227 * gdb.base/batch-preserve-term-settings.c: New file.
4228 * gdb.base/batch-preserve-term-settings.exp: New file.
4230 2015-01-13 Doug Evans <dje@google.com>
4232 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4235 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4237 * Makefile.in (clean mostlyclean): Do not delete *.py.
4239 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4241 * gdb.python/py-lookup-type.exp: New file.
4243 2015-01-12 Pedro Alves <palves@redhat.com>
4245 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4246 restore GDBFLAGS before returning.
4248 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4250 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4251 is_amd64_regs_target and is_x86_like_target.
4253 2015-01-11 Doug Evans <xdje42@gmail.com>
4255 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4256 is given without an explicit form.
4257 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4259 * gdb.dwarf/corrupt.exp: Ditto.
4260 * gdb.dwarf2/enum-type.exp: Ditto.
4261 * gdb.trace/entry-values.exp: Ditto.
4262 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4264 2015-01-11 Doug Evans <xdje42@gmail.com>
4267 * gdb.base/maint.exp: Remove references to "maint demangle".
4268 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4269 Add tests for explicitly specifying language to demangle.
4270 * gdb.dlang/demangle.exp: Ditto.
4272 2015-01-09 Pedro Alves <palves@redhat.com>
4274 * gdb.threads/non-stop-fair-events.c: New file.
4275 * gdb.threads/non-stop-fair-events.exp: New file.
4277 2015-01-09 Pedro Alves <palves@redhat.com>
4279 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4280 the global scope. Set a breakpoint after all threads are started
4281 rather than stepping over two source lines. Expect the prompt.
4282 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4285 (main): Use threads_started_barrier to wait for all threads to
4286 start. Main thread no longer calls thread_function. Exit after
4288 (loop): New function.
4289 (thread_function): Wait on threads_started_barrier barrier. Call
4290 'loop' at each iteration.
4291 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4292 threads have started, instead of hardcoding number of "next"
4293 steps. Use an access watchpoint instead of a write watchpoint.
4295 2015-01-09 Pedro Alves <palves@redhat.com>
4297 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4298 (thread_func): Wait on barrier.
4299 (main): Wait for all threads to start before stopping GDB.
4300 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4302 (thread1_func, thread2_func): Wait on barrier.
4303 (main): Wait for all threads to start before stopping GDB.
4304 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4306 (thread1_func, thread2_func): Wait on barrier.
4307 (main): Wait for all threads to start before stopping GDB.
4309 2015-01-09 Pedro Alves <palves@redhat.com>
4311 * gdb.threads/attach-many-short-lived-threads.c: New file.
4312 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4314 2014-01-09 Pedro Alves <palves@redhat.com>
4316 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4317 instead of to thread 2.
4318 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4319 Add barrier around each pthread_create call instead of around all
4321 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4322 Set a break on thread_function and have the child threads hit it
4325 2015-01-09 Pedro Alves <palves@redhat.com>
4327 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4328 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4330 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4331 checking whether the target board is remote.
4332 * gdb.multi/multi-attach.exp: Likewise.
4333 * gdb.python/py-sync-interp.exp: Likewise.
4334 * gdb.server/ext-attach.exp: Likewise.
4335 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4336 tests that need to attach, instead of checking whether the target
4337 board is remote at the top of the file.
4339 2015-01-08 Yao Qi <yao@codesourcery.com>
4341 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4343 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4345 Fix testcase compilation.
4346 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4348 2015-01-06 Joel Brobecker <brobecker@adacore.com>
4350 * gdb.python/py-type.exp: Add a couple test about empty
4351 array creation, and negative-length array creation.
4353 2015-01-02 Doug Evans <xdje42@gmail.com>
4355 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4357 2015-01-02 Doug Evans <dje@google.com>
4359 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4361 2014-12-29 Yao Qi <yao@codesourcery.com>
4363 * gdb.trace/entry-values.exp: Update comments. Rename variable
4364 bar_call_foo to returned_from_foo.
4366 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4369 * gdb.linespec/break-asm-file.c: New file.
4370 * gdb.linespec/break-asm-file.exp: New file.
4371 * gdb.linespec/break-asm-file0.s: New file.
4372 * gdb.linespec/break-asm-file1.s: New file.
4374 2014-12-18 Nigel Stephens <nigel@mips.com>
4375 Maciej W. Rozycki <macro@codesourcery.com>
4377 * gdb.base/float.exp: Handle the new output from "info float" on
4380 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4382 Fix MinGW compilation.
4383 * gdb.compile/compile-ops.exp: Update untested message if
4384 !skip_compile_feature_tests.
4385 * gdb.compile/compile-setjmp.exp: Likewise.
4386 * gdb.compile/compile-tls.exp: Likewise.
4387 * gdb.compile/compile.exp: Likewise.
4388 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4389 supported on this host".
4391 2014-12-16 Doug Evans <xdje42@gmail.com>
4393 * boards/stabs.exp: New file.
4395 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4397 * gdb.base/completion.exp: Adjust to format changes of "maint
4398 print user-registers".
4400 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
4403 * gdb.arch/aarch64-fp.c: New file.
4404 * gdb.arch/aarch64-fp.exp: New file.
4406 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4408 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4409 r210637, r210913, r211666, r215400, r215817).
4411 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4412 * dg-extract-results.py: New file.
4413 * dg-extract-results.sh: Use it if the environment seems
4416 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4418 * dg-extract-results.py (parse_run): Handle warnings that
4419 are printed before a test harness is run.
4421 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4423 * dg-extract-results.py (Named): Remove __cmp__ method.
4424 (output_variation): Use a key to sort variation.harnesses.
4426 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4428 * dg-extract-results.py: For Python 3, force sys.stdout to
4429 handle surrogate escape sequences.
4430 (safe_open): New function.
4431 (output_segment, main): Use it.
4433 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4435 * dg-extract-results.py (Prog.result_re): Include options
4438 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4440 * dg-extract-results.py (output_variation): Always sort if
4443 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4445 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4446 as long as we get pagination notifications.
4448 2014-12-15 Jason Merrill <jason@redhat.com>
4450 * Makefile.in (check-gdb.%): Restore.
4451 * README: Mention it.
4453 2014-12-13 Joel Brobecker <brobecker@adacore.com>
4455 * gdb.ada/str_uninit: New testcase.
4457 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4460 * gdb.base/vla-stub-define.c: New file.
4461 * gdb.base/vla-stub.c: New file.
4462 * gdb.base/vla-stub.exp: New file.
4464 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4465 Jan Kratochvil <jan.kratochvil@redhat.com>
4466 Tom Tromey <tromey@redhat.com>
4468 * configure.ac: Add gdb.compile/.
4469 * configure: Regenerate.
4470 * gdb.compile/Makefile.in: New file.
4471 * gdb.compile/compile-ops.exp: New file.
4472 * gdb.compile/compile-ops.c: New file.
4473 * gdb.compile/compile-tls.c: New file.
4474 * gdb.compile/compile-tls.exp: New file.
4475 * gdb.compile/compile-constvar.S: New file.
4476 * gdb.compile/compile-constvar.c: New file.
4477 * gdb.compile/compile-mod.c: New file.
4478 * gdb.compile/compile-nodebug.c: New file.
4479 * gdb.compile/compile-setjmp-mod.c: New file.
4480 * gdb.compile/compile-setjmp.c: New file.
4481 * gdb.compile/compile-setjmp.exp: New file.
4482 * gdb.compile/compile-shlib.c: New file.
4483 * gdb.compile/compile.c: New file.
4484 * gdb.compile/compile.exp: New file.
4485 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4487 2014-12-12 Tom Tromey <tromey@redhat.com>
4489 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4490 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4492 2014-12-12 Doug Evans <dje@google.com>
4494 * lib/gdb-python.exp (get_python_valueof): New function.
4495 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4497 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4499 * gdb.base/completion.exp: Add test for completion of "info
4502 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4504 * gdb.base/func-ptrs.c: New file.
4505 * gdb.base/func-ptrs.exp: New file.
4507 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4509 PR breakpoints/17012
4510 * gdb.base/dprintf-detach.c: New file.
4511 * gdb.base/dprintf-detach.exp: New file.
4513 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4515 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4516 * lib/gdb.exp (target_is_gdbserver): New procedure.
4518 2014-12-08 Doug Evans <dje@google.com>
4520 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4522 2014-12-05 Yao Qi <yao@codesourcery.com>
4524 * gdb.guile/scm-error.exp: Remove the third argument to
4525 gdb_remote_download.
4526 * gdb.guile/scm-frame-args.exp: Likewise.
4527 * gdb.guile/scm-section-script.exp: Likewise.
4529 2014-12-05 Yao Qi <yao@codesourcery.com>
4531 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4533 2014-12-04 Doug Evans <dje@google.com>
4535 * gdb.python/py-objfile.exp: Add tests for
4536 objfile.add_separate_debug_file.
4538 2014-12-04 Doug Evans <dje@google.com>
4540 * lib/gdb.exp (get_build_id): New function.
4541 (build_id_debug_filename_get): Rewrite to use it.
4542 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4544 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4546 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4547 `method(long)', not just 0x0.
4548 * gdb.cp/nsalias.exp: Align code labels to 4.
4549 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4550 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4551 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4552 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4553 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4554 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4556 2014-12-02 Doug Evans <dje@google.com>
4559 * gdb.cp/anon-ns.cc: Move guts of this file to ...
4560 * gdb.cp/anon-ns2.cc: ... here. New file.
4561 * gdb.cp/anon-ns.exp: Update.
4563 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
4565 * gdb.python/py-events.py (inferior_call_handler): New.
4566 (register_changed_handler, memory_changed_handler): New.
4567 (test_events.invoke): Register new handlers.
4568 * gdb.python/py-events.exp: Add tests for inferior call,
4569 memory_changed and register_changed events.
4571 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4573 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4574 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4575 if the linker doesn't understand this.
4577 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4579 * gdb.python/python.exp: Change expected reply to help().
4581 2014-12-01 Yao Qi <yao@codesourcery.com>
4583 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4584 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4585 * configure: Re-generated.
4587 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4589 * gdb.cp/chained-calls.cc: New file.
4590 * gdb.cp/chained-calls.exp: New file.
4591 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4593 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4595 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4596 * gdb.dwarf2/symtab-producer.exp: Same.
4597 * gdb.gdb/python-interrupts.exp: Same.
4598 * gdb.gdb/python-selftest.exp: Same.
4599 * gdb.python/py-linetable.exp: Same.
4600 * gdb.python/py-type.exp: Same.
4601 * gdb.python/py-value-cc.exp: Same.
4602 * gdb.python/py-value.exp: Same.
4604 2014-11-28 Yao Qi <yao@codesourcery.com>
4606 * gdb.base/break-probes.exp: Match library name prefixed with
4609 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4611 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4612 test expected output. Add parentheses for the call to print.
4613 Remove L suffix from integers.
4615 2014-11-26 Doug Evans <dje@google.com>
4617 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4619 2014-11-22 Yao Qi <yao@codesourcery.com>
4621 * gdb.trace/entry-values.c: Remove asms.
4622 (foo): Add foo_label.
4623 (bar): Add bar_label.
4624 * gdb.trace/entry-values.exp: Remove code computing foo's
4625 length and bar's length.
4626 (Dwarf::assemble): Invoke function_range for bar and use
4627 MACRO_AT_func for foo.
4629 2014-11-22 Yao Qi <yao@codesourcery.com>
4631 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4632 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4633 Use .Lgcc43_procstart instead of gcc43.
4635 2014-11-21 Joel Brobecker <brobecker@adacore.com>
4637 * gdb.ada/n_arr_bound: New testcase.
4639 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4641 PR breakpoints/10737
4642 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4643 test_catch_syscall_multi_arch.
4644 (test_catch_syscall_multi_arch): New function.
4646 2014-11-20 Doug Evans <xdje42@gmail.com>
4648 * gdb.base/maint.exp: Update expected output.
4650 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4652 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4653 4-byte instruction on S390.
4655 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4657 * gdb.ada/arr_arr: New testcase.
4659 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4661 * gdb.ada/pkd_arr_elem: New Testcase.
4663 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
4665 * gdb.reverse/break-precsave: Expect completion message for
4667 * gdb.reverse/consecutive-precsave.exp: Likewise.
4668 * gdb.reverse/finish-precsave.exp: Likewise.
4669 * gdb.reverse/i386-precsave.exp: Likewise.
4670 * gdb.reverse/machinestate-precsave.exp: Likewise.
4671 * gdb.reverse/sigall-precsave.exp: Likewise.
4672 * gdb.reverse/solib-precsave.exp: Likewise.
4673 * gdb.reverse/step-precsave.exp: Likewise.
4674 * gdb.reverse/until-precsave.exp: Likewise.
4675 * gdb.reverse/watch-precsave.exp: Likewise.
4677 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4679 * gdb.base/bp-permanent.c: Include unistd.h.
4680 * gdb.python/py-framefilter-mi.c (main): Add return type.
4681 * gdb.python/py-framefilter.c (main): Likewise.
4682 * gdb.trace/actions-changed.c (main): Likewise.
4684 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4686 * gdb.mi/until.c: Add eye-catchers.
4687 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4690 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4692 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4693 function header variants in break1.c.
4694 * gdb.base/ena-dis-br.exp: Likewise.
4695 * gdb.base/hbreak2.exp: Likewise.
4696 * gdb.reverse/until-precsave.exp: Drop references to removed
4697 non-prototype function header variants in ur1.c.
4698 * gdb.reverse/until-reverse.exp: Likewise.
4700 2014-11-17 Petr Machata <pmachata@redhat.com>
4702 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4703 ${_cu_offset_size} bytes abbrev offset.
4705 2014-11-15 Doug Evans <xdje42@gmail.com>
4708 * gdb.base/line-symtabs.exp: New file.
4709 * gdb.base/line-symtabs.c: New file.
4710 * gdb.base/line-symtabs.h: New file.
4712 2014-11-14 Yao Qi <yao@codesourcery.com>
4714 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4715 (func): Add label func_label.
4716 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4717 Replace low_pc and high_pc with MACRO_AT_range.
4718 Replace name, low_pc and high_pc with MACRO_AT_func.
4720 2014-11-14 Yao Qi <yao@codesourcery.com>
4722 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4723 Replace name, low_pc and high_pc with MACRO_AT_func.
4725 2014-11-14 Yao Qi <yao@codesourcery.com>
4727 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4728 produce debug information.
4729 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4731 2014-11-14 Yao Qi <yao@codesourcery.com>
4733 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4734 object and get function length.
4735 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4737 (top-level): Replace gdb_compile and clean_restart with
4738 prepare_for_testing.
4739 * gdb.dwarf2/main.c (main): Add label main_label.
4741 2014-11-14 Yao Qi <yao@codesourcery.com>
4743 * lib/dwarf.exp (function_range): New procedure.
4744 (Dwarf::_handle_macro_at_func): New procedure.
4745 (Dwarf::_handle_macro_at_range): New procedure.
4746 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4748 2014-11-14 Yao Qi <yao@codesourcery.com>
4750 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4751 (_handle_attribute): New procedure.
4753 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4755 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4756 * gdb.base/call-sc.c (zed): Likewise.
4757 * gdb.base/checkpoint.c (main): Likewise.
4758 * gdb.base/dump.c (main): Likewise.
4759 * gdb.base/gcore.c (main): Likewise.
4760 * gdb.base/huge.c (main): Likewise.
4761 * gdb.base/multi-forks.c (main): Likewise.
4762 * gdb.base/pr10179-a.c (main): Likewise.
4763 * gdb.base/savedregs.c (main): Likewise.
4764 * gdb.base/sigaltstack.c (main): Likewise.
4765 * gdb.base/siginfo.c (main): Likewise.
4766 * gdb.base/structs.c (zed): Likewise.
4767 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4768 * gdb.mi/mi-syn-frame.c (main): Likewise.
4769 * gdb.mi/until.c (foo, main): Likewise.
4770 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4771 * gdb.base/solib-weak.c (foo): Declare.
4772 * gdb.base/attach-twice.c: Include stdio.h.
4773 * gdb.base/weaklib1.c: Likewise.
4774 * gdb.base/weaklib2.c: Likewise.
4775 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4776 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4778 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4779 * gdb.mi/mi-exit-code.c: Likewise.
4780 * gdb.base/break-interp-lib.c: Include string.h.
4781 * gdb.base/coremaker.c: Likewise.
4782 * gdb.base/testenv.c: Likewise.
4783 * gdb.python/py-finish-breakpoint.c: Likewise.
4784 * gdb.base/inferior-died.c: Include sys/wait.h.
4785 * gdb.base/fileio.c: Include time.h.
4786 * gdb.base/async-shell.c: Include unistd.h.
4787 * gdb.base/dprintf-non-stop.c: Likewise.
4788 * gdb.base/info-os.c: Likewise.
4789 * gdb.mi/mi-console.c: Likewise.
4790 * gdb.mi/watch-nonstop.c: Likewise.
4791 * gdb.python/py-events.c: Likewise.
4792 * gdb.base/async.c (baz): Move up before its invocation.
4793 * gdb.base/code_elim2.c (my_global_func): Likewise.
4794 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4795 * gdb.base/advance.c (func2): Likewise.
4797 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4799 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4801 * gdb.base/annota3.c: Likewise.
4802 * gdb.base/async.c: Likewise.
4803 * gdb.base/average.c: Likewise.
4804 * gdb.base/call-ar-st.c: Likewise.
4805 * gdb.base/call-rt-st.c: Likewise.
4806 * gdb.base/call-sc.c: Likewise.
4807 * gdb.base/call-strs.c: Likewise.
4808 * gdb.base/ending-run.c: Likewise.
4809 * gdb.base/execd-prog.c: Likewise.
4810 * gdb.base/exprs.c: Likewise.
4811 * gdb.base/foll-exec.c: Likewise.
4812 * gdb.base/foll-fork.c: Likewise.
4813 * gdb.base/foll-vfork.c: Likewise.
4814 * gdb.base/funcargs.c: Likewise.
4815 * gdb.base/gcore.c: Likewise.
4816 * gdb.base/jump.c: Likewise.
4817 * gdb.base/langs0.c: Likewise.
4818 * gdb.base/langs1.c: Likewise.
4819 * gdb.base/langs2.c: Likewise.
4820 * gdb.base/mips_pro.c: Likewise.
4821 * gdb.base/nodebug.c: Likewise.
4822 * gdb.base/opaque0.c: Likewise.
4823 * gdb.base/opaque1.c: Likewise.
4824 * gdb.base/recurse.c: Likewise.
4825 * gdb.base/run.c: Likewise.
4826 * gdb.base/scope0.c: Likewise.
4827 * gdb.base/scope1.c: Likewise.
4828 * gdb.base/setshow.c: Likewise.
4829 * gdb.base/setvar.c: Likewise.
4830 * gdb.base/shmain.c: Likewise.
4831 * gdb.base/shr1.c: Likewise.
4832 * gdb.base/shr2.c: Likewise.
4833 * gdb.base/sigall.c: Likewise.
4834 * gdb.base/signals.c: Likewise.
4835 * gdb.base/so-indr-cl.c: Likewise.
4836 * gdb.base/solib2.c: Likewise.
4837 * gdb.base/structs.c: Likewise.
4838 * gdb.base/sum.c: Likewise.
4839 * gdb.base/vforked-prog.c: Likewise.
4840 * gdb.base/watchpoint.c: Likewise.
4841 * gdb.reverse/shr2.c: Likewise.
4842 * gdb.reverse/until-reverse.c: Likewise.
4843 * gdb.reverse/ur1.c: Likewise.
4844 * gdb.reverse/watch-reverse.c: Likewise.
4846 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4848 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4850 * gdb.base/sepdebug.exp: Drop references to removed code.
4852 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4854 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4855 variant. Preserve original line numbering.
4856 * gdb.base/list1.c: Likewise.
4858 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4860 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4862 * gdb.base/break1.c: Likewise.
4863 * gdb.base/break.exp: Drop references to removed code.
4865 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4867 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4870 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4872 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4874 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4876 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4877 logic into perform_all_tests() and invoke it with and without
4878 function header prototypes.
4879 (do_function_calls): Remove conditional XFAIL for PR 5318.
4880 (rerun_and_prepare): Remove duplicate code.
4881 (perform_all_tests): New. Main logic moved here.
4883 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4885 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4886 code guarded by #ifdef NO_PROTOTYPES.
4887 (t_double_many_args): Likewise.
4888 (DEF_FUNC_MANY_ARGS_1): Likewise.
4889 (DEF_FUNC_VALUES_1): Likewise.
4890 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4891 guarded by #ifdef PROTOTYPES.
4893 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4895 * gdb.mi/mi-console.c: Add eye-catcher.
4896 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4897 instead of literal line number.
4899 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4901 * gdb.base/shr2.c: Add eye-catcher.
4902 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4905 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4907 * gdb.base/jump.c: Add eye-catchers.
4908 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4911 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4913 * gdb.base/execd-prog.c: Add eye-catchers.
4914 * gdb.base/foll-exec.c: Likewise.
4915 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4918 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4920 * gdb.base/ending-run.c: Add eye-catchers.
4921 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4922 literal line numbers.
4924 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4926 * gdb.base/call-rt-st.c: Add eye-catchers.
4927 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4928 literal line numbers.
4930 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4932 * gdb.base/call-ar-st.c: Add eye-catchers.
4933 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4934 literal line numbers.
4936 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4938 * gdb.base/average.c: Add eye-catchers.
4939 * gdb.base/sum.c: Likewise.
4940 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4941 regexps dynamically.
4943 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4945 * gdb.base/solib1.c: Add eye-catchers.
4946 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4947 literal line numbers.
4949 2014-11-12 Pedro Alves <palves@redhat.com>
4951 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4954 2014-11-12 Pedro Alves <palves@redhat.com>
4956 * gdb.arch/i386-bp_permanent.c: New file.
4957 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4958 (srcfile): Set to i386-bp_permanent.c.
4959 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4960 that stepi does not execute the 'leave' instruction, instead of
4961 testing it does execute.
4962 * gdb.base/bp-permanent.c: New file.
4963 * gdb.base/bp-permanent.exp: New file.
4965 2014-11-10 Doug Evans <xdje42@gmail.com>
4968 * gdb.base/symtab-search-order.exp: New file.
4969 * gdb.base/symtab-search-order.c: New file.
4970 * gdb.base/symtab-search-order-1.c: New file.
4971 * gdb.base/symtab-search-order-shlib-1.c: New file.
4973 2014-11-07 Pedro Alves <palves@redhat.com>
4976 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4979 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4982 * gdb.cp/pr17494.cc: New file.
4983 * gdb.cp/pr17494.exp: New file.
4985 2014-11-02 Yao Qi <yao@codesourcery.com>
4987 * gdb.python/python.exp: Get working directory and match the
4988 output of "set extended-prompt \\w " with it.
4990 2014-10-30 Doug Evans <dje@google.com>
4992 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4994 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4997 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
4999 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5000 * gdb.base/realname-expand.exp: Likewise.
5001 * gdb.linespec/macro-relative.exp: Likewise.
5003 2014-10-29 Pedro Alves <palves@redhat.com>
5006 * gdb.threads/schedlock.c (some_function): New function.
5007 (call_function): New global.
5008 (MAYBE_CALL_SOME_FUNCTION): New macro.
5009 (thread_function): Call it.
5010 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5011 and use it instead of a global counter. Adjust all callers.
5012 (get_current_thread): Use "find current thread" for test message
5013 here rather than having all callers pass down the same string.
5014 (goto_loop): New procedure, factored out from ...
5015 (my_continue): ... this.
5016 (step_ten_loops): Change parameter from test message to command to
5018 (list_count): Delete global.
5019 (check_result): New procedure, factored out from duplicate top
5021 (continue tests): Wrap in with_test_prefix.
5022 (test_step): New procedure, factored out from duplicate top level
5024 (top level): Test "step" in combination with all scheduler-locking
5025 modes. Test "next" in combination with all scheduler-locking
5026 modes, and in combination with stepping over a function call or
5028 * gdb.threads/next-bp-other-thread.c: New file.
5029 * gdb.threads/next-bp-other-thread.exp: New file.
5031 2014-10-29 Pedro Alves <palves@redhat.com>
5034 * gdb.python/python.exp: Test a multi-line command that spawns
5036 * gdb.base/multi-line-starts-subshell.exp: New file.
5038 2014-10-29 Yao Qi <yao@codesourcery.com>
5040 * gdb.base/fileio.exp: Make directories on host.
5042 2014-10-29 Yao Qi <yao@codesourcery.com>
5044 * gdb.base/fileio.c (test_write): Close the file.
5046 2014-10-28 Pedro Alves <palves@redhat.com>
5049 * gdb.base/sigstep.c (no_handler): New global.
5050 (main): If 'no_handler is true, set the signal handlers to
5052 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5053 with_sw_watch and no_handler parameters. Handle them.
5054 (top level) <stepping over handler when stopped at a breakpoint
5055 test>: Add a test axis for testing with a software watchpoint, and
5056 another for testing with the signal handler set to SIG_IGN.
5057 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5058 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5060 2014-10-28 Pedro Alves <palves@redhat.com>
5063 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5064 * gdb.base/sigstep.exp (other_handler_location): New global.
5065 (advance): Support stepping into the signal handler, and running
5066 commands while in the handler.
5067 (in_handler_map): New global.
5068 (top level): In the advance test, add combinations for getting
5069 into the handler with stepping commands, and for running commands
5070 in the handler. Add comment descripting the advancei tests.
5072 2014-10-28 Pedro Alves <palves@redhat.com>
5074 * gdb.base/sigstep.exp: Use build_executable instead of
5075 prepare_for_testing.
5076 (top level): Move code that starts GDB, runs to main and creates a
5078 (restart): ... this new procedure.
5079 (top level): Move backtrace from signal handler test to ...
5080 (validate_backtrace): ... this new procedure.
5081 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5082 with_test_prefix. Always restart GDB.
5083 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5084 with_test_prefix. Always restart GDB. No need to delete
5085 breakpoints after the test.
5086 (test_skip_handler): Remove prefix parameter.
5087 (skip_over_handler, breakpoint_to_handler)
5088 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5089 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5090 restart GDB. No need to delete breakpoints after the test.
5091 (top level): Use foreach to call the test procedures with
5094 2014-10-28 Pedro Alves <palves@redhat.com>
5096 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5097 instead of GNATS numbers.
5098 * gdb.base/sigbpt.exp: Likewise.
5099 * gdb.base/siginfo.exp: Likewise.
5100 * gdb.base/sigstep.exp: Likewise.
5102 2014-10-27 Pedro Alves <palves@redhat.com>
5104 * gdb.base/sigstep.c (dummy): New global.
5105 (main): Issue a couple writes to the new global.
5106 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5108 (skip_over_handler): Use test_skip_handler.
5109 (top level): Call skip_over_handler for stepi and nexti too.
5110 (breakpoint_over_handler): Use test_skip_handler.
5111 (top level): Call breakpoint_over_handler for stepi and nexti too.
5113 2014-10-27 Yao Qi <yao@codesourcery.com>
5115 * gdb.trace/tfile.c (adjust_function_address)
5116 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5117 function descriptor.
5119 2014-10-24 Don Breazeal <donb@codesourcery.com>
5121 * gdb.base/foll-fork.exp (test_follow_fork,
5122 catch_fork_child_follow): Check for updated fork messages emitted
5124 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5125 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5126 vfork_and_exec_child_follow_through_step): Check for updated vfork
5127 messages emitted from infrun.c.
5129 2014-10-24 Pedro Alves <palves@redhat.com>
5131 * gdb.base/corefile.exp: Remove references to ultrix.
5132 * gdb.base/interrupt.exp: Likewise.
5133 * gdb.base/whatis.exp: Likewise.
5134 * gdb.gdb/selftest.exp: Likewise.
5135 * gdb.threads/manythreads.exp: Likewise.
5136 * gdb.threads/print-threads.exp: Likewise.
5137 * gdb.threads/pthreads.exp:: Likewise.
5138 * gdb.threads/schedlock.exp: Likewise.
5140 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5142 * gdb.cp/non-trivial-retval.cc: Add a test case.
5143 * gdb.cp/non-trivial-retval.exp: Add a test.
5145 2014-10-20 Yao Qi <yao@codesourcery.com>
5147 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5148 * gdb.python/py-objfile-script-gdb.py: New file.
5149 * gdb.python/py-objfile-script.exp: Update reference to
5150 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5151 of remote_download. Remove the dest file.
5153 2014-10-20 Yao Qi <yao@codesourcery.com>
5155 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5156 * gdb.base/step-line.exp: Likewise.
5157 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5158 * gdb.dwarf2/dw2-basic.exp: Likewise.
5159 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5160 * gdb.dwarf2/dw2-filename.exp: Likewise.
5161 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5162 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5163 * gdb.dwarf2/dw2-producer.exp: Likewise.
5164 * gdb.dwarf2/mac-fileno.exp: Likewise.
5165 * gdb.python/py-frame-args.exp: Likewise.
5166 * gdb.python/py-framefilter.exp: Likewise.
5167 * gdb.python/py-mi.exp: Likewise.
5168 * gdb.python/py-objfile-script.exp: Likewise
5169 * gdb.python/py-pp-integral.exp: Likewise.
5170 * gdb.python/py-pp-re-notag.exp: Likewise.
5171 * gdb.python/py-prettyprint.exp: Likewise.
5172 * gdb.python/py-section-script.exp: Likewise.
5173 * gdb.python/py-typeprint.exp: Likewise.
5174 * gdb.python/py-xmethods.exp: Likewise.
5175 * gdb.stabs/weird.exp: Likewise.
5176 * gdb.xml/tdesc-regs.exp: Likewise.
5178 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5180 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5181 (out_cu): Use addr_len for the size of addresses.
5182 (out_line): Likewise. Size DW_LNE_set_address instruction
5183 according to addr_len.
5184 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5185 (FUNC): Add START_INSNS to definition.
5187 2014-10-18 Yao Qi <yao@codesourcery.com>
5189 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5190 gdb_has_argv0 return true.
5191 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5192 check [target_info exists noargs], check [gdb_has_argv0]
5194 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5195 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5198 2014-10-17 Doug Evans <dje@google.com>
5200 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5202 * gdb.python/py-events.py: Add clear_objfiles event.
5204 2014-10-17 Doug Evans <dje@google.com>
5206 * gdb.python/py-objfile.exp: Test progspace attribute.
5208 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
5210 * gdb.guile/scm-breakpoint.exp: Do not assume any
5211 directory separators when matching source file paths.
5212 * gdb.python/py-breakpoint.exp: Likewise.
5213 * gdb.reverse/break-precsave.exp: Likewise.
5214 * gdb.reverse/break-reverse.exp: Likewise.
5215 * gdb.reverse/consecutive-precsave.exp: Likewise.
5216 * gdb.reverse/finish-precsave.exp: Likewise.
5217 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5218 * gdb.reverse/finish-reverse.exp: Likewise.
5219 * gdb.reverse/i386-precsave.exp: Likewise.
5220 * gdb.reverse/i387-env-reverse.exp: Likewise.
5221 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5222 * gdb.reverse/machinestate-precsave.exp: Likewise.
5223 * gdb.reverse/machinestate.exp: Likewise.
5224 * gdb.reverse/sigall-precsave.exp: Likewise.
5225 * gdb.reverse/solib-precsave.exp: Likewise.
5226 * gdb.reverse/step-precsave.exp: Likewise.
5227 * gdb.reverse/until-precsave.exp: Likewise.
5228 * gdb.reverse/watch-precsave.exp: Likewise.
5229 * gdb.reverse/watch-reverse.exp: Likewise.
5231 2014-10-17 Yao Qi <yao@codesourcery.com>
5233 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5234 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5236 2014-10-17 Pedro Alves <palves@redhat.com>
5239 * gdb.base/bg-execution-repeat.c: New file.
5240 * gdb.base/bg-execution-repeat.exp: New file.
5242 2014-10-17 Pedro Alves <palves@redhat.com>
5245 * gdb.base/continue-all-already-running.c: New file.
5246 * gdb.base/continue-all-already-running.exp: New file.
5248 2014-10-17 Pedro Alves <palves@redhat.com>
5251 * gdb.base/annota-input-while-running.c: New file.
5252 * gdb.base/annota-input-while-running.exp: New file.
5254 2014-10-17 Pedro Alves <palves@redhat.com>
5256 * gdb.base/callfuncs.exp: emove references to osf.
5257 * gdb.base/sigall.exp: Likewise.
5258 * gdb.gdb/selftest.exp: Likewise.
5259 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5260 * gdb.mi/non-stop.c: Likewise.
5261 * gdb.mi/pthreads.c: Likewise.
5262 * gdb.reverse/sigall-precsave.exp: Likewise.
5263 * gdb.reverse/sigall-reverse.exp: Likewise.
5264 * gdb.threads/pthreads.c: Likewise.
5265 * gdb.threads/pthreads.exp: Likewise.
5267 2014-10-17 Yao Qi <yao@codesourcery.com>
5269 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5270 check 'target_info exists noargs'.
5271 (test_command_prompt_position): Likewise.
5272 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5274 (progvar_simple_while_test): Likewise.
5275 (progvar_complex_if_while_test): Likewise.
5276 (if_while_breakpoint_command_test): Likewise.
5277 (infrun_breakpoint_command_test): Likewise.
5278 (breakpoint_command_test): Likewise.
5279 (watchpoint_command_test): Likewise.
5280 (bp_deleted_in_command_test): Likewise.
5281 (temporary_breakpoint_commands): Likewise.
5283 2014-10-16 Yao Qi <yao@codesourcery.com>
5285 * gdb.base/remotetimeout.exp: Remove noargs checking.
5287 2014-10-15 Pedro Alves <palves@redhat.com>
5290 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5291 * gdb.base/breakpoint-in-ro-region.exp
5292 (probe_target_hardware_step): New procedure.
5293 (top level): Probe hardware stepping and hardware breakpoint
5294 support. Test stepping through a read-only region, with both
5295 "breakpoint auto-hw" on and off and both "always-inserted" on and
5298 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5300 * gdb.dlang/demangle.exp: Update for demangling changes.
5302 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5304 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5305 * gdb.cp/non-trivial-retval.exp: Add new tests.
5307 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5311 * gdb.cp/non-trivial-retval.cc: New file.
5312 * gdb.cp/non-trivial-retval.exp: New file.
5314 2014-10-15 Yao Qi <yao@codesourcery.com>
5316 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5319 2014-10-15 Yao Qi <yao@codesourcery.com>
5321 * gdb.python/py-symbol.exp: Match file base name if host is
5322 remote, otherwise match file name with dir name.
5323 * gdb.python/py-symtab.exp: Likewise.
5324 * gdb.python/python.exp: Likewise.
5326 2014-10-15 Yao Qi <yao@codesourcery.com>
5328 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5330 * gdb.python/py-symtab.exp: Likewise.
5331 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5334 2014-10-14 Joel Brobecker <brobecker@adacore.com>
5336 * gdb.ada/addr_arith: New testcase.
5338 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5340 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5341 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5342 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5343 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5345 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5347 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5348 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5349 * gdb.arch/stap-eval-lang-ada.exp: New file.
5351 2014-10-14 Yao Qi <yao@codesourcery.com>
5353 * gdb.mi/mi-var-child.c (nothing1): New function.
5354 (nothing2): New function.
5355 (do_children_tests): Set function pointers by nothing1 and
5357 * gdb.mi/mi-var-child.exp: Step over new added statements.
5358 Update test to match the new output.
5359 * gdb.mi/var-cmd.c (nothing1): New function.
5360 (nothing2): New function.
5361 (do_children_tests): Set function pointers by nothing1 and
5363 * gdb.mi/mi-var-display.exp: Update test to match output.
5364 Step to the line specified by $line_dct_nothing.
5365 Increase the number of lines to step.
5367 2014-10-14 Yao Qi <yao@codesourcery.com>
5369 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5371 * gdb.mi/mi2-var-child.exp: Likewise.
5373 2014-10-13 Doug Evans <dje@google.com>
5375 * gdb.python/py-objfile.exp: Change name of file name test.
5377 2014-10-13 Doug Evans <dje@google.com>
5379 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5380 from the start of the CU.
5382 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5383 Yao Qi <yao@codesourcery.com>
5385 Fix "save breakpoints" for "catch" command.
5386 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5387 Remove -nonewline. Match also the added "main" line.
5389 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5391 Fix "save breakpoints" for "disable $bpnum" command.
5392 * gdb.base/save-bp.c (main): Add label.
5393 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5395 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5397 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5399 2014-10-11 Yao Qi <yao@codesourcery.com>
5401 * gdb.server/server-kill.exp: Execute command
5402 "set remote trace-status-packet on" before "tstatus".
5404 2014-10-11 Yao Qi <yao@codesourcery.com>
5406 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5407 (main): Call getppid.
5408 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5409 and continue to it. Read variable "server_pid".
5411 2014-10-11 Yao Qi <yao@codesourcery.com>
5413 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5415 2014-10-11 Yao Qi <yao@codesourcery.com>
5417 * gdb.threads/thread-find.exp: Don't execute command
5419 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5420 * gdb.threads/linux-dp.exp: Don't check the condition
5421 $threads_created equals to zero.
5423 2014-10-10 Pedro Alves <palves@redhat.com>
5425 * gdb.base/bigcore.exp: Remove references to IRIX.
5426 * gdb.base/funcargs.exp: Likewise.
5427 * gdb.base/interrupt.exp: Likewise.
5428 * gdb.base/mips_pro.exp: Likewise.
5429 * gdb.base/nodebug.exp: Likewise.
5430 * gdb.base/setvar.exp: Likewise.
5431 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5433 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5434 Pedro Alves <palves@redhat.com>
5437 * gdb.base/vdso-warning.c: New file.
5438 * gdb.base/vdso-warning.exp: New file.
5440 2014-10-02 Doug Evans <dje@google.com>
5442 * gdb.base/structs.c (main): Don't run forever.
5444 2014-10-02 Pedro Alves <palves@redhat.com>
5446 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5447 (top level) <stop threads 1, stop threads 2>: Use it.
5449 2014-10-02 Pedro Alves <palves@redhat.com>
5451 * gdb.threads/break-while-running.exp (test): Add new
5452 'update_thread_list' argument. Skip "info threads" if false.
5453 (top level): Add new 'update_thread_list' axis.
5455 2014-10-02 Pedro Alves <palves@redhat.com>
5457 PR breakpoints/17431
5458 * gdb.base/execl-update-breakpoints.c: New file.
5459 * gdb.base/execl-update-breakpoints.exp: New file.
5461 2014-10-01 Pedro Alves <palves@redhat.com>
5463 * gdb.base/breakpoint-in-ro-region.c: New file.
5464 * gdb.base/breakpoint-in-ro-region.exp: New file.
5466 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5468 * gdb.mi/mi-exit-code.exp: New file.
5469 * gdb.mi/mi-exit-code.c: New file.
5471 2014-09-30 Yao Qi <yao@codesourcery.com>
5473 * lib/prelink-support.exp (build_executable_own_libs): Error if
5474 the target isn't native.
5476 2014-09-30 Yao Qi <yao@codesourcery.com>
5478 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5481 2014-09-22 Pedro Alves <palves@redhat.com>
5483 * gdb.threads/break-while-running.exp: New file.
5484 * gdb.threads/break-while-running.c: New file.
5486 2014-09-19 Yao Qi <yao@codesourcery.com>
5488 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5489 Invoke test. Restart GDB with --readnow and invoke test again.
5491 2014-09-19 Yao Qi <yao@codesourcery.com>
5493 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5494 proc set_breakpoint_on_gcd_function. Invoke
5495 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5496 invoke set_breakpoint_on_gcd_function again.
5498 2014-09-18 Doug Evans <dje@google.com>
5500 * gdb.dwarf2/symtab-producer.exp: New file.
5502 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5504 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5505 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5506 * gdb.base/global-var-nested-by-dso.c: Likewise.
5507 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5509 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5510 Pedro Alves <palves@redhat.com>
5512 * gdb.base/watch-bitfields.exp: Pass string other than test file
5513 name to prepare_for_testing.
5514 (watch): New procedure.
5515 (expect_watchpoint): Use with_test_prefix.
5516 (top level): Factor out tests to ...
5517 (test_watch_location, test_regular_watch): ... these new
5518 procedures, and use with_test_prefix and gdb_continue_to_end.
5520 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5522 PR breakpoints/12526
5523 * gdb.base/watch-bitfields.exp: New file.
5524 * gdb.base/watch-bitfields.c: New file.
5526 2014-09-16 Pedro Alves <palves@redhat.com>
5528 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5529 software and hardware addresses, not software address against
5532 2014-09-16 Pedro Alves <palves@redhat.com>
5534 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5535 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5537 2014-09-16 Pedro Alves <palves@redhat.com>
5539 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5541 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5542 "*-*-vxworks*" throughout.
5543 * gdb.base/break.exp: Likewise.
5544 * gdb.base/default.exp: Likewise.
5545 * gdb.base/scope.exp: Likewise.
5546 * gdb.base/sepdebug.exp: Likewise.
5547 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5549 * gdb.base/run.c: Likewise.
5550 * gdb.base/sepdebug.c: Likewise.
5551 * gdb.hp/gdb.aCC/run.c: Likewise.
5552 * gdb.reverse/until-reverse.c: Likewise.
5553 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5555 2014-09-16 Yao Qi <yao@codesourcery.com>
5557 * boards/local-remote-host-native.exp: New file.
5559 2014-09-14 Doug Evans <xdje42@gmail.com>
5561 * gdb.threads/queue-signal.c (thread_count): New variable.
5562 (thread_count_mutex, thread_count_condvar): New variables.
5563 (incr_thread_count, wait_all_threads_running): New functions.
5564 (main): Wait for all threads to be in their thread functions.
5566 2014-09-13 Doug Evans <xdje42@gmail.com>
5568 * gdb.threads/queue-signal.c: New file.
5569 * gdb.threads/queue-signal.exp: New file.
5571 2014-09-13 Doug Evans <xdje42@gmail.com>
5573 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5574 be consistent with what default_gdb_init uses.
5575 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5576 the plain text of the prompt. Add some logging printfs.
5577 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5579 2014-09-12 Pedro Alves <palves@redhat.com>
5581 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5582 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5583 * gdb.arch/i386-size-overlap.exp: Likewise.
5584 * gdb.arch/i386-size.exp: Likewise.
5585 * gdb.arch/i386-unwind.exp: Likewise.
5586 * gdb.base/a2-run.exp: Likewise.
5587 * gdb.base/break.exp: Likewise.
5588 * gdb.base/charset.exp: Likewise.
5589 * gdb.base/chng-syms.exp: Likewise.
5590 * gdb.base/commands.exp: Likewise.
5591 * gdb.base/dbx.exp: Likewise.
5592 * gdb.base/find.exp: Likewise.
5593 * gdb.base/funcargs.exp: Likewise.
5594 * gdb.base/jit-simple.exp: Likewise.
5595 * gdb.base/reread.exp: Likewise.
5596 * gdb.base/sepdebug.exp: Likewise.
5597 * gdb.base/step-bt.exp: Likewise.
5598 * gdb.cp/mb-inline.exp: Likewise.
5599 * gdb.cp/mb-templates.exp: Likewise.
5600 * gdb.objc/basicclass.exp: Likewise.
5601 * gdb.threads/killed.exp: Likewise.
5603 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5606 * gdb.arch/powerpc-stackless.S: New file.
5607 * gdb.arch/powerpc-stackless.exp: New file.
5609 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5611 * gdb.base/attach.c: Include unistd.h.
5612 (main): Call alarm. Add label postloop.
5613 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5614 gdb_breakpoint, gdb_continue_to_breakpoint.
5615 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5617 2014-09-11 Pedro Alves <palves@redhat.com>
5620 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5621 * gdb.base/attach.exp (test_command_line_attach_run): New
5623 (top level): Call it.
5625 2014-09-11 Pedro Alves <palves@redhat.com>
5627 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5628 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5629 (do_command_attach_tests): Use spawn_wait_for_attach.
5630 * gdb.base/solib-overlap.exp: Likewise.
5631 * gdb.multi/multi-attach.exp: Likewise.
5632 * gdb.python/py-prompt.exp: Likewise.
5633 * gdb.python/py-sync-interp.exp: Likewise.
5634 * gdb.server/ext-attach.exp: Likewise.
5636 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5638 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5639 command in testcase. Simplify testcase.
5641 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5643 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5645 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5647 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5649 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5651 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5653 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5655 * gdb.dwarf2/dynarr-ptr.c: New file.
5656 * gdb.dwarf2/dynarr-ptr.exp: New file.
5658 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5660 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5661 of 30 rather than hardcoding 120 for a slow test case. Take the
5662 `gdb,timeout' target setting into account for this calculation.
5663 Don't extend the timeout for the test cases that don't need it.
5665 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5667 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5668 a factor of 2 for a slow test case. Take the `gdb,timeout'
5669 target setting into account for this calculation.
5670 * gdb.reverse/until-precsave.exp: Increase the timeout by
5671 a factor of 15 and 3 respectively rather than adding 120
5672 for a pair of slow test cases. Take the `gdb,timeout'
5673 target setting into account for this calculation.
5675 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5677 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5678 timeout, don't pass one down to gdb_expect.
5679 (gdb_expect): Rework timeout selection.
5681 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5683 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5684 exception on timeout.
5685 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5686 (gdbserver_start_extended): Catch any `gdbserver_start' error
5688 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5689 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5690 `gdbserver_gdb_load' error exceptions.
5692 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5694 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5695 120 on waiting for the TCP socket to open.
5697 2014-09-09 Doug Evans <xdje42@gmail.com>
5699 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5700 _caller_matches, _any_caller_is, _any_caller_matches.
5702 2014-09-09 Doug Evans <xdje42@gmail.com>
5704 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5706 2014-09-09 Yao Qi <yao@codesourcery.com>
5708 * gdb.mi/mi-var-display.exp: Set print symbol off.
5710 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5713 * gdb.base/commands.exp: Add tests to verify user-defined
5714 commands with empty bodies.
5715 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5716 python commands in `show user command`.
5717 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5718 scheme commands in `show user command`.
5720 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5723 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5724 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5725 * gdb.python/py-framefilter-invalidarg.exp: New file.
5726 * gdb.python/py-framefilter-invalidarg.py: New file.
5728 2014-09-06 Doug Evans <xdje42@gmail.com>
5731 * gdb.python/py-caller-is.c: New file.
5732 * gdb.python/py-caller-is.exp: New file.
5734 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5737 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5738 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5740 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5743 * gdb.fortran/print-formatted.exp: New file.
5744 * gdb.fortran/print-formatted.f90: Likewise.
5746 2014-09-03 Sasha Smundak <asmundak@google.com>
5748 * gdb.python/py-frame.exp: Test Frame.read_register.
5750 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5753 * gdb.python/py-completion.exp: New file.
5754 * gdb.python/py-completion.py: Likewise.
5756 2014-08-28 Doug Evans <dje@google.com>
5758 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5759 eax,etc. are live with values set by gdb and thus the compiler can't
5761 * gdb.arch/i386-pseudo.c (main): Ditto.
5763 2014-08-27 Doug Evans <dje@google.com>
5765 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5767 2014-08-25 Doug Evans <dje@google.com>
5769 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5772 2014-08-25 Doug Evans <dje@google.com>
5774 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5776 2014-08-24 Yao Qi <yao@codesourcery.com>
5778 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5780 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5782 2014-08-22 Doug Evans <dje@google.com>
5785 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5786 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5787 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5789 2014-08-22 Yao Qi <yao@codesourcery.com>
5791 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5792 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5793 * gdb.python/python.exp: Likewise. Use .py file on the host
5794 instead of the build.
5796 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5798 * gdb.threads/gcore-stale-thread.c: New file.
5799 * gdb.threads/gcore-stale-thread.exp: New file.
5801 2014-08-21 Pedro Alves <palves@redhat.com>
5803 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5804 * gdb.base/gcore-relro-pie.exp: Likewise.
5805 * gdb.base/gcore-relro.exp: Likewise.
5806 * gdb.base/gcore.exp: Likewise.
5807 * gdb.base/print-symbol-loading.exp: Likewise.
5808 * gdb.threads/gcore-thread.exp: Likewise.
5809 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5811 2014-08-20 Pedro Alves <palves@redhat.com>
5812 Jan Kratochvil <jan.kratochvil@redhat.com>
5814 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5816 (EXPECT): Handle READ1 being set.
5817 (all): Depend on EXTRA_RULES.
5818 (check-read1, expect-read1, read1.so, read1): New rules.
5819 * README (Testsuite Parameters): Document the READ1 make variable.
5820 (Race detection): New section.
5821 * configure: Regenerate.
5822 * configure.ac: If build==host==target, and running under a
5823 GNU/glibc system, add read1 to the extra Makefile rules.
5824 (EXTRA_RULES): AC_SUBST it.
5825 * lib/read1.c: New file.
5827 2014-08-20 Joel Brobecker <brobecker@adacore.com>
5829 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5830 the handling of variables declared as a typedef to an array
5831 which a DW_AT_data_location attribute.
5833 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
5834 Pedro Alves <palves@redhat.com>
5838 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5841 2014-08-19 Pedro Alves <palves@redhat.com>
5843 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5845 2014-08-19 Yao Qi <yao@codesourcery.com>
5847 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5850 2014-08-18 David Blaikie <dblaikie@gmail.com>
5852 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5854 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5856 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5857 attribute in array range.
5859 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5861 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5863 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5866 * gdb.cp/pr17132.cc: New file.
5867 * gdb.cp/pr17132.exp: New file.
5869 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5871 * gdb.python/py-xmethods.py (A_getarrayind)
5872 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5873 Use 'print' with function call syntax.
5874 (E_method_matcher.match): Fix tab vs space indentation mixup.
5876 2014-08-15 Yao Qi <yao@codesourcery.com>
5878 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5881 2014-08-15 Yao Qi <yao@codesourcery.com>
5883 * gdb.cp/casts.exp: Set print symbol off.
5884 * gdb.cp/class2.exp: Likewise.
5885 * gdb.cp/overload.exp: Likewise.
5886 * gdb.cp/templates.exp: Likewise.
5888 2014-08-11 Doug Evans <dje@google.com>
5890 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5891 (test_load_shlib): Update.
5893 2014-08-09 Yao Qi <yao@codesourcery.com>
5895 * gdb.base/display.exp: Invoke is_address_zero_readable.
5896 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5897 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5898 * gdb.base/hbreak-unmapped.exp: Return if
5899 is_address_zero_readable returns true.
5900 * gdb.base/signest.exp: Likewise.
5901 * gdb.base/signull.exp: Likewise.
5902 * gdb.base/sigbpt.exp: Likewise.
5903 * gdb.guile/scm-disasm.exp: Do the test if
5904 is_address_zero_readable returns false.
5905 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5906 * gdb.python/py-arch.exp: Likewise.
5907 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5908 * lib/gdb.exp (is_address_zero_readable): New proc.
5910 2014-08-09 Yao Qi <yao@codesourcery.com>
5913 * gdb.mi/mi-var-display.exp: Make test messages unique.
5915 2014-08-04 Tom Tromey <tromey@redhat.com>
5917 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5920 2014-08-04 Tom Tromey <tromey@redhat.com>
5922 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5925 2014-08-01 Joel Brobecker <brobecker@adacore.com>
5927 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5928 inner_vla_struct_object_size.
5929 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5932 2014-07-30 Pedro Alves <palves@redhat.com>
5934 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5937 2014-07-29 Yao Qi <yao@codesourcery.com>
5940 * gdb.base/until-nodebug.exp: New.
5942 2014-07-28 Doug Evans <xdje42@gmail.com>
5945 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5946 previously existing parameter, and previously ambiguously spelled
5949 2014-07-28 Will Newton <will.newton@linaro.org>
5951 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5953 2014-07-26 Ludovic CourtĂšs <ludo@gnu.org>
5954 Doug Evans <xdje42@gmail.com>
5957 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5959 2014-07-25 Pedro Alves <palves@redhat.com>
5961 * gdb.threads/signal-command-handle-nopass.c: New file.
5962 * gdb.threads/signal-command-handle-nopass.exp: New file.
5963 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5964 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5965 * gdb.threads/signal-delivered-right-thread.c: New file.
5966 * gdb.threads/signal-delivered-right-thread.exp: New file.
5968 2014-07-25 Pedro Alves <palves@redhat.com>
5970 * gdb.base/double-prompt-target-event-error.exp
5971 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5973 (cancel_pagination_in_target_event): Rework double prompt
5975 * gdb.base/paginate-after-ctrl-c-running.exp
5976 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5978 * gdb.base/paginate-bg-execution.exp
5979 (test_bg_execution_pagination_return)
5980 (test_bg_execution_pagination_cancel): Remove '-notransfer
5982 * gdb.base/paginate-execution-startup.exp
5983 (test_fg_execution_pagination_return)
5984 (test_fg_execution_pagination_cancel): Remove '-notransfer
5986 * gdb.base/paginate-inferior-exit.exp
5987 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5989 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5990 * lib/gdb.exp (pagination_prompt): Run text through
5992 (gdb_test_multiple): Match $pagination_prompt instead of
5994 (string_to_regexp): Move to lib/gdb-utils.exp.
5996 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5998 * gdb.arch/amd64-entry-value-paramref.S: New file.
5999 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6000 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6001 * gdb.arch/amd64-optimout-repeat.S: New file.
6002 * gdb.arch/amd64-optimout-repeat.c: New file.
6003 * gdb.arch/amd64-optimout-repeat.exp: New file.
6005 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6008 * gdb.base/statistics.exp: New file.
6010 2014-07-17 Doug Evans <dje@google.com>
6013 * gdb.base/maint.exp: Update testing of per-command stats.
6015 2014-07-16 Pedro Alves <palves@redhat.com>
6017 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6018 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6019 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6020 (tfile_write_buf): New functions.
6021 (add_memory_block): Rewrite using the above.
6022 (adjust_function_address): New function.
6023 (FUNCTION_ADDRESS): New macro.
6024 (write_basic_trace_file): Remove short_x local, and use
6025 tfile_write_16. Change type of func_addr local to unsigned long
6026 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6027 here. Cast argument of add_memory_block to char pointer.
6028 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6029 (main): Remove parameters.
6030 * gdb.trace/tfile.exp: Remove nowarnings.
6032 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6034 * gdb.base/debug-expr.exp: Test string evaluation with
6035 "debug expression" on.
6037 2014-07-15 Pedro Alves <palves@redhat.com>
6039 * gdb.base/reread.exp: Use clean_restart.
6041 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6043 * gdb.arch/avr-flash-qualifer.c: New.
6044 * gdb.arch/avr-flash-qualifer.exp: New.
6046 2014-07-14 Pedro Alves <palves@redhat.com>
6048 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6049 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6051 2014-07-14 Pedro Alves <palves@redhat.com>
6053 * gdb.base/double-prompt-target-event-error.c: New file.
6054 * gdb.base/double-prompt-target-event-error.exp: New file.
6056 2014-07-14 Pedro Alves <palves@redhat.com>
6059 * gdb.base/paginate-inferior-exit.c: New file.
6060 * gdb.base/paginate-inferior-exit.exp: New file.
6062 2014-07-14 Pedro Alves <palves@redhat.com>
6065 * gdb.base/paginate-bg-execution.c: New file.
6066 * gdb.base/paginate-bg-execution.exp: New file.
6068 2014-07-14 Pedro Alves <palves@redhat.com>
6071 * gdb.base/paginate-execution-startup.c: New file.
6072 * gdb.base/paginate-execution-startup.exp: New file.
6073 * lib/gdb.exp (pagination_prompt): New global.
6074 (default_gdb_spawn): New procedure, factored out from
6076 (default_gdb_start): Adjust to call default_gdb_spawn.
6077 (gdb_spawn): New procedure.
6079 2014-07-14 Pedro Alves <palves@redhat.com>
6081 * lib/gdb.exp (gdb_assert): New procedure.
6082 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6084 2014-07-14 Pedro Alves <palves@redhat.com>
6086 * gdb.base/execution-termios.c: New file.
6087 * gdb.base/execution-termios.exp: New file.
6089 2014-07-14 Tom Tromey <tromey@redhat.com>
6091 * gdb.cp/vla-cxx.cc: New file.
6092 * gdb.cp/vla-cxx.exp: New file.
6094 2014-07-14 Tom Tromey <tromey@redhat.com>
6096 * gdb.reverse/rerun-prec.c: New file.
6097 * gdb.reverse/rerun-prec.exp: New file.
6099 2014-07-12 Maciej W. Rozycki <macro@mips.com>
6100 Maciej W. Rozycki <macro@codesourcery.com>
6102 * lib/gdb-utils.exp: New file.
6103 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6104 inline `gdb_init_command' processing.
6105 (gdb_start_cmd): Likewise.
6106 * lib/mi-support.exp (mi_run_cmd): Likewise.
6107 * README: Document `gdb_init_command' and `gdb_init_commands'.
6109 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6111 Fix false FAIL running under a very long directory name.
6112 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6113 and "set print elements 10000". Twice.
6115 2014-07-11 Yao Qi <yao@codesourcery.com>
6117 * gdb.base/exprs.exp: "set print symbol off".
6119 2014-07-11 Pedro Alves <palves@redhat.com>
6121 * gdb.threads/kill.c: New file.
6122 * gdb.threads/kill.exp: New file.
6124 2014-07-10 Yao Qi <yao@codesourcery.com>
6126 * gdb.trace/tfile.c (write_basic_trace_file)
6127 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6128 address written to trace file.
6130 2014-07-09 Pedro Alves <palves@redhat.com>
6132 * gdb.base/attach-wait-input.exp: New file.
6133 * gdb.base/attach-wait-input.c: New file.
6135 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6137 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6138 setting up test structures.
6139 (main): Call new test function.
6140 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6141 test function, continue into test function and walk test
6144 2014-07-02 Yao Qi <yao@codesourcery.com>
6146 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6147 'bar_start' at the beginning of functions 'foo' and 'bar'
6149 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6150 instead of 'foo' and 'bar'.
6152 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6154 * gdb.btrace/segv.exp: New.
6155 * gdb.btrace/segv.c: New.
6157 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
6159 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6162 2014-06-30 Mark Wielaard <mjw@redhat.com>
6164 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6165 vulture, vilify, villar): New volatile array constants.
6166 (vindictive, vegetation): New const volatile array constants.
6167 * gdb.base/volatile.exp: Test volatile and const volatile array
6170 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6172 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6173 target lacks support for awatch, rwatch, or hbreak.
6175 2014-06-27 Yao Qi <yao@codesourcery.com>
6177 * gdb.multi/dummy-frame-restore.exp: New.
6178 * gdb.multi/dummy-frame-restore.c: New.
6180 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6182 * gdb.btrace/gcore.exp: New.
6184 2014-06-23 Pedro Alves <palves@redhat.com>
6186 * gdb.base/watchpoint-reuse-slot.c: New file.
6187 * gdb.base/watchpoint-reuse-slot.exp: New file.
6189 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6191 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6192 progspace's filename in 'info', 'enable' and 'disable' command
6195 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6197 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6198 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6199 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6201 2014-06-20 Gary Benson <gbenson@redhat.com>
6203 * gdb.arch/i386-avx.exp: Fix include file location.
6204 * gdb.arch/i386-sse.exp: Likewise.
6206 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6208 * gdb.dlang/expression.exp: New file.
6210 2014-06-19 Pedro Alves <palves@redhat.com>
6212 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6214 (top level): ... here. Iterate running tests under different
6215 scheduler-locking settings.
6217 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
6219 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6220 to DW_FORM_addr and use non-zero addresses.
6222 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6225 * gdb.python/py-xmethods.cc: Add global function call counters and
6226 increment them in their respective functions. Remove "cout"
6228 * gdb.python/py-xmethods.exp: Make tests check the global function
6229 call counters instead of depending on inferior IO.
6231 2014-06-18 Don Breazeal <donb@codesourcery.com>
6233 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6235 (explicit_fork_parent_follow): Deleted procedure.
6236 (explicit_fork_child_follow): Deleted procedure.
6237 (test_follow_fork): New procedure.
6238 (do_fork_tests): Replace calls to deleted procedures with
6239 calls to test_follow_fork and reset GDB for subsequent
6242 2014-06-17 Yao Qi <yao@codesourcery.com>
6244 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6247 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
6249 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6250 Initialize ptr and S explicitly.
6251 (skip_type_update_when_not_use_rtti_test): Likewise.
6253 2014-06-16 Keith Seitz <keiths@redhat.com>
6256 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6257 the inferior is started.
6259 2014-06-16 Pedro Alves <palves@redhat.com>
6261 * gdb.base/break-main-file-remove-fail.c: New file.
6262 * gdb.base/break-main-file-remove-fail.exp: New file.
6263 * gdb.base/break-unload-file.exp: Use build_executable instead of
6264 prepare_for_testing.
6265 (test_break): New parameter "initial_load". Handle it.
6266 (top level): Add initial_load cmdline/file axis.
6268 2014-06-12 Tom Tromey <tromey@redhat.com>
6270 * gdb.base/completion.exp: Don't use directory name in test.
6272 2014-06-09 Gary Benson <gbenson@redhat.com>
6274 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6275 separate the always-available ANSI-standard signals from the
6276 signals that require checking.
6278 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6282 2014-06-07 Keith Seitz <keiths@redhat.com>
6286 * gdb.cp/var-tag.cc: New file.
6287 * gdb.cp/var-tag.exp: New file.
6288 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6289 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6290 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6291 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6293 2014-06-06 Doug Evans <xdje42@gmail.com>
6295 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6297 2014-06-06 Pedro Alves <palves@redhat.com>
6299 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6300 in target debug output instead of looking at RSP packets,
6301 disabling the test on any target that uses hardware stepping.
6304 2014-06-06 Pedro Alves <palves@redhat.com>
6306 * gdb.base/break-unload-file.exp: Fix typo.
6308 2014-06-06 Yao Qi <yao@codesourcery.com>
6310 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6311 from "jit_function" to "^jit_function".
6313 2014-06-06 Yao Qi <yao@codesourcery.com>
6315 * gdb.base/async.c (foo): Add one statement.
6316 * gdb.base/async.exp: Get the next instruction address and
6317 match the output of "nexti" by instruction address. Match
6318 the hex address in the output of "finish".
6320 2014-06-06 Gary Benson <gbenson@redhat.com>
6322 * gdb.base/call-signals.c: Remove preprocessor conditionals
6323 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6324 SIGSEGV and SIGTERM.
6325 * gdb.base/sigall.c: Likewise.
6326 * gdb.base/unwindonsignal.c: Likewise.
6327 * gdb.reverse/sigall-reverse.c: Likewise.
6329 2014-06-06 Yao Qi <yao@codesourcery.com>
6331 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6332 readable, skip the test.
6334 2014-06-06 Yao Qi <yao@codesourcery.com>
6336 * gdb.threads/staticthreads.c (thread_function): Move the line
6337 setting breakpoint on forward.
6338 * gdb.threads/staticthreads.exp: Update comments.
6340 2014-06-05 Ludovic CourtĂšs <ludo@gnu.org>
6342 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6343 "history-append! type error".
6345 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6347 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6348 erroneous dprintf expected input.
6350 2014-06-04 Doug Evans <xdje42@gmail.com>
6352 * gdb.guile/scm-generics.exp: Delete.
6354 2014-06-04 Doug Evans <xdje42@gmail.com>
6356 * gdb.guile/scm-breakpoint.exp: Update.
6357 Add tests for breakpoint registration.
6359 2014-06-04 Tom Tromey <tromey@redhat.com>
6361 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6363 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6364 inner_vla_struct, vla_union types. Initialize objects of those
6365 types and compute their sizes.
6367 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6368 Hui Zhu <hui@codesourcery.com>
6370 * gdb.base/fileio.exp: Add test for shell not available as well as
6372 * gdb.base/fileio.c (test_system): Check for shell twice.
6374 2014-06-04 Yao Qi <yao@codesourcery.com>
6376 * gdb.base/auto-connect-native-target.exp: Remove redundant
6377 space from the regexp pattern.
6379 2014-06-04 Yao Qi <yao@codesourcery.com>
6381 * gdb.base/default.exp: Replace "child" with "native" in
6384 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6386 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6387 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6388 * gdb.python/py-xmethods.py: Python script supporting the
6389 new testcase and tests.
6391 2014-06-03 Joel Brobecker <brobecker@adacore.com>
6392 Pedro Alves <palves@redhat.com>
6394 PR breakpoints/17000
6395 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6396 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6398 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6400 * gdb.base/subst.exp: Add tests to verify partial path matching
6403 2014-06-03 Pedro Alves <palves@redhat.com>
6405 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6406 target that doesn't use software single-stepping.
6408 2014-06-03 Pedro Alves <palves@redhat.com>
6410 PR breakpoints/17000
6411 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6412 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6414 2014-06-02 Doug Evans <xdje42@gmail.com>
6416 * gdb.guile/scm-parameter.exp: New file.
6418 2014-06-02 Doug Evans <xdje42@gmail.com>
6420 * gdb.guile/scm-cmd.c: New file.
6421 * gdb.guile/scm-cmd.exp: New file.
6423 2014-06-02 Doug Evans <xdje42@gmail.com>
6425 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6426 pretty-printer lookup.
6427 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6428 (make-pp_s-printer): Call it.
6429 (make-pretty-printer-from-dict): New function.
6430 (lookup-pretty-printer-maker-from-dict): New function.
6431 (*pretty-printer*): Simplify.
6432 (make-objfile-pp_s-printer): New function.
6433 (install-objfile-pretty-printers!): New function.
6434 (make-progspace-pp_s-printer): New function.
6435 (install-progspace-pretty-printers!): New function.
6436 * gdb.guile/scm-progspace.c: New file.
6437 * gdb.guile/scm-progspace.exp: New file.
6439 2014-06-02 Pedro Alves <palves@redhat.com>
6441 * gdb.base/dprintf-bp-same-addr.c: New file.
6442 * gdb.base/dprintf-bp-same-addr.exp: New file.
6444 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6446 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6447 * gdb.arch/powerpc-power.s: Likewise.
6449 2014-06-02 Joel Brobecker <brobecker@adacore.com>
6451 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6453 2014-06-01 Yao Qi <yao@codesourcery.com>
6455 * gdb.base/watchpoint.exp (test_watch_location): Check null
6456 pointer can be dereferenced. If not, do the test, otherwise
6459 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6461 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6463 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6465 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6467 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6468 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6469 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6470 * gdb.arch/amd64-invalid-stack-top.c: New file.
6471 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6473 2014-05-30 Pedro Alves <palves@redhat.com>
6475 PR breakpoints/17000
6476 * gdb.base/sss-bp-on-user-bp.c: New file.
6477 * gdb.base/sss-bp-on-user-bp.exp: New file.
6479 2014-05-30 David Blaikie <dblaikie@gmail.com>
6481 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6482 gnu_inline semantics via attribute.
6483 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6484 source explicitly specifies the required semantics.
6486 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6488 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6490 2014-05-29 Pedro Alves <palves@redhat.com>
6491 Tom Tromey <tromey@redhat.com>
6493 * gdb.base/async-shell.exp: Don't enable target-async.
6494 * gdb.base/async.exp
6495 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6497 (top level): Don't test with "target-async".
6498 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6499 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6500 * gdb.base/inferior-died.exp: Don't enable target-async.
6501 * gdb.base/interrupt-noterm.exp: Likewise.
6502 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6503 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6504 * gdb.mi/mi-nonstop.exp: Likewise.
6505 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6506 * gdb.mi/mi-nsintrall.exp: Likewise.
6507 * gdb.mi/mi-nsmoribund.exp: Likewise.
6508 * gdb.mi/mi-nsthrexec.exp: Likewise.
6509 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6510 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6511 * gdb.python/py-evsignal.exp: Don't enable target-async.
6512 * gdb.python/py-evthreads.exp: Likewise.
6513 * gdb.python/py-prompt.exp: Likewise.
6514 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6515 * gdb.server/solib-list.exp: Don't enable target-async.
6516 * gdb.threads/thread-specific-bp.exp: Likewise.
6517 * lib/mi-support.exp: Adjust to use mi-async.
6519 2014-05-29 Pedro Alves <palves@redhat.com>
6522 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6523 reason, even in sync mode.
6525 2014-05-29 Pedro Alves <palves@redhat.com>
6526 Hui Zhu <hui@codesourcery.com>
6529 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6530 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6531 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6532 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6534 2014-05-28 Joel Brobecker <brobecker@adacore.com>
6536 * config/monitor.exp (gdb_target_monitor): Replace use of
6537 "set remotebaud" by "set serial baud".
6539 2014-05-26 Andy Wingo <wingo@igalia.com>
6541 * gdb.guile/scm-breakpoint.exp:
6542 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6543 properties instead of gdb-object-properties.
6545 2014-05-26 Yao Qi <yao@codesourcery.com>
6547 * gdb.server/no-thread-db.exp: Specify source file name
6548 explicitly when setting a breakpoint.
6550 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6552 * gdb.btrace/vdso.c: New.
6553 * gdb.btrace/vdso.exp: New.
6555 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6557 * gdb.base/gcore.exp (capture_command_output): Move ...
6558 * lib/gdb.exp (capture_command_output): ... here.
6560 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6562 * gdb.btrace/data.exp: Test memory access during btrace replay.
6564 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6566 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6568 2014-05-21 Pedro Alves <palves@redhat.com>
6571 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6572 (top level): Test that output related to execution commands is
6573 sent to the console with CLI commands, but not with MI commands.
6574 Test that breakpoint events are always mirrored to the console.
6575 Also expect the new source line to be output after a "next" in
6576 async mode too. Make it a pass/fail test.
6577 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6579 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6581 2014-05-21 Pedro Alves <palves@redhat.com>
6583 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6584 Use them to test variations of "list" after reaching a breakpoint.
6585 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6586 Test "list" with listsize 10 after reaching a breakpoint.
6587 * gdb.python/python.exp (decode_line current location line
6588 number): Adjust expected line number.
6590 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6592 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6593 behavior for $args, pass it directly to "run".
6595 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6597 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6600 2014-05-21 Pedro Alves <palves@redhat.com>
6602 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6603 auto-connect-native-target off".
6604 * gdb.base/auto-connect-native-target.c: New file.
6605 * gdb.base/auto-connect-native-target.exp: New file.
6607 2014-05-21 Pedro Alves <palves@redhat.com>
6609 * gdb.base/default.exp: Test "target native" instead of "target
6612 2014-05-21 Mark Wielaard <mjw@redhat.com>
6614 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6616 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6618 Fix TLS access for -static -pthread.
6619 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6620 <HAVE_TLS> (thread_function, main): Initialize it.
6621 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6623 <$have_tls != "">: Check TLSVAR.
6625 2014-05-21 Pedro Alves <palves@redhat.com>
6627 * gdb.base/dcache-line-read-error.c: New.
6628 * gdb.base/dcache-line-read-error.exp: New.
6630 2014-05-20 Pedro Alves <palves@redhat.com>
6632 * gdb.base/compare-sections.c: New file.
6633 * gdb.base/compare-sections.exp: New file.
6635 2014-05-20 Pedro Alves <palves@redhat.com>
6637 * gdb.base/break-idempotent.c: New file.
6638 * gdb.base/break-idempotent.exp: New file.
6640 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6642 * gdb.btrace/nohist.exp: New.
6644 2014-05-20 Yao Qi <yao@codesourcery.com>
6646 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6647 gdb.reverse directory and gdb_reverse_timeout exists in board
6649 * README: Document gdb_reverse_timeout.
6651 2014-05-20 Yao Qi <yao@codesourcery.com>
6653 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6654 'test_file_name'. Treat args as a string instead of a list.
6655 (gdb_init): Rename argument 'args' by 'test_file_name'.
6657 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6659 * gdb.arch/powerpc-power.exp: New file.
6660 * gdb.arch/powerpc-power.s: New file.
6662 2014-05-16 Doug Evans <dje@google.com>
6664 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
6665 * gdb.base/completion.exp: Check that all expected files exist
6666 before doing file completion.
6668 2014-05-16 Doug Evans <dje@google.com>
6670 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6672 (do_syscall_tests_without_xml): Update.
6674 2014-05-16 Pedro Alves <palves@redhat.com>
6676 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6677 instead of "unknown output after running".
6679 2014-05-16 Yao Qi <yao@codesourcery.com>
6681 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6682 file1.txt from host at the end.
6683 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6685 2014-05-15 Doug Evans <dje@google.com>
6687 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6688 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6689 loading file. Add test for TU lookup.
6691 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6693 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6694 calling "-exec-arguments" or "set args" before running the
6697 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6699 * lib/mi-support.exp (mi_expect_stop): Expect message for
6700 inferiors that exit with non-zero exit code.
6702 2014-05-14 Yao Qi <yao@codesourcery.com>
6704 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6705 match absolute path on remote host.
6706 (test_file_list_exec_source_files): Remove "/" from the
6709 2014-05-14 Yao Qi <yao@codesourcery.com>
6711 * boards/local-remote-host-notty.exp (${board}_file): New
6714 2014-05-07 Kyle McMartin <kyle@redhat.com>
6716 Pushed by Joel Brobecker <brobecker@adacore.com>.
6717 * gdb.arch/aarch64-atomic-inst.c: New file.
6718 * gdb.arch/aarch64-atomic-inst.exp: New file.
6720 2014-05-07 Yao Qi <yao@codesourcery.com>
6722 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6723 in current context" too.
6725 2014-05-05 Keith Seitz <keiths@redhat.com>
6727 * gdb.linespec/ls-dollar.exp: Add test for linespec
6728 file:convenience_variable.
6730 2014-05-05 Yao Qi <yao@codesourcery.com>
6732 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6733 traceframes into tfile and ctf trace files. Read data from
6734 trace file and test collected data.
6735 (gdb_collect_locals_test): Likewise.
6736 (gdb_unavailable_registers_test): Likewise.
6737 (gdb_unavailable_floats): Likewise.
6738 (gdb_collect_globals_test): Likewise.
6739 (top-level): Append "ctf" to trace_file_targets if GDB
6742 2014-05-05 Yao Qi <yao@codesourcery.com>
6744 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6746 (gdb_collect_args_test_1): ... it. New proc.
6747 (gdb_collect_locals_test): Move some code to ...
6748 (gdb_collect_locals_test_1): ... it. New proc.
6749 (gdb_unavailable_registers_test): Move some code to ...
6750 (gdb_unavailable_registers_test_1): ... it. New proc.
6751 (gdb_unavailable_floats): Move some code to ...
6752 (gdb_unavailable_floats_1): ... it. New proc.
6754 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6756 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6757 probes to test for bitness recognition.
6758 * gdb.arch/amd64-stap-optional-prefix.exp
6759 (test_probe_value_without_reg): New procedure.
6760 Add code to test for different kinds of bitness.
6762 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6764 PR breakpoints/16889
6765 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6766 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6768 2014-05-01 Pedro Alves <palves@redhat.com>
6770 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6771 gdb_file_cmd if no file is specified.
6772 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6773 last_loaded_file to set the remote exec-file.
6775 2014-05-01 Pedro Alves <palves@redhat.com>
6777 * boards/local-remote-host.exp: New file.
6779 2014-05-01 Pedro Alves <palves@redhat.com>
6781 * boards/local-remote-host.exp: Rename to ...
6782 * boards/local-remote-host-notty.exp: ... this.
6784 2014-04-28 Joel Brobecker <brobecker@adacore.com>
6786 * gdb.ada/dyn_arrayidx: New testcase.
6788 2014-04-26 Yao Qi <yao@codesourcery.com>
6790 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6791 and compute the length of function main. Save it in
6793 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6794 (top-level): Use gdb_compile to compile objects into
6795 executable and restart GDB. Remove invocation to
6796 prepare_for_testing.
6798 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6799 Pedro Alves <palves@redhat.com>
6802 * gdb.multi/multi-attach.c: New file.
6803 * gdb.multi/multi-attach.exp: New file.
6805 2014-04-25 Pedro Alves <palves@redhat.com>
6807 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6809 (top level): Test that "set remote conditional-breakpoints-packet
6810 off" works as intended.
6811 * gdb.base/dprintf.exp: Test that "set remote
6812 breakpoint-commands-packet off" works as intended.
6813 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6815 (top level): Call it.
6816 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6817 remote fast-tracepoints-packet off" works as intended.
6818 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6819 * lib/gdb.exp (gdb_is_target_remote): ... here.
6821 2014-04-24 David Blaikie <dblaikie@gmail.com>
6823 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6824 ensure clang would not discard them.
6825 * gdb.base/gdbvars.c: Ditto.
6826 * gdb.base/memattr.c: Ditto.
6827 * gdb.base/whatis.c: Ditto.
6828 * gdb.python/py-prettyprint.c: Ditto.
6829 * gdb.trace/actions.c: Ditto.
6830 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6831 ensure clang would not discard it.
6833 2014-04-24 David Blaikie <dblaikie@gmail.com>
6835 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6836 clang to emit the full definition of type required by the test
6837 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6839 2014-04-24 David Blaikie <dblaikie@gmail.com>
6841 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6842 coax Clang into emitting the definition of the type.
6843 * gdb.cp/pr10728-x.h (y): Ditto.
6844 * gdb.cp/pr10728-y.cc (y): Ditto.
6846 2014-04-24 David Blaikie <dblaikie@gmail.com>
6848 * gdb.base/label.exp: XFAIL label related tests under Clang.
6849 * gdb.cp/cplabel.exp: Ditto.
6850 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6851 under Clang those using labels.
6853 2014-04-25 Yao Qi <yao@codesourcery.com>
6855 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6857 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6858 partial_label and double_label.
6860 2014-04-24 David Blaikie <dblaikie@gmail.com>
6862 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6864 2014-04-24 David Blaikie <dblaikie@gmail.com>
6866 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6867 of the function to work across GCC and Clang.
6868 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6869 pointer types (const void ** const V void **).
6871 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
6872 Walfred Tedeschi <walfred.tedeschi@intel.com>
6874 * Makefile.in (EXECUTABLES): Added i386-avx512.
6875 * gdb.arch/i386-avx512.c: New file.
6876 * gdb.arch/i386-avx512.exp: Likewise.
6878 2014-04-23 Keith Seitz <keiths@redhat.com>
6880 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6881 (mi_make_breakpoint_table): New procedure.
6882 (mi_create_breakpoint): Use mi_make_breakpoint
6883 and return the result.
6884 (mi_make_breakpoint): New procedure.
6885 (mi_build_kv_pairs): New procedure.
6887 * gdb.mi/mi-break.exp: Remove unused globals,
6888 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6889 All callers updated.
6890 * gdb.mi/mi-dprintf.exp: Use variable to track command
6892 Update all callers of mi_create_breakpoint and use
6893 mi_make_breakpoint_table.
6894 Remove any unused global variables.
6895 * gdb.mi/mi-nonstop.exp: Likewise.
6896 * gdb.mi/mi-nsintrall.exp: Likewise.
6897 * gdb.mi/mi-nsmoribund.exp: Likewise.
6898 * gdb.mi/mi-nsthrexec.exp: Likewise.
6899 * gdb.mi/mi-reverse.exp: Likewise.
6900 * gdb.mi/mi-simplerun.exp: Likewise.
6901 * gdb.mi/mi-stepn.exp: Likewise.
6902 * gdb.mi/mi-syn-frame.exp: Likewise.
6903 * gdb.mi/mi-until.exp: Likewise.
6904 * gdb.mi/mi-var-cp.exp: Likewise.
6905 * gdb.mi/mi-var-display.exp: Likewise.
6906 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6907 * gdb.mi/mi2-var-child.exp: Likewise.
6908 * gdb.mi/mi-vla-c99.exp: Likewise.
6909 * lib/mi-support.exp: Likewise.
6911 From Ian Lance Taylor <iant@cygnus.com>:
6912 * lib/gdb.exp (parse_args): New procedure.
6914 2014-04-23 Pedro Alves <palves@redhat.com>
6916 * gdb.base/break-unload-file.c: New file.
6917 * gdb.base/break-unload-file.exp: New file.
6918 * gdb.base/sym-file-lib.c (baz): New function.
6919 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6921 (load): Store the segment's mapped size.
6922 (unload): New function.
6923 (unload_shlib): New function.
6924 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6925 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6926 set a breakpoint at baz, and call it.
6927 * gdb.base/sym-file.exp: New tests for stale breakpoint
6930 2014-04-23 Pedro Alves <palves@redhat.com>
6932 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6933 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6934 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6935 * gdb.base/hbreak-unmapped.c: New file.
6936 * gdb.base/hbreak-unmapped.exp: New file.
6937 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6938 * lib/gdb.exp (gdb_is_target_remote): ... here.
6940 2014-04-22 Pedro Alves <palves@redhat.com>
6942 * gdb.base/consecutive-step-over.c: New file.
6943 * gdb.base/consecutive-step-over.exp: New file.
6945 2014-04-22 Pedro Alves <palves@redhat.com>
6947 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6948 instead of send_gdb/gdb_expect.
6950 2014-04-22 Yao Qi <yao@codesourcery.com>
6952 * lib/trace-support.exp (generate_tracefile): New procedure.
6953 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6955 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6956 if generate_tracefile returns 1.
6958 2014-04-18 Tom Tromey <palves@redhat.com>
6959 Pedro alves <tromey@redhat.com>
6962 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6963 with a backtrace limit.
6964 * gdb.python/py-frame-inline.exp: Test running to an inline
6965 function with a backtrace limit, and printing the newest frame.
6966 * gdb.python/py-frame-inline.c (main): Call f.
6968 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6970 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6972 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6974 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6975 Drop prefix from unsupported source file path.
6977 2014-04-17 Yao Qi <yao@codesourcery.com>
6979 * lib/gdb.exp (with_target_charset): New proc.
6980 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6981 with_target_charset.
6982 (test_print_strings): Likewise.
6983 (test_repeat_bytes): Likewise.
6984 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6987 2014-04-16 Keith Seitz <keiths@redhat.com>
6990 * gdb.dwarf2/corrupt.c: New file.
6991 * gdb.dwarf2/corrupt.exp: New file.
6993 2014-04-16 Keith Seitz <keiths@redhat.com>
6996 * gdb.cp/namelessclass.cc: New file.
6997 * gdb.cp/namelessclass.exp: New file.
6998 * gdb.cp/namelessclass.S: New file.
7000 2014-04-16 Doug Evans <dje@google.com>
7002 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7004 (gdbserver_default_get_comm_port): New function.
7005 (gdbserver_start): Check if board file provided
7006 "gdbserver,get_comm_port" and use it if so.
7007 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7008 (gdb,socketport): Set to "stdio".
7009 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7010 (stdio_gdbserver_template): Delete.
7011 (${board}_get_remote_address): Update.
7012 (${board}_build_remote_cmd): Delete.
7013 (${board}_get_comm_port): New function.
7014 (${board}_spawn): Update.
7015 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7017 (${board}_get_remote_address): Update.
7018 (${board}_get_comm_port): New function.
7020 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
7022 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7023 appearing in any order.
7025 2014-04-15 Doug Evans <dje@google.com>
7027 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7028 uninitialized value of "description".
7030 2014-04-15 Keith Seitz <keiths@redhat.com>
7032 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7033 Remove unused globals.
7034 (test_running_the_program): Likewise.
7035 (test_controlled_execution): Likewise.
7036 (test_controlling_breakpoints): Likewise.
7037 (test_program_termination): Likewise.
7039 2014-04-15 Keith Seitz <keiths@redhat.com>
7041 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7043 (test_rbreak_creation_and_listing): Likewise.
7044 (test_ignore_count): Likewise.
7045 (test_error): Likewise.
7047 2014-04-15 Pedro Alves <palves@redhat.com>
7049 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7050 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7052 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7053 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7054 to sym-file-loader.c.
7055 (struct library): Forward declare.
7056 (load_shlib, lookup_function): Change prototypes.
7057 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7058 (translate_offset): Remove declarations.
7059 (get_text_addr): New declaration.
7060 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7061 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7063 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7064 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7065 here from sym-file-loader.h.
7066 (struct library): New structure.
7067 (load_shlib, lookup_function): Change prototypes and adjust to
7068 work with a struct library.
7069 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7070 (translate_offset): Make static.
7071 (get_text_addr): New function.
7072 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7074 2014-04-15 Pedro Alves <palves@redhat.com>
7076 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7078 2014-04-15 Pedro Alves <palves@redhat.com>
7080 * gdb.base/sym-file-loader.c: Include <limits.h>.
7081 (SELF_LINK): New define.
7082 (get_origin): New function.
7083 (load_shlib): Use it.
7084 * gdb.base/sym-file.exp: Don't early return if the target is
7085 remote. Use runto_main, and issue fail is that fails. Use
7087 (shlib_name): Delete.
7088 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7090 2014-04-15 Pedro Alves <palves@redhat.com>
7092 * gdb.base/sym-file.exp: Remove regex characters from test
7093 message. Don't refer to breakpoint numbers in test messages.
7095 2014-04-14 Keith Seitz <keiths@redhat.com>
7098 * gdb.cp/var-tag.cc: New file.
7099 * gdb.cp/var-tag.exp: New file.
7100 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7101 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7102 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7103 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7105 2014-04-14 Tom Tromey <tromey@redhat.com>
7107 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7108 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7110 * gdb.cp/enum-class.exp: New file.
7111 * gdb.cp/enum-class.cc: New file.
7113 2014-04-14 Tom Tromey <tromey@redhat.com>
7115 * gdb.dwarf2/enum-type.exp: New file.
7117 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7119 * gdb.mi/mi-vla-c99.exp: New file.
7120 * gdb.mi/vla.c: New file.
7122 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7124 * gdb.base/vla-datatypes.c: New file.
7125 * gdb.base/vla-datatypes.exp: New file.
7127 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7129 * gdb.base/vla-ptr.c: New file.
7130 * gdb.base/vla-ptr.exp: New file.
7132 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7134 * gdb.dwarf2/count.exp: New file.
7136 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7138 * gdb.base/vla-sideeffect.c: New file.
7139 * gdb.base/vla-sideeffect.exp: New file.
7141 2014-04-14 David Blaikie <dblaikie@gmail.com>
7143 * gdb.mi/non-stop.c: Add return value for non-void function return
7145 * gdb.threads/staticthreads.c: Ditto.
7147 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7148 Doug Evans <xdje42@gmail.com>
7150 * gdb.guile/scm-value.c: Improve test case.
7151 * gdb.guile/scm-value.exp: Add new test.
7153 2014-04-11 David Blaikie <dblaikie@gmail.com>
7155 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7156 override Clang's default.
7158 2014-04-11 Joel Brobecker <brobecker@adacore.com>
7160 Revert the following changes (regressions):
7162 * gdb.base/vla-sideeffect.c: New file.
7163 * gdb.base/vla-sideeffect.exp: New file.
7165 * gdb.dwarf2/count.exp: New file.
7167 * gdb.base/vla-multi.c: New file.
7168 * gdb.base/vla-multi.exp: New file.
7170 * gdb.base/vla-ptr.c: New file.
7171 * gdb.base/vla-ptr.exp: New file.
7173 * gdb.base/vla-datatypes.c: New file.
7174 * gdb.base/vla-datatypes.exp: New file.
7176 * gdb.mi/mi-vla-c99.exp: New file.
7177 * gdb.mi/vla.c: New file.
7179 2014-04-11 Keith Seitz <keiths@redhat.com>
7182 * gdb.cp/cpsizeof.exp: New file.
7183 * gdb.cp/cpsizeof.cc: New file.
7185 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7187 * gdb.mi/mi-vla-c99.exp: New file.
7188 * gdb.mi/vla.c: New file.
7190 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7192 * gdb.base/vla-datatypes.c: New file.
7193 * gdb.base/vla-datatypes.exp: New file.
7195 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7197 * gdb.base/vla-ptr.c: New file.
7198 * gdb.base/vla-ptr.exp: New file.
7200 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7202 * gdb.base/vla-multi.c: New file.
7203 * gdb.base/vla-multi.exp: New file.
7205 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7207 * gdb.dwarf2/count.exp: New file.
7209 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7211 * gdb.base/vla-sideeffect.c: New file.
7212 * gdb.base/vla-sideeffect.exp: New file.
7214 2014-04-11 Yao Qi <yao@codesourcery.com>
7216 * gdb.base/completion.exp: Check file exists before running tests
7219 2014-04-10 Pedro Alves <palves@redhat.com>
7221 * gdb.base/cond-eval-mode.c: New file.
7222 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7223 prepare_for_testing to build the new file. Check result of
7225 (test_break, test_watch): New procedures.
7226 (top level): Use them.
7228 2014-04-08 Pierre Muller <muller@sourceware.org>
7230 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7231 Ctrl-V use for mingw hosts.
7233 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7235 * gdb.python/py-value.c: Improve test case.
7236 * gdb.python/py-value.exp: Add new test.
7238 2014-04-07 David Blaikie <dblaikie@gmail.com>
7240 * lib/compiler.c: Identify the clang compiler.
7241 * lib/compiler.cc: Ditto.
7243 2014-04-03 Yao Qi <yao@codesourcery.com>
7245 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7247 2014-04-01 Anton Blanchard <anton@samba.org>
7249 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7252 2014-04-01 Anton Blanchard <anton@samba.org>
7254 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7255 prepare_for_testing.
7257 2014-04-01 Anton Blanchard <anton@samba.org>
7259 * gdb.arch/ppc64-atomic-inst.c: Remove.
7260 * gdb.arch/ppc64-atomic-inst.S: New file.
7261 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7263 2014-03-31 Doug Evans <dje@google.com>
7265 * gdb.base/print-symbol-loading-lib.c: New file.
7266 * gdb.base/print-symbol-loading-main.c: New file.
7267 * gdb.base/print-symbol-loading.exp: New file.
7269 2014-03-31 Yao Qi <yao@codesourcery.com>
7271 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7273 2014-03-28 Joel Brobecker <brobecker@adacore.com>
7275 * gdb.ada/mi_dyn_arr: New testcase.
7277 2014-03-27 Doug Evans <dje@google.com>
7279 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7281 2014-03-27 Yao Qi <yao@codesourcery.com>
7283 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7284 if target is nios2-*-*.
7286 2014-03-26 Yao Qi <yao@codesourcery.com>
7288 * lib/gdb.exp (readline_is_used): New proc.
7289 * gdb.base/completion.exp: Move tests on command complete up.
7290 Skip the rest of tests if readline is not used.
7291 * gdb.ada/complete.exp: Skp the test if readline is not
7293 * gdb.base/filesym.exp: Likewise.
7294 * gdb.base/macscp.exp: Likewise.
7295 * gdb.base/readline-ask.exp: Likewise.
7296 * gdb.base/readline.exp: Likewise.
7297 * gdb.python/py-cmd.exp: Likewise.
7298 * gdb.trace/tfile.exp: Likewise.
7300 2014-03-26 Yao Qi <yao@codesourcery.com>
7302 * gdb.base/macscp.exp: Fix code format issues.
7304 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7306 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7307 * gdb.asm/powerpc64le.inc: New file.
7309 2014-03-25 Pedro Alves <palves@redhat.com>
7310 Doug Evans <dje@google.com>
7312 * gdb.base/source-execution.c: New file.
7313 * gdb.base/source-execution.exp: New file.
7314 * gdb.base/source-execution.gdb: New file.
7316 2014-03-24 Doug Evans <dje@google.com>
7318 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7321 2014-03-24 Hui Zhu <hui@codesourcery.com>
7322 Pedro Alves <palves@redhat.com>
7324 PR breakpoints/16101
7325 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7326 test pass/fail messages. Detect missing support for dprintf when
7327 breakpoints are actually inserted.
7328 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7329 breakpoints are actually inserted.
7330 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7333 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7335 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7337 2014-03-22 Doug Evans <xdje42@gmail.com>
7339 * gdb.python/python.exp (python not supported): Verify multi-line
7340 python command issues an error.
7341 * gdb.guile/guile.exp (guile not supported): Verify multi-line
7342 guile command issues an error.
7344 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7346 * gdb.threads/thread-specific.exp: Handle the lack of usable
7347 $this_breakpoint and $this_thread.
7349 2014-03-21 Hui Zhu <hui@codesourcery.com>
7351 * gdb.base/attach.exp (do_command_attach_tests): New.
7353 2014-03-20 Tom Tromey <tromey@redhat.com>
7354 Pedro Alves <palves@redhat.com>
7357 * gdb.base/condbreak-call-false.c: New file.
7358 * gdb.base/condbreak-call-false.exp: New file.
7360 2014-03-20 Pedro Alves <palves@redhat.com>
7362 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7364 (block_signals, unblock_signals): Delete.
7365 (child_function_2, main): Remove references to deleted variable
7368 2014-03-20 Pedro Alves <palves@redhat.com>
7370 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7371 Use pthread_kill to signal thread 2.
7372 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7373 Adjust to make the test send itself a signal rather than using the
7374 host's "kill" command.
7376 2014-03-20 Pedro Alves <palves@redhat.com>
7378 * gdb.threads/multiple-step-overs.c: New file.
7379 * gdb.threads/multiple-step-overs.exp: New file.
7380 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7381 Adjust expected infrun debug output.
7383 2014-03-20 Pedro Alves <palves@redhat.com>
7385 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7386 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7388 2014-03-20 Pedro Alves <palves@redhat.com>
7391 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7392 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7393 of gdb_test_multiple.
7394 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7395 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7397 2014-03-20 Pedro Alves <palves@redhat.com>
7399 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7400 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7402 2014-03-19 Pedro Alves <palves@redhat.com>
7404 * gdb.base/async.exp: Remove early return.
7406 2014-03-19 Pedro Alves <palves@redhat.com>
7408 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7410 2014-03-19 Pedro Alves <palves@redhat.com>
7412 * gdb.base/async.exp (test_background): Expect \r\n after
7413 "completed." in the fail pattern.
7415 2014-03-19 Pedro Alves <palves@redhat.com>
7417 * gdb.base/async.exp (test_background): New procedure.
7418 Use it for all background execution command tests.
7420 2014-03-19 Pedro Alves <palves@redhat.com>
7422 * gdb.base/async.exp: Use prepare_for_testing.
7424 2014-03-19 Pedro Alves <palves@redhat.com>
7426 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7429 2014-03-19 Pedro Alves <palves@redhat.com>
7431 * gdb.base/async.c (main): Add "jump here" and "until here" line
7433 * gdb.base/async.exp (jump_here): New global.
7434 (jump& test): Use it.
7435 (until_here): New global.
7436 (until& test): Use it.
7438 2014-03-19 Pedro Alves <palves@redhat.com>
7440 * gdb.base/async.exp: Don't frob gdb_protocol.
7442 2014-03-18 Doug Evans <xdje42@gmail.com>
7444 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7445 Fix spelling of exec-done-display.
7447 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7450 * gdb.base/gdb-sigterm.c: New file.
7451 * gdb.base/gdb-sigterm.exp: New file.
7453 2014-03-18 Pedro Alves <palves@redhat.com>
7456 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7457 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7460 2014-03-17 Joel Brobecker <brobecker@adacore.com>
7462 * gdb.ada/pckd_arr_ren: New testcase.
7464 2014-03-13 Doug Evans <xdje42@gmail.com>
7467 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7468 collect after discarding symbols.
7470 2014-03-13 Ludovic CourtĂšs <ludo@gnu.org>
7471 Doug Evans <xdje42@gmail.com>
7473 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7474 to history survives a gc.
7476 2014-03-13 Pedro Alves <palves@redhat.com>
7478 * gdb.base/default.exp: Don't test "target procfs".
7480 2014-03-13 Pedro Alves <palves@redhat.com>
7482 * gdb.base/default.exp: Update "target child" and "target procfs"
7483 tests to not expect "Unix".
7485 2014-03-12 Tom Tromey <tromey@redhat.com>
7487 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7488 New procs. Add target-async tests.
7489 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7490 Add target-async tests.
7492 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7494 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7495 'func_start' and 'func_end' for the beginning and end of the
7496 function code, respectively.
7497 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7498 'func_end' instead of 'func' and 'main'.
7500 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7502 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7503 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7504 generate the debug info assembler source.
7506 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7508 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7509 * gdb.dwarf2/arr-subrange.exp: Likewise.
7510 * gdb.dwarf2/dwz.exp: Likewise.
7511 * gdb.dwarf2/method-ptr.exp: Likewise.
7512 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7513 * gdb.dwarf2/subrange.exp: Likewise.
7514 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7515 * gdb.dwarf2/implptrpiece.exp: Likewise.
7516 * gdb.dwarf2/nostaticblock.exp: Likewise.
7518 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7520 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7521 directory to absolute path name arguments.
7523 2014-03-10 Joel Brobecker <brobecker@adacore.com>
7525 * gdb.ada/tagged_access: New testcase.
7527 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7529 * gdb.btrace/data.exp: Update expected output.
7531 2014-03-06 Yao Qi <yao@codesourcery.com>
7533 * gdb.trace/pr16508.exp: New file.
7535 2014-03-05 Pedro Alves <palves@redhat.com>
7538 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7540 (top level): Adjust to use it. Add tests that exercise breakpoint
7541 interaction with the code-cache.
7543 2014-02-26 Ludovic CourtĂšs <ludo@gnu.org>
7545 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7546 test for 'history-append!'.
7548 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7550 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7551 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7552 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7553 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7554 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7555 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7557 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7559 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7560 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7561 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7563 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7565 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7567 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7569 * gdb.dwarf2/arr-stride.c: New file.
7570 * gdb.dwarf2/arr-stride.exp: New file.
7572 2014-02-26 Pedro Alves <palves@redhat.com>
7574 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7575 that won't ever trigger. Make sure that GDB reports the correct
7576 breakpoint that caused the stop.
7578 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7581 * gdb.base/auto-load-script: New file.
7582 * gdb.base/auto-load.c: New file.
7583 * gdb.base/auto-load.exp: New file.
7586 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7588 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7590 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7591 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7593 2014-02-24 Doug Evans <dje@google.com>
7595 * lib/gdb.exp (run_on_host): Log error output if program fails.
7597 2014-02-21 Pedro Alves <palves@redhat.com>
7599 * gdb.threads/step-after-sr-lock.c: Rename to ...
7600 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7601 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7602 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7605 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7608 * gdb.arch/amd64-stap-special-operands.exp: New file.
7609 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7610 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7611 * gdb.arch/amd64-stap-triplet.S: Likewise.
7612 * gdb.arch/amd64-stap-triplet.c: Likewise.
7614 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7616 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7617 in .section pseudo-op.
7619 2014-02-20 lin zuojian <manjian2006@gmail.com>
7620 Joel Brobecker <brobecker@adacore.com>
7621 Doug Evans <xdje42@gmail.com>
7624 * gdb.dwarf2/dw2-icycle.S: New file.
7625 * gdb.dwarf2/dw2-icycle.c: New file.
7626 * gdb.dwarf2/dw2-icycle.exp: New file.
7628 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7630 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7631 operations on gdb.Value objects.
7632 * gdb.python/py-value-cc.exp: Add new test to test operations on
7635 2014-02-18 Doug Evans <dje@google.com>
7637 * Makefile.in (TESTS): New variable.
7638 (expanded_tests, expanded_tests_or_none): New variables
7639 (check-single): Pass $(expanded_tests_or_none) to runtest.
7640 (check-parallel): Only run tests in $(TESTS) if non-empty.
7641 (check/no-matching-tests-found): New rule.
7642 * README: Document TESTS makefile variable.
7644 2014-02-18 Doug Evans <dje@google.com>
7646 * Makefile.in (check-parallel): rm -rf outputs temp.
7648 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7650 Fix "ERROR: no fileid for" in the testsuite.
7651 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7653 2014-02-12 Doug Evans <dje@google.com>
7655 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7656 (MISCELLANEOUS): New variable.
7657 (clean): rm -rf $(MISCELLANEOUS).
7658 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7659 dwp live in the same directory as symlinks, with each symlink pointed
7660 to a differently named file in a different directory.
7662 2014-02-11 Doug Evans <dje@google.com>
7664 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7665 of Tcl file commands.
7667 2014-02-10 Mark Kettenis <kettenis@gnu.org>
7669 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7672 2014-02-10 Joel Brobecker <brobecker@adacore.com>
7674 * gdb.ada/tick_length_array_enum_idx: New testcase.
7676 2014-02-10 Doug Evans <xdje42@gmail.com>
7678 * configure.ac (AC_OUTPUT): Add gdb.guile.
7679 * configure: Regenerate.
7680 * lib/gdb-guile.exp: New file.
7681 * lib/gdb.exp (get_target_charset): New function.
7682 * gdb.base/help.exp: Update expected output from "apropos apropos".
7683 * gdb.guile/Makefile.in: New file.
7684 * gdb.guile/guile.exp: New file.
7685 * gdb.guile/scm-arch.c: New file.
7686 * gdb.guile/scm-arch.exp: New file.
7687 * gdb.guile/scm-block.c: New file.
7688 * gdb.guile/scm-block.exp: New file.
7689 * gdb.guile/scm-breakpoint.c: New file.
7690 * gdb.guile/scm-breakpoint.exp: New file.
7691 * gdb.guile/scm-disasm.c: New file.
7692 * gdb.guile/scm-disasm.exp: New file.
7693 * gdb.guile/scm-equal.c: New file.
7694 * gdb.guile/scm-equal.exp: New file.
7695 * gdb.guile/scm-error.exp: New file.
7696 * gdb.guile/scm-error.scm: New file.
7697 * gdb.guile/scm-frame-args.c: New file.
7698 * gdb.guile/scm-frame-args.exp: New file.
7699 * gdb.guile/scm-frame-args.scm: New file.
7700 * gdb.guile/scm-frame-inline.c: New file.
7701 * gdb.guile/scm-frame-inline.exp: New file.
7702 * gdb.guile/scm-frame.c: New file.
7703 * gdb.guile/scm-frame.exp: New file.
7704 * gdb.guile/scm-generics.exp: New file.
7705 * gdb.guile/scm-gsmob.exp: New file.
7706 * gdb.guile/scm-iterator.c: New file.
7707 * gdb.guile/scm-iterator.exp: New file.
7708 * gdb.guile/scm-math.c: New file.
7709 * gdb.guile/scm-math.exp: New file.
7710 * gdb.guile/scm-objfile-script-gdb.in: New file.
7711 * gdb.guile/scm-objfile-script.c: New file.
7712 * gdb.guile/scm-objfile-script.exp: New file.
7713 * gdb.guile/scm-objfile.c: New file.
7714 * gdb.guile/scm-objfile.exp: New file.
7715 * gdb.guile/scm-ports.exp: New file.
7716 * gdb.guile/scm-pretty-print.c: New file.
7717 * gdb.guile/scm-pretty-print.exp: New file.
7718 * gdb.guile/scm-pretty-print.scm: New file.
7719 * gdb.guile/scm-section-script.c: New file.
7720 * gdb.guile/scm-section-script.exp: New file.
7721 * gdb.guile/scm-section-script.scm: New file.
7722 * gdb.guile/scm-symbol.c: New file.
7723 * gdb.guile/scm-symbol.exp: New file.
7724 * gdb.guile/scm-symtab-2.c: New file.
7725 * gdb.guile/scm-symtab.c: New file.
7726 * gdb.guile/scm-symtab.exp: New file.
7727 * gdb.guile/scm-type.c: New file.
7728 * gdb.guile/scm-type.exp: New file.
7729 * gdb.guile/scm-value-cc.cc: New file.
7730 * gdb.guile/scm-value-cc.exp: New file.
7731 * gdb.guile/scm-value.c: New file.
7732 * gdb.guile/scm-value.exp: New file.
7733 * gdb.guile/source2.scm: New file.
7734 * gdb.guile/types-module.cc: New file.
7735 * gdb.guile/types-module.exp: New file.
7737 2014-02-10 Yao Qi <yao@codesourcery.com>
7740 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7741 * configure: Regenerated.
7742 * Makefile.in: New file.
7744 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7746 * gdb.python/py-framefilter.exp: Fix typo.
7748 2014-02-08 Yao Qi <yao@codesourcery.com>
7750 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7751 that no =breakpoint-modified is emitted when breakpoints are
7752 modified through MI commands.
7754 2014-02-07 Pedro Alves <pedro@codesourcery.com>
7755 Pedro Alves <palves@redhat.com>
7757 * gdb.threads/step-after-sr-lock.c: New file.
7758 * gdb.threads/step-after-sr-lock.exp: New file.
7760 2014-02-07 Pedro Alves <palves@redhat.com>
7762 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7764 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7766 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7767 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7769 2014-02-06 Doug Evans <xdje42@gmail.com>
7771 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7774 * gdb.gdb/python-interrupts.exp: New file.
7776 2014-02-05 Yao Qi <yao@codesourcery.com>
7778 * gdb.trace/report.exp (use_collected_data): Test the output
7779 of "info threads" and "info inferiors".
7781 2014-02-05 Yao Qi <yao@codesourcery.com>
7785 2013-05-24 Yao Qi <yao@codesourcery.com>
7787 * gdb.trace/tfile.exp: Test inferior and thread.
7789 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7791 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7793 * gdb.base/step-bt.c: Call hello via function pointer to make
7794 sure its first instruction is executed on powerpc64le-linux.
7796 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7798 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7800 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7802 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7803 of the test patterns for use on little-endian systems.
7805 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7807 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7808 (decimal_vector): Fix for little-endian.
7810 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7812 * gdb.arch/sparc-sysstep.exp: New file.
7813 * gdb.arch/sparc-sysstep.c: Likewise.
7815 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7817 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7819 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7821 2014-01-23 Tom Tromey <tromey@redhat.com>
7823 * gdb.ada/array_char_idx: New testcase.
7825 2014-01-23 Tom Tromey <tromey@redhat.com>
7828 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7829 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7832 2014-01-23 Tom Tromey <tromey@redhat.com>
7835 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7836 string from an inferior frame.
7837 * gdb.python/py-framefilter-mi.exp: Update.
7839 2014-01-22 Doug Evans <dje@google.com>
7841 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7843 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7845 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7847 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7849 * gdb.trace/entry-values.exp: Remove excess space character from
7850 regex patterns. Handle s390 call instruction.
7852 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7854 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7855 define "*_start" label. Make "name" static.
7856 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7857 ${name} by references to ${name}_start.
7859 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7861 * gdb.base/info-macros.exp: Remove "debug" from the compile
7864 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7866 * gdb.dlang/demangle.exp: New file.
7868 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7870 * gdb.dlang/primitive-types.exp: New file.
7872 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7874 * configure.ac: Create gdb.dlang/Makefile.
7875 * configure: Regenerate.
7876 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7877 * gdb.dlang/Makefile.in: New file.
7878 * lib/d-support.exp: New file.
7879 * lib/gdb.exp (skip_d_tests): New proc.
7881 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7883 * gdb.btrace/delta.exp: Check reverse stepi.
7884 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7885 * gdb.btrace/finish.exp: New.
7886 * gdb.btrace/next.exp: New.
7887 * gdb.btrace/nexti.exp: New.
7888 * gdb.btrace/record_goto.c: Add comments.
7889 * gdb.btrace/step.exp: New.
7890 * gdb.btrace/stepi.exp: New.
7891 * gdb.btrace/multi-thread-step.c: New.
7892 * gdb.btrace/multi-thread-step.exp: New.
7893 * gdb.btrace/rn-dl-bind.c: New.
7894 * gdb.btrace/rn-dl-bind.exp: New.
7895 * gdb.btrace/data.c: New.
7896 * gdb.btrace/data.exp: New.
7897 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7899 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7901 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7902 * gdb.btrace/exception.exp: Update.
7903 * gdb.btrace/instruction_history.exp: Update.
7904 * gdb.btrace/record_goto.exp: Update.
7905 * gdb.btrace/tailcall.exp: Update.
7906 * gdb.btrace/unknown_functions.exp: Update.
7907 * gdb.btrace/delta.exp: New.
7909 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7911 * gdb.btrace/record_goto.exp: Add backtrace test.
7912 * gdb.btrace/tailcall.exp: Add backtrace test.
7914 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7916 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7917 * gdb.btrace/record_goto.c: New.
7918 * gdb.btrace/record_goto.exp: New.
7919 * gdb.btrace/x86-record_goto.S: New.
7921 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7923 * gdb.btrace/function_call_history.exp: Update tests.
7924 * gdb.btrace/instruction_history.exp: Update tests.
7926 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7928 * gdb.btrace/function_call_history.exp: Fix expected field
7929 order for "record function-call-history".
7930 Add new tests for "record function-call-history /c".
7931 * gdb.btrace/exception.cc: New.
7932 * gdb.btrace/exception.exp: New.
7933 * gdb.btrace/tailcall.exp: New.
7934 * gdb.btrace/x86-tailcall.S: New.
7935 * gdb.btrace/x86-tailcall.c: New.
7936 * gdb.btrace/unknown_functions.c: New.
7937 * gdb.btrace/unknown_functions.exp: New.
7938 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7940 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7942 * gdb.btrace/instruction_history.exp: Update.
7943 * gdb.btrace/function_call_history.exp: Update.
7945 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7947 * gdb.btrace/function_call_history.exp: Fix expected function
7949 * gdb.btrace/instruction_history.exp: Initialize traced.
7950 Remove traced_functions.
7952 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7954 * gdb.btrace/function_call_history.exp: Update
7955 * gdb.btrace/instruction_history.exp: Update.
7957 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7959 * gdb.btrace/enable.exp: Update expected text.
7961 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7963 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7966 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7968 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7970 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
7972 * lib/gdb.exp (supports_process_record): Return true for
7973 arm*-linux*. (supports_reverse): Likewise.
7975 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7979 * gdb.python/py-type.c: Enhance test case.
7980 * gdb.python/py-value-cc.cc: Likewise
7981 * gdb.python/py-type.exp: Add new tests.
7982 * gdb.python/py-value-cc.exp: Likewise
7984 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7985 Pedro Alves <palves@redhat.com>
7987 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7989 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7990 references to ${name}_start by references to ${name}.
7992 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7994 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7996 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7998 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8000 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8001 Pedro Alves <palves@redhat.com>
8003 * gdb.mi/mi-info-os.exp: Connect to the target with
8006 2014-01-08 Pedro Alves <palves@redhat.com>
8008 * gdb.threads/reconnect-signal.c: New file.
8009 * gdb.threads/reconnect-signal.exp: New file.
8011 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8013 * gdb.base/source-dir.exp: New file.
8015 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8017 * gdb.ada/mi_interface: New testcase.
8019 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8021 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8022 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8023 gdb.ada/pp-rec-component/pck.ads: New files.
8025 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8027 * gdb.python/py-pp-integral.c: New file.
8028 * gdb.python/py-pp-integral.py: New file.
8029 * gdb.python/py-pp-integral.exp: New file.
8031 For older changes see ChangeLog-1993-2013.
8037 ;; version-control: never
8040 Copyright 2014-2016 Free Software Foundation, Inc.
8041 Copying and distribution of this file, with or without modification,
8042 are permitted provided the copyright notice and this notice are preserved.