1 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
3 * gdb.dwarf2/implref.exp: New file.
5 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
7 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
8 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
9 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
10 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
11 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
12 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
13 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
14 * lib/fortran.exp (fortran_int4): New procedure.
15 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
16 (fortran_logical4): Likewise.
18 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
20 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
22 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
24 * lib/compiler.c: Add Intel specific preprocessor macros.
25 * lib/compiler.cc: Likewise.
27 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
29 * gdb.server/connect-with-no-symbol-file.c: New file.
30 * gdb.server/connect-with-no-symbol-file.exp: New file.
32 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
34 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
36 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
38 * boards/gdbserver-base.exp (${board}_download): Copy source file to
39 standard output directory.
41 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
43 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
45 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
47 * gdb.btrace/instruction_history.c (loop): Add declaration.
49 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
51 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
53 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
55 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
57 (continue_handler): Likewise.
59 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
61 * gdb.server/solib-list.exp: Remove is_remote check.
62 Pass shlib= to gdb_compile. Don't link shared library with
63 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
64 Run binary filename through "readlink -f" on the target.
66 2016-04-08 Pedro Alves <palves@redhat.com>
68 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
69 interpreter filename as argument to gdbserver_spawn.
70 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
71 Return empty if $last_loaded_file does not exist.
73 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
75 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
76 * gdb.base/jit-main.c: Use exit after usage.
78 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
80 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
81 GDBHISTSIZE prior to the tests.
82 * gdb.base/gdbinit-history.exp: Likewise.
84 2016-04-07 Pedro Alves <palves@redhat.com>
86 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
87 instead of build_executable. Use gdb_load_shlibs.
89 2016-04-07 Yao Qi <yao.qi@linaro.org>
91 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
94 2016-04-07 Yao Qi <yao.qi@linaro.org>
96 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
97 number instead of the comments on some line.
99 2016-04-06 Don Breazeal <donb@codesourcery.com>
101 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
102 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
104 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
106 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
107 standard_output_file. Remove unused binfile variable.
109 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
111 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
112 * gdb.python/py-mi-objfile.exp: Match "list main" output
115 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
117 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
120 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
122 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
124 * gdb.trace/ftrace.exp: Likewise.
125 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
127 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
128 (gdb_load_shlibs): Copy libraries to test directory when testing
129 natively. Only set solib-search-path if testing remotely.
130 * lib/mi-support.exp (mi_load_shlibs): Likewise.
132 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
134 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
135 gdb_download. Use it even if the target is not remote.
136 * gdb.base/jit.exp (compile_jit_test): Likewise.
137 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
138 output directory if the destination board is local, otherwise use
139 the standard remote_download from DejaGnu.
140 (gdb_download): Remove.
141 (gdb_load_shlibs): Use gdb_remote_download instead of
143 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
144 Use gdb_remote_download instead of gdb_download. Use it even if
145 the target is not remote.
146 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
147 instead of gdb_download.
149 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
151 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
152 (test_insert_delete_modify): Call mi_load_shlibs before trying to
155 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
158 * gdb.base/printcmds.exp: Add artificial arrays tests.
160 2016-03-31 Pedro Alves <palves@redhat.com>
163 * gdb.base/jit-main.c: Include unistd.h.
164 (ATTACH): Define to 0 if not already defined.
165 (wait_for_gdb, mypid): New globals.
166 (WAIT_FOR_GDB): New macro.
167 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
168 some breakpoint locations.
169 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
171 (one_jit_test): Add REATTACH parameter, and handle it. Use
172 continue_to_test_location.
173 (top level): Test attach, and adjusts calls to one_jit_test.
175 2016-03-31 Pedro Alves <palves@redhat.com>
178 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
179 BINSUFFIX parameter, and handle it.
180 (top level): Adjust calls compile_jit_test.
182 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
185 * gdb.python/py-mi-events-gdb.py: New file.
186 * gdb.python/py-mi-events.c: New file.
187 * gdb.python/py-mi-events.exp: New file.
189 2016-03-30 Yao Qi <yao.qi@linaro.org>
191 * gdb.reverse/until-precsave.exp: Match function name only.
192 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
193 Move malloc to a condition block.
194 * gdb.reverse/until-reverse.exp: Match function name only.
196 2016-03-29 Marcin KoĆcielnicki <koriakin@0x04.net>
198 * gdb.trace/ftrace.exp: Set arg0exp for s390.
199 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
200 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
201 variable for GPR 0 instead of assuming it is register 0.
202 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
203 * lib/trace-support.exp: Add s390 registers.
205 2016-03-29 Yao Qi <yao.qi@linaro.org>
207 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
209 2016-03-24 Yao Qi <yao.qi@linaro.org>
211 * gdb.reverse/break-reverse.exp: Add quotation mark in the
214 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
216 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
217 maintaining separate logic for constructing the output path.
219 2016-03-16 Don Breazeal <donb@codesourcery.com>
221 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
222 Retry fork and waitpid on interrupted system call errors.
223 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
224 Use with_timeout_factor to increase timeout by factor of 10.
226 2016-03-15 Don Breazeal <donb@codesourcery.com>
228 * gdb.cp/scope-err.cc: New test program.
229 * gdb.cp/scope-err.exp: New test script.
230 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
231 lines and "set breakpoint here" comment.
232 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
233 Fixed some whitespace and format issues.
234 * gdb.mi/mi-linespec-err-cp.cc: New test program.
235 * gdb.mi/mi-linespec-err-cp.exp: New test script.
237 2016-03-15 Doug Evans <dje@google.com>
239 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
240 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
241 All callers updated. Add tests for enums, mixed flags register.
243 2016-03-15 Doug Evans <dje@google.com>
245 * gdb.base/skip.c (main): Call test_skip_file_and_function.
246 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
248 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
250 * gdb.base/default.exp: Add $_as_string to the list of expected
251 convenience functions.
253 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
255 * gdb.base/maint.exp: New tests for 'maint info line-table'.
257 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
259 * gdb.python/py-as-string.exp: New file.
260 * gdb.python/py-as-string.c: New file.
262 2016-03-09 Pedro Alves <palves@redhat.com>
264 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
265 signal" -> "Thread NN received signal" output change.
266 * gdb.threads/ia64-sigill.exp: Likewise.
267 * gdb.threads/linux-dp.exp: Likewise.
268 * gdb.threads/manythreads.exp: Likewise.
269 * gdb.threads/pending-step.exp: Likewise.
270 * gdb.threads/print-threads.exp: Likewise.
271 * gdb.threads/sigstep-threads.exp: Likewise.
272 * gdb.threads/staticthreads.exp: Likewise.
273 * gdb.threads/tls.exp: Likewise.
275 2016-03-09 Pedro Alves <palves@redhat.com>
277 * gdb.base/command-line-input.exp: New file.
279 2016-03-09 Marcin KoĆcielnicki <koriakin@0x04.net>
281 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
282 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
283 * gdb.trace/pending.exp: Accept leading dot before function name.
284 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
285 * lib/trace-support.exp: Set registers for ppc.
287 2016-03-09 Marcin KoĆcielnicki <koriakin@0x04.net>
289 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
290 use it for disassembly; accept .main in addition to main in backtrace.
292 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
293 Marcin KoĆcielnicki <koriakin@0x04.net>
295 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
296 (gdb_recursion_test_ptr): New global variable.
297 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
301 2016-03-09 Marcin KoĆcielnicki <koriakin@0x04.net>
303 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
306 2016-03-09 Marcin KoĆcielnicki <koriakin@0x04.net>
308 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
309 (bar): Add bar_start_lbl label.
310 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
311 of foo/bar for emitting DWARF and tracing.
313 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
315 * analyze-racy-logs.py: Set executable bit.
317 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
319 * Makefile.in (DEFAULT_RACY_ITER): New variable.
320 (CHECK_TARGET_TMP): Likewise.
321 (check-single-racy): New rule.
322 (check-parallel-racy): Likewise.
323 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
324 (do-check-parallel-racy): New rule.
325 (check-racy/%.exp): Likewise.
326 * README (Racy testcases): New section.
327 * analyze-racy-logs.py: New file.
329 2016-03-03 Doug Evans <dje@google.com>
331 * gdb.base/skip.exp: Use with_test_prefix.
333 2016-03-03 Yao Qi <yao.qi@linaro.org>
335 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
336 Invoke step_over_syscall "clone" and break_cond_on_syscall
338 * gdb.base/step-over-clone.c: New file.
340 2016-03-03 Yao Qi <yao.qi@linaro.org>
342 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
345 2016-03-03 Yao Qi <yao.qi@linaro.org>
347 * gdb.base/disp-step-fork.c: Rename to ...
348 * gdb.base/step-over-fork.c: ... it. New file.
349 * gdb.base/disp-step-vfork.c: Rename to ...
350 * gdb.base/step-over-vfork.c: ... it. New file.
351 * gdb.base/disp-step-syscall.exp: Rename to ...
352 * gdb.base/step-over-syscall.exp: ... it. New file.
353 (disp_step_cross_syscall): Rename to ...
354 (step_over_syscall): ... it.
356 2016-03-03 Yao Qi <yao.qi@linaro.org>
358 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
359 If target supports condition evaluation on target, invoke
360 break_cond_on_syscall for fork and vfork.
362 2016-03-03 Yao Qi <yao.qi@linaro.org>
364 * gdb.base/disp-step-syscall.exp: Don't invoke
365 support_displaced_stepping.
366 (disp_step_cross_syscall): Test with displaced stepping off and
369 2016-03-03 Yao Qi <yao.qi@linaro.org>
371 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
374 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
377 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
379 * gdb.fortran/vla-history.exp: Remove breakpoint.
381 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
383 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
385 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
387 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
389 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
391 * gdb.mi/vla.f90: Nullify pointer after declaration.
393 2016-03-01 Pedro Alves <palves@redhat.com>
395 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
397 2016-03-01 Pedro Alves <palves@redhat.com>
399 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
400 before anything else.
401 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
403 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
404 before anything else.
405 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
407 2016-03-01 Pedro Alves <palves@redhat.com>
409 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
411 2016-03-01 Yao Qi <yao.qi@linaro.org>
413 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
416 2016-03-01 Yao Qi <yao.qi@linaro.org>
418 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
420 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
422 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
423 manually constructing the output path.
425 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
427 * gdb.arch/s390-stackless.S: New.
428 * gdb.arch/s390-stackless.exp: New.
430 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
432 * gdb.dlang/circular.c: New file.
433 * gdb.dlang/circular.exp: New file.
435 2016-02-26 Yao Qi <yao.qi@linaro.org>
437 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
438 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
441 2016-02-26 Yao Qi <yao.qi@linaro.org>
443 * gdb.reverse/aarch64.c: Rename to ...
444 * gdb.reverse/insn-reverse.c: ... it.
445 * gdb.reverse/aarch64.exp: Rename to ...
446 * gdb.reverse/insn-reverse.exp: ... it.
448 2016-02-26 Yao Qi <yao.qi@linaro.org>
450 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
451 (testcase_ftype): New.
452 (testcases): New array.
454 (main): Call each element in testcases.
455 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
456 (read_testcase): New.
457 Do the tests in a loop.
459 2016-02-25 Yao Qi <yao.qi@linaro.org>
461 * gdb.base/branches.c: Remove.
463 2016-02-25 Marcin KoĆcielnicki <koriakin@0x04.net>
466 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
468 2016-02-25 Marcin KoĆcielnicki <koriakin@0x04.net>
470 * gdb.trace/ftrace.exp: Remove unnecessary target check.
472 2016-02-25 Marcin KoĆcielnicki <koriakin@0x04.net>
474 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
475 change x86_64 call_insn to 'callq'.
477 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
479 * gdb.trace/tfile-avx.c: Move to...
480 * gdb.trace/tracefile-pseudo-reg.c: Here.
481 * gdb.trace/tfile-avx.exp: Move to...
482 * gdb.trace/tracefile-pseudo-reg.exp: Here.
484 2016-02-24 Gary Benson <gbenson@redhat.com>
486 * gdb.base/attach-pie-noexec.exp: Do not expect an error
489 2016-02-23 Doug Evans <dje@google.com>
491 * gdb.base/skip.c (test_skip): New function.
492 (end_test_skip_file_and_function): New function.
493 (test_skip_file_and_function): New function.
494 * gdb.base/skip1.c (test_skip): New function.
495 (skip1_test_skip_file_and_function): New function.
496 * gdb.base/skip.exp: Add tests for new skip options.
497 * gdb.base/skip-solib.exp: Update expected output.
498 * gdb.perf/skip-command.cc: New file.
499 * gdb.perf/skip-command.exp: New file.
500 * gdb.perf/skip-command.py: New file.
502 2016-02-22 Marcin KoĆcielnicki <koriakin@0x04.net>
504 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
505 info registers pattern.
507 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
509 * lib/future.exp: Add D support.
510 (gdb_find_gdc): New proc.
511 (gdb_default_target_compile): Add D support.
513 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
515 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
517 (trace_speed_test): Determine the iteration count for a time
518 between 15..30 seconds.
520 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
522 * gdb.arch/i386-mpx-sigsegv.c: New file.
523 * gdb.arch/i386-mpx-sigsegv.exp: New file.
524 * gdb.arch/i386-mpx-simple_segv.c: New file.
525 * gdb.arch/i386-mpx-simple_segv.exp: New file.
527 2016-02-18 Yao Qi <yao.qi@linaro.org>
529 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
530 Don't call setup_kfail.
532 2016-02-18 Yao Qi <yao.qi@linaro.org>
534 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
535 Set "set breakpoint condition-evaluation" per $cond_bp_target.
537 2016-02-16 Doug Evans <dje@google.com>
539 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
540 * gdb.base/skip1.c: Ditto.
541 * gdb.base/skip.exp: Whitespace cleanup.
543 2016-02-16 Don Breazeal <donb@codesourcery.com>
546 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
547 Remove kfail for PR remote/19496.
549 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
551 * lib/gdb.exp (standard_temp_file): Return a path specific to
552 the runtest invocation.
554 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
556 * gdb.trace/save-trace.exp: Change relative path to be in the
557 standard output directory.
559 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
561 * gdb.arch/i386-prologue.c: Add missing prototypes.
563 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
565 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
566 * gdb.arch/i386-prologue.exp: Likewise.
567 * gdb.arch/i386-size.exp: Likewise.
569 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
571 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
572 define object file path.
573 * gdb.btrace/gcore.exp: Use standard_output_file to define core
575 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
576 standard_output_file to define binfile.
578 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
580 Fix compatibility with recent gfortran-5.3.1.
581 * gdb.fortran/vla-history.exp (print vla1 allocated)
582 (print vla2 allocated, print $2, print $3): Remove
583 (print $4): Rename to ...
584 (print $2): ... here.
585 (print $9): Rename to ...
586 (print $5): ... here.
587 (print $10): Rename to ...
588 (print $6): ... here.
589 * gdb.fortran/vla.f90: Add pvla initialization.
591 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
593 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
595 * gdb.fortran/vla-value-sub.exp: Likewise.
597 2016-02-12 Marcin KoĆcielnicki <koriakin@0x04.net>
599 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
601 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
603 * i386-biarch-core.exp: Define corefile using
604 standard_output_file.
606 2016-02-12 Yao Qi <yao.qi@linaro.org>
608 * gdb.arch/arm-single-step-kernel-helper.c: New.
609 * gdb.arch/arm-single-step-kernel-helper.exp: New.
611 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
613 * gdb.btrace/tailcall-only.exp: New.
614 * gdb.btrace/tailcall-only.c: New.
615 * gdb.btrace/x86_64-tailcall-only.S: New.
616 * gdb.btrace/i686-tailcall-only.S: New.
618 2016-02-11 Pedro Alves <palves@redhat.com>
620 * README (Parallel testing): Add missing double quotes.
622 2016-02-11 Pedro Alves <palves@redhat.com>
624 * README (Parallel testing): New section.
625 (GDB_PARALLEL): Rewrite.
626 (FORCE_PARALLEL): Document.
628 2016-02-11 Marcin KoĆcielnicki <koriakin@0x04.net>
630 * gdb.trace/tfile-avx.c: New test.
631 * gdb.trace/tfile-avx.exp: New test.
633 2016-02-09 Keith Seitz <keiths@redhat.com>
636 * gdb.base/infcall-exec.c: New file.
637 * gdb.base/infcall-exec2.c: New file.
638 * gdb.base/infcall-exec.exp: New file.
640 2016-02-09 Keith Seitz <keiths@redhat.com>
642 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
643 (toplevel): Call test_bkpt_address.
645 2016-02-09 Keith Seitz <keiths@redhat.com>
648 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
649 (toplevel): Call test_bkpt_address.
651 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
653 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
655 * configure: Regenerate.
657 2016-02-09 Pedro Alves <palves@redhat.com>
660 * gdb.base/execl-update-breakpoints.c (some_function): New
663 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
664 Tighten expected GDB output.
666 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
668 * Makefile.in (ALL_SUBDIRS): Remove.
669 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
670 (distclean maintainer-clean realclean): Likewise.
671 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
672 * configure: Regenerate.
673 * gdb.ada/Makefile.in: Delete.
674 * gdb.arch/Makefile.in: Likewise.
675 * gdb.asm/Makefile.in: Likewise.
676 * gdb.base/Makefile.in: Likewise.
677 * gdb.btrace/Makefile.in: Likewise.
678 * gdb.cell/Makefile.in: Likewise.
679 * gdb.compile/Makefile.in: Likewise.
680 * gdb.cp/Makefile.in: Likewise.
681 * gdb.disasm/Makefile.in: Likewise.
682 * gdb.dlang/Makefile.in: Likewise.
683 * gdb.dwarf2/Makefile.in: Likewise.
684 * gdb.fortran/Makefile.in: Likewise.
685 * gdb.gdb/Makefile.in: Likewise.
686 * gdb.go/Makefile.in: Likewise.
687 * gdb.guile/Makefile.in: Likewise.
688 * gdb.java/Makefile.in: Likewise.
689 * gdb.linespec/Makefile.in: Likewise.
690 * gdb.mi/Makefile.in: Likewise.
691 * gdb.modula2/Makefile.in: Likewise.
692 * gdb.multi/Makefile.in: Likewise.
693 * gdb.objc/Makefile.in: Likewise.
694 * gdb.opencl/Makefile.in: Likewise.
695 * gdb.opt/Makefile.in: Likewise.
696 * gdb.pascal/Makefile.in: Likewise.
697 * gdb.perf/Makefile.in: Likewise.
698 * gdb.python/Makefile.in: Likewise.
699 * gdb.reverse/Makefile.in: Likewise.
700 * gdb.server/Makefile.in: Likewise.
701 * gdb.stabs/Makefile.in: Likewise.
702 * gdb.threads/Makefile.in: Likewise.
703 * gdb.trace/Makefile.in: Likewise.
704 * gdb.xml/Makefile.in: Likewise.
705 * lib/gdb.exp (make_gdb_parallel_path): Add check for
707 (standard_output_file): Remove check for GDB_PARALLEL, always
708 return path in outputs/$subdir/$testname.
710 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
712 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
713 (site.exp): Assign abs_srcdir to tcl's srcdir.
715 2016-02-04 Yao Qi <yao.qi@linaro.org>
717 * gdb.base/foll-exec-mode.c: Include limits.h.
718 (main): Add parameters argc and argv. Get directory from
720 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
722 * gdb.base/foll-exec.c: Include limits.h.
723 (main): Add parameters argc and argv.
724 Get directory from argv[0].
725 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
726 Adjust tests on the number of lines as source code changed.
727 * gdb.base/foll-vfork-exit.c: Include limits.h.
728 (main): Add one line of statement before vfork.
729 * gdb.base/foll-vfork.c: Include limits.h and string.h.
730 (main): Add parameters argc and argv. Get directory from
732 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
733 (setup_gdb): Set tbreak to skip some source lines.
734 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
735 (main): Add parameters argc and argv. Get directory from
737 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
739 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
740 (main): Add parameters argc and argv. Get directory from
742 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
745 2016-02-01 Doug Evans <dje@google.com>
747 * gdb.base/skip.exp: Clean up multiple references to same test name.
749 2016-02-01 Pedro Alves <palves@redhat.com>
752 * gdb.threads/forking-threads-plus-breakpoint.exp
753 (displaced_stepping_supported): New global.
754 (probe_displaced_stepping_support): New procedure.
755 (do_test): Add 'displaced' parameter, and use it.
756 (top level): Check for displaced stepping support. Add displaced
757 stepping on/off testing axis.
759 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
761 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
762 pointer. Don't perform further tests on the unassociated pointer
763 if the first test fails.
765 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
767 * gdb.base/max-value-size.c: New file.
768 * gdb.base/max-value-size.exp: New file.
769 * gdb.base/huge.exp: Disable max-value-size for this test.
771 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
773 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
775 2016-01-28 Yao Qi <yao.qi@linaro.org>
777 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
779 2016-01-25 Pedro Alves <palves@redhat.com>
782 * gdb.base/fork-running-state.c: New file.
783 * gdb.base/fork-running-state.exp: New file.
785 2016-01-25 Pedro Alves <palves@redhat.com>
788 * gdb.base/catch-fork-kill.c: New file.
789 * gdb.base/catch-fork-kill.exp: New file.
791 2016-01-25 Pedro Alves <palves@redhat.com>
793 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
794 Delete, moved to lib/gdb.exp.
795 * gdb.threads/forking-threads-plus-breakpoint.exp
796 (foreach_with_prefix): Likewise.
797 * gdb.threads/process-dies-while-handling-bp.exp
798 (foreach_with_prefix): Likewise.
799 * lib/gdb.exp (foreach_with_prefix): New procedure.
801 2016-01-25 Marcin KoĆcielnicki <koriakin@0x04.net>
803 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
804 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
806 2016-01-23 Marcin KoĆcielnicki <koriakin@0x04.net>
808 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
811 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
812 Pedro Alves <palves@redhat.com>
814 Fix testsuite compatibility with Guile.
815 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
818 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
820 Fix testsuite compatibility with Guile.
821 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
822 (thread 1): New test for backtrace through signal handler.
824 2016-01-22 Yao Qi <yao.qi@linaro.org>
827 * gdb.base/multi-forks.c: Include
828 ../lib/unbuffer_output.c
829 (main): Call gdb_unbuffer_output.
831 2016-01-21 Doug Evans <dje@google.com>
833 * lib/ada.exp (gdb_compile_ada): Fix typo.
835 2016-01-21 Joel Brobecker <brobecker@adacore.com>
837 * gdb.base/break-fun-addr.exp: New file.
838 * gdb.base/break-fun-addr1.c: New file.
839 * gdb.base/break-fun-addr2.c: New file.
841 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
843 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
844 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
847 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
849 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
850 when GDB can not set the vector return value. Add more comments
853 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
855 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
858 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
860 * Makefile.in (DO_RUNTEST): Add --status and update usages.
862 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
864 * Makefile.in (check-single): Pass --status to runtest.
865 (check/%.exp): Likewise.
867 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
869 * Makefile.in (check-parallel): Propagate return code from make
872 2016-01-19 Marcin KoĆcielnicki <koriakin@0x04.net>
874 * gdb.trace/ftrace.exp: Fix expected message on continue.
875 * gdb.trace/pending.exp: Fix expected message on continue.
876 * gdb.trace/trace-break.exp: Fix expected message on continue.
878 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
880 * lib/gdb.exp (gdb_test): Remove unused global references.
882 2016-01-18 Pedro Alves <palves@redhat.com>
884 * gdb.base/async-shell.exp: Adjust expected output.
885 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
886 * gdb.base/siginfo-thread.exp: Adjust expected output.
887 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
888 * gdb.java/jnpe.exp: Adjust expected output.
889 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
890 * gdb.threads/continue-pending-status.exp: Adjust expected output.
891 * gdb.threads/leader-exit.exp: Adjust expected output.
892 * gdb.threads/manythreads.exp: Adjust expected output.
893 * gdb.threads/pthreads.exp: Adjust expected output.
894 * gdb.threads/schedlock.exp: Adjust expected output.
895 * gdb.threads/siginfo-threads.exp: Adjust expected output.
896 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
898 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
900 * gdb.threads/sigthread.exp: Adjust expected output.
901 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
903 2016-01-18 Yao Qi <yao.qi@linaro.org>
905 * gdb.guile/scm-section-script.c: Replace @progbits with
907 * gdb.python/py-section-script.c: Likewise.
909 2016-01-15 Pedro Alves <palves@redhat.com>
911 * gdb.multi/tids.exp: Test star wildcard ranges.
913 2016-01-15 Pedro Alves <palves@redhat.com>
915 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
916 command from "thread apply" invocation.
917 (thr_apply_info_thr_invalid): Default the expected output to the
919 (top level): Add tests that use convenience variables. Add tests
920 for "thread apply" with a valid TID list, but missing the command.
922 2016-01-13 Pedro Alves <palves@redhat.com>
924 * gdb.base/default.exp: Expect $_gthread as well.
925 * gdb.multi/tids.exp: Test $_gthread.
926 * gdb.threads/thread-specific.exp: Test $_gthread.
928 2016-01-13 Pedro Alves <palves@redhat.com>
930 * gdb.multi/tids.exp: Test "info threads -gid".
932 2016-01-13 Pedro Alves <palves@redhat.com>
934 * gdb.multi/tids.exp: Test InferiorThread.global_num and
936 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
938 2016-01-07 Pedro Alves <palves@redhat.com>
940 * gdb.base/break.exp: Adjust to output changes.
941 * gdb.base/hbreak2.exp: Likewise.
942 * gdb.base/sepdebug.exp: Likewise.
943 * gdb.base/watch_thread_num.exp: Likewise.
944 * gdb.linespec/keywords.exp: Likewise.
945 * gdb.multi/info-threads.exp: Likewise.
946 * gdb.threads/thread-find.exp: Likewise.
947 * gdb.multi/tids.c: New file.
948 * gdb.multi/tids.exp: New file.
950 2016-01-13 Pedro Alves <palves@redhat.com>
952 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
954 2016-01-13 Pedro Alves <palves@redhat.com>
956 * gdb.base/default.exp: Expect $_inferior as well.
957 * gdb.multi/base.exp: Test $_inferior.
959 2016-01-13 Pedro Alves <palves@redhat.com>
962 * gdb.base/catch-signal-siginfo-cond.c: New file.
963 * gdb.base/catch-signal-siginfo-cond.exp: New file.
965 2016-01-12 Josh Stone <jistone@redhat.com>
966 Philippe Waroquiers <philippe.waroquiers@skynet.be>
968 * gdb.base/catch-syscall.c (do_execve): New variable.
969 (main): Conditionally trigger an execve.
970 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
971 (test_catch_syscall_execve): New, check entry/return across execve.
972 (do_syscall_tests): Call test_catch_syscall_execve.
974 2016-01-12 Pedro Alves <palves@redhat.com>
976 * gdb.base/random-signal.exp (do_test): New procedure, with body
977 of testcase moved in.
979 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
980 Pedro Alves <palves@redhat.com>
982 * gdb.base/funcargs.exp (finish from indirectly called function):
983 Reintroduce the case for 'First'.
985 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
986 Pedro Alves <palves@redhat.com>
988 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
989 (tcatch_vfork_then_child_follow_exec)
990 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
993 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
995 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
996 and repeats to unlimited.
997 * gdb.python/py-value.exp: Likewise.
998 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
999 and repeats to unlimited.
1001 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1003 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1004 and reordering the functions.
1005 * gdb.multi/hangout.c: Likewise.
1006 * gdb.multi/hello.c: Likewise.
1008 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1010 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1012 (SingleStatisticTestResult.report): Use dict.keys instead of
1015 2016-01-06 Pedro Alves <palves@redhat.com>
1017 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1019 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1021 * gdb.btrace/dlopen.exp: New.
1022 * gdb.btrace/dlopen.c: New.
1023 * gdb.btrace/dlopen-dso.c: New.
1025 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1027 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1028 PATTERN argument is optional.
1030 2015-12-24 Joel Brobecker <brobecker@adacore.com>
1032 * lib/ada.exp (target_compile_ada_from_dir): New function.
1033 (gdb_compile_ada): Reimplement avoiding the use of project files.
1034 * gdb.ada/gnat_ada.gpr: Delete.
1035 * gdb.ada/cond_lang.exp: Adjust test to make path before
1037 * gdb.ada/small_reg_param.exp: Likewise.
1039 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1041 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1043 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1045 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1048 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1050 * gdb.base/break.exp: Remove dead code.
1051 * gdb.base/sepdebug.exp: Likewise.
1053 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1055 * gdb.asm/asm-source.exp: Remove HP-UX references.
1056 * gdb.base/annota1.exp: Likewise.
1057 * gdb.base/annota3.exp: Likewise.
1058 * gdb.base/attach.exp: Likewise.
1059 * gdb.base/bigcore.exp: Likewise.
1060 * gdb.base/break.exp: Likewise.
1061 * gdb.base/call-ar-st.exp: Likewise.
1062 * gdb.base/callfuncs.exp: Likewise.
1063 * gdb.base/catch-fork-static.exp: Likewise.
1064 * gdb.base/display.exp: Likewise.
1065 * gdb.base/foll-exec-mode.exp: Likewise.
1066 * gdb.base/foll-exec.exp: Likewise.
1067 * gdb.base/foll-fork.exp: Likewise.
1068 * gdb.base/foll-vfork.exp: Likewise.
1069 * gdb.base/funcargs.exp: Likewise.
1070 * gdb.base/hbreak2.exp: Likewise.
1071 * gdb.base/inferior-died.exp: Likewise.
1072 * gdb.base/interrupt.exp: Likewise.
1073 * gdb.base/multi-forks.exp: Likewise.
1074 * gdb.base/nodebug.exp: Likewise.
1075 * gdb.base/sepdebug.exp: Likewise.
1076 * gdb.base/solib1.c: Likewise.
1077 * gdb.base/step-test.exp: Likewise.
1078 * gdb.mi/non-stop.c: Likewise.
1079 * gdb.mi/pthreads.c: Likewise.
1080 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1081 * gdb.threads/pthreads.c: Likewise.
1082 * gdb.threads/staticthreads.exp: Likewise.
1083 * lib/future.exp: Likewise.
1084 * lib/gdb.exp: Likewise.
1085 * gdb.base/so-indr-cl.c: Remove.
1086 * gdb.base/so-indr-cl.exp: Likewise.
1087 * gdb.base/solib.c: Likewise.
1088 * gdb.base/solib.exp: Likewise.
1089 * gdb.base/solib2.c: Likewise.
1091 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1093 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1094 * gdb.base/call-ar-st.exp: Likewise.
1095 * gdb.base/callfuncs.exp: Likewise.
1096 * gdb.base/condbreak.exp: Likewise.
1097 * gdb.base/constvars.exp: Likewise.
1098 * gdb.base/hbreak2.exp: Likewise.
1099 * gdb.base/langs.exp: Likewise.
1100 * gdb.base/list.exp: Likewise.
1101 * gdb.base/long_long.exp: Likewise.
1102 * gdb.base/ptype.exp: Likewise.
1103 * gdb.base/scope.exp: Likewise.
1104 * gdb.base/signals.exp: Likewise.
1105 * gdb.base/so-impl-ld.exp: Likewise.
1106 * gdb.base/varargs.exp: Likewise.
1107 * gdb.base/volatile.exp: Likewise.
1108 * gdb.base/whatis.exp: Likewise.
1109 * gdb.cp/cplusfuncs.exp: Likewise.
1110 * gdb.cp/inherit.exp: Likewise.
1111 * gdb.cp/local.exp: Likewise.
1112 * gdb.cp/member-ptr.exp: Likewise.
1113 * gdb.cp/method.exp: Likewise.
1114 * gdb.cp/overload.exp: Likewise.
1115 * gdb.cp/templates.exp: Likewise.
1116 * gdb.stabs/weird.exp: Likewise.
1117 * lib/compiler.c: Likewise.
1118 * lib/compiler.cc: Likewise.
1119 * lib/cp-support.exp: Likewise.
1120 * lib/gdb.exp: Likewise.
1122 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1124 * configure.ac: Remove HP-UX case.
1125 * configure: Regenerate.
1127 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1129 * lib/gdb.exp (gdb_compile): Add function doc.
1131 2015-12-17 Pedro Alves <palves@redhat.com>
1134 * gdb.multi/info-threads.exp: New file.
1136 2015-12-15 Yao Qi <yao.qi@linaro.org>
1138 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1141 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1143 * gdb.base/history-duplicates.exp: Skip if no readline support.
1145 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1147 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1149 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1151 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1153 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1155 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1156 ctrl-C if nointerrupts target property is set.
1157 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1158 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1159 * gdb.base/paginate-bg-execution.exp: Likewise.
1160 * gdb.base/paginate-execution-startup.exp: Likewise.
1161 * gdb.base/random-signal.exp: Likewise.
1162 * gdb.base/range-stepping.exp: Likewise.
1163 * gdb.cp/annota2.exp: Likewise.
1164 * gdb.cp/annota3.exp: Likewise.
1165 * gdb.gdb/selftest.exp: Likewise.
1166 * gdb.threads/continue-pending-status.exp: Likewise.
1167 * gdb.threads/leader-exit.exp: Likewise.
1168 * gdb.threads/manythreads.exp: Likewise.
1169 * gdb.threads/pthreads.exp: Likewise.
1170 * gdb.threads/schedlock.exp: Likewise.
1171 * gdb.threads/sigthread.exp: Likewise.
1173 2015-12-11 Don Breazeal <donb@codesourcery.com>
1175 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1177 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1178 * gdb.base/foll-exec.exp (main): Enable for target remote.
1179 * gdb.base/foll-fork.exp (main): Likewise.
1180 * gdb.base/foll-vfork.exp (main): Likewise.
1181 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1182 (proc continue_to_exit_bp_loc): Use clean_restart.
1183 * gdb.base/pie-execl.exp (main): Disable for target remote.
1184 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1185 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1186 * gdb.threads/execl.exp (main): Likewise.
1187 * gdb.threads/fork-child-threads.exp (main): Likewise.
1188 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1190 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1192 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1193 pid.tid style ptids, instead of just tid.
1194 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1195 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1196 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1197 ptids, instead of just tid.
1199 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1201 * gdb.base/list.exp (test_list_forward): Add end of file error
1203 (test_repeat_list_command): Add end of file error test.
1204 (test_list_backwards): Add beginning of file error test.
1206 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1208 * gdb.base/list.exp (test_list_invalid_args): New function,
1209 defined, and called.
1211 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1213 * gdb.base/list.exp (test_list): Make test names unique.
1215 2015-12-11 Yao Qi <yao.qi@linaro.org>
1217 * gdb.base/coremaker2.c: Remove.
1219 2015-12-10 Pedro Alves <palves@redhat.com>
1221 * gdb.multi/base.exp: Remove stale "spaces" references.
1223 2015-12-10 Pedro Alves <palves@redhat.com>
1225 * gdb.multi/base.exp: Don't use nowarnings.
1226 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1227 * gdb.multi/hangout.c: Include stdio.h.
1228 * gdb.multi/hello.c: Include stdlib.h.
1229 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1230 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1231 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1233 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1235 * gdb.dwarf2/dw2-ranges-base.c: New file.
1236 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1237 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1238 support additional line table, and debug ranges generation.
1239 (Dwarf::ranges): New function, generate .debug_ranges.
1240 (Dwarf::lines): Support generating simple line table programs.
1241 (Dwarf::assemble): Initialise new namespace variables.
1243 2015-12-09 Kevin Buettner <kevinb@redhat.com>
1245 * gdb.base/async.exp (proc test_background): Add case for
1246 asynchronous execution not supported.
1248 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
1250 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1251 format and change test names to make them unique.
1253 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1254 Pedro Alves <pedro@redhat.com>
1257 Add checking of floatformats setup on x86_64 hosts.
1258 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1259 (smallval, bigval): New labels/constants.
1260 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1261 float" after loading bigval and smallval.
1263 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1265 * gdb.ada/fun_overload_menu.exp: New testcase.
1266 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1268 2015-12-04 Josh Stone <jistone@redhat.com>
1270 * gdb.base/catch-fork-static.exp: New.
1272 2015-12-03 Yao Qi <yao.qi@linaro.org>
1274 * gdb.base/sizeof.c: Don't include stdio.h and
1275 ../lib/unbuffer_output.c.
1276 (main): New variable 'size' and 'value'. Remove printf and
1277 gdb_unbuffer_output. Assign return value to size and value.
1278 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1280 (check_sizeof): Check the result by printing variable 'size'.
1281 (check_valueof): Check the result by printing variable 'value'.
1283 2015-12-01 Yao Qi <yao.qi@linaro.org>
1285 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1286 for aarch64*-*-linux* target.
1288 2015-11-30 Pedro Alves <palves@redhat.com>
1290 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1292 2015-11-30 Pedro Alves <palves@redhat.com>
1294 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1295 Handle non-stop mode vCont replies.
1297 2015-11-30 Pedro Alves <palves@redhat.com>
1299 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1300 prepare_for_testing. Start gdb with "set non-stop on" appended to
1301 GDBFLAGS. Lax expected stop output.
1303 2015-11-27 Yao Qi <yao.qi@linaro.org>
1305 * gdb.arch/arm-neon.exp: New.
1306 * gdb.arch/arm-neon.c: New.
1308 2015-11-27 Yao Qi <yao.qi@linaro.org>
1310 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1312 2015-11-27 Yao Qi <yao.qi@linaro.org>
1314 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1315 frames-invalid annotation.
1317 2015-11-27 Yao Qi <yao.qi@linaro.org>
1319 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1321 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1323 * gdb.threads/names.exp: New file.
1324 * gdb.threads/names.c: New file.
1325 * README: Mention gdb,no_thread_names.
1327 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1330 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1333 2015-11-24 Pedro Alves <palves@redhat.com>
1336 * gdb.base/display.exp: Expect displays to be sorted in ascending
1337 order. Use multi_line.
1338 * gdb.base/solib-display.exp: Likewise.
1340 2015-11-24 Pedro Alves <palves@redhat.com>
1343 * gdb.base/display.exp: Expect displays to be sorted in ascending
1344 order. Use multi_line.
1345 * gdb.base/solib-display.exp: Likewise.
1347 2015-11-24 Pedro Alves <palves@redhat.com>
1350 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1351 threads in ascending order.
1352 * gdb.base/foll-fork.exp: Likewise.
1353 * gdb.base/foll-vfork.exp: Likewise.
1354 * gdb.base/multi-forks.exp: Likewise.
1355 * gdb.mi/mi-nonstop.exp: Likewise.
1356 * gdb.mi/mi-nsintrall.exp: Likewise.
1357 * gdb.multi/base.exp: Likewise.
1358 * gdb.multi/multi-arch.exp: Likewise.
1359 * gdb.python/py-inferior.exp: Likewise.
1360 * gdb.threads/break-while-running.exp: Likewise.
1361 * gdb.threads/execl.exp: Likewise.
1362 * gdb.threads/gcore-thread.exp: Likewise.
1363 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1364 * gdb.threads/kill.exp: Likewise.
1365 * gdb.threads/linux-dp.exp: Likewise.
1366 * gdb.threads/multiple-step-overs.exp: Likewise.
1367 * gdb.threads/next-bp-other-thread.exp: Likewise.
1368 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1369 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1370 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1371 * gdb.threads/thread-find.exp: Likewise.
1372 * gdb.threads/tls.exp: Likewise.
1373 * lib/mi-support.exp (mi_reverse_list): Delete.
1374 (mi_check_thread_states): No longer reverse list.
1376 2015-11-24 Pedro Alves <palves@redhat.com>
1378 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1381 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1383 * gdb.trace/actions.c: Include trace-common.h.
1384 (main): Add a location for a fast tracepoint.
1385 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1386 the normal tracepoints.
1387 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1389 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1391 * save-trace.exp: Factor out code to these...
1392 (gdb_save_tracepoints): New.
1393 (gdb_load_tracepoints): New.
1394 (do_save_load_test): New.
1396 2015-11-23 Kevin Buettner <kevinb@redhat.com>
1398 * gdb.base/asmlabel.exp: New test.
1399 * gdb.base/asmlabel.c: New test case.
1401 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1403 * gdb.base/wrong_frame_bt_full-main.c: New file.
1404 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1405 * gdb.base/wrong_frame_bt_full.exp: New file.
1407 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1409 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1411 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1413 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
1414 pstate register when comparing registers values in
1415 sparc64-*-linux-gnu targets to avoid spurious differences.
1417 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1419 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
1421 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1423 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1424 as type argument to gdb_compile.
1425 * gdb.base/nested-subp2.exp: Likewise.
1426 * gdb.base/nested-subp3.exp: Likewise.
1428 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1430 * lib/dwarf.exp (_note): Fix left shift of negative value.
1431 * gdb.trace/trace-condition.exp: Likewise.
1433 2015-11-13 Yao Qi <yao.qi@linaro.org>
1435 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1436 comments about d10v.
1437 (test_scalar_returns): Likewise.
1438 * gdb.base/d10v.ld: Remove.
1439 * gdb.base/overlays.exp: Remove the target triplet checking for
1441 * gdb.base/structs.exp (test_struct_returns): Remove the
1442 comments about d10v.
1443 (test_struct_calls): Likewise.
1445 2015-11-13 Yao Qi <yao.qi@linaro.org>
1447 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1448 * gdb.base/gnu_vector.c: Don't include stdio.h.
1449 (main): Don't print res and call add_some_intvecs.
1451 2015-11-11 Marcin KoĆcielnicki <koriakin@0x04.net>
1453 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1456 (func4): Use FAST_TRACEPOINT_LABEL.
1457 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1460 (thread_function): Use FAST_TRACEPOINT_LABEL.
1461 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1463 (marker): Use FAST_TRACEPOINT_LABEL.
1464 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1465 (pendfunc1): Remove.
1466 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1467 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1469 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1470 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1473 (marker): Use FAST_TRACEPOINT_LABEL.
1474 * gdb.trace/trace-common.h: New header.
1475 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1478 (marker): Use FAST_TRACEPOINT_LABEL.
1479 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1481 (thread_function): Use FAST_TRACEPOINT_LABEL.
1483 2015-11-10 Marcin KoĆcielnicki <koriakin@0x04.net>
1485 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1487 * gdb.trace/change-loc.exp: Use global pcreg definition.
1488 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1489 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1491 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1492 * gdb.trace/pending.exp: Likewise.
1493 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1494 * gdb.trace/trace-break.exp: Likewise.
1495 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1497 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1498 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1500 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1502 2015-11-09 Joel Brobecker <brobecker@adacore.com>
1504 * gdb.ada/fin_fun_out: New testcase.
1506 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1508 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1509 value associated with DW_AT_byte_size.
1510 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1511 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1514 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1516 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1517 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1519 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1520 gdb.dwarf2/dw2-canonicalize-type.exp,
1521 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1522 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1523 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1524 provided by gdb_target_symbol_prefix_flags_asm.
1525 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1526 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1527 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1528 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1529 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1530 macros where needed). Use this macro for symbols which require
1531 the prefix provided by SYMBOL_PREFIX.
1533 2015-11-05 Kevin Buettner <kevinb@redhat.com>
1535 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1537 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1538 representing expressions, of more than one list element.
1539 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1540 to prepend linker symbol prefix to f.
1541 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1542 table_1 and table_2.
1543 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1544 Likewise, for f and g.
1545 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1547 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1549 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1550 table_1_ptr and table_2_ptr.
1552 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1553 Joel Brobecker <brobecker@adacore.com>
1555 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1557 2015-11-04 Marcin KoĆcielnicki <koriakin@0x04.net>
1559 * gdb.reverse/s390-mvcle.c: New test.
1560 * gdb.reverse/s390-mvcle.exp: New file.
1561 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1563 2015-11-02 Marcin KoĆcielnicki <koriakin@0x04.net>
1565 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1567 2015-11-02 Marcin KoĆcielnicki <koriakin@0x04.net>
1569 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1571 * gdb.reverse/getresuid-reverse.exp: Likewise.
1572 * gdb.reverse/pipe-reverse.exp: Likewise.
1573 * gdb.reverse/readv-reverse.exp: Likewise.
1574 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1575 * gdb.reverse/time-reverse.exp: Likewise.
1576 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1578 2015-10-30 Yao Qi <yao.qi@linaro.org>
1580 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1581 (empty_cycle): Remove.
1582 (main): Don't call empty_cycle. Don't use watch_count_done.
1583 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1584 empty_cycle. Rewrite the code counting HW watchpoints.
1586 2015-10-30 Marcin KoĆcielnicki <koriakin@0x04.net>
1588 * gdb.reverse/fstatat-reverse.c: New test.
1589 * gdb.reverse/fstatat-reverse.exp: New file.
1590 * gdb.reverse/getresuid-reverse.c: New test.
1591 * gdb.reverse/getresuid-reverse.exp: New file.
1592 * gdb.reverse/pipe-reverse.c: New test.
1593 * gdb.reverse/pipe-reverse.exp: New file.
1594 * gdb.reverse/readv-reverse.c: New test.
1595 * gdb.reverse/readv-reverse.exp: New file.
1596 * gdb.reverse/recvmsg-reverse.c: New test.
1597 * gdb.reverse/recvmsg-reverse.exp: New file.
1598 * gdb.reverse/time-reverse.c: New test.
1599 * gdb.reverse/time-reverse.exp: New file.
1600 * gdb.reverse/waitpid-reverse.c: New test.
1601 * gdb.reverse/waitpid-reverse.exp: New file.
1603 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1605 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1607 2015-10-26 Doug Evans <dje@google.com>
1610 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1611 * gdb.dwarf2/bad-regnum.c: New file.
1612 * gdb.dwarf2/bad-regnum.exp: New file.
1614 2015-10-26 Doug Evans <dje@google.com>
1617 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1620 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1622 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1623 for a change by "Mention language in compile error message".
1625 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1628 * gdb.python/py-type.c (C::a_method): New.
1629 (C::a_const_method): New.
1630 (C::a_static_method): New.
1632 * gdb.python/py-type.exp (test_fields): Test getting fields
1633 from function and method.
1635 2015-10-21 Keven Boell <keven.boell@intel.com>
1637 * gdb.fortran/vla-alloc-assoc.exp: New file.
1638 * gdb.fortran/vla-datatypes.exp: New file.
1639 * gdb.fortran/vla-datatypes.f90: New file.
1640 * gdb.fortran/vla-history.exp: New file.
1641 * gdb.fortran/vla-ptype-sub.exp: New file.
1642 * gdb.fortran/vla-ptype.exp: New file.
1643 * gdb.fortran/vla-sizeof.exp: New file.
1644 * gdb.fortran/vla-sub.f90: New file.
1645 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1646 * gdb.fortran/vla-value-sub-finish.exp: New file.
1647 * gdb.fortran/vla-value-sub.exp: New file.
1648 * gdb.fortran/vla-value.exp: New file.
1649 * gdb.fortran/vla-ptr-info.exp: New file.
1650 * gdb.mi/mi-vla-fortran.exp: New file.
1651 * gdb.mi/vla.f90: New file.
1653 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1655 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1656 of hardwired timeout value.
1658 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1659 Pedro Alves <palves@redhat.com>
1661 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1662 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1664 2015-10-19 Josh Stone <jistone@redhat.com>
1666 * gdb.base/catch-syscall.c: Include <sched.h>.
1667 (unknown_syscall): New variable.
1668 (main): Trigger a vfork and an unknown syscall.
1669 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1670 (unknown_syscall_number): Likewise.
1671 (check_call_to_syscall): Accept an optional syscall pattern.
1672 (check_return_from_syscall): Likewise.
1673 (check_continue): Likewise.
1674 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1675 (test_catch_syscall_skipping_return): New test toggling off 'catch
1676 syscall' to step over the syscall return, then toggling back on.
1677 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1678 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1679 (do_syscall_tests): Call test_catch_syscall_without_args and
1680 test_catch_syscall_mid_vfork.
1681 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1682 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1684 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
1686 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1687 print g_vE): Add new pass patterns.
1688 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1689 print various symbol names for vptr fields.
1691 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1693 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1696 2015-10-12 Yao Qi <yao.qi@linaro.org>
1698 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1700 2015-10-12 Yao Qi <yao.qi@linaro.org>
1702 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1703 is aarch64*-*-linux*.
1705 2015-10-12 Yao Qi <yao.qi@linaro.org>
1707 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1708 (can_relocate_bcond_true): ... it.
1709 (can_relocate_bcond_false): New function.
1711 (can_relocate_bl): Likewise.
1712 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1715 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1717 * gdb.base/nested-addr.c: New file.
1718 * gdb.base/nested-addr.exp: New testcase.
1720 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1722 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1723 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1724 its output. Ignore the output of "record goto begin" and instead
1725 check that GDB is replaying.
1727 2015-10-09 Pedro Alves <palves@redhat.com>
1729 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1730 (top level): Use it in the run with no args test.
1732 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1734 * gdb.dlang/properties.exp: New file.
1736 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1738 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1739 whether or not address 0x1000 is mapped on the target.
1741 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1743 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1746 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1748 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1749 instruction-history test.
1751 2015-09-28 Doug Evans <dje@google.com>
1753 * gdb.base/gcore.c (array_func): Add reference to static_array.
1755 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1757 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1760 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1762 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1763 short or char as base type.
1765 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1767 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1768 to allow any size enum.
1770 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1772 * gdb.ada/array_ptr_renaming.exp: New testcase.
1773 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1774 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1776 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1778 * gdb.trace/ftrace-lock.c: New file.
1779 * gdb.trace/ftrace-lock.exp: New file.
1781 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1783 * gdb.arch/insn-reloc.c: New file.
1784 * gdb.arch/ftrace-insn-reloc.exp: New file.
1786 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1788 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1790 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1791 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1792 * gdb.trace/range-stepping.c: Likewise.
1793 * gdb.trace/trace-break.c: Likewise.
1794 * gdb.trace/trace-mt.c (thread_function): Likewise.
1795 * gdb.trace/ftrace.c (marker): Likewise.
1796 * gdb.trace/trace-condition.c (marker): Likewise.
1797 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1798 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1801 2015-09-18 Doug Evans <xdje42@gmail.com>
1803 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1804 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1806 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1808 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1811 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1813 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1814 the pending breakpoint. Remove timeout override for "Run till
1815 MI pending breakpoint on pendfunc3 on thread 2" test.
1817 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1819 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1822 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1824 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1825 in breakpoint filename pattern.
1827 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1829 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1831 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1833 * gdb.linespec/explicit.exp: Check for readline support for
1834 tab-completion tests. Fix obvious typo.
1836 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1838 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1841 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1843 * gdb.btrace/non-stop.c: New.
1844 * gdb.btrace/non-stop.exp: New.
1846 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1847 Yao Qi <yao.qi@linaro.org>
1849 * gdb.trace/trace-condition.c: New file.
1850 * gdb.trace/trace-condition.exp: New file.
1852 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
1854 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1855 for testing bytecode compilation.
1857 2015-09-16 Pedro Alves <palves@redhat.com>
1858 Sandra Loosemore <sandra@codesourcery.com>
1860 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1861 (SECONDS): Redefine.
1862 (main): Call pthread_kill and alarm early.
1863 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1865 (test): If the target can't hardware step and doesn't support
1866 displaced stepping, increase the timeout.
1868 2015-09-16 Pedro Alves <palves@redhat.com>
1870 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1871 (enable_debug): New procedures.
1872 (test): Use them. Bail out if waiting for threads fails.
1873 (top level): Bail out if a test fails.
1875 2015-09-16 Yao Qi <yao.qi@linaro.org>
1877 * gdb.asm/asm-source.exp: Set asm-arch for
1878 aarch64*-*-* target.
1879 * gdb.asm/aarch64.inc: New file.
1881 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1883 * gdb.ada/array_of_variable_length.exp: New testcase.
1884 * gdb.ada/array_of_variable_length/foo.adb: New file.
1885 * gdb.ada/array_of_variable_length/pck.adb: New file.
1886 * gdb.ada/array_of_variable_length/pck.ads: New file.
1888 2015-09-15 Doug Evans <dje@google.com>
1890 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1891 of function static local variable.
1893 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1895 * gdb.threads/tls-so_extern.exp: New test file.
1896 * gdb.threads/tls-so_extern.c: New test file.
1897 * gdb.threads/tls-so_extern_main.c: New test file.
1899 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1901 * gdb.opt/solib-intra-step-lib.c: New file.
1902 * gdb.opt/solib-intra-step-main.c: New file.
1903 * gdb.opt/solib-intra-step.exp: New file.
1905 2015-09-15 Pedro Alves <palves@redhat.com>
1907 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1908 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1910 2015-09-14 Pedro Alves <palves@redhat.com>
1912 * gdb.base/hook-stop-continue.c: Delete.
1913 * gdb.base/hook-stop-continue.exp: Delete.
1914 * gdb.base/hook-stop-frame.c: Delete.
1915 * gdb.base/hook-stop-frame.exp: Delete.
1916 * gdb.base/hook-stop.c: New file.
1917 * gdb.base/hook-stop.exp: New file.
1919 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1921 * gdb.ada/access_to_packed_array.exp: New testcase.
1922 * gdb.ada/access_to_packed_array/foo.adb: New file.
1923 * gdb.ada/access_to_packed_array/pack.adb: New file.
1924 * gdb.ada/access_to_packed_array/pack.ads: New file.
1926 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1928 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1931 2015-09-11 Don Breazeal <donb@codesourcery.com>
1933 * gdb.base/foll-exec.c: Add copyright header. Fix
1935 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1936 (do_exec_tests): Use clean_restart in place of zap_session,
1937 and for test initialization. Fix formatting issues. Use
1938 fail in place of perror.
1939 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1940 an expect statement to match an expression with output from
1941 the program under debug.
1942 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1943 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1944 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1945 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1946 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1948 2015-09-09 Doug Evans <dje@google.com>
1950 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1952 2015-09-09 Doug Evans <dje@google.com>
1954 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1956 2015-09-09 Doug Evans <dje@google.com>
1958 * gdb.base/savedregs.exp: Fix typo.
1960 2015-09-09 Pedro Alves <palves@redhat.com>
1962 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1964 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1966 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1967 command actually switches threads. Give up on remaining
1968 tests if target fails to stop at breakpoint.
1970 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1972 * gdb.ada/funcall_char.exp: New testcase.
1973 * gdb.ada/funcall_char/foo.adb: New file.
1975 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1977 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1978 expected outputs. Add two testcases for completing ambiguous
1980 * gdb.ada/complete/aux_pck.adb: New file.
1981 * gdb.ada/complete/aux_pck.ads: New file.
1982 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1983 Ambiguous_Func functions.
1984 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1985 * gdb.ada/complete/pck.adb: Likewise.
1987 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1989 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1990 failures to run the test program under GDB.
1992 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
1994 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1997 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1999 * gdb.base/run-after-attach.exp: New test file.
2000 * gdb.base/run-after-attach.c: New test file.
2002 2015-08-26 Don Breazeal <donb@codesourcery.com>
2004 * gdb.base/foll-exec-2.c: New test program.
2005 * gdb.base/foll-exec-2.exp: New test.
2007 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2009 * gdb.base/nested-subp1.exp: New file.
2010 * gdb.base/nested-subp1.c: New file.
2011 * gdb.base/nested-subp2.exp: New file.
2012 * gdb.base/nested-subp2.c: New file.
2013 * gdb.base/nested-subp3.exp: New file.
2014 * gdb.base/nested-subp3.c: New file.
2016 2015-08-24 Pedro Alves <palves@redhat.com>
2018 * gdb.server/connect-without-multi-process.c: New file.
2019 * gdb.server/connect-without-multi-process.exp: New file.
2021 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2023 * gdb.opt/inline-markers.c: Make z int.
2025 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2027 * gdb.opt/inline-markers.c: Make z volatile.
2029 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2031 * gdb.opt/inline-bt.c: New volatile global z.
2032 * gdb.opt/inline-cmds.c: Likewise.
2033 * gdb.opt/inline-locals.c: Likewise.
2034 * gdb.opt/inline-markers.c: New extern global z.
2036 (inline_fn): Likewise.
2038 2015-08-24 Pedro Alves <palves@redhat.com>
2040 * config/m32r-stub.exp: Remove file.
2041 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2042 * gdb.base/call-rt-st.exp: Likewise.
2043 * gdb.base/call-strs.exp: Likewise.
2044 * gdb.base/default.exp: Remove references to h8300-*-hms and
2046 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2048 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2050 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2051 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2052 and "return" use KFAIL when GDB can not read/write the vector
2055 2015-08-21 Gary Benson <gbenson@redhat.com>
2057 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2059 2015-08-20 Pedro Alves <palves@redhat.com>
2061 * gdb.server/solib-list.exp: No longer expect an interior stop in
2064 2015-08-20 Pedro Alves <palves@redhat.com>
2066 * gdb.server/connect-stopped-target.c: New file.
2067 * gdb.server/connect-stopped-target.exp: New file.
2069 2015-08-20 Pedro Alves <palves@redhat.com>
2071 * gdb.dwarf2/comp-unit-lang.exp: New file.
2072 * gdb.dwarf2/comp-unit-lang.c: New file.
2074 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2076 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2077 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2079 2015-08-19 Kevin Buettner <kevinb@redhat.com>
2081 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2082 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2084 2015-08-18 Doug Evans <dje@google.com>
2085 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2087 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2088 skip_python_tests. New arg prompt_regexp.
2089 (skip_python_tests): New function.
2090 * lib/mi-support.exp (mi_skip_python_tests): New function.
2091 * gdb.python/py-mi-objfile-gdb.py: New file.
2092 * gdb.python/py-mi-objfile.c: New file.
2093 * gdb.python/py-mi-objfile.exp: New file.
2095 2015-08-17 Keith Seitz <keiths@redhat.com>
2097 * gdb.linespec/explicit.exp: Move strace test from here ...
2098 * gdb.trace/strace.exp: ... to here.
2100 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2102 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2103 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2105 2015-08-14 Doug Evans <xdje42@gmail.com>
2107 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2108 inferior before selecting a new file.
2110 2015-08-14 Doug Evans <xdje42@gmail.com>
2112 * gdb.mi/mi-disassemble.exp: Update.
2113 * gdb.base/disasm-optim.S: New file.
2114 * gdb.base/disasm-optim.c: New file.
2115 * gdb.base/disasm-optim.h: New file.
2116 * gdb.base/disasm-optim.exp: New file.
2118 2015-08-14 Keith Seitz <keiths@redhat.com>
2120 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2123 2015-08-13 Joel Brobecker <brobecker@adacore.com>
2125 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2127 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2129 * gdb.ada/fun_renaming.exp: New testcase.
2130 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2131 * gdb.ada/fun_renaming/pack.adb: New file.
2132 * gdb.ada/fun_renaming/pack.ads: New file.
2134 2015-08-12 Keith Seitz <keiths@redhat.com>
2136 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2137 gdb_get_line_number.
2139 2015-08-12 Joel Brobecker <brobecker@adacore.com>
2141 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2142 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2143 gdb.base/dso2dso.exp: New files.
2145 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2146 Pedro Alves <palves@redhat.com>
2147 Keith Seitz <keiths@redhat.com>
2149 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2152 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2154 * gdb.base/gdbhistsize-history.exp
2155 (test_histsize_history_setting): Use save_vars.
2156 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2158 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2159 * gdb.base/readline.exp: Use save_vars.
2161 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2163 * lib/gdb.exp (save_vars): New proc.
2165 2015-08-11 Keith Seitz <keiths@redhat.com>
2167 * gdb.base/help.exp: Update help_breakpoint_text.
2169 2015-08-11 Keith Seitz <keiths@redhat.com>
2171 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2172 (at toplevel): Call test_explicit_breakpoints.
2173 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2175 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2176 breakpoint conditions, "-cond".
2178 2015-08-11 Keith Seitz <keiths@redhat.com>
2180 * gdb.linespec/3explicit.c: New file.
2181 * gdb.linespec/cpexplicit.cc: New file.
2182 * gdb.linespec/cpexplicit.exp: New file.
2183 * gdb.linespec/explicit.c: New file.
2184 * gdb.linespec/explicit.exp: New file.
2185 * gdb.linespec/explicit2.c: New file.
2186 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2187 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2188 before using in the matching pattern.
2189 Clarify that `prefix' is a regular expression.
2191 2015-08-11 Keith Seitz <keiths@redhat.com>
2193 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2195 Add tests for missing ",FMT" and ",".
2197 2015-08-10 Doug Evans <dje@google.com>
2198 Keith Seitz <keiths@redhat.com>
2201 * gdb.base/completion.exp: Add location completer tests.
2203 2015-08-07 Pedro Alves <palves@redhat.com>
2205 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2207 (top level): Run do_test with and without displaced stepping.
2209 2015-08-07 Pedro Alves <palves@redhat.com>
2211 * gdb.base/valgrind-disp-step.c: New file.
2212 * gdb.base/valgrind-disp-step.exp: New file.
2214 2015-08-07 Pedro Alves <palves@redhat.com>
2216 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2218 (main): Add alarm. Run an infinite loop instead of calling
2220 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2222 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2224 (main): Add alarm. Run an infinite loop instead of calling
2226 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2229 2015-08-07 Pedro Alves <palves@redhat.com>
2231 * gdb.base/checkpoint-ns.exp: New file.
2232 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2235 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2237 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2238 * gdb.btrace/instruction_history.exp: Update.
2239 * gdb.btrace/tsx.exp: New.
2240 * gdb.btrace/tsx.c: New.
2242 2015-08-06 Pedro Alves <palves@redhat.com>
2244 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2246 * gdb.reverse/until-precsave.exp: Bump timeouts.
2248 2015-08-06 Pedro Alves <palves@redhat.com>
2250 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2252 2015-08-06 Pedro Alves <palves@redhat.com>
2255 * gdb.threads/process-dies-while-handling-bp.c: New file.
2256 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2258 2015-08-06 Pedro Alves <palves@redhat.com>
2260 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2261 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2263 2015-08-05 Pedro Alves <palves@redhat.com>
2265 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2266 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2268 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2270 * gdb.base/bp-permanent.exp: Report test as unsupported if
2271 the target cannot stop at the permanent breakpoint.
2273 2015-08-03 Doug Evans <dje@google.com>
2275 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2278 2015-08-03 Doug Evans <dje@google.com>
2280 * Makefile.in (workers/%.worker, build-perf): New rule.
2281 (GDB_PERFTEST_MODE): New variable.
2282 (check-perf): Use it.
2283 (clean): Clean up gdb.perf parallel build subdirs.
2284 * lib/build-piece.exp: New file.
2285 * lib/gdb.exp (make_gdb_parallel_path): New function
2286 (standard_output_file, standard_temp_file): Call it.
2287 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2289 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2291 2015-08-03 Doug Evans <dje@google.com>
2293 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
2294 (LOG_FILE_NAME): New global.
2295 (TextReporter.__init__): Initialize self.txt_sum.
2296 (TextReporter.report): Add support for multiple data-points.
2297 Move report to perftest.sum, put raw data in perftest.log.
2298 (TextReporter.start): Open sum and log files.
2299 (TextReporter.end): Close sum and log files.
2300 * gdb.perf/lib/perftest/testresult.py
2301 (SingleStatisticTestResult.record): Handle multiple data-points.
2303 2015-07-31 Pedro Alves <palves@redhat.com>
2305 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2306 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2307 kill_wait_spawned_process instead of explicit "kill -9".
2308 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2309 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2310 kill_wait_spawned_process.
2311 * gdb.base/attach-twice.exp: Likewise.
2312 * gdb.base/attach.exp: Likewise.
2313 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2315 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2316 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2317 kill_wait_spawned_process.
2318 * gdb.base/valgrind-infcall.exp: Likewise.
2319 * gdb.multi/multi-attach.exp: Likewise.
2320 * gdb.python/py-prompt.exp: Likewise.
2321 * gdb.python/py-sync-interp.exp: Likewise.
2322 * gdb.server/ext-attach.exp: Likewise.
2323 * gdb.threads/attach-into-signal.exp (corefunc): Use
2324 spawn_wait_for_attach, spawn_id_get_pid and
2325 kill_wait_spawned_process.
2326 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2327 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2328 spawn_id_get_pid and kill_wait_spawned_process.
2329 * gdb.threads/attach-stopped.exp (corefunc): Use
2330 spawn_wait_for_attach, spawn_id_get_pid and
2331 kill_wait_spawned_process.
2332 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2333 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2334 kill_wait_spawned_process instead of explicit "kill -9".
2335 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2336 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2337 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2338 processes. Don't map cygwin/windows pids here. Now returns a
2341 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2343 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2344 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2347 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2349 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2351 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2354 2014-05-21 Mark Wielaard <mjw@redhat.com>
2356 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2358 2015-07-30 Pedro Alves <palves@redhat.com>
2360 * linux-low.c (handle_extended_wait): Set the child's last
2361 reported status to TARGET_WAITKIND_STOPPED.
2363 2015-07-30 Pedro Alves <palves@redhat.com>
2366 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2367 only shows inferior 1.
2369 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2370 Pedro Alves <palves@redhat.com>
2373 * gdb.threads/fork-plus-threads.c: New file.
2374 * gdb.threads/fork-plus-threads.exp: New file.
2376 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2378 * gdb.base/batch-preserve-term-settings.exp
2379 (test_terminal_settings_preserved_after_cli_exit): Use
2382 2015-07-29 Pedro Alves <palves@redhat.com>
2383 Don Breazeal <donb@codesourcery.com>
2385 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2386 output from both inferior_spawn_id and gdb_spawn_id.
2388 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2390 * gdb.threads/attach-into-signal.exp (corefunc): Use
2391 with_test_prefix on nested loops, uniquefying the test messages.
2393 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2395 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2398 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2400 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2402 (test_terminal_settings_preserved_after_sigterm): New test.
2404 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2406 * gdb.base/batch-preserve-term-settings.exp
2407 (test_terminal_settings_preserved_after_cli_exit): New test.
2409 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2411 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2412 manipulation of saved_gdbflags.
2413 (test_terminal_settings_preserved): Remove global declaration of
2414 the unused variable pagination_prompt. Remove manipulation of
2415 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2418 2015-07-29 Pedro Alves <palves@redhat.com>
2420 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2422 2015-07-29 Pedro Alves <palves@redhat.com>
2424 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2427 2015-07-29 Pedro Alves <palves@redhat.com>
2429 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2430 (main): Call gdb_unbuffer_output.
2431 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2432 (main): Call gdb_unbuffer_output.
2433 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2434 (main): Call gdb_unbuffer_output.
2435 * gdb.base/call-strs.exp: Adjust to step over the
2436 gdb_unbuffer_output call.
2437 * gdb.base/catch-gdb-caused-signals.c: Include
2438 "../lib/unbuffer_output.c".
2439 (main): Call gdb_unbuffer_output.
2440 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2441 (main): Call gdb_unbuffer_output.
2442 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2443 (main): Call gdb_unbuffer_output.
2444 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2445 (main): Call gdb_unbuffer_output.
2446 * gdb.base/shlib-call.exp: Adjust to step over the
2447 gdb_unbuffer_output call.
2448 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2449 (main): Call gdb_unbuffer_output.
2450 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2451 (main): Call gdb_unbuffer_output.
2452 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2453 (main): Rename to ...
2455 (main): Reimplement.
2456 * gdb.base/varargs.exp: Run to test instead of to main.
2457 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2458 (main): Call gdb_unbuffer_output.
2460 2015-07-29 Pedro Alves <palves@redhat.com>
2462 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2463 factore out from mi_continue_dprintf. For call-style dprintfs,
2464 expect dprintf output out of $inferior_spawn_id.
2465 (mi_continue_dprintf): Use mi_expect_dprintf.
2466 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2467 (main): Call gdb_unbuffer_output.
2469 2015-07-29 Pedro Alves <palves@redhat.com>
2471 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2472 (default_mi_gdb_start): Set inferior_spawn_id instead of
2473 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2475 (mi_gdb_test): Always expect inferior output from both
2476 $inferior_spawn_id and $gdb_spawn_id.
2478 2015-07-29 Pedro Alves <palves@redhat.com>
2480 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2481 send_inferior and $inferior_spawn_id.
2483 2015-07-29 Pedro Alves <palves@redhat.com>
2485 * gdb.gdb/complaints.exp (test_initial_complaints)
2486 (test_serial_complaints, test_short_complaints): Use
2488 (test_empty_complaint): Handle $inferior_spawn_id !=
2491 2015-07-29 Pedro Alves <palves@redhat.com>
2493 * gdb.base/varargs.exp: Use gdb_test_stdio.
2495 2015-07-29 Pedro Alves <palves@redhat.com>
2497 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2499 2015-07-29 Pedro Alves <palves@redhat.com>
2501 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2503 2015-07-29 Pedro Alves <palves@redhat.com>
2505 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2506 parameter into two new parameters, "inf_result" and "gdb_result".
2507 Expect inferior output and gdb output from $inferior_spawn_id and
2508 $gdb_spawn_id, respectively. Adjust all callers.
2510 2015-07-29 Pedro Alves <palves@redhat.com>
2512 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2513 of gdb_test_sequence.
2515 2015-07-29 Pedro Alves <palves@redhat.com>
2517 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2518 (saw_spurious_output): Expect inferior output from
2519 $inferior_spawn_id. Use gdb_test_stdio.
2521 2015-07-29 Pedro Alves <palves@redhat.com>
2523 * gdb.base/dprintf.exp: Use standard_testfile. Change
2524 prepare_for_testing call.
2525 (srcfile): Don't set.
2526 (restart): New procedure.
2527 (test_dprintf): New procecure, use to continue over dprintfs.
2528 (test_call, test_agent): New procedures, tests moved here.
2529 Restart gdb and recreate dprintfs. Adjust expected output.
2531 2015-07-29 Pedro Alves <palves@redhat.com>
2533 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2535 2015-07-29 Pedro Alves <palves@redhat.com>
2537 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2539 2015-07-29 Pedro Alves <palves@redhat.com>
2541 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2544 2015-07-29 Pedro Alves <palves@redhat.com>
2546 * lib/gdb.exp (gdb_test_stdio): New procedure.
2548 2015-07-29 Pedro Alves <palves@redhat.com>
2550 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2552 2015-07-29 Pedro Alves <palves@redhat.com>
2554 * gdb.base/call-signal-resume.exp: Remove check for
2555 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2556 * gdb.base/unwindonsignal.exp: Likewise.
2557 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2558 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2560 2015-07-29 Pedro Alves <palves@redhat.com>
2562 * gdb.base/siginfo-addr.c (pass): New function.
2563 (handler): Call it iff si_addr is correct.
2564 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2565 Set a breakpoint at "pass" and continue to it.
2567 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2569 * gdb.python/py-objfile.exp: Make some tests have unique names.
2570 * gdb.python/py-pp-registration.exp: Likewise.
2572 2015-07-28 Pedro Alves <palves@redhat.com>
2574 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2576 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2578 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2580 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2582 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2584 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2586 * gdb.base/gdb-sigterm-2.exp: New test.
2588 2015-07-25 Doug Evans <xdje42@gmail.com>
2591 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2592 (workers/%.worker, build-perf): New rule.
2593 (GDB_PERFTEST_MODE): New variable.
2594 (check-perf): Use it.
2595 (clean): Clean up gdb.perf parallel build subdirs.
2596 * lib/build-piece.exp: New file.
2597 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2598 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2600 (standard_temp_file): Ditto.
2601 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2604 2015-07-24 Doug Evans <dje@google.com>
2606 * gdb.perf/lib/perftest/utils.py: New file.
2607 * gdb.perf/gm-hello.cc: New file.
2608 * gdb.perf/gm-pervasive-typedef.cc: New file.
2609 * gdb.perf/gm-pervasive-typedef.h: New file.
2610 * gdb.perf/gm-std.cc: New file.
2611 * gdb.perf/gm-std.h: New file.
2612 * gdb.perf/gm-use-cerr.cc: New file.
2613 * gdb.perf/gm-utils.h: New file.
2614 * gdb.perf/gmonster-null-lookup.py: New file.
2615 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2616 * gdb.perf/gmonster-print-cerr.py: New file.
2617 * gdb.perf/gmonster-ptype-string.py: New file.
2618 * gdb.perf/gmonster-runto-main.py: New file.
2619 * gdb.perf/gmonster-select-file.py: New file.
2620 * gdb.perf/gmonster1-null-lookup.exp: New file.
2621 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2622 * gdb.perf/gmonster1-print-cerr.exp: New file.
2623 * gdb.perf/gmonster1-ptype-string.exp: New file.
2624 * gdb.perf/gmonster1-runto-main.exp: New file.
2625 * gdb.perf/gmonster1-select-file.exp: New file.
2626 * gdb.perf/gmonster1.cc: New file.
2627 * gdb.perf/gmonster1.exp: New file.
2628 * gdb.perf/gmonster2-null-lookup.exp: New file.
2629 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2630 * gdb.perf/gmonster2-print-cerr.exp: New file.
2631 * gdb.perf/gmonster2-ptype-string.exp: New file.
2632 * gdb.perf/gmonster2-runto-main.exp: New file.
2633 * gdb.perf/gmonster2-select-file.exp: New file.
2634 * gdb.perf/gmonster2.cc: New file.
2635 * gdb.perf/gmonster2.exp: New file.
2637 2015-07-24 Doug Evans <dje@google.com>
2639 * gdb.perf/README: New file.
2640 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2641 * lib/gen-perf-test.exp: New file.
2643 2015-07-24 Doug Evans <dje@google.com>
2645 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2646 (PerfTest::startup): New function.
2647 (PerfTest::run): Return result of calling body.
2648 (PerfTest::assemble): Rewrite.
2649 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2650 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2651 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2652 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2653 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2655 2015-07-24 Doug Evans <dje@google.com>
2657 * lib/gdb.exp (clean_restart): Make executable optional.
2659 2015-07-24 Doug Evans <dje@google.com>
2661 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2662 compiler_info references.
2663 * gdb.cp/temargs.exp: Ditto.
2664 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2665 (get_compiler_info): Early exit if already computed. Set compiler_info
2666 to "unknown" if there was a problem.
2667 (test_compiler_info): Add function comment. Call get_compiler_info.
2669 2015-07-24 Doug Evans <dje@google.com>
2671 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2672 (workers/%.worker, build-perf): New rule.
2673 (GDB_PERFTEST_MODE): New variable.
2674 (check-perf): Use it.
2675 (clean): Clean up gdb.perf parallel build subdirs.
2676 * lib/build-piece.exp: New file.
2677 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2678 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2680 (standard_temp_file): Ditto.
2681 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2684 2015-07-24 Doug Evans <dje@google.com>
2686 * lib/future.exp (gdb_default_target_compile): New option
2688 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2691 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2693 * gdb.base/catch-syscall.exp: Call gdb_exit before
2696 2015-07-24 Pedro Alves <palves@redhat.com>
2698 * gdb.python/py-events.exp: Accept output between the stop event
2700 * gdb.python/py-evsignal.exp: Likewise.
2701 * gdb.python/py-evthreads.exp: Likewise.
2703 2015-07-24 Pedro Alves <palves@redhat.com>
2706 * gdb.threads/non-ldr-exit.c: New file.
2707 * gdb.threads/non-ldr-exit.exp: New file.
2709 2015-07-24 Yao Qi <yao.qi@linaro.org>
2711 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2714 2015-07-24 Yao Qi <yao.qi@linaro.org>
2716 * gdb.server/ext-restart.exp: New file.
2718 2015-07-24 Yao Qi <yao.qi@linaro.org>
2720 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2722 * gdb.server/ext-wrapper.exp: New file.
2724 2015-07-23 Doug Evans <dje@google.com>
2726 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2727 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2729 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2731 * gdb.ada/var_arr_typedef.exp: New testcase.
2732 * gdb.ada/var_arr_typedef/pack.adb: New file.
2733 * gdb.ada/var_arr_typedef/pack.ads: New file.
2734 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2736 2015-07-20 Joel Brobecker <brobecker@adacore.com>
2738 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2740 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2742 * gdb.arch/i386-biarch-core.exp: Replace istarget
2743 by "complete set gnutarget". Remove expectation for the "core-file"
2746 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2748 Revert the previous commit:
2749 Tests for validate symbol file using build-id.
2751 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2753 Tests for validate symbol file using build-id.
2754 * gdb.base/solib-mismatch-lib.c: New file.
2755 * gdb.base/solib-mismatch-libmod.c: New file.
2756 * gdb.base/solib-mismatch.c: New file.
2757 * gdb.base/solib-mismatch.exp: New file.
2759 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2761 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2763 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2764 * gdb.base/siginfo.exp: Likewise.
2765 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2767 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2769 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2771 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2773 * gdb.trace/range-stepping.exp: Check that the target supports
2776 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2778 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2780 2015-07-14 Pedro Alves <palves@redhat.com>
2782 * gdb.base/killed-outside.exp: New file.
2783 * gdb.base/killed-outside.c: New file.
2785 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2787 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2789 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2791 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2793 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2794 infcall tests instead of setting up for KFAIL.
2796 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2798 * gdb.btrace/record_goto-step.exp: New.
2800 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2803 * gdb.compile/compile.c (struct struct_type): Add volatile to
2805 * gdb.compile/compile.exp
2806 (compile code struct_object.selffield = &struct_object): Skip further
2807 struct_object tests if this one xfails.
2809 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
2812 * gdb.trace/ax.exp: Add test.
2814 2015-07-07 Yao Qi <yao.qi@linaro.org>
2816 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2817 instead of istarget "aarch64*-*-*".
2818 * gdb.arch/aarch64-fp.exp: Likewise.
2819 * gdb.base/float.exp: Likewise.
2820 * gdb.reverse/aarch64.exp: Likewise.
2821 * lib/gdb.exp (is_aarch64_target): New proc.
2823 2015-07-07 Yao Qi <yao.qi@linaro.org>
2825 * lib/gdb.exp (is_aarch32_target): New proc.
2826 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2827 instead of "istarget "arm*-*-*"".
2828 * gdb.arch/arm-disp-step.exp: Likewise.
2829 * gdb.arch/thumb-bx-pc.exp: Likewise.
2830 * gdb.arch/thumb-prologue.exp: Likewise.
2831 * gdb.arch/thumb-singlestep.exp: Likewise.
2832 * gdb.base/disp-step-syscall.exp: Likewise.
2833 * gdb.base/float.exp: Likewise.
2835 2015-07-07 Yao Qi <yao.qi@linaro.org>
2837 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2838 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2840 2015-07-07 Yao Qi <yao.qi@linaro.org>
2842 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2843 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2845 * gdb.multi/multi-arch.exp: Likewise.
2847 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2849 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2852 2015-07-07 Yao Qi <yao.qi@linaro.org>
2854 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2856 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2858 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2859 '[' and ']' characters.
2861 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2863 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2865 2015-06-29 Pedro Alves <palves@redhat.com>
2868 * gdb.threads/hand-call-new-thread.c: New file.
2869 * gdb.threads/hand-call-new-thread.c: New file.
2871 2015-06-26 Keith Seitz <keiths@redhat.com>
2872 Doug Evans <dje@google.com>
2875 * gdb.cp/var-tag-2.cc: New file.
2876 * gdb.cp/var-tag-3.cc: New file.
2877 * gdb.cp/var-tag-4.cc: New file.
2878 * gdb.cp/var-tag.cc: New file.
2879 * gdb.cp/var-tag.exp: New file.
2881 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2883 * gdb.base/history-duplicates.exp: New test.
2885 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2887 * gdb.base/completion.exp: Test the completion of the "focus"
2890 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2892 * gdb.arch/amd64-prologue-skip.S: New file.
2893 * gdb.arch/amd64-prologue-skip.exp: New file.
2895 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2897 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2898 is_address_zero_readable check.
2900 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2902 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2903 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2905 2015-06-24 Yao Qi <yao.qi@linaro.org>
2907 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2910 2015-06-24 Yao Qi <yao.qi@linaro.org>
2912 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2913 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2914 * gdb.base/siginfo-thread.exp: Likewise.
2916 2015-06-22 Yao Qi <yao.qi@linaro.org>
2918 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2920 2015-06-22 Yao Qi <yao.qi@linaro.org>
2922 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2924 (skip_hw_watchpoint_tests): Likewise.
2926 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2928 * gdb.base/gdbinit-history.exp: Test the interaction between
2929 setting GDBHISTSIZE and setting the history size via .gdbinit.
2931 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2934 * gdb.base/gdbhistsize-history.exp: New test.
2936 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2938 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2940 * gdb.base/readline.exp: Likewise.
2942 2015-06-17 Yao Qi <yao.qi@linaro.org>
2944 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2947 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2949 * gdb.base/gdbinit-history.exp: Add test case to check that
2950 an unlimited history file does not get truncated on exit.
2952 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2954 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2955 (VECTOR): New macro. Use it...
2956 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2957 ...for these typedefs.
2958 (int8, char1, int1, double1): New typedefs.
2959 (struct just_int2, struct two_int2): New structures.
2960 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2961 (add_structvecs, add_singlevecs): New functions.
2962 (main): Call add_some_intvecs twice.
2963 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2964 the compile and exit upon failure. Try compiling for the "native"
2965 architecture. Test inferior function calls with vector arguments
2966 and vector return value handling with "finish" and "return".
2968 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2970 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2971 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2973 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2975 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2977 PR breakpoints/16465
2978 * gdb.mi/mi-dprintf-pending.c: New file.
2979 * gdb.mi/mi-dprintf-pending.exp: New test.
2980 * gdb.mi/mi-dprintf-pendshr.c: New file.
2982 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2983 Mircea Gherzan <mircea.gherzan@intel.com>
2985 * gdb.arch/i386-mpx-map.c: New file.
2986 * gdb.arch/i386-mpx-map.exp: New File.
2988 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2990 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2991 * gdb.arch/i386-mpx.exp: Indentation fixed.
2993 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2995 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2996 function and improved indentation.
2997 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2998 gdb_test_multiple. Added additional tests to skip the test.
3000 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3002 * gdb.arch/i386-avx512.c: Change path in include file.
3003 * gdb.arch/i386-avx512.exp: Change include dir path
3005 * gdb.arch/i386-mpx.c: Change path in include file.
3006 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3009 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3011 * gdb.compile/compile-print.exp (compile print *vararray@3)
3012 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3014 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3016 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3017 (do not keep jit in memory): ... this.
3018 (expect 5): Change it to ...
3019 (expect no 5): ... this.
3021 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3024 * gdb.mi/mi-detach.exp: New file.
3026 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3029 * gdb.arch/amd64-tailcall-self.S: New file.
3030 * gdb.arch/amd64-tailcall-self.c: New file.
3031 * gdb.arch/amd64-tailcall-self.exp: New file.
3033 2015-05-28 Don Breazeal <donb@codesourcery.com>
3035 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3036 tests for remote targets by checking is_target_gdbserver.
3038 2015-05-27 Doug Evans <dje@google.com>
3040 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3041 * gdb.dwarf2/opaque-type-lookup.c: New file.
3042 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3044 2015-05-26 Doug Evans <dje@google.com>
3046 * gdb.cp/iostream.cc: New file.
3047 * gdb.cp/iostream.exp: New file.
3049 2015-05-26 Doug Evans <dje@google.com>
3051 * gdb.dwarf2/dw2-op-call.exp: Update.
3052 * gdb.dwarf2/dw4-sig-types.exp: Update.
3053 * gdb.dwarf2/implptr.exp: Update.
3054 * gdb.mi/mi-cmd-param-changed.exp: Update.
3056 2015-05-26 Doug Evans <dje@google.com>
3058 * gdb.python/py-lazy-string.c: New file.
3059 * gdb.python/py-lazy-string.exp: New file.
3060 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3061 (main): Update. Add estring3.
3062 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3063 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3065 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3066 Yao Qi <yao.qi@linaro.org>
3068 * gdb.reverse/aarch64.c: New.
3069 * gdb.reverse/aarch64.exp: New.
3071 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3073 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
3074 (supports_reverse): Likewise.
3076 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3078 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3079 Use with_test_prefix.
3081 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3083 * gdb.base/completion.exp: Add test for completion of layout
3086 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3088 * lib/gdb.exp (skip_tui_tests): New proc.
3089 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3091 2015-05-19 Pedro Alves <palves@redhat.com>
3093 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3094 Save the whole env array instead of just HOME. Unset HISTSIZE in
3095 the environment while testing. Restore whole environment
3098 2015-05-16 Doug Evans <xdje42@gmail.com>
3100 * gdb.guile/scm-ports.c: New file.
3101 * gdb.guile/scm-ports.exp: Add memory port tests.
3103 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3105 * gdb.compile/compile-print.c: New file.
3106 * gdb.compile/compile-print.exp: New file.
3108 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3110 * gdb.compile/compile-ops.exp: Cast param to void.
3111 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3112 (compile code struct_object.selffield = &struct_object): Add xfail.
3114 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3116 * gdb.ada/arr_enum_with_gap: New testcase.
3118 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3120 * gdb.ada/byte_packed_arr: New testcase.
3122 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3124 * gdb.ada/pckd_neg: New testcase.
3126 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3129 * gdb.base/gdbinit-history.exp: New test.
3130 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3131 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3133 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3135 * gdb.python/py-xmethods.cc: Enhance test case.
3136 * gdb.python/py-xmethods.exp: New tests.
3137 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3139 (B_indexoper): Likewise.
3140 (global_dm_list) : Add new xmethod worker functions.
3142 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3144 * gdb.base/coredump-filter.exp: Correctly unset
3145 "coredump_var_addr" array.
3147 2015-05-08 Pedro Alves <palves@redhat.com>
3149 * gdb.server/non-existing-program.exp: Unset spawn_id.
3151 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3154 * gdb.python/py-xmethods.exp: Add tests.
3156 2015-05-08 Yao Qi <yao.qi@linaro.org>
3159 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3160 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3161 function set_coredump_filter, and remove remote_exec call.
3162 Remove argument ipid. Callers update.
3163 (top level): Don't get inferior's PID.
3165 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3167 * gdb.base/watch_thread_num.exp: Skip test on targets without
3170 2015-05-06 Pedro Alves <palves@redhat.com>
3173 * gdb.server/non-existing-program.exp: New file.
3175 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3177 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3179 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3181 * gdb.ada/out_of_line_in_inlined: New testcase.
3183 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3185 * gdb.ada/var_rec_arr: New testcase.
3187 2015-04-30 Yao Qi <yao.qi@linaro.org>
3189 * gdb.base/break-idempotent.exp: If
3190 skip_hw_watchpoint_multi_tests returns true, skip the tests
3191 on "rwatch" and "awatch".
3193 2015-04-30 Yao Qi <yao.qi@linaro.org>
3195 * gdb.base/relativedebug.exp: Invoke gdb command
3196 "info sharedlibrary", and if libc.so doesn't have debug info,
3199 2015-04-29 Doug Evans <dje@google.com>
3201 * gdb.python/py-xmethods.exp: Add ptype tests.
3202 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3203 get_result_type method.
3205 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3207 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3208 the target does not support hardware watchpoints.
3210 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3212 * gdb.base/break-always.exp: Abort testing if writing to memory
3215 2015-04-28 Doug Evans <dje@google.com>
3217 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3218 * gdb.python/py-pp-registration.exp: ... here. New file.
3219 * gdb.python/py-pp-registration.c: New file.
3220 * gdb.python/py-pp-registration.py: New file.
3222 2015-04-28 Doug Evans <dje@google.com>
3224 * gdb.python/py-bad-printers.c: New file.
3225 * gdb.python/py-bad-printers.py: New file.
3226 * gdb.python/py-bad-printers.exp: New file.
3228 2015-04-28 Sasha Smundak <asmundak@google.com>
3230 * gdb.python/py-type.exp: New test.
3232 2015-04-28 Andy Wingo <wingo@igalia.com>
3234 * gdb.python/py-parameter.exp:
3235 * gdb.guile/scm-parameter.exp: Escape the path that we are
3236 matching against, as it might contain characters that are special
3237 to regular expressions.
3239 2015-04-27 Joel Brobecker <brobecker@adacore.com>
3241 * gdb.ada/rec_comp: New testcase.
3243 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3245 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3248 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3250 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3251 new tests for verilog output.
3253 2015-04-24 Yao Qi <yao.qi@linaro.org>
3255 * boards/remote-gdbserver-on-localhost.exp: New file.
3257 2015-04-23 Pedro Alves <palves@redhat.com>
3259 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3260 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3261 "end of file", remove $inferior_spawn_id from the indirect list.
3263 2015-04-23 Pedro Alves <palves@redhat.com>
3265 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3267 2015-04-23 Pedro Alves <palves@redhat.com>
3269 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3270 on $any_spawn_id instead of only on $gdb_spawn_id.
3272 2015-04-21 Pierre Muller <muller@sourceware.org>
3275 * lib/pascal.exp (gpc_compile): Add new option "class".
3276 (fpc_compile): Likewise.
3277 * gdb.pascal/case-insensitive-symbols.pas: New file.
3278 * gdb.pascal/case-insensitive-symbols.exp: New file.
3280 2015-04-20 Gary Benson <gbenson@redhat.com>
3282 * gdb.base/attach.exp: Fix three extended remote failures.
3284 2015-04-17 Gary Benson <gbenson@redhat.com>
3286 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3287 the main executable over the remote protocol.
3289 2015-04-16 Pedro Alves <palves@redhat.com>
3291 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3292 a new gdbserver if gdbserver_reconnect_p is set.
3294 2015-04-16 Pedro Alves <palves@redhat.com>
3296 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3297 is set, don't exit gdbserver.
3299 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3301 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3302 appropriate .insn, such that an older assembler can be used.
3303 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3304 the z/Architecture instruction set on 31-bit targets as well.
3306 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3308 * gdb.go/handcall.exp: Remove all logic related to the first
3309 breakpoint and rely on go_runto_main instead.
3310 * gdb.go/strings.exp: Likewise.
3311 * gdb.go/unsafe.exp: Likewise.
3312 * gdb.go/hello.exp: Likewise. Also rename the remaining
3313 breakpoint marker to "breakpoint 1".
3314 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3315 * gdb.go/strings.go: Likewise.
3316 * gdb.go/unsafe.go: Likewise.
3317 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3318 "set breakpoint 2 here" and rename the remaining breakpoint marker
3321 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3323 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3324 if itertools.imap is not present.
3325 * gdb.python/py-objfile.exp: Add parentheses.
3326 * gdb.python/py-type.exp: Same.
3327 * gdb.python/py-unwind-maint.py: Same.
3329 2015-04-15 Yao Qi <yao.qi@linaro.org>
3331 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3332 of ":$ptr_size" and set its form explicitly.
3334 2015-04-15 Pedro Alves <palves@redhat.com>
3335 Yao Qi <yao.qi@linaro.org>
3337 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3338 timeout by factor of 4.
3339 (test_regular_watch): Likewise.
3340 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3341 * gdb.reverse/sigall-reverse.exp: Likewise.
3342 * gdb.reverse/until-precsave.exp: Likewise.
3343 * lib/gdb.exp (with_timeout_factor): New proc.
3344 (gdb_expect): Move some code to ...
3345 (get_largest_timeout): ... here. New procedure.
3347 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
3349 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3351 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3353 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3354 to write to the .text section.
3356 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3358 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3359 Handle the case of targets that do not provide PID information.
3361 2015-04-13 Yao Qi <yao.qi@linaro.org>
3363 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3364 and use expect instead of gdb_expect.
3366 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3368 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3369 "coredump_var_addr" to avoid naming conflict with other testcases.
3371 2015-04-10 Pedro Alves <palves@redhat.com>
3373 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3374 gdb_test_sequence and gdb_assert.
3376 2015-04-10 Pedro Alves <palves@redhat.com>
3378 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3379 test messages that don't include the breakpoint address.
3381 2015-04-10 Yao Qi <yao.qi@linaro.org>
3383 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3384 false for some offset and width combinations which aren't
3385 supported by linux kernel.
3387 2015-04-10 Pedro Alves <palves@redhat.com>
3389 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3390 procedure, factored out from ...
3391 (top level): ... here. Add "set displaced-stepping" testing axis.
3392 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3393 parameter "displaced". Use it.
3394 (top level): Use foreach and add "set displaced-stepping" testing
3397 2015-04-10 Pedro Alves <palves@redhat.com>
3399 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3401 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3402 both the address of the instruction that triggers the watchpoint
3403 and the address of the instruction immediately after, and use
3404 those addresses for the test. Fix comment.
3406 2015-04-10 Pedro Alves <palves@redhat.com>
3408 * gdb.base/sigstep.exp (breakpoint_to_handler)
3409 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3410 Test "backtrace" in handler.
3411 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3412 (top level): Add new "displaced" test axis to
3413 breakpoint_to_handler, breakpoint_to_handler_entry and
3414 breakpoint_over_handler.
3416 2015-04-10 Pedro Alves <palves@redhat.com>
3419 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3421 2015-04-10 Yao Qi <yao.qi@linaro.org>
3423 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3424 (test_add_rn_pc): New function.
3425 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3426 (top level): Invoke test_add_rn_pc.
3428 2015-04-10 Pedro Alves <palves@redhat.com>
3431 * gdb.base/step-over-no-symbols.exp: New file.
3433 2015-04-09 Andy Wingo <wingo@igalia.com>
3435 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3436 after the Python tests.
3438 2015-04-08 Keith Seitz <keiths@redhat.com>
3441 * gdb.python/py-completion.exp: New tests for completion.
3442 * gdb.python/py-completion.py (CompleteLimit1): New class.
3443 (CompleteLimit2): Likewise.
3444 (CompleteLimit3): Likewise.
3445 (CompleteLimit4): Likewise.
3446 (CompleteLimit5): Likewise.
3447 (CompleteLimit6): Likewise.
3448 (CompleteLimit7): Likewise.
3450 2015-04-08 Pedro Alves <palves@redhat.com>
3454 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3456 (main): Install it as SIGUSR1 handler.
3457 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3458 parameter. Always use "setup" as prefix. Toggle "set
3459 displaced-stepping" off/on depending on global. Don't switch to
3461 (top level): Add displaced stepping "off/on" test axis. Update
3462 "setup" calls. Wrap each subtest with with_test_prefix. Test
3463 continuing with a queued signal in each thread.
3465 2015-04-08 Pedro Alves <palves@redhat.com>
3467 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3468 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3469 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3470 Return early if running to main fails.
3471 * gdb.trace/while-stepping.exp: Likewise.
3473 2015-04-07 Pedro Alves <palves@redhat.com>
3475 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3476 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3477 interact with inferior program.
3479 2015-04-07 Pedro Alves <palves@redhat.com>
3481 * lib/gdb.exp (inferior_spawn_id): New global.
3482 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3483 spawn id after processing the user code.
3484 (default_gdb_start): Set inferior_spawn_id.
3485 (send_inferior): New procedure.
3486 * lib/gdbserver-support.exp (gdbserver_start): Set
3488 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3490 2015-04-07 Pedro Alves <palves@redhat.com>
3492 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3493 * lib/gdbserver-support.exp (gdbserver_start): Make
3494 $server_spawn_id global.
3495 (gdbserver_start): Don't wait for gdbserver's spawn id with
3497 (close_gdbserver): New procedure.
3498 (gdb_exit): Rename the default version and reimplement.
3500 2015-04-07 Pedro Alves <palves@redhat.com>
3502 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
3503 append the substituted item, not the original item.
3505 2015-04-07 Pedro Alves <palves@redhat.com>
3507 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3510 2015-04-07 Pedro Alves <palves@redhat.com>
3512 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3513 output appearing once only.
3515 2015-04-07 Pedro Alves <palves@redhat.com>
3517 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3518 that doesn't expect anything. Return early if running to main
3521 2015-04-07 Yao Qi <yao.qi@linaro.org>
3523 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3524 (child_function): Call alarm.
3525 (main): Move call to alarm into the loop.
3526 * gdb.threads/non-stop-fair-events.exp: Build program with
3529 2015-04-06 Doug Evans <xdje42@gmail.com>
3531 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3532 Fix dest parameter to board_info.
3533 (fpc_compile): Ditto.
3534 (gdb_compile_pascal): Rename dest arg to destfile.
3536 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3538 * gdb.ada/funcall_ref.exp: New file.
3539 * gdb.ada/funcall_ref/foo.adb: New file.
3541 2015-04-02 Yao Qi <yao.qi@linaro.org>
3543 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3546 2015-04-02 Gary Benson <gbenson@redhat.com>
3548 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3550 2015-04-01 Sasha Smundak <asmundak@google.com>
3552 * gdb.python/py-unwind-maint.c: New file.
3553 * gdb.python/py-unwind-maint.exp: New test.
3554 * gdb.python/py-unwind-maint.py: New file.
3555 * gdb.python/py-unwind.c: New file.
3556 * gdb.python/py-unwind.exp: New test.
3557 * gdb.python/py-unwind.py: New test.
3559 2015-04-01 Pedro Alves <palves@redhat.com>
3561 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3562 to fail instead of non-existent $test.
3564 2015-04-01 Pedro Alves <palves@redhat.com>
3566 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3567 GDBFLAGS if not empty.
3569 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3571 * gdb.ada/complete.exp: Remove "multi_line".
3572 * gdb.ada/info_exc.exp: Remove "multi_line".
3573 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3574 * gdb.ada/ptype_field.exp: Remove "multi_line".
3575 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3576 * gdb.ada/tagged.exp: Remove "multi_line".
3577 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3579 * gdb.btrace/delta.exp: Likewise.
3580 * gdb.btrace/exception.exp: Likewise.
3581 * gdb.btrace/function_call_history.exp: Likewise.
3582 * gdb.btrace/instruction_history.exp: Likewise.
3583 * gdb.btrace/nohist.exp: Likewise.
3584 * gdb.btrace/record_goto.exp: Likewise.
3585 * gdb.btrace/segv.exp: Likewise.
3586 * gdb.btrace/stepi.exp: Likewise.
3587 * gdb.btrace/tailcall.exp: Likewise.
3588 * gdb.btrace/unknown_functions.exp: Likewise.
3589 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3590 * lib/gdb.exp: Add the "multi_line" helper.
3592 2015-04-01 Pedro Alves <palves@redhat.com>
3594 * gdb.threads/tid-reuse.c: New file.
3595 * gdb.threads/tid-reuse.exp: New file.
3597 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3600 * gdb.base/coredump-filter.c: New file.
3601 * gdb.base/coredump-filter.exp: Likewise.
3603 2015-03-27 Petr Machata <pmachata@redhat.com>
3605 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3606 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3607 (Dwarf::assemble): Initialize them.
3608 (Dwarf::lines): New function.
3610 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3612 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3613 SYMBOL_PREFIX for x86_64-*-cygwin.
3615 2015-03-26 Andy Wingo <wingo@igalia.com>
3618 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3619 const_value but not a location.
3620 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3621 location defined in non-main CUs are visible.
3623 2015-03-26 Yao Qi <yao.qi@linaro.org>
3626 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3627 Add a line number entry for the same line.
3628 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3629 Add a line number entry for the same line.
3631 2015-03-26 Yao Qi <yao.qi@linaro.org>
3633 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3635 (func): Likewise. Add .Lfunc_1 label.
3637 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3642 2015-03-26 Yao Qi <yao.qi@linaro.org>
3644 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3645 Call gdb_compile instead to compile each .s files without debug
3648 2015-03-26 Yao Qi <yao.qi@linaro.org>
3650 * gdb.base/savedregs.exp (process_saved_regs): Make
3651 "Saved registers:" optional in the pattern.
3653 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3655 * gdb.btrace/next.exp: Merged into step.exp.
3656 * gdb.btrace/finish.exp: Merged into step.exp.
3657 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3658 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3659 "record goto" and checking the exact replay position.
3660 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3661 check for "Recording format" in "info record" output.
3662 * gdb.btrace/record_goto.exp: Choose test file based on target.
3663 * gdb.btrace/x86-record_goto.S: Renamed into ...
3664 * gdb.btrace/x86_64-record_goto.S: ... this.
3665 * gdb.btrace/i686-record_goto.S: New.
3666 * gdb.btrace/x86-tailcall.S: Renamed into ...
3667 * gdb.btrace/x86_64-tailcall.S: ... this.
3668 * gdb.btrace/i686-tailcall.S: New.
3669 * gdb.btrace/x86-tailcall.c: Renamed into ...
3670 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3671 separate statements. Update test.
3672 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3673 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3674 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3675 * gdb.btrace/tailcall.exp: Choose test file based on target.
3676 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3678 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3680 * gdb.btrace/exception.exp: Increase BTS buffer size.
3682 2015-03-24 Pedro Alves <palves@redhat.com>
3684 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3686 2015-03-24 Pedro Alves <palves@redhat.com>
3688 * gdb.threads/schedlock.exp (test_step): No longer expect that
3689 "set scheduler-locking step" with "next" over a function call runs
3692 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3694 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3696 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3698 PR breakpoints/16466
3699 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3700 * gdb.mi/mi-pending.c (thread_func): New function.
3701 (int main): Add threading support required.
3702 * gdb.mi/mi-pending.exp: Add tests for this issue.
3703 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3704 (pendfunc2): Remove stdio dependency.
3705 * gdb.mi/mi-pendshr2.c: New file.
3707 2015-03-23 Keith Seitz <keiths@redhat.com>
3709 * gdb.linespec/keywords.c: New file.
3710 * gdb.linespec/keywords.exp: New file.
3712 2015-03-23 Keith Seitz <keiths@redhat.com>
3715 * gdb.dwarf2/staticvirtual.exp: New test.
3717 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3719 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3720 * README: Remove HP-UX and gdb.hp.
3722 * configure: Regenerate.
3723 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3724 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3725 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3726 gdb.hp/gdb.defects/Makefile.
3727 * gdb.hp/Makefile.in: File deleted.
3728 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3729 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3730 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3731 * gdb.hp/gdb.aCC/run.c: File deleted.
3732 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3733 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3734 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3735 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3736 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3737 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3738 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3739 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3740 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3741 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3742 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3743 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3744 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3745 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3746 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3747 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3748 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3749 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3750 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3751 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3752 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3753 * gdb.hp/gdb.compat/average.c: File deleted.
3754 * gdb.hp/gdb.compat/sum.c: File deleted.
3755 * gdb.hp/gdb.compat/xdb.c: File deleted.
3756 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3757 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3758 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3759 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3760 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3761 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3762 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3763 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3764 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3765 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3766 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3767 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3768 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3769 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3770 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3771 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3772 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3773 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3774 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3775 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3776 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3777 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3778 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3779 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3780 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3781 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3782 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3783 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3784 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3785 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3786 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3787 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3788 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3789 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3790 * gdb.hp/tools/odump: File deleted.
3792 2015-03-19 Pedro Alves <palves@redhat.com>
3794 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3795 (saw_thread_3): New globals.
3796 (top level): Increment them when an event for the corresponding
3798 (no thread starvation): New test.
3800 2015-03-19 Pedro Alves <palves@redhat.com>
3802 * gdb.threads/continue-pending-status.c: New file.
3803 * gdb.threads/continue-pending-status.exp: New file.
3805 2015-03-18 Pedro Alves <palves@redhat.com>
3807 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3808 Use gdb_is_target_remote instead of is_remote. Use
3809 gdb_test_multiple instead of gdb_expect. Exit early if
3810 gdb_test_multiple hits its internal matches. Tighten stepi tests
3811 expected output. Fail on exit with any signal, instead of just
3814 2015-03-18 Yao Qi <yao.qi@linaro.org>
3817 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3819 * gdb.base/catch-syscall.exp: Don't skip it on
3820 aarch64*-*-linux* target. Remove elements in all_syscalls.
3821 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3823 (setup_all_syscalls): New proc.
3825 2015-03-16 Yao Qi <yao.qi@linaro.org>
3827 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3828 (top level): Skip tests if valid_addr_p returns false for
3831 2015-03-11 Andy Wingo <wingo@igalia.com>
3833 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3835 2015-03-11 Yao Qi <yao.qi@linaro.org>
3837 * gdb.base/catch-syscall.exp: Fix typo in comments.
3839 2015-03-11 Yao Qi <yao.qi@linaro.org>
3841 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3843 2015-03-09 Pedro Alves <palves@redhat.com>
3845 * dg-extract-results.py: Delete.
3847 2015-03-09 Pedro Alves <palves@redhat.com>
3849 Merge dg-extract-results.sh from GCC upstream (r218843).
3851 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3852 * dg-extract-results.sh: Use --text with grep to avoid issues with
3853 binary files. Fall back to cat -v, if that doesn't work.
3855 2015-03-05 Pedro Alves <palves@redhat.com>
3857 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3859 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3861 * lib/mi-support.exp (mi_expect_interrupt): Accept
3862 alternative event for when in all-stop mode.
3864 2015-03-04 Pedro Alves <palves@redhat.com>
3866 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3868 2015-03-04 Mark Kettenis <kettenis@gnu.org>
3870 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3872 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3874 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3875 regexps for GDB's current line display, accept a hex address
3876 preceding the line number.
3878 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3880 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3881 the 'arch1' variable for "s390*-linux*" targets.
3883 2015-03-04 Pedro Alves <palves@redhat.com>
3885 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3886 (main): Pass missing retval argument to pthread_join call.
3888 2015-03-02 Pedro Alves <palves@redhat.com>
3890 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3891 (top level): Call do_test with non-stop as well.
3893 2015-03-02 Pedro Alves <palves@redhat.com>
3895 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3898 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3900 * gdb.arch/s390-vregs.exp: New test.
3901 * gdb.arch/s390-vregs.S: New file.
3903 2015-02-27 Pedro Alves <palves@redhat.com>
3905 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3906 call to catch_command_errors.
3907 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3908 catch_command_errors.
3910 2015-02-27 Pedro Alves <palves@redhat.com>
3912 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3913 "true" for boolean result.
3914 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3917 2015-02-27 Pedro Alves <palves@redhat.com>
3919 * lib/unbuffer_output.c: New file.
3920 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3921 (main): Call gdb_unbuffer_output.
3923 2015-02-27 Yao Qi <yao.qi@linaro.org>
3925 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3928 2015-02-26 Doug Evans <dje@google.com>
3930 * gdb.cp/class2.cc (Dbase, D): New classes.
3931 (main): New local delta.
3932 * gdb.cp/class2.exp: Test printing delta.
3933 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3934 (dynbar): New global.
3935 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3937 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3939 * gdb.compile/compile-ifunc.c: New file.
3940 * gdb.compile/compile-ifunc.exp: New file.
3942 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3944 * gdb.base/structs.exp: Check for correct struct on finish.
3946 2015-02-26 Yao Qi <yao.qi@linaro.org>
3948 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3951 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3953 * gdb.arch/cordic.ko.bz2: New file.
3954 * gdb.arch/cordic.ko.debug.bz2: New file.
3955 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3957 2015-02-25 Yao Qi <yao.qi@linaro.org>
3959 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3960 aarch64*-*-* target.
3962 2015-02-23 Pedro Alves <palves@redhat.com>
3964 * lib/gdb.exp (delete_breakpoints): Rewrite using
3967 2015-02-23 Pedro Alves <palves@redhat.com>
3969 * gdb.base/info-os.c: Include stdlib.h.
3971 2015-02-22 Doug Evans <xdje42@gmail.com>
3974 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3975 is read after symbols have been re-read.
3976 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3977 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3979 2015-02-21 Doug Evans <dje@google.com>
3981 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3983 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3986 * gdb.arch/i386-biarch-core.core.bz2: New file.
3987 * gdb.arch/i386-biarch-core.exp: New file.
3989 2015-02-21 Pedro Alves <palves@redhat.com>
3991 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3994 2015-02-20 Pedro Alves <palves@redhat.com>
3996 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3999 2015-02-20 Pedro Alves <palves@redhat.com>
4001 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4003 2015-02-20 Pedro Alves <palves@redhat.com>
4005 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4006 clean_restart before gdb_target_supports_trace.
4008 2015-02-20 Pedro Alves <palves@redhat.com>
4011 * gdb.threads/clone-thread_db.c: New file.
4012 * gdb.threads/clone-thread_db.exp: New file.
4014 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4016 PR breakpoints/16812
4017 * gdb.base/catch-gdb-caused-signals.c: New file.
4018 * gdb.base/catch-gdb-caused-signals.exp: New file.
4020 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4022 * configure: Regenerated.
4023 * configure.ac: Use GDB_AC_TRANSFORM.
4024 * aclocal.m4: sinclude ../transform.m4.
4026 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4028 * lib/dtrace.exp: New file.
4029 * gdb.base/dtrace-probe.exp: Likewise.
4030 * gdb.base/dtrace-probe.d: Likewise.
4031 * gdb.base/dtrace-probe.c: Likewise.
4032 * lib/pdtrace.in: Likewise.
4033 * configure.ac: Output variables with the transformed names of
4034 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4035 * configure: Regenerated.
4037 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4039 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4040 expected message when trying to access $_probe_* convenience
4041 variables while not on a probe.
4043 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4045 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4047 2015-02-11 Pedro Alves <pedro@codesourcery.com>
4049 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4050 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4052 2015-02-10 Doug Evans <xdje42@gmail.com>
4054 * lib/gdb.exp (gdb_load): Always return a result.
4056 2015-02-10 Pedro Alves <palves@redhat.com>
4058 * gdb.threads/signal-sigtrap.c: New file.
4059 * gdb.threads/signal-sigtrap.exp: New file.
4061 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4063 * gdb.trace/no-attach-trace.c: New file.
4064 * gdb.trace/no-attach-trace.exp: New file.
4066 2015-02-09 Mark Wielaard <mjw@redhat.com>
4068 * gdb.dwarf2/atomic.c: New file.
4069 * gdb.dwarf2/atomic-type.exp: Likewise.
4071 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4073 * gdb.btrace/buffer-size.exp: Update "info record" output.
4074 * gdb.btrace/delta.exp: Update "info record" output.
4075 * gdb.btrace/enable.exp: Update "info record" output.
4076 * gdb.btrace/finish.exp: Update "info record" output.
4077 * gdb.btrace/instruction_history.exp: Update "info record" output.
4078 * gdb.btrace/next.exp: Update "info record" output.
4079 * gdb.btrace/nexti.exp: Update "info record" output.
4080 * gdb.btrace/step.exp: Update "info record" output.
4081 * gdb.btrace/stepi.exp: Update "info record" output.
4082 * gdb.btrace/nohist.exp: Update "info record" output.
4084 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4086 * gdb.btrace/buffer-size: New.
4088 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4090 * gdb.btrace/delta.exp: Update "info record" output.
4091 * gdb.btrace/enable.exp: Update "info record" output.
4092 * gdb.btrace/finish.exp: Update "info record" output.
4093 * gdb.btrace/instruction_history.exp: Update "info record" output.
4094 * gdb.btrace/next.exp: Update "info record" output.
4095 * gdb.btrace/nexti.exp: Update "info record" output.
4096 * gdb.btrace/step.exp: Update "info record" output.
4097 * gdb.btrace/stepi.exp: Update "info record" output.
4098 * gdb.btrace/nohist.exp: Update "info record" output.
4100 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4103 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4105 2015-02-06 Pedro Alves <palves@redhat.com>
4107 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4109 (seconds_left, again): New globals.
4110 (main): Wait seconds_left in a 1-second sleep loop instead of
4111 sleeping 180 seconds. If 'again' is set, reset the seconds
4113 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4114 'again' in the inferior before detaching. Print the seconds left.
4115 (options): New global.
4116 (top level): Build program with -DTIMEOUT=$timeout.
4118 2015-02-06 Pedro Alves <palves@redhat.com>
4120 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4121 determine how many seconds to pass to 'alarm'.
4122 * gdb.base/gdb-sigterm.exp (top level): Build program with
4124 (do_test): Return success/failure indication. Add more verbose
4125 logging. Don't fail if 200 single steps are seen. Instead, fail
4126 when the test times out.
4127 (passes): New global.
4128 (top level): Break the testing loop if testing fails on any
4129 iteration. Use gdb_assert.
4131 2015-02-04 Don Breazeal <donb@codesourcery.com>
4133 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4134 and initialize them.
4135 (ipc_cleanup): New function.
4136 (main): Don't declare shmid, semid, and msqid. Add a call to
4137 atexit so that we call ipc_cleanup on exit.
4139 2015-02-04 Pedro Alves <palves@redhat.com>
4141 * boards/native-extended-gdbserver.exp: Remove any target variant
4142 specifications from the board name before clearing the isremote
4143 flag from board_info.
4145 2015-01-31 Doug Evans <xdje42@gmail.com>
4147 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4149 2015-01-31 Gary Benson <gbenson@redhat.com>
4151 * gdb.base/completion.exp: Disable completion limiting for
4152 existing tests. Add new tests to check completion limiting.
4153 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4155 2015-01-31 Doug Evans <xdje42@gmail.com>
4157 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4159 2015-01-31 Doug Evans <xdje42@gmail.com>
4161 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4162 entries. Duplicate file section script entries.
4163 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4164 inlined entries. Add test for safe-path rejection.
4165 * gdb.python/py-section-script.c: Add duplicate inlined section script
4166 entries. Duplicate file section script entries.
4167 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4168 inlined entries. Add test for safe-path rejection.
4170 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4172 * gdb.ada/disc_arr_bound: New testcase.
4174 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4176 * gdb.ada/mi_var_array: New testcase.
4178 2015-01-27 Doug Evans <dje@google.com>
4180 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4181 Add test for objfile.filename, objfile.username after objfile
4184 2015-01-26 Joel Brobecker <brobecker@adacore.com>
4186 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4187 the second test to print the name attribute of value
4188 returned by the call to gdb.lookup_type, and adjust
4189 the expected output accordingly.
4191 2015-01-25 Mark Wielaard <mjw@redhat.com>
4193 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4194 * gdb.base/disp-step-fork.c: Include unistd.h.
4195 * gdb.base/siginfo-obj.c: Include stdio.h.
4196 * gdb.base/siginfo-thread.c: Likewise.
4197 * gdb.mi/non-stop.c: Include unistd.h.
4198 * gdb.mi/nsthrexec.c: Include stdio.h.
4199 * gdb.mi/pthreads.c: Include unistd.h.
4200 * gdb.modula2/unbounded1.c (main): Declare returns int.
4201 * gdb.reverse/consecutive-reverse.c: Likewise.
4202 * gdb.threads/create-fail.c: Include unistd.h.
4203 * gdb.threads/killed.c: Likewise.
4204 * gdb.threads/linux-dp.c: Likewise.
4205 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4206 * gdb.threads/non-ldr-exc-2.c: Likewise.
4207 * gdb.threads/non-ldr-exc-3.c: Likewise.
4208 * gdb.threads/non-ldr-exc-4.c: Likewise.
4209 * gdb.threads/pthreads.c: Include unistd.h.
4210 (main): Declare returns int.
4211 * gdb.threads/tls-main.c (foo): New declaration.
4212 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4214 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4216 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4217 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4219 2015-01-15 Mark Wielaard <mjw@redhat.com>
4221 * gdb.base/noreturn-return.c: New file.
4222 * gdb.base/noreturn-return.exp: New file.
4223 * gdb.base/noreturn-finish.c: New file.
4224 * gdb.base/noreturn-finish.exp: New file.
4226 2015-01-23 Pedro Alves <palves@redhat.com>
4228 * gdb.threads/continue-pending-after-query.c: New file.
4229 * gdb.threads/continue-pending-after-query.exp: New file.
4231 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4232 Simon Marchi <simon.marchi@ericsson.com>
4234 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4235 * gdb.base/valgrind-db-attach.exp: Same.
4236 * gdb.base/valgrind-infcall.exp: Same.
4237 * lib/mi-support.exp (default_mi_gdb_start): Same.
4238 * lib/prompt.exp (default_prompt_gdb_start): Same.
4239 * lib/gdb.exp (default_gdb_spawn): Same.
4240 (gdb_interact): New.
4243 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4245 * gdb.compile/compile.exp (pointer to jit function): New test.
4247 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
4249 * lib/gdb.exp (supports_process_record): Return true for
4251 (supports_reverse): Likewise.
4253 2015-01-15 Don Breazeal <donb@codesourcery.com>
4255 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4256 instead of checking whether the target board is remote and
4257 use spawn_wait_for_attach instead of exec/sleep.
4258 * gdb.base/attach-twice.exp: Likewise.
4260 2015-01-15 Joel Brobecker <brobecker@adacore.com>
4262 * gdb.ada/var_arr_attrs: New testcase.
4264 2015-01-14 Pedro Alves <palves@redhat.com>
4265 Joel Brobecker <brobecker@adacore.com>
4268 * gdb.base/bp-cmds-execution-x-script.c: New file.
4269 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4270 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4272 2015-01-14 Pedro Alves <palves@redhat.com>
4275 * gdb.base/batch-preserve-term-settings.c: New file.
4276 * gdb.base/batch-preserve-term-settings.exp: New file.
4278 2015-01-13 Doug Evans <dje@google.com>
4280 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4283 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4285 * Makefile.in (clean mostlyclean): Do not delete *.py.
4287 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4289 * gdb.python/py-lookup-type.exp: New file.
4291 2015-01-12 Pedro Alves <palves@redhat.com>
4293 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4294 restore GDBFLAGS before returning.
4296 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4298 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4299 is_amd64_regs_target and is_x86_like_target.
4301 2015-01-11 Doug Evans <xdje42@gmail.com>
4303 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4304 is given without an explicit form.
4305 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4307 * gdb.dwarf/corrupt.exp: Ditto.
4308 * gdb.dwarf2/enum-type.exp: Ditto.
4309 * gdb.trace/entry-values.exp: Ditto.
4310 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4312 2015-01-11 Doug Evans <xdje42@gmail.com>
4315 * gdb.base/maint.exp: Remove references to "maint demangle".
4316 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4317 Add tests for explicitly specifying language to demangle.
4318 * gdb.dlang/demangle.exp: Ditto.
4320 2015-01-09 Pedro Alves <palves@redhat.com>
4322 * gdb.threads/non-stop-fair-events.c: New file.
4323 * gdb.threads/non-stop-fair-events.exp: New file.
4325 2015-01-09 Pedro Alves <palves@redhat.com>
4327 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4328 the global scope. Set a breakpoint after all threads are started
4329 rather than stepping over two source lines. Expect the prompt.
4330 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4333 (main): Use threads_started_barrier to wait for all threads to
4334 start. Main thread no longer calls thread_function. Exit after
4336 (loop): New function.
4337 (thread_function): Wait on threads_started_barrier barrier. Call
4338 'loop' at each iteration.
4339 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4340 threads have started, instead of hardcoding number of "next"
4341 steps. Use an access watchpoint instead of a write watchpoint.
4343 2015-01-09 Pedro Alves <palves@redhat.com>
4345 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4346 (thread_func): Wait on barrier.
4347 (main): Wait for all threads to start before stopping GDB.
4348 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4350 (thread1_func, thread2_func): Wait on barrier.
4351 (main): Wait for all threads to start before stopping GDB.
4352 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4354 (thread1_func, thread2_func): Wait on barrier.
4355 (main): Wait for all threads to start before stopping GDB.
4357 2015-01-09 Pedro Alves <palves@redhat.com>
4359 * gdb.threads/attach-many-short-lived-threads.c: New file.
4360 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4362 2014-01-09 Pedro Alves <palves@redhat.com>
4364 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4365 instead of to thread 2.
4366 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4367 Add barrier around each pthread_create call instead of around all
4369 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4370 Set a break on thread_function and have the child threads hit it
4373 2015-01-09 Pedro Alves <palves@redhat.com>
4375 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4376 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4378 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4379 checking whether the target board is remote.
4380 * gdb.multi/multi-attach.exp: Likewise.
4381 * gdb.python/py-sync-interp.exp: Likewise.
4382 * gdb.server/ext-attach.exp: Likewise.
4383 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4384 tests that need to attach, instead of checking whether the target
4385 board is remote at the top of the file.
4387 2015-01-08 Yao Qi <yao@codesourcery.com>
4389 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4391 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4393 Fix testcase compilation.
4394 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4396 2015-01-06 Joel Brobecker <brobecker@adacore.com>
4398 * gdb.python/py-type.exp: Add a couple test about empty
4399 array creation, and negative-length array creation.
4401 2015-01-02 Doug Evans <xdje42@gmail.com>
4403 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4405 2015-01-02 Doug Evans <dje@google.com>
4407 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4409 2014-12-29 Yao Qi <yao@codesourcery.com>
4411 * gdb.trace/entry-values.exp: Update comments. Rename variable
4412 bar_call_foo to returned_from_foo.
4414 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4417 * gdb.linespec/break-asm-file.c: New file.
4418 * gdb.linespec/break-asm-file.exp: New file.
4419 * gdb.linespec/break-asm-file0.s: New file.
4420 * gdb.linespec/break-asm-file1.s: New file.
4422 2014-12-18 Nigel Stephens <nigel@mips.com>
4423 Maciej W. Rozycki <macro@codesourcery.com>
4425 * gdb.base/float.exp: Handle the new output from "info float" on
4428 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4430 Fix MinGW compilation.
4431 * gdb.compile/compile-ops.exp: Update untested message if
4432 !skip_compile_feature_tests.
4433 * gdb.compile/compile-setjmp.exp: Likewise.
4434 * gdb.compile/compile-tls.exp: Likewise.
4435 * gdb.compile/compile.exp: Likewise.
4436 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4437 supported on this host".
4439 2014-12-16 Doug Evans <xdje42@gmail.com>
4441 * boards/stabs.exp: New file.
4443 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4445 * gdb.base/completion.exp: Adjust to format changes of "maint
4446 print user-registers".
4448 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
4451 * gdb.arch/aarch64-fp.c: New file.
4452 * gdb.arch/aarch64-fp.exp: New file.
4454 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4456 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4457 r210637, r210913, r211666, r215400, r215817).
4459 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4460 * dg-extract-results.py: New file.
4461 * dg-extract-results.sh: Use it if the environment seems
4464 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4466 * dg-extract-results.py (parse_run): Handle warnings that
4467 are printed before a test harness is run.
4469 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4471 * dg-extract-results.py (Named): Remove __cmp__ method.
4472 (output_variation): Use a key to sort variation.harnesses.
4474 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4476 * dg-extract-results.py: For Python 3, force sys.stdout to
4477 handle surrogate escape sequences.
4478 (safe_open): New function.
4479 (output_segment, main): Use it.
4481 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4483 * dg-extract-results.py (Prog.result_re): Include options
4486 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4488 * dg-extract-results.py (output_variation): Always sort if
4491 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4493 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4494 as long as we get pagination notifications.
4496 2014-12-15 Jason Merrill <jason@redhat.com>
4498 * Makefile.in (check-gdb.%): Restore.
4499 * README: Mention it.
4501 2014-12-13 Joel Brobecker <brobecker@adacore.com>
4503 * gdb.ada/str_uninit: New testcase.
4505 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4508 * gdb.base/vla-stub-define.c: New file.
4509 * gdb.base/vla-stub.c: New file.
4510 * gdb.base/vla-stub.exp: New file.
4512 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4513 Jan Kratochvil <jan.kratochvil@redhat.com>
4514 Tom Tromey <tromey@redhat.com>
4516 * configure.ac: Add gdb.compile/.
4517 * configure: Regenerate.
4518 * gdb.compile/Makefile.in: New file.
4519 * gdb.compile/compile-ops.exp: New file.
4520 * gdb.compile/compile-ops.c: New file.
4521 * gdb.compile/compile-tls.c: New file.
4522 * gdb.compile/compile-tls.exp: New file.
4523 * gdb.compile/compile-constvar.S: New file.
4524 * gdb.compile/compile-constvar.c: New file.
4525 * gdb.compile/compile-mod.c: New file.
4526 * gdb.compile/compile-nodebug.c: New file.
4527 * gdb.compile/compile-setjmp-mod.c: New file.
4528 * gdb.compile/compile-setjmp.c: New file.
4529 * gdb.compile/compile-setjmp.exp: New file.
4530 * gdb.compile/compile-shlib.c: New file.
4531 * gdb.compile/compile.c: New file.
4532 * gdb.compile/compile.exp: New file.
4533 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4535 2014-12-12 Tom Tromey <tromey@redhat.com>
4537 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4538 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4540 2014-12-12 Doug Evans <dje@google.com>
4542 * lib/gdb-python.exp (get_python_valueof): New function.
4543 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4545 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4547 * gdb.base/completion.exp: Add test for completion of "info
4550 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4552 * gdb.base/func-ptrs.c: New file.
4553 * gdb.base/func-ptrs.exp: New file.
4555 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4557 PR breakpoints/17012
4558 * gdb.base/dprintf-detach.c: New file.
4559 * gdb.base/dprintf-detach.exp: New file.
4561 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4563 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4564 * lib/gdb.exp (target_is_gdbserver): New procedure.
4566 2014-12-08 Doug Evans <dje@google.com>
4568 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4570 2014-12-05 Yao Qi <yao@codesourcery.com>
4572 * gdb.guile/scm-error.exp: Remove the third argument to
4573 gdb_remote_download.
4574 * gdb.guile/scm-frame-args.exp: Likewise.
4575 * gdb.guile/scm-section-script.exp: Likewise.
4577 2014-12-05 Yao Qi <yao@codesourcery.com>
4579 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4581 2014-12-04 Doug Evans <dje@google.com>
4583 * gdb.python/py-objfile.exp: Add tests for
4584 objfile.add_separate_debug_file.
4586 2014-12-04 Doug Evans <dje@google.com>
4588 * lib/gdb.exp (get_build_id): New function.
4589 (build_id_debug_filename_get): Rewrite to use it.
4590 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4592 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4594 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4595 `method(long)', not just 0x0.
4596 * gdb.cp/nsalias.exp: Align code labels to 4.
4597 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4598 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4599 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4600 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4601 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4602 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4604 2014-12-02 Doug Evans <dje@google.com>
4607 * gdb.cp/anon-ns.cc: Move guts of this file to ...
4608 * gdb.cp/anon-ns2.cc: ... here. New file.
4609 * gdb.cp/anon-ns.exp: Update.
4611 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
4613 * gdb.python/py-events.py (inferior_call_handler): New.
4614 (register_changed_handler, memory_changed_handler): New.
4615 (test_events.invoke): Register new handlers.
4616 * gdb.python/py-events.exp: Add tests for inferior call,
4617 memory_changed and register_changed events.
4619 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4621 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4622 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4623 if the linker doesn't understand this.
4625 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4627 * gdb.python/python.exp: Change expected reply to help().
4629 2014-12-01 Yao Qi <yao@codesourcery.com>
4631 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4632 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4633 * configure: Re-generated.
4635 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4637 * gdb.cp/chained-calls.cc: New file.
4638 * gdb.cp/chained-calls.exp: New file.
4639 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4641 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4643 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4644 * gdb.dwarf2/symtab-producer.exp: Same.
4645 * gdb.gdb/python-interrupts.exp: Same.
4646 * gdb.gdb/python-selftest.exp: Same.
4647 * gdb.python/py-linetable.exp: Same.
4648 * gdb.python/py-type.exp: Same.
4649 * gdb.python/py-value-cc.exp: Same.
4650 * gdb.python/py-value.exp: Same.
4652 2014-11-28 Yao Qi <yao@codesourcery.com>
4654 * gdb.base/break-probes.exp: Match library name prefixed with
4657 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4659 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4660 test expected output. Add parentheses for the call to print.
4661 Remove L suffix from integers.
4663 2014-11-26 Doug Evans <dje@google.com>
4665 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4667 2014-11-22 Yao Qi <yao@codesourcery.com>
4669 * gdb.trace/entry-values.c: Remove asms.
4670 (foo): Add foo_label.
4671 (bar): Add bar_label.
4672 * gdb.trace/entry-values.exp: Remove code computing foo's
4673 length and bar's length.
4674 (Dwarf::assemble): Invoke function_range for bar and use
4675 MACRO_AT_func for foo.
4677 2014-11-22 Yao Qi <yao@codesourcery.com>
4679 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4680 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4681 Use .Lgcc43_procstart instead of gcc43.
4683 2014-11-21 Joel Brobecker <brobecker@adacore.com>
4685 * gdb.ada/n_arr_bound: New testcase.
4687 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4689 PR breakpoints/10737
4690 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4691 test_catch_syscall_multi_arch.
4692 (test_catch_syscall_multi_arch): New function.
4694 2014-11-20 Doug Evans <xdje42@gmail.com>
4696 * gdb.base/maint.exp: Update expected output.
4698 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4700 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4701 4-byte instruction on S390.
4703 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4705 * gdb.ada/arr_arr: New testcase.
4707 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4709 * gdb.ada/pkd_arr_elem: New Testcase.
4711 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
4713 * gdb.reverse/break-precsave: Expect completion message for
4715 * gdb.reverse/consecutive-precsave.exp: Likewise.
4716 * gdb.reverse/finish-precsave.exp: Likewise.
4717 * gdb.reverse/i386-precsave.exp: Likewise.
4718 * gdb.reverse/machinestate-precsave.exp: Likewise.
4719 * gdb.reverse/sigall-precsave.exp: Likewise.
4720 * gdb.reverse/solib-precsave.exp: Likewise.
4721 * gdb.reverse/step-precsave.exp: Likewise.
4722 * gdb.reverse/until-precsave.exp: Likewise.
4723 * gdb.reverse/watch-precsave.exp: Likewise.
4725 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4727 * gdb.base/bp-permanent.c: Include unistd.h.
4728 * gdb.python/py-framefilter-mi.c (main): Add return type.
4729 * gdb.python/py-framefilter.c (main): Likewise.
4730 * gdb.trace/actions-changed.c (main): Likewise.
4732 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4734 * gdb.mi/until.c: Add eye-catchers.
4735 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4738 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4740 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4741 function header variants in break1.c.
4742 * gdb.base/ena-dis-br.exp: Likewise.
4743 * gdb.base/hbreak2.exp: Likewise.
4744 * gdb.reverse/until-precsave.exp: Drop references to removed
4745 non-prototype function header variants in ur1.c.
4746 * gdb.reverse/until-reverse.exp: Likewise.
4748 2014-11-17 Petr Machata <pmachata@redhat.com>
4750 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4751 ${_cu_offset_size} bytes abbrev offset.
4753 2014-11-15 Doug Evans <xdje42@gmail.com>
4756 * gdb.base/line-symtabs.exp: New file.
4757 * gdb.base/line-symtabs.c: New file.
4758 * gdb.base/line-symtabs.h: New file.
4760 2014-11-14 Yao Qi <yao@codesourcery.com>
4762 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4763 (func): Add label func_label.
4764 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4765 Replace low_pc and high_pc with MACRO_AT_range.
4766 Replace name, low_pc and high_pc with MACRO_AT_func.
4768 2014-11-14 Yao Qi <yao@codesourcery.com>
4770 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4771 Replace name, low_pc and high_pc with MACRO_AT_func.
4773 2014-11-14 Yao Qi <yao@codesourcery.com>
4775 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4776 produce debug information.
4777 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4779 2014-11-14 Yao Qi <yao@codesourcery.com>
4781 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4782 object and get function length.
4783 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4785 (top-level): Replace gdb_compile and clean_restart with
4786 prepare_for_testing.
4787 * gdb.dwarf2/main.c (main): Add label main_label.
4789 2014-11-14 Yao Qi <yao@codesourcery.com>
4791 * lib/dwarf.exp (function_range): New procedure.
4792 (Dwarf::_handle_macro_at_func): New procedure.
4793 (Dwarf::_handle_macro_at_range): New procedure.
4794 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4796 2014-11-14 Yao Qi <yao@codesourcery.com>
4798 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4799 (_handle_attribute): New procedure.
4801 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4803 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4804 * gdb.base/call-sc.c (zed): Likewise.
4805 * gdb.base/checkpoint.c (main): Likewise.
4806 * gdb.base/dump.c (main): Likewise.
4807 * gdb.base/gcore.c (main): Likewise.
4808 * gdb.base/huge.c (main): Likewise.
4809 * gdb.base/multi-forks.c (main): Likewise.
4810 * gdb.base/pr10179-a.c (main): Likewise.
4811 * gdb.base/savedregs.c (main): Likewise.
4812 * gdb.base/sigaltstack.c (main): Likewise.
4813 * gdb.base/siginfo.c (main): Likewise.
4814 * gdb.base/structs.c (zed): Likewise.
4815 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4816 * gdb.mi/mi-syn-frame.c (main): Likewise.
4817 * gdb.mi/until.c (foo, main): Likewise.
4818 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4819 * gdb.base/solib-weak.c (foo): Declare.
4820 * gdb.base/attach-twice.c: Include stdio.h.
4821 * gdb.base/weaklib1.c: Likewise.
4822 * gdb.base/weaklib2.c: Likewise.
4823 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4824 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4826 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4827 * gdb.mi/mi-exit-code.c: Likewise.
4828 * gdb.base/break-interp-lib.c: Include string.h.
4829 * gdb.base/coremaker.c: Likewise.
4830 * gdb.base/testenv.c: Likewise.
4831 * gdb.python/py-finish-breakpoint.c: Likewise.
4832 * gdb.base/inferior-died.c: Include sys/wait.h.
4833 * gdb.base/fileio.c: Include time.h.
4834 * gdb.base/async-shell.c: Include unistd.h.
4835 * gdb.base/dprintf-non-stop.c: Likewise.
4836 * gdb.base/info-os.c: Likewise.
4837 * gdb.mi/mi-console.c: Likewise.
4838 * gdb.mi/watch-nonstop.c: Likewise.
4839 * gdb.python/py-events.c: Likewise.
4840 * gdb.base/async.c (baz): Move up before its invocation.
4841 * gdb.base/code_elim2.c (my_global_func): Likewise.
4842 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4843 * gdb.base/advance.c (func2): Likewise.
4845 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4847 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4849 * gdb.base/annota3.c: Likewise.
4850 * gdb.base/async.c: Likewise.
4851 * gdb.base/average.c: Likewise.
4852 * gdb.base/call-ar-st.c: Likewise.
4853 * gdb.base/call-rt-st.c: Likewise.
4854 * gdb.base/call-sc.c: Likewise.
4855 * gdb.base/call-strs.c: Likewise.
4856 * gdb.base/ending-run.c: Likewise.
4857 * gdb.base/execd-prog.c: Likewise.
4858 * gdb.base/exprs.c: Likewise.
4859 * gdb.base/foll-exec.c: Likewise.
4860 * gdb.base/foll-fork.c: Likewise.
4861 * gdb.base/foll-vfork.c: Likewise.
4862 * gdb.base/funcargs.c: Likewise.
4863 * gdb.base/gcore.c: Likewise.
4864 * gdb.base/jump.c: Likewise.
4865 * gdb.base/langs0.c: Likewise.
4866 * gdb.base/langs1.c: Likewise.
4867 * gdb.base/langs2.c: Likewise.
4868 * gdb.base/mips_pro.c: Likewise.
4869 * gdb.base/nodebug.c: Likewise.
4870 * gdb.base/opaque0.c: Likewise.
4871 * gdb.base/opaque1.c: Likewise.
4872 * gdb.base/recurse.c: Likewise.
4873 * gdb.base/run.c: Likewise.
4874 * gdb.base/scope0.c: Likewise.
4875 * gdb.base/scope1.c: Likewise.
4876 * gdb.base/setshow.c: Likewise.
4877 * gdb.base/setvar.c: Likewise.
4878 * gdb.base/shmain.c: Likewise.
4879 * gdb.base/shr1.c: Likewise.
4880 * gdb.base/shr2.c: Likewise.
4881 * gdb.base/sigall.c: Likewise.
4882 * gdb.base/signals.c: Likewise.
4883 * gdb.base/so-indr-cl.c: Likewise.
4884 * gdb.base/solib2.c: Likewise.
4885 * gdb.base/structs.c: Likewise.
4886 * gdb.base/sum.c: Likewise.
4887 * gdb.base/vforked-prog.c: Likewise.
4888 * gdb.base/watchpoint.c: Likewise.
4889 * gdb.reverse/shr2.c: Likewise.
4890 * gdb.reverse/until-reverse.c: Likewise.
4891 * gdb.reverse/ur1.c: Likewise.
4892 * gdb.reverse/watch-reverse.c: Likewise.
4894 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4896 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4898 * gdb.base/sepdebug.exp: Drop references to removed code.
4900 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4902 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4903 variant. Preserve original line numbering.
4904 * gdb.base/list1.c: Likewise.
4906 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4908 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4910 * gdb.base/break1.c: Likewise.
4911 * gdb.base/break.exp: Drop references to removed code.
4913 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4915 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4918 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4920 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4922 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4924 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4925 logic into perform_all_tests() and invoke it with and without
4926 function header prototypes.
4927 (do_function_calls): Remove conditional XFAIL for PR 5318.
4928 (rerun_and_prepare): Remove duplicate code.
4929 (perform_all_tests): New. Main logic moved here.
4931 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4933 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4934 code guarded by #ifdef NO_PROTOTYPES.
4935 (t_double_many_args): Likewise.
4936 (DEF_FUNC_MANY_ARGS_1): Likewise.
4937 (DEF_FUNC_VALUES_1): Likewise.
4938 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4939 guarded by #ifdef PROTOTYPES.
4941 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4943 * gdb.mi/mi-console.c: Add eye-catcher.
4944 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4945 instead of literal line number.
4947 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4949 * gdb.base/shr2.c: Add eye-catcher.
4950 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4953 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4955 * gdb.base/jump.c: Add eye-catchers.
4956 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4959 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4961 * gdb.base/execd-prog.c: Add eye-catchers.
4962 * gdb.base/foll-exec.c: Likewise.
4963 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4966 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4968 * gdb.base/ending-run.c: Add eye-catchers.
4969 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4970 literal line numbers.
4972 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4974 * gdb.base/call-rt-st.c: Add eye-catchers.
4975 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4976 literal line numbers.
4978 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4980 * gdb.base/call-ar-st.c: Add eye-catchers.
4981 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4982 literal line numbers.
4984 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4986 * gdb.base/average.c: Add eye-catchers.
4987 * gdb.base/sum.c: Likewise.
4988 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4989 regexps dynamically.
4991 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4993 * gdb.base/solib1.c: Add eye-catchers.
4994 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4995 literal line numbers.
4997 2014-11-12 Pedro Alves <palves@redhat.com>
4999 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5002 2014-11-12 Pedro Alves <palves@redhat.com>
5004 * gdb.arch/i386-bp_permanent.c: New file.
5005 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5006 (srcfile): Set to i386-bp_permanent.c.
5007 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5008 that stepi does not execute the 'leave' instruction, instead of
5009 testing it does execute.
5010 * gdb.base/bp-permanent.c: New file.
5011 * gdb.base/bp-permanent.exp: New file.
5013 2014-11-10 Doug Evans <xdje42@gmail.com>
5016 * gdb.base/symtab-search-order.exp: New file.
5017 * gdb.base/symtab-search-order.c: New file.
5018 * gdb.base/symtab-search-order-1.c: New file.
5019 * gdb.base/symtab-search-order-shlib-1.c: New file.
5021 2014-11-07 Pedro Alves <palves@redhat.com>
5024 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5027 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5030 * gdb.cp/pr17494.cc: New file.
5031 * gdb.cp/pr17494.exp: New file.
5033 2014-11-02 Yao Qi <yao@codesourcery.com>
5035 * gdb.python/python.exp: Get working directory and match the
5036 output of "set extended-prompt \\w " with it.
5038 2014-10-30 Doug Evans <dje@google.com>
5040 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5042 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5045 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
5047 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5048 * gdb.base/realname-expand.exp: Likewise.
5049 * gdb.linespec/macro-relative.exp: Likewise.
5051 2014-10-29 Pedro Alves <palves@redhat.com>
5054 * gdb.threads/schedlock.c (some_function): New function.
5055 (call_function): New global.
5056 (MAYBE_CALL_SOME_FUNCTION): New macro.
5057 (thread_function): Call it.
5058 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5059 and use it instead of a global counter. Adjust all callers.
5060 (get_current_thread): Use "find current thread" for test message
5061 here rather than having all callers pass down the same string.
5062 (goto_loop): New procedure, factored out from ...
5063 (my_continue): ... this.
5064 (step_ten_loops): Change parameter from test message to command to
5066 (list_count): Delete global.
5067 (check_result): New procedure, factored out from duplicate top
5069 (continue tests): Wrap in with_test_prefix.
5070 (test_step): New procedure, factored out from duplicate top level
5072 (top level): Test "step" in combination with all scheduler-locking
5073 modes. Test "next" in combination with all scheduler-locking
5074 modes, and in combination with stepping over a function call or
5076 * gdb.threads/next-bp-other-thread.c: New file.
5077 * gdb.threads/next-bp-other-thread.exp: New file.
5079 2014-10-29 Pedro Alves <palves@redhat.com>
5082 * gdb.python/python.exp: Test a multi-line command that spawns
5084 * gdb.base/multi-line-starts-subshell.exp: New file.
5086 2014-10-29 Yao Qi <yao@codesourcery.com>
5088 * gdb.base/fileio.exp: Make directories on host.
5090 2014-10-29 Yao Qi <yao@codesourcery.com>
5092 * gdb.base/fileio.c (test_write): Close the file.
5094 2014-10-28 Pedro Alves <palves@redhat.com>
5097 * gdb.base/sigstep.c (no_handler): New global.
5098 (main): If 'no_handler is true, set the signal handlers to
5100 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5101 with_sw_watch and no_handler parameters. Handle them.
5102 (top level) <stepping over handler when stopped at a breakpoint
5103 test>: Add a test axis for testing with a software watchpoint, and
5104 another for testing with the signal handler set to SIG_IGN.
5105 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5106 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5108 2014-10-28 Pedro Alves <palves@redhat.com>
5111 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5112 * gdb.base/sigstep.exp (other_handler_location): New global.
5113 (advance): Support stepping into the signal handler, and running
5114 commands while in the handler.
5115 (in_handler_map): New global.
5116 (top level): In the advance test, add combinations for getting
5117 into the handler with stepping commands, and for running commands
5118 in the handler. Add comment descripting the advancei tests.
5120 2014-10-28 Pedro Alves <palves@redhat.com>
5122 * gdb.base/sigstep.exp: Use build_executable instead of
5123 prepare_for_testing.
5124 (top level): Move code that starts GDB, runs to main and creates a
5126 (restart): ... this new procedure.
5127 (top level): Move backtrace from signal handler test to ...
5128 (validate_backtrace): ... this new procedure.
5129 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5130 with_test_prefix. Always restart GDB.
5131 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5132 with_test_prefix. Always restart GDB. No need to delete
5133 breakpoints after the test.
5134 (test_skip_handler): Remove prefix parameter.
5135 (skip_over_handler, breakpoint_to_handler)
5136 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5137 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5138 restart GDB. No need to delete breakpoints after the test.
5139 (top level): Use foreach to call the test procedures with
5142 2014-10-28 Pedro Alves <palves@redhat.com>
5144 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5145 instead of GNATS numbers.
5146 * gdb.base/sigbpt.exp: Likewise.
5147 * gdb.base/siginfo.exp: Likewise.
5148 * gdb.base/sigstep.exp: Likewise.
5150 2014-10-27 Pedro Alves <palves@redhat.com>
5152 * gdb.base/sigstep.c (dummy): New global.
5153 (main): Issue a couple writes to the new global.
5154 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5156 (skip_over_handler): Use test_skip_handler.
5157 (top level): Call skip_over_handler for stepi and nexti too.
5158 (breakpoint_over_handler): Use test_skip_handler.
5159 (top level): Call breakpoint_over_handler for stepi and nexti too.
5161 2014-10-27 Yao Qi <yao@codesourcery.com>
5163 * gdb.trace/tfile.c (adjust_function_address)
5164 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5165 function descriptor.
5167 2014-10-24 Don Breazeal <donb@codesourcery.com>
5169 * gdb.base/foll-fork.exp (test_follow_fork,
5170 catch_fork_child_follow): Check for updated fork messages emitted
5172 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5173 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5174 vfork_and_exec_child_follow_through_step): Check for updated vfork
5175 messages emitted from infrun.c.
5177 2014-10-24 Pedro Alves <palves@redhat.com>
5179 * gdb.base/corefile.exp: Remove references to ultrix.
5180 * gdb.base/interrupt.exp: Likewise.
5181 * gdb.base/whatis.exp: Likewise.
5182 * gdb.gdb/selftest.exp: Likewise.
5183 * gdb.threads/manythreads.exp: Likewise.
5184 * gdb.threads/print-threads.exp: Likewise.
5185 * gdb.threads/pthreads.exp:: Likewise.
5186 * gdb.threads/schedlock.exp: Likewise.
5188 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5190 * gdb.cp/non-trivial-retval.cc: Add a test case.
5191 * gdb.cp/non-trivial-retval.exp: Add a test.
5193 2014-10-20 Yao Qi <yao@codesourcery.com>
5195 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5196 * gdb.python/py-objfile-script-gdb.py: New file.
5197 * gdb.python/py-objfile-script.exp: Update reference to
5198 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5199 of remote_download. Remove the dest file.
5201 2014-10-20 Yao Qi <yao@codesourcery.com>
5203 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5204 * gdb.base/step-line.exp: Likewise.
5205 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5206 * gdb.dwarf2/dw2-basic.exp: Likewise.
5207 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5208 * gdb.dwarf2/dw2-filename.exp: Likewise.
5209 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5210 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5211 * gdb.dwarf2/dw2-producer.exp: Likewise.
5212 * gdb.dwarf2/mac-fileno.exp: Likewise.
5213 * gdb.python/py-frame-args.exp: Likewise.
5214 * gdb.python/py-framefilter.exp: Likewise.
5215 * gdb.python/py-mi.exp: Likewise.
5216 * gdb.python/py-objfile-script.exp: Likewise
5217 * gdb.python/py-pp-integral.exp: Likewise.
5218 * gdb.python/py-pp-re-notag.exp: Likewise.
5219 * gdb.python/py-prettyprint.exp: Likewise.
5220 * gdb.python/py-section-script.exp: Likewise.
5221 * gdb.python/py-typeprint.exp: Likewise.
5222 * gdb.python/py-xmethods.exp: Likewise.
5223 * gdb.stabs/weird.exp: Likewise.
5224 * gdb.xml/tdesc-regs.exp: Likewise.
5226 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5228 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5229 (out_cu): Use addr_len for the size of addresses.
5230 (out_line): Likewise. Size DW_LNE_set_address instruction
5231 according to addr_len.
5232 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5233 (FUNC): Add START_INSNS to definition.
5235 2014-10-18 Yao Qi <yao@codesourcery.com>
5237 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5238 gdb_has_argv0 return true.
5239 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5240 check [target_info exists noargs], check [gdb_has_argv0]
5242 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5243 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5246 2014-10-17 Doug Evans <dje@google.com>
5248 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5250 * gdb.python/py-events.py: Add clear_objfiles event.
5252 2014-10-17 Doug Evans <dje@google.com>
5254 * gdb.python/py-objfile.exp: Test progspace attribute.
5256 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
5258 * gdb.guile/scm-breakpoint.exp: Do not assume any
5259 directory separators when matching source file paths.
5260 * gdb.python/py-breakpoint.exp: Likewise.
5261 * gdb.reverse/break-precsave.exp: Likewise.
5262 * gdb.reverse/break-reverse.exp: Likewise.
5263 * gdb.reverse/consecutive-precsave.exp: Likewise.
5264 * gdb.reverse/finish-precsave.exp: Likewise.
5265 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5266 * gdb.reverse/finish-reverse.exp: Likewise.
5267 * gdb.reverse/i386-precsave.exp: Likewise.
5268 * gdb.reverse/i387-env-reverse.exp: Likewise.
5269 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5270 * gdb.reverse/machinestate-precsave.exp: Likewise.
5271 * gdb.reverse/machinestate.exp: Likewise.
5272 * gdb.reverse/sigall-precsave.exp: Likewise.
5273 * gdb.reverse/solib-precsave.exp: Likewise.
5274 * gdb.reverse/step-precsave.exp: Likewise.
5275 * gdb.reverse/until-precsave.exp: Likewise.
5276 * gdb.reverse/watch-precsave.exp: Likewise.
5277 * gdb.reverse/watch-reverse.exp: Likewise.
5279 2014-10-17 Yao Qi <yao@codesourcery.com>
5281 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5282 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5284 2014-10-17 Pedro Alves <palves@redhat.com>
5287 * gdb.base/bg-execution-repeat.c: New file.
5288 * gdb.base/bg-execution-repeat.exp: New file.
5290 2014-10-17 Pedro Alves <palves@redhat.com>
5293 * gdb.base/continue-all-already-running.c: New file.
5294 * gdb.base/continue-all-already-running.exp: New file.
5296 2014-10-17 Pedro Alves <palves@redhat.com>
5299 * gdb.base/annota-input-while-running.c: New file.
5300 * gdb.base/annota-input-while-running.exp: New file.
5302 2014-10-17 Pedro Alves <palves@redhat.com>
5304 * gdb.base/callfuncs.exp: emove references to osf.
5305 * gdb.base/sigall.exp: Likewise.
5306 * gdb.gdb/selftest.exp: Likewise.
5307 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5308 * gdb.mi/non-stop.c: Likewise.
5309 * gdb.mi/pthreads.c: Likewise.
5310 * gdb.reverse/sigall-precsave.exp: Likewise.
5311 * gdb.reverse/sigall-reverse.exp: Likewise.
5312 * gdb.threads/pthreads.c: Likewise.
5313 * gdb.threads/pthreads.exp: Likewise.
5315 2014-10-17 Yao Qi <yao@codesourcery.com>
5317 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5318 check 'target_info exists noargs'.
5319 (test_command_prompt_position): Likewise.
5320 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5322 (progvar_simple_while_test): Likewise.
5323 (progvar_complex_if_while_test): Likewise.
5324 (if_while_breakpoint_command_test): Likewise.
5325 (infrun_breakpoint_command_test): Likewise.
5326 (breakpoint_command_test): Likewise.
5327 (watchpoint_command_test): Likewise.
5328 (bp_deleted_in_command_test): Likewise.
5329 (temporary_breakpoint_commands): Likewise.
5331 2014-10-16 Yao Qi <yao@codesourcery.com>
5333 * gdb.base/remotetimeout.exp: Remove noargs checking.
5335 2014-10-15 Pedro Alves <palves@redhat.com>
5338 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5339 * gdb.base/breakpoint-in-ro-region.exp
5340 (probe_target_hardware_step): New procedure.
5341 (top level): Probe hardware stepping and hardware breakpoint
5342 support. Test stepping through a read-only region, with both
5343 "breakpoint auto-hw" on and off and both "always-inserted" on and
5346 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5348 * gdb.dlang/demangle.exp: Update for demangling changes.
5350 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5352 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5353 * gdb.cp/non-trivial-retval.exp: Add new tests.
5355 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5359 * gdb.cp/non-trivial-retval.cc: New file.
5360 * gdb.cp/non-trivial-retval.exp: New file.
5362 2014-10-15 Yao Qi <yao@codesourcery.com>
5364 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5367 2014-10-15 Yao Qi <yao@codesourcery.com>
5369 * gdb.python/py-symbol.exp: Match file base name if host is
5370 remote, otherwise match file name with dir name.
5371 * gdb.python/py-symtab.exp: Likewise.
5372 * gdb.python/python.exp: Likewise.
5374 2014-10-15 Yao Qi <yao@codesourcery.com>
5376 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5378 * gdb.python/py-symtab.exp: Likewise.
5379 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5382 2014-10-14 Joel Brobecker <brobecker@adacore.com>
5384 * gdb.ada/addr_arith: New testcase.
5386 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5388 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5389 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5390 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5391 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5393 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5395 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5396 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5397 * gdb.arch/stap-eval-lang-ada.exp: New file.
5399 2014-10-14 Yao Qi <yao@codesourcery.com>
5401 * gdb.mi/mi-var-child.c (nothing1): New function.
5402 (nothing2): New function.
5403 (do_children_tests): Set function pointers by nothing1 and
5405 * gdb.mi/mi-var-child.exp: Step over new added statements.
5406 Update test to match the new output.
5407 * gdb.mi/var-cmd.c (nothing1): New function.
5408 (nothing2): New function.
5409 (do_children_tests): Set function pointers by nothing1 and
5411 * gdb.mi/mi-var-display.exp: Update test to match output.
5412 Step to the line specified by $line_dct_nothing.
5413 Increase the number of lines to step.
5415 2014-10-14 Yao Qi <yao@codesourcery.com>
5417 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5419 * gdb.mi/mi2-var-child.exp: Likewise.
5421 2014-10-13 Doug Evans <dje@google.com>
5423 * gdb.python/py-objfile.exp: Change name of file name test.
5425 2014-10-13 Doug Evans <dje@google.com>
5427 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5428 from the start of the CU.
5430 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5431 Yao Qi <yao@codesourcery.com>
5433 Fix "save breakpoints" for "catch" command.
5434 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5435 Remove -nonewline. Match also the added "main" line.
5437 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5439 Fix "save breakpoints" for "disable $bpnum" command.
5440 * gdb.base/save-bp.c (main): Add label.
5441 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5443 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5445 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5447 2014-10-11 Yao Qi <yao@codesourcery.com>
5449 * gdb.server/server-kill.exp: Execute command
5450 "set remote trace-status-packet on" before "tstatus".
5452 2014-10-11 Yao Qi <yao@codesourcery.com>
5454 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5455 (main): Call getppid.
5456 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5457 and continue to it. Read variable "server_pid".
5459 2014-10-11 Yao Qi <yao@codesourcery.com>
5461 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5463 2014-10-11 Yao Qi <yao@codesourcery.com>
5465 * gdb.threads/thread-find.exp: Don't execute command
5467 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5468 * gdb.threads/linux-dp.exp: Don't check the condition
5469 $threads_created equals to zero.
5471 2014-10-10 Pedro Alves <palves@redhat.com>
5473 * gdb.base/bigcore.exp: Remove references to IRIX.
5474 * gdb.base/funcargs.exp: Likewise.
5475 * gdb.base/interrupt.exp: Likewise.
5476 * gdb.base/mips_pro.exp: Likewise.
5477 * gdb.base/nodebug.exp: Likewise.
5478 * gdb.base/setvar.exp: Likewise.
5479 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5481 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5482 Pedro Alves <palves@redhat.com>
5485 * gdb.base/vdso-warning.c: New file.
5486 * gdb.base/vdso-warning.exp: New file.
5488 2014-10-02 Doug Evans <dje@google.com>
5490 * gdb.base/structs.c (main): Don't run forever.
5492 2014-10-02 Pedro Alves <palves@redhat.com>
5494 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5495 (top level) <stop threads 1, stop threads 2>: Use it.
5497 2014-10-02 Pedro Alves <palves@redhat.com>
5499 * gdb.threads/break-while-running.exp (test): Add new
5500 'update_thread_list' argument. Skip "info threads" if false.
5501 (top level): Add new 'update_thread_list' axis.
5503 2014-10-02 Pedro Alves <palves@redhat.com>
5505 PR breakpoints/17431
5506 * gdb.base/execl-update-breakpoints.c: New file.
5507 * gdb.base/execl-update-breakpoints.exp: New file.
5509 2014-10-01 Pedro Alves <palves@redhat.com>
5511 * gdb.base/breakpoint-in-ro-region.c: New file.
5512 * gdb.base/breakpoint-in-ro-region.exp: New file.
5514 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5516 * gdb.mi/mi-exit-code.exp: New file.
5517 * gdb.mi/mi-exit-code.c: New file.
5519 2014-09-30 Yao Qi <yao@codesourcery.com>
5521 * lib/prelink-support.exp (build_executable_own_libs): Error if
5522 the target isn't native.
5524 2014-09-30 Yao Qi <yao@codesourcery.com>
5526 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5529 2014-09-22 Pedro Alves <palves@redhat.com>
5531 * gdb.threads/break-while-running.exp: New file.
5532 * gdb.threads/break-while-running.c: New file.
5534 2014-09-19 Yao Qi <yao@codesourcery.com>
5536 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5537 Invoke test. Restart GDB with --readnow and invoke test again.
5539 2014-09-19 Yao Qi <yao@codesourcery.com>
5541 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5542 proc set_breakpoint_on_gcd_function. Invoke
5543 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5544 invoke set_breakpoint_on_gcd_function again.
5546 2014-09-18 Doug Evans <dje@google.com>
5548 * gdb.dwarf2/symtab-producer.exp: New file.
5550 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5552 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5553 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5554 * gdb.base/global-var-nested-by-dso.c: Likewise.
5555 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5557 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5558 Pedro Alves <palves@redhat.com>
5560 * gdb.base/watch-bitfields.exp: Pass string other than test file
5561 name to prepare_for_testing.
5562 (watch): New procedure.
5563 (expect_watchpoint): Use with_test_prefix.
5564 (top level): Factor out tests to ...
5565 (test_watch_location, test_regular_watch): ... these new
5566 procedures, and use with_test_prefix and gdb_continue_to_end.
5568 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5570 PR breakpoints/12526
5571 * gdb.base/watch-bitfields.exp: New file.
5572 * gdb.base/watch-bitfields.c: New file.
5574 2014-09-16 Pedro Alves <palves@redhat.com>
5576 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5577 software and hardware addresses, not software address against
5580 2014-09-16 Pedro Alves <palves@redhat.com>
5582 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5583 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5585 2014-09-16 Pedro Alves <palves@redhat.com>
5587 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5589 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5590 "*-*-vxworks*" throughout.
5591 * gdb.base/break.exp: Likewise.
5592 * gdb.base/default.exp: Likewise.
5593 * gdb.base/scope.exp: Likewise.
5594 * gdb.base/sepdebug.exp: Likewise.
5595 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5597 * gdb.base/run.c: Likewise.
5598 * gdb.base/sepdebug.c: Likewise.
5599 * gdb.hp/gdb.aCC/run.c: Likewise.
5600 * gdb.reverse/until-reverse.c: Likewise.
5601 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5603 2014-09-16 Yao Qi <yao@codesourcery.com>
5605 * boards/local-remote-host-native.exp: New file.
5607 2014-09-14 Doug Evans <xdje42@gmail.com>
5609 * gdb.threads/queue-signal.c (thread_count): New variable.
5610 (thread_count_mutex, thread_count_condvar): New variables.
5611 (incr_thread_count, wait_all_threads_running): New functions.
5612 (main): Wait for all threads to be in their thread functions.
5614 2014-09-13 Doug Evans <xdje42@gmail.com>
5616 * gdb.threads/queue-signal.c: New file.
5617 * gdb.threads/queue-signal.exp: New file.
5619 2014-09-13 Doug Evans <xdje42@gmail.com>
5621 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5622 be consistent with what default_gdb_init uses.
5623 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5624 the plain text of the prompt. Add some logging printfs.
5625 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5627 2014-09-12 Pedro Alves <palves@redhat.com>
5629 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5630 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5631 * gdb.arch/i386-size-overlap.exp: Likewise.
5632 * gdb.arch/i386-size.exp: Likewise.
5633 * gdb.arch/i386-unwind.exp: Likewise.
5634 * gdb.base/a2-run.exp: Likewise.
5635 * gdb.base/break.exp: Likewise.
5636 * gdb.base/charset.exp: Likewise.
5637 * gdb.base/chng-syms.exp: Likewise.
5638 * gdb.base/commands.exp: Likewise.
5639 * gdb.base/dbx.exp: Likewise.
5640 * gdb.base/find.exp: Likewise.
5641 * gdb.base/funcargs.exp: Likewise.
5642 * gdb.base/jit-simple.exp: Likewise.
5643 * gdb.base/reread.exp: Likewise.
5644 * gdb.base/sepdebug.exp: Likewise.
5645 * gdb.base/step-bt.exp: Likewise.
5646 * gdb.cp/mb-inline.exp: Likewise.
5647 * gdb.cp/mb-templates.exp: Likewise.
5648 * gdb.objc/basicclass.exp: Likewise.
5649 * gdb.threads/killed.exp: Likewise.
5651 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5654 * gdb.arch/powerpc-stackless.S: New file.
5655 * gdb.arch/powerpc-stackless.exp: New file.
5657 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5659 * gdb.base/attach.c: Include unistd.h.
5660 (main): Call alarm. Add label postloop.
5661 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5662 gdb_breakpoint, gdb_continue_to_breakpoint.
5663 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5665 2014-09-11 Pedro Alves <palves@redhat.com>
5668 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5669 * gdb.base/attach.exp (test_command_line_attach_run): New
5671 (top level): Call it.
5673 2014-09-11 Pedro Alves <palves@redhat.com>
5675 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5676 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5677 (do_command_attach_tests): Use spawn_wait_for_attach.
5678 * gdb.base/solib-overlap.exp: Likewise.
5679 * gdb.multi/multi-attach.exp: Likewise.
5680 * gdb.python/py-prompt.exp: Likewise.
5681 * gdb.python/py-sync-interp.exp: Likewise.
5682 * gdb.server/ext-attach.exp: Likewise.
5684 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5686 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5687 command in testcase. Simplify testcase.
5689 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5691 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5693 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5695 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5697 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5699 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5701 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5703 * gdb.dwarf2/dynarr-ptr.c: New file.
5704 * gdb.dwarf2/dynarr-ptr.exp: New file.
5706 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5708 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5709 of 30 rather than hardcoding 120 for a slow test case. Take the
5710 `gdb,timeout' target setting into account for this calculation.
5711 Don't extend the timeout for the test cases that don't need it.
5713 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5715 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5716 a factor of 2 for a slow test case. Take the `gdb,timeout'
5717 target setting into account for this calculation.
5718 * gdb.reverse/until-precsave.exp: Increase the timeout by
5719 a factor of 15 and 3 respectively rather than adding 120
5720 for a pair of slow test cases. Take the `gdb,timeout'
5721 target setting into account for this calculation.
5723 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5725 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5726 timeout, don't pass one down to gdb_expect.
5727 (gdb_expect): Rework timeout selection.
5729 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5731 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5732 exception on timeout.
5733 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5734 (gdbserver_start_extended): Catch any `gdbserver_start' error
5736 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5737 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5738 `gdbserver_gdb_load' error exceptions.
5740 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5742 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5743 120 on waiting for the TCP socket to open.
5745 2014-09-09 Doug Evans <xdje42@gmail.com>
5747 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5748 _caller_matches, _any_caller_is, _any_caller_matches.
5750 2014-09-09 Doug Evans <xdje42@gmail.com>
5752 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5754 2014-09-09 Yao Qi <yao@codesourcery.com>
5756 * gdb.mi/mi-var-display.exp: Set print symbol off.
5758 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5761 * gdb.base/commands.exp: Add tests to verify user-defined
5762 commands with empty bodies.
5763 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5764 python commands in `show user command`.
5765 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5766 scheme commands in `show user command`.
5768 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5771 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5772 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5773 * gdb.python/py-framefilter-invalidarg.exp: New file.
5774 * gdb.python/py-framefilter-invalidarg.py: New file.
5776 2014-09-06 Doug Evans <xdje42@gmail.com>
5779 * gdb.python/py-caller-is.c: New file.
5780 * gdb.python/py-caller-is.exp: New file.
5782 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5785 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5786 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5788 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5791 * gdb.fortran/print-formatted.exp: New file.
5792 * gdb.fortran/print-formatted.f90: Likewise.
5794 2014-09-03 Sasha Smundak <asmundak@google.com>
5796 * gdb.python/py-frame.exp: Test Frame.read_register.
5798 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5801 * gdb.python/py-completion.exp: New file.
5802 * gdb.python/py-completion.py: Likewise.
5804 2014-08-28 Doug Evans <dje@google.com>
5806 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5807 eax,etc. are live with values set by gdb and thus the compiler can't
5809 * gdb.arch/i386-pseudo.c (main): Ditto.
5811 2014-08-27 Doug Evans <dje@google.com>
5813 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5815 2014-08-25 Doug Evans <dje@google.com>
5817 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5820 2014-08-25 Doug Evans <dje@google.com>
5822 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5824 2014-08-24 Yao Qi <yao@codesourcery.com>
5826 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5828 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5830 2014-08-22 Doug Evans <dje@google.com>
5833 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5834 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5835 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5837 2014-08-22 Yao Qi <yao@codesourcery.com>
5839 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5840 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5841 * gdb.python/python.exp: Likewise. Use .py file on the host
5842 instead of the build.
5844 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5846 * gdb.threads/gcore-stale-thread.c: New file.
5847 * gdb.threads/gcore-stale-thread.exp: New file.
5849 2014-08-21 Pedro Alves <palves@redhat.com>
5851 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5852 * gdb.base/gcore-relro-pie.exp: Likewise.
5853 * gdb.base/gcore-relro.exp: Likewise.
5854 * gdb.base/gcore.exp: Likewise.
5855 * gdb.base/print-symbol-loading.exp: Likewise.
5856 * gdb.threads/gcore-thread.exp: Likewise.
5857 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5859 2014-08-20 Pedro Alves <palves@redhat.com>
5860 Jan Kratochvil <jan.kratochvil@redhat.com>
5862 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5864 (EXPECT): Handle READ1 being set.
5865 (all): Depend on EXTRA_RULES.
5866 (check-read1, expect-read1, read1.so, read1): New rules.
5867 * README (Testsuite Parameters): Document the READ1 make variable.
5868 (Race detection): New section.
5869 * configure: Regenerate.
5870 * configure.ac: If build==host==target, and running under a
5871 GNU/glibc system, add read1 to the extra Makefile rules.
5872 (EXTRA_RULES): AC_SUBST it.
5873 * lib/read1.c: New file.
5875 2014-08-20 Joel Brobecker <brobecker@adacore.com>
5877 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5878 the handling of variables declared as a typedef to an array
5879 which a DW_AT_data_location attribute.
5881 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
5882 Pedro Alves <palves@redhat.com>
5886 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5889 2014-08-19 Pedro Alves <palves@redhat.com>
5891 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5893 2014-08-19 Yao Qi <yao@codesourcery.com>
5895 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5898 2014-08-18 David Blaikie <dblaikie@gmail.com>
5900 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5902 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5904 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5905 attribute in array range.
5907 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5909 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5911 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5914 * gdb.cp/pr17132.cc: New file.
5915 * gdb.cp/pr17132.exp: New file.
5917 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5919 * gdb.python/py-xmethods.py (A_getarrayind)
5920 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5921 Use 'print' with function call syntax.
5922 (E_method_matcher.match): Fix tab vs space indentation mixup.
5924 2014-08-15 Yao Qi <yao@codesourcery.com>
5926 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5929 2014-08-15 Yao Qi <yao@codesourcery.com>
5931 * gdb.cp/casts.exp: Set print symbol off.
5932 * gdb.cp/class2.exp: Likewise.
5933 * gdb.cp/overload.exp: Likewise.
5934 * gdb.cp/templates.exp: Likewise.
5936 2014-08-11 Doug Evans <dje@google.com>
5938 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5939 (test_load_shlib): Update.
5941 2014-08-09 Yao Qi <yao@codesourcery.com>
5943 * gdb.base/display.exp: Invoke is_address_zero_readable.
5944 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5945 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5946 * gdb.base/hbreak-unmapped.exp: Return if
5947 is_address_zero_readable returns true.
5948 * gdb.base/signest.exp: Likewise.
5949 * gdb.base/signull.exp: Likewise.
5950 * gdb.base/sigbpt.exp: Likewise.
5951 * gdb.guile/scm-disasm.exp: Do the test if
5952 is_address_zero_readable returns false.
5953 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5954 * gdb.python/py-arch.exp: Likewise.
5955 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5956 * lib/gdb.exp (is_address_zero_readable): New proc.
5958 2014-08-09 Yao Qi <yao@codesourcery.com>
5961 * gdb.mi/mi-var-display.exp: Make test messages unique.
5963 2014-08-04 Tom Tromey <tromey@redhat.com>
5965 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5968 2014-08-04 Tom Tromey <tromey@redhat.com>
5970 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5973 2014-08-01 Joel Brobecker <brobecker@adacore.com>
5975 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5976 inner_vla_struct_object_size.
5977 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5980 2014-07-30 Pedro Alves <palves@redhat.com>
5982 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5985 2014-07-29 Yao Qi <yao@codesourcery.com>
5988 * gdb.base/until-nodebug.exp: New.
5990 2014-07-28 Doug Evans <xdje42@gmail.com>
5993 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5994 previously existing parameter, and previously ambiguously spelled
5997 2014-07-28 Will Newton <will.newton@linaro.org>
5999 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6001 2014-07-26 Ludovic CourtĂšs <ludo@gnu.org>
6002 Doug Evans <xdje42@gmail.com>
6005 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6007 2014-07-25 Pedro Alves <palves@redhat.com>
6009 * gdb.threads/signal-command-handle-nopass.c: New file.
6010 * gdb.threads/signal-command-handle-nopass.exp: New file.
6011 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6012 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6013 * gdb.threads/signal-delivered-right-thread.c: New file.
6014 * gdb.threads/signal-delivered-right-thread.exp: New file.
6016 2014-07-25 Pedro Alves <palves@redhat.com>
6018 * gdb.base/double-prompt-target-event-error.exp
6019 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6021 (cancel_pagination_in_target_event): Rework double prompt
6023 * gdb.base/paginate-after-ctrl-c-running.exp
6024 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6026 * gdb.base/paginate-bg-execution.exp
6027 (test_bg_execution_pagination_return)
6028 (test_bg_execution_pagination_cancel): Remove '-notransfer
6030 * gdb.base/paginate-execution-startup.exp
6031 (test_fg_execution_pagination_return)
6032 (test_fg_execution_pagination_cancel): Remove '-notransfer
6034 * gdb.base/paginate-inferior-exit.exp
6035 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6037 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6038 * lib/gdb.exp (pagination_prompt): Run text through
6040 (gdb_test_multiple): Match $pagination_prompt instead of
6042 (string_to_regexp): Move to lib/gdb-utils.exp.
6044 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6046 * gdb.arch/amd64-entry-value-paramref.S: New file.
6047 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6048 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6049 * gdb.arch/amd64-optimout-repeat.S: New file.
6050 * gdb.arch/amd64-optimout-repeat.c: New file.
6051 * gdb.arch/amd64-optimout-repeat.exp: New file.
6053 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6056 * gdb.base/statistics.exp: New file.
6058 2014-07-17 Doug Evans <dje@google.com>
6061 * gdb.base/maint.exp: Update testing of per-command stats.
6063 2014-07-16 Pedro Alves <palves@redhat.com>
6065 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6066 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6067 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6068 (tfile_write_buf): New functions.
6069 (add_memory_block): Rewrite using the above.
6070 (adjust_function_address): New function.
6071 (FUNCTION_ADDRESS): New macro.
6072 (write_basic_trace_file): Remove short_x local, and use
6073 tfile_write_16. Change type of func_addr local to unsigned long
6074 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6075 here. Cast argument of add_memory_block to char pointer.
6076 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6077 (main): Remove parameters.
6078 * gdb.trace/tfile.exp: Remove nowarnings.
6080 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6082 * gdb.base/debug-expr.exp: Test string evaluation with
6083 "debug expression" on.
6085 2014-07-15 Pedro Alves <palves@redhat.com>
6087 * gdb.base/reread.exp: Use clean_restart.
6089 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6091 * gdb.arch/avr-flash-qualifer.c: New.
6092 * gdb.arch/avr-flash-qualifer.exp: New.
6094 2014-07-14 Pedro Alves <palves@redhat.com>
6096 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6097 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6099 2014-07-14 Pedro Alves <palves@redhat.com>
6101 * gdb.base/double-prompt-target-event-error.c: New file.
6102 * gdb.base/double-prompt-target-event-error.exp: New file.
6104 2014-07-14 Pedro Alves <palves@redhat.com>
6107 * gdb.base/paginate-inferior-exit.c: New file.
6108 * gdb.base/paginate-inferior-exit.exp: New file.
6110 2014-07-14 Pedro Alves <palves@redhat.com>
6113 * gdb.base/paginate-bg-execution.c: New file.
6114 * gdb.base/paginate-bg-execution.exp: New file.
6116 2014-07-14 Pedro Alves <palves@redhat.com>
6119 * gdb.base/paginate-execution-startup.c: New file.
6120 * gdb.base/paginate-execution-startup.exp: New file.
6121 * lib/gdb.exp (pagination_prompt): New global.
6122 (default_gdb_spawn): New procedure, factored out from
6124 (default_gdb_start): Adjust to call default_gdb_spawn.
6125 (gdb_spawn): New procedure.
6127 2014-07-14 Pedro Alves <palves@redhat.com>
6129 * lib/gdb.exp (gdb_assert): New procedure.
6130 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6132 2014-07-14 Pedro Alves <palves@redhat.com>
6134 * gdb.base/execution-termios.c: New file.
6135 * gdb.base/execution-termios.exp: New file.
6137 2014-07-14 Tom Tromey <tromey@redhat.com>
6139 * gdb.cp/vla-cxx.cc: New file.
6140 * gdb.cp/vla-cxx.exp: New file.
6142 2014-07-14 Tom Tromey <tromey@redhat.com>
6144 * gdb.reverse/rerun-prec.c: New file.
6145 * gdb.reverse/rerun-prec.exp: New file.
6147 2014-07-12 Maciej W. Rozycki <macro@mips.com>
6148 Maciej W. Rozycki <macro@codesourcery.com>
6150 * lib/gdb-utils.exp: New file.
6151 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6152 inline `gdb_init_command' processing.
6153 (gdb_start_cmd): Likewise.
6154 * lib/mi-support.exp (mi_run_cmd): Likewise.
6155 * README: Document `gdb_init_command' and `gdb_init_commands'.
6157 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6159 Fix false FAIL running under a very long directory name.
6160 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6161 and "set print elements 10000". Twice.
6163 2014-07-11 Yao Qi <yao@codesourcery.com>
6165 * gdb.base/exprs.exp: "set print symbol off".
6167 2014-07-11 Pedro Alves <palves@redhat.com>
6169 * gdb.threads/kill.c: New file.
6170 * gdb.threads/kill.exp: New file.
6172 2014-07-10 Yao Qi <yao@codesourcery.com>
6174 * gdb.trace/tfile.c (write_basic_trace_file)
6175 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6176 address written to trace file.
6178 2014-07-09 Pedro Alves <palves@redhat.com>
6180 * gdb.base/attach-wait-input.exp: New file.
6181 * gdb.base/attach-wait-input.c: New file.
6183 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6185 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6186 setting up test structures.
6187 (main): Call new test function.
6188 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6189 test function, continue into test function and walk test
6192 2014-07-02 Yao Qi <yao@codesourcery.com>
6194 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6195 'bar_start' at the beginning of functions 'foo' and 'bar'
6197 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6198 instead of 'foo' and 'bar'.
6200 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6202 * gdb.btrace/segv.exp: New.
6203 * gdb.btrace/segv.c: New.
6205 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
6207 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6210 2014-06-30 Mark Wielaard <mjw@redhat.com>
6212 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6213 vulture, vilify, villar): New volatile array constants.
6214 (vindictive, vegetation): New const volatile array constants.
6215 * gdb.base/volatile.exp: Test volatile and const volatile array
6218 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6220 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6221 target lacks support for awatch, rwatch, or hbreak.
6223 2014-06-27 Yao Qi <yao@codesourcery.com>
6225 * gdb.multi/dummy-frame-restore.exp: New.
6226 * gdb.multi/dummy-frame-restore.c: New.
6228 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6230 * gdb.btrace/gcore.exp: New.
6232 2014-06-23 Pedro Alves <palves@redhat.com>
6234 * gdb.base/watchpoint-reuse-slot.c: New file.
6235 * gdb.base/watchpoint-reuse-slot.exp: New file.
6237 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6239 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6240 progspace's filename in 'info', 'enable' and 'disable' command
6243 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6245 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6246 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6247 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6249 2014-06-20 Gary Benson <gbenson@redhat.com>
6251 * gdb.arch/i386-avx.exp: Fix include file location.
6252 * gdb.arch/i386-sse.exp: Likewise.
6254 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6256 * gdb.dlang/expression.exp: New file.
6258 2014-06-19 Pedro Alves <palves@redhat.com>
6260 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6262 (top level): ... here. Iterate running tests under different
6263 scheduler-locking settings.
6265 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
6267 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6268 to DW_FORM_addr and use non-zero addresses.
6270 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6273 * gdb.python/py-xmethods.cc: Add global function call counters and
6274 increment them in their respective functions. Remove "cout"
6276 * gdb.python/py-xmethods.exp: Make tests check the global function
6277 call counters instead of depending on inferior IO.
6279 2014-06-18 Don Breazeal <donb@codesourcery.com>
6281 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6283 (explicit_fork_parent_follow): Deleted procedure.
6284 (explicit_fork_child_follow): Deleted procedure.
6285 (test_follow_fork): New procedure.
6286 (do_fork_tests): Replace calls to deleted procedures with
6287 calls to test_follow_fork and reset GDB for subsequent
6290 2014-06-17 Yao Qi <yao@codesourcery.com>
6292 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6295 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
6297 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6298 Initialize ptr and S explicitly.
6299 (skip_type_update_when_not_use_rtti_test): Likewise.
6301 2014-06-16 Keith Seitz <keiths@redhat.com>
6304 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6305 the inferior is started.
6307 2014-06-16 Pedro Alves <palves@redhat.com>
6309 * gdb.base/break-main-file-remove-fail.c: New file.
6310 * gdb.base/break-main-file-remove-fail.exp: New file.
6311 * gdb.base/break-unload-file.exp: Use build_executable instead of
6312 prepare_for_testing.
6313 (test_break): New parameter "initial_load". Handle it.
6314 (top level): Add initial_load cmdline/file axis.
6316 2014-06-12 Tom Tromey <tromey@redhat.com>
6318 * gdb.base/completion.exp: Don't use directory name in test.
6320 2014-06-09 Gary Benson <gbenson@redhat.com>
6322 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6323 separate the always-available ANSI-standard signals from the
6324 signals that require checking.
6326 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6330 2014-06-07 Keith Seitz <keiths@redhat.com>
6334 * gdb.cp/var-tag.cc: New file.
6335 * gdb.cp/var-tag.exp: New file.
6336 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6337 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6338 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6339 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6341 2014-06-06 Doug Evans <xdje42@gmail.com>
6343 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6345 2014-06-06 Pedro Alves <palves@redhat.com>
6347 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6348 in target debug output instead of looking at RSP packets,
6349 disabling the test on any target that uses hardware stepping.
6352 2014-06-06 Pedro Alves <palves@redhat.com>
6354 * gdb.base/break-unload-file.exp: Fix typo.
6356 2014-06-06 Yao Qi <yao@codesourcery.com>
6358 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6359 from "jit_function" to "^jit_function".
6361 2014-06-06 Yao Qi <yao@codesourcery.com>
6363 * gdb.base/async.c (foo): Add one statement.
6364 * gdb.base/async.exp: Get the next instruction address and
6365 match the output of "nexti" by instruction address. Match
6366 the hex address in the output of "finish".
6368 2014-06-06 Gary Benson <gbenson@redhat.com>
6370 * gdb.base/call-signals.c: Remove preprocessor conditionals
6371 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6372 SIGSEGV and SIGTERM.
6373 * gdb.base/sigall.c: Likewise.
6374 * gdb.base/unwindonsignal.c: Likewise.
6375 * gdb.reverse/sigall-reverse.c: Likewise.
6377 2014-06-06 Yao Qi <yao@codesourcery.com>
6379 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6380 readable, skip the test.
6382 2014-06-06 Yao Qi <yao@codesourcery.com>
6384 * gdb.threads/staticthreads.c (thread_function): Move the line
6385 setting breakpoint on forward.
6386 * gdb.threads/staticthreads.exp: Update comments.
6388 2014-06-05 Ludovic CourtĂšs <ludo@gnu.org>
6390 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6391 "history-append! type error".
6393 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6395 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6396 erroneous dprintf expected input.
6398 2014-06-04 Doug Evans <xdje42@gmail.com>
6400 * gdb.guile/scm-generics.exp: Delete.
6402 2014-06-04 Doug Evans <xdje42@gmail.com>
6404 * gdb.guile/scm-breakpoint.exp: Update.
6405 Add tests for breakpoint registration.
6407 2014-06-04 Tom Tromey <tromey@redhat.com>
6409 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6411 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6412 inner_vla_struct, vla_union types. Initialize objects of those
6413 types and compute their sizes.
6415 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6416 Hui Zhu <hui@codesourcery.com>
6418 * gdb.base/fileio.exp: Add test for shell not available as well as
6420 * gdb.base/fileio.c (test_system): Check for shell twice.
6422 2014-06-04 Yao Qi <yao@codesourcery.com>
6424 * gdb.base/auto-connect-native-target.exp: Remove redundant
6425 space from the regexp pattern.
6427 2014-06-04 Yao Qi <yao@codesourcery.com>
6429 * gdb.base/default.exp: Replace "child" with "native" in
6432 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6434 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6435 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6436 * gdb.python/py-xmethods.py: Python script supporting the
6437 new testcase and tests.
6439 2014-06-03 Joel Brobecker <brobecker@adacore.com>
6440 Pedro Alves <palves@redhat.com>
6442 PR breakpoints/17000
6443 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6444 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6446 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6448 * gdb.base/subst.exp: Add tests to verify partial path matching
6451 2014-06-03 Pedro Alves <palves@redhat.com>
6453 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6454 target that doesn't use software single-stepping.
6456 2014-06-03 Pedro Alves <palves@redhat.com>
6458 PR breakpoints/17000
6459 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6460 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6462 2014-06-02 Doug Evans <xdje42@gmail.com>
6464 * gdb.guile/scm-parameter.exp: New file.
6466 2014-06-02 Doug Evans <xdje42@gmail.com>
6468 * gdb.guile/scm-cmd.c: New file.
6469 * gdb.guile/scm-cmd.exp: New file.
6471 2014-06-02 Doug Evans <xdje42@gmail.com>
6473 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6474 pretty-printer lookup.
6475 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6476 (make-pp_s-printer): Call it.
6477 (make-pretty-printer-from-dict): New function.
6478 (lookup-pretty-printer-maker-from-dict): New function.
6479 (*pretty-printer*): Simplify.
6480 (make-objfile-pp_s-printer): New function.
6481 (install-objfile-pretty-printers!): New function.
6482 (make-progspace-pp_s-printer): New function.
6483 (install-progspace-pretty-printers!): New function.
6484 * gdb.guile/scm-progspace.c: New file.
6485 * gdb.guile/scm-progspace.exp: New file.
6487 2014-06-02 Pedro Alves <palves@redhat.com>
6489 * gdb.base/dprintf-bp-same-addr.c: New file.
6490 * gdb.base/dprintf-bp-same-addr.exp: New file.
6492 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6494 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6495 * gdb.arch/powerpc-power.s: Likewise.
6497 2014-06-02 Joel Brobecker <brobecker@adacore.com>
6499 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6501 2014-06-01 Yao Qi <yao@codesourcery.com>
6503 * gdb.base/watchpoint.exp (test_watch_location): Check null
6504 pointer can be dereferenced. If not, do the test, otherwise
6507 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6509 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6511 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6513 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6515 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6516 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6517 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6518 * gdb.arch/amd64-invalid-stack-top.c: New file.
6519 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6521 2014-05-30 Pedro Alves <palves@redhat.com>
6523 PR breakpoints/17000
6524 * gdb.base/sss-bp-on-user-bp.c: New file.
6525 * gdb.base/sss-bp-on-user-bp.exp: New file.
6527 2014-05-30 David Blaikie <dblaikie@gmail.com>
6529 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6530 gnu_inline semantics via attribute.
6531 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6532 source explicitly specifies the required semantics.
6534 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6536 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6538 2014-05-29 Pedro Alves <palves@redhat.com>
6539 Tom Tromey <tromey@redhat.com>
6541 * gdb.base/async-shell.exp: Don't enable target-async.
6542 * gdb.base/async.exp
6543 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6545 (top level): Don't test with "target-async".
6546 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6547 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6548 * gdb.base/inferior-died.exp: Don't enable target-async.
6549 * gdb.base/interrupt-noterm.exp: Likewise.
6550 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6551 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6552 * gdb.mi/mi-nonstop.exp: Likewise.
6553 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6554 * gdb.mi/mi-nsintrall.exp: Likewise.
6555 * gdb.mi/mi-nsmoribund.exp: Likewise.
6556 * gdb.mi/mi-nsthrexec.exp: Likewise.
6557 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6558 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6559 * gdb.python/py-evsignal.exp: Don't enable target-async.
6560 * gdb.python/py-evthreads.exp: Likewise.
6561 * gdb.python/py-prompt.exp: Likewise.
6562 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6563 * gdb.server/solib-list.exp: Don't enable target-async.
6564 * gdb.threads/thread-specific-bp.exp: Likewise.
6565 * lib/mi-support.exp: Adjust to use mi-async.
6567 2014-05-29 Pedro Alves <palves@redhat.com>
6570 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6571 reason, even in sync mode.
6573 2014-05-29 Pedro Alves <palves@redhat.com>
6574 Hui Zhu <hui@codesourcery.com>
6577 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6578 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6579 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6580 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6582 2014-05-28 Joel Brobecker <brobecker@adacore.com>
6584 * config/monitor.exp (gdb_target_monitor): Replace use of
6585 "set remotebaud" by "set serial baud".
6587 2014-05-26 Andy Wingo <wingo@igalia.com>
6589 * gdb.guile/scm-breakpoint.exp:
6590 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6591 properties instead of gdb-object-properties.
6593 2014-05-26 Yao Qi <yao@codesourcery.com>
6595 * gdb.server/no-thread-db.exp: Specify source file name
6596 explicitly when setting a breakpoint.
6598 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6600 * gdb.btrace/vdso.c: New.
6601 * gdb.btrace/vdso.exp: New.
6603 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6605 * gdb.base/gcore.exp (capture_command_output): Move ...
6606 * lib/gdb.exp (capture_command_output): ... here.
6608 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6610 * gdb.btrace/data.exp: Test memory access during btrace replay.
6612 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6614 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6616 2014-05-21 Pedro Alves <palves@redhat.com>
6619 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6620 (top level): Test that output related to execution commands is
6621 sent to the console with CLI commands, but not with MI commands.
6622 Test that breakpoint events are always mirrored to the console.
6623 Also expect the new source line to be output after a "next" in
6624 async mode too. Make it a pass/fail test.
6625 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6627 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6629 2014-05-21 Pedro Alves <palves@redhat.com>
6631 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6632 Use them to test variations of "list" after reaching a breakpoint.
6633 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6634 Test "list" with listsize 10 after reaching a breakpoint.
6635 * gdb.python/python.exp (decode_line current location line
6636 number): Adjust expected line number.
6638 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6640 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6641 behavior for $args, pass it directly to "run".
6643 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6645 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6648 2014-05-21 Pedro Alves <palves@redhat.com>
6650 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6651 auto-connect-native-target off".
6652 * gdb.base/auto-connect-native-target.c: New file.
6653 * gdb.base/auto-connect-native-target.exp: New file.
6655 2014-05-21 Pedro Alves <palves@redhat.com>
6657 * gdb.base/default.exp: Test "target native" instead of "target
6660 2014-05-21 Mark Wielaard <mjw@redhat.com>
6662 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6664 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6666 Fix TLS access for -static -pthread.
6667 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6668 <HAVE_TLS> (thread_function, main): Initialize it.
6669 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6671 <$have_tls != "">: Check TLSVAR.
6673 2014-05-21 Pedro Alves <palves@redhat.com>
6675 * gdb.base/dcache-line-read-error.c: New.
6676 * gdb.base/dcache-line-read-error.exp: New.
6678 2014-05-20 Pedro Alves <palves@redhat.com>
6680 * gdb.base/compare-sections.c: New file.
6681 * gdb.base/compare-sections.exp: New file.
6683 2014-05-20 Pedro Alves <palves@redhat.com>
6685 * gdb.base/break-idempotent.c: New file.
6686 * gdb.base/break-idempotent.exp: New file.
6688 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6690 * gdb.btrace/nohist.exp: New.
6692 2014-05-20 Yao Qi <yao@codesourcery.com>
6694 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6695 gdb.reverse directory and gdb_reverse_timeout exists in board
6697 * README: Document gdb_reverse_timeout.
6699 2014-05-20 Yao Qi <yao@codesourcery.com>
6701 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6702 'test_file_name'. Treat args as a string instead of a list.
6703 (gdb_init): Rename argument 'args' by 'test_file_name'.
6705 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6707 * gdb.arch/powerpc-power.exp: New file.
6708 * gdb.arch/powerpc-power.s: New file.
6710 2014-05-16 Doug Evans <dje@google.com>
6712 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
6713 * gdb.base/completion.exp: Check that all expected files exist
6714 before doing file completion.
6716 2014-05-16 Doug Evans <dje@google.com>
6718 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6720 (do_syscall_tests_without_xml): Update.
6722 2014-05-16 Pedro Alves <palves@redhat.com>
6724 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6725 instead of "unknown output after running".
6727 2014-05-16 Yao Qi <yao@codesourcery.com>
6729 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6730 file1.txt from host at the end.
6731 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6733 2014-05-15 Doug Evans <dje@google.com>
6735 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6736 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6737 loading file. Add test for TU lookup.
6739 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6741 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6742 calling "-exec-arguments" or "set args" before running the
6745 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6747 * lib/mi-support.exp (mi_expect_stop): Expect message for
6748 inferiors that exit with non-zero exit code.
6750 2014-05-14 Yao Qi <yao@codesourcery.com>
6752 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6753 match absolute path on remote host.
6754 (test_file_list_exec_source_files): Remove "/" from the
6757 2014-05-14 Yao Qi <yao@codesourcery.com>
6759 * boards/local-remote-host-notty.exp (${board}_file): New
6762 2014-05-07 Kyle McMartin <kyle@redhat.com>
6764 Pushed by Joel Brobecker <brobecker@adacore.com>.
6765 * gdb.arch/aarch64-atomic-inst.c: New file.
6766 * gdb.arch/aarch64-atomic-inst.exp: New file.
6768 2014-05-07 Yao Qi <yao@codesourcery.com>
6770 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6771 in current context" too.
6773 2014-05-05 Keith Seitz <keiths@redhat.com>
6775 * gdb.linespec/ls-dollar.exp: Add test for linespec
6776 file:convenience_variable.
6778 2014-05-05 Yao Qi <yao@codesourcery.com>
6780 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6781 traceframes into tfile and ctf trace files. Read data from
6782 trace file and test collected data.
6783 (gdb_collect_locals_test): Likewise.
6784 (gdb_unavailable_registers_test): Likewise.
6785 (gdb_unavailable_floats): Likewise.
6786 (gdb_collect_globals_test): Likewise.
6787 (top-level): Append "ctf" to trace_file_targets if GDB
6790 2014-05-05 Yao Qi <yao@codesourcery.com>
6792 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6794 (gdb_collect_args_test_1): ... it. New proc.
6795 (gdb_collect_locals_test): Move some code to ...
6796 (gdb_collect_locals_test_1): ... it. New proc.
6797 (gdb_unavailable_registers_test): Move some code to ...
6798 (gdb_unavailable_registers_test_1): ... it. New proc.
6799 (gdb_unavailable_floats): Move some code to ...
6800 (gdb_unavailable_floats_1): ... it. New proc.
6802 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6804 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6805 probes to test for bitness recognition.
6806 * gdb.arch/amd64-stap-optional-prefix.exp
6807 (test_probe_value_without_reg): New procedure.
6808 Add code to test for different kinds of bitness.
6810 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6812 PR breakpoints/16889
6813 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6814 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6816 2014-05-01 Pedro Alves <palves@redhat.com>
6818 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6819 gdb_file_cmd if no file is specified.
6820 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6821 last_loaded_file to set the remote exec-file.
6823 2014-05-01 Pedro Alves <palves@redhat.com>
6825 * boards/local-remote-host.exp: New file.
6827 2014-05-01 Pedro Alves <palves@redhat.com>
6829 * boards/local-remote-host.exp: Rename to ...
6830 * boards/local-remote-host-notty.exp: ... this.
6832 2014-04-28 Joel Brobecker <brobecker@adacore.com>
6834 * gdb.ada/dyn_arrayidx: New testcase.
6836 2014-04-26 Yao Qi <yao@codesourcery.com>
6838 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6839 and compute the length of function main. Save it in
6841 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6842 (top-level): Use gdb_compile to compile objects into
6843 executable and restart GDB. Remove invocation to
6844 prepare_for_testing.
6846 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6847 Pedro Alves <palves@redhat.com>
6850 * gdb.multi/multi-attach.c: New file.
6851 * gdb.multi/multi-attach.exp: New file.
6853 2014-04-25 Pedro Alves <palves@redhat.com>
6855 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6857 (top level): Test that "set remote conditional-breakpoints-packet
6858 off" works as intended.
6859 * gdb.base/dprintf.exp: Test that "set remote
6860 breakpoint-commands-packet off" works as intended.
6861 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6863 (top level): Call it.
6864 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6865 remote fast-tracepoints-packet off" works as intended.
6866 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6867 * lib/gdb.exp (gdb_is_target_remote): ... here.
6869 2014-04-24 David Blaikie <dblaikie@gmail.com>
6871 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6872 ensure clang would not discard them.
6873 * gdb.base/gdbvars.c: Ditto.
6874 * gdb.base/memattr.c: Ditto.
6875 * gdb.base/whatis.c: Ditto.
6876 * gdb.python/py-prettyprint.c: Ditto.
6877 * gdb.trace/actions.c: Ditto.
6878 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6879 ensure clang would not discard it.
6881 2014-04-24 David Blaikie <dblaikie@gmail.com>
6883 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6884 clang to emit the full definition of type required by the test
6885 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6887 2014-04-24 David Blaikie <dblaikie@gmail.com>
6889 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6890 coax Clang into emitting the definition of the type.
6891 * gdb.cp/pr10728-x.h (y): Ditto.
6892 * gdb.cp/pr10728-y.cc (y): Ditto.
6894 2014-04-24 David Blaikie <dblaikie@gmail.com>
6896 * gdb.base/label.exp: XFAIL label related tests under Clang.
6897 * gdb.cp/cplabel.exp: Ditto.
6898 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6899 under Clang those using labels.
6901 2014-04-25 Yao Qi <yao@codesourcery.com>
6903 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6905 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6906 partial_label and double_label.
6908 2014-04-24 David Blaikie <dblaikie@gmail.com>
6910 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6912 2014-04-24 David Blaikie <dblaikie@gmail.com>
6914 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6915 of the function to work across GCC and Clang.
6916 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6917 pointer types (const void ** const V void **).
6919 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
6920 Walfred Tedeschi <walfred.tedeschi@intel.com>
6922 * Makefile.in (EXECUTABLES): Added i386-avx512.
6923 * gdb.arch/i386-avx512.c: New file.
6924 * gdb.arch/i386-avx512.exp: Likewise.
6926 2014-04-23 Keith Seitz <keiths@redhat.com>
6928 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6929 (mi_make_breakpoint_table): New procedure.
6930 (mi_create_breakpoint): Use mi_make_breakpoint
6931 and return the result.
6932 (mi_make_breakpoint): New procedure.
6933 (mi_build_kv_pairs): New procedure.
6935 * gdb.mi/mi-break.exp: Remove unused globals,
6936 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6937 All callers updated.
6938 * gdb.mi/mi-dprintf.exp: Use variable to track command
6940 Update all callers of mi_create_breakpoint and use
6941 mi_make_breakpoint_table.
6942 Remove any unused global variables.
6943 * gdb.mi/mi-nonstop.exp: Likewise.
6944 * gdb.mi/mi-nsintrall.exp: Likewise.
6945 * gdb.mi/mi-nsmoribund.exp: Likewise.
6946 * gdb.mi/mi-nsthrexec.exp: Likewise.
6947 * gdb.mi/mi-reverse.exp: Likewise.
6948 * gdb.mi/mi-simplerun.exp: Likewise.
6949 * gdb.mi/mi-stepn.exp: Likewise.
6950 * gdb.mi/mi-syn-frame.exp: Likewise.
6951 * gdb.mi/mi-until.exp: Likewise.
6952 * gdb.mi/mi-var-cp.exp: Likewise.
6953 * gdb.mi/mi-var-display.exp: Likewise.
6954 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6955 * gdb.mi/mi2-var-child.exp: Likewise.
6956 * gdb.mi/mi-vla-c99.exp: Likewise.
6957 * lib/mi-support.exp: Likewise.
6959 From Ian Lance Taylor <iant@cygnus.com>:
6960 * lib/gdb.exp (parse_args): New procedure.
6962 2014-04-23 Pedro Alves <palves@redhat.com>
6964 * gdb.base/break-unload-file.c: New file.
6965 * gdb.base/break-unload-file.exp: New file.
6966 * gdb.base/sym-file-lib.c (baz): New function.
6967 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6969 (load): Store the segment's mapped size.
6970 (unload): New function.
6971 (unload_shlib): New function.
6972 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6973 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6974 set a breakpoint at baz, and call it.
6975 * gdb.base/sym-file.exp: New tests for stale breakpoint
6978 2014-04-23 Pedro Alves <palves@redhat.com>
6980 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6981 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6982 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6983 * gdb.base/hbreak-unmapped.c: New file.
6984 * gdb.base/hbreak-unmapped.exp: New file.
6985 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6986 * lib/gdb.exp (gdb_is_target_remote): ... here.
6988 2014-04-22 Pedro Alves <palves@redhat.com>
6990 * gdb.base/consecutive-step-over.c: New file.
6991 * gdb.base/consecutive-step-over.exp: New file.
6993 2014-04-22 Pedro Alves <palves@redhat.com>
6995 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6996 instead of send_gdb/gdb_expect.
6998 2014-04-22 Yao Qi <yao@codesourcery.com>
7000 * lib/trace-support.exp (generate_tracefile): New procedure.
7001 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7003 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7004 if generate_tracefile returns 1.
7006 2014-04-18 Tom Tromey <palves@redhat.com>
7007 Pedro alves <tromey@redhat.com>
7010 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7011 with a backtrace limit.
7012 * gdb.python/py-frame-inline.exp: Test running to an inline
7013 function with a backtrace limit, and printing the newest frame.
7014 * gdb.python/py-frame-inline.c (main): Call f.
7016 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7018 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7020 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7022 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7023 Drop prefix from unsupported source file path.
7025 2014-04-17 Yao Qi <yao@codesourcery.com>
7027 * lib/gdb.exp (with_target_charset): New proc.
7028 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7029 with_target_charset.
7030 (test_print_strings): Likewise.
7031 (test_repeat_bytes): Likewise.
7032 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7035 2014-04-16 Keith Seitz <keiths@redhat.com>
7038 * gdb.dwarf2/corrupt.c: New file.
7039 * gdb.dwarf2/corrupt.exp: New file.
7041 2014-04-16 Keith Seitz <keiths@redhat.com>
7044 * gdb.cp/namelessclass.cc: New file.
7045 * gdb.cp/namelessclass.exp: New file.
7046 * gdb.cp/namelessclass.S: New file.
7048 2014-04-16 Doug Evans <dje@google.com>
7050 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7052 (gdbserver_default_get_comm_port): New function.
7053 (gdbserver_start): Check if board file provided
7054 "gdbserver,get_comm_port" and use it if so.
7055 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7056 (gdb,socketport): Set to "stdio".
7057 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7058 (stdio_gdbserver_template): Delete.
7059 (${board}_get_remote_address): Update.
7060 (${board}_build_remote_cmd): Delete.
7061 (${board}_get_comm_port): New function.
7062 (${board}_spawn): Update.
7063 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7065 (${board}_get_remote_address): Update.
7066 (${board}_get_comm_port): New function.
7068 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
7070 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7071 appearing in any order.
7073 2014-04-15 Doug Evans <dje@google.com>
7075 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7076 uninitialized value of "description".
7078 2014-04-15 Keith Seitz <keiths@redhat.com>
7080 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7081 Remove unused globals.
7082 (test_running_the_program): Likewise.
7083 (test_controlled_execution): Likewise.
7084 (test_controlling_breakpoints): Likewise.
7085 (test_program_termination): Likewise.
7087 2014-04-15 Keith Seitz <keiths@redhat.com>
7089 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7091 (test_rbreak_creation_and_listing): Likewise.
7092 (test_ignore_count): Likewise.
7093 (test_error): Likewise.
7095 2014-04-15 Pedro Alves <palves@redhat.com>
7097 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7098 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7100 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7101 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7102 to sym-file-loader.c.
7103 (struct library): Forward declare.
7104 (load_shlib, lookup_function): Change prototypes.
7105 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7106 (translate_offset): Remove declarations.
7107 (get_text_addr): New declaration.
7108 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7109 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7111 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7112 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7113 here from sym-file-loader.h.
7114 (struct library): New structure.
7115 (load_shlib, lookup_function): Change prototypes and adjust to
7116 work with a struct library.
7117 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7118 (translate_offset): Make static.
7119 (get_text_addr): New function.
7120 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7122 2014-04-15 Pedro Alves <palves@redhat.com>
7124 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7126 2014-04-15 Pedro Alves <palves@redhat.com>
7128 * gdb.base/sym-file-loader.c: Include <limits.h>.
7129 (SELF_LINK): New define.
7130 (get_origin): New function.
7131 (load_shlib): Use it.
7132 * gdb.base/sym-file.exp: Don't early return if the target is
7133 remote. Use runto_main, and issue fail is that fails. Use
7135 (shlib_name): Delete.
7136 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7138 2014-04-15 Pedro Alves <palves@redhat.com>
7140 * gdb.base/sym-file.exp: Remove regex characters from test
7141 message. Don't refer to breakpoint numbers in test messages.
7143 2014-04-14 Keith Seitz <keiths@redhat.com>
7146 * gdb.cp/var-tag.cc: New file.
7147 * gdb.cp/var-tag.exp: New file.
7148 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7149 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7150 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7151 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7153 2014-04-14 Tom Tromey <tromey@redhat.com>
7155 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7156 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7158 * gdb.cp/enum-class.exp: New file.
7159 * gdb.cp/enum-class.cc: New file.
7161 2014-04-14 Tom Tromey <tromey@redhat.com>
7163 * gdb.dwarf2/enum-type.exp: New file.
7165 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7167 * gdb.mi/mi-vla-c99.exp: New file.
7168 * gdb.mi/vla.c: New file.
7170 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7172 * gdb.base/vla-datatypes.c: New file.
7173 * gdb.base/vla-datatypes.exp: New file.
7175 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7177 * gdb.base/vla-ptr.c: New file.
7178 * gdb.base/vla-ptr.exp: New file.
7180 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7182 * gdb.dwarf2/count.exp: New file.
7184 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7186 * gdb.base/vla-sideeffect.c: New file.
7187 * gdb.base/vla-sideeffect.exp: New file.
7189 2014-04-14 David Blaikie <dblaikie@gmail.com>
7191 * gdb.mi/non-stop.c: Add return value for non-void function return
7193 * gdb.threads/staticthreads.c: Ditto.
7195 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7196 Doug Evans <xdje42@gmail.com>
7198 * gdb.guile/scm-value.c: Improve test case.
7199 * gdb.guile/scm-value.exp: Add new test.
7201 2014-04-11 David Blaikie <dblaikie@gmail.com>
7203 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7204 override Clang's default.
7206 2014-04-11 Joel Brobecker <brobecker@adacore.com>
7208 Revert the following changes (regressions):
7210 * gdb.base/vla-sideeffect.c: New file.
7211 * gdb.base/vla-sideeffect.exp: New file.
7213 * gdb.dwarf2/count.exp: New file.
7215 * gdb.base/vla-multi.c: New file.
7216 * gdb.base/vla-multi.exp: New file.
7218 * gdb.base/vla-ptr.c: New file.
7219 * gdb.base/vla-ptr.exp: New file.
7221 * gdb.base/vla-datatypes.c: New file.
7222 * gdb.base/vla-datatypes.exp: New file.
7224 * gdb.mi/mi-vla-c99.exp: New file.
7225 * gdb.mi/vla.c: New file.
7227 2014-04-11 Keith Seitz <keiths@redhat.com>
7230 * gdb.cp/cpsizeof.exp: New file.
7231 * gdb.cp/cpsizeof.cc: New file.
7233 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7235 * gdb.mi/mi-vla-c99.exp: New file.
7236 * gdb.mi/vla.c: New file.
7238 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7240 * gdb.base/vla-datatypes.c: New file.
7241 * gdb.base/vla-datatypes.exp: New file.
7243 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7245 * gdb.base/vla-ptr.c: New file.
7246 * gdb.base/vla-ptr.exp: New file.
7248 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7250 * gdb.base/vla-multi.c: New file.
7251 * gdb.base/vla-multi.exp: New file.
7253 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7255 * gdb.dwarf2/count.exp: New file.
7257 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7259 * gdb.base/vla-sideeffect.c: New file.
7260 * gdb.base/vla-sideeffect.exp: New file.
7262 2014-04-11 Yao Qi <yao@codesourcery.com>
7264 * gdb.base/completion.exp: Check file exists before running tests
7267 2014-04-10 Pedro Alves <palves@redhat.com>
7269 * gdb.base/cond-eval-mode.c: New file.
7270 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7271 prepare_for_testing to build the new file. Check result of
7273 (test_break, test_watch): New procedures.
7274 (top level): Use them.
7276 2014-04-08 Pierre Muller <muller@sourceware.org>
7278 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7279 Ctrl-V use for mingw hosts.
7281 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7283 * gdb.python/py-value.c: Improve test case.
7284 * gdb.python/py-value.exp: Add new test.
7286 2014-04-07 David Blaikie <dblaikie@gmail.com>
7288 * lib/compiler.c: Identify the clang compiler.
7289 * lib/compiler.cc: Ditto.
7291 2014-04-03 Yao Qi <yao@codesourcery.com>
7293 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7295 2014-04-01 Anton Blanchard <anton@samba.org>
7297 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7300 2014-04-01 Anton Blanchard <anton@samba.org>
7302 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7303 prepare_for_testing.
7305 2014-04-01 Anton Blanchard <anton@samba.org>
7307 * gdb.arch/ppc64-atomic-inst.c: Remove.
7308 * gdb.arch/ppc64-atomic-inst.S: New file.
7309 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7311 2014-03-31 Doug Evans <dje@google.com>
7313 * gdb.base/print-symbol-loading-lib.c: New file.
7314 * gdb.base/print-symbol-loading-main.c: New file.
7315 * gdb.base/print-symbol-loading.exp: New file.
7317 2014-03-31 Yao Qi <yao@codesourcery.com>
7319 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7321 2014-03-28 Joel Brobecker <brobecker@adacore.com>
7323 * gdb.ada/mi_dyn_arr: New testcase.
7325 2014-03-27 Doug Evans <dje@google.com>
7327 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7329 2014-03-27 Yao Qi <yao@codesourcery.com>
7331 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7332 if target is nios2-*-*.
7334 2014-03-26 Yao Qi <yao@codesourcery.com>
7336 * lib/gdb.exp (readline_is_used): New proc.
7337 * gdb.base/completion.exp: Move tests on command complete up.
7338 Skip the rest of tests if readline is not used.
7339 * gdb.ada/complete.exp: Skp the test if readline is not
7341 * gdb.base/filesym.exp: Likewise.
7342 * gdb.base/macscp.exp: Likewise.
7343 * gdb.base/readline-ask.exp: Likewise.
7344 * gdb.base/readline.exp: Likewise.
7345 * gdb.python/py-cmd.exp: Likewise.
7346 * gdb.trace/tfile.exp: Likewise.
7348 2014-03-26 Yao Qi <yao@codesourcery.com>
7350 * gdb.base/macscp.exp: Fix code format issues.
7352 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7354 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7355 * gdb.asm/powerpc64le.inc: New file.
7357 2014-03-25 Pedro Alves <palves@redhat.com>
7358 Doug Evans <dje@google.com>
7360 * gdb.base/source-execution.c: New file.
7361 * gdb.base/source-execution.exp: New file.
7362 * gdb.base/source-execution.gdb: New file.
7364 2014-03-24 Doug Evans <dje@google.com>
7366 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7369 2014-03-24 Hui Zhu <hui@codesourcery.com>
7370 Pedro Alves <palves@redhat.com>
7372 PR breakpoints/16101
7373 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7374 test pass/fail messages. Detect missing support for dprintf when
7375 breakpoints are actually inserted.
7376 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7377 breakpoints are actually inserted.
7378 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7381 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7383 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7385 2014-03-22 Doug Evans <xdje42@gmail.com>
7387 * gdb.python/python.exp (python not supported): Verify multi-line
7388 python command issues an error.
7389 * gdb.guile/guile.exp (guile not supported): Verify multi-line
7390 guile command issues an error.
7392 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7394 * gdb.threads/thread-specific.exp: Handle the lack of usable
7395 $this_breakpoint and $this_thread.
7397 2014-03-21 Hui Zhu <hui@codesourcery.com>
7399 * gdb.base/attach.exp (do_command_attach_tests): New.
7401 2014-03-20 Tom Tromey <tromey@redhat.com>
7402 Pedro Alves <palves@redhat.com>
7405 * gdb.base/condbreak-call-false.c: New file.
7406 * gdb.base/condbreak-call-false.exp: New file.
7408 2014-03-20 Pedro Alves <palves@redhat.com>
7410 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7412 (block_signals, unblock_signals): Delete.
7413 (child_function_2, main): Remove references to deleted variable
7416 2014-03-20 Pedro Alves <palves@redhat.com>
7418 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7419 Use pthread_kill to signal thread 2.
7420 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7421 Adjust to make the test send itself a signal rather than using the
7422 host's "kill" command.
7424 2014-03-20 Pedro Alves <palves@redhat.com>
7426 * gdb.threads/multiple-step-overs.c: New file.
7427 * gdb.threads/multiple-step-overs.exp: New file.
7428 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7429 Adjust expected infrun debug output.
7431 2014-03-20 Pedro Alves <palves@redhat.com>
7433 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7434 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7436 2014-03-20 Pedro Alves <palves@redhat.com>
7439 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7440 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7441 of gdb_test_multiple.
7442 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7443 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7445 2014-03-20 Pedro Alves <palves@redhat.com>
7447 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7448 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7450 2014-03-19 Pedro Alves <palves@redhat.com>
7452 * gdb.base/async.exp: Remove early return.
7454 2014-03-19 Pedro Alves <palves@redhat.com>
7456 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7458 2014-03-19 Pedro Alves <palves@redhat.com>
7460 * gdb.base/async.exp (test_background): Expect \r\n after
7461 "completed." in the fail pattern.
7463 2014-03-19 Pedro Alves <palves@redhat.com>
7465 * gdb.base/async.exp (test_background): New procedure.
7466 Use it for all background execution command tests.
7468 2014-03-19 Pedro Alves <palves@redhat.com>
7470 * gdb.base/async.exp: Use prepare_for_testing.
7472 2014-03-19 Pedro Alves <palves@redhat.com>
7474 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7477 2014-03-19 Pedro Alves <palves@redhat.com>
7479 * gdb.base/async.c (main): Add "jump here" and "until here" line
7481 * gdb.base/async.exp (jump_here): New global.
7482 (jump& test): Use it.
7483 (until_here): New global.
7484 (until& test): Use it.
7486 2014-03-19 Pedro Alves <palves@redhat.com>
7488 * gdb.base/async.exp: Don't frob gdb_protocol.
7490 2014-03-18 Doug Evans <xdje42@gmail.com>
7492 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7493 Fix spelling of exec-done-display.
7495 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7498 * gdb.base/gdb-sigterm.c: New file.
7499 * gdb.base/gdb-sigterm.exp: New file.
7501 2014-03-18 Pedro Alves <palves@redhat.com>
7504 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7505 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7508 2014-03-17 Joel Brobecker <brobecker@adacore.com>
7510 * gdb.ada/pckd_arr_ren: New testcase.
7512 2014-03-13 Doug Evans <xdje42@gmail.com>
7515 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7516 collect after discarding symbols.
7518 2014-03-13 Ludovic CourtĂšs <ludo@gnu.org>
7519 Doug Evans <xdje42@gmail.com>
7521 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7522 to history survives a gc.
7524 2014-03-13 Pedro Alves <palves@redhat.com>
7526 * gdb.base/default.exp: Don't test "target procfs".
7528 2014-03-13 Pedro Alves <palves@redhat.com>
7530 * gdb.base/default.exp: Update "target child" and "target procfs"
7531 tests to not expect "Unix".
7533 2014-03-12 Tom Tromey <tromey@redhat.com>
7535 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7536 New procs. Add target-async tests.
7537 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7538 Add target-async tests.
7540 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7542 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7543 'func_start' and 'func_end' for the beginning and end of the
7544 function code, respectively.
7545 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7546 'func_end' instead of 'func' and 'main'.
7548 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7550 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7551 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7552 generate the debug info assembler source.
7554 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7556 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7557 * gdb.dwarf2/arr-subrange.exp: Likewise.
7558 * gdb.dwarf2/dwz.exp: Likewise.
7559 * gdb.dwarf2/method-ptr.exp: Likewise.
7560 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7561 * gdb.dwarf2/subrange.exp: Likewise.
7562 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7563 * gdb.dwarf2/implptrpiece.exp: Likewise.
7564 * gdb.dwarf2/nostaticblock.exp: Likewise.
7566 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7568 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7569 directory to absolute path name arguments.
7571 2014-03-10 Joel Brobecker <brobecker@adacore.com>
7573 * gdb.ada/tagged_access: New testcase.
7575 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7577 * gdb.btrace/data.exp: Update expected output.
7579 2014-03-06 Yao Qi <yao@codesourcery.com>
7581 * gdb.trace/pr16508.exp: New file.
7583 2014-03-05 Pedro Alves <palves@redhat.com>
7586 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7588 (top level): Adjust to use it. Add tests that exercise breakpoint
7589 interaction with the code-cache.
7591 2014-02-26 Ludovic CourtĂšs <ludo@gnu.org>
7593 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7594 test for 'history-append!'.
7596 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7598 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7599 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7600 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7601 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7602 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7603 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7605 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7607 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7608 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7609 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7611 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7613 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7615 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7617 * gdb.dwarf2/arr-stride.c: New file.
7618 * gdb.dwarf2/arr-stride.exp: New file.
7620 2014-02-26 Pedro Alves <palves@redhat.com>
7622 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7623 that won't ever trigger. Make sure that GDB reports the correct
7624 breakpoint that caused the stop.
7626 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7629 * gdb.base/auto-load-script: New file.
7630 * gdb.base/auto-load.c: New file.
7631 * gdb.base/auto-load.exp: New file.
7634 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7636 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7638 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7639 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7641 2014-02-24 Doug Evans <dje@google.com>
7643 * lib/gdb.exp (run_on_host): Log error output if program fails.
7645 2014-02-21 Pedro Alves <palves@redhat.com>
7647 * gdb.threads/step-after-sr-lock.c: Rename to ...
7648 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7649 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7650 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7653 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7656 * gdb.arch/amd64-stap-special-operands.exp: New file.
7657 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7658 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7659 * gdb.arch/amd64-stap-triplet.S: Likewise.
7660 * gdb.arch/amd64-stap-triplet.c: Likewise.
7662 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7664 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7665 in .section pseudo-op.
7667 2014-02-20 lin zuojian <manjian2006@gmail.com>
7668 Joel Brobecker <brobecker@adacore.com>
7669 Doug Evans <xdje42@gmail.com>
7672 * gdb.dwarf2/dw2-icycle.S: New file.
7673 * gdb.dwarf2/dw2-icycle.c: New file.
7674 * gdb.dwarf2/dw2-icycle.exp: New file.
7676 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7678 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7679 operations on gdb.Value objects.
7680 * gdb.python/py-value-cc.exp: Add new test to test operations on
7683 2014-02-18 Doug Evans <dje@google.com>
7685 * Makefile.in (TESTS): New variable.
7686 (expanded_tests, expanded_tests_or_none): New variables
7687 (check-single): Pass $(expanded_tests_or_none) to runtest.
7688 (check-parallel): Only run tests in $(TESTS) if non-empty.
7689 (check/no-matching-tests-found): New rule.
7690 * README: Document TESTS makefile variable.
7692 2014-02-18 Doug Evans <dje@google.com>
7694 * Makefile.in (check-parallel): rm -rf outputs temp.
7696 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7698 Fix "ERROR: no fileid for" in the testsuite.
7699 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7701 2014-02-12 Doug Evans <dje@google.com>
7703 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7704 (MISCELLANEOUS): New variable.
7705 (clean): rm -rf $(MISCELLANEOUS).
7706 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7707 dwp live in the same directory as symlinks, with each symlink pointed
7708 to a differently named file in a different directory.
7710 2014-02-11 Doug Evans <dje@google.com>
7712 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7713 of Tcl file commands.
7715 2014-02-10 Mark Kettenis <kettenis@gnu.org>
7717 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7720 2014-02-10 Joel Brobecker <brobecker@adacore.com>
7722 * gdb.ada/tick_length_array_enum_idx: New testcase.
7724 2014-02-10 Doug Evans <xdje42@gmail.com>
7726 * configure.ac (AC_OUTPUT): Add gdb.guile.
7727 * configure: Regenerate.
7728 * lib/gdb-guile.exp: New file.
7729 * lib/gdb.exp (get_target_charset): New function.
7730 * gdb.base/help.exp: Update expected output from "apropos apropos".
7731 * gdb.guile/Makefile.in: New file.
7732 * gdb.guile/guile.exp: New file.
7733 * gdb.guile/scm-arch.c: New file.
7734 * gdb.guile/scm-arch.exp: New file.
7735 * gdb.guile/scm-block.c: New file.
7736 * gdb.guile/scm-block.exp: New file.
7737 * gdb.guile/scm-breakpoint.c: New file.
7738 * gdb.guile/scm-breakpoint.exp: New file.
7739 * gdb.guile/scm-disasm.c: New file.
7740 * gdb.guile/scm-disasm.exp: New file.
7741 * gdb.guile/scm-equal.c: New file.
7742 * gdb.guile/scm-equal.exp: New file.
7743 * gdb.guile/scm-error.exp: New file.
7744 * gdb.guile/scm-error.scm: New file.
7745 * gdb.guile/scm-frame-args.c: New file.
7746 * gdb.guile/scm-frame-args.exp: New file.
7747 * gdb.guile/scm-frame-args.scm: New file.
7748 * gdb.guile/scm-frame-inline.c: New file.
7749 * gdb.guile/scm-frame-inline.exp: New file.
7750 * gdb.guile/scm-frame.c: New file.
7751 * gdb.guile/scm-frame.exp: New file.
7752 * gdb.guile/scm-generics.exp: New file.
7753 * gdb.guile/scm-gsmob.exp: New file.
7754 * gdb.guile/scm-iterator.c: New file.
7755 * gdb.guile/scm-iterator.exp: New file.
7756 * gdb.guile/scm-math.c: New file.
7757 * gdb.guile/scm-math.exp: New file.
7758 * gdb.guile/scm-objfile-script-gdb.in: New file.
7759 * gdb.guile/scm-objfile-script.c: New file.
7760 * gdb.guile/scm-objfile-script.exp: New file.
7761 * gdb.guile/scm-objfile.c: New file.
7762 * gdb.guile/scm-objfile.exp: New file.
7763 * gdb.guile/scm-ports.exp: New file.
7764 * gdb.guile/scm-pretty-print.c: New file.
7765 * gdb.guile/scm-pretty-print.exp: New file.
7766 * gdb.guile/scm-pretty-print.scm: New file.
7767 * gdb.guile/scm-section-script.c: New file.
7768 * gdb.guile/scm-section-script.exp: New file.
7769 * gdb.guile/scm-section-script.scm: New file.
7770 * gdb.guile/scm-symbol.c: New file.
7771 * gdb.guile/scm-symbol.exp: New file.
7772 * gdb.guile/scm-symtab-2.c: New file.
7773 * gdb.guile/scm-symtab.c: New file.
7774 * gdb.guile/scm-symtab.exp: New file.
7775 * gdb.guile/scm-type.c: New file.
7776 * gdb.guile/scm-type.exp: New file.
7777 * gdb.guile/scm-value-cc.cc: New file.
7778 * gdb.guile/scm-value-cc.exp: New file.
7779 * gdb.guile/scm-value.c: New file.
7780 * gdb.guile/scm-value.exp: New file.
7781 * gdb.guile/source2.scm: New file.
7782 * gdb.guile/types-module.cc: New file.
7783 * gdb.guile/types-module.exp: New file.
7785 2014-02-10 Yao Qi <yao@codesourcery.com>
7788 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7789 * configure: Regenerated.
7790 * Makefile.in: New file.
7792 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7794 * gdb.python/py-framefilter.exp: Fix typo.
7796 2014-02-08 Yao Qi <yao@codesourcery.com>
7798 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7799 that no =breakpoint-modified is emitted when breakpoints are
7800 modified through MI commands.
7802 2014-02-07 Pedro Alves <pedro@codesourcery.com>
7803 Pedro Alves <palves@redhat.com>
7805 * gdb.threads/step-after-sr-lock.c: New file.
7806 * gdb.threads/step-after-sr-lock.exp: New file.
7808 2014-02-07 Pedro Alves <palves@redhat.com>
7810 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7812 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7814 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7815 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7817 2014-02-06 Doug Evans <xdje42@gmail.com>
7819 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7822 * gdb.gdb/python-interrupts.exp: New file.
7824 2014-02-05 Yao Qi <yao@codesourcery.com>
7826 * gdb.trace/report.exp (use_collected_data): Test the output
7827 of "info threads" and "info inferiors".
7829 2014-02-05 Yao Qi <yao@codesourcery.com>
7833 2013-05-24 Yao Qi <yao@codesourcery.com>
7835 * gdb.trace/tfile.exp: Test inferior and thread.
7837 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7839 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7841 * gdb.base/step-bt.c: Call hello via function pointer to make
7842 sure its first instruction is executed on powerpc64le-linux.
7844 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7846 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7848 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7850 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7851 of the test patterns for use on little-endian systems.
7853 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7855 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7856 (decimal_vector): Fix for little-endian.
7858 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7860 * gdb.arch/sparc-sysstep.exp: New file.
7861 * gdb.arch/sparc-sysstep.c: Likewise.
7863 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7865 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7867 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7869 2014-01-23 Tom Tromey <tromey@redhat.com>
7871 * gdb.ada/array_char_idx: New testcase.
7873 2014-01-23 Tom Tromey <tromey@redhat.com>
7876 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7877 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7880 2014-01-23 Tom Tromey <tromey@redhat.com>
7883 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7884 string from an inferior frame.
7885 * gdb.python/py-framefilter-mi.exp: Update.
7887 2014-01-22 Doug Evans <dje@google.com>
7889 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7891 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7893 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7895 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7897 * gdb.trace/entry-values.exp: Remove excess space character from
7898 regex patterns. Handle s390 call instruction.
7900 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7902 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7903 define "*_start" label. Make "name" static.
7904 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7905 ${name} by references to ${name}_start.
7907 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7909 * gdb.base/info-macros.exp: Remove "debug" from the compile
7912 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7914 * gdb.dlang/demangle.exp: New file.
7916 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7918 * gdb.dlang/primitive-types.exp: New file.
7920 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7922 * configure.ac: Create gdb.dlang/Makefile.
7923 * configure: Regenerate.
7924 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7925 * gdb.dlang/Makefile.in: New file.
7926 * lib/d-support.exp: New file.
7927 * lib/gdb.exp (skip_d_tests): New proc.
7929 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7931 * gdb.btrace/delta.exp: Check reverse stepi.
7932 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7933 * gdb.btrace/finish.exp: New.
7934 * gdb.btrace/next.exp: New.
7935 * gdb.btrace/nexti.exp: New.
7936 * gdb.btrace/record_goto.c: Add comments.
7937 * gdb.btrace/step.exp: New.
7938 * gdb.btrace/stepi.exp: New.
7939 * gdb.btrace/multi-thread-step.c: New.
7940 * gdb.btrace/multi-thread-step.exp: New.
7941 * gdb.btrace/rn-dl-bind.c: New.
7942 * gdb.btrace/rn-dl-bind.exp: New.
7943 * gdb.btrace/data.c: New.
7944 * gdb.btrace/data.exp: New.
7945 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7947 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7949 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7950 * gdb.btrace/exception.exp: Update.
7951 * gdb.btrace/instruction_history.exp: Update.
7952 * gdb.btrace/record_goto.exp: Update.
7953 * gdb.btrace/tailcall.exp: Update.
7954 * gdb.btrace/unknown_functions.exp: Update.
7955 * gdb.btrace/delta.exp: New.
7957 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7959 * gdb.btrace/record_goto.exp: Add backtrace test.
7960 * gdb.btrace/tailcall.exp: Add backtrace test.
7962 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7964 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7965 * gdb.btrace/record_goto.c: New.
7966 * gdb.btrace/record_goto.exp: New.
7967 * gdb.btrace/x86-record_goto.S: New.
7969 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7971 * gdb.btrace/function_call_history.exp: Update tests.
7972 * gdb.btrace/instruction_history.exp: Update tests.
7974 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7976 * gdb.btrace/function_call_history.exp: Fix expected field
7977 order for "record function-call-history".
7978 Add new tests for "record function-call-history /c".
7979 * gdb.btrace/exception.cc: New.
7980 * gdb.btrace/exception.exp: New.
7981 * gdb.btrace/tailcall.exp: New.
7982 * gdb.btrace/x86-tailcall.S: New.
7983 * gdb.btrace/x86-tailcall.c: New.
7984 * gdb.btrace/unknown_functions.c: New.
7985 * gdb.btrace/unknown_functions.exp: New.
7986 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7988 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7990 * gdb.btrace/instruction_history.exp: Update.
7991 * gdb.btrace/function_call_history.exp: Update.
7993 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7995 * gdb.btrace/function_call_history.exp: Fix expected function
7997 * gdb.btrace/instruction_history.exp: Initialize traced.
7998 Remove traced_functions.
8000 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8002 * gdb.btrace/function_call_history.exp: Update
8003 * gdb.btrace/instruction_history.exp: Update.
8005 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8007 * gdb.btrace/enable.exp: Update expected text.
8009 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8011 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8014 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8016 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8018 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
8020 * lib/gdb.exp (supports_process_record): Return true for
8021 arm*-linux*. (supports_reverse): Likewise.
8023 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8027 * gdb.python/py-type.c: Enhance test case.
8028 * gdb.python/py-value-cc.cc: Likewise
8029 * gdb.python/py-type.exp: Add new tests.
8030 * gdb.python/py-value-cc.exp: Likewise
8032 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8033 Pedro Alves <palves@redhat.com>
8035 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8037 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8038 references to ${name}_start by references to ${name}.
8040 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8042 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8044 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8046 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8048 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8049 Pedro Alves <palves@redhat.com>
8051 * gdb.mi/mi-info-os.exp: Connect to the target with
8054 2014-01-08 Pedro Alves <palves@redhat.com>
8056 * gdb.threads/reconnect-signal.c: New file.
8057 * gdb.threads/reconnect-signal.exp: New file.
8059 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8061 * gdb.base/source-dir.exp: New file.
8063 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8065 * gdb.ada/mi_interface: New testcase.
8067 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8069 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8070 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8071 gdb.ada/pp-rec-component/pck.ads: New files.
8073 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8075 * gdb.python/py-pp-integral.c: New file.
8076 * gdb.python/py-pp-integral.py: New file.
8077 * gdb.python/py-pp-integral.exp: New file.
8079 For older changes see ChangeLog-1993-2013.
8085 ;; version-control: never
8088 Copyright 2014-2016 Free Software Foundation, Inc.
8089 Copying and distribution of this file, with or without modification,
8090 are permitted provided the copyright notice and this notice are preserved.