1 2016-04-19 Doug Evans <xdje42@gmail.com>
3 * gdb.base/bad-file.exp: New file.
5 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
7 * gdb.dwarf2/implref.exp: New file.
9 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
11 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
12 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
13 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
14 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
15 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
16 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
17 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
18 * lib/fortran.exp (fortran_int4): New procedure.
19 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
20 (fortran_logical4): Likewise.
22 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
24 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
26 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
28 * lib/compiler.c: Add Intel specific preprocessor macros.
29 * lib/compiler.cc: Likewise.
31 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
33 * gdb.server/connect-with-no-symbol-file.c: New file.
34 * gdb.server/connect-with-no-symbol-file.exp: New file.
36 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
38 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
40 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
42 * boards/gdbserver-base.exp (${board}_download): Copy source file to
43 standard output directory.
45 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
47 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
49 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
51 * gdb.btrace/instruction_history.c (loop): Add declaration.
53 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
55 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
57 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
59 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
61 (continue_handler): Likewise.
63 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
65 * gdb.server/solib-list.exp: Remove is_remote check.
66 Pass shlib= to gdb_compile. Don't link shared library with
67 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
68 Run binary filename through "readlink -f" on the target.
70 2016-04-08 Pedro Alves <palves@redhat.com>
72 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
73 interpreter filename as argument to gdbserver_spawn.
74 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
75 Return empty if $last_loaded_file does not exist.
77 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
79 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
80 * gdb.base/jit-main.c: Use exit after usage.
82 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
84 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
85 GDBHISTSIZE prior to the tests.
86 * gdb.base/gdbinit-history.exp: Likewise.
88 2016-04-07 Pedro Alves <palves@redhat.com>
90 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
91 instead of build_executable. Use gdb_load_shlibs.
93 2016-04-07 Yao Qi <yao.qi@linaro.org>
95 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
98 2016-04-07 Yao Qi <yao.qi@linaro.org>
100 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
101 number instead of the comments on some line.
103 2016-04-06 Don Breazeal <donb@codesourcery.com>
105 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
106 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
108 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
110 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
111 standard_output_file. Remove unused binfile variable.
113 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
115 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
116 * gdb.python/py-mi-objfile.exp: Match "list main" output
119 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
121 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
124 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
126 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
128 * gdb.trace/ftrace.exp: Likewise.
129 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
131 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
132 (gdb_load_shlibs): Copy libraries to test directory when testing
133 natively. Only set solib-search-path if testing remotely.
134 * lib/mi-support.exp (mi_load_shlibs): Likewise.
136 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
138 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
139 gdb_download. Use it even if the target is not remote.
140 * gdb.base/jit.exp (compile_jit_test): Likewise.
141 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
142 output directory if the destination board is local, otherwise use
143 the standard remote_download from DejaGnu.
144 (gdb_download): Remove.
145 (gdb_load_shlibs): Use gdb_remote_download instead of
147 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
148 Use gdb_remote_download instead of gdb_download. Use it even if
149 the target is not remote.
150 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
151 instead of gdb_download.
153 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
155 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
156 (test_insert_delete_modify): Call mi_load_shlibs before trying to
159 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
162 * gdb.base/printcmds.exp: Add artificial arrays tests.
164 2016-03-31 Pedro Alves <palves@redhat.com>
167 * gdb.base/jit-main.c: Include unistd.h.
168 (ATTACH): Define to 0 if not already defined.
169 (wait_for_gdb, mypid): New globals.
170 (WAIT_FOR_GDB): New macro.
171 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
172 some breakpoint locations.
173 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
175 (one_jit_test): Add REATTACH parameter, and handle it. Use
176 continue_to_test_location.
177 (top level): Test attach, and adjusts calls to one_jit_test.
179 2016-03-31 Pedro Alves <palves@redhat.com>
182 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
183 BINSUFFIX parameter, and handle it.
184 (top level): Adjust calls compile_jit_test.
186 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
189 * gdb.python/py-mi-events-gdb.py: New file.
190 * gdb.python/py-mi-events.c: New file.
191 * gdb.python/py-mi-events.exp: New file.
193 2016-03-30 Yao Qi <yao.qi@linaro.org>
195 * gdb.reverse/until-precsave.exp: Match function name only.
196 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
197 Move malloc to a condition block.
198 * gdb.reverse/until-reverse.exp: Match function name only.
200 2016-03-29 Marcin KoĆcielnicki <koriakin@0x04.net>
202 * gdb.trace/ftrace.exp: Set arg0exp for s390.
203 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
204 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
205 variable for GPR 0 instead of assuming it is register 0.
206 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
207 * lib/trace-support.exp: Add s390 registers.
209 2016-03-29 Yao Qi <yao.qi@linaro.org>
211 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
213 2016-03-24 Yao Qi <yao.qi@linaro.org>
215 * gdb.reverse/break-reverse.exp: Add quotation mark in the
218 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
220 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
221 maintaining separate logic for constructing the output path.
223 2016-03-16 Don Breazeal <donb@codesourcery.com>
225 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
226 Retry fork and waitpid on interrupted system call errors.
227 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
228 Use with_timeout_factor to increase timeout by factor of 10.
230 2016-03-15 Don Breazeal <donb@codesourcery.com>
232 * gdb.cp/scope-err.cc: New test program.
233 * gdb.cp/scope-err.exp: New test script.
234 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
235 lines and "set breakpoint here" comment.
236 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
237 Fixed some whitespace and format issues.
238 * gdb.mi/mi-linespec-err-cp.cc: New test program.
239 * gdb.mi/mi-linespec-err-cp.exp: New test script.
241 2016-03-15 Doug Evans <dje@google.com>
243 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
244 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
245 All callers updated. Add tests for enums, mixed flags register.
247 2016-03-15 Doug Evans <dje@google.com>
249 * gdb.base/skip.c (main): Call test_skip_file_and_function.
250 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
252 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
254 * gdb.base/default.exp: Add $_as_string to the list of expected
255 convenience functions.
257 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
259 * gdb.base/maint.exp: New tests for 'maint info line-table'.
261 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
263 * gdb.python/py-as-string.exp: New file.
264 * gdb.python/py-as-string.c: New file.
266 2016-03-09 Pedro Alves <palves@redhat.com>
268 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
269 signal" -> "Thread NN received signal" output change.
270 * gdb.threads/ia64-sigill.exp: Likewise.
271 * gdb.threads/linux-dp.exp: Likewise.
272 * gdb.threads/manythreads.exp: Likewise.
273 * gdb.threads/pending-step.exp: Likewise.
274 * gdb.threads/print-threads.exp: Likewise.
275 * gdb.threads/sigstep-threads.exp: Likewise.
276 * gdb.threads/staticthreads.exp: Likewise.
277 * gdb.threads/tls.exp: Likewise.
279 2016-03-09 Pedro Alves <palves@redhat.com>
281 * gdb.base/command-line-input.exp: New file.
283 2016-03-09 Marcin KoĆcielnicki <koriakin@0x04.net>
285 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
286 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
287 * gdb.trace/pending.exp: Accept leading dot before function name.
288 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
289 * lib/trace-support.exp: Set registers for ppc.
291 2016-03-09 Marcin KoĆcielnicki <koriakin@0x04.net>
293 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
294 use it for disassembly; accept .main in addition to main in backtrace.
296 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
297 Marcin KoĆcielnicki <koriakin@0x04.net>
299 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
300 (gdb_recursion_test_ptr): New global variable.
301 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
305 2016-03-09 Marcin KoĆcielnicki <koriakin@0x04.net>
307 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
310 2016-03-09 Marcin KoĆcielnicki <koriakin@0x04.net>
312 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
313 (bar): Add bar_start_lbl label.
314 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
315 of foo/bar for emitting DWARF and tracing.
317 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
319 * analyze-racy-logs.py: Set executable bit.
321 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
323 * Makefile.in (DEFAULT_RACY_ITER): New variable.
324 (CHECK_TARGET_TMP): Likewise.
325 (check-single-racy): New rule.
326 (check-parallel-racy): Likewise.
327 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
328 (do-check-parallel-racy): New rule.
329 (check-racy/%.exp): Likewise.
330 * README (Racy testcases): New section.
331 * analyze-racy-logs.py: New file.
333 2016-03-03 Doug Evans <dje@google.com>
335 * gdb.base/skip.exp: Use with_test_prefix.
337 2016-03-03 Yao Qi <yao.qi@linaro.org>
339 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
340 Invoke step_over_syscall "clone" and break_cond_on_syscall
342 * gdb.base/step-over-clone.c: New file.
344 2016-03-03 Yao Qi <yao.qi@linaro.org>
346 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
349 2016-03-03 Yao Qi <yao.qi@linaro.org>
351 * gdb.base/disp-step-fork.c: Rename to ...
352 * gdb.base/step-over-fork.c: ... it. New file.
353 * gdb.base/disp-step-vfork.c: Rename to ...
354 * gdb.base/step-over-vfork.c: ... it. New file.
355 * gdb.base/disp-step-syscall.exp: Rename to ...
356 * gdb.base/step-over-syscall.exp: ... it. New file.
357 (disp_step_cross_syscall): Rename to ...
358 (step_over_syscall): ... it.
360 2016-03-03 Yao Qi <yao.qi@linaro.org>
362 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
363 If target supports condition evaluation on target, invoke
364 break_cond_on_syscall for fork and vfork.
366 2016-03-03 Yao Qi <yao.qi@linaro.org>
368 * gdb.base/disp-step-syscall.exp: Don't invoke
369 support_displaced_stepping.
370 (disp_step_cross_syscall): Test with displaced stepping off and
373 2016-03-03 Yao Qi <yao.qi@linaro.org>
375 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
378 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
381 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
383 * gdb.fortran/vla-history.exp: Remove breakpoint.
385 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
387 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
389 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
391 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
393 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
395 * gdb.mi/vla.f90: Nullify pointer after declaration.
397 2016-03-01 Pedro Alves <palves@redhat.com>
399 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
401 2016-03-01 Pedro Alves <palves@redhat.com>
403 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
404 before anything else.
405 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
407 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
408 before anything else.
409 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
411 2016-03-01 Pedro Alves <palves@redhat.com>
413 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
415 2016-03-01 Yao Qi <yao.qi@linaro.org>
417 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
420 2016-03-01 Yao Qi <yao.qi@linaro.org>
422 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
424 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
426 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
427 manually constructing the output path.
429 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
431 * gdb.arch/s390-stackless.S: New.
432 * gdb.arch/s390-stackless.exp: New.
434 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
436 * gdb.dlang/circular.c: New file.
437 * gdb.dlang/circular.exp: New file.
439 2016-02-26 Yao Qi <yao.qi@linaro.org>
441 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
442 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
445 2016-02-26 Yao Qi <yao.qi@linaro.org>
447 * gdb.reverse/aarch64.c: Rename to ...
448 * gdb.reverse/insn-reverse.c: ... it.
449 * gdb.reverse/aarch64.exp: Rename to ...
450 * gdb.reverse/insn-reverse.exp: ... it.
452 2016-02-26 Yao Qi <yao.qi@linaro.org>
454 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
455 (testcase_ftype): New.
456 (testcases): New array.
458 (main): Call each element in testcases.
459 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
460 (read_testcase): New.
461 Do the tests in a loop.
463 2016-02-25 Yao Qi <yao.qi@linaro.org>
465 * gdb.base/branches.c: Remove.
467 2016-02-25 Marcin KoĆcielnicki <koriakin@0x04.net>
470 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
472 2016-02-25 Marcin KoĆcielnicki <koriakin@0x04.net>
474 * gdb.trace/ftrace.exp: Remove unnecessary target check.
476 2016-02-25 Marcin KoĆcielnicki <koriakin@0x04.net>
478 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
479 change x86_64 call_insn to 'callq'.
481 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
483 * gdb.trace/tfile-avx.c: Move to...
484 * gdb.trace/tracefile-pseudo-reg.c: Here.
485 * gdb.trace/tfile-avx.exp: Move to...
486 * gdb.trace/tracefile-pseudo-reg.exp: Here.
488 2016-02-24 Gary Benson <gbenson@redhat.com>
490 * gdb.base/attach-pie-noexec.exp: Do not expect an error
493 2016-02-23 Doug Evans <dje@google.com>
495 * gdb.base/skip.c (test_skip): New function.
496 (end_test_skip_file_and_function): New function.
497 (test_skip_file_and_function): New function.
498 * gdb.base/skip1.c (test_skip): New function.
499 (skip1_test_skip_file_and_function): New function.
500 * gdb.base/skip.exp: Add tests for new skip options.
501 * gdb.base/skip-solib.exp: Update expected output.
502 * gdb.perf/skip-command.cc: New file.
503 * gdb.perf/skip-command.exp: New file.
504 * gdb.perf/skip-command.py: New file.
506 2016-02-22 Marcin KoĆcielnicki <koriakin@0x04.net>
508 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
509 info registers pattern.
511 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
513 * lib/future.exp: Add D support.
514 (gdb_find_gdc): New proc.
515 (gdb_default_target_compile): Add D support.
517 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
519 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
521 (trace_speed_test): Determine the iteration count for a time
522 between 15..30 seconds.
524 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
526 * gdb.arch/i386-mpx-sigsegv.c: New file.
527 * gdb.arch/i386-mpx-sigsegv.exp: New file.
528 * gdb.arch/i386-mpx-simple_segv.c: New file.
529 * gdb.arch/i386-mpx-simple_segv.exp: New file.
531 2016-02-18 Yao Qi <yao.qi@linaro.org>
533 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
534 Don't call setup_kfail.
536 2016-02-18 Yao Qi <yao.qi@linaro.org>
538 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
539 Set "set breakpoint condition-evaluation" per $cond_bp_target.
541 2016-02-16 Doug Evans <dje@google.com>
543 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
544 * gdb.base/skip1.c: Ditto.
545 * gdb.base/skip.exp: Whitespace cleanup.
547 2016-02-16 Don Breazeal <donb@codesourcery.com>
550 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
551 Remove kfail for PR remote/19496.
553 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
555 * lib/gdb.exp (standard_temp_file): Return a path specific to
556 the runtest invocation.
558 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
560 * gdb.trace/save-trace.exp: Change relative path to be in the
561 standard output directory.
563 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
565 * gdb.arch/i386-prologue.c: Add missing prototypes.
567 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
569 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
570 * gdb.arch/i386-prologue.exp: Likewise.
571 * gdb.arch/i386-size.exp: Likewise.
573 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
575 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
576 define object file path.
577 * gdb.btrace/gcore.exp: Use standard_output_file to define core
579 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
580 standard_output_file to define binfile.
582 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
584 Fix compatibility with recent gfortran-5.3.1.
585 * gdb.fortran/vla-history.exp (print vla1 allocated)
586 (print vla2 allocated, print $2, print $3): Remove
587 (print $4): Rename to ...
588 (print $2): ... here.
589 (print $9): Rename to ...
590 (print $5): ... here.
591 (print $10): Rename to ...
592 (print $6): ... here.
593 * gdb.fortran/vla.f90: Add pvla initialization.
595 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
597 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
599 * gdb.fortran/vla-value-sub.exp: Likewise.
601 2016-02-12 Marcin KoĆcielnicki <koriakin@0x04.net>
603 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
605 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
607 * i386-biarch-core.exp: Define corefile using
608 standard_output_file.
610 2016-02-12 Yao Qi <yao.qi@linaro.org>
612 * gdb.arch/arm-single-step-kernel-helper.c: New.
613 * gdb.arch/arm-single-step-kernel-helper.exp: New.
615 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
617 * gdb.btrace/tailcall-only.exp: New.
618 * gdb.btrace/tailcall-only.c: New.
619 * gdb.btrace/x86_64-tailcall-only.S: New.
620 * gdb.btrace/i686-tailcall-only.S: New.
622 2016-02-11 Pedro Alves <palves@redhat.com>
624 * README (Parallel testing): Add missing double quotes.
626 2016-02-11 Pedro Alves <palves@redhat.com>
628 * README (Parallel testing): New section.
629 (GDB_PARALLEL): Rewrite.
630 (FORCE_PARALLEL): Document.
632 2016-02-11 Marcin KoĆcielnicki <koriakin@0x04.net>
634 * gdb.trace/tfile-avx.c: New test.
635 * gdb.trace/tfile-avx.exp: New test.
637 2016-02-09 Keith Seitz <keiths@redhat.com>
640 * gdb.base/infcall-exec.c: New file.
641 * gdb.base/infcall-exec2.c: New file.
642 * gdb.base/infcall-exec.exp: New file.
644 2016-02-09 Keith Seitz <keiths@redhat.com>
646 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
647 (toplevel): Call test_bkpt_address.
649 2016-02-09 Keith Seitz <keiths@redhat.com>
652 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
653 (toplevel): Call test_bkpt_address.
655 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
657 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
659 * configure: Regenerate.
661 2016-02-09 Pedro Alves <palves@redhat.com>
664 * gdb.base/execl-update-breakpoints.c (some_function): New
667 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
668 Tighten expected GDB output.
670 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
672 * Makefile.in (ALL_SUBDIRS): Remove.
673 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
674 (distclean maintainer-clean realclean): Likewise.
675 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
676 * configure: Regenerate.
677 * gdb.ada/Makefile.in: Delete.
678 * gdb.arch/Makefile.in: Likewise.
679 * gdb.asm/Makefile.in: Likewise.
680 * gdb.base/Makefile.in: Likewise.
681 * gdb.btrace/Makefile.in: Likewise.
682 * gdb.cell/Makefile.in: Likewise.
683 * gdb.compile/Makefile.in: Likewise.
684 * gdb.cp/Makefile.in: Likewise.
685 * gdb.disasm/Makefile.in: Likewise.
686 * gdb.dlang/Makefile.in: Likewise.
687 * gdb.dwarf2/Makefile.in: Likewise.
688 * gdb.fortran/Makefile.in: Likewise.
689 * gdb.gdb/Makefile.in: Likewise.
690 * gdb.go/Makefile.in: Likewise.
691 * gdb.guile/Makefile.in: Likewise.
692 * gdb.java/Makefile.in: Likewise.
693 * gdb.linespec/Makefile.in: Likewise.
694 * gdb.mi/Makefile.in: Likewise.
695 * gdb.modula2/Makefile.in: Likewise.
696 * gdb.multi/Makefile.in: Likewise.
697 * gdb.objc/Makefile.in: Likewise.
698 * gdb.opencl/Makefile.in: Likewise.
699 * gdb.opt/Makefile.in: Likewise.
700 * gdb.pascal/Makefile.in: Likewise.
701 * gdb.perf/Makefile.in: Likewise.
702 * gdb.python/Makefile.in: Likewise.
703 * gdb.reverse/Makefile.in: Likewise.
704 * gdb.server/Makefile.in: Likewise.
705 * gdb.stabs/Makefile.in: Likewise.
706 * gdb.threads/Makefile.in: Likewise.
707 * gdb.trace/Makefile.in: Likewise.
708 * gdb.xml/Makefile.in: Likewise.
709 * lib/gdb.exp (make_gdb_parallel_path): Add check for
711 (standard_output_file): Remove check for GDB_PARALLEL, always
712 return path in outputs/$subdir/$testname.
714 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
716 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
717 (site.exp): Assign abs_srcdir to tcl's srcdir.
719 2016-02-04 Yao Qi <yao.qi@linaro.org>
721 * gdb.base/foll-exec-mode.c: Include limits.h.
722 (main): Add parameters argc and argv. Get directory from
724 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
726 * gdb.base/foll-exec.c: Include limits.h.
727 (main): Add parameters argc and argv.
728 Get directory from argv[0].
729 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
730 Adjust tests on the number of lines as source code changed.
731 * gdb.base/foll-vfork-exit.c: Include limits.h.
732 (main): Add one line of statement before vfork.
733 * gdb.base/foll-vfork.c: Include limits.h and string.h.
734 (main): Add parameters argc and argv. Get directory from
736 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
737 (setup_gdb): Set tbreak to skip some source lines.
738 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
739 (main): Add parameters argc and argv. Get directory from
741 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
743 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
744 (main): Add parameters argc and argv. Get directory from
746 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
749 2016-02-01 Doug Evans <dje@google.com>
751 * gdb.base/skip.exp: Clean up multiple references to same test name.
753 2016-02-01 Pedro Alves <palves@redhat.com>
756 * gdb.threads/forking-threads-plus-breakpoint.exp
757 (displaced_stepping_supported): New global.
758 (probe_displaced_stepping_support): New procedure.
759 (do_test): Add 'displaced' parameter, and use it.
760 (top level): Check for displaced stepping support. Add displaced
761 stepping on/off testing axis.
763 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
765 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
766 pointer. Don't perform further tests on the unassociated pointer
767 if the first test fails.
769 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
771 * gdb.base/max-value-size.c: New file.
772 * gdb.base/max-value-size.exp: New file.
773 * gdb.base/huge.exp: Disable max-value-size for this test.
775 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
777 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
779 2016-01-28 Yao Qi <yao.qi@linaro.org>
781 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
783 2016-01-25 Pedro Alves <palves@redhat.com>
786 * gdb.base/fork-running-state.c: New file.
787 * gdb.base/fork-running-state.exp: New file.
789 2016-01-25 Pedro Alves <palves@redhat.com>
792 * gdb.base/catch-fork-kill.c: New file.
793 * gdb.base/catch-fork-kill.exp: New file.
795 2016-01-25 Pedro Alves <palves@redhat.com>
797 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
798 Delete, moved to lib/gdb.exp.
799 * gdb.threads/forking-threads-plus-breakpoint.exp
800 (foreach_with_prefix): Likewise.
801 * gdb.threads/process-dies-while-handling-bp.exp
802 (foreach_with_prefix): Likewise.
803 * lib/gdb.exp (foreach_with_prefix): New procedure.
805 2016-01-25 Marcin KoĆcielnicki <koriakin@0x04.net>
807 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
808 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
810 2016-01-23 Marcin KoĆcielnicki <koriakin@0x04.net>
812 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
815 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
816 Pedro Alves <palves@redhat.com>
818 Fix testsuite compatibility with Guile.
819 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
822 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
824 Fix testsuite compatibility with Guile.
825 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
826 (thread 1): New test for backtrace through signal handler.
828 2016-01-22 Yao Qi <yao.qi@linaro.org>
831 * gdb.base/multi-forks.c: Include
832 ../lib/unbuffer_output.c
833 (main): Call gdb_unbuffer_output.
835 2016-01-21 Doug Evans <dje@google.com>
837 * lib/ada.exp (gdb_compile_ada): Fix typo.
839 2016-01-21 Joel Brobecker <brobecker@adacore.com>
841 * gdb.base/break-fun-addr.exp: New file.
842 * gdb.base/break-fun-addr1.c: New file.
843 * gdb.base/break-fun-addr2.c: New file.
845 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
847 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
848 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
851 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
853 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
854 when GDB can not set the vector return value. Add more comments
857 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
859 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
862 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
864 * Makefile.in (DO_RUNTEST): Add --status and update usages.
866 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
868 * Makefile.in (check-single): Pass --status to runtest.
869 (check/%.exp): Likewise.
871 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
873 * Makefile.in (check-parallel): Propagate return code from make
876 2016-01-19 Marcin KoĆcielnicki <koriakin@0x04.net>
878 * gdb.trace/ftrace.exp: Fix expected message on continue.
879 * gdb.trace/pending.exp: Fix expected message on continue.
880 * gdb.trace/trace-break.exp: Fix expected message on continue.
882 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
884 * lib/gdb.exp (gdb_test): Remove unused global references.
886 2016-01-18 Pedro Alves <palves@redhat.com>
888 * gdb.base/async-shell.exp: Adjust expected output.
889 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
890 * gdb.base/siginfo-thread.exp: Adjust expected output.
891 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
892 * gdb.java/jnpe.exp: Adjust expected output.
893 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
894 * gdb.threads/continue-pending-status.exp: Adjust expected output.
895 * gdb.threads/leader-exit.exp: Adjust expected output.
896 * gdb.threads/manythreads.exp: Adjust expected output.
897 * gdb.threads/pthreads.exp: Adjust expected output.
898 * gdb.threads/schedlock.exp: Adjust expected output.
899 * gdb.threads/siginfo-threads.exp: Adjust expected output.
900 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
902 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
904 * gdb.threads/sigthread.exp: Adjust expected output.
905 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
907 2016-01-18 Yao Qi <yao.qi@linaro.org>
909 * gdb.guile/scm-section-script.c: Replace @progbits with
911 * gdb.python/py-section-script.c: Likewise.
913 2016-01-15 Pedro Alves <palves@redhat.com>
915 * gdb.multi/tids.exp: Test star wildcard ranges.
917 2016-01-15 Pedro Alves <palves@redhat.com>
919 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
920 command from "thread apply" invocation.
921 (thr_apply_info_thr_invalid): Default the expected output to the
923 (top level): Add tests that use convenience variables. Add tests
924 for "thread apply" with a valid TID list, but missing the command.
926 2016-01-13 Pedro Alves <palves@redhat.com>
928 * gdb.base/default.exp: Expect $_gthread as well.
929 * gdb.multi/tids.exp: Test $_gthread.
930 * gdb.threads/thread-specific.exp: Test $_gthread.
932 2016-01-13 Pedro Alves <palves@redhat.com>
934 * gdb.multi/tids.exp: Test "info threads -gid".
936 2016-01-13 Pedro Alves <palves@redhat.com>
938 * gdb.multi/tids.exp: Test InferiorThread.global_num and
940 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
942 2016-01-07 Pedro Alves <palves@redhat.com>
944 * gdb.base/break.exp: Adjust to output changes.
945 * gdb.base/hbreak2.exp: Likewise.
946 * gdb.base/sepdebug.exp: Likewise.
947 * gdb.base/watch_thread_num.exp: Likewise.
948 * gdb.linespec/keywords.exp: Likewise.
949 * gdb.multi/info-threads.exp: Likewise.
950 * gdb.threads/thread-find.exp: Likewise.
951 * gdb.multi/tids.c: New file.
952 * gdb.multi/tids.exp: New file.
954 2016-01-13 Pedro Alves <palves@redhat.com>
956 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
958 2016-01-13 Pedro Alves <palves@redhat.com>
960 * gdb.base/default.exp: Expect $_inferior as well.
961 * gdb.multi/base.exp: Test $_inferior.
963 2016-01-13 Pedro Alves <palves@redhat.com>
966 * gdb.base/catch-signal-siginfo-cond.c: New file.
967 * gdb.base/catch-signal-siginfo-cond.exp: New file.
969 2016-01-12 Josh Stone <jistone@redhat.com>
970 Philippe Waroquiers <philippe.waroquiers@skynet.be>
972 * gdb.base/catch-syscall.c (do_execve): New variable.
973 (main): Conditionally trigger an execve.
974 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
975 (test_catch_syscall_execve): New, check entry/return across execve.
976 (do_syscall_tests): Call test_catch_syscall_execve.
978 2016-01-12 Pedro Alves <palves@redhat.com>
980 * gdb.base/random-signal.exp (do_test): New procedure, with body
981 of testcase moved in.
983 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
984 Pedro Alves <palves@redhat.com>
986 * gdb.base/funcargs.exp (finish from indirectly called function):
987 Reintroduce the case for 'First'.
989 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
990 Pedro Alves <palves@redhat.com>
992 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
993 (tcatch_vfork_then_child_follow_exec)
994 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
997 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
999 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1000 and repeats to unlimited.
1001 * gdb.python/py-value.exp: Likewise.
1002 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1003 and repeats to unlimited.
1005 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1007 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1008 and reordering the functions.
1009 * gdb.multi/hangout.c: Likewise.
1010 * gdb.multi/hello.c: Likewise.
1012 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1014 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1016 (SingleStatisticTestResult.report): Use dict.keys instead of
1019 2016-01-06 Pedro Alves <palves@redhat.com>
1021 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1023 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1025 * gdb.btrace/dlopen.exp: New.
1026 * gdb.btrace/dlopen.c: New.
1027 * gdb.btrace/dlopen-dso.c: New.
1029 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1031 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1032 PATTERN argument is optional.
1034 2015-12-24 Joel Brobecker <brobecker@adacore.com>
1036 * lib/ada.exp (target_compile_ada_from_dir): New function.
1037 (gdb_compile_ada): Reimplement avoiding the use of project files.
1038 * gdb.ada/gnat_ada.gpr: Delete.
1039 * gdb.ada/cond_lang.exp: Adjust test to make path before
1041 * gdb.ada/small_reg_param.exp: Likewise.
1043 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1045 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1047 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1049 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1052 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1054 * gdb.base/break.exp: Remove dead code.
1055 * gdb.base/sepdebug.exp: Likewise.
1057 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1059 * gdb.asm/asm-source.exp: Remove HP-UX references.
1060 * gdb.base/annota1.exp: Likewise.
1061 * gdb.base/annota3.exp: Likewise.
1062 * gdb.base/attach.exp: Likewise.
1063 * gdb.base/bigcore.exp: Likewise.
1064 * gdb.base/break.exp: Likewise.
1065 * gdb.base/call-ar-st.exp: Likewise.
1066 * gdb.base/callfuncs.exp: Likewise.
1067 * gdb.base/catch-fork-static.exp: Likewise.
1068 * gdb.base/display.exp: Likewise.
1069 * gdb.base/foll-exec-mode.exp: Likewise.
1070 * gdb.base/foll-exec.exp: Likewise.
1071 * gdb.base/foll-fork.exp: Likewise.
1072 * gdb.base/foll-vfork.exp: Likewise.
1073 * gdb.base/funcargs.exp: Likewise.
1074 * gdb.base/hbreak2.exp: Likewise.
1075 * gdb.base/inferior-died.exp: Likewise.
1076 * gdb.base/interrupt.exp: Likewise.
1077 * gdb.base/multi-forks.exp: Likewise.
1078 * gdb.base/nodebug.exp: Likewise.
1079 * gdb.base/sepdebug.exp: Likewise.
1080 * gdb.base/solib1.c: Likewise.
1081 * gdb.base/step-test.exp: Likewise.
1082 * gdb.mi/non-stop.c: Likewise.
1083 * gdb.mi/pthreads.c: Likewise.
1084 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1085 * gdb.threads/pthreads.c: Likewise.
1086 * gdb.threads/staticthreads.exp: Likewise.
1087 * lib/future.exp: Likewise.
1088 * lib/gdb.exp: Likewise.
1089 * gdb.base/so-indr-cl.c: Remove.
1090 * gdb.base/so-indr-cl.exp: Likewise.
1091 * gdb.base/solib.c: Likewise.
1092 * gdb.base/solib.exp: Likewise.
1093 * gdb.base/solib2.c: Likewise.
1095 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1097 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1098 * gdb.base/call-ar-st.exp: Likewise.
1099 * gdb.base/callfuncs.exp: Likewise.
1100 * gdb.base/condbreak.exp: Likewise.
1101 * gdb.base/constvars.exp: Likewise.
1102 * gdb.base/hbreak2.exp: Likewise.
1103 * gdb.base/langs.exp: Likewise.
1104 * gdb.base/list.exp: Likewise.
1105 * gdb.base/long_long.exp: Likewise.
1106 * gdb.base/ptype.exp: Likewise.
1107 * gdb.base/scope.exp: Likewise.
1108 * gdb.base/signals.exp: Likewise.
1109 * gdb.base/so-impl-ld.exp: Likewise.
1110 * gdb.base/varargs.exp: Likewise.
1111 * gdb.base/volatile.exp: Likewise.
1112 * gdb.base/whatis.exp: Likewise.
1113 * gdb.cp/cplusfuncs.exp: Likewise.
1114 * gdb.cp/inherit.exp: Likewise.
1115 * gdb.cp/local.exp: Likewise.
1116 * gdb.cp/member-ptr.exp: Likewise.
1117 * gdb.cp/method.exp: Likewise.
1118 * gdb.cp/overload.exp: Likewise.
1119 * gdb.cp/templates.exp: Likewise.
1120 * gdb.stabs/weird.exp: Likewise.
1121 * lib/compiler.c: Likewise.
1122 * lib/compiler.cc: Likewise.
1123 * lib/cp-support.exp: Likewise.
1124 * lib/gdb.exp: Likewise.
1126 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1128 * configure.ac: Remove HP-UX case.
1129 * configure: Regenerate.
1131 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1133 * lib/gdb.exp (gdb_compile): Add function doc.
1135 2015-12-17 Pedro Alves <palves@redhat.com>
1138 * gdb.multi/info-threads.exp: New file.
1140 2015-12-15 Yao Qi <yao.qi@linaro.org>
1142 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1145 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1147 * gdb.base/history-duplicates.exp: Skip if no readline support.
1149 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1151 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1153 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1155 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1157 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1159 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1160 ctrl-C if nointerrupts target property is set.
1161 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1162 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1163 * gdb.base/paginate-bg-execution.exp: Likewise.
1164 * gdb.base/paginate-execution-startup.exp: Likewise.
1165 * gdb.base/random-signal.exp: Likewise.
1166 * gdb.base/range-stepping.exp: Likewise.
1167 * gdb.cp/annota2.exp: Likewise.
1168 * gdb.cp/annota3.exp: Likewise.
1169 * gdb.gdb/selftest.exp: Likewise.
1170 * gdb.threads/continue-pending-status.exp: Likewise.
1171 * gdb.threads/leader-exit.exp: Likewise.
1172 * gdb.threads/manythreads.exp: Likewise.
1173 * gdb.threads/pthreads.exp: Likewise.
1174 * gdb.threads/schedlock.exp: Likewise.
1175 * gdb.threads/sigthread.exp: Likewise.
1177 2015-12-11 Don Breazeal <donb@codesourcery.com>
1179 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1181 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1182 * gdb.base/foll-exec.exp (main): Enable for target remote.
1183 * gdb.base/foll-fork.exp (main): Likewise.
1184 * gdb.base/foll-vfork.exp (main): Likewise.
1185 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1186 (proc continue_to_exit_bp_loc): Use clean_restart.
1187 * gdb.base/pie-execl.exp (main): Disable for target remote.
1188 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1189 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1190 * gdb.threads/execl.exp (main): Likewise.
1191 * gdb.threads/fork-child-threads.exp (main): Likewise.
1192 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1194 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1196 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1197 pid.tid style ptids, instead of just tid.
1198 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1199 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1200 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1201 ptids, instead of just tid.
1203 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1205 * gdb.base/list.exp (test_list_forward): Add end of file error
1207 (test_repeat_list_command): Add end of file error test.
1208 (test_list_backwards): Add beginning of file error test.
1210 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1212 * gdb.base/list.exp (test_list_invalid_args): New function,
1213 defined, and called.
1215 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1217 * gdb.base/list.exp (test_list): Make test names unique.
1219 2015-12-11 Yao Qi <yao.qi@linaro.org>
1221 * gdb.base/coremaker2.c: Remove.
1223 2015-12-10 Pedro Alves <palves@redhat.com>
1225 * gdb.multi/base.exp: Remove stale "spaces" references.
1227 2015-12-10 Pedro Alves <palves@redhat.com>
1229 * gdb.multi/base.exp: Don't use nowarnings.
1230 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1231 * gdb.multi/hangout.c: Include stdio.h.
1232 * gdb.multi/hello.c: Include stdlib.h.
1233 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1234 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1235 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1237 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1239 * gdb.dwarf2/dw2-ranges-base.c: New file.
1240 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1241 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1242 support additional line table, and debug ranges generation.
1243 (Dwarf::ranges): New function, generate .debug_ranges.
1244 (Dwarf::lines): Support generating simple line table programs.
1245 (Dwarf::assemble): Initialise new namespace variables.
1247 2015-12-09 Kevin Buettner <kevinb@redhat.com>
1249 * gdb.base/async.exp (proc test_background): Add case for
1250 asynchronous execution not supported.
1252 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
1254 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1255 format and change test names to make them unique.
1257 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1258 Pedro Alves <pedro@redhat.com>
1261 Add checking of floatformats setup on x86_64 hosts.
1262 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1263 (smallval, bigval): New labels/constants.
1264 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1265 float" after loading bigval and smallval.
1267 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1269 * gdb.ada/fun_overload_menu.exp: New testcase.
1270 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1272 2015-12-04 Josh Stone <jistone@redhat.com>
1274 * gdb.base/catch-fork-static.exp: New.
1276 2015-12-03 Yao Qi <yao.qi@linaro.org>
1278 * gdb.base/sizeof.c: Don't include stdio.h and
1279 ../lib/unbuffer_output.c.
1280 (main): New variable 'size' and 'value'. Remove printf and
1281 gdb_unbuffer_output. Assign return value to size and value.
1282 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1284 (check_sizeof): Check the result by printing variable 'size'.
1285 (check_valueof): Check the result by printing variable 'value'.
1287 2015-12-01 Yao Qi <yao.qi@linaro.org>
1289 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1290 for aarch64*-*-linux* target.
1292 2015-11-30 Pedro Alves <palves@redhat.com>
1294 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1296 2015-11-30 Pedro Alves <palves@redhat.com>
1298 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1299 Handle non-stop mode vCont replies.
1301 2015-11-30 Pedro Alves <palves@redhat.com>
1303 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1304 prepare_for_testing. Start gdb with "set non-stop on" appended to
1305 GDBFLAGS. Lax expected stop output.
1307 2015-11-27 Yao Qi <yao.qi@linaro.org>
1309 * gdb.arch/arm-neon.exp: New.
1310 * gdb.arch/arm-neon.c: New.
1312 2015-11-27 Yao Qi <yao.qi@linaro.org>
1314 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1316 2015-11-27 Yao Qi <yao.qi@linaro.org>
1318 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1319 frames-invalid annotation.
1321 2015-11-27 Yao Qi <yao.qi@linaro.org>
1323 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1325 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1327 * gdb.threads/names.exp: New file.
1328 * gdb.threads/names.c: New file.
1329 * README: Mention gdb,no_thread_names.
1331 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1334 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1337 2015-11-24 Pedro Alves <palves@redhat.com>
1340 * gdb.base/display.exp: Expect displays to be sorted in ascending
1341 order. Use multi_line.
1342 * gdb.base/solib-display.exp: Likewise.
1344 2015-11-24 Pedro Alves <palves@redhat.com>
1347 * gdb.base/display.exp: Expect displays to be sorted in ascending
1348 order. Use multi_line.
1349 * gdb.base/solib-display.exp: Likewise.
1351 2015-11-24 Pedro Alves <palves@redhat.com>
1354 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1355 threads in ascending order.
1356 * gdb.base/foll-fork.exp: Likewise.
1357 * gdb.base/foll-vfork.exp: Likewise.
1358 * gdb.base/multi-forks.exp: Likewise.
1359 * gdb.mi/mi-nonstop.exp: Likewise.
1360 * gdb.mi/mi-nsintrall.exp: Likewise.
1361 * gdb.multi/base.exp: Likewise.
1362 * gdb.multi/multi-arch.exp: Likewise.
1363 * gdb.python/py-inferior.exp: Likewise.
1364 * gdb.threads/break-while-running.exp: Likewise.
1365 * gdb.threads/execl.exp: Likewise.
1366 * gdb.threads/gcore-thread.exp: Likewise.
1367 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1368 * gdb.threads/kill.exp: Likewise.
1369 * gdb.threads/linux-dp.exp: Likewise.
1370 * gdb.threads/multiple-step-overs.exp: Likewise.
1371 * gdb.threads/next-bp-other-thread.exp: Likewise.
1372 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1373 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1374 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1375 * gdb.threads/thread-find.exp: Likewise.
1376 * gdb.threads/tls.exp: Likewise.
1377 * lib/mi-support.exp (mi_reverse_list): Delete.
1378 (mi_check_thread_states): No longer reverse list.
1380 2015-11-24 Pedro Alves <palves@redhat.com>
1382 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1385 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1387 * gdb.trace/actions.c: Include trace-common.h.
1388 (main): Add a location for a fast tracepoint.
1389 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1390 the normal tracepoints.
1391 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1393 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1395 * save-trace.exp: Factor out code to these...
1396 (gdb_save_tracepoints): New.
1397 (gdb_load_tracepoints): New.
1398 (do_save_load_test): New.
1400 2015-11-23 Kevin Buettner <kevinb@redhat.com>
1402 * gdb.base/asmlabel.exp: New test.
1403 * gdb.base/asmlabel.c: New test case.
1405 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1407 * gdb.base/wrong_frame_bt_full-main.c: New file.
1408 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1409 * gdb.base/wrong_frame_bt_full.exp: New file.
1411 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1413 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1415 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1417 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
1418 pstate register when comparing registers values in
1419 sparc64-*-linux-gnu targets to avoid spurious differences.
1421 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1423 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
1425 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1427 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1428 as type argument to gdb_compile.
1429 * gdb.base/nested-subp2.exp: Likewise.
1430 * gdb.base/nested-subp3.exp: Likewise.
1432 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1434 * lib/dwarf.exp (_note): Fix left shift of negative value.
1435 * gdb.trace/trace-condition.exp: Likewise.
1437 2015-11-13 Yao Qi <yao.qi@linaro.org>
1439 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1440 comments about d10v.
1441 (test_scalar_returns): Likewise.
1442 * gdb.base/d10v.ld: Remove.
1443 * gdb.base/overlays.exp: Remove the target triplet checking for
1445 * gdb.base/structs.exp (test_struct_returns): Remove the
1446 comments about d10v.
1447 (test_struct_calls): Likewise.
1449 2015-11-13 Yao Qi <yao.qi@linaro.org>
1451 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1452 * gdb.base/gnu_vector.c: Don't include stdio.h.
1453 (main): Don't print res and call add_some_intvecs.
1455 2015-11-11 Marcin KoĆcielnicki <koriakin@0x04.net>
1457 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1460 (func4): Use FAST_TRACEPOINT_LABEL.
1461 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1464 (thread_function): Use FAST_TRACEPOINT_LABEL.
1465 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1467 (marker): Use FAST_TRACEPOINT_LABEL.
1468 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1469 (pendfunc1): Remove.
1470 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1471 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1473 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1474 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1477 (marker): Use FAST_TRACEPOINT_LABEL.
1478 * gdb.trace/trace-common.h: New header.
1479 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1482 (marker): Use FAST_TRACEPOINT_LABEL.
1483 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1485 (thread_function): Use FAST_TRACEPOINT_LABEL.
1487 2015-11-10 Marcin KoĆcielnicki <koriakin@0x04.net>
1489 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1491 * gdb.trace/change-loc.exp: Use global pcreg definition.
1492 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1493 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1495 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1496 * gdb.trace/pending.exp: Likewise.
1497 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1498 * gdb.trace/trace-break.exp: Likewise.
1499 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1501 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1502 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1504 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1506 2015-11-09 Joel Brobecker <brobecker@adacore.com>
1508 * gdb.ada/fin_fun_out: New testcase.
1510 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1512 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1513 value associated with DW_AT_byte_size.
1514 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1515 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1518 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1520 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1521 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1523 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1524 gdb.dwarf2/dw2-canonicalize-type.exp,
1525 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1526 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1527 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1528 provided by gdb_target_symbol_prefix_flags_asm.
1529 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1530 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1531 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1532 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1533 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1534 macros where needed). Use this macro for symbols which require
1535 the prefix provided by SYMBOL_PREFIX.
1537 2015-11-05 Kevin Buettner <kevinb@redhat.com>
1539 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1541 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1542 representing expressions, of more than one list element.
1543 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1544 to prepend linker symbol prefix to f.
1545 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1546 table_1 and table_2.
1547 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1548 Likewise, for f and g.
1549 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1551 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1553 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1554 table_1_ptr and table_2_ptr.
1556 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1557 Joel Brobecker <brobecker@adacore.com>
1559 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1561 2015-11-04 Marcin KoĆcielnicki <koriakin@0x04.net>
1563 * gdb.reverse/s390-mvcle.c: New test.
1564 * gdb.reverse/s390-mvcle.exp: New file.
1565 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1567 2015-11-02 Marcin KoĆcielnicki <koriakin@0x04.net>
1569 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1571 2015-11-02 Marcin KoĆcielnicki <koriakin@0x04.net>
1573 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1575 * gdb.reverse/getresuid-reverse.exp: Likewise.
1576 * gdb.reverse/pipe-reverse.exp: Likewise.
1577 * gdb.reverse/readv-reverse.exp: Likewise.
1578 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1579 * gdb.reverse/time-reverse.exp: Likewise.
1580 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1582 2015-10-30 Yao Qi <yao.qi@linaro.org>
1584 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1585 (empty_cycle): Remove.
1586 (main): Don't call empty_cycle. Don't use watch_count_done.
1587 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1588 empty_cycle. Rewrite the code counting HW watchpoints.
1590 2015-10-30 Marcin KoĆcielnicki <koriakin@0x04.net>
1592 * gdb.reverse/fstatat-reverse.c: New test.
1593 * gdb.reverse/fstatat-reverse.exp: New file.
1594 * gdb.reverse/getresuid-reverse.c: New test.
1595 * gdb.reverse/getresuid-reverse.exp: New file.
1596 * gdb.reverse/pipe-reverse.c: New test.
1597 * gdb.reverse/pipe-reverse.exp: New file.
1598 * gdb.reverse/readv-reverse.c: New test.
1599 * gdb.reverse/readv-reverse.exp: New file.
1600 * gdb.reverse/recvmsg-reverse.c: New test.
1601 * gdb.reverse/recvmsg-reverse.exp: New file.
1602 * gdb.reverse/time-reverse.c: New test.
1603 * gdb.reverse/time-reverse.exp: New file.
1604 * gdb.reverse/waitpid-reverse.c: New test.
1605 * gdb.reverse/waitpid-reverse.exp: New file.
1607 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1609 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1611 2015-10-26 Doug Evans <dje@google.com>
1614 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1615 * gdb.dwarf2/bad-regnum.c: New file.
1616 * gdb.dwarf2/bad-regnum.exp: New file.
1618 2015-10-26 Doug Evans <dje@google.com>
1621 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1624 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1626 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1627 for a change by "Mention language in compile error message".
1629 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1632 * gdb.python/py-type.c (C::a_method): New.
1633 (C::a_const_method): New.
1634 (C::a_static_method): New.
1636 * gdb.python/py-type.exp (test_fields): Test getting fields
1637 from function and method.
1639 2015-10-21 Keven Boell <keven.boell@intel.com>
1641 * gdb.fortran/vla-alloc-assoc.exp: New file.
1642 * gdb.fortran/vla-datatypes.exp: New file.
1643 * gdb.fortran/vla-datatypes.f90: New file.
1644 * gdb.fortran/vla-history.exp: New file.
1645 * gdb.fortran/vla-ptype-sub.exp: New file.
1646 * gdb.fortran/vla-ptype.exp: New file.
1647 * gdb.fortran/vla-sizeof.exp: New file.
1648 * gdb.fortran/vla-sub.f90: New file.
1649 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1650 * gdb.fortran/vla-value-sub-finish.exp: New file.
1651 * gdb.fortran/vla-value-sub.exp: New file.
1652 * gdb.fortran/vla-value.exp: New file.
1653 * gdb.fortran/vla-ptr-info.exp: New file.
1654 * gdb.mi/mi-vla-fortran.exp: New file.
1655 * gdb.mi/vla.f90: New file.
1657 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1659 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1660 of hardwired timeout value.
1662 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1663 Pedro Alves <palves@redhat.com>
1665 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1666 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1668 2015-10-19 Josh Stone <jistone@redhat.com>
1670 * gdb.base/catch-syscall.c: Include <sched.h>.
1671 (unknown_syscall): New variable.
1672 (main): Trigger a vfork and an unknown syscall.
1673 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1674 (unknown_syscall_number): Likewise.
1675 (check_call_to_syscall): Accept an optional syscall pattern.
1676 (check_return_from_syscall): Likewise.
1677 (check_continue): Likewise.
1678 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1679 (test_catch_syscall_skipping_return): New test toggling off 'catch
1680 syscall' to step over the syscall return, then toggling back on.
1681 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1682 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1683 (do_syscall_tests): Call test_catch_syscall_without_args and
1684 test_catch_syscall_mid_vfork.
1685 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1686 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1688 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
1690 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1691 print g_vE): Add new pass patterns.
1692 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1693 print various symbol names for vptr fields.
1695 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1697 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1700 2015-10-12 Yao Qi <yao.qi@linaro.org>
1702 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1704 2015-10-12 Yao Qi <yao.qi@linaro.org>
1706 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1707 is aarch64*-*-linux*.
1709 2015-10-12 Yao Qi <yao.qi@linaro.org>
1711 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1712 (can_relocate_bcond_true): ... it.
1713 (can_relocate_bcond_false): New function.
1715 (can_relocate_bl): Likewise.
1716 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1719 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1721 * gdb.base/nested-addr.c: New file.
1722 * gdb.base/nested-addr.exp: New testcase.
1724 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1726 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1727 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1728 its output. Ignore the output of "record goto begin" and instead
1729 check that GDB is replaying.
1731 2015-10-09 Pedro Alves <palves@redhat.com>
1733 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1734 (top level): Use it in the run with no args test.
1736 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1738 * gdb.dlang/properties.exp: New file.
1740 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1742 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1743 whether or not address 0x1000 is mapped on the target.
1745 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1747 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1750 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1752 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1753 instruction-history test.
1755 2015-09-28 Doug Evans <dje@google.com>
1757 * gdb.base/gcore.c (array_func): Add reference to static_array.
1759 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1761 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1764 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1766 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1767 short or char as base type.
1769 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1771 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1772 to allow any size enum.
1774 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1776 * gdb.ada/array_ptr_renaming.exp: New testcase.
1777 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1778 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1780 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1782 * gdb.trace/ftrace-lock.c: New file.
1783 * gdb.trace/ftrace-lock.exp: New file.
1785 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1787 * gdb.arch/insn-reloc.c: New file.
1788 * gdb.arch/ftrace-insn-reloc.exp: New file.
1790 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1792 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1794 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1795 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1796 * gdb.trace/range-stepping.c: Likewise.
1797 * gdb.trace/trace-break.c: Likewise.
1798 * gdb.trace/trace-mt.c (thread_function): Likewise.
1799 * gdb.trace/ftrace.c (marker): Likewise.
1800 * gdb.trace/trace-condition.c (marker): Likewise.
1801 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1802 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1805 2015-09-18 Doug Evans <xdje42@gmail.com>
1807 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1808 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1810 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1812 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1815 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1817 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1818 the pending breakpoint. Remove timeout override for "Run till
1819 MI pending breakpoint on pendfunc3 on thread 2" test.
1821 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1823 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1826 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1828 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1829 in breakpoint filename pattern.
1831 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1833 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1835 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1837 * gdb.linespec/explicit.exp: Check for readline support for
1838 tab-completion tests. Fix obvious typo.
1840 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1842 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1845 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1847 * gdb.btrace/non-stop.c: New.
1848 * gdb.btrace/non-stop.exp: New.
1850 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1851 Yao Qi <yao.qi@linaro.org>
1853 * gdb.trace/trace-condition.c: New file.
1854 * gdb.trace/trace-condition.exp: New file.
1856 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
1858 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1859 for testing bytecode compilation.
1861 2015-09-16 Pedro Alves <palves@redhat.com>
1862 Sandra Loosemore <sandra@codesourcery.com>
1864 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1865 (SECONDS): Redefine.
1866 (main): Call pthread_kill and alarm early.
1867 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1869 (test): If the target can't hardware step and doesn't support
1870 displaced stepping, increase the timeout.
1872 2015-09-16 Pedro Alves <palves@redhat.com>
1874 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1875 (enable_debug): New procedures.
1876 (test): Use them. Bail out if waiting for threads fails.
1877 (top level): Bail out if a test fails.
1879 2015-09-16 Yao Qi <yao.qi@linaro.org>
1881 * gdb.asm/asm-source.exp: Set asm-arch for
1882 aarch64*-*-* target.
1883 * gdb.asm/aarch64.inc: New file.
1885 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1887 * gdb.ada/array_of_variable_length.exp: New testcase.
1888 * gdb.ada/array_of_variable_length/foo.adb: New file.
1889 * gdb.ada/array_of_variable_length/pck.adb: New file.
1890 * gdb.ada/array_of_variable_length/pck.ads: New file.
1892 2015-09-15 Doug Evans <dje@google.com>
1894 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1895 of function static local variable.
1897 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1899 * gdb.threads/tls-so_extern.exp: New test file.
1900 * gdb.threads/tls-so_extern.c: New test file.
1901 * gdb.threads/tls-so_extern_main.c: New test file.
1903 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1905 * gdb.opt/solib-intra-step-lib.c: New file.
1906 * gdb.opt/solib-intra-step-main.c: New file.
1907 * gdb.opt/solib-intra-step.exp: New file.
1909 2015-09-15 Pedro Alves <palves@redhat.com>
1911 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1912 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1914 2015-09-14 Pedro Alves <palves@redhat.com>
1916 * gdb.base/hook-stop-continue.c: Delete.
1917 * gdb.base/hook-stop-continue.exp: Delete.
1918 * gdb.base/hook-stop-frame.c: Delete.
1919 * gdb.base/hook-stop-frame.exp: Delete.
1920 * gdb.base/hook-stop.c: New file.
1921 * gdb.base/hook-stop.exp: New file.
1923 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1925 * gdb.ada/access_to_packed_array.exp: New testcase.
1926 * gdb.ada/access_to_packed_array/foo.adb: New file.
1927 * gdb.ada/access_to_packed_array/pack.adb: New file.
1928 * gdb.ada/access_to_packed_array/pack.ads: New file.
1930 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1932 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1935 2015-09-11 Don Breazeal <donb@codesourcery.com>
1937 * gdb.base/foll-exec.c: Add copyright header. Fix
1939 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1940 (do_exec_tests): Use clean_restart in place of zap_session,
1941 and for test initialization. Fix formatting issues. Use
1942 fail in place of perror.
1943 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1944 an expect statement to match an expression with output from
1945 the program under debug.
1946 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1947 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1948 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1949 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1950 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1952 2015-09-09 Doug Evans <dje@google.com>
1954 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1956 2015-09-09 Doug Evans <dje@google.com>
1958 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1960 2015-09-09 Doug Evans <dje@google.com>
1962 * gdb.base/savedregs.exp: Fix typo.
1964 2015-09-09 Pedro Alves <palves@redhat.com>
1966 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1968 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1970 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1971 command actually switches threads. Give up on remaining
1972 tests if target fails to stop at breakpoint.
1974 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1976 * gdb.ada/funcall_char.exp: New testcase.
1977 * gdb.ada/funcall_char/foo.adb: New file.
1979 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1981 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1982 expected outputs. Add two testcases for completing ambiguous
1984 * gdb.ada/complete/aux_pck.adb: New file.
1985 * gdb.ada/complete/aux_pck.ads: New file.
1986 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1987 Ambiguous_Func functions.
1988 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1989 * gdb.ada/complete/pck.adb: Likewise.
1991 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1993 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1994 failures to run the test program under GDB.
1996 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
1998 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2001 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2003 * gdb.base/run-after-attach.exp: New test file.
2004 * gdb.base/run-after-attach.c: New test file.
2006 2015-08-26 Don Breazeal <donb@codesourcery.com>
2008 * gdb.base/foll-exec-2.c: New test program.
2009 * gdb.base/foll-exec-2.exp: New test.
2011 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2013 * gdb.base/nested-subp1.exp: New file.
2014 * gdb.base/nested-subp1.c: New file.
2015 * gdb.base/nested-subp2.exp: New file.
2016 * gdb.base/nested-subp2.c: New file.
2017 * gdb.base/nested-subp3.exp: New file.
2018 * gdb.base/nested-subp3.c: New file.
2020 2015-08-24 Pedro Alves <palves@redhat.com>
2022 * gdb.server/connect-without-multi-process.c: New file.
2023 * gdb.server/connect-without-multi-process.exp: New file.
2025 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2027 * gdb.opt/inline-markers.c: Make z int.
2029 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2031 * gdb.opt/inline-markers.c: Make z volatile.
2033 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2035 * gdb.opt/inline-bt.c: New volatile global z.
2036 * gdb.opt/inline-cmds.c: Likewise.
2037 * gdb.opt/inline-locals.c: Likewise.
2038 * gdb.opt/inline-markers.c: New extern global z.
2040 (inline_fn): Likewise.
2042 2015-08-24 Pedro Alves <palves@redhat.com>
2044 * config/m32r-stub.exp: Remove file.
2045 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2046 * gdb.base/call-rt-st.exp: Likewise.
2047 * gdb.base/call-strs.exp: Likewise.
2048 * gdb.base/default.exp: Remove references to h8300-*-hms and
2050 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2052 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2054 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2055 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2056 and "return" use KFAIL when GDB can not read/write the vector
2059 2015-08-21 Gary Benson <gbenson@redhat.com>
2061 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2063 2015-08-20 Pedro Alves <palves@redhat.com>
2065 * gdb.server/solib-list.exp: No longer expect an interior stop in
2068 2015-08-20 Pedro Alves <palves@redhat.com>
2070 * gdb.server/connect-stopped-target.c: New file.
2071 * gdb.server/connect-stopped-target.exp: New file.
2073 2015-08-20 Pedro Alves <palves@redhat.com>
2075 * gdb.dwarf2/comp-unit-lang.exp: New file.
2076 * gdb.dwarf2/comp-unit-lang.c: New file.
2078 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2080 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2081 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2083 2015-08-19 Kevin Buettner <kevinb@redhat.com>
2085 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2086 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2088 2015-08-18 Doug Evans <dje@google.com>
2089 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2091 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2092 skip_python_tests. New arg prompt_regexp.
2093 (skip_python_tests): New function.
2094 * lib/mi-support.exp (mi_skip_python_tests): New function.
2095 * gdb.python/py-mi-objfile-gdb.py: New file.
2096 * gdb.python/py-mi-objfile.c: New file.
2097 * gdb.python/py-mi-objfile.exp: New file.
2099 2015-08-17 Keith Seitz <keiths@redhat.com>
2101 * gdb.linespec/explicit.exp: Move strace test from here ...
2102 * gdb.trace/strace.exp: ... to here.
2104 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2106 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2107 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2109 2015-08-14 Doug Evans <xdje42@gmail.com>
2111 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2112 inferior before selecting a new file.
2114 2015-08-14 Doug Evans <xdje42@gmail.com>
2116 * gdb.mi/mi-disassemble.exp: Update.
2117 * gdb.base/disasm-optim.S: New file.
2118 * gdb.base/disasm-optim.c: New file.
2119 * gdb.base/disasm-optim.h: New file.
2120 * gdb.base/disasm-optim.exp: New file.
2122 2015-08-14 Keith Seitz <keiths@redhat.com>
2124 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2127 2015-08-13 Joel Brobecker <brobecker@adacore.com>
2129 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2131 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2133 * gdb.ada/fun_renaming.exp: New testcase.
2134 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2135 * gdb.ada/fun_renaming/pack.adb: New file.
2136 * gdb.ada/fun_renaming/pack.ads: New file.
2138 2015-08-12 Keith Seitz <keiths@redhat.com>
2140 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2141 gdb_get_line_number.
2143 2015-08-12 Joel Brobecker <brobecker@adacore.com>
2145 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2146 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2147 gdb.base/dso2dso.exp: New files.
2149 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2150 Pedro Alves <palves@redhat.com>
2151 Keith Seitz <keiths@redhat.com>
2153 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2156 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2158 * gdb.base/gdbhistsize-history.exp
2159 (test_histsize_history_setting): Use save_vars.
2160 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2162 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2163 * gdb.base/readline.exp: Use save_vars.
2165 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2167 * lib/gdb.exp (save_vars): New proc.
2169 2015-08-11 Keith Seitz <keiths@redhat.com>
2171 * gdb.base/help.exp: Update help_breakpoint_text.
2173 2015-08-11 Keith Seitz <keiths@redhat.com>
2175 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2176 (at toplevel): Call test_explicit_breakpoints.
2177 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2179 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2180 breakpoint conditions, "-cond".
2182 2015-08-11 Keith Seitz <keiths@redhat.com>
2184 * gdb.linespec/3explicit.c: New file.
2185 * gdb.linespec/cpexplicit.cc: New file.
2186 * gdb.linespec/cpexplicit.exp: New file.
2187 * gdb.linespec/explicit.c: New file.
2188 * gdb.linespec/explicit.exp: New file.
2189 * gdb.linespec/explicit2.c: New file.
2190 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2191 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2192 before using in the matching pattern.
2193 Clarify that `prefix' is a regular expression.
2195 2015-08-11 Keith Seitz <keiths@redhat.com>
2197 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2199 Add tests for missing ",FMT" and ",".
2201 2015-08-10 Doug Evans <dje@google.com>
2202 Keith Seitz <keiths@redhat.com>
2205 * gdb.base/completion.exp: Add location completer tests.
2207 2015-08-07 Pedro Alves <palves@redhat.com>
2209 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2211 (top level): Run do_test with and without displaced stepping.
2213 2015-08-07 Pedro Alves <palves@redhat.com>
2215 * gdb.base/valgrind-disp-step.c: New file.
2216 * gdb.base/valgrind-disp-step.exp: New file.
2218 2015-08-07 Pedro Alves <palves@redhat.com>
2220 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2222 (main): Add alarm. Run an infinite loop instead of calling
2224 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2226 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2228 (main): Add alarm. Run an infinite loop instead of calling
2230 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2233 2015-08-07 Pedro Alves <palves@redhat.com>
2235 * gdb.base/checkpoint-ns.exp: New file.
2236 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2239 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2241 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2242 * gdb.btrace/instruction_history.exp: Update.
2243 * gdb.btrace/tsx.exp: New.
2244 * gdb.btrace/tsx.c: New.
2246 2015-08-06 Pedro Alves <palves@redhat.com>
2248 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2250 * gdb.reverse/until-precsave.exp: Bump timeouts.
2252 2015-08-06 Pedro Alves <palves@redhat.com>
2254 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2256 2015-08-06 Pedro Alves <palves@redhat.com>
2259 * gdb.threads/process-dies-while-handling-bp.c: New file.
2260 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2262 2015-08-06 Pedro Alves <palves@redhat.com>
2264 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2265 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2267 2015-08-05 Pedro Alves <palves@redhat.com>
2269 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2270 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2272 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2274 * gdb.base/bp-permanent.exp: Report test as unsupported if
2275 the target cannot stop at the permanent breakpoint.
2277 2015-08-03 Doug Evans <dje@google.com>
2279 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2282 2015-08-03 Doug Evans <dje@google.com>
2284 * Makefile.in (workers/%.worker, build-perf): New rule.
2285 (GDB_PERFTEST_MODE): New variable.
2286 (check-perf): Use it.
2287 (clean): Clean up gdb.perf parallel build subdirs.
2288 * lib/build-piece.exp: New file.
2289 * lib/gdb.exp (make_gdb_parallel_path): New function
2290 (standard_output_file, standard_temp_file): Call it.
2291 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2293 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2295 2015-08-03 Doug Evans <dje@google.com>
2297 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
2298 (LOG_FILE_NAME): New global.
2299 (TextReporter.__init__): Initialize self.txt_sum.
2300 (TextReporter.report): Add support for multiple data-points.
2301 Move report to perftest.sum, put raw data in perftest.log.
2302 (TextReporter.start): Open sum and log files.
2303 (TextReporter.end): Close sum and log files.
2304 * gdb.perf/lib/perftest/testresult.py
2305 (SingleStatisticTestResult.record): Handle multiple data-points.
2307 2015-07-31 Pedro Alves <palves@redhat.com>
2309 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2310 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2311 kill_wait_spawned_process instead of explicit "kill -9".
2312 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2313 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2314 kill_wait_spawned_process.
2315 * gdb.base/attach-twice.exp: Likewise.
2316 * gdb.base/attach.exp: Likewise.
2317 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2319 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2320 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2321 kill_wait_spawned_process.
2322 * gdb.base/valgrind-infcall.exp: Likewise.
2323 * gdb.multi/multi-attach.exp: Likewise.
2324 * gdb.python/py-prompt.exp: Likewise.
2325 * gdb.python/py-sync-interp.exp: Likewise.
2326 * gdb.server/ext-attach.exp: Likewise.
2327 * gdb.threads/attach-into-signal.exp (corefunc): Use
2328 spawn_wait_for_attach, spawn_id_get_pid and
2329 kill_wait_spawned_process.
2330 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2331 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2332 spawn_id_get_pid and kill_wait_spawned_process.
2333 * gdb.threads/attach-stopped.exp (corefunc): Use
2334 spawn_wait_for_attach, spawn_id_get_pid and
2335 kill_wait_spawned_process.
2336 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2337 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2338 kill_wait_spawned_process instead of explicit "kill -9".
2339 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2340 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2341 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2342 processes. Don't map cygwin/windows pids here. Now returns a
2345 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2347 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2348 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2351 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2353 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2355 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2358 2014-05-21 Mark Wielaard <mjw@redhat.com>
2360 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2362 2015-07-30 Pedro Alves <palves@redhat.com>
2364 * linux-low.c (handle_extended_wait): Set the child's last
2365 reported status to TARGET_WAITKIND_STOPPED.
2367 2015-07-30 Pedro Alves <palves@redhat.com>
2370 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2371 only shows inferior 1.
2373 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2374 Pedro Alves <palves@redhat.com>
2377 * gdb.threads/fork-plus-threads.c: New file.
2378 * gdb.threads/fork-plus-threads.exp: New file.
2380 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2382 * gdb.base/batch-preserve-term-settings.exp
2383 (test_terminal_settings_preserved_after_cli_exit): Use
2386 2015-07-29 Pedro Alves <palves@redhat.com>
2387 Don Breazeal <donb@codesourcery.com>
2389 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2390 output from both inferior_spawn_id and gdb_spawn_id.
2392 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2394 * gdb.threads/attach-into-signal.exp (corefunc): Use
2395 with_test_prefix on nested loops, uniquefying the test messages.
2397 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2399 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2402 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2404 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2406 (test_terminal_settings_preserved_after_sigterm): New test.
2408 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2410 * gdb.base/batch-preserve-term-settings.exp
2411 (test_terminal_settings_preserved_after_cli_exit): New test.
2413 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2415 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2416 manipulation of saved_gdbflags.
2417 (test_terminal_settings_preserved): Remove global declaration of
2418 the unused variable pagination_prompt. Remove manipulation of
2419 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2422 2015-07-29 Pedro Alves <palves@redhat.com>
2424 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2426 2015-07-29 Pedro Alves <palves@redhat.com>
2428 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2431 2015-07-29 Pedro Alves <palves@redhat.com>
2433 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2434 (main): Call gdb_unbuffer_output.
2435 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2436 (main): Call gdb_unbuffer_output.
2437 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2438 (main): Call gdb_unbuffer_output.
2439 * gdb.base/call-strs.exp: Adjust to step over the
2440 gdb_unbuffer_output call.
2441 * gdb.base/catch-gdb-caused-signals.c: Include
2442 "../lib/unbuffer_output.c".
2443 (main): Call gdb_unbuffer_output.
2444 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2445 (main): Call gdb_unbuffer_output.
2446 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2447 (main): Call gdb_unbuffer_output.
2448 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2449 (main): Call gdb_unbuffer_output.
2450 * gdb.base/shlib-call.exp: Adjust to step over the
2451 gdb_unbuffer_output call.
2452 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2453 (main): Call gdb_unbuffer_output.
2454 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2455 (main): Call gdb_unbuffer_output.
2456 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2457 (main): Rename to ...
2459 (main): Reimplement.
2460 * gdb.base/varargs.exp: Run to test instead of to main.
2461 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2462 (main): Call gdb_unbuffer_output.
2464 2015-07-29 Pedro Alves <palves@redhat.com>
2466 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2467 factore out from mi_continue_dprintf. For call-style dprintfs,
2468 expect dprintf output out of $inferior_spawn_id.
2469 (mi_continue_dprintf): Use mi_expect_dprintf.
2470 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2471 (main): Call gdb_unbuffer_output.
2473 2015-07-29 Pedro Alves <palves@redhat.com>
2475 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2476 (default_mi_gdb_start): Set inferior_spawn_id instead of
2477 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2479 (mi_gdb_test): Always expect inferior output from both
2480 $inferior_spawn_id and $gdb_spawn_id.
2482 2015-07-29 Pedro Alves <palves@redhat.com>
2484 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2485 send_inferior and $inferior_spawn_id.
2487 2015-07-29 Pedro Alves <palves@redhat.com>
2489 * gdb.gdb/complaints.exp (test_initial_complaints)
2490 (test_serial_complaints, test_short_complaints): Use
2492 (test_empty_complaint): Handle $inferior_spawn_id !=
2495 2015-07-29 Pedro Alves <palves@redhat.com>
2497 * gdb.base/varargs.exp: Use gdb_test_stdio.
2499 2015-07-29 Pedro Alves <palves@redhat.com>
2501 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2503 2015-07-29 Pedro Alves <palves@redhat.com>
2505 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2507 2015-07-29 Pedro Alves <palves@redhat.com>
2509 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2510 parameter into two new parameters, "inf_result" and "gdb_result".
2511 Expect inferior output and gdb output from $inferior_spawn_id and
2512 $gdb_spawn_id, respectively. Adjust all callers.
2514 2015-07-29 Pedro Alves <palves@redhat.com>
2516 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2517 of gdb_test_sequence.
2519 2015-07-29 Pedro Alves <palves@redhat.com>
2521 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2522 (saw_spurious_output): Expect inferior output from
2523 $inferior_spawn_id. Use gdb_test_stdio.
2525 2015-07-29 Pedro Alves <palves@redhat.com>
2527 * gdb.base/dprintf.exp: Use standard_testfile. Change
2528 prepare_for_testing call.
2529 (srcfile): Don't set.
2530 (restart): New procedure.
2531 (test_dprintf): New procecure, use to continue over dprintfs.
2532 (test_call, test_agent): New procedures, tests moved here.
2533 Restart gdb and recreate dprintfs. Adjust expected output.
2535 2015-07-29 Pedro Alves <palves@redhat.com>
2537 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2539 2015-07-29 Pedro Alves <palves@redhat.com>
2541 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2543 2015-07-29 Pedro Alves <palves@redhat.com>
2545 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2548 2015-07-29 Pedro Alves <palves@redhat.com>
2550 * lib/gdb.exp (gdb_test_stdio): New procedure.
2552 2015-07-29 Pedro Alves <palves@redhat.com>
2554 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2556 2015-07-29 Pedro Alves <palves@redhat.com>
2558 * gdb.base/call-signal-resume.exp: Remove check for
2559 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2560 * gdb.base/unwindonsignal.exp: Likewise.
2561 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2562 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2564 2015-07-29 Pedro Alves <palves@redhat.com>
2566 * gdb.base/siginfo-addr.c (pass): New function.
2567 (handler): Call it iff si_addr is correct.
2568 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2569 Set a breakpoint at "pass" and continue to it.
2571 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2573 * gdb.python/py-objfile.exp: Make some tests have unique names.
2574 * gdb.python/py-pp-registration.exp: Likewise.
2576 2015-07-28 Pedro Alves <palves@redhat.com>
2578 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2580 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2582 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2584 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2586 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2588 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2590 * gdb.base/gdb-sigterm-2.exp: New test.
2592 2015-07-25 Doug Evans <xdje42@gmail.com>
2595 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2596 (workers/%.worker, build-perf): New rule.
2597 (GDB_PERFTEST_MODE): New variable.
2598 (check-perf): Use it.
2599 (clean): Clean up gdb.perf parallel build subdirs.
2600 * lib/build-piece.exp: New file.
2601 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2602 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2604 (standard_temp_file): Ditto.
2605 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2608 2015-07-24 Doug Evans <dje@google.com>
2610 * gdb.perf/lib/perftest/utils.py: New file.
2611 * gdb.perf/gm-hello.cc: New file.
2612 * gdb.perf/gm-pervasive-typedef.cc: New file.
2613 * gdb.perf/gm-pervasive-typedef.h: New file.
2614 * gdb.perf/gm-std.cc: New file.
2615 * gdb.perf/gm-std.h: New file.
2616 * gdb.perf/gm-use-cerr.cc: New file.
2617 * gdb.perf/gm-utils.h: New file.
2618 * gdb.perf/gmonster-null-lookup.py: New file.
2619 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2620 * gdb.perf/gmonster-print-cerr.py: New file.
2621 * gdb.perf/gmonster-ptype-string.py: New file.
2622 * gdb.perf/gmonster-runto-main.py: New file.
2623 * gdb.perf/gmonster-select-file.py: New file.
2624 * gdb.perf/gmonster1-null-lookup.exp: New file.
2625 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2626 * gdb.perf/gmonster1-print-cerr.exp: New file.
2627 * gdb.perf/gmonster1-ptype-string.exp: New file.
2628 * gdb.perf/gmonster1-runto-main.exp: New file.
2629 * gdb.perf/gmonster1-select-file.exp: New file.
2630 * gdb.perf/gmonster1.cc: New file.
2631 * gdb.perf/gmonster1.exp: New file.
2632 * gdb.perf/gmonster2-null-lookup.exp: New file.
2633 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2634 * gdb.perf/gmonster2-print-cerr.exp: New file.
2635 * gdb.perf/gmonster2-ptype-string.exp: New file.
2636 * gdb.perf/gmonster2-runto-main.exp: New file.
2637 * gdb.perf/gmonster2-select-file.exp: New file.
2638 * gdb.perf/gmonster2.cc: New file.
2639 * gdb.perf/gmonster2.exp: New file.
2641 2015-07-24 Doug Evans <dje@google.com>
2643 * gdb.perf/README: New file.
2644 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2645 * lib/gen-perf-test.exp: New file.
2647 2015-07-24 Doug Evans <dje@google.com>
2649 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2650 (PerfTest::startup): New function.
2651 (PerfTest::run): Return result of calling body.
2652 (PerfTest::assemble): Rewrite.
2653 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2654 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2655 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2656 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2657 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2659 2015-07-24 Doug Evans <dje@google.com>
2661 * lib/gdb.exp (clean_restart): Make executable optional.
2663 2015-07-24 Doug Evans <dje@google.com>
2665 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2666 compiler_info references.
2667 * gdb.cp/temargs.exp: Ditto.
2668 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2669 (get_compiler_info): Early exit if already computed. Set compiler_info
2670 to "unknown" if there was a problem.
2671 (test_compiler_info): Add function comment. Call get_compiler_info.
2673 2015-07-24 Doug Evans <dje@google.com>
2675 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2676 (workers/%.worker, build-perf): New rule.
2677 (GDB_PERFTEST_MODE): New variable.
2678 (check-perf): Use it.
2679 (clean): Clean up gdb.perf parallel build subdirs.
2680 * lib/build-piece.exp: New file.
2681 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2682 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2684 (standard_temp_file): Ditto.
2685 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2688 2015-07-24 Doug Evans <dje@google.com>
2690 * lib/future.exp (gdb_default_target_compile): New option
2692 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2695 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2697 * gdb.base/catch-syscall.exp: Call gdb_exit before
2700 2015-07-24 Pedro Alves <palves@redhat.com>
2702 * gdb.python/py-events.exp: Accept output between the stop event
2704 * gdb.python/py-evsignal.exp: Likewise.
2705 * gdb.python/py-evthreads.exp: Likewise.
2707 2015-07-24 Pedro Alves <palves@redhat.com>
2710 * gdb.threads/non-ldr-exit.c: New file.
2711 * gdb.threads/non-ldr-exit.exp: New file.
2713 2015-07-24 Yao Qi <yao.qi@linaro.org>
2715 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2718 2015-07-24 Yao Qi <yao.qi@linaro.org>
2720 * gdb.server/ext-restart.exp: New file.
2722 2015-07-24 Yao Qi <yao.qi@linaro.org>
2724 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2726 * gdb.server/ext-wrapper.exp: New file.
2728 2015-07-23 Doug Evans <dje@google.com>
2730 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2731 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2733 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2735 * gdb.ada/var_arr_typedef.exp: New testcase.
2736 * gdb.ada/var_arr_typedef/pack.adb: New file.
2737 * gdb.ada/var_arr_typedef/pack.ads: New file.
2738 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2740 2015-07-20 Joel Brobecker <brobecker@adacore.com>
2742 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2744 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2746 * gdb.arch/i386-biarch-core.exp: Replace istarget
2747 by "complete set gnutarget". Remove expectation for the "core-file"
2750 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2752 Revert the previous commit:
2753 Tests for validate symbol file using build-id.
2755 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2757 Tests for validate symbol file using build-id.
2758 * gdb.base/solib-mismatch-lib.c: New file.
2759 * gdb.base/solib-mismatch-libmod.c: New file.
2760 * gdb.base/solib-mismatch.c: New file.
2761 * gdb.base/solib-mismatch.exp: New file.
2763 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2765 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2767 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2768 * gdb.base/siginfo.exp: Likewise.
2769 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2771 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2773 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2775 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2777 * gdb.trace/range-stepping.exp: Check that the target supports
2780 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2782 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2784 2015-07-14 Pedro Alves <palves@redhat.com>
2786 * gdb.base/killed-outside.exp: New file.
2787 * gdb.base/killed-outside.c: New file.
2789 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2791 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2793 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2795 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2797 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2798 infcall tests instead of setting up for KFAIL.
2800 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2802 * gdb.btrace/record_goto-step.exp: New.
2804 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2807 * gdb.compile/compile.c (struct struct_type): Add volatile to
2809 * gdb.compile/compile.exp
2810 (compile code struct_object.selffield = &struct_object): Skip further
2811 struct_object tests if this one xfails.
2813 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
2816 * gdb.trace/ax.exp: Add test.
2818 2015-07-07 Yao Qi <yao.qi@linaro.org>
2820 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2821 instead of istarget "aarch64*-*-*".
2822 * gdb.arch/aarch64-fp.exp: Likewise.
2823 * gdb.base/float.exp: Likewise.
2824 * gdb.reverse/aarch64.exp: Likewise.
2825 * lib/gdb.exp (is_aarch64_target): New proc.
2827 2015-07-07 Yao Qi <yao.qi@linaro.org>
2829 * lib/gdb.exp (is_aarch32_target): New proc.
2830 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2831 instead of "istarget "arm*-*-*"".
2832 * gdb.arch/arm-disp-step.exp: Likewise.
2833 * gdb.arch/thumb-bx-pc.exp: Likewise.
2834 * gdb.arch/thumb-prologue.exp: Likewise.
2835 * gdb.arch/thumb-singlestep.exp: Likewise.
2836 * gdb.base/disp-step-syscall.exp: Likewise.
2837 * gdb.base/float.exp: Likewise.
2839 2015-07-07 Yao Qi <yao.qi@linaro.org>
2841 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2842 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2844 2015-07-07 Yao Qi <yao.qi@linaro.org>
2846 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2847 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2849 * gdb.multi/multi-arch.exp: Likewise.
2851 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2853 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2856 2015-07-07 Yao Qi <yao.qi@linaro.org>
2858 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2860 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2862 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2863 '[' and ']' characters.
2865 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2867 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2869 2015-06-29 Pedro Alves <palves@redhat.com>
2872 * gdb.threads/hand-call-new-thread.c: New file.
2873 * gdb.threads/hand-call-new-thread.c: New file.
2875 2015-06-26 Keith Seitz <keiths@redhat.com>
2876 Doug Evans <dje@google.com>
2879 * gdb.cp/var-tag-2.cc: New file.
2880 * gdb.cp/var-tag-3.cc: New file.
2881 * gdb.cp/var-tag-4.cc: New file.
2882 * gdb.cp/var-tag.cc: New file.
2883 * gdb.cp/var-tag.exp: New file.
2885 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2887 * gdb.base/history-duplicates.exp: New test.
2889 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2891 * gdb.base/completion.exp: Test the completion of the "focus"
2894 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2896 * gdb.arch/amd64-prologue-skip.S: New file.
2897 * gdb.arch/amd64-prologue-skip.exp: New file.
2899 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2901 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2902 is_address_zero_readable check.
2904 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2906 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2907 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2909 2015-06-24 Yao Qi <yao.qi@linaro.org>
2911 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2914 2015-06-24 Yao Qi <yao.qi@linaro.org>
2916 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2917 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2918 * gdb.base/siginfo-thread.exp: Likewise.
2920 2015-06-22 Yao Qi <yao.qi@linaro.org>
2922 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2924 2015-06-22 Yao Qi <yao.qi@linaro.org>
2926 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2928 (skip_hw_watchpoint_tests): Likewise.
2930 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2932 * gdb.base/gdbinit-history.exp: Test the interaction between
2933 setting GDBHISTSIZE and setting the history size via .gdbinit.
2935 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2938 * gdb.base/gdbhistsize-history.exp: New test.
2940 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2942 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2944 * gdb.base/readline.exp: Likewise.
2946 2015-06-17 Yao Qi <yao.qi@linaro.org>
2948 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2951 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2953 * gdb.base/gdbinit-history.exp: Add test case to check that
2954 an unlimited history file does not get truncated on exit.
2956 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2958 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2959 (VECTOR): New macro. Use it...
2960 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2961 ...for these typedefs.
2962 (int8, char1, int1, double1): New typedefs.
2963 (struct just_int2, struct two_int2): New structures.
2964 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2965 (add_structvecs, add_singlevecs): New functions.
2966 (main): Call add_some_intvecs twice.
2967 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2968 the compile and exit upon failure. Try compiling for the "native"
2969 architecture. Test inferior function calls with vector arguments
2970 and vector return value handling with "finish" and "return".
2972 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2974 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2975 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2977 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2979 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2981 PR breakpoints/16465
2982 * gdb.mi/mi-dprintf-pending.c: New file.
2983 * gdb.mi/mi-dprintf-pending.exp: New test.
2984 * gdb.mi/mi-dprintf-pendshr.c: New file.
2986 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2987 Mircea Gherzan <mircea.gherzan@intel.com>
2989 * gdb.arch/i386-mpx-map.c: New file.
2990 * gdb.arch/i386-mpx-map.exp: New File.
2992 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2994 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2995 * gdb.arch/i386-mpx.exp: Indentation fixed.
2997 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2999 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3000 function and improved indentation.
3001 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3002 gdb_test_multiple. Added additional tests to skip the test.
3004 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3006 * gdb.arch/i386-avx512.c: Change path in include file.
3007 * gdb.arch/i386-avx512.exp: Change include dir path
3009 * gdb.arch/i386-mpx.c: Change path in include file.
3010 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3013 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3015 * gdb.compile/compile-print.exp (compile print *vararray@3)
3016 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3018 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3020 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3021 (do not keep jit in memory): ... this.
3022 (expect 5): Change it to ...
3023 (expect no 5): ... this.
3025 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3028 * gdb.mi/mi-detach.exp: New file.
3030 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3033 * gdb.arch/amd64-tailcall-self.S: New file.
3034 * gdb.arch/amd64-tailcall-self.c: New file.
3035 * gdb.arch/amd64-tailcall-self.exp: New file.
3037 2015-05-28 Don Breazeal <donb@codesourcery.com>
3039 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3040 tests for remote targets by checking is_target_gdbserver.
3042 2015-05-27 Doug Evans <dje@google.com>
3044 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3045 * gdb.dwarf2/opaque-type-lookup.c: New file.
3046 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3048 2015-05-26 Doug Evans <dje@google.com>
3050 * gdb.cp/iostream.cc: New file.
3051 * gdb.cp/iostream.exp: New file.
3053 2015-05-26 Doug Evans <dje@google.com>
3055 * gdb.dwarf2/dw2-op-call.exp: Update.
3056 * gdb.dwarf2/dw4-sig-types.exp: Update.
3057 * gdb.dwarf2/implptr.exp: Update.
3058 * gdb.mi/mi-cmd-param-changed.exp: Update.
3060 2015-05-26 Doug Evans <dje@google.com>
3062 * gdb.python/py-lazy-string.c: New file.
3063 * gdb.python/py-lazy-string.exp: New file.
3064 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3065 (main): Update. Add estring3.
3066 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3067 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3069 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3070 Yao Qi <yao.qi@linaro.org>
3072 * gdb.reverse/aarch64.c: New.
3073 * gdb.reverse/aarch64.exp: New.
3075 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3077 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
3078 (supports_reverse): Likewise.
3080 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3082 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3083 Use with_test_prefix.
3085 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3087 * gdb.base/completion.exp: Add test for completion of layout
3090 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3092 * lib/gdb.exp (skip_tui_tests): New proc.
3093 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3095 2015-05-19 Pedro Alves <palves@redhat.com>
3097 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3098 Save the whole env array instead of just HOME. Unset HISTSIZE in
3099 the environment while testing. Restore whole environment
3102 2015-05-16 Doug Evans <xdje42@gmail.com>
3104 * gdb.guile/scm-ports.c: New file.
3105 * gdb.guile/scm-ports.exp: Add memory port tests.
3107 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3109 * gdb.compile/compile-print.c: New file.
3110 * gdb.compile/compile-print.exp: New file.
3112 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3114 * gdb.compile/compile-ops.exp: Cast param to void.
3115 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3116 (compile code struct_object.selffield = &struct_object): Add xfail.
3118 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3120 * gdb.ada/arr_enum_with_gap: New testcase.
3122 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3124 * gdb.ada/byte_packed_arr: New testcase.
3126 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3128 * gdb.ada/pckd_neg: New testcase.
3130 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3133 * gdb.base/gdbinit-history.exp: New test.
3134 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3135 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3137 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3139 * gdb.python/py-xmethods.cc: Enhance test case.
3140 * gdb.python/py-xmethods.exp: New tests.
3141 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3143 (B_indexoper): Likewise.
3144 (global_dm_list) : Add new xmethod worker functions.
3146 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3148 * gdb.base/coredump-filter.exp: Correctly unset
3149 "coredump_var_addr" array.
3151 2015-05-08 Pedro Alves <palves@redhat.com>
3153 * gdb.server/non-existing-program.exp: Unset spawn_id.
3155 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3158 * gdb.python/py-xmethods.exp: Add tests.
3160 2015-05-08 Yao Qi <yao.qi@linaro.org>
3163 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3164 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3165 function set_coredump_filter, and remove remote_exec call.
3166 Remove argument ipid. Callers update.
3167 (top level): Don't get inferior's PID.
3169 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3171 * gdb.base/watch_thread_num.exp: Skip test on targets without
3174 2015-05-06 Pedro Alves <palves@redhat.com>
3177 * gdb.server/non-existing-program.exp: New file.
3179 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3181 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3183 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3185 * gdb.ada/out_of_line_in_inlined: New testcase.
3187 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3189 * gdb.ada/var_rec_arr: New testcase.
3191 2015-04-30 Yao Qi <yao.qi@linaro.org>
3193 * gdb.base/break-idempotent.exp: If
3194 skip_hw_watchpoint_multi_tests returns true, skip the tests
3195 on "rwatch" and "awatch".
3197 2015-04-30 Yao Qi <yao.qi@linaro.org>
3199 * gdb.base/relativedebug.exp: Invoke gdb command
3200 "info sharedlibrary", and if libc.so doesn't have debug info,
3203 2015-04-29 Doug Evans <dje@google.com>
3205 * gdb.python/py-xmethods.exp: Add ptype tests.
3206 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3207 get_result_type method.
3209 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3211 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3212 the target does not support hardware watchpoints.
3214 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3216 * gdb.base/break-always.exp: Abort testing if writing to memory
3219 2015-04-28 Doug Evans <dje@google.com>
3221 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3222 * gdb.python/py-pp-registration.exp: ... here. New file.
3223 * gdb.python/py-pp-registration.c: New file.
3224 * gdb.python/py-pp-registration.py: New file.
3226 2015-04-28 Doug Evans <dje@google.com>
3228 * gdb.python/py-bad-printers.c: New file.
3229 * gdb.python/py-bad-printers.py: New file.
3230 * gdb.python/py-bad-printers.exp: New file.
3232 2015-04-28 Sasha Smundak <asmundak@google.com>
3234 * gdb.python/py-type.exp: New test.
3236 2015-04-28 Andy Wingo <wingo@igalia.com>
3238 * gdb.python/py-parameter.exp:
3239 * gdb.guile/scm-parameter.exp: Escape the path that we are
3240 matching against, as it might contain characters that are special
3241 to regular expressions.
3243 2015-04-27 Joel Brobecker <brobecker@adacore.com>
3245 * gdb.ada/rec_comp: New testcase.
3247 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3249 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3252 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3254 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3255 new tests for verilog output.
3257 2015-04-24 Yao Qi <yao.qi@linaro.org>
3259 * boards/remote-gdbserver-on-localhost.exp: New file.
3261 2015-04-23 Pedro Alves <palves@redhat.com>
3263 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3264 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3265 "end of file", remove $inferior_spawn_id from the indirect list.
3267 2015-04-23 Pedro Alves <palves@redhat.com>
3269 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3271 2015-04-23 Pedro Alves <palves@redhat.com>
3273 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3274 on $any_spawn_id instead of only on $gdb_spawn_id.
3276 2015-04-21 Pierre Muller <muller@sourceware.org>
3279 * lib/pascal.exp (gpc_compile): Add new option "class".
3280 (fpc_compile): Likewise.
3281 * gdb.pascal/case-insensitive-symbols.pas: New file.
3282 * gdb.pascal/case-insensitive-symbols.exp: New file.
3284 2015-04-20 Gary Benson <gbenson@redhat.com>
3286 * gdb.base/attach.exp: Fix three extended remote failures.
3288 2015-04-17 Gary Benson <gbenson@redhat.com>
3290 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3291 the main executable over the remote protocol.
3293 2015-04-16 Pedro Alves <palves@redhat.com>
3295 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3296 a new gdbserver if gdbserver_reconnect_p is set.
3298 2015-04-16 Pedro Alves <palves@redhat.com>
3300 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3301 is set, don't exit gdbserver.
3303 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3305 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3306 appropriate .insn, such that an older assembler can be used.
3307 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3308 the z/Architecture instruction set on 31-bit targets as well.
3310 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3312 * gdb.go/handcall.exp: Remove all logic related to the first
3313 breakpoint and rely on go_runto_main instead.
3314 * gdb.go/strings.exp: Likewise.
3315 * gdb.go/unsafe.exp: Likewise.
3316 * gdb.go/hello.exp: Likewise. Also rename the remaining
3317 breakpoint marker to "breakpoint 1".
3318 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3319 * gdb.go/strings.go: Likewise.
3320 * gdb.go/unsafe.go: Likewise.
3321 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3322 "set breakpoint 2 here" and rename the remaining breakpoint marker
3325 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3327 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3328 if itertools.imap is not present.
3329 * gdb.python/py-objfile.exp: Add parentheses.
3330 * gdb.python/py-type.exp: Same.
3331 * gdb.python/py-unwind-maint.py: Same.
3333 2015-04-15 Yao Qi <yao.qi@linaro.org>
3335 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3336 of ":$ptr_size" and set its form explicitly.
3338 2015-04-15 Pedro Alves <palves@redhat.com>
3339 Yao Qi <yao.qi@linaro.org>
3341 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3342 timeout by factor of 4.
3343 (test_regular_watch): Likewise.
3344 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3345 * gdb.reverse/sigall-reverse.exp: Likewise.
3346 * gdb.reverse/until-precsave.exp: Likewise.
3347 * lib/gdb.exp (with_timeout_factor): New proc.
3348 (gdb_expect): Move some code to ...
3349 (get_largest_timeout): ... here. New procedure.
3351 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
3353 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3355 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3357 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3358 to write to the .text section.
3360 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3362 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3363 Handle the case of targets that do not provide PID information.
3365 2015-04-13 Yao Qi <yao.qi@linaro.org>
3367 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3368 and use expect instead of gdb_expect.
3370 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3372 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3373 "coredump_var_addr" to avoid naming conflict with other testcases.
3375 2015-04-10 Pedro Alves <palves@redhat.com>
3377 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3378 gdb_test_sequence and gdb_assert.
3380 2015-04-10 Pedro Alves <palves@redhat.com>
3382 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3383 test messages that don't include the breakpoint address.
3385 2015-04-10 Yao Qi <yao.qi@linaro.org>
3387 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3388 false for some offset and width combinations which aren't
3389 supported by linux kernel.
3391 2015-04-10 Pedro Alves <palves@redhat.com>
3393 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3394 procedure, factored out from ...
3395 (top level): ... here. Add "set displaced-stepping" testing axis.
3396 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3397 parameter "displaced". Use it.
3398 (top level): Use foreach and add "set displaced-stepping" testing
3401 2015-04-10 Pedro Alves <palves@redhat.com>
3403 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3405 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3406 both the address of the instruction that triggers the watchpoint
3407 and the address of the instruction immediately after, and use
3408 those addresses for the test. Fix comment.
3410 2015-04-10 Pedro Alves <palves@redhat.com>
3412 * gdb.base/sigstep.exp (breakpoint_to_handler)
3413 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3414 Test "backtrace" in handler.
3415 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3416 (top level): Add new "displaced" test axis to
3417 breakpoint_to_handler, breakpoint_to_handler_entry and
3418 breakpoint_over_handler.
3420 2015-04-10 Pedro Alves <palves@redhat.com>
3423 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3425 2015-04-10 Yao Qi <yao.qi@linaro.org>
3427 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3428 (test_add_rn_pc): New function.
3429 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3430 (top level): Invoke test_add_rn_pc.
3432 2015-04-10 Pedro Alves <palves@redhat.com>
3435 * gdb.base/step-over-no-symbols.exp: New file.
3437 2015-04-09 Andy Wingo <wingo@igalia.com>
3439 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3440 after the Python tests.
3442 2015-04-08 Keith Seitz <keiths@redhat.com>
3445 * gdb.python/py-completion.exp: New tests for completion.
3446 * gdb.python/py-completion.py (CompleteLimit1): New class.
3447 (CompleteLimit2): Likewise.
3448 (CompleteLimit3): Likewise.
3449 (CompleteLimit4): Likewise.
3450 (CompleteLimit5): Likewise.
3451 (CompleteLimit6): Likewise.
3452 (CompleteLimit7): Likewise.
3454 2015-04-08 Pedro Alves <palves@redhat.com>
3458 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3460 (main): Install it as SIGUSR1 handler.
3461 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3462 parameter. Always use "setup" as prefix. Toggle "set
3463 displaced-stepping" off/on depending on global. Don't switch to
3465 (top level): Add displaced stepping "off/on" test axis. Update
3466 "setup" calls. Wrap each subtest with with_test_prefix. Test
3467 continuing with a queued signal in each thread.
3469 2015-04-08 Pedro Alves <palves@redhat.com>
3471 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3472 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3473 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3474 Return early if running to main fails.
3475 * gdb.trace/while-stepping.exp: Likewise.
3477 2015-04-07 Pedro Alves <palves@redhat.com>
3479 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3480 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3481 interact with inferior program.
3483 2015-04-07 Pedro Alves <palves@redhat.com>
3485 * lib/gdb.exp (inferior_spawn_id): New global.
3486 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3487 spawn id after processing the user code.
3488 (default_gdb_start): Set inferior_spawn_id.
3489 (send_inferior): New procedure.
3490 * lib/gdbserver-support.exp (gdbserver_start): Set
3492 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3494 2015-04-07 Pedro Alves <palves@redhat.com>
3496 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3497 * lib/gdbserver-support.exp (gdbserver_start): Make
3498 $server_spawn_id global.
3499 (gdbserver_start): Don't wait for gdbserver's spawn id with
3501 (close_gdbserver): New procedure.
3502 (gdb_exit): Rename the default version and reimplement.
3504 2015-04-07 Pedro Alves <palves@redhat.com>
3506 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
3507 append the substituted item, not the original item.
3509 2015-04-07 Pedro Alves <palves@redhat.com>
3511 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3514 2015-04-07 Pedro Alves <palves@redhat.com>
3516 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3517 output appearing once only.
3519 2015-04-07 Pedro Alves <palves@redhat.com>
3521 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3522 that doesn't expect anything. Return early if running to main
3525 2015-04-07 Yao Qi <yao.qi@linaro.org>
3527 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3528 (child_function): Call alarm.
3529 (main): Move call to alarm into the loop.
3530 * gdb.threads/non-stop-fair-events.exp: Build program with
3533 2015-04-06 Doug Evans <xdje42@gmail.com>
3535 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3536 Fix dest parameter to board_info.
3537 (fpc_compile): Ditto.
3538 (gdb_compile_pascal): Rename dest arg to destfile.
3540 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3542 * gdb.ada/funcall_ref.exp: New file.
3543 * gdb.ada/funcall_ref/foo.adb: New file.
3545 2015-04-02 Yao Qi <yao.qi@linaro.org>
3547 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3550 2015-04-02 Gary Benson <gbenson@redhat.com>
3552 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3554 2015-04-01 Sasha Smundak <asmundak@google.com>
3556 * gdb.python/py-unwind-maint.c: New file.
3557 * gdb.python/py-unwind-maint.exp: New test.
3558 * gdb.python/py-unwind-maint.py: New file.
3559 * gdb.python/py-unwind.c: New file.
3560 * gdb.python/py-unwind.exp: New test.
3561 * gdb.python/py-unwind.py: New test.
3563 2015-04-01 Pedro Alves <palves@redhat.com>
3565 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3566 to fail instead of non-existent $test.
3568 2015-04-01 Pedro Alves <palves@redhat.com>
3570 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3571 GDBFLAGS if not empty.
3573 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3575 * gdb.ada/complete.exp: Remove "multi_line".
3576 * gdb.ada/info_exc.exp: Remove "multi_line".
3577 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3578 * gdb.ada/ptype_field.exp: Remove "multi_line".
3579 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3580 * gdb.ada/tagged.exp: Remove "multi_line".
3581 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3583 * gdb.btrace/delta.exp: Likewise.
3584 * gdb.btrace/exception.exp: Likewise.
3585 * gdb.btrace/function_call_history.exp: Likewise.
3586 * gdb.btrace/instruction_history.exp: Likewise.
3587 * gdb.btrace/nohist.exp: Likewise.
3588 * gdb.btrace/record_goto.exp: Likewise.
3589 * gdb.btrace/segv.exp: Likewise.
3590 * gdb.btrace/stepi.exp: Likewise.
3591 * gdb.btrace/tailcall.exp: Likewise.
3592 * gdb.btrace/unknown_functions.exp: Likewise.
3593 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3594 * lib/gdb.exp: Add the "multi_line" helper.
3596 2015-04-01 Pedro Alves <palves@redhat.com>
3598 * gdb.threads/tid-reuse.c: New file.
3599 * gdb.threads/tid-reuse.exp: New file.
3601 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3604 * gdb.base/coredump-filter.c: New file.
3605 * gdb.base/coredump-filter.exp: Likewise.
3607 2015-03-27 Petr Machata <pmachata@redhat.com>
3609 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3610 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3611 (Dwarf::assemble): Initialize them.
3612 (Dwarf::lines): New function.
3614 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3616 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3617 SYMBOL_PREFIX for x86_64-*-cygwin.
3619 2015-03-26 Andy Wingo <wingo@igalia.com>
3622 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3623 const_value but not a location.
3624 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3625 location defined in non-main CUs are visible.
3627 2015-03-26 Yao Qi <yao.qi@linaro.org>
3630 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3631 Add a line number entry for the same line.
3632 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3633 Add a line number entry for the same line.
3635 2015-03-26 Yao Qi <yao.qi@linaro.org>
3637 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3639 (func): Likewise. Add .Lfunc_1 label.
3641 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3646 2015-03-26 Yao Qi <yao.qi@linaro.org>
3648 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3649 Call gdb_compile instead to compile each .s files without debug
3652 2015-03-26 Yao Qi <yao.qi@linaro.org>
3654 * gdb.base/savedregs.exp (process_saved_regs): Make
3655 "Saved registers:" optional in the pattern.
3657 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3659 * gdb.btrace/next.exp: Merged into step.exp.
3660 * gdb.btrace/finish.exp: Merged into step.exp.
3661 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3662 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3663 "record goto" and checking the exact replay position.
3664 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3665 check for "Recording format" in "info record" output.
3666 * gdb.btrace/record_goto.exp: Choose test file based on target.
3667 * gdb.btrace/x86-record_goto.S: Renamed into ...
3668 * gdb.btrace/x86_64-record_goto.S: ... this.
3669 * gdb.btrace/i686-record_goto.S: New.
3670 * gdb.btrace/x86-tailcall.S: Renamed into ...
3671 * gdb.btrace/x86_64-tailcall.S: ... this.
3672 * gdb.btrace/i686-tailcall.S: New.
3673 * gdb.btrace/x86-tailcall.c: Renamed into ...
3674 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3675 separate statements. Update test.
3676 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3677 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3678 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3679 * gdb.btrace/tailcall.exp: Choose test file based on target.
3680 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3682 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3684 * gdb.btrace/exception.exp: Increase BTS buffer size.
3686 2015-03-24 Pedro Alves <palves@redhat.com>
3688 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3690 2015-03-24 Pedro Alves <palves@redhat.com>
3692 * gdb.threads/schedlock.exp (test_step): No longer expect that
3693 "set scheduler-locking step" with "next" over a function call runs
3696 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3698 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3700 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3702 PR breakpoints/16466
3703 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3704 * gdb.mi/mi-pending.c (thread_func): New function.
3705 (int main): Add threading support required.
3706 * gdb.mi/mi-pending.exp: Add tests for this issue.
3707 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3708 (pendfunc2): Remove stdio dependency.
3709 * gdb.mi/mi-pendshr2.c: New file.
3711 2015-03-23 Keith Seitz <keiths@redhat.com>
3713 * gdb.linespec/keywords.c: New file.
3714 * gdb.linespec/keywords.exp: New file.
3716 2015-03-23 Keith Seitz <keiths@redhat.com>
3719 * gdb.dwarf2/staticvirtual.exp: New test.
3721 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3723 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3724 * README: Remove HP-UX and gdb.hp.
3726 * configure: Regenerate.
3727 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3728 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3729 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3730 gdb.hp/gdb.defects/Makefile.
3731 * gdb.hp/Makefile.in: File deleted.
3732 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3733 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3734 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3735 * gdb.hp/gdb.aCC/run.c: File deleted.
3736 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3737 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3738 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3739 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3740 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3741 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3742 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3743 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3744 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3745 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3746 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3747 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3748 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3749 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3750 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3751 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3752 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3753 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3754 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3755 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3756 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3757 * gdb.hp/gdb.compat/average.c: File deleted.
3758 * gdb.hp/gdb.compat/sum.c: File deleted.
3759 * gdb.hp/gdb.compat/xdb.c: File deleted.
3760 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3761 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3762 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3763 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3764 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3765 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3766 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3767 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3768 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3769 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3770 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3771 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3772 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3773 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3774 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3775 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3776 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3777 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3778 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3779 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3780 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3781 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3782 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3783 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3784 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3785 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3786 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3787 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3788 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3789 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3790 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3791 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3792 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3793 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3794 * gdb.hp/tools/odump: File deleted.
3796 2015-03-19 Pedro Alves <palves@redhat.com>
3798 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3799 (saw_thread_3): New globals.
3800 (top level): Increment them when an event for the corresponding
3802 (no thread starvation): New test.
3804 2015-03-19 Pedro Alves <palves@redhat.com>
3806 * gdb.threads/continue-pending-status.c: New file.
3807 * gdb.threads/continue-pending-status.exp: New file.
3809 2015-03-18 Pedro Alves <palves@redhat.com>
3811 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3812 Use gdb_is_target_remote instead of is_remote. Use
3813 gdb_test_multiple instead of gdb_expect. Exit early if
3814 gdb_test_multiple hits its internal matches. Tighten stepi tests
3815 expected output. Fail on exit with any signal, instead of just
3818 2015-03-18 Yao Qi <yao.qi@linaro.org>
3821 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3823 * gdb.base/catch-syscall.exp: Don't skip it on
3824 aarch64*-*-linux* target. Remove elements in all_syscalls.
3825 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3827 (setup_all_syscalls): New proc.
3829 2015-03-16 Yao Qi <yao.qi@linaro.org>
3831 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3832 (top level): Skip tests if valid_addr_p returns false for
3835 2015-03-11 Andy Wingo <wingo@igalia.com>
3837 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3839 2015-03-11 Yao Qi <yao.qi@linaro.org>
3841 * gdb.base/catch-syscall.exp: Fix typo in comments.
3843 2015-03-11 Yao Qi <yao.qi@linaro.org>
3845 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3847 2015-03-09 Pedro Alves <palves@redhat.com>
3849 * dg-extract-results.py: Delete.
3851 2015-03-09 Pedro Alves <palves@redhat.com>
3853 Merge dg-extract-results.sh from GCC upstream (r218843).
3855 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3856 * dg-extract-results.sh: Use --text with grep to avoid issues with
3857 binary files. Fall back to cat -v, if that doesn't work.
3859 2015-03-05 Pedro Alves <palves@redhat.com>
3861 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3863 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3865 * lib/mi-support.exp (mi_expect_interrupt): Accept
3866 alternative event for when in all-stop mode.
3868 2015-03-04 Pedro Alves <palves@redhat.com>
3870 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3872 2015-03-04 Mark Kettenis <kettenis@gnu.org>
3874 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3876 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3878 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3879 regexps for GDB's current line display, accept a hex address
3880 preceding the line number.
3882 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3884 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3885 the 'arch1' variable for "s390*-linux*" targets.
3887 2015-03-04 Pedro Alves <palves@redhat.com>
3889 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3890 (main): Pass missing retval argument to pthread_join call.
3892 2015-03-02 Pedro Alves <palves@redhat.com>
3894 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3895 (top level): Call do_test with non-stop as well.
3897 2015-03-02 Pedro Alves <palves@redhat.com>
3899 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3902 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3904 * gdb.arch/s390-vregs.exp: New test.
3905 * gdb.arch/s390-vregs.S: New file.
3907 2015-02-27 Pedro Alves <palves@redhat.com>
3909 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3910 call to catch_command_errors.
3911 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3912 catch_command_errors.
3914 2015-02-27 Pedro Alves <palves@redhat.com>
3916 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3917 "true" for boolean result.
3918 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3921 2015-02-27 Pedro Alves <palves@redhat.com>
3923 * lib/unbuffer_output.c: New file.
3924 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3925 (main): Call gdb_unbuffer_output.
3927 2015-02-27 Yao Qi <yao.qi@linaro.org>
3929 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3932 2015-02-26 Doug Evans <dje@google.com>
3934 * gdb.cp/class2.cc (Dbase, D): New classes.
3935 (main): New local delta.
3936 * gdb.cp/class2.exp: Test printing delta.
3937 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3938 (dynbar): New global.
3939 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3941 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3943 * gdb.compile/compile-ifunc.c: New file.
3944 * gdb.compile/compile-ifunc.exp: New file.
3946 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3948 * gdb.base/structs.exp: Check for correct struct on finish.
3950 2015-02-26 Yao Qi <yao.qi@linaro.org>
3952 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3955 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3957 * gdb.arch/cordic.ko.bz2: New file.
3958 * gdb.arch/cordic.ko.debug.bz2: New file.
3959 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3961 2015-02-25 Yao Qi <yao.qi@linaro.org>
3963 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3964 aarch64*-*-* target.
3966 2015-02-23 Pedro Alves <palves@redhat.com>
3968 * lib/gdb.exp (delete_breakpoints): Rewrite using
3971 2015-02-23 Pedro Alves <palves@redhat.com>
3973 * gdb.base/info-os.c: Include stdlib.h.
3975 2015-02-22 Doug Evans <xdje42@gmail.com>
3978 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3979 is read after symbols have been re-read.
3980 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3981 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3983 2015-02-21 Doug Evans <dje@google.com>
3985 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3987 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3990 * gdb.arch/i386-biarch-core.core.bz2: New file.
3991 * gdb.arch/i386-biarch-core.exp: New file.
3993 2015-02-21 Pedro Alves <palves@redhat.com>
3995 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3998 2015-02-20 Pedro Alves <palves@redhat.com>
4000 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4003 2015-02-20 Pedro Alves <palves@redhat.com>
4005 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4007 2015-02-20 Pedro Alves <palves@redhat.com>
4009 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4010 clean_restart before gdb_target_supports_trace.
4012 2015-02-20 Pedro Alves <palves@redhat.com>
4015 * gdb.threads/clone-thread_db.c: New file.
4016 * gdb.threads/clone-thread_db.exp: New file.
4018 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4020 PR breakpoints/16812
4021 * gdb.base/catch-gdb-caused-signals.c: New file.
4022 * gdb.base/catch-gdb-caused-signals.exp: New file.
4024 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4026 * configure: Regenerated.
4027 * configure.ac: Use GDB_AC_TRANSFORM.
4028 * aclocal.m4: sinclude ../transform.m4.
4030 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4032 * lib/dtrace.exp: New file.
4033 * gdb.base/dtrace-probe.exp: Likewise.
4034 * gdb.base/dtrace-probe.d: Likewise.
4035 * gdb.base/dtrace-probe.c: Likewise.
4036 * lib/pdtrace.in: Likewise.
4037 * configure.ac: Output variables with the transformed names of
4038 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4039 * configure: Regenerated.
4041 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4043 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4044 expected message when trying to access $_probe_* convenience
4045 variables while not on a probe.
4047 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4049 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4051 2015-02-11 Pedro Alves <pedro@codesourcery.com>
4053 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4054 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4056 2015-02-10 Doug Evans <xdje42@gmail.com>
4058 * lib/gdb.exp (gdb_load): Always return a result.
4060 2015-02-10 Pedro Alves <palves@redhat.com>
4062 * gdb.threads/signal-sigtrap.c: New file.
4063 * gdb.threads/signal-sigtrap.exp: New file.
4065 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4067 * gdb.trace/no-attach-trace.c: New file.
4068 * gdb.trace/no-attach-trace.exp: New file.
4070 2015-02-09 Mark Wielaard <mjw@redhat.com>
4072 * gdb.dwarf2/atomic.c: New file.
4073 * gdb.dwarf2/atomic-type.exp: Likewise.
4075 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4077 * gdb.btrace/buffer-size.exp: Update "info record" output.
4078 * gdb.btrace/delta.exp: Update "info record" output.
4079 * gdb.btrace/enable.exp: Update "info record" output.
4080 * gdb.btrace/finish.exp: Update "info record" output.
4081 * gdb.btrace/instruction_history.exp: Update "info record" output.
4082 * gdb.btrace/next.exp: Update "info record" output.
4083 * gdb.btrace/nexti.exp: Update "info record" output.
4084 * gdb.btrace/step.exp: Update "info record" output.
4085 * gdb.btrace/stepi.exp: Update "info record" output.
4086 * gdb.btrace/nohist.exp: Update "info record" output.
4088 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4090 * gdb.btrace/buffer-size: New.
4092 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4094 * gdb.btrace/delta.exp: Update "info record" output.
4095 * gdb.btrace/enable.exp: Update "info record" output.
4096 * gdb.btrace/finish.exp: Update "info record" output.
4097 * gdb.btrace/instruction_history.exp: Update "info record" output.
4098 * gdb.btrace/next.exp: Update "info record" output.
4099 * gdb.btrace/nexti.exp: Update "info record" output.
4100 * gdb.btrace/step.exp: Update "info record" output.
4101 * gdb.btrace/stepi.exp: Update "info record" output.
4102 * gdb.btrace/nohist.exp: Update "info record" output.
4104 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4107 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4109 2015-02-06 Pedro Alves <palves@redhat.com>
4111 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4113 (seconds_left, again): New globals.
4114 (main): Wait seconds_left in a 1-second sleep loop instead of
4115 sleeping 180 seconds. If 'again' is set, reset the seconds
4117 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4118 'again' in the inferior before detaching. Print the seconds left.
4119 (options): New global.
4120 (top level): Build program with -DTIMEOUT=$timeout.
4122 2015-02-06 Pedro Alves <palves@redhat.com>
4124 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4125 determine how many seconds to pass to 'alarm'.
4126 * gdb.base/gdb-sigterm.exp (top level): Build program with
4128 (do_test): Return success/failure indication. Add more verbose
4129 logging. Don't fail if 200 single steps are seen. Instead, fail
4130 when the test times out.
4131 (passes): New global.
4132 (top level): Break the testing loop if testing fails on any
4133 iteration. Use gdb_assert.
4135 2015-02-04 Don Breazeal <donb@codesourcery.com>
4137 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4138 and initialize them.
4139 (ipc_cleanup): New function.
4140 (main): Don't declare shmid, semid, and msqid. Add a call to
4141 atexit so that we call ipc_cleanup on exit.
4143 2015-02-04 Pedro Alves <palves@redhat.com>
4145 * boards/native-extended-gdbserver.exp: Remove any target variant
4146 specifications from the board name before clearing the isremote
4147 flag from board_info.
4149 2015-01-31 Doug Evans <xdje42@gmail.com>
4151 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4153 2015-01-31 Gary Benson <gbenson@redhat.com>
4155 * gdb.base/completion.exp: Disable completion limiting for
4156 existing tests. Add new tests to check completion limiting.
4157 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4159 2015-01-31 Doug Evans <xdje42@gmail.com>
4161 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4163 2015-01-31 Doug Evans <xdje42@gmail.com>
4165 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4166 entries. Duplicate file section script entries.
4167 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4168 inlined entries. Add test for safe-path rejection.
4169 * gdb.python/py-section-script.c: Add duplicate inlined section script
4170 entries. Duplicate file section script entries.
4171 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4172 inlined entries. Add test for safe-path rejection.
4174 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4176 * gdb.ada/disc_arr_bound: New testcase.
4178 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4180 * gdb.ada/mi_var_array: New testcase.
4182 2015-01-27 Doug Evans <dje@google.com>
4184 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4185 Add test for objfile.filename, objfile.username after objfile
4188 2015-01-26 Joel Brobecker <brobecker@adacore.com>
4190 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4191 the second test to print the name attribute of value
4192 returned by the call to gdb.lookup_type, and adjust
4193 the expected output accordingly.
4195 2015-01-25 Mark Wielaard <mjw@redhat.com>
4197 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4198 * gdb.base/disp-step-fork.c: Include unistd.h.
4199 * gdb.base/siginfo-obj.c: Include stdio.h.
4200 * gdb.base/siginfo-thread.c: Likewise.
4201 * gdb.mi/non-stop.c: Include unistd.h.
4202 * gdb.mi/nsthrexec.c: Include stdio.h.
4203 * gdb.mi/pthreads.c: Include unistd.h.
4204 * gdb.modula2/unbounded1.c (main): Declare returns int.
4205 * gdb.reverse/consecutive-reverse.c: Likewise.
4206 * gdb.threads/create-fail.c: Include unistd.h.
4207 * gdb.threads/killed.c: Likewise.
4208 * gdb.threads/linux-dp.c: Likewise.
4209 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4210 * gdb.threads/non-ldr-exc-2.c: Likewise.
4211 * gdb.threads/non-ldr-exc-3.c: Likewise.
4212 * gdb.threads/non-ldr-exc-4.c: Likewise.
4213 * gdb.threads/pthreads.c: Include unistd.h.
4214 (main): Declare returns int.
4215 * gdb.threads/tls-main.c (foo): New declaration.
4216 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4218 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4220 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4221 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4223 2015-01-15 Mark Wielaard <mjw@redhat.com>
4225 * gdb.base/noreturn-return.c: New file.
4226 * gdb.base/noreturn-return.exp: New file.
4227 * gdb.base/noreturn-finish.c: New file.
4228 * gdb.base/noreturn-finish.exp: New file.
4230 2015-01-23 Pedro Alves <palves@redhat.com>
4232 * gdb.threads/continue-pending-after-query.c: New file.
4233 * gdb.threads/continue-pending-after-query.exp: New file.
4235 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4236 Simon Marchi <simon.marchi@ericsson.com>
4238 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4239 * gdb.base/valgrind-db-attach.exp: Same.
4240 * gdb.base/valgrind-infcall.exp: Same.
4241 * lib/mi-support.exp (default_mi_gdb_start): Same.
4242 * lib/prompt.exp (default_prompt_gdb_start): Same.
4243 * lib/gdb.exp (default_gdb_spawn): Same.
4244 (gdb_interact): New.
4247 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4249 * gdb.compile/compile.exp (pointer to jit function): New test.
4251 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
4253 * lib/gdb.exp (supports_process_record): Return true for
4255 (supports_reverse): Likewise.
4257 2015-01-15 Don Breazeal <donb@codesourcery.com>
4259 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4260 instead of checking whether the target board is remote and
4261 use spawn_wait_for_attach instead of exec/sleep.
4262 * gdb.base/attach-twice.exp: Likewise.
4264 2015-01-15 Joel Brobecker <brobecker@adacore.com>
4266 * gdb.ada/var_arr_attrs: New testcase.
4268 2015-01-14 Pedro Alves <palves@redhat.com>
4269 Joel Brobecker <brobecker@adacore.com>
4272 * gdb.base/bp-cmds-execution-x-script.c: New file.
4273 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4274 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4276 2015-01-14 Pedro Alves <palves@redhat.com>
4279 * gdb.base/batch-preserve-term-settings.c: New file.
4280 * gdb.base/batch-preserve-term-settings.exp: New file.
4282 2015-01-13 Doug Evans <dje@google.com>
4284 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4287 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4289 * Makefile.in (clean mostlyclean): Do not delete *.py.
4291 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4293 * gdb.python/py-lookup-type.exp: New file.
4295 2015-01-12 Pedro Alves <palves@redhat.com>
4297 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4298 restore GDBFLAGS before returning.
4300 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4302 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4303 is_amd64_regs_target and is_x86_like_target.
4305 2015-01-11 Doug Evans <xdje42@gmail.com>
4307 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4308 is given without an explicit form.
4309 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4311 * gdb.dwarf/corrupt.exp: Ditto.
4312 * gdb.dwarf2/enum-type.exp: Ditto.
4313 * gdb.trace/entry-values.exp: Ditto.
4314 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4316 2015-01-11 Doug Evans <xdje42@gmail.com>
4319 * gdb.base/maint.exp: Remove references to "maint demangle".
4320 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4321 Add tests for explicitly specifying language to demangle.
4322 * gdb.dlang/demangle.exp: Ditto.
4324 2015-01-09 Pedro Alves <palves@redhat.com>
4326 * gdb.threads/non-stop-fair-events.c: New file.
4327 * gdb.threads/non-stop-fair-events.exp: New file.
4329 2015-01-09 Pedro Alves <palves@redhat.com>
4331 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4332 the global scope. Set a breakpoint after all threads are started
4333 rather than stepping over two source lines. Expect the prompt.
4334 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4337 (main): Use threads_started_barrier to wait for all threads to
4338 start. Main thread no longer calls thread_function. Exit after
4340 (loop): New function.
4341 (thread_function): Wait on threads_started_barrier barrier. Call
4342 'loop' at each iteration.
4343 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4344 threads have started, instead of hardcoding number of "next"
4345 steps. Use an access watchpoint instead of a write watchpoint.
4347 2015-01-09 Pedro Alves <palves@redhat.com>
4349 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4350 (thread_func): Wait on barrier.
4351 (main): Wait for all threads to start before stopping GDB.
4352 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4354 (thread1_func, thread2_func): Wait on barrier.
4355 (main): Wait for all threads to start before stopping GDB.
4356 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4358 (thread1_func, thread2_func): Wait on barrier.
4359 (main): Wait for all threads to start before stopping GDB.
4361 2015-01-09 Pedro Alves <palves@redhat.com>
4363 * gdb.threads/attach-many-short-lived-threads.c: New file.
4364 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4366 2014-01-09 Pedro Alves <palves@redhat.com>
4368 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4369 instead of to thread 2.
4370 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4371 Add barrier around each pthread_create call instead of around all
4373 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4374 Set a break on thread_function and have the child threads hit it
4377 2015-01-09 Pedro Alves <palves@redhat.com>
4379 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4380 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4382 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4383 checking whether the target board is remote.
4384 * gdb.multi/multi-attach.exp: Likewise.
4385 * gdb.python/py-sync-interp.exp: Likewise.
4386 * gdb.server/ext-attach.exp: Likewise.
4387 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4388 tests that need to attach, instead of checking whether the target
4389 board is remote at the top of the file.
4391 2015-01-08 Yao Qi <yao@codesourcery.com>
4393 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4395 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4397 Fix testcase compilation.
4398 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4400 2015-01-06 Joel Brobecker <brobecker@adacore.com>
4402 * gdb.python/py-type.exp: Add a couple test about empty
4403 array creation, and negative-length array creation.
4405 2015-01-02 Doug Evans <xdje42@gmail.com>
4407 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4409 2015-01-02 Doug Evans <dje@google.com>
4411 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4413 2014-12-29 Yao Qi <yao@codesourcery.com>
4415 * gdb.trace/entry-values.exp: Update comments. Rename variable
4416 bar_call_foo to returned_from_foo.
4418 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4421 * gdb.linespec/break-asm-file.c: New file.
4422 * gdb.linespec/break-asm-file.exp: New file.
4423 * gdb.linespec/break-asm-file0.s: New file.
4424 * gdb.linespec/break-asm-file1.s: New file.
4426 2014-12-18 Nigel Stephens <nigel@mips.com>
4427 Maciej W. Rozycki <macro@codesourcery.com>
4429 * gdb.base/float.exp: Handle the new output from "info float" on
4432 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4434 Fix MinGW compilation.
4435 * gdb.compile/compile-ops.exp: Update untested message if
4436 !skip_compile_feature_tests.
4437 * gdb.compile/compile-setjmp.exp: Likewise.
4438 * gdb.compile/compile-tls.exp: Likewise.
4439 * gdb.compile/compile.exp: Likewise.
4440 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4441 supported on this host".
4443 2014-12-16 Doug Evans <xdje42@gmail.com>
4445 * boards/stabs.exp: New file.
4447 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4449 * gdb.base/completion.exp: Adjust to format changes of "maint
4450 print user-registers".
4452 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
4455 * gdb.arch/aarch64-fp.c: New file.
4456 * gdb.arch/aarch64-fp.exp: New file.
4458 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4460 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4461 r210637, r210913, r211666, r215400, r215817).
4463 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4464 * dg-extract-results.py: New file.
4465 * dg-extract-results.sh: Use it if the environment seems
4468 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4470 * dg-extract-results.py (parse_run): Handle warnings that
4471 are printed before a test harness is run.
4473 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4475 * dg-extract-results.py (Named): Remove __cmp__ method.
4476 (output_variation): Use a key to sort variation.harnesses.
4478 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4480 * dg-extract-results.py: For Python 3, force sys.stdout to
4481 handle surrogate escape sequences.
4482 (safe_open): New function.
4483 (output_segment, main): Use it.
4485 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4487 * dg-extract-results.py (Prog.result_re): Include options
4490 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4492 * dg-extract-results.py (output_variation): Always sort if
4495 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4497 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4498 as long as we get pagination notifications.
4500 2014-12-15 Jason Merrill <jason@redhat.com>
4502 * Makefile.in (check-gdb.%): Restore.
4503 * README: Mention it.
4505 2014-12-13 Joel Brobecker <brobecker@adacore.com>
4507 * gdb.ada/str_uninit: New testcase.
4509 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4512 * gdb.base/vla-stub-define.c: New file.
4513 * gdb.base/vla-stub.c: New file.
4514 * gdb.base/vla-stub.exp: New file.
4516 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4517 Jan Kratochvil <jan.kratochvil@redhat.com>
4518 Tom Tromey <tromey@redhat.com>
4520 * configure.ac: Add gdb.compile/.
4521 * configure: Regenerate.
4522 * gdb.compile/Makefile.in: New file.
4523 * gdb.compile/compile-ops.exp: New file.
4524 * gdb.compile/compile-ops.c: New file.
4525 * gdb.compile/compile-tls.c: New file.
4526 * gdb.compile/compile-tls.exp: New file.
4527 * gdb.compile/compile-constvar.S: New file.
4528 * gdb.compile/compile-constvar.c: New file.
4529 * gdb.compile/compile-mod.c: New file.
4530 * gdb.compile/compile-nodebug.c: New file.
4531 * gdb.compile/compile-setjmp-mod.c: New file.
4532 * gdb.compile/compile-setjmp.c: New file.
4533 * gdb.compile/compile-setjmp.exp: New file.
4534 * gdb.compile/compile-shlib.c: New file.
4535 * gdb.compile/compile.c: New file.
4536 * gdb.compile/compile.exp: New file.
4537 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4539 2014-12-12 Tom Tromey <tromey@redhat.com>
4541 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4542 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4544 2014-12-12 Doug Evans <dje@google.com>
4546 * lib/gdb-python.exp (get_python_valueof): New function.
4547 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4549 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4551 * gdb.base/completion.exp: Add test for completion of "info
4554 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4556 * gdb.base/func-ptrs.c: New file.
4557 * gdb.base/func-ptrs.exp: New file.
4559 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4561 PR breakpoints/17012
4562 * gdb.base/dprintf-detach.c: New file.
4563 * gdb.base/dprintf-detach.exp: New file.
4565 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4567 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4568 * lib/gdb.exp (target_is_gdbserver): New procedure.
4570 2014-12-08 Doug Evans <dje@google.com>
4572 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4574 2014-12-05 Yao Qi <yao@codesourcery.com>
4576 * gdb.guile/scm-error.exp: Remove the third argument to
4577 gdb_remote_download.
4578 * gdb.guile/scm-frame-args.exp: Likewise.
4579 * gdb.guile/scm-section-script.exp: Likewise.
4581 2014-12-05 Yao Qi <yao@codesourcery.com>
4583 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4585 2014-12-04 Doug Evans <dje@google.com>
4587 * gdb.python/py-objfile.exp: Add tests for
4588 objfile.add_separate_debug_file.
4590 2014-12-04 Doug Evans <dje@google.com>
4592 * lib/gdb.exp (get_build_id): New function.
4593 (build_id_debug_filename_get): Rewrite to use it.
4594 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4596 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4598 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4599 `method(long)', not just 0x0.
4600 * gdb.cp/nsalias.exp: Align code labels to 4.
4601 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4602 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4603 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4604 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4605 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4606 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4608 2014-12-02 Doug Evans <dje@google.com>
4611 * gdb.cp/anon-ns.cc: Move guts of this file to ...
4612 * gdb.cp/anon-ns2.cc: ... here. New file.
4613 * gdb.cp/anon-ns.exp: Update.
4615 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
4617 * gdb.python/py-events.py (inferior_call_handler): New.
4618 (register_changed_handler, memory_changed_handler): New.
4619 (test_events.invoke): Register new handlers.
4620 * gdb.python/py-events.exp: Add tests for inferior call,
4621 memory_changed and register_changed events.
4623 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4625 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4626 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4627 if the linker doesn't understand this.
4629 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4631 * gdb.python/python.exp: Change expected reply to help().
4633 2014-12-01 Yao Qi <yao@codesourcery.com>
4635 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4636 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4637 * configure: Re-generated.
4639 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4641 * gdb.cp/chained-calls.cc: New file.
4642 * gdb.cp/chained-calls.exp: New file.
4643 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4645 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4647 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4648 * gdb.dwarf2/symtab-producer.exp: Same.
4649 * gdb.gdb/python-interrupts.exp: Same.
4650 * gdb.gdb/python-selftest.exp: Same.
4651 * gdb.python/py-linetable.exp: Same.
4652 * gdb.python/py-type.exp: Same.
4653 * gdb.python/py-value-cc.exp: Same.
4654 * gdb.python/py-value.exp: Same.
4656 2014-11-28 Yao Qi <yao@codesourcery.com>
4658 * gdb.base/break-probes.exp: Match library name prefixed with
4661 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4663 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4664 test expected output. Add parentheses for the call to print.
4665 Remove L suffix from integers.
4667 2014-11-26 Doug Evans <dje@google.com>
4669 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4671 2014-11-22 Yao Qi <yao@codesourcery.com>
4673 * gdb.trace/entry-values.c: Remove asms.
4674 (foo): Add foo_label.
4675 (bar): Add bar_label.
4676 * gdb.trace/entry-values.exp: Remove code computing foo's
4677 length and bar's length.
4678 (Dwarf::assemble): Invoke function_range for bar and use
4679 MACRO_AT_func for foo.
4681 2014-11-22 Yao Qi <yao@codesourcery.com>
4683 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4684 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4685 Use .Lgcc43_procstart instead of gcc43.
4687 2014-11-21 Joel Brobecker <brobecker@adacore.com>
4689 * gdb.ada/n_arr_bound: New testcase.
4691 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4693 PR breakpoints/10737
4694 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4695 test_catch_syscall_multi_arch.
4696 (test_catch_syscall_multi_arch): New function.
4698 2014-11-20 Doug Evans <xdje42@gmail.com>
4700 * gdb.base/maint.exp: Update expected output.
4702 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4704 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4705 4-byte instruction on S390.
4707 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4709 * gdb.ada/arr_arr: New testcase.
4711 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4713 * gdb.ada/pkd_arr_elem: New Testcase.
4715 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
4717 * gdb.reverse/break-precsave: Expect completion message for
4719 * gdb.reverse/consecutive-precsave.exp: Likewise.
4720 * gdb.reverse/finish-precsave.exp: Likewise.
4721 * gdb.reverse/i386-precsave.exp: Likewise.
4722 * gdb.reverse/machinestate-precsave.exp: Likewise.
4723 * gdb.reverse/sigall-precsave.exp: Likewise.
4724 * gdb.reverse/solib-precsave.exp: Likewise.
4725 * gdb.reverse/step-precsave.exp: Likewise.
4726 * gdb.reverse/until-precsave.exp: Likewise.
4727 * gdb.reverse/watch-precsave.exp: Likewise.
4729 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4731 * gdb.base/bp-permanent.c: Include unistd.h.
4732 * gdb.python/py-framefilter-mi.c (main): Add return type.
4733 * gdb.python/py-framefilter.c (main): Likewise.
4734 * gdb.trace/actions-changed.c (main): Likewise.
4736 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4738 * gdb.mi/until.c: Add eye-catchers.
4739 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4742 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4744 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4745 function header variants in break1.c.
4746 * gdb.base/ena-dis-br.exp: Likewise.
4747 * gdb.base/hbreak2.exp: Likewise.
4748 * gdb.reverse/until-precsave.exp: Drop references to removed
4749 non-prototype function header variants in ur1.c.
4750 * gdb.reverse/until-reverse.exp: Likewise.
4752 2014-11-17 Petr Machata <pmachata@redhat.com>
4754 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4755 ${_cu_offset_size} bytes abbrev offset.
4757 2014-11-15 Doug Evans <xdje42@gmail.com>
4760 * gdb.base/line-symtabs.exp: New file.
4761 * gdb.base/line-symtabs.c: New file.
4762 * gdb.base/line-symtabs.h: New file.
4764 2014-11-14 Yao Qi <yao@codesourcery.com>
4766 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4767 (func): Add label func_label.
4768 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4769 Replace low_pc and high_pc with MACRO_AT_range.
4770 Replace name, low_pc and high_pc with MACRO_AT_func.
4772 2014-11-14 Yao Qi <yao@codesourcery.com>
4774 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4775 Replace name, low_pc and high_pc with MACRO_AT_func.
4777 2014-11-14 Yao Qi <yao@codesourcery.com>
4779 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4780 produce debug information.
4781 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4783 2014-11-14 Yao Qi <yao@codesourcery.com>
4785 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4786 object and get function length.
4787 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4789 (top-level): Replace gdb_compile and clean_restart with
4790 prepare_for_testing.
4791 * gdb.dwarf2/main.c (main): Add label main_label.
4793 2014-11-14 Yao Qi <yao@codesourcery.com>
4795 * lib/dwarf.exp (function_range): New procedure.
4796 (Dwarf::_handle_macro_at_func): New procedure.
4797 (Dwarf::_handle_macro_at_range): New procedure.
4798 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4800 2014-11-14 Yao Qi <yao@codesourcery.com>
4802 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4803 (_handle_attribute): New procedure.
4805 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4807 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4808 * gdb.base/call-sc.c (zed): Likewise.
4809 * gdb.base/checkpoint.c (main): Likewise.
4810 * gdb.base/dump.c (main): Likewise.
4811 * gdb.base/gcore.c (main): Likewise.
4812 * gdb.base/huge.c (main): Likewise.
4813 * gdb.base/multi-forks.c (main): Likewise.
4814 * gdb.base/pr10179-a.c (main): Likewise.
4815 * gdb.base/savedregs.c (main): Likewise.
4816 * gdb.base/sigaltstack.c (main): Likewise.
4817 * gdb.base/siginfo.c (main): Likewise.
4818 * gdb.base/structs.c (zed): Likewise.
4819 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4820 * gdb.mi/mi-syn-frame.c (main): Likewise.
4821 * gdb.mi/until.c (foo, main): Likewise.
4822 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4823 * gdb.base/solib-weak.c (foo): Declare.
4824 * gdb.base/attach-twice.c: Include stdio.h.
4825 * gdb.base/weaklib1.c: Likewise.
4826 * gdb.base/weaklib2.c: Likewise.
4827 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4828 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4830 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4831 * gdb.mi/mi-exit-code.c: Likewise.
4832 * gdb.base/break-interp-lib.c: Include string.h.
4833 * gdb.base/coremaker.c: Likewise.
4834 * gdb.base/testenv.c: Likewise.
4835 * gdb.python/py-finish-breakpoint.c: Likewise.
4836 * gdb.base/inferior-died.c: Include sys/wait.h.
4837 * gdb.base/fileio.c: Include time.h.
4838 * gdb.base/async-shell.c: Include unistd.h.
4839 * gdb.base/dprintf-non-stop.c: Likewise.
4840 * gdb.base/info-os.c: Likewise.
4841 * gdb.mi/mi-console.c: Likewise.
4842 * gdb.mi/watch-nonstop.c: Likewise.
4843 * gdb.python/py-events.c: Likewise.
4844 * gdb.base/async.c (baz): Move up before its invocation.
4845 * gdb.base/code_elim2.c (my_global_func): Likewise.
4846 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4847 * gdb.base/advance.c (func2): Likewise.
4849 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4851 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4853 * gdb.base/annota3.c: Likewise.
4854 * gdb.base/async.c: Likewise.
4855 * gdb.base/average.c: Likewise.
4856 * gdb.base/call-ar-st.c: Likewise.
4857 * gdb.base/call-rt-st.c: Likewise.
4858 * gdb.base/call-sc.c: Likewise.
4859 * gdb.base/call-strs.c: Likewise.
4860 * gdb.base/ending-run.c: Likewise.
4861 * gdb.base/execd-prog.c: Likewise.
4862 * gdb.base/exprs.c: Likewise.
4863 * gdb.base/foll-exec.c: Likewise.
4864 * gdb.base/foll-fork.c: Likewise.
4865 * gdb.base/foll-vfork.c: Likewise.
4866 * gdb.base/funcargs.c: Likewise.
4867 * gdb.base/gcore.c: Likewise.
4868 * gdb.base/jump.c: Likewise.
4869 * gdb.base/langs0.c: Likewise.
4870 * gdb.base/langs1.c: Likewise.
4871 * gdb.base/langs2.c: Likewise.
4872 * gdb.base/mips_pro.c: Likewise.
4873 * gdb.base/nodebug.c: Likewise.
4874 * gdb.base/opaque0.c: Likewise.
4875 * gdb.base/opaque1.c: Likewise.
4876 * gdb.base/recurse.c: Likewise.
4877 * gdb.base/run.c: Likewise.
4878 * gdb.base/scope0.c: Likewise.
4879 * gdb.base/scope1.c: Likewise.
4880 * gdb.base/setshow.c: Likewise.
4881 * gdb.base/setvar.c: Likewise.
4882 * gdb.base/shmain.c: Likewise.
4883 * gdb.base/shr1.c: Likewise.
4884 * gdb.base/shr2.c: Likewise.
4885 * gdb.base/sigall.c: Likewise.
4886 * gdb.base/signals.c: Likewise.
4887 * gdb.base/so-indr-cl.c: Likewise.
4888 * gdb.base/solib2.c: Likewise.
4889 * gdb.base/structs.c: Likewise.
4890 * gdb.base/sum.c: Likewise.
4891 * gdb.base/vforked-prog.c: Likewise.
4892 * gdb.base/watchpoint.c: Likewise.
4893 * gdb.reverse/shr2.c: Likewise.
4894 * gdb.reverse/until-reverse.c: Likewise.
4895 * gdb.reverse/ur1.c: Likewise.
4896 * gdb.reverse/watch-reverse.c: Likewise.
4898 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4900 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4902 * gdb.base/sepdebug.exp: Drop references to removed code.
4904 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4906 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4907 variant. Preserve original line numbering.
4908 * gdb.base/list1.c: Likewise.
4910 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4912 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4914 * gdb.base/break1.c: Likewise.
4915 * gdb.base/break.exp: Drop references to removed code.
4917 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4919 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4922 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4924 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4926 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4928 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4929 logic into perform_all_tests() and invoke it with and without
4930 function header prototypes.
4931 (do_function_calls): Remove conditional XFAIL for PR 5318.
4932 (rerun_and_prepare): Remove duplicate code.
4933 (perform_all_tests): New. Main logic moved here.
4935 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4937 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4938 code guarded by #ifdef NO_PROTOTYPES.
4939 (t_double_many_args): Likewise.
4940 (DEF_FUNC_MANY_ARGS_1): Likewise.
4941 (DEF_FUNC_VALUES_1): Likewise.
4942 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4943 guarded by #ifdef PROTOTYPES.
4945 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4947 * gdb.mi/mi-console.c: Add eye-catcher.
4948 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4949 instead of literal line number.
4951 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4953 * gdb.base/shr2.c: Add eye-catcher.
4954 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4957 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4959 * gdb.base/jump.c: Add eye-catchers.
4960 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4963 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4965 * gdb.base/execd-prog.c: Add eye-catchers.
4966 * gdb.base/foll-exec.c: Likewise.
4967 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4970 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4972 * gdb.base/ending-run.c: Add eye-catchers.
4973 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4974 literal line numbers.
4976 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4978 * gdb.base/call-rt-st.c: Add eye-catchers.
4979 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4980 literal line numbers.
4982 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4984 * gdb.base/call-ar-st.c: Add eye-catchers.
4985 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4986 literal line numbers.
4988 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4990 * gdb.base/average.c: Add eye-catchers.
4991 * gdb.base/sum.c: Likewise.
4992 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4993 regexps dynamically.
4995 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4997 * gdb.base/solib1.c: Add eye-catchers.
4998 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4999 literal line numbers.
5001 2014-11-12 Pedro Alves <palves@redhat.com>
5003 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5006 2014-11-12 Pedro Alves <palves@redhat.com>
5008 * gdb.arch/i386-bp_permanent.c: New file.
5009 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5010 (srcfile): Set to i386-bp_permanent.c.
5011 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5012 that stepi does not execute the 'leave' instruction, instead of
5013 testing it does execute.
5014 * gdb.base/bp-permanent.c: New file.
5015 * gdb.base/bp-permanent.exp: New file.
5017 2014-11-10 Doug Evans <xdje42@gmail.com>
5020 * gdb.base/symtab-search-order.exp: New file.
5021 * gdb.base/symtab-search-order.c: New file.
5022 * gdb.base/symtab-search-order-1.c: New file.
5023 * gdb.base/symtab-search-order-shlib-1.c: New file.
5025 2014-11-07 Pedro Alves <palves@redhat.com>
5028 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5031 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5034 * gdb.cp/pr17494.cc: New file.
5035 * gdb.cp/pr17494.exp: New file.
5037 2014-11-02 Yao Qi <yao@codesourcery.com>
5039 * gdb.python/python.exp: Get working directory and match the
5040 output of "set extended-prompt \\w " with it.
5042 2014-10-30 Doug Evans <dje@google.com>
5044 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5046 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5049 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
5051 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5052 * gdb.base/realname-expand.exp: Likewise.
5053 * gdb.linespec/macro-relative.exp: Likewise.
5055 2014-10-29 Pedro Alves <palves@redhat.com>
5058 * gdb.threads/schedlock.c (some_function): New function.
5059 (call_function): New global.
5060 (MAYBE_CALL_SOME_FUNCTION): New macro.
5061 (thread_function): Call it.
5062 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5063 and use it instead of a global counter. Adjust all callers.
5064 (get_current_thread): Use "find current thread" for test message
5065 here rather than having all callers pass down the same string.
5066 (goto_loop): New procedure, factored out from ...
5067 (my_continue): ... this.
5068 (step_ten_loops): Change parameter from test message to command to
5070 (list_count): Delete global.
5071 (check_result): New procedure, factored out from duplicate top
5073 (continue tests): Wrap in with_test_prefix.
5074 (test_step): New procedure, factored out from duplicate top level
5076 (top level): Test "step" in combination with all scheduler-locking
5077 modes. Test "next" in combination with all scheduler-locking
5078 modes, and in combination with stepping over a function call or
5080 * gdb.threads/next-bp-other-thread.c: New file.
5081 * gdb.threads/next-bp-other-thread.exp: New file.
5083 2014-10-29 Pedro Alves <palves@redhat.com>
5086 * gdb.python/python.exp: Test a multi-line command that spawns
5088 * gdb.base/multi-line-starts-subshell.exp: New file.
5090 2014-10-29 Yao Qi <yao@codesourcery.com>
5092 * gdb.base/fileio.exp: Make directories on host.
5094 2014-10-29 Yao Qi <yao@codesourcery.com>
5096 * gdb.base/fileio.c (test_write): Close the file.
5098 2014-10-28 Pedro Alves <palves@redhat.com>
5101 * gdb.base/sigstep.c (no_handler): New global.
5102 (main): If 'no_handler is true, set the signal handlers to
5104 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5105 with_sw_watch and no_handler parameters. Handle them.
5106 (top level) <stepping over handler when stopped at a breakpoint
5107 test>: Add a test axis for testing with a software watchpoint, and
5108 another for testing with the signal handler set to SIG_IGN.
5109 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5110 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5112 2014-10-28 Pedro Alves <palves@redhat.com>
5115 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5116 * gdb.base/sigstep.exp (other_handler_location): New global.
5117 (advance): Support stepping into the signal handler, and running
5118 commands while in the handler.
5119 (in_handler_map): New global.
5120 (top level): In the advance test, add combinations for getting
5121 into the handler with stepping commands, and for running commands
5122 in the handler. Add comment descripting the advancei tests.
5124 2014-10-28 Pedro Alves <palves@redhat.com>
5126 * gdb.base/sigstep.exp: Use build_executable instead of
5127 prepare_for_testing.
5128 (top level): Move code that starts GDB, runs to main and creates a
5130 (restart): ... this new procedure.
5131 (top level): Move backtrace from signal handler test to ...
5132 (validate_backtrace): ... this new procedure.
5133 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5134 with_test_prefix. Always restart GDB.
5135 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5136 with_test_prefix. Always restart GDB. No need to delete
5137 breakpoints after the test.
5138 (test_skip_handler): Remove prefix parameter.
5139 (skip_over_handler, breakpoint_to_handler)
5140 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5141 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5142 restart GDB. No need to delete breakpoints after the test.
5143 (top level): Use foreach to call the test procedures with
5146 2014-10-28 Pedro Alves <palves@redhat.com>
5148 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5149 instead of GNATS numbers.
5150 * gdb.base/sigbpt.exp: Likewise.
5151 * gdb.base/siginfo.exp: Likewise.
5152 * gdb.base/sigstep.exp: Likewise.
5154 2014-10-27 Pedro Alves <palves@redhat.com>
5156 * gdb.base/sigstep.c (dummy): New global.
5157 (main): Issue a couple writes to the new global.
5158 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5160 (skip_over_handler): Use test_skip_handler.
5161 (top level): Call skip_over_handler for stepi and nexti too.
5162 (breakpoint_over_handler): Use test_skip_handler.
5163 (top level): Call breakpoint_over_handler for stepi and nexti too.
5165 2014-10-27 Yao Qi <yao@codesourcery.com>
5167 * gdb.trace/tfile.c (adjust_function_address)
5168 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5169 function descriptor.
5171 2014-10-24 Don Breazeal <donb@codesourcery.com>
5173 * gdb.base/foll-fork.exp (test_follow_fork,
5174 catch_fork_child_follow): Check for updated fork messages emitted
5176 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5177 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5178 vfork_and_exec_child_follow_through_step): Check for updated vfork
5179 messages emitted from infrun.c.
5181 2014-10-24 Pedro Alves <palves@redhat.com>
5183 * gdb.base/corefile.exp: Remove references to ultrix.
5184 * gdb.base/interrupt.exp: Likewise.
5185 * gdb.base/whatis.exp: Likewise.
5186 * gdb.gdb/selftest.exp: Likewise.
5187 * gdb.threads/manythreads.exp: Likewise.
5188 * gdb.threads/print-threads.exp: Likewise.
5189 * gdb.threads/pthreads.exp:: Likewise.
5190 * gdb.threads/schedlock.exp: Likewise.
5192 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5194 * gdb.cp/non-trivial-retval.cc: Add a test case.
5195 * gdb.cp/non-trivial-retval.exp: Add a test.
5197 2014-10-20 Yao Qi <yao@codesourcery.com>
5199 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5200 * gdb.python/py-objfile-script-gdb.py: New file.
5201 * gdb.python/py-objfile-script.exp: Update reference to
5202 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5203 of remote_download. Remove the dest file.
5205 2014-10-20 Yao Qi <yao@codesourcery.com>
5207 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5208 * gdb.base/step-line.exp: Likewise.
5209 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5210 * gdb.dwarf2/dw2-basic.exp: Likewise.
5211 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5212 * gdb.dwarf2/dw2-filename.exp: Likewise.
5213 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5214 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5215 * gdb.dwarf2/dw2-producer.exp: Likewise.
5216 * gdb.dwarf2/mac-fileno.exp: Likewise.
5217 * gdb.python/py-frame-args.exp: Likewise.
5218 * gdb.python/py-framefilter.exp: Likewise.
5219 * gdb.python/py-mi.exp: Likewise.
5220 * gdb.python/py-objfile-script.exp: Likewise
5221 * gdb.python/py-pp-integral.exp: Likewise.
5222 * gdb.python/py-pp-re-notag.exp: Likewise.
5223 * gdb.python/py-prettyprint.exp: Likewise.
5224 * gdb.python/py-section-script.exp: Likewise.
5225 * gdb.python/py-typeprint.exp: Likewise.
5226 * gdb.python/py-xmethods.exp: Likewise.
5227 * gdb.stabs/weird.exp: Likewise.
5228 * gdb.xml/tdesc-regs.exp: Likewise.
5230 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5232 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5233 (out_cu): Use addr_len for the size of addresses.
5234 (out_line): Likewise. Size DW_LNE_set_address instruction
5235 according to addr_len.
5236 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5237 (FUNC): Add START_INSNS to definition.
5239 2014-10-18 Yao Qi <yao@codesourcery.com>
5241 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5242 gdb_has_argv0 return true.
5243 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5244 check [target_info exists noargs], check [gdb_has_argv0]
5246 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5247 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5250 2014-10-17 Doug Evans <dje@google.com>
5252 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5254 * gdb.python/py-events.py: Add clear_objfiles event.
5256 2014-10-17 Doug Evans <dje@google.com>
5258 * gdb.python/py-objfile.exp: Test progspace attribute.
5260 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
5262 * gdb.guile/scm-breakpoint.exp: Do not assume any
5263 directory separators when matching source file paths.
5264 * gdb.python/py-breakpoint.exp: Likewise.
5265 * gdb.reverse/break-precsave.exp: Likewise.
5266 * gdb.reverse/break-reverse.exp: Likewise.
5267 * gdb.reverse/consecutive-precsave.exp: Likewise.
5268 * gdb.reverse/finish-precsave.exp: Likewise.
5269 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5270 * gdb.reverse/finish-reverse.exp: Likewise.
5271 * gdb.reverse/i386-precsave.exp: Likewise.
5272 * gdb.reverse/i387-env-reverse.exp: Likewise.
5273 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5274 * gdb.reverse/machinestate-precsave.exp: Likewise.
5275 * gdb.reverse/machinestate.exp: Likewise.
5276 * gdb.reverse/sigall-precsave.exp: Likewise.
5277 * gdb.reverse/solib-precsave.exp: Likewise.
5278 * gdb.reverse/step-precsave.exp: Likewise.
5279 * gdb.reverse/until-precsave.exp: Likewise.
5280 * gdb.reverse/watch-precsave.exp: Likewise.
5281 * gdb.reverse/watch-reverse.exp: Likewise.
5283 2014-10-17 Yao Qi <yao@codesourcery.com>
5285 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5286 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5288 2014-10-17 Pedro Alves <palves@redhat.com>
5291 * gdb.base/bg-execution-repeat.c: New file.
5292 * gdb.base/bg-execution-repeat.exp: New file.
5294 2014-10-17 Pedro Alves <palves@redhat.com>
5297 * gdb.base/continue-all-already-running.c: New file.
5298 * gdb.base/continue-all-already-running.exp: New file.
5300 2014-10-17 Pedro Alves <palves@redhat.com>
5303 * gdb.base/annota-input-while-running.c: New file.
5304 * gdb.base/annota-input-while-running.exp: New file.
5306 2014-10-17 Pedro Alves <palves@redhat.com>
5308 * gdb.base/callfuncs.exp: emove references to osf.
5309 * gdb.base/sigall.exp: Likewise.
5310 * gdb.gdb/selftest.exp: Likewise.
5311 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5312 * gdb.mi/non-stop.c: Likewise.
5313 * gdb.mi/pthreads.c: Likewise.
5314 * gdb.reverse/sigall-precsave.exp: Likewise.
5315 * gdb.reverse/sigall-reverse.exp: Likewise.
5316 * gdb.threads/pthreads.c: Likewise.
5317 * gdb.threads/pthreads.exp: Likewise.
5319 2014-10-17 Yao Qi <yao@codesourcery.com>
5321 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5322 check 'target_info exists noargs'.
5323 (test_command_prompt_position): Likewise.
5324 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5326 (progvar_simple_while_test): Likewise.
5327 (progvar_complex_if_while_test): Likewise.
5328 (if_while_breakpoint_command_test): Likewise.
5329 (infrun_breakpoint_command_test): Likewise.
5330 (breakpoint_command_test): Likewise.
5331 (watchpoint_command_test): Likewise.
5332 (bp_deleted_in_command_test): Likewise.
5333 (temporary_breakpoint_commands): Likewise.
5335 2014-10-16 Yao Qi <yao@codesourcery.com>
5337 * gdb.base/remotetimeout.exp: Remove noargs checking.
5339 2014-10-15 Pedro Alves <palves@redhat.com>
5342 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5343 * gdb.base/breakpoint-in-ro-region.exp
5344 (probe_target_hardware_step): New procedure.
5345 (top level): Probe hardware stepping and hardware breakpoint
5346 support. Test stepping through a read-only region, with both
5347 "breakpoint auto-hw" on and off and both "always-inserted" on and
5350 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5352 * gdb.dlang/demangle.exp: Update for demangling changes.
5354 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5356 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5357 * gdb.cp/non-trivial-retval.exp: Add new tests.
5359 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5363 * gdb.cp/non-trivial-retval.cc: New file.
5364 * gdb.cp/non-trivial-retval.exp: New file.
5366 2014-10-15 Yao Qi <yao@codesourcery.com>
5368 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5371 2014-10-15 Yao Qi <yao@codesourcery.com>
5373 * gdb.python/py-symbol.exp: Match file base name if host is
5374 remote, otherwise match file name with dir name.
5375 * gdb.python/py-symtab.exp: Likewise.
5376 * gdb.python/python.exp: Likewise.
5378 2014-10-15 Yao Qi <yao@codesourcery.com>
5380 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5382 * gdb.python/py-symtab.exp: Likewise.
5383 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5386 2014-10-14 Joel Brobecker <brobecker@adacore.com>
5388 * gdb.ada/addr_arith: New testcase.
5390 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5392 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5393 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5394 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5395 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5397 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5399 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5400 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5401 * gdb.arch/stap-eval-lang-ada.exp: New file.
5403 2014-10-14 Yao Qi <yao@codesourcery.com>
5405 * gdb.mi/mi-var-child.c (nothing1): New function.
5406 (nothing2): New function.
5407 (do_children_tests): Set function pointers by nothing1 and
5409 * gdb.mi/mi-var-child.exp: Step over new added statements.
5410 Update test to match the new output.
5411 * gdb.mi/var-cmd.c (nothing1): New function.
5412 (nothing2): New function.
5413 (do_children_tests): Set function pointers by nothing1 and
5415 * gdb.mi/mi-var-display.exp: Update test to match output.
5416 Step to the line specified by $line_dct_nothing.
5417 Increase the number of lines to step.
5419 2014-10-14 Yao Qi <yao@codesourcery.com>
5421 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5423 * gdb.mi/mi2-var-child.exp: Likewise.
5425 2014-10-13 Doug Evans <dje@google.com>
5427 * gdb.python/py-objfile.exp: Change name of file name test.
5429 2014-10-13 Doug Evans <dje@google.com>
5431 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5432 from the start of the CU.
5434 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5435 Yao Qi <yao@codesourcery.com>
5437 Fix "save breakpoints" for "catch" command.
5438 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5439 Remove -nonewline. Match also the added "main" line.
5441 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5443 Fix "save breakpoints" for "disable $bpnum" command.
5444 * gdb.base/save-bp.c (main): Add label.
5445 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5447 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5449 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5451 2014-10-11 Yao Qi <yao@codesourcery.com>
5453 * gdb.server/server-kill.exp: Execute command
5454 "set remote trace-status-packet on" before "tstatus".
5456 2014-10-11 Yao Qi <yao@codesourcery.com>
5458 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5459 (main): Call getppid.
5460 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5461 and continue to it. Read variable "server_pid".
5463 2014-10-11 Yao Qi <yao@codesourcery.com>
5465 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5467 2014-10-11 Yao Qi <yao@codesourcery.com>
5469 * gdb.threads/thread-find.exp: Don't execute command
5471 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5472 * gdb.threads/linux-dp.exp: Don't check the condition
5473 $threads_created equals to zero.
5475 2014-10-10 Pedro Alves <palves@redhat.com>
5477 * gdb.base/bigcore.exp: Remove references to IRIX.
5478 * gdb.base/funcargs.exp: Likewise.
5479 * gdb.base/interrupt.exp: Likewise.
5480 * gdb.base/mips_pro.exp: Likewise.
5481 * gdb.base/nodebug.exp: Likewise.
5482 * gdb.base/setvar.exp: Likewise.
5483 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5485 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5486 Pedro Alves <palves@redhat.com>
5489 * gdb.base/vdso-warning.c: New file.
5490 * gdb.base/vdso-warning.exp: New file.
5492 2014-10-02 Doug Evans <dje@google.com>
5494 * gdb.base/structs.c (main): Don't run forever.
5496 2014-10-02 Pedro Alves <palves@redhat.com>
5498 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5499 (top level) <stop threads 1, stop threads 2>: Use it.
5501 2014-10-02 Pedro Alves <palves@redhat.com>
5503 * gdb.threads/break-while-running.exp (test): Add new
5504 'update_thread_list' argument. Skip "info threads" if false.
5505 (top level): Add new 'update_thread_list' axis.
5507 2014-10-02 Pedro Alves <palves@redhat.com>
5509 PR breakpoints/17431
5510 * gdb.base/execl-update-breakpoints.c: New file.
5511 * gdb.base/execl-update-breakpoints.exp: New file.
5513 2014-10-01 Pedro Alves <palves@redhat.com>
5515 * gdb.base/breakpoint-in-ro-region.c: New file.
5516 * gdb.base/breakpoint-in-ro-region.exp: New file.
5518 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5520 * gdb.mi/mi-exit-code.exp: New file.
5521 * gdb.mi/mi-exit-code.c: New file.
5523 2014-09-30 Yao Qi <yao@codesourcery.com>
5525 * lib/prelink-support.exp (build_executable_own_libs): Error if
5526 the target isn't native.
5528 2014-09-30 Yao Qi <yao@codesourcery.com>
5530 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5533 2014-09-22 Pedro Alves <palves@redhat.com>
5535 * gdb.threads/break-while-running.exp: New file.
5536 * gdb.threads/break-while-running.c: New file.
5538 2014-09-19 Yao Qi <yao@codesourcery.com>
5540 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5541 Invoke test. Restart GDB with --readnow and invoke test again.
5543 2014-09-19 Yao Qi <yao@codesourcery.com>
5545 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5546 proc set_breakpoint_on_gcd_function. Invoke
5547 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5548 invoke set_breakpoint_on_gcd_function again.
5550 2014-09-18 Doug Evans <dje@google.com>
5552 * gdb.dwarf2/symtab-producer.exp: New file.
5554 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5556 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5557 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5558 * gdb.base/global-var-nested-by-dso.c: Likewise.
5559 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5561 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5562 Pedro Alves <palves@redhat.com>
5564 * gdb.base/watch-bitfields.exp: Pass string other than test file
5565 name to prepare_for_testing.
5566 (watch): New procedure.
5567 (expect_watchpoint): Use with_test_prefix.
5568 (top level): Factor out tests to ...
5569 (test_watch_location, test_regular_watch): ... these new
5570 procedures, and use with_test_prefix and gdb_continue_to_end.
5572 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5574 PR breakpoints/12526
5575 * gdb.base/watch-bitfields.exp: New file.
5576 * gdb.base/watch-bitfields.c: New file.
5578 2014-09-16 Pedro Alves <palves@redhat.com>
5580 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5581 software and hardware addresses, not software address against
5584 2014-09-16 Pedro Alves <palves@redhat.com>
5586 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5587 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5589 2014-09-16 Pedro Alves <palves@redhat.com>
5591 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5593 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5594 "*-*-vxworks*" throughout.
5595 * gdb.base/break.exp: Likewise.
5596 * gdb.base/default.exp: Likewise.
5597 * gdb.base/scope.exp: Likewise.
5598 * gdb.base/sepdebug.exp: Likewise.
5599 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5601 * gdb.base/run.c: Likewise.
5602 * gdb.base/sepdebug.c: Likewise.
5603 * gdb.hp/gdb.aCC/run.c: Likewise.
5604 * gdb.reverse/until-reverse.c: Likewise.
5605 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5607 2014-09-16 Yao Qi <yao@codesourcery.com>
5609 * boards/local-remote-host-native.exp: New file.
5611 2014-09-14 Doug Evans <xdje42@gmail.com>
5613 * gdb.threads/queue-signal.c (thread_count): New variable.
5614 (thread_count_mutex, thread_count_condvar): New variables.
5615 (incr_thread_count, wait_all_threads_running): New functions.
5616 (main): Wait for all threads to be in their thread functions.
5618 2014-09-13 Doug Evans <xdje42@gmail.com>
5620 * gdb.threads/queue-signal.c: New file.
5621 * gdb.threads/queue-signal.exp: New file.
5623 2014-09-13 Doug Evans <xdje42@gmail.com>
5625 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5626 be consistent with what default_gdb_init uses.
5627 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5628 the plain text of the prompt. Add some logging printfs.
5629 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5631 2014-09-12 Pedro Alves <palves@redhat.com>
5633 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5634 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5635 * gdb.arch/i386-size-overlap.exp: Likewise.
5636 * gdb.arch/i386-size.exp: Likewise.
5637 * gdb.arch/i386-unwind.exp: Likewise.
5638 * gdb.base/a2-run.exp: Likewise.
5639 * gdb.base/break.exp: Likewise.
5640 * gdb.base/charset.exp: Likewise.
5641 * gdb.base/chng-syms.exp: Likewise.
5642 * gdb.base/commands.exp: Likewise.
5643 * gdb.base/dbx.exp: Likewise.
5644 * gdb.base/find.exp: Likewise.
5645 * gdb.base/funcargs.exp: Likewise.
5646 * gdb.base/jit-simple.exp: Likewise.
5647 * gdb.base/reread.exp: Likewise.
5648 * gdb.base/sepdebug.exp: Likewise.
5649 * gdb.base/step-bt.exp: Likewise.
5650 * gdb.cp/mb-inline.exp: Likewise.
5651 * gdb.cp/mb-templates.exp: Likewise.
5652 * gdb.objc/basicclass.exp: Likewise.
5653 * gdb.threads/killed.exp: Likewise.
5655 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5658 * gdb.arch/powerpc-stackless.S: New file.
5659 * gdb.arch/powerpc-stackless.exp: New file.
5661 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5663 * gdb.base/attach.c: Include unistd.h.
5664 (main): Call alarm. Add label postloop.
5665 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5666 gdb_breakpoint, gdb_continue_to_breakpoint.
5667 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5669 2014-09-11 Pedro Alves <palves@redhat.com>
5672 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5673 * gdb.base/attach.exp (test_command_line_attach_run): New
5675 (top level): Call it.
5677 2014-09-11 Pedro Alves <palves@redhat.com>
5679 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5680 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5681 (do_command_attach_tests): Use spawn_wait_for_attach.
5682 * gdb.base/solib-overlap.exp: Likewise.
5683 * gdb.multi/multi-attach.exp: Likewise.
5684 * gdb.python/py-prompt.exp: Likewise.
5685 * gdb.python/py-sync-interp.exp: Likewise.
5686 * gdb.server/ext-attach.exp: Likewise.
5688 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5690 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5691 command in testcase. Simplify testcase.
5693 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5695 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5697 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5699 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5701 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5703 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5705 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5707 * gdb.dwarf2/dynarr-ptr.c: New file.
5708 * gdb.dwarf2/dynarr-ptr.exp: New file.
5710 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5712 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5713 of 30 rather than hardcoding 120 for a slow test case. Take the
5714 `gdb,timeout' target setting into account for this calculation.
5715 Don't extend the timeout for the test cases that don't need it.
5717 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5719 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5720 a factor of 2 for a slow test case. Take the `gdb,timeout'
5721 target setting into account for this calculation.
5722 * gdb.reverse/until-precsave.exp: Increase the timeout by
5723 a factor of 15 and 3 respectively rather than adding 120
5724 for a pair of slow test cases. Take the `gdb,timeout'
5725 target setting into account for this calculation.
5727 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5729 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5730 timeout, don't pass one down to gdb_expect.
5731 (gdb_expect): Rework timeout selection.
5733 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5735 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5736 exception on timeout.
5737 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5738 (gdbserver_start_extended): Catch any `gdbserver_start' error
5740 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5741 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5742 `gdbserver_gdb_load' error exceptions.
5744 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5746 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5747 120 on waiting for the TCP socket to open.
5749 2014-09-09 Doug Evans <xdje42@gmail.com>
5751 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5752 _caller_matches, _any_caller_is, _any_caller_matches.
5754 2014-09-09 Doug Evans <xdje42@gmail.com>
5756 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5758 2014-09-09 Yao Qi <yao@codesourcery.com>
5760 * gdb.mi/mi-var-display.exp: Set print symbol off.
5762 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5765 * gdb.base/commands.exp: Add tests to verify user-defined
5766 commands with empty bodies.
5767 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5768 python commands in `show user command`.
5769 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5770 scheme commands in `show user command`.
5772 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5775 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5776 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5777 * gdb.python/py-framefilter-invalidarg.exp: New file.
5778 * gdb.python/py-framefilter-invalidarg.py: New file.
5780 2014-09-06 Doug Evans <xdje42@gmail.com>
5783 * gdb.python/py-caller-is.c: New file.
5784 * gdb.python/py-caller-is.exp: New file.
5786 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5789 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5790 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5792 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5795 * gdb.fortran/print-formatted.exp: New file.
5796 * gdb.fortran/print-formatted.f90: Likewise.
5798 2014-09-03 Sasha Smundak <asmundak@google.com>
5800 * gdb.python/py-frame.exp: Test Frame.read_register.
5802 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5805 * gdb.python/py-completion.exp: New file.
5806 * gdb.python/py-completion.py: Likewise.
5808 2014-08-28 Doug Evans <dje@google.com>
5810 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5811 eax,etc. are live with values set by gdb and thus the compiler can't
5813 * gdb.arch/i386-pseudo.c (main): Ditto.
5815 2014-08-27 Doug Evans <dje@google.com>
5817 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5819 2014-08-25 Doug Evans <dje@google.com>
5821 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5824 2014-08-25 Doug Evans <dje@google.com>
5826 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5828 2014-08-24 Yao Qi <yao@codesourcery.com>
5830 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5832 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5834 2014-08-22 Doug Evans <dje@google.com>
5837 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5838 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5839 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5841 2014-08-22 Yao Qi <yao@codesourcery.com>
5843 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5844 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5845 * gdb.python/python.exp: Likewise. Use .py file on the host
5846 instead of the build.
5848 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5850 * gdb.threads/gcore-stale-thread.c: New file.
5851 * gdb.threads/gcore-stale-thread.exp: New file.
5853 2014-08-21 Pedro Alves <palves@redhat.com>
5855 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5856 * gdb.base/gcore-relro-pie.exp: Likewise.
5857 * gdb.base/gcore-relro.exp: Likewise.
5858 * gdb.base/gcore.exp: Likewise.
5859 * gdb.base/print-symbol-loading.exp: Likewise.
5860 * gdb.threads/gcore-thread.exp: Likewise.
5861 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5863 2014-08-20 Pedro Alves <palves@redhat.com>
5864 Jan Kratochvil <jan.kratochvil@redhat.com>
5866 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5868 (EXPECT): Handle READ1 being set.
5869 (all): Depend on EXTRA_RULES.
5870 (check-read1, expect-read1, read1.so, read1): New rules.
5871 * README (Testsuite Parameters): Document the READ1 make variable.
5872 (Race detection): New section.
5873 * configure: Regenerate.
5874 * configure.ac: If build==host==target, and running under a
5875 GNU/glibc system, add read1 to the extra Makefile rules.
5876 (EXTRA_RULES): AC_SUBST it.
5877 * lib/read1.c: New file.
5879 2014-08-20 Joel Brobecker <brobecker@adacore.com>
5881 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5882 the handling of variables declared as a typedef to an array
5883 which a DW_AT_data_location attribute.
5885 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
5886 Pedro Alves <palves@redhat.com>
5890 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5893 2014-08-19 Pedro Alves <palves@redhat.com>
5895 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5897 2014-08-19 Yao Qi <yao@codesourcery.com>
5899 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5902 2014-08-18 David Blaikie <dblaikie@gmail.com>
5904 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5906 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5908 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5909 attribute in array range.
5911 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5913 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5915 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5918 * gdb.cp/pr17132.cc: New file.
5919 * gdb.cp/pr17132.exp: New file.
5921 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5923 * gdb.python/py-xmethods.py (A_getarrayind)
5924 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5925 Use 'print' with function call syntax.
5926 (E_method_matcher.match): Fix tab vs space indentation mixup.
5928 2014-08-15 Yao Qi <yao@codesourcery.com>
5930 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5933 2014-08-15 Yao Qi <yao@codesourcery.com>
5935 * gdb.cp/casts.exp: Set print symbol off.
5936 * gdb.cp/class2.exp: Likewise.
5937 * gdb.cp/overload.exp: Likewise.
5938 * gdb.cp/templates.exp: Likewise.
5940 2014-08-11 Doug Evans <dje@google.com>
5942 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5943 (test_load_shlib): Update.
5945 2014-08-09 Yao Qi <yao@codesourcery.com>
5947 * gdb.base/display.exp: Invoke is_address_zero_readable.
5948 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5949 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5950 * gdb.base/hbreak-unmapped.exp: Return if
5951 is_address_zero_readable returns true.
5952 * gdb.base/signest.exp: Likewise.
5953 * gdb.base/signull.exp: Likewise.
5954 * gdb.base/sigbpt.exp: Likewise.
5955 * gdb.guile/scm-disasm.exp: Do the test if
5956 is_address_zero_readable returns false.
5957 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5958 * gdb.python/py-arch.exp: Likewise.
5959 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5960 * lib/gdb.exp (is_address_zero_readable): New proc.
5962 2014-08-09 Yao Qi <yao@codesourcery.com>
5965 * gdb.mi/mi-var-display.exp: Make test messages unique.
5967 2014-08-04 Tom Tromey <tromey@redhat.com>
5969 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5972 2014-08-04 Tom Tromey <tromey@redhat.com>
5974 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5977 2014-08-01 Joel Brobecker <brobecker@adacore.com>
5979 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5980 inner_vla_struct_object_size.
5981 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5984 2014-07-30 Pedro Alves <palves@redhat.com>
5986 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5989 2014-07-29 Yao Qi <yao@codesourcery.com>
5992 * gdb.base/until-nodebug.exp: New.
5994 2014-07-28 Doug Evans <xdje42@gmail.com>
5997 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5998 previously existing parameter, and previously ambiguously spelled
6001 2014-07-28 Will Newton <will.newton@linaro.org>
6003 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6005 2014-07-26 Ludovic CourtĂšs <ludo@gnu.org>
6006 Doug Evans <xdje42@gmail.com>
6009 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6011 2014-07-25 Pedro Alves <palves@redhat.com>
6013 * gdb.threads/signal-command-handle-nopass.c: New file.
6014 * gdb.threads/signal-command-handle-nopass.exp: New file.
6015 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6016 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6017 * gdb.threads/signal-delivered-right-thread.c: New file.
6018 * gdb.threads/signal-delivered-right-thread.exp: New file.
6020 2014-07-25 Pedro Alves <palves@redhat.com>
6022 * gdb.base/double-prompt-target-event-error.exp
6023 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6025 (cancel_pagination_in_target_event): Rework double prompt
6027 * gdb.base/paginate-after-ctrl-c-running.exp
6028 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6030 * gdb.base/paginate-bg-execution.exp
6031 (test_bg_execution_pagination_return)
6032 (test_bg_execution_pagination_cancel): Remove '-notransfer
6034 * gdb.base/paginate-execution-startup.exp
6035 (test_fg_execution_pagination_return)
6036 (test_fg_execution_pagination_cancel): Remove '-notransfer
6038 * gdb.base/paginate-inferior-exit.exp
6039 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6041 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6042 * lib/gdb.exp (pagination_prompt): Run text through
6044 (gdb_test_multiple): Match $pagination_prompt instead of
6046 (string_to_regexp): Move to lib/gdb-utils.exp.
6048 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6050 * gdb.arch/amd64-entry-value-paramref.S: New file.
6051 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6052 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6053 * gdb.arch/amd64-optimout-repeat.S: New file.
6054 * gdb.arch/amd64-optimout-repeat.c: New file.
6055 * gdb.arch/amd64-optimout-repeat.exp: New file.
6057 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6060 * gdb.base/statistics.exp: New file.
6062 2014-07-17 Doug Evans <dje@google.com>
6065 * gdb.base/maint.exp: Update testing of per-command stats.
6067 2014-07-16 Pedro Alves <palves@redhat.com>
6069 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6070 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6071 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6072 (tfile_write_buf): New functions.
6073 (add_memory_block): Rewrite using the above.
6074 (adjust_function_address): New function.
6075 (FUNCTION_ADDRESS): New macro.
6076 (write_basic_trace_file): Remove short_x local, and use
6077 tfile_write_16. Change type of func_addr local to unsigned long
6078 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6079 here. Cast argument of add_memory_block to char pointer.
6080 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6081 (main): Remove parameters.
6082 * gdb.trace/tfile.exp: Remove nowarnings.
6084 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6086 * gdb.base/debug-expr.exp: Test string evaluation with
6087 "debug expression" on.
6089 2014-07-15 Pedro Alves <palves@redhat.com>
6091 * gdb.base/reread.exp: Use clean_restart.
6093 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6095 * gdb.arch/avr-flash-qualifer.c: New.
6096 * gdb.arch/avr-flash-qualifer.exp: New.
6098 2014-07-14 Pedro Alves <palves@redhat.com>
6100 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6101 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6103 2014-07-14 Pedro Alves <palves@redhat.com>
6105 * gdb.base/double-prompt-target-event-error.c: New file.
6106 * gdb.base/double-prompt-target-event-error.exp: New file.
6108 2014-07-14 Pedro Alves <palves@redhat.com>
6111 * gdb.base/paginate-inferior-exit.c: New file.
6112 * gdb.base/paginate-inferior-exit.exp: New file.
6114 2014-07-14 Pedro Alves <palves@redhat.com>
6117 * gdb.base/paginate-bg-execution.c: New file.
6118 * gdb.base/paginate-bg-execution.exp: New file.
6120 2014-07-14 Pedro Alves <palves@redhat.com>
6123 * gdb.base/paginate-execution-startup.c: New file.
6124 * gdb.base/paginate-execution-startup.exp: New file.
6125 * lib/gdb.exp (pagination_prompt): New global.
6126 (default_gdb_spawn): New procedure, factored out from
6128 (default_gdb_start): Adjust to call default_gdb_spawn.
6129 (gdb_spawn): New procedure.
6131 2014-07-14 Pedro Alves <palves@redhat.com>
6133 * lib/gdb.exp (gdb_assert): New procedure.
6134 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6136 2014-07-14 Pedro Alves <palves@redhat.com>
6138 * gdb.base/execution-termios.c: New file.
6139 * gdb.base/execution-termios.exp: New file.
6141 2014-07-14 Tom Tromey <tromey@redhat.com>
6143 * gdb.cp/vla-cxx.cc: New file.
6144 * gdb.cp/vla-cxx.exp: New file.
6146 2014-07-14 Tom Tromey <tromey@redhat.com>
6148 * gdb.reverse/rerun-prec.c: New file.
6149 * gdb.reverse/rerun-prec.exp: New file.
6151 2014-07-12 Maciej W. Rozycki <macro@mips.com>
6152 Maciej W. Rozycki <macro@codesourcery.com>
6154 * lib/gdb-utils.exp: New file.
6155 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6156 inline `gdb_init_command' processing.
6157 (gdb_start_cmd): Likewise.
6158 * lib/mi-support.exp (mi_run_cmd): Likewise.
6159 * README: Document `gdb_init_command' and `gdb_init_commands'.
6161 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6163 Fix false FAIL running under a very long directory name.
6164 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6165 and "set print elements 10000". Twice.
6167 2014-07-11 Yao Qi <yao@codesourcery.com>
6169 * gdb.base/exprs.exp: "set print symbol off".
6171 2014-07-11 Pedro Alves <palves@redhat.com>
6173 * gdb.threads/kill.c: New file.
6174 * gdb.threads/kill.exp: New file.
6176 2014-07-10 Yao Qi <yao@codesourcery.com>
6178 * gdb.trace/tfile.c (write_basic_trace_file)
6179 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6180 address written to trace file.
6182 2014-07-09 Pedro Alves <palves@redhat.com>
6184 * gdb.base/attach-wait-input.exp: New file.
6185 * gdb.base/attach-wait-input.c: New file.
6187 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6189 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6190 setting up test structures.
6191 (main): Call new test function.
6192 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6193 test function, continue into test function and walk test
6196 2014-07-02 Yao Qi <yao@codesourcery.com>
6198 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6199 'bar_start' at the beginning of functions 'foo' and 'bar'
6201 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6202 instead of 'foo' and 'bar'.
6204 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6206 * gdb.btrace/segv.exp: New.
6207 * gdb.btrace/segv.c: New.
6209 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
6211 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6214 2014-06-30 Mark Wielaard <mjw@redhat.com>
6216 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6217 vulture, vilify, villar): New volatile array constants.
6218 (vindictive, vegetation): New const volatile array constants.
6219 * gdb.base/volatile.exp: Test volatile and const volatile array
6222 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6224 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6225 target lacks support for awatch, rwatch, or hbreak.
6227 2014-06-27 Yao Qi <yao@codesourcery.com>
6229 * gdb.multi/dummy-frame-restore.exp: New.
6230 * gdb.multi/dummy-frame-restore.c: New.
6232 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6234 * gdb.btrace/gcore.exp: New.
6236 2014-06-23 Pedro Alves <palves@redhat.com>
6238 * gdb.base/watchpoint-reuse-slot.c: New file.
6239 * gdb.base/watchpoint-reuse-slot.exp: New file.
6241 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6243 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6244 progspace's filename in 'info', 'enable' and 'disable' command
6247 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6249 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6250 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6251 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6253 2014-06-20 Gary Benson <gbenson@redhat.com>
6255 * gdb.arch/i386-avx.exp: Fix include file location.
6256 * gdb.arch/i386-sse.exp: Likewise.
6258 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6260 * gdb.dlang/expression.exp: New file.
6262 2014-06-19 Pedro Alves <palves@redhat.com>
6264 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6266 (top level): ... here. Iterate running tests under different
6267 scheduler-locking settings.
6269 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
6271 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6272 to DW_FORM_addr and use non-zero addresses.
6274 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6277 * gdb.python/py-xmethods.cc: Add global function call counters and
6278 increment them in their respective functions. Remove "cout"
6280 * gdb.python/py-xmethods.exp: Make tests check the global function
6281 call counters instead of depending on inferior IO.
6283 2014-06-18 Don Breazeal <donb@codesourcery.com>
6285 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6287 (explicit_fork_parent_follow): Deleted procedure.
6288 (explicit_fork_child_follow): Deleted procedure.
6289 (test_follow_fork): New procedure.
6290 (do_fork_tests): Replace calls to deleted procedures with
6291 calls to test_follow_fork and reset GDB for subsequent
6294 2014-06-17 Yao Qi <yao@codesourcery.com>
6296 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6299 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
6301 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6302 Initialize ptr and S explicitly.
6303 (skip_type_update_when_not_use_rtti_test): Likewise.
6305 2014-06-16 Keith Seitz <keiths@redhat.com>
6308 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6309 the inferior is started.
6311 2014-06-16 Pedro Alves <palves@redhat.com>
6313 * gdb.base/break-main-file-remove-fail.c: New file.
6314 * gdb.base/break-main-file-remove-fail.exp: New file.
6315 * gdb.base/break-unload-file.exp: Use build_executable instead of
6316 prepare_for_testing.
6317 (test_break): New parameter "initial_load". Handle it.
6318 (top level): Add initial_load cmdline/file axis.
6320 2014-06-12 Tom Tromey <tromey@redhat.com>
6322 * gdb.base/completion.exp: Don't use directory name in test.
6324 2014-06-09 Gary Benson <gbenson@redhat.com>
6326 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6327 separate the always-available ANSI-standard signals from the
6328 signals that require checking.
6330 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6334 2014-06-07 Keith Seitz <keiths@redhat.com>
6338 * gdb.cp/var-tag.cc: New file.
6339 * gdb.cp/var-tag.exp: New file.
6340 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6341 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6342 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6343 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6345 2014-06-06 Doug Evans <xdje42@gmail.com>
6347 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6349 2014-06-06 Pedro Alves <palves@redhat.com>
6351 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6352 in target debug output instead of looking at RSP packets,
6353 disabling the test on any target that uses hardware stepping.
6356 2014-06-06 Pedro Alves <palves@redhat.com>
6358 * gdb.base/break-unload-file.exp: Fix typo.
6360 2014-06-06 Yao Qi <yao@codesourcery.com>
6362 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6363 from "jit_function" to "^jit_function".
6365 2014-06-06 Yao Qi <yao@codesourcery.com>
6367 * gdb.base/async.c (foo): Add one statement.
6368 * gdb.base/async.exp: Get the next instruction address and
6369 match the output of "nexti" by instruction address. Match
6370 the hex address in the output of "finish".
6372 2014-06-06 Gary Benson <gbenson@redhat.com>
6374 * gdb.base/call-signals.c: Remove preprocessor conditionals
6375 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6376 SIGSEGV and SIGTERM.
6377 * gdb.base/sigall.c: Likewise.
6378 * gdb.base/unwindonsignal.c: Likewise.
6379 * gdb.reverse/sigall-reverse.c: Likewise.
6381 2014-06-06 Yao Qi <yao@codesourcery.com>
6383 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6384 readable, skip the test.
6386 2014-06-06 Yao Qi <yao@codesourcery.com>
6388 * gdb.threads/staticthreads.c (thread_function): Move the line
6389 setting breakpoint on forward.
6390 * gdb.threads/staticthreads.exp: Update comments.
6392 2014-06-05 Ludovic CourtĂšs <ludo@gnu.org>
6394 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6395 "history-append! type error".
6397 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6399 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6400 erroneous dprintf expected input.
6402 2014-06-04 Doug Evans <xdje42@gmail.com>
6404 * gdb.guile/scm-generics.exp: Delete.
6406 2014-06-04 Doug Evans <xdje42@gmail.com>
6408 * gdb.guile/scm-breakpoint.exp: Update.
6409 Add tests for breakpoint registration.
6411 2014-06-04 Tom Tromey <tromey@redhat.com>
6413 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6415 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6416 inner_vla_struct, vla_union types. Initialize objects of those
6417 types and compute their sizes.
6419 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6420 Hui Zhu <hui@codesourcery.com>
6422 * gdb.base/fileio.exp: Add test for shell not available as well as
6424 * gdb.base/fileio.c (test_system): Check for shell twice.
6426 2014-06-04 Yao Qi <yao@codesourcery.com>
6428 * gdb.base/auto-connect-native-target.exp: Remove redundant
6429 space from the regexp pattern.
6431 2014-06-04 Yao Qi <yao@codesourcery.com>
6433 * gdb.base/default.exp: Replace "child" with "native" in
6436 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6438 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6439 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6440 * gdb.python/py-xmethods.py: Python script supporting the
6441 new testcase and tests.
6443 2014-06-03 Joel Brobecker <brobecker@adacore.com>
6444 Pedro Alves <palves@redhat.com>
6446 PR breakpoints/17000
6447 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6448 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6450 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6452 * gdb.base/subst.exp: Add tests to verify partial path matching
6455 2014-06-03 Pedro Alves <palves@redhat.com>
6457 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6458 target that doesn't use software single-stepping.
6460 2014-06-03 Pedro Alves <palves@redhat.com>
6462 PR breakpoints/17000
6463 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6464 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6466 2014-06-02 Doug Evans <xdje42@gmail.com>
6468 * gdb.guile/scm-parameter.exp: New file.
6470 2014-06-02 Doug Evans <xdje42@gmail.com>
6472 * gdb.guile/scm-cmd.c: New file.
6473 * gdb.guile/scm-cmd.exp: New file.
6475 2014-06-02 Doug Evans <xdje42@gmail.com>
6477 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6478 pretty-printer lookup.
6479 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6480 (make-pp_s-printer): Call it.
6481 (make-pretty-printer-from-dict): New function.
6482 (lookup-pretty-printer-maker-from-dict): New function.
6483 (*pretty-printer*): Simplify.
6484 (make-objfile-pp_s-printer): New function.
6485 (install-objfile-pretty-printers!): New function.
6486 (make-progspace-pp_s-printer): New function.
6487 (install-progspace-pretty-printers!): New function.
6488 * gdb.guile/scm-progspace.c: New file.
6489 * gdb.guile/scm-progspace.exp: New file.
6491 2014-06-02 Pedro Alves <palves@redhat.com>
6493 * gdb.base/dprintf-bp-same-addr.c: New file.
6494 * gdb.base/dprintf-bp-same-addr.exp: New file.
6496 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6498 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6499 * gdb.arch/powerpc-power.s: Likewise.
6501 2014-06-02 Joel Brobecker <brobecker@adacore.com>
6503 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6505 2014-06-01 Yao Qi <yao@codesourcery.com>
6507 * gdb.base/watchpoint.exp (test_watch_location): Check null
6508 pointer can be dereferenced. If not, do the test, otherwise
6511 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6513 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6515 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6517 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6519 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6520 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6521 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6522 * gdb.arch/amd64-invalid-stack-top.c: New file.
6523 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6525 2014-05-30 Pedro Alves <palves@redhat.com>
6527 PR breakpoints/17000
6528 * gdb.base/sss-bp-on-user-bp.c: New file.
6529 * gdb.base/sss-bp-on-user-bp.exp: New file.
6531 2014-05-30 David Blaikie <dblaikie@gmail.com>
6533 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6534 gnu_inline semantics via attribute.
6535 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6536 source explicitly specifies the required semantics.
6538 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6540 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6542 2014-05-29 Pedro Alves <palves@redhat.com>
6543 Tom Tromey <tromey@redhat.com>
6545 * gdb.base/async-shell.exp: Don't enable target-async.
6546 * gdb.base/async.exp
6547 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6549 (top level): Don't test with "target-async".
6550 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6551 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6552 * gdb.base/inferior-died.exp: Don't enable target-async.
6553 * gdb.base/interrupt-noterm.exp: Likewise.
6554 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6555 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6556 * gdb.mi/mi-nonstop.exp: Likewise.
6557 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6558 * gdb.mi/mi-nsintrall.exp: Likewise.
6559 * gdb.mi/mi-nsmoribund.exp: Likewise.
6560 * gdb.mi/mi-nsthrexec.exp: Likewise.
6561 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6562 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6563 * gdb.python/py-evsignal.exp: Don't enable target-async.
6564 * gdb.python/py-evthreads.exp: Likewise.
6565 * gdb.python/py-prompt.exp: Likewise.
6566 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6567 * gdb.server/solib-list.exp: Don't enable target-async.
6568 * gdb.threads/thread-specific-bp.exp: Likewise.
6569 * lib/mi-support.exp: Adjust to use mi-async.
6571 2014-05-29 Pedro Alves <palves@redhat.com>
6574 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6575 reason, even in sync mode.
6577 2014-05-29 Pedro Alves <palves@redhat.com>
6578 Hui Zhu <hui@codesourcery.com>
6581 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6582 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6583 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6584 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6586 2014-05-28 Joel Brobecker <brobecker@adacore.com>
6588 * config/monitor.exp (gdb_target_monitor): Replace use of
6589 "set remotebaud" by "set serial baud".
6591 2014-05-26 Andy Wingo <wingo@igalia.com>
6593 * gdb.guile/scm-breakpoint.exp:
6594 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6595 properties instead of gdb-object-properties.
6597 2014-05-26 Yao Qi <yao@codesourcery.com>
6599 * gdb.server/no-thread-db.exp: Specify source file name
6600 explicitly when setting a breakpoint.
6602 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6604 * gdb.btrace/vdso.c: New.
6605 * gdb.btrace/vdso.exp: New.
6607 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6609 * gdb.base/gcore.exp (capture_command_output): Move ...
6610 * lib/gdb.exp (capture_command_output): ... here.
6612 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6614 * gdb.btrace/data.exp: Test memory access during btrace replay.
6616 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6618 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6620 2014-05-21 Pedro Alves <palves@redhat.com>
6623 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6624 (top level): Test that output related to execution commands is
6625 sent to the console with CLI commands, but not with MI commands.
6626 Test that breakpoint events are always mirrored to the console.
6627 Also expect the new source line to be output after a "next" in
6628 async mode too. Make it a pass/fail test.
6629 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6631 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6633 2014-05-21 Pedro Alves <palves@redhat.com>
6635 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6636 Use them to test variations of "list" after reaching a breakpoint.
6637 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6638 Test "list" with listsize 10 after reaching a breakpoint.
6639 * gdb.python/python.exp (decode_line current location line
6640 number): Adjust expected line number.
6642 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6644 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6645 behavior for $args, pass it directly to "run".
6647 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6649 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6652 2014-05-21 Pedro Alves <palves@redhat.com>
6654 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6655 auto-connect-native-target off".
6656 * gdb.base/auto-connect-native-target.c: New file.
6657 * gdb.base/auto-connect-native-target.exp: New file.
6659 2014-05-21 Pedro Alves <palves@redhat.com>
6661 * gdb.base/default.exp: Test "target native" instead of "target
6664 2014-05-21 Mark Wielaard <mjw@redhat.com>
6666 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6668 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6670 Fix TLS access for -static -pthread.
6671 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6672 <HAVE_TLS> (thread_function, main): Initialize it.
6673 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6675 <$have_tls != "">: Check TLSVAR.
6677 2014-05-21 Pedro Alves <palves@redhat.com>
6679 * gdb.base/dcache-line-read-error.c: New.
6680 * gdb.base/dcache-line-read-error.exp: New.
6682 2014-05-20 Pedro Alves <palves@redhat.com>
6684 * gdb.base/compare-sections.c: New file.
6685 * gdb.base/compare-sections.exp: New file.
6687 2014-05-20 Pedro Alves <palves@redhat.com>
6689 * gdb.base/break-idempotent.c: New file.
6690 * gdb.base/break-idempotent.exp: New file.
6692 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6694 * gdb.btrace/nohist.exp: New.
6696 2014-05-20 Yao Qi <yao@codesourcery.com>
6698 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6699 gdb.reverse directory and gdb_reverse_timeout exists in board
6701 * README: Document gdb_reverse_timeout.
6703 2014-05-20 Yao Qi <yao@codesourcery.com>
6705 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6706 'test_file_name'. Treat args as a string instead of a list.
6707 (gdb_init): Rename argument 'args' by 'test_file_name'.
6709 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6711 * gdb.arch/powerpc-power.exp: New file.
6712 * gdb.arch/powerpc-power.s: New file.
6714 2014-05-16 Doug Evans <dje@google.com>
6716 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
6717 * gdb.base/completion.exp: Check that all expected files exist
6718 before doing file completion.
6720 2014-05-16 Doug Evans <dje@google.com>
6722 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6724 (do_syscall_tests_without_xml): Update.
6726 2014-05-16 Pedro Alves <palves@redhat.com>
6728 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6729 instead of "unknown output after running".
6731 2014-05-16 Yao Qi <yao@codesourcery.com>
6733 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6734 file1.txt from host at the end.
6735 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6737 2014-05-15 Doug Evans <dje@google.com>
6739 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6740 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6741 loading file. Add test for TU lookup.
6743 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6745 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6746 calling "-exec-arguments" or "set args" before running the
6749 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6751 * lib/mi-support.exp (mi_expect_stop): Expect message for
6752 inferiors that exit with non-zero exit code.
6754 2014-05-14 Yao Qi <yao@codesourcery.com>
6756 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6757 match absolute path on remote host.
6758 (test_file_list_exec_source_files): Remove "/" from the
6761 2014-05-14 Yao Qi <yao@codesourcery.com>
6763 * boards/local-remote-host-notty.exp (${board}_file): New
6766 2014-05-07 Kyle McMartin <kyle@redhat.com>
6768 Pushed by Joel Brobecker <brobecker@adacore.com>.
6769 * gdb.arch/aarch64-atomic-inst.c: New file.
6770 * gdb.arch/aarch64-atomic-inst.exp: New file.
6772 2014-05-07 Yao Qi <yao@codesourcery.com>
6774 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6775 in current context" too.
6777 2014-05-05 Keith Seitz <keiths@redhat.com>
6779 * gdb.linespec/ls-dollar.exp: Add test for linespec
6780 file:convenience_variable.
6782 2014-05-05 Yao Qi <yao@codesourcery.com>
6784 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6785 traceframes into tfile and ctf trace files. Read data from
6786 trace file and test collected data.
6787 (gdb_collect_locals_test): Likewise.
6788 (gdb_unavailable_registers_test): Likewise.
6789 (gdb_unavailable_floats): Likewise.
6790 (gdb_collect_globals_test): Likewise.
6791 (top-level): Append "ctf" to trace_file_targets if GDB
6794 2014-05-05 Yao Qi <yao@codesourcery.com>
6796 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6798 (gdb_collect_args_test_1): ... it. New proc.
6799 (gdb_collect_locals_test): Move some code to ...
6800 (gdb_collect_locals_test_1): ... it. New proc.
6801 (gdb_unavailable_registers_test): Move some code to ...
6802 (gdb_unavailable_registers_test_1): ... it. New proc.
6803 (gdb_unavailable_floats): Move some code to ...
6804 (gdb_unavailable_floats_1): ... it. New proc.
6806 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6808 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6809 probes to test for bitness recognition.
6810 * gdb.arch/amd64-stap-optional-prefix.exp
6811 (test_probe_value_without_reg): New procedure.
6812 Add code to test for different kinds of bitness.
6814 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6816 PR breakpoints/16889
6817 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6818 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6820 2014-05-01 Pedro Alves <palves@redhat.com>
6822 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6823 gdb_file_cmd if no file is specified.
6824 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6825 last_loaded_file to set the remote exec-file.
6827 2014-05-01 Pedro Alves <palves@redhat.com>
6829 * boards/local-remote-host.exp: New file.
6831 2014-05-01 Pedro Alves <palves@redhat.com>
6833 * boards/local-remote-host.exp: Rename to ...
6834 * boards/local-remote-host-notty.exp: ... this.
6836 2014-04-28 Joel Brobecker <brobecker@adacore.com>
6838 * gdb.ada/dyn_arrayidx: New testcase.
6840 2014-04-26 Yao Qi <yao@codesourcery.com>
6842 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6843 and compute the length of function main. Save it in
6845 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6846 (top-level): Use gdb_compile to compile objects into
6847 executable and restart GDB. Remove invocation to
6848 prepare_for_testing.
6850 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6851 Pedro Alves <palves@redhat.com>
6854 * gdb.multi/multi-attach.c: New file.
6855 * gdb.multi/multi-attach.exp: New file.
6857 2014-04-25 Pedro Alves <palves@redhat.com>
6859 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6861 (top level): Test that "set remote conditional-breakpoints-packet
6862 off" works as intended.
6863 * gdb.base/dprintf.exp: Test that "set remote
6864 breakpoint-commands-packet off" works as intended.
6865 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6867 (top level): Call it.
6868 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6869 remote fast-tracepoints-packet off" works as intended.
6870 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6871 * lib/gdb.exp (gdb_is_target_remote): ... here.
6873 2014-04-24 David Blaikie <dblaikie@gmail.com>
6875 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6876 ensure clang would not discard them.
6877 * gdb.base/gdbvars.c: Ditto.
6878 * gdb.base/memattr.c: Ditto.
6879 * gdb.base/whatis.c: Ditto.
6880 * gdb.python/py-prettyprint.c: Ditto.
6881 * gdb.trace/actions.c: Ditto.
6882 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6883 ensure clang would not discard it.
6885 2014-04-24 David Blaikie <dblaikie@gmail.com>
6887 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6888 clang to emit the full definition of type required by the test
6889 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6891 2014-04-24 David Blaikie <dblaikie@gmail.com>
6893 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6894 coax Clang into emitting the definition of the type.
6895 * gdb.cp/pr10728-x.h (y): Ditto.
6896 * gdb.cp/pr10728-y.cc (y): Ditto.
6898 2014-04-24 David Blaikie <dblaikie@gmail.com>
6900 * gdb.base/label.exp: XFAIL label related tests under Clang.
6901 * gdb.cp/cplabel.exp: Ditto.
6902 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6903 under Clang those using labels.
6905 2014-04-25 Yao Qi <yao@codesourcery.com>
6907 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6909 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6910 partial_label and double_label.
6912 2014-04-24 David Blaikie <dblaikie@gmail.com>
6914 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6916 2014-04-24 David Blaikie <dblaikie@gmail.com>
6918 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6919 of the function to work across GCC and Clang.
6920 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6921 pointer types (const void ** const V void **).
6923 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
6924 Walfred Tedeschi <walfred.tedeschi@intel.com>
6926 * Makefile.in (EXECUTABLES): Added i386-avx512.
6927 * gdb.arch/i386-avx512.c: New file.
6928 * gdb.arch/i386-avx512.exp: Likewise.
6930 2014-04-23 Keith Seitz <keiths@redhat.com>
6932 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6933 (mi_make_breakpoint_table): New procedure.
6934 (mi_create_breakpoint): Use mi_make_breakpoint
6935 and return the result.
6936 (mi_make_breakpoint): New procedure.
6937 (mi_build_kv_pairs): New procedure.
6939 * gdb.mi/mi-break.exp: Remove unused globals,
6940 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6941 All callers updated.
6942 * gdb.mi/mi-dprintf.exp: Use variable to track command
6944 Update all callers of mi_create_breakpoint and use
6945 mi_make_breakpoint_table.
6946 Remove any unused global variables.
6947 * gdb.mi/mi-nonstop.exp: Likewise.
6948 * gdb.mi/mi-nsintrall.exp: Likewise.
6949 * gdb.mi/mi-nsmoribund.exp: Likewise.
6950 * gdb.mi/mi-nsthrexec.exp: Likewise.
6951 * gdb.mi/mi-reverse.exp: Likewise.
6952 * gdb.mi/mi-simplerun.exp: Likewise.
6953 * gdb.mi/mi-stepn.exp: Likewise.
6954 * gdb.mi/mi-syn-frame.exp: Likewise.
6955 * gdb.mi/mi-until.exp: Likewise.
6956 * gdb.mi/mi-var-cp.exp: Likewise.
6957 * gdb.mi/mi-var-display.exp: Likewise.
6958 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6959 * gdb.mi/mi2-var-child.exp: Likewise.
6960 * gdb.mi/mi-vla-c99.exp: Likewise.
6961 * lib/mi-support.exp: Likewise.
6963 From Ian Lance Taylor <iant@cygnus.com>:
6964 * lib/gdb.exp (parse_args): New procedure.
6966 2014-04-23 Pedro Alves <palves@redhat.com>
6968 * gdb.base/break-unload-file.c: New file.
6969 * gdb.base/break-unload-file.exp: New file.
6970 * gdb.base/sym-file-lib.c (baz): New function.
6971 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6973 (load): Store the segment's mapped size.
6974 (unload): New function.
6975 (unload_shlib): New function.
6976 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6977 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6978 set a breakpoint at baz, and call it.
6979 * gdb.base/sym-file.exp: New tests for stale breakpoint
6982 2014-04-23 Pedro Alves <palves@redhat.com>
6984 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6985 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6986 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6987 * gdb.base/hbreak-unmapped.c: New file.
6988 * gdb.base/hbreak-unmapped.exp: New file.
6989 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6990 * lib/gdb.exp (gdb_is_target_remote): ... here.
6992 2014-04-22 Pedro Alves <palves@redhat.com>
6994 * gdb.base/consecutive-step-over.c: New file.
6995 * gdb.base/consecutive-step-over.exp: New file.
6997 2014-04-22 Pedro Alves <palves@redhat.com>
6999 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7000 instead of send_gdb/gdb_expect.
7002 2014-04-22 Yao Qi <yao@codesourcery.com>
7004 * lib/trace-support.exp (generate_tracefile): New procedure.
7005 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7007 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7008 if generate_tracefile returns 1.
7010 2014-04-18 Tom Tromey <palves@redhat.com>
7011 Pedro alves <tromey@redhat.com>
7014 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7015 with a backtrace limit.
7016 * gdb.python/py-frame-inline.exp: Test running to an inline
7017 function with a backtrace limit, and printing the newest frame.
7018 * gdb.python/py-frame-inline.c (main): Call f.
7020 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7022 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7024 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7026 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7027 Drop prefix from unsupported source file path.
7029 2014-04-17 Yao Qi <yao@codesourcery.com>
7031 * lib/gdb.exp (with_target_charset): New proc.
7032 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7033 with_target_charset.
7034 (test_print_strings): Likewise.
7035 (test_repeat_bytes): Likewise.
7036 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7039 2014-04-16 Keith Seitz <keiths@redhat.com>
7042 * gdb.dwarf2/corrupt.c: New file.
7043 * gdb.dwarf2/corrupt.exp: New file.
7045 2014-04-16 Keith Seitz <keiths@redhat.com>
7048 * gdb.cp/namelessclass.cc: New file.
7049 * gdb.cp/namelessclass.exp: New file.
7050 * gdb.cp/namelessclass.S: New file.
7052 2014-04-16 Doug Evans <dje@google.com>
7054 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7056 (gdbserver_default_get_comm_port): New function.
7057 (gdbserver_start): Check if board file provided
7058 "gdbserver,get_comm_port" and use it if so.
7059 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7060 (gdb,socketport): Set to "stdio".
7061 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7062 (stdio_gdbserver_template): Delete.
7063 (${board}_get_remote_address): Update.
7064 (${board}_build_remote_cmd): Delete.
7065 (${board}_get_comm_port): New function.
7066 (${board}_spawn): Update.
7067 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7069 (${board}_get_remote_address): Update.
7070 (${board}_get_comm_port): New function.
7072 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
7074 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7075 appearing in any order.
7077 2014-04-15 Doug Evans <dje@google.com>
7079 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7080 uninitialized value of "description".
7082 2014-04-15 Keith Seitz <keiths@redhat.com>
7084 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7085 Remove unused globals.
7086 (test_running_the_program): Likewise.
7087 (test_controlled_execution): Likewise.
7088 (test_controlling_breakpoints): Likewise.
7089 (test_program_termination): Likewise.
7091 2014-04-15 Keith Seitz <keiths@redhat.com>
7093 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7095 (test_rbreak_creation_and_listing): Likewise.
7096 (test_ignore_count): Likewise.
7097 (test_error): Likewise.
7099 2014-04-15 Pedro Alves <palves@redhat.com>
7101 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7102 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7104 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7105 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7106 to sym-file-loader.c.
7107 (struct library): Forward declare.
7108 (load_shlib, lookup_function): Change prototypes.
7109 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7110 (translate_offset): Remove declarations.
7111 (get_text_addr): New declaration.
7112 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7113 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7115 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7116 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7117 here from sym-file-loader.h.
7118 (struct library): New structure.
7119 (load_shlib, lookup_function): Change prototypes and adjust to
7120 work with a struct library.
7121 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7122 (translate_offset): Make static.
7123 (get_text_addr): New function.
7124 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7126 2014-04-15 Pedro Alves <palves@redhat.com>
7128 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7130 2014-04-15 Pedro Alves <palves@redhat.com>
7132 * gdb.base/sym-file-loader.c: Include <limits.h>.
7133 (SELF_LINK): New define.
7134 (get_origin): New function.
7135 (load_shlib): Use it.
7136 * gdb.base/sym-file.exp: Don't early return if the target is
7137 remote. Use runto_main, and issue fail is that fails. Use
7139 (shlib_name): Delete.
7140 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7142 2014-04-15 Pedro Alves <palves@redhat.com>
7144 * gdb.base/sym-file.exp: Remove regex characters from test
7145 message. Don't refer to breakpoint numbers in test messages.
7147 2014-04-14 Keith Seitz <keiths@redhat.com>
7150 * gdb.cp/var-tag.cc: New file.
7151 * gdb.cp/var-tag.exp: New file.
7152 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7153 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7154 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7155 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7157 2014-04-14 Tom Tromey <tromey@redhat.com>
7159 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7160 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7162 * gdb.cp/enum-class.exp: New file.
7163 * gdb.cp/enum-class.cc: New file.
7165 2014-04-14 Tom Tromey <tromey@redhat.com>
7167 * gdb.dwarf2/enum-type.exp: New file.
7169 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7171 * gdb.mi/mi-vla-c99.exp: New file.
7172 * gdb.mi/vla.c: New file.
7174 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7176 * gdb.base/vla-datatypes.c: New file.
7177 * gdb.base/vla-datatypes.exp: New file.
7179 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7181 * gdb.base/vla-ptr.c: New file.
7182 * gdb.base/vla-ptr.exp: New file.
7184 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7186 * gdb.dwarf2/count.exp: New file.
7188 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7190 * gdb.base/vla-sideeffect.c: New file.
7191 * gdb.base/vla-sideeffect.exp: New file.
7193 2014-04-14 David Blaikie <dblaikie@gmail.com>
7195 * gdb.mi/non-stop.c: Add return value for non-void function return
7197 * gdb.threads/staticthreads.c: Ditto.
7199 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7200 Doug Evans <xdje42@gmail.com>
7202 * gdb.guile/scm-value.c: Improve test case.
7203 * gdb.guile/scm-value.exp: Add new test.
7205 2014-04-11 David Blaikie <dblaikie@gmail.com>
7207 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7208 override Clang's default.
7210 2014-04-11 Joel Brobecker <brobecker@adacore.com>
7212 Revert the following changes (regressions):
7214 * gdb.base/vla-sideeffect.c: New file.
7215 * gdb.base/vla-sideeffect.exp: New file.
7217 * gdb.dwarf2/count.exp: New file.
7219 * gdb.base/vla-multi.c: New file.
7220 * gdb.base/vla-multi.exp: New file.
7222 * gdb.base/vla-ptr.c: New file.
7223 * gdb.base/vla-ptr.exp: New file.
7225 * gdb.base/vla-datatypes.c: New file.
7226 * gdb.base/vla-datatypes.exp: New file.
7228 * gdb.mi/mi-vla-c99.exp: New file.
7229 * gdb.mi/vla.c: New file.
7231 2014-04-11 Keith Seitz <keiths@redhat.com>
7234 * gdb.cp/cpsizeof.exp: New file.
7235 * gdb.cp/cpsizeof.cc: New file.
7237 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7239 * gdb.mi/mi-vla-c99.exp: New file.
7240 * gdb.mi/vla.c: New file.
7242 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7244 * gdb.base/vla-datatypes.c: New file.
7245 * gdb.base/vla-datatypes.exp: New file.
7247 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7249 * gdb.base/vla-ptr.c: New file.
7250 * gdb.base/vla-ptr.exp: New file.
7252 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7254 * gdb.base/vla-multi.c: New file.
7255 * gdb.base/vla-multi.exp: New file.
7257 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7259 * gdb.dwarf2/count.exp: New file.
7261 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7263 * gdb.base/vla-sideeffect.c: New file.
7264 * gdb.base/vla-sideeffect.exp: New file.
7266 2014-04-11 Yao Qi <yao@codesourcery.com>
7268 * gdb.base/completion.exp: Check file exists before running tests
7271 2014-04-10 Pedro Alves <palves@redhat.com>
7273 * gdb.base/cond-eval-mode.c: New file.
7274 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7275 prepare_for_testing to build the new file. Check result of
7277 (test_break, test_watch): New procedures.
7278 (top level): Use them.
7280 2014-04-08 Pierre Muller <muller@sourceware.org>
7282 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7283 Ctrl-V use for mingw hosts.
7285 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7287 * gdb.python/py-value.c: Improve test case.
7288 * gdb.python/py-value.exp: Add new test.
7290 2014-04-07 David Blaikie <dblaikie@gmail.com>
7292 * lib/compiler.c: Identify the clang compiler.
7293 * lib/compiler.cc: Ditto.
7295 2014-04-03 Yao Qi <yao@codesourcery.com>
7297 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7299 2014-04-01 Anton Blanchard <anton@samba.org>
7301 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7304 2014-04-01 Anton Blanchard <anton@samba.org>
7306 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7307 prepare_for_testing.
7309 2014-04-01 Anton Blanchard <anton@samba.org>
7311 * gdb.arch/ppc64-atomic-inst.c: Remove.
7312 * gdb.arch/ppc64-atomic-inst.S: New file.
7313 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7315 2014-03-31 Doug Evans <dje@google.com>
7317 * gdb.base/print-symbol-loading-lib.c: New file.
7318 * gdb.base/print-symbol-loading-main.c: New file.
7319 * gdb.base/print-symbol-loading.exp: New file.
7321 2014-03-31 Yao Qi <yao@codesourcery.com>
7323 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7325 2014-03-28 Joel Brobecker <brobecker@adacore.com>
7327 * gdb.ada/mi_dyn_arr: New testcase.
7329 2014-03-27 Doug Evans <dje@google.com>
7331 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7333 2014-03-27 Yao Qi <yao@codesourcery.com>
7335 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7336 if target is nios2-*-*.
7338 2014-03-26 Yao Qi <yao@codesourcery.com>
7340 * lib/gdb.exp (readline_is_used): New proc.
7341 * gdb.base/completion.exp: Move tests on command complete up.
7342 Skip the rest of tests if readline is not used.
7343 * gdb.ada/complete.exp: Skp the test if readline is not
7345 * gdb.base/filesym.exp: Likewise.
7346 * gdb.base/macscp.exp: Likewise.
7347 * gdb.base/readline-ask.exp: Likewise.
7348 * gdb.base/readline.exp: Likewise.
7349 * gdb.python/py-cmd.exp: Likewise.
7350 * gdb.trace/tfile.exp: Likewise.
7352 2014-03-26 Yao Qi <yao@codesourcery.com>
7354 * gdb.base/macscp.exp: Fix code format issues.
7356 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7358 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7359 * gdb.asm/powerpc64le.inc: New file.
7361 2014-03-25 Pedro Alves <palves@redhat.com>
7362 Doug Evans <dje@google.com>
7364 * gdb.base/source-execution.c: New file.
7365 * gdb.base/source-execution.exp: New file.
7366 * gdb.base/source-execution.gdb: New file.
7368 2014-03-24 Doug Evans <dje@google.com>
7370 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7373 2014-03-24 Hui Zhu <hui@codesourcery.com>
7374 Pedro Alves <palves@redhat.com>
7376 PR breakpoints/16101
7377 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7378 test pass/fail messages. Detect missing support for dprintf when
7379 breakpoints are actually inserted.
7380 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7381 breakpoints are actually inserted.
7382 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7385 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7387 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7389 2014-03-22 Doug Evans <xdje42@gmail.com>
7391 * gdb.python/python.exp (python not supported): Verify multi-line
7392 python command issues an error.
7393 * gdb.guile/guile.exp (guile not supported): Verify multi-line
7394 guile command issues an error.
7396 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7398 * gdb.threads/thread-specific.exp: Handle the lack of usable
7399 $this_breakpoint and $this_thread.
7401 2014-03-21 Hui Zhu <hui@codesourcery.com>
7403 * gdb.base/attach.exp (do_command_attach_tests): New.
7405 2014-03-20 Tom Tromey <tromey@redhat.com>
7406 Pedro Alves <palves@redhat.com>
7409 * gdb.base/condbreak-call-false.c: New file.
7410 * gdb.base/condbreak-call-false.exp: New file.
7412 2014-03-20 Pedro Alves <palves@redhat.com>
7414 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7416 (block_signals, unblock_signals): Delete.
7417 (child_function_2, main): Remove references to deleted variable
7420 2014-03-20 Pedro Alves <palves@redhat.com>
7422 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7423 Use pthread_kill to signal thread 2.
7424 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7425 Adjust to make the test send itself a signal rather than using the
7426 host's "kill" command.
7428 2014-03-20 Pedro Alves <palves@redhat.com>
7430 * gdb.threads/multiple-step-overs.c: New file.
7431 * gdb.threads/multiple-step-overs.exp: New file.
7432 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7433 Adjust expected infrun debug output.
7435 2014-03-20 Pedro Alves <palves@redhat.com>
7437 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7438 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7440 2014-03-20 Pedro Alves <palves@redhat.com>
7443 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7444 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7445 of gdb_test_multiple.
7446 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7447 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7449 2014-03-20 Pedro Alves <palves@redhat.com>
7451 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7452 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7454 2014-03-19 Pedro Alves <palves@redhat.com>
7456 * gdb.base/async.exp: Remove early return.
7458 2014-03-19 Pedro Alves <palves@redhat.com>
7460 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7462 2014-03-19 Pedro Alves <palves@redhat.com>
7464 * gdb.base/async.exp (test_background): Expect \r\n after
7465 "completed." in the fail pattern.
7467 2014-03-19 Pedro Alves <palves@redhat.com>
7469 * gdb.base/async.exp (test_background): New procedure.
7470 Use it for all background execution command tests.
7472 2014-03-19 Pedro Alves <palves@redhat.com>
7474 * gdb.base/async.exp: Use prepare_for_testing.
7476 2014-03-19 Pedro Alves <palves@redhat.com>
7478 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7481 2014-03-19 Pedro Alves <palves@redhat.com>
7483 * gdb.base/async.c (main): Add "jump here" and "until here" line
7485 * gdb.base/async.exp (jump_here): New global.
7486 (jump& test): Use it.
7487 (until_here): New global.
7488 (until& test): Use it.
7490 2014-03-19 Pedro Alves <palves@redhat.com>
7492 * gdb.base/async.exp: Don't frob gdb_protocol.
7494 2014-03-18 Doug Evans <xdje42@gmail.com>
7496 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7497 Fix spelling of exec-done-display.
7499 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7502 * gdb.base/gdb-sigterm.c: New file.
7503 * gdb.base/gdb-sigterm.exp: New file.
7505 2014-03-18 Pedro Alves <palves@redhat.com>
7508 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7509 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7512 2014-03-17 Joel Brobecker <brobecker@adacore.com>
7514 * gdb.ada/pckd_arr_ren: New testcase.
7516 2014-03-13 Doug Evans <xdje42@gmail.com>
7519 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7520 collect after discarding symbols.
7522 2014-03-13 Ludovic CourtĂšs <ludo@gnu.org>
7523 Doug Evans <xdje42@gmail.com>
7525 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7526 to history survives a gc.
7528 2014-03-13 Pedro Alves <palves@redhat.com>
7530 * gdb.base/default.exp: Don't test "target procfs".
7532 2014-03-13 Pedro Alves <palves@redhat.com>
7534 * gdb.base/default.exp: Update "target child" and "target procfs"
7535 tests to not expect "Unix".
7537 2014-03-12 Tom Tromey <tromey@redhat.com>
7539 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7540 New procs. Add target-async tests.
7541 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7542 Add target-async tests.
7544 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7546 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7547 'func_start' and 'func_end' for the beginning and end of the
7548 function code, respectively.
7549 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7550 'func_end' instead of 'func' and 'main'.
7552 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7554 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7555 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7556 generate the debug info assembler source.
7558 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7560 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7561 * gdb.dwarf2/arr-subrange.exp: Likewise.
7562 * gdb.dwarf2/dwz.exp: Likewise.
7563 * gdb.dwarf2/method-ptr.exp: Likewise.
7564 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7565 * gdb.dwarf2/subrange.exp: Likewise.
7566 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7567 * gdb.dwarf2/implptrpiece.exp: Likewise.
7568 * gdb.dwarf2/nostaticblock.exp: Likewise.
7570 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7572 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7573 directory to absolute path name arguments.
7575 2014-03-10 Joel Brobecker <brobecker@adacore.com>
7577 * gdb.ada/tagged_access: New testcase.
7579 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7581 * gdb.btrace/data.exp: Update expected output.
7583 2014-03-06 Yao Qi <yao@codesourcery.com>
7585 * gdb.trace/pr16508.exp: New file.
7587 2014-03-05 Pedro Alves <palves@redhat.com>
7590 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7592 (top level): Adjust to use it. Add tests that exercise breakpoint
7593 interaction with the code-cache.
7595 2014-02-26 Ludovic CourtĂšs <ludo@gnu.org>
7597 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7598 test for 'history-append!'.
7600 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7602 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7603 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7604 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7605 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7606 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7607 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7609 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7611 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7612 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7613 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7615 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7617 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7619 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7621 * gdb.dwarf2/arr-stride.c: New file.
7622 * gdb.dwarf2/arr-stride.exp: New file.
7624 2014-02-26 Pedro Alves <palves@redhat.com>
7626 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7627 that won't ever trigger. Make sure that GDB reports the correct
7628 breakpoint that caused the stop.
7630 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7633 * gdb.base/auto-load-script: New file.
7634 * gdb.base/auto-load.c: New file.
7635 * gdb.base/auto-load.exp: New file.
7638 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7640 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7642 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7643 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7645 2014-02-24 Doug Evans <dje@google.com>
7647 * lib/gdb.exp (run_on_host): Log error output if program fails.
7649 2014-02-21 Pedro Alves <palves@redhat.com>
7651 * gdb.threads/step-after-sr-lock.c: Rename to ...
7652 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7653 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7654 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7657 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7660 * gdb.arch/amd64-stap-special-operands.exp: New file.
7661 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7662 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7663 * gdb.arch/amd64-stap-triplet.S: Likewise.
7664 * gdb.arch/amd64-stap-triplet.c: Likewise.
7666 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7668 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7669 in .section pseudo-op.
7671 2014-02-20 lin zuojian <manjian2006@gmail.com>
7672 Joel Brobecker <brobecker@adacore.com>
7673 Doug Evans <xdje42@gmail.com>
7676 * gdb.dwarf2/dw2-icycle.S: New file.
7677 * gdb.dwarf2/dw2-icycle.c: New file.
7678 * gdb.dwarf2/dw2-icycle.exp: New file.
7680 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7682 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7683 operations on gdb.Value objects.
7684 * gdb.python/py-value-cc.exp: Add new test to test operations on
7687 2014-02-18 Doug Evans <dje@google.com>
7689 * Makefile.in (TESTS): New variable.
7690 (expanded_tests, expanded_tests_or_none): New variables
7691 (check-single): Pass $(expanded_tests_or_none) to runtest.
7692 (check-parallel): Only run tests in $(TESTS) if non-empty.
7693 (check/no-matching-tests-found): New rule.
7694 * README: Document TESTS makefile variable.
7696 2014-02-18 Doug Evans <dje@google.com>
7698 * Makefile.in (check-parallel): rm -rf outputs temp.
7700 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7702 Fix "ERROR: no fileid for" in the testsuite.
7703 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7705 2014-02-12 Doug Evans <dje@google.com>
7707 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7708 (MISCELLANEOUS): New variable.
7709 (clean): rm -rf $(MISCELLANEOUS).
7710 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7711 dwp live in the same directory as symlinks, with each symlink pointed
7712 to a differently named file in a different directory.
7714 2014-02-11 Doug Evans <dje@google.com>
7716 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7717 of Tcl file commands.
7719 2014-02-10 Mark Kettenis <kettenis@gnu.org>
7721 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7724 2014-02-10 Joel Brobecker <brobecker@adacore.com>
7726 * gdb.ada/tick_length_array_enum_idx: New testcase.
7728 2014-02-10 Doug Evans <xdje42@gmail.com>
7730 * configure.ac (AC_OUTPUT): Add gdb.guile.
7731 * configure: Regenerate.
7732 * lib/gdb-guile.exp: New file.
7733 * lib/gdb.exp (get_target_charset): New function.
7734 * gdb.base/help.exp: Update expected output from "apropos apropos".
7735 * gdb.guile/Makefile.in: New file.
7736 * gdb.guile/guile.exp: New file.
7737 * gdb.guile/scm-arch.c: New file.
7738 * gdb.guile/scm-arch.exp: New file.
7739 * gdb.guile/scm-block.c: New file.
7740 * gdb.guile/scm-block.exp: New file.
7741 * gdb.guile/scm-breakpoint.c: New file.
7742 * gdb.guile/scm-breakpoint.exp: New file.
7743 * gdb.guile/scm-disasm.c: New file.
7744 * gdb.guile/scm-disasm.exp: New file.
7745 * gdb.guile/scm-equal.c: New file.
7746 * gdb.guile/scm-equal.exp: New file.
7747 * gdb.guile/scm-error.exp: New file.
7748 * gdb.guile/scm-error.scm: New file.
7749 * gdb.guile/scm-frame-args.c: New file.
7750 * gdb.guile/scm-frame-args.exp: New file.
7751 * gdb.guile/scm-frame-args.scm: New file.
7752 * gdb.guile/scm-frame-inline.c: New file.
7753 * gdb.guile/scm-frame-inline.exp: New file.
7754 * gdb.guile/scm-frame.c: New file.
7755 * gdb.guile/scm-frame.exp: New file.
7756 * gdb.guile/scm-generics.exp: New file.
7757 * gdb.guile/scm-gsmob.exp: New file.
7758 * gdb.guile/scm-iterator.c: New file.
7759 * gdb.guile/scm-iterator.exp: New file.
7760 * gdb.guile/scm-math.c: New file.
7761 * gdb.guile/scm-math.exp: New file.
7762 * gdb.guile/scm-objfile-script-gdb.in: New file.
7763 * gdb.guile/scm-objfile-script.c: New file.
7764 * gdb.guile/scm-objfile-script.exp: New file.
7765 * gdb.guile/scm-objfile.c: New file.
7766 * gdb.guile/scm-objfile.exp: New file.
7767 * gdb.guile/scm-ports.exp: New file.
7768 * gdb.guile/scm-pretty-print.c: New file.
7769 * gdb.guile/scm-pretty-print.exp: New file.
7770 * gdb.guile/scm-pretty-print.scm: New file.
7771 * gdb.guile/scm-section-script.c: New file.
7772 * gdb.guile/scm-section-script.exp: New file.
7773 * gdb.guile/scm-section-script.scm: New file.
7774 * gdb.guile/scm-symbol.c: New file.
7775 * gdb.guile/scm-symbol.exp: New file.
7776 * gdb.guile/scm-symtab-2.c: New file.
7777 * gdb.guile/scm-symtab.c: New file.
7778 * gdb.guile/scm-symtab.exp: New file.
7779 * gdb.guile/scm-type.c: New file.
7780 * gdb.guile/scm-type.exp: New file.
7781 * gdb.guile/scm-value-cc.cc: New file.
7782 * gdb.guile/scm-value-cc.exp: New file.
7783 * gdb.guile/scm-value.c: New file.
7784 * gdb.guile/scm-value.exp: New file.
7785 * gdb.guile/source2.scm: New file.
7786 * gdb.guile/types-module.cc: New file.
7787 * gdb.guile/types-module.exp: New file.
7789 2014-02-10 Yao Qi <yao@codesourcery.com>
7792 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7793 * configure: Regenerated.
7794 * Makefile.in: New file.
7796 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7798 * gdb.python/py-framefilter.exp: Fix typo.
7800 2014-02-08 Yao Qi <yao@codesourcery.com>
7802 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7803 that no =breakpoint-modified is emitted when breakpoints are
7804 modified through MI commands.
7806 2014-02-07 Pedro Alves <pedro@codesourcery.com>
7807 Pedro Alves <palves@redhat.com>
7809 * gdb.threads/step-after-sr-lock.c: New file.
7810 * gdb.threads/step-after-sr-lock.exp: New file.
7812 2014-02-07 Pedro Alves <palves@redhat.com>
7814 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7816 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7818 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7819 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7821 2014-02-06 Doug Evans <xdje42@gmail.com>
7823 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7826 * gdb.gdb/python-interrupts.exp: New file.
7828 2014-02-05 Yao Qi <yao@codesourcery.com>
7830 * gdb.trace/report.exp (use_collected_data): Test the output
7831 of "info threads" and "info inferiors".
7833 2014-02-05 Yao Qi <yao@codesourcery.com>
7837 2013-05-24 Yao Qi <yao@codesourcery.com>
7839 * gdb.trace/tfile.exp: Test inferior and thread.
7841 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7843 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7845 * gdb.base/step-bt.c: Call hello via function pointer to make
7846 sure its first instruction is executed on powerpc64le-linux.
7848 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7850 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7852 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7854 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7855 of the test patterns for use on little-endian systems.
7857 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7859 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7860 (decimal_vector): Fix for little-endian.
7862 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7864 * gdb.arch/sparc-sysstep.exp: New file.
7865 * gdb.arch/sparc-sysstep.c: Likewise.
7867 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7869 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7871 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7873 2014-01-23 Tom Tromey <tromey@redhat.com>
7875 * gdb.ada/array_char_idx: New testcase.
7877 2014-01-23 Tom Tromey <tromey@redhat.com>
7880 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7881 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7884 2014-01-23 Tom Tromey <tromey@redhat.com>
7887 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7888 string from an inferior frame.
7889 * gdb.python/py-framefilter-mi.exp: Update.
7891 2014-01-22 Doug Evans <dje@google.com>
7893 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7895 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7897 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7899 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7901 * gdb.trace/entry-values.exp: Remove excess space character from
7902 regex patterns. Handle s390 call instruction.
7904 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7906 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7907 define "*_start" label. Make "name" static.
7908 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7909 ${name} by references to ${name}_start.
7911 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7913 * gdb.base/info-macros.exp: Remove "debug" from the compile
7916 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7918 * gdb.dlang/demangle.exp: New file.
7920 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7922 * gdb.dlang/primitive-types.exp: New file.
7924 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7926 * configure.ac: Create gdb.dlang/Makefile.
7927 * configure: Regenerate.
7928 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7929 * gdb.dlang/Makefile.in: New file.
7930 * lib/d-support.exp: New file.
7931 * lib/gdb.exp (skip_d_tests): New proc.
7933 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7935 * gdb.btrace/delta.exp: Check reverse stepi.
7936 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7937 * gdb.btrace/finish.exp: New.
7938 * gdb.btrace/next.exp: New.
7939 * gdb.btrace/nexti.exp: New.
7940 * gdb.btrace/record_goto.c: Add comments.
7941 * gdb.btrace/step.exp: New.
7942 * gdb.btrace/stepi.exp: New.
7943 * gdb.btrace/multi-thread-step.c: New.
7944 * gdb.btrace/multi-thread-step.exp: New.
7945 * gdb.btrace/rn-dl-bind.c: New.
7946 * gdb.btrace/rn-dl-bind.exp: New.
7947 * gdb.btrace/data.c: New.
7948 * gdb.btrace/data.exp: New.
7949 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7951 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7953 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7954 * gdb.btrace/exception.exp: Update.
7955 * gdb.btrace/instruction_history.exp: Update.
7956 * gdb.btrace/record_goto.exp: Update.
7957 * gdb.btrace/tailcall.exp: Update.
7958 * gdb.btrace/unknown_functions.exp: Update.
7959 * gdb.btrace/delta.exp: New.
7961 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7963 * gdb.btrace/record_goto.exp: Add backtrace test.
7964 * gdb.btrace/tailcall.exp: Add backtrace test.
7966 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7968 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7969 * gdb.btrace/record_goto.c: New.
7970 * gdb.btrace/record_goto.exp: New.
7971 * gdb.btrace/x86-record_goto.S: New.
7973 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7975 * gdb.btrace/function_call_history.exp: Update tests.
7976 * gdb.btrace/instruction_history.exp: Update tests.
7978 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7980 * gdb.btrace/function_call_history.exp: Fix expected field
7981 order for "record function-call-history".
7982 Add new tests for "record function-call-history /c".
7983 * gdb.btrace/exception.cc: New.
7984 * gdb.btrace/exception.exp: New.
7985 * gdb.btrace/tailcall.exp: New.
7986 * gdb.btrace/x86-tailcall.S: New.
7987 * gdb.btrace/x86-tailcall.c: New.
7988 * gdb.btrace/unknown_functions.c: New.
7989 * gdb.btrace/unknown_functions.exp: New.
7990 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7992 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7994 * gdb.btrace/instruction_history.exp: Update.
7995 * gdb.btrace/function_call_history.exp: Update.
7997 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7999 * gdb.btrace/function_call_history.exp: Fix expected function
8001 * gdb.btrace/instruction_history.exp: Initialize traced.
8002 Remove traced_functions.
8004 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8006 * gdb.btrace/function_call_history.exp: Update
8007 * gdb.btrace/instruction_history.exp: Update.
8009 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8011 * gdb.btrace/enable.exp: Update expected text.
8013 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8015 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8018 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8020 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8022 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
8024 * lib/gdb.exp (supports_process_record): Return true for
8025 arm*-linux*. (supports_reverse): Likewise.
8027 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8031 * gdb.python/py-type.c: Enhance test case.
8032 * gdb.python/py-value-cc.cc: Likewise
8033 * gdb.python/py-type.exp: Add new tests.
8034 * gdb.python/py-value-cc.exp: Likewise
8036 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8037 Pedro Alves <palves@redhat.com>
8039 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8041 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8042 references to ${name}_start by references to ${name}.
8044 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8046 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8048 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8050 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8052 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8053 Pedro Alves <palves@redhat.com>
8055 * gdb.mi/mi-info-os.exp: Connect to the target with
8058 2014-01-08 Pedro Alves <palves@redhat.com>
8060 * gdb.threads/reconnect-signal.c: New file.
8061 * gdb.threads/reconnect-signal.exp: New file.
8063 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8065 * gdb.base/source-dir.exp: New file.
8067 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8069 * gdb.ada/mi_interface: New testcase.
8071 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8073 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8074 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8075 gdb.ada/pp-rec-component/pck.ads: New files.
8077 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8079 * gdb.python/py-pp-integral.c: New file.
8080 * gdb.python/py-pp-integral.py: New file.
8081 * gdb.python/py-pp-integral.exp: New file.
8083 For older changes see ChangeLog-1993-2013.
8089 ;; version-control: never
8092 Copyright 2014-2016 Free Software Foundation, Inc.
8093 Copying and distribution of this file, with or without modification,
8094 are permitted provided the copyright notice and this notice are preserved.