1 2015-03-19 Pedro Alves <palves@redhat.com>
3 * gdb.threads/continue-pending-status.c: New file.
4 * gdb.threads/continue-pending-status.exp: New file.
6 2015-03-18 Pedro Alves <palves@redhat.com>
8 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
9 Use gdb_is_target_remote instead of is_remote. Use
10 gdb_test_multiple instead of gdb_expect. Exit early if
11 gdb_test_multiple hits its internal matches. Tighten stepi tests
12 expected output. Fail on exit with any signal, instead of just
15 2015-03-18 Yao Qi <yao.qi@linaro.org>
18 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
20 * gdb.base/catch-syscall.exp: Don't skip it on
21 aarch64*-*-linux* target. Remove elements in all_syscalls.
22 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
24 (setup_all_syscalls): New proc.
26 2015-03-16 Yao Qi <yao.qi@linaro.org>
28 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
29 (top level): Skip tests if valid_addr_p returns false for
32 2015-03-11 Andy Wingo <wingo@igalia.com>
34 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
36 2015-03-11 Yao Qi <yao.qi@linaro.org>
38 * gdb.base/catch-syscall.exp: Fix typo in comments.
40 2015-03-11 Yao Qi <yao.qi@linaro.org>
42 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
44 2015-03-09 Pedro Alves <palves@redhat.com>
46 * dg-extract-results.py: Delete.
48 2015-03-09 Pedro Alves <palves@redhat.com>
50 Merge dg-extract-results.sh from GCC upstream (r218843).
52 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
53 * dg-extract-results.sh: Use --text with grep to avoid issues with
54 binary files. Fall back to cat -v, if that doesn't work.
56 2015-03-05 Pedro Alves <palves@redhat.com>
58 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
60 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
62 * lib/mi-support.exp (mi_expect_interrupt): Accept
63 alternative event for when in all-stop mode.
65 2015-03-04 Pedro Alves <palves@redhat.com>
67 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
69 2015-03-04 Mark Kettenis <kettenis@gnu.org>
71 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
73 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
75 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
76 regexps for GDB's current line display, accept a hex address
77 preceding the line number.
79 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
81 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
82 the 'arch1' variable for "s390*-linux*" targets.
84 2015-03-04 Pedro Alves <palves@redhat.com>
86 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
87 (main): Pass missing retval argument to pthread_join call.
89 2015-03-02 Pedro Alves <palves@redhat.com>
91 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
92 (top level): Call do_test with non-stop as well.
94 2015-03-02 Pedro Alves <palves@redhat.com>
96 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
99 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
101 * gdb.arch/s390-vregs.exp: New test.
102 * gdb.arch/s390-vregs.S: New file.
104 2015-02-27 Pedro Alves <palves@redhat.com>
106 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
107 call to catch_command_errors.
108 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
109 catch_command_errors.
111 2015-02-27 Pedro Alves <palves@redhat.com>
113 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
114 "true" for boolean result.
115 * gdb.gdb/selftest.exp (test_with_self): Also accept full
118 2015-02-27 Pedro Alves <palves@redhat.com>
120 * lib/unbuffer_output.c: New file.
121 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
122 (main): Call gdb_unbuffer_output.
124 2015-02-27 Yao Qi <yao.qi@linaro.org>
126 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
129 2015-02-26 Doug Evans <dje@google.com>
131 * gdb.cp/class2.cc (Dbase, D): New classes.
132 (main): New local delta.
133 * gdb.cp/class2.exp: Test printing delta.
134 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
135 (dynbar): New global.
136 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
138 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
140 * gdb.compile/compile-ifunc.c: New file.
141 * gdb.compile/compile-ifunc.exp: New file.
143 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
145 * gdb.base/structs.exp: Check for correct struct on finish.
147 2015-02-26 Yao Qi <yao.qi@linaro.org>
149 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
152 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
154 * gdb.arch/cordic.ko.bz2: New file.
155 * gdb.arch/cordic.ko.debug.bz2: New file.
156 * gdb.arch/ppc64-symtab-cordic.exp: New file.
158 2015-02-25 Yao Qi <yao.qi@linaro.org>
160 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
163 2015-02-23 Pedro Alves <palves@redhat.com>
165 * lib/gdb.exp (delete_breakpoints): Rewrite using
168 2015-02-23 Pedro Alves <palves@redhat.com>
170 * gdb.base/info-os.c: Include stdlib.h.
172 2015-02-22 Doug Evans <xdje42@gmail.com>
175 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
176 is read after symbols have been re-read.
177 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
178 * gdb.ada/exec_changed/second.adb (Second): Ditto.
180 2015-02-21 Doug Evans <dje@google.com>
182 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
184 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
187 * gdb.arch/i386-biarch-core.core.bz2: New file.
188 * gdb.arch/i386-biarch-core.exp: New file.
190 2015-02-21 Pedro Alves <palves@redhat.com>
192 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
195 2015-02-20 Pedro Alves <palves@redhat.com>
197 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
200 2015-02-20 Pedro Alves <palves@redhat.com>
202 * gdb.threads/multi-create-ns-info-thr.exp: New file.
204 2015-02-20 Pedro Alves <palves@redhat.com>
206 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
207 clean_restart before gdb_target_supports_trace.
209 2015-02-20 Pedro Alves <palves@redhat.com>
212 * gdb.threads/clone-thread_db.c: New file.
213 * gdb.threads/clone-thread_db.exp: New file.
215 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
218 * gdb.base/catch-gdb-caused-signals.c: New file.
219 * gdb.base/catch-gdb-caused-signals.exp: New file.
221 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
223 * configure: Regenerated.
224 * configure.ac: Use GDB_AC_TRANSFORM.
225 * aclocal.m4: sinclude ../transform.m4.
227 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
229 * lib/dtrace.exp: New file.
230 * gdb.base/dtrace-probe.exp: Likewise.
231 * gdb.base/dtrace-probe.d: Likewise.
232 * gdb.base/dtrace-probe.c: Likewise.
233 * lib/pdtrace.in: Likewise.
234 * configure.ac: Output variables with the transformed names of
235 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
236 * configure: Regenerated.
238 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
240 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
241 expected message when trying to access $_probe_* convenience
242 variables while not on a probe.
244 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
246 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
248 2015-02-11 Pedro Alves <pedro@codesourcery.com>
250 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
251 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
253 2015-02-10 Doug Evans <xdje42@gmail.com>
255 * lib/gdb.exp (gdb_load): Always return a result.
257 2015-02-10 Pedro Alves <palves@redhat.com>
259 * gdb.threads/signal-sigtrap.c: New file.
260 * gdb.threads/signal-sigtrap.exp: New file.
262 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
264 * gdb.trace/no-attach-trace.c: New file.
265 * gdb.trace/no-attach-trace.exp: New file.
267 2015-02-09 Mark Wielaard <mjw@redhat.com>
269 * gdb.dwarf2/atomic.c: New file.
270 * gdb.dwarf2/atomic-type.exp: Likewise.
272 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
274 * gdb.btrace/buffer-size.exp: Update "info record" output.
275 * gdb.btrace/delta.exp: Update "info record" output.
276 * gdb.btrace/enable.exp: Update "info record" output.
277 * gdb.btrace/finish.exp: Update "info record" output.
278 * gdb.btrace/instruction_history.exp: Update "info record" output.
279 * gdb.btrace/next.exp: Update "info record" output.
280 * gdb.btrace/nexti.exp: Update "info record" output.
281 * gdb.btrace/step.exp: Update "info record" output.
282 * gdb.btrace/stepi.exp: Update "info record" output.
283 * gdb.btrace/nohist.exp: Update "info record" output.
285 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
287 * gdb.btrace/buffer-size: New.
289 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
291 * gdb.btrace/delta.exp: Update "info record" output.
292 * gdb.btrace/enable.exp: Update "info record" output.
293 * gdb.btrace/finish.exp: Update "info record" output.
294 * gdb.btrace/instruction_history.exp: Update "info record" output.
295 * gdb.btrace/next.exp: Update "info record" output.
296 * gdb.btrace/nexti.exp: Update "info record" output.
297 * gdb.btrace/step.exp: Update "info record" output.
298 * gdb.btrace/stepi.exp: Update "info record" output.
299 * gdb.btrace/nohist.exp: Update "info record" output.
301 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
304 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
306 2015-02-06 Pedro Alves <palves@redhat.com>
308 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
310 (seconds_left, again): New globals.
311 (main): Wait seconds_left in a 1-second sleep loop instead of
312 sleeping 180 seconds. If 'again' is set, reset the seconds
314 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
315 'again' in the inferior before detaching. Print the seconds left.
316 (options): New global.
317 (top level): Build program with -DTIMEOUT=$timeout.
319 2015-02-06 Pedro Alves <palves@redhat.com>
321 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
322 determine how many seconds to pass to 'alarm'.
323 * gdb.base/gdb-sigterm.exp (top level): Build program with
325 (do_test): Return success/failure indication. Add more verbose
326 logging. Don't fail if 200 single steps are seen. Instead, fail
327 when the test times out.
328 (passes): New global.
329 (top level): Break the testing loop if testing fails on any
330 iteration. Use gdb_assert.
332 2015-02-04 Don Breazeal <donb@codesourcery.com>
334 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
336 (ipc_cleanup): New function.
337 (main): Don't declare shmid, semid, and msqid. Add a call to
338 atexit so that we call ipc_cleanup on exit.
340 2015-02-04 Pedro Alves <palves@redhat.com>
342 * boards/native-extended-gdbserver.exp: Remove any target variant
343 specifications from the board name before clearing the isremote
344 flag from board_info.
346 2015-01-31 Doug Evans <xdje42@gmail.com>
348 * gdb.base/maint.exp <maint print type argc>: Update expected output.
350 2015-01-31 Gary Benson <gbenson@redhat.com>
352 * gdb.base/completion.exp: Disable completion limiting for
353 existing tests. Add new tests to check completion limiting.
354 * gdb.linespec/ls-errs.exp: Disable completion limiting.
356 2015-01-31 Doug Evans <xdje42@gmail.com>
358 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
360 2015-01-31 Doug Evans <xdje42@gmail.com>
362 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
363 entries. Duplicate file section script entries.
364 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
365 inlined entries. Add test for safe-path rejection.
366 * gdb.python/py-section-script.c: Add duplicate inlined section script
367 entries. Duplicate file section script entries.
368 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
369 inlined entries. Add test for safe-path rejection.
371 2015-01-29 Joel Brobecker <brobecker@adacore.com>
373 * gdb.ada/disc_arr_bound: New testcase.
375 2015-01-29 Joel Brobecker <brobecker@adacore.com>
377 * gdb.ada/mi_var_array: New testcase.
379 2015-01-27 Doug Evans <dje@google.com>
381 * gdb.python/py-objfile.exp: Add tests for objfile.username.
382 Add test for objfile.filename, objfile.username after objfile
385 2015-01-26 Joel Brobecker <brobecker@adacore.com>
387 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
388 the second test to print the name attribute of value
389 returned by the call to gdb.lookup_type, and adjust
390 the expected output accordingly.
392 2015-01-25 Mark Wielaard <mjw@redhat.com>
394 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
395 * gdb.base/disp-step-fork.c: Include unistd.h.
396 * gdb.base/siginfo-obj.c: Include stdio.h.
397 * gdb.base/siginfo-thread.c: Likewise.
398 * gdb.mi/non-stop.c: Include unistd.h.
399 * gdb.mi/nsthrexec.c: Include stdio.h.
400 * gdb.mi/pthreads.c: Include unistd.h.
401 * gdb.modula2/unbounded1.c (main): Declare returns int.
402 * gdb.reverse/consecutive-reverse.c: Likewise.
403 * gdb.threads/create-fail.c: Include unistd.h.
404 * gdb.threads/killed.c: Likewise.
405 * gdb.threads/linux-dp.c: Likewise.
406 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
407 * gdb.threads/non-ldr-exc-2.c: Likewise.
408 * gdb.threads/non-ldr-exc-3.c: Likewise.
409 * gdb.threads/non-ldr-exc-4.c: Likewise.
410 * gdb.threads/pthreads.c: Include unistd.h.
411 (main): Declare returns int.
412 * gdb.threads/tls-main.c (foo): New declaration.
413 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
415 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
417 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
418 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
420 2015-01-15 Mark Wielaard <mjw@redhat.com>
422 * gdb.base/noreturn-return.c: New file.
423 * gdb.base/noreturn-return.exp: New file.
424 * gdb.base/noreturn-finish.c: New file.
425 * gdb.base/noreturn-finish.exp: New file.
427 2015-01-23 Pedro Alves <palves@redhat.com>
429 * gdb.threads/continue-pending-after-query.c: New file.
430 * gdb.threads/continue-pending-after-query.exp: New file.
432 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
433 Simon Marchi <simon.marchi@ericsson.com>
435 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
436 * gdb.base/valgrind-db-attach.exp: Same.
437 * gdb.base/valgrind-infcall.exp: Same.
438 * lib/mi-support.exp (default_mi_gdb_start): Same.
439 * lib/prompt.exp (default_prompt_gdb_start): Same.
440 * lib/gdb.exp (default_gdb_spawn): Same.
444 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
446 * gdb.compile/compile.exp (pointer to jit function): New test.
448 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
450 * lib/gdb.exp (supports_process_record): Return true for
452 (supports_reverse): Likewise.
454 2015-01-15 Don Breazeal <donb@codesourcery.com>
456 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
457 instead of checking whether the target board is remote and
458 use spawn_wait_for_attach instead of exec/sleep.
459 * gdb.base/attach-twice.exp: Likewise.
461 2015-01-15 Joel Brobecker <brobecker@adacore.com>
463 * gdb.ada/var_arr_attrs: New testcase.
465 2015-01-14 Pedro Alves <palves@redhat.com>
466 Joel Brobecker <brobecker@adacore.com>
469 * gdb.base/bp-cmds-execution-x-script.c: New file.
470 * gdb.base/bp-cmds-execution-x-script.exp: New file.
471 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
473 2015-01-14 Pedro Alves <palves@redhat.com>
476 * gdb.base/batch-preserve-term-settings.c: New file.
477 * gdb.base/batch-preserve-term-settings.exp: New file.
479 2015-01-13 Doug Evans <dje@google.com>
481 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
484 2015-01-13 Joel Brobecker <brobecker@adacore.com>
486 * Makefile.in (clean mostlyclean): Do not delete *.py.
488 2015-01-13 Joel Brobecker <brobecker@adacore.com>
490 * gdb.python/py-lookup-type.exp: New file.
492 2015-01-12 Pedro Alves <palves@redhat.com>
494 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
495 restore GDBFLAGS before returning.
497 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
499 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
500 is_amd64_regs_target and is_x86_like_target.
502 2015-01-11 Doug Evans <xdje42@gmail.com>
504 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
505 is given without an explicit form.
506 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
508 * gdb.dwarf/corrupt.exp: Ditto.
509 * gdb.dwarf2/enum-type.exp: Ditto.
510 * gdb.trace/entry-values.exp: Ditto.
511 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
513 2015-01-11 Doug Evans <xdje42@gmail.com>
516 * gdb.base/maint.exp: Remove references to "maint demangle".
517 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
518 Add tests for explicitly specifying language to demangle.
519 * gdb.dlang/demangle.exp: Ditto.
521 2015-01-09 Pedro Alves <palves@redhat.com>
523 * gdb.threads/non-stop-fair-events.c: New file.
524 * gdb.threads/non-stop-fair-events.exp: New file.
526 2015-01-09 Pedro Alves <palves@redhat.com>
528 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
529 the global scope. Set a breakpoint after all threads are started
530 rather than stepping over two source lines. Expect the prompt.
531 * gdb.base/watch_thread_num.c (threads_started_barrier): New
534 (main): Use threads_started_barrier to wait for all threads to
535 start. Main thread no longer calls thread_function. Exit after
537 (loop): New function.
538 (thread_function): Wait on threads_started_barrier barrier. Call
539 'loop' at each iteration.
540 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
541 threads have started, instead of hardcoding number of "next"
542 steps. Use an access watchpoint instead of a write watchpoint.
544 2015-01-09 Pedro Alves <palves@redhat.com>
546 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
547 (thread_func): Wait on barrier.
548 (main): Wait for all threads to start before stopping GDB.
549 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
551 (thread1_func, thread2_func): Wait on barrier.
552 (main): Wait for all threads to start before stopping GDB.
553 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
555 (thread1_func, thread2_func): Wait on barrier.
556 (main): Wait for all threads to start before stopping GDB.
558 2015-01-09 Pedro Alves <palves@redhat.com>
560 * gdb.threads/attach-many-short-lived-threads.c: New file.
561 * gdb.threads/attach-many-short-lived-threads.exp: New file.
563 2014-01-09 Pedro Alves <palves@redhat.com>
565 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
566 instead of to thread 2.
567 * gdb.threads/signal-command-multiple-signals-pending.c (main):
568 Add barrier around each pthread_create call instead of around all
570 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
571 Set a break on thread_function and have the child threads hit it
574 2015-01-09 Pedro Alves <palves@redhat.com>
576 * lib/gdb.exp (can_spawn_for_attach): New procedure.
577 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
579 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
580 checking whether the target board is remote.
581 * gdb.multi/multi-attach.exp: Likewise.
582 * gdb.python/py-sync-interp.exp: Likewise.
583 * gdb.server/ext-attach.exp: Likewise.
584 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
585 tests that need to attach, instead of checking whether the target
586 board is remote at the top of the file.
588 2015-01-08 Yao Qi <yao@codesourcery.com>
590 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
592 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
594 Fix testcase compilation.
595 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
597 2015-01-06 Joel Brobecker <brobecker@adacore.com>
599 * gdb.python/py-type.exp: Add a couple test about empty
600 array creation, and negative-length array creation.
602 2015-01-02 Doug Evans <xdje42@gmail.com>
604 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
606 2015-01-02 Doug Evans <dje@google.com>
608 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
610 2014-12-29 Yao Qi <yao@codesourcery.com>
612 * gdb.trace/entry-values.exp: Update comments. Rename variable
613 bar_call_foo to returned_from_foo.
615 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
618 * gdb.linespec/break-asm-file.c: New file.
619 * gdb.linespec/break-asm-file.exp: New file.
620 * gdb.linespec/break-asm-file0.s: New file.
621 * gdb.linespec/break-asm-file1.s: New file.
623 2014-12-18 Nigel Stephens <nigel@mips.com>
624 Maciej W. Rozycki <macro@codesourcery.com>
626 * gdb.base/float.exp: Handle the new output from "info float" on
629 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
631 Fix MinGW compilation.
632 * gdb.compile/compile-ops.exp: Update untested message if
633 !skip_compile_feature_tests.
634 * gdb.compile/compile-setjmp.exp: Likewise.
635 * gdb.compile/compile-tls.exp: Likewise.
636 * gdb.compile/compile.exp: Likewise.
637 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
638 supported on this host".
640 2014-12-16 Doug Evans <xdje42@gmail.com>
642 * boards/stabs.exp: New file.
644 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
646 * gdb.base/completion.exp: Adjust to format changes of "maint
647 print user-registers".
649 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
652 * gdb.arch/aarch64-fp.c: New file.
653 * gdb.arch/aarch64-fp.exp: New file.
655 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
657 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
658 r210637, r210913, r211666, r215400, r215817).
660 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
661 * dg-extract-results.py: New file.
662 * dg-extract-results.sh: Use it if the environment seems
665 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
667 * dg-extract-results.py (parse_run): Handle warnings that
668 are printed before a test harness is run.
670 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
672 * dg-extract-results.py (Named): Remove __cmp__ method.
673 (output_variation): Use a key to sort variation.harnesses.
675 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
677 * dg-extract-results.py: For Python 3, force sys.stdout to
678 handle surrogate escape sequences.
679 (safe_open): New function.
680 (output_segment, main): Use it.
682 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
684 * dg-extract-results.py (Prog.result_re): Include options
687 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
689 * dg-extract-results.py (output_variation): Always sort if
692 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
694 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
695 as long as we get pagination notifications.
697 2014-12-15 Jason Merrill <jason@redhat.com>
699 * Makefile.in (check-gdb.%): Restore.
700 * README: Mention it.
702 2014-12-13 Joel Brobecker <brobecker@adacore.com>
704 * gdb.ada/str_uninit: New testcase.
706 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
709 * gdb.base/vla-stub-define.c: New file.
710 * gdb.base/vla-stub.c: New file.
711 * gdb.base/vla-stub.exp: New file.
713 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
714 Jan Kratochvil <jan.kratochvil@redhat.com>
715 Tom Tromey <tromey@redhat.com>
717 * configure.ac: Add gdb.compile/.
718 * configure: Regenerate.
719 * gdb.compile/Makefile.in: New file.
720 * gdb.compile/compile-ops.exp: New file.
721 * gdb.compile/compile-ops.c: New file.
722 * gdb.compile/compile-tls.c: New file.
723 * gdb.compile/compile-tls.exp: New file.
724 * gdb.compile/compile-constvar.S: New file.
725 * gdb.compile/compile-constvar.c: New file.
726 * gdb.compile/compile-mod.c: New file.
727 * gdb.compile/compile-nodebug.c: New file.
728 * gdb.compile/compile-setjmp-mod.c: New file.
729 * gdb.compile/compile-setjmp.c: New file.
730 * gdb.compile/compile-setjmp.exp: New file.
731 * gdb.compile/compile-shlib.c: New file.
732 * gdb.compile/compile.c: New file.
733 * gdb.compile/compile.exp: New file.
734 * lib/gdb.exp (skip_compile_feature_tests): New proc.
736 2014-12-12 Tom Tromey <tromey@redhat.com>
738 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
739 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
741 2014-12-12 Doug Evans <dje@google.com>
743 * lib/gdb-python.exp (get_python_valueof): New function.
744 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
746 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
748 * gdb.base/completion.exp: Add test for completion of "info
751 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
753 * gdb.base/func-ptrs.c: New file.
754 * gdb.base/func-ptrs.exp: New file.
756 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
759 * gdb.base/dprintf-detach.c: New file.
760 * gdb.base/dprintf-detach.exp: New file.
762 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
764 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
765 * lib/gdb.exp (target_is_gdbserver): New procedure.
767 2014-12-08 Doug Evans <dje@google.com>
769 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
771 2014-12-05 Yao Qi <yao@codesourcery.com>
773 * gdb.guile/scm-error.exp: Remove the third argument to
775 * gdb.guile/scm-frame-args.exp: Likewise.
776 * gdb.guile/scm-section-script.exp: Likewise.
778 2014-12-05 Yao Qi <yao@codesourcery.com>
780 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
782 2014-12-04 Doug Evans <dje@google.com>
784 * gdb.python/py-objfile.exp: Add tests for
785 objfile.add_separate_debug_file.
787 2014-12-04 Doug Evans <dje@google.com>
789 * lib/gdb.exp (get_build_id): New function.
790 (build_id_debug_filename_get): Rewrite to use it.
791 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
793 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
795 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
796 `method(long)', not just 0x0.
797 * gdb.cp/nsalias.exp: Align code labels to 4.
798 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
799 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
800 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
801 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
802 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
803 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
805 2014-12-02 Doug Evans <dje@google.com>
808 * gdb.cp/anon-ns.cc: Move guts of this file to ...
809 * gdb.cp/anon-ns2.cc: ... here. New file.
810 * gdb.cp/anon-ns.exp: Update.
812 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
814 * gdb.python/py-events.py (inferior_call_handler): New.
815 (register_changed_handler, memory_changed_handler): New.
816 (test_events.invoke): Register new handlers.
817 * gdb.python/py-events.exp: Add tests for inferior call,
818 memory_changed and register_changed events.
820 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
822 * gdb.base/execl-update-breakpoints.exp: Specify the link address
823 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
824 if the linker doesn't understand this.
826 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
828 * gdb.python/python.exp: Change expected reply to help().
830 2014-12-01 Yao Qi <yao@codesourcery.com>
832 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
833 AC_CONFIG_SUBDIRS(gdb.gdbtk).
834 * configure: Re-generated.
836 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
838 * gdb.cp/chained-calls.cc: New file.
839 * gdb.cp/chained-calls.exp: New file.
840 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
842 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
844 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
845 * gdb.dwarf2/symtab-producer.exp: Same.
846 * gdb.gdb/python-interrupts.exp: Same.
847 * gdb.gdb/python-selftest.exp: Same.
848 * gdb.python/py-linetable.exp: Same.
849 * gdb.python/py-type.exp: Same.
850 * gdb.python/py-value-cc.exp: Same.
851 * gdb.python/py-value.exp: Same.
853 2014-11-28 Yao Qi <yao@codesourcery.com>
855 * gdb.base/break-probes.exp: Match library name prefixed with
858 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
860 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
861 test expected output. Add parentheses for the call to print.
862 Remove L suffix from integers.
864 2014-11-26 Doug Evans <dje@google.com>
866 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
868 2014-11-22 Yao Qi <yao@codesourcery.com>
870 * gdb.trace/entry-values.c: Remove asms.
871 (foo): Add foo_label.
872 (bar): Add bar_label.
873 * gdb.trace/entry-values.exp: Remove code computing foo's
874 length and bar's length.
875 (Dwarf::assemble): Invoke function_range for bar and use
876 MACRO_AT_func for foo.
878 2014-11-22 Yao Qi <yao@codesourcery.com>
880 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
881 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
882 Use .Lgcc43_procstart instead of gcc43.
884 2014-11-21 Joel Brobecker <brobecker@adacore.com>
886 * gdb.ada/n_arr_bound: New testcase.
888 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
891 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
892 test_catch_syscall_multi_arch.
893 (test_catch_syscall_multi_arch): New function.
895 2014-11-20 Doug Evans <xdje42@gmail.com>
897 * gdb.base/maint.exp: Update expected output.
899 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
901 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
902 4-byte instruction on S390.
904 2014-11-19 Joel Brobecker <brobecker@adacore.com>
906 * gdb.ada/arr_arr: New testcase.
908 2014-11-19 Joel Brobecker <brobecker@adacore.com>
910 * gdb.ada/pkd_arr_elem: New Testcase.
912 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
914 * gdb.reverse/break-precsave: Expect completion message for
916 * gdb.reverse/consecutive-precsave.exp: Likewise.
917 * gdb.reverse/finish-precsave.exp: Likewise.
918 * gdb.reverse/i386-precsave.exp: Likewise.
919 * gdb.reverse/machinestate-precsave.exp: Likewise.
920 * gdb.reverse/sigall-precsave.exp: Likewise.
921 * gdb.reverse/solib-precsave.exp: Likewise.
922 * gdb.reverse/step-precsave.exp: Likewise.
923 * gdb.reverse/until-precsave.exp: Likewise.
924 * gdb.reverse/watch-precsave.exp: Likewise.
926 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
928 * gdb.base/bp-permanent.c: Include unistd.h.
929 * gdb.python/py-framefilter-mi.c (main): Add return type.
930 * gdb.python/py-framefilter.c (main): Likewise.
931 * gdb.trace/actions-changed.c (main): Likewise.
933 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
935 * gdb.mi/until.c: Add eye-catchers.
936 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
939 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
941 * gdb.base/condbreak.exp: Drop references to removed non-prototype
942 function header variants in break1.c.
943 * gdb.base/ena-dis-br.exp: Likewise.
944 * gdb.base/hbreak2.exp: Likewise.
945 * gdb.reverse/until-precsave.exp: Drop references to removed
946 non-prototype function header variants in ur1.c.
947 * gdb.reverse/until-reverse.exp: Likewise.
949 2014-11-17 Petr Machata <pmachata@redhat.com>
951 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
952 ${_cu_offset_size} bytes abbrev offset.
954 2014-11-15 Doug Evans <xdje42@gmail.com>
957 * gdb.base/line-symtabs.exp: New file.
958 * gdb.base/line-symtabs.c: New file.
959 * gdb.base/line-symtabs.h: New file.
961 2014-11-14 Yao Qi <yao@codesourcery.com>
963 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
964 (func): Add label func_label.
965 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
966 Replace low_pc and high_pc with MACRO_AT_range.
967 Replace name, low_pc and high_pc with MACRO_AT_func.
969 2014-11-14 Yao Qi <yao@codesourcery.com>
971 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
972 Replace name, low_pc and high_pc with MACRO_AT_func.
974 2014-11-14 Yao Qi <yao@codesourcery.com>
976 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
977 produce debug information.
978 * gdb.dwarf2/implptr-optimized-out.S: Removed.
980 2014-11-14 Yao Qi <yao@codesourcery.com>
982 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
983 object and get function length.
984 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
986 (top-level): Replace gdb_compile and clean_restart with
988 * gdb.dwarf2/main.c (main): Add label main_label.
990 2014-11-14 Yao Qi <yao@codesourcery.com>
992 * lib/dwarf.exp (function_range): New procedure.
993 (Dwarf::_handle_macro_at_func): New procedure.
994 (Dwarf::_handle_macro_at_range): New procedure.
995 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
997 2014-11-14 Yao Qi <yao@codesourcery.com>
999 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
1000 (_handle_attribute): New procedure.
1002 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1004 * gdb.ada/cond_lang/foo.c (callme): Add return type.
1005 * gdb.base/call-sc.c (zed): Likewise.
1006 * gdb.base/checkpoint.c (main): Likewise.
1007 * gdb.base/dump.c (main): Likewise.
1008 * gdb.base/gcore.c (main): Likewise.
1009 * gdb.base/huge.c (main): Likewise.
1010 * gdb.base/multi-forks.c (main): Likewise.
1011 * gdb.base/pr10179-a.c (main): Likewise.
1012 * gdb.base/savedregs.c (main): Likewise.
1013 * gdb.base/sigaltstack.c (main): Likewise.
1014 * gdb.base/siginfo.c (main): Likewise.
1015 * gdb.base/structs.c (zed): Likewise.
1016 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
1017 * gdb.mi/mi-syn-frame.c (main): Likewise.
1018 * gdb.mi/until.c (foo, main): Likewise.
1019 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
1020 * gdb.base/solib-weak.c (foo): Declare.
1021 * gdb.base/attach-twice.c: Include stdio.h.
1022 * gdb.base/weaklib1.c: Likewise.
1023 * gdb.base/weaklib2.c: Likewise.
1024 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
1025 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
1027 * gdb.base/attach-pie-misread.c: Include stdlib.h.
1028 * gdb.mi/mi-exit-code.c: Likewise.
1029 * gdb.base/break-interp-lib.c: Include string.h.
1030 * gdb.base/coremaker.c: Likewise.
1031 * gdb.base/testenv.c: Likewise.
1032 * gdb.python/py-finish-breakpoint.c: Likewise.
1033 * gdb.base/inferior-died.c: Include sys/wait.h.
1034 * gdb.base/fileio.c: Include time.h.
1035 * gdb.base/async-shell.c: Include unistd.h.
1036 * gdb.base/dprintf-non-stop.c: Likewise.
1037 * gdb.base/info-os.c: Likewise.
1038 * gdb.mi/mi-console.c: Likewise.
1039 * gdb.mi/watch-nonstop.c: Likewise.
1040 * gdb.python/py-events.c: Likewise.
1041 * gdb.base/async.c (baz): Move up before its invocation.
1042 * gdb.base/code_elim2.c (my_global_func): Likewise.
1043 * gdb.base/skip-solib-lib.c (multiply): Likewise.
1044 * gdb.base/advance.c (func2): Likewise.
1046 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1048 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
1050 * gdb.base/annota3.c: Likewise.
1051 * gdb.base/async.c: Likewise.
1052 * gdb.base/average.c: Likewise.
1053 * gdb.base/call-ar-st.c: Likewise.
1054 * gdb.base/call-rt-st.c: Likewise.
1055 * gdb.base/call-sc.c: Likewise.
1056 * gdb.base/call-strs.c: Likewise.
1057 * gdb.base/ending-run.c: Likewise.
1058 * gdb.base/execd-prog.c: Likewise.
1059 * gdb.base/exprs.c: Likewise.
1060 * gdb.base/foll-exec.c: Likewise.
1061 * gdb.base/foll-fork.c: Likewise.
1062 * gdb.base/foll-vfork.c: Likewise.
1063 * gdb.base/funcargs.c: Likewise.
1064 * gdb.base/gcore.c: Likewise.
1065 * gdb.base/jump.c: Likewise.
1066 * gdb.base/langs0.c: Likewise.
1067 * gdb.base/langs1.c: Likewise.
1068 * gdb.base/langs2.c: Likewise.
1069 * gdb.base/mips_pro.c: Likewise.
1070 * gdb.base/nodebug.c: Likewise.
1071 * gdb.base/opaque0.c: Likewise.
1072 * gdb.base/opaque1.c: Likewise.
1073 * gdb.base/recurse.c: Likewise.
1074 * gdb.base/run.c: Likewise.
1075 * gdb.base/scope0.c: Likewise.
1076 * gdb.base/scope1.c: Likewise.
1077 * gdb.base/setshow.c: Likewise.
1078 * gdb.base/setvar.c: Likewise.
1079 * gdb.base/shmain.c: Likewise.
1080 * gdb.base/shr1.c: Likewise.
1081 * gdb.base/shr2.c: Likewise.
1082 * gdb.base/sigall.c: Likewise.
1083 * gdb.base/signals.c: Likewise.
1084 * gdb.base/so-indr-cl.c: Likewise.
1085 * gdb.base/solib2.c: Likewise.
1086 * gdb.base/structs.c: Likewise.
1087 * gdb.base/sum.c: Likewise.
1088 * gdb.base/vforked-prog.c: Likewise.
1089 * gdb.base/watchpoint.c: Likewise.
1090 * gdb.reverse/shr2.c: Likewise.
1091 * gdb.reverse/until-reverse.c: Likewise.
1092 * gdb.reverse/ur1.c: Likewise.
1093 * gdb.reverse/watch-reverse.c: Likewise.
1095 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1097 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
1099 * gdb.base/sepdebug.exp: Drop references to removed code.
1101 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1103 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
1104 variant. Preserve original line numbering.
1105 * gdb.base/list1.c: Likewise.
1107 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1109 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
1111 * gdb.base/break1.c: Likewise.
1112 * gdb.base/break.exp: Drop references to removed code.
1114 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1116 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
1119 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1121 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
1123 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1125 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
1126 logic into perform_all_tests() and invoke it with and without
1127 function header prototypes.
1128 (do_function_calls): Remove conditional XFAIL for PR 5318.
1129 (rerun_and_prepare): Remove duplicate code.
1130 (perform_all_tests): New. Main logic moved here.
1132 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1134 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
1135 code guarded by #ifdef NO_PROTOTYPES.
1136 (t_double_many_args): Likewise.
1137 (DEF_FUNC_MANY_ARGS_1): Likewise.
1138 (DEF_FUNC_VALUES_1): Likewise.
1139 (t_structs_ldc): Renamed from t_structs_fc in conditional code
1140 guarded by #ifdef PROTOTYPES.
1142 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1144 * gdb.mi/mi-console.c: Add eye-catcher.
1145 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
1146 instead of literal line number.
1148 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1150 * gdb.base/shr2.c: Add eye-catcher.
1151 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
1154 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1156 * gdb.base/jump.c: Add eye-catchers.
1157 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
1160 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1162 * gdb.base/execd-prog.c: Add eye-catchers.
1163 * gdb.base/foll-exec.c: Likewise.
1164 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
1167 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1169 * gdb.base/ending-run.c: Add eye-catchers.
1170 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
1171 literal line numbers.
1173 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1175 * gdb.base/call-rt-st.c: Add eye-catchers.
1176 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
1177 literal line numbers.
1179 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1181 * gdb.base/call-ar-st.c: Add eye-catchers.
1182 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
1183 literal line numbers.
1185 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1187 * gdb.base/average.c: Add eye-catchers.
1188 * gdb.base/sum.c: Likewise.
1189 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
1190 regexps dynamically.
1192 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1194 * gdb.base/solib1.c: Add eye-catchers.
1195 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
1196 literal line numbers.
1198 2014-11-12 Pedro Alves <palves@redhat.com>
1200 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
1203 2014-11-12 Pedro Alves <palves@redhat.com>
1205 * gdb.arch/i386-bp_permanent.c: New file.
1206 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
1207 (srcfile): Set to i386-bp_permanent.c.
1208 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
1209 that stepi does not execute the 'leave' instruction, instead of
1210 testing it does execute.
1211 * gdb.base/bp-permanent.c: New file.
1212 * gdb.base/bp-permanent.exp: New file.
1214 2014-11-10 Doug Evans <xdje42@gmail.com>
1217 * gdb.base/symtab-search-order.exp: New file.
1218 * gdb.base/symtab-search-order.c: New file.
1219 * gdb.base/symtab-search-order-1.c: New file.
1220 * gdb.base/symtab-search-order-shlib-1.c: New file.
1222 2014-11-07 Pedro Alves <palves@redhat.com>
1225 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
1228 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
1231 * gdb.cp/pr17494.cc: New file.
1232 * gdb.cp/pr17494.exp: New file.
1234 2014-11-02 Yao Qi <yao@codesourcery.com>
1236 * gdb.python/python.exp: Get working directory and match the
1237 output of "set extended-prompt \\w " with it.
1239 2014-10-30 Doug Evans <dje@google.com>
1241 * gdb.python/py-objfile.exp: Add tests for setting random attributes
1243 * gdb.python/py-progspace.exp: Add tests for setting random attributes
1246 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
1248 * gdb.base/fullpath-expand.exp: Skip for a remote host.
1249 * gdb.base/realname-expand.exp: Likewise.
1250 * gdb.linespec/macro-relative.exp: Likewise.
1252 2014-10-29 Pedro Alves <palves@redhat.com>
1255 * gdb.threads/schedlock.c (some_function): New function.
1256 (call_function): New global.
1257 (MAYBE_CALL_SOME_FUNCTION): New macro.
1258 (thread_function): Call it.
1259 * gdb.threads/schedlock.exp (get_args): Add description parameter,
1260 and use it instead of a global counter. Adjust all callers.
1261 (get_current_thread): Use "find current thread" for test message
1262 here rather than having all callers pass down the same string.
1263 (goto_loop): New procedure, factored out from ...
1264 (my_continue): ... this.
1265 (step_ten_loops): Change parameter from test message to command to
1267 (list_count): Delete global.
1268 (check_result): New procedure, factored out from duplicate top
1270 (continue tests): Wrap in with_test_prefix.
1271 (test_step): New procedure, factored out from duplicate top level
1273 (top level): Test "step" in combination with all scheduler-locking
1274 modes. Test "next" in combination with all scheduler-locking
1275 modes, and in combination with stepping over a function call or
1277 * gdb.threads/next-bp-other-thread.c: New file.
1278 * gdb.threads/next-bp-other-thread.exp: New file.
1280 2014-10-29 Pedro Alves <palves@redhat.com>
1283 * gdb.python/python.exp: Test a multi-line command that spawns
1285 * gdb.base/multi-line-starts-subshell.exp: New file.
1287 2014-10-29 Yao Qi <yao@codesourcery.com>
1289 * gdb.base/fileio.exp: Make directories on host.
1291 2014-10-29 Yao Qi <yao@codesourcery.com>
1293 * gdb.base/fileio.c (test_write): Close the file.
1295 2014-10-28 Pedro Alves <palves@redhat.com>
1298 * gdb.base/sigstep.c (no_handler): New global.
1299 (main): If 'no_handler is true, set the signal handlers to
1301 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
1302 with_sw_watch and no_handler parameters. Handle them.
1303 (top level) <stepping over handler when stopped at a breakpoint
1304 test>: Add a test axis for testing with a software watchpoint, and
1305 another for testing with the signal handler set to SIG_IGN.
1306 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
1307 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
1309 2014-10-28 Pedro Alves <palves@redhat.com>
1312 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
1313 * gdb.base/sigstep.exp (other_handler_location): New global.
1314 (advance): Support stepping into the signal handler, and running
1315 commands while in the handler.
1316 (in_handler_map): New global.
1317 (top level): In the advance test, add combinations for getting
1318 into the handler with stepping commands, and for running commands
1319 in the handler. Add comment descripting the advancei tests.
1321 2014-10-28 Pedro Alves <palves@redhat.com>
1323 * gdb.base/sigstep.exp: Use build_executable instead of
1324 prepare_for_testing.
1325 (top level): Move code that starts GDB, runs to main and creates a
1327 (restart): ... this new procedure.
1328 (top level): Move backtrace from signal handler test to ...
1329 (validate_backtrace): ... this new procedure.
1330 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
1331 with_test_prefix. Always restart GDB.
1332 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
1333 with_test_prefix. Always restart GDB. No need to delete
1334 breakpoints after the test.
1335 (test_skip_handler): Remove prefix parameter.
1336 (skip_over_handler, breakpoint_to_handler)
1337 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
1338 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
1339 restart GDB. No need to delete breakpoints after the test.
1340 (top level): Use foreach to call the test procedures with
1343 2014-10-28 Pedro Alves <palves@redhat.com>
1345 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
1346 instead of GNATS numbers.
1347 * gdb.base/sigbpt.exp: Likewise.
1348 * gdb.base/siginfo.exp: Likewise.
1349 * gdb.base/sigstep.exp: Likewise.
1351 2014-10-27 Pedro Alves <palves@redhat.com>
1353 * gdb.base/sigstep.c (dummy): New global.
1354 (main): Issue a couple writes to the new global.
1355 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
1357 (skip_over_handler): Use test_skip_handler.
1358 (top level): Call skip_over_handler for stepi and nexti too.
1359 (breakpoint_over_handler): Use test_skip_handler.
1360 (top level): Call breakpoint_over_handler for stepi and nexti too.
1362 2014-10-27 Yao Qi <yao@codesourcery.com>
1364 * gdb.trace/tfile.c (adjust_function_address)
1365 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
1366 function descriptor.
1368 2014-10-24 Don Breazeal <donb@codesourcery.com>
1370 * gdb.base/foll-fork.exp (test_follow_fork,
1371 catch_fork_child_follow): Check for updated fork messages emitted
1373 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
1374 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
1375 vfork_and_exec_child_follow_through_step): Check for updated vfork
1376 messages emitted from infrun.c.
1378 2014-10-24 Pedro Alves <palves@redhat.com>
1380 * gdb.base/corefile.exp: Remove references to ultrix.
1381 * gdb.base/interrupt.exp: Likewise.
1382 * gdb.base/whatis.exp: Likewise.
1383 * gdb.gdb/selftest.exp: Likewise.
1384 * gdb.threads/manythreads.exp: Likewise.
1385 * gdb.threads/print-threads.exp: Likewise.
1386 * gdb.threads/pthreads.exp:: Likewise.
1387 * gdb.threads/schedlock.exp: Likewise.
1389 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
1391 * gdb.cp/non-trivial-retval.cc: Add a test case.
1392 * gdb.cp/non-trivial-retval.exp: Add a test.
1394 2014-10-20 Yao Qi <yao@codesourcery.com>
1396 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
1397 * gdb.python/py-objfile-script-gdb.py: New file.
1398 * gdb.python/py-objfile-script.exp: Update reference to
1399 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
1400 of remote_download. Remove the dest file.
1402 2014-10-20 Yao Qi <yao@codesourcery.com>
1404 * gdb.base/checkpoint.exp: Don't remove file copied on host.
1405 * gdb.base/step-line.exp: Likewise.
1406 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1407 * gdb.dwarf2/dw2-basic.exp: Likewise.
1408 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1409 * gdb.dwarf2/dw2-filename.exp: Likewise.
1410 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1411 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1412 * gdb.dwarf2/dw2-producer.exp: Likewise.
1413 * gdb.dwarf2/mac-fileno.exp: Likewise.
1414 * gdb.python/py-frame-args.exp: Likewise.
1415 * gdb.python/py-framefilter.exp: Likewise.
1416 * gdb.python/py-mi.exp: Likewise.
1417 * gdb.python/py-objfile-script.exp: Likewise
1418 * gdb.python/py-pp-integral.exp: Likewise.
1419 * gdb.python/py-pp-re-notag.exp: Likewise.
1420 * gdb.python/py-prettyprint.exp: Likewise.
1421 * gdb.python/py-section-script.exp: Likewise.
1422 * gdb.python/py-typeprint.exp: Likewise.
1423 * gdb.python/py-xmethods.exp: Likewise.
1424 * gdb.stabs/weird.exp: Likewise.
1425 * gdb.xml/tdesc-regs.exp: Likewise.
1427 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
1429 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
1430 (out_cu): Use addr_len for the size of addresses.
1431 (out_line): Likewise. Size DW_LNE_set_address instruction
1432 according to addr_len.
1433 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
1434 (FUNC): Add START_INSNS to definition.
1436 2014-10-18 Yao Qi <yao@codesourcery.com>
1438 * gdb.base/argv0-symlink.exp: Check argv[0] value if
1439 gdb_has_argv0 return true.
1440 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
1441 check [target_info exists noargs], check [gdb_has_argv0]
1443 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1444 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
1447 2014-10-17 Doug Evans <dje@google.com>
1449 * gdb.python/py-events.exp: Update expected output for clear_objfiles
1451 * gdb.python/py-events.py: Add clear_objfiles event.
1453 2014-10-17 Doug Evans <dje@google.com>
1455 * gdb.python/py-objfile.exp: Test progspace attribute.
1457 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
1459 * gdb.guile/scm-breakpoint.exp: Do not assume any
1460 directory separators when matching source file paths.
1461 * gdb.python/py-breakpoint.exp: Likewise.
1462 * gdb.reverse/break-precsave.exp: Likewise.
1463 * gdb.reverse/break-reverse.exp: Likewise.
1464 * gdb.reverse/consecutive-precsave.exp: Likewise.
1465 * gdb.reverse/finish-precsave.exp: Likewise.
1466 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
1467 * gdb.reverse/finish-reverse.exp: Likewise.
1468 * gdb.reverse/i386-precsave.exp: Likewise.
1469 * gdb.reverse/i387-env-reverse.exp: Likewise.
1470 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1471 * gdb.reverse/machinestate-precsave.exp: Likewise.
1472 * gdb.reverse/machinestate.exp: Likewise.
1473 * gdb.reverse/sigall-precsave.exp: Likewise.
1474 * gdb.reverse/solib-precsave.exp: Likewise.
1475 * gdb.reverse/step-precsave.exp: Likewise.
1476 * gdb.reverse/until-precsave.exp: Likewise.
1477 * gdb.reverse/watch-precsave.exp: Likewise.
1478 * gdb.reverse/watch-reverse.exp: Likewise.
1480 2014-10-17 Yao Qi <yao@codesourcery.com>
1482 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
1483 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
1485 2014-10-17 Pedro Alves <palves@redhat.com>
1488 * gdb.base/bg-execution-repeat.c: New file.
1489 * gdb.base/bg-execution-repeat.exp: New file.
1491 2014-10-17 Pedro Alves <palves@redhat.com>
1494 * gdb.base/continue-all-already-running.c: New file.
1495 * gdb.base/continue-all-already-running.exp: New file.
1497 2014-10-17 Pedro Alves <palves@redhat.com>
1500 * gdb.base/annota-input-while-running.c: New file.
1501 * gdb.base/annota-input-while-running.exp: New file.
1503 2014-10-17 Pedro Alves <palves@redhat.com>
1505 * gdb.base/callfuncs.exp: emove references to osf.
1506 * gdb.base/sigall.exp: Likewise.
1507 * gdb.gdb/selftest.exp: Likewise.
1508 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1509 * gdb.mi/non-stop.c: Likewise.
1510 * gdb.mi/pthreads.c: Likewise.
1511 * gdb.reverse/sigall-precsave.exp: Likewise.
1512 * gdb.reverse/sigall-reverse.exp: Likewise.
1513 * gdb.threads/pthreads.c: Likewise.
1514 * gdb.threads/pthreads.exp: Likewise.
1516 2014-10-17 Yao Qi <yao@codesourcery.com>
1518 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
1519 check 'target_info exists noargs'.
1520 (test_command_prompt_position): Likewise.
1521 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
1523 (progvar_simple_while_test): Likewise.
1524 (progvar_complex_if_while_test): Likewise.
1525 (if_while_breakpoint_command_test): Likewise.
1526 (infrun_breakpoint_command_test): Likewise.
1527 (breakpoint_command_test): Likewise.
1528 (watchpoint_command_test): Likewise.
1529 (bp_deleted_in_command_test): Likewise.
1530 (temporary_breakpoint_commands): Likewise.
1532 2014-10-16 Yao Qi <yao@codesourcery.com>
1534 * gdb.base/remotetimeout.exp: Remove noargs checking.
1536 2014-10-15 Pedro Alves <palves@redhat.com>
1539 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
1540 * gdb.base/breakpoint-in-ro-region.exp
1541 (probe_target_hardware_step): New procedure.
1542 (top level): Probe hardware stepping and hardware breakpoint
1543 support. Test stepping through a read-only region, with both
1544 "breakpoint auto-hw" on and off and both "always-inserted" on and
1547 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
1549 * gdb.dlang/demangle.exp: Update for demangling changes.
1551 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1553 * gdb.cp/non-trivial-retval.cc: Add new test cases.
1554 * gdb.cp/non-trivial-retval.exp: Add new tests.
1556 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1560 * gdb.cp/non-trivial-retval.cc: New file.
1561 * gdb.cp/non-trivial-retval.exp: New file.
1563 2014-10-15 Yao Qi <yao@codesourcery.com>
1565 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
1568 2014-10-15 Yao Qi <yao@codesourcery.com>
1570 * gdb.python/py-symbol.exp: Match file base name if host is
1571 remote, otherwise match file name with dir name.
1572 * gdb.python/py-symtab.exp: Likewise.
1573 * gdb.python/python.exp: Likewise.
1575 2014-10-15 Yao Qi <yao@codesourcery.com>
1577 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
1579 * gdb.python/py-symtab.exp: Likewise.
1580 * gdb.python/python.exp: Remove trailing ".*". Fix typo
1583 2014-10-14 Joel Brobecker <brobecker@adacore.com>
1585 * gdb.ada/addr_arith: New testcase.
1587 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
1589 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
1590 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
1591 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
1592 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
1594 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
1596 * gdb.arch/stap-eval-lang-ada.S: Likewise.
1597 * gdb.arch/stap-eval-lang-ada.c: Likewise.
1598 * gdb.arch/stap-eval-lang-ada.exp: New file.
1600 2014-10-14 Yao Qi <yao@codesourcery.com>
1602 * gdb.mi/mi-var-child.c (nothing1): New function.
1603 (nothing2): New function.
1604 (do_children_tests): Set function pointers by nothing1 and
1606 * gdb.mi/mi-var-child.exp: Step over new added statements.
1607 Update test to match the new output.
1608 * gdb.mi/var-cmd.c (nothing1): New function.
1609 (nothing2): New function.
1610 (do_children_tests): Set function pointers by nothing1 and
1612 * gdb.mi/mi-var-display.exp: Update test to match output.
1613 Step to the line specified by $line_dct_nothing.
1614 Increase the number of lines to step.
1616 2014-10-14 Yao Qi <yao@codesourcery.com>
1618 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
1620 * gdb.mi/mi2-var-child.exp: Likewise.
1622 2014-10-13 Doug Evans <dje@google.com>
1624 * gdb.python/py-objfile.exp: Change name of file name test.
1626 2014-10-13 Doug Evans <dje@google.com>
1628 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
1629 from the start of the CU.
1631 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1632 Yao Qi <yao@codesourcery.com>
1634 Fix "save breakpoints" for "catch" command.
1635 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
1636 Remove -nonewline. Match also the added "main" line.
1638 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1640 Fix "save breakpoints" for "disable $bpnum" command.
1641 * gdb.base/save-bp.c (main): Add label.
1642 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
1644 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1646 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
1648 2014-10-11 Yao Qi <yao@codesourcery.com>
1650 * gdb.server/server-kill.exp: Execute command
1651 "set remote trace-status-packet on" before "tstatus".
1653 2014-10-11 Yao Qi <yao@codesourcery.com>
1655 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
1656 (main): Call getppid.
1657 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
1658 and continue to it. Read variable "server_pid".
1660 2014-10-11 Yao Qi <yao@codesourcery.com>
1662 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
1664 2014-10-11 Yao Qi <yao@codesourcery.com>
1666 * gdb.threads/thread-find.exp: Don't execute command
1668 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
1669 * gdb.threads/linux-dp.exp: Don't check the condition
1670 $threads_created equals to zero.
1672 2014-10-10 Pedro Alves <palves@redhat.com>
1674 * gdb.base/bigcore.exp: Remove references to IRIX.
1675 * gdb.base/funcargs.exp: Likewise.
1676 * gdb.base/interrupt.exp: Likewise.
1677 * gdb.base/mips_pro.exp: Likewise.
1678 * gdb.base/nodebug.exp: Likewise.
1679 * gdb.base/setvar.exp: Likewise.
1680 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
1682 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1683 Pedro Alves <palves@redhat.com>
1686 * gdb.base/vdso-warning.c: New file.
1687 * gdb.base/vdso-warning.exp: New file.
1689 2014-10-02 Doug Evans <dje@google.com>
1691 * gdb.base/structs.c (main): Don't run forever.
1693 2014-10-02 Pedro Alves <palves@redhat.com>
1695 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
1696 (top level) <stop threads 1, stop threads 2>: Use it.
1698 2014-10-02 Pedro Alves <palves@redhat.com>
1700 * gdb.threads/break-while-running.exp (test): Add new
1701 'update_thread_list' argument. Skip "info threads" if false.
1702 (top level): Add new 'update_thread_list' axis.
1704 2014-10-02 Pedro Alves <palves@redhat.com>
1706 PR breakpoints/17431
1707 * gdb.base/execl-update-breakpoints.c: New file.
1708 * gdb.base/execl-update-breakpoints.exp: New file.
1710 2014-10-01 Pedro Alves <palves@redhat.com>
1712 * gdb.base/breakpoint-in-ro-region.c: New file.
1713 * gdb.base/breakpoint-in-ro-region.exp: New file.
1715 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
1717 * gdb.mi/mi-exit-code.exp: New file.
1718 * gdb.mi/mi-exit-code.c: New file.
1720 2014-09-30 Yao Qi <yao@codesourcery.com>
1722 * lib/prelink-support.exp (build_executable_own_libs): Error if
1723 the target isn't native.
1725 2014-09-30 Yao Qi <yao@codesourcery.com>
1727 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
1730 2014-09-22 Pedro Alves <palves@redhat.com>
1732 * gdb.threads/break-while-running.exp: New file.
1733 * gdb.threads/break-while-running.c: New file.
1735 2014-09-19 Yao Qi <yao@codesourcery.com>
1737 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
1738 Invoke test. Restart GDB with --readnow and invoke test again.
1740 2014-09-19 Yao Qi <yao@codesourcery.com>
1742 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
1743 proc set_breakpoint_on_gcd_function. Invoke
1744 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
1745 invoke set_breakpoint_on_gcd_function again.
1747 2014-09-18 Doug Evans <dje@google.com>
1749 * gdb.dwarf2/symtab-producer.exp: New file.
1751 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1753 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
1754 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
1755 * gdb.base/global-var-nested-by-dso.c: Likewise.
1756 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1758 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1759 Pedro Alves <palves@redhat.com>
1761 * gdb.base/watch-bitfields.exp: Pass string other than test file
1762 name to prepare_for_testing.
1763 (watch): New procedure.
1764 (expect_watchpoint): Use with_test_prefix.
1765 (top level): Factor out tests to ...
1766 (test_watch_location, test_regular_watch): ... these new
1767 procedures, and use with_test_prefix and gdb_continue_to_end.
1769 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
1771 PR breakpoints/12526
1772 * gdb.base/watch-bitfields.exp: New file.
1773 * gdb.base/watch-bitfields.c: New file.
1775 2014-09-16 Pedro Alves <palves@redhat.com>
1777 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
1778 software and hardware addresses, not software address against
1781 2014-09-16 Pedro Alves <palves@redhat.com>
1783 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
1784 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
1786 2014-09-16 Pedro Alves <palves@redhat.com>
1788 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
1790 * gdb.base/a2-run.exp: Remove all code guarded by istarget
1791 "*-*-vxworks*" throughout.
1792 * gdb.base/break.exp: Likewise.
1793 * gdb.base/default.exp: Likewise.
1794 * gdb.base/scope.exp: Likewise.
1795 * gdb.base/sepdebug.exp: Likewise.
1796 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
1798 * gdb.base/run.c: Likewise.
1799 * gdb.base/sepdebug.c: Likewise.
1800 * gdb.hp/gdb.aCC/run.c: Likewise.
1801 * gdb.reverse/until-reverse.c: Likewise.
1802 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
1804 2014-09-16 Yao Qi <yao@codesourcery.com>
1806 * boards/local-remote-host-native.exp: New file.
1808 2014-09-14 Doug Evans <xdje42@gmail.com>
1810 * gdb.threads/queue-signal.c (thread_count): New variable.
1811 (thread_count_mutex, thread_count_condvar): New variables.
1812 (incr_thread_count, wait_all_threads_running): New functions.
1813 (main): Wait for all threads to be in their thread functions.
1815 2014-09-13 Doug Evans <xdje42@gmail.com>
1817 * gdb.threads/queue-signal.c: New file.
1818 * gdb.threads/queue-signal.exp: New file.
1820 2014-09-13 Doug Evans <xdje42@gmail.com>
1822 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
1823 be consistent with what default_gdb_init uses.
1824 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
1825 the plain text of the prompt. Add some logging printfs.
1826 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
1828 2014-09-12 Pedro Alves <palves@redhat.com>
1830 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
1831 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
1832 * gdb.arch/i386-size-overlap.exp: Likewise.
1833 * gdb.arch/i386-size.exp: Likewise.
1834 * gdb.arch/i386-unwind.exp: Likewise.
1835 * gdb.base/a2-run.exp: Likewise.
1836 * gdb.base/break.exp: Likewise.
1837 * gdb.base/charset.exp: Likewise.
1838 * gdb.base/chng-syms.exp: Likewise.
1839 * gdb.base/commands.exp: Likewise.
1840 * gdb.base/dbx.exp: Likewise.
1841 * gdb.base/find.exp: Likewise.
1842 * gdb.base/funcargs.exp: Likewise.
1843 * gdb.base/jit-simple.exp: Likewise.
1844 * gdb.base/reread.exp: Likewise.
1845 * gdb.base/sepdebug.exp: Likewise.
1846 * gdb.base/step-bt.exp: Likewise.
1847 * gdb.cp/mb-inline.exp: Likewise.
1848 * gdb.cp/mb-templates.exp: Likewise.
1849 * gdb.objc/basicclass.exp: Likewise.
1850 * gdb.threads/killed.exp: Likewise.
1852 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1855 * gdb.arch/powerpc-stackless.S: New file.
1856 * gdb.arch/powerpc-stackless.exp: New file.
1858 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1860 * gdb.base/attach.c: Include unistd.h.
1861 (main): Call alarm. Add label postloop.
1862 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
1863 gdb_breakpoint, gdb_continue_to_breakpoint.
1864 (test_command_line_attach_run): Kill ${testpid} in one exit path.
1866 2014-09-11 Pedro Alves <palves@redhat.com>
1869 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
1870 * gdb.base/attach.exp (test_command_line_attach_run): New
1872 (top level): Call it.
1874 2014-09-11 Pedro Alves <palves@redhat.com>
1876 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
1877 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
1878 (do_command_attach_tests): Use spawn_wait_for_attach.
1879 * gdb.base/solib-overlap.exp: Likewise.
1880 * gdb.multi/multi-attach.exp: Likewise.
1881 * gdb.python/py-prompt.exp: Likewise.
1882 * gdb.python/py-sync-interp.exp: Likewise.
1883 * gdb.server/ext-attach.exp: Likewise.
1885 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
1887 * gdb.fortran/array-element.exp: Remove unexpected "continue"
1888 command in testcase. Simplify testcase.
1890 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1892 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
1894 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1896 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
1898 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1900 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
1902 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1904 * gdb.dwarf2/dynarr-ptr.c: New file.
1905 * gdb.dwarf2/dynarr-ptr.exp: New file.
1907 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1909 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
1910 of 30 rather than hardcoding 120 for a slow test case. Take the
1911 `gdb,timeout' target setting into account for this calculation.
1912 Don't extend the timeout for the test cases that don't need it.
1914 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1916 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
1917 a factor of 2 for a slow test case. Take the `gdb,timeout'
1918 target setting into account for this calculation.
1919 * gdb.reverse/until-precsave.exp: Increase the timeout by
1920 a factor of 15 and 3 respectively rather than adding 120
1921 for a pair of slow test cases. Take the `gdb,timeout'
1922 target setting into account for this calculation.
1924 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1926 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
1927 timeout, don't pass one down to gdb_expect.
1928 (gdb_expect): Rework timeout selection.
1930 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1932 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
1933 exception on timeout.
1934 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
1935 (gdbserver_start_extended): Catch any `gdbserver_start' error
1937 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
1938 * lib/mi-support.exp (mi_gdb_target_load): Catch any
1939 `gdbserver_gdb_load' error exceptions.
1941 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1943 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
1944 120 on waiting for the TCP socket to open.
1946 2014-09-09 Doug Evans <xdje42@gmail.com>
1948 * gdb.base/default.exp (show_conv_list): Add _caller_is,
1949 _caller_matches, _any_caller_is, _any_caller_matches.
1951 2014-09-09 Doug Evans <xdje42@gmail.com>
1953 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
1955 2014-09-09 Yao Qi <yao@codesourcery.com>
1957 * gdb.mi/mi-var-display.exp: Set print symbol off.
1959 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
1962 * gdb.base/commands.exp: Add tests to verify user-defined
1963 commands with empty bodies.
1964 * gdb.python/py-cmd.exp: Test that we don't show user-defined
1965 python commands in `show user command`.
1966 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
1967 scheme commands in `show user command`.
1969 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1972 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
1973 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
1974 * gdb.python/py-framefilter-invalidarg.exp: New file.
1975 * gdb.python/py-framefilter-invalidarg.py: New file.
1977 2014-09-06 Doug Evans <xdje42@gmail.com>
1980 * gdb.python/py-caller-is.c: New file.
1981 * gdb.python/py-caller-is.exp: New file.
1983 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
1986 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
1987 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
1989 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
1992 * gdb.fortran/print-formatted.exp: New file.
1993 * gdb.fortran/print-formatted.f90: Likewise.
1995 2014-09-03 Sasha Smundak <asmundak@google.com>
1997 * gdb.python/py-frame.exp: Test Frame.read_register.
1999 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2002 * gdb.python/py-completion.exp: New file.
2003 * gdb.python/py-completion.py: Likewise.
2005 2014-08-28 Doug Evans <dje@google.com>
2007 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
2008 eax,etc. are live with values set by gdb and thus the compiler can't
2010 * gdb.arch/i386-pseudo.c (main): Ditto.
2012 2014-08-27 Doug Evans <dje@google.com>
2014 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
2016 2014-08-25 Doug Evans <dje@google.com>
2018 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
2021 2014-08-25 Doug Evans <dje@google.com>
2023 * gdb.threads/thread-execl.exp: #include <stdio.h>.
2025 2014-08-24 Yao Qi <yao@codesourcery.com>
2027 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
2029 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
2031 2014-08-22 Doug Evans <dje@google.com>
2034 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
2035 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
2036 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
2038 2014-08-22 Yao Qi <yao@codesourcery.com>
2040 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
2041 * gdb.python/py-finish-breakpoint2.exp: Likewise.
2042 * gdb.python/python.exp: Likewise. Use .py file on the host
2043 instead of the build.
2045 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2047 * gdb.threads/gcore-stale-thread.c: New file.
2048 * gdb.threads/gcore-stale-thread.exp: New file.
2050 2014-08-21 Pedro Alves <palves@redhat.com>
2052 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
2053 * gdb.base/gcore-relro-pie.exp: Likewise.
2054 * gdb.base/gcore-relro.exp: Likewise.
2055 * gdb.base/gcore.exp: Likewise.
2056 * gdb.base/print-symbol-loading.exp: Likewise.
2057 * gdb.threads/gcore-thread.exp: Likewise.
2058 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
2060 2014-08-20 Pedro Alves <palves@redhat.com>
2061 Jan Kratochvil <jan.kratochvil@redhat.com>
2063 * Makefile.in (EXTRA_RULES, CC): New variables, get from
2065 (EXPECT): Handle READ1 being set.
2066 (all): Depend on EXTRA_RULES.
2067 (check-read1, expect-read1, read1.so, read1): New rules.
2068 * README (Testsuite Parameters): Document the READ1 make variable.
2069 (Race detection): New section.
2070 * configure: Regenerate.
2071 * configure.ac: If build==host==target, and running under a
2072 GNU/glibc system, add read1 to the extra Makefile rules.
2073 (EXTRA_RULES): AC_SUBST it.
2074 * lib/read1.c: New file.
2076 2014-08-20 Joel Brobecker <brobecker@adacore.com>
2078 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
2079 the handling of variables declared as a typedef to an array
2080 which a DW_AT_data_location attribute.
2082 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
2083 Pedro Alves <palves@redhat.com>
2087 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
2090 2014-08-19 Pedro Alves <palves@redhat.com>
2092 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
2094 2014-08-19 Yao Qi <yao@codesourcery.com>
2096 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
2099 2014-08-18 David Blaikie <dblaikie@gmail.com>
2101 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
2103 2014-08-18 Joel Brobecker <brobecker@adacore.com>
2105 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
2106 attribute in array range.
2108 2014-08-18 Joel Brobecker <brobecker@adacore.com>
2110 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
2112 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2115 * gdb.cp/pr17132.cc: New file.
2116 * gdb.cp/pr17132.exp: New file.
2118 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2120 * gdb.python/py-xmethods.py (A_getarrayind)
2121 (E_method_char_worker.__call__, E_method_int_worker.__call__):
2122 Use 'print' with function call syntax.
2123 (E_method_matcher.match): Fix tab vs space indentation mixup.
2125 2014-08-15 Yao Qi <yao@codesourcery.com>
2127 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
2130 2014-08-15 Yao Qi <yao@codesourcery.com>
2132 * gdb.cp/casts.exp: Set print symbol off.
2133 * gdb.cp/class2.exp: Likewise.
2134 * gdb.cp/overload.exp: Likewise.
2135 * gdb.cp/templates.exp: Likewise.
2137 2014-08-11 Doug Evans <dje@google.com>
2139 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2140 (test_load_shlib): Update.
2142 2014-08-09 Yao Qi <yao@codesourcery.com>
2144 * gdb.base/display.exp: Invoke is_address_zero_readable.
2145 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
2146 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2147 * gdb.base/hbreak-unmapped.exp: Return if
2148 is_address_zero_readable returns true.
2149 * gdb.base/signest.exp: Likewise.
2150 * gdb.base/signull.exp: Likewise.
2151 * gdb.base/sigbpt.exp: Likewise.
2152 * gdb.guile/scm-disasm.exp: Do the test if
2153 is_address_zero_readable returns false.
2154 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
2155 * gdb.python/py-arch.exp: Likewise.
2156 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
2157 * lib/gdb.exp (is_address_zero_readable): New proc.
2159 2014-08-09 Yao Qi <yao@codesourcery.com>
2162 * gdb.mi/mi-var-display.exp: Make test messages unique.
2164 2014-08-04 Tom Tromey <tromey@redhat.com>
2166 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
2169 2014-08-04 Tom Tromey <tromey@redhat.com>
2171 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
2174 2014-08-01 Joel Brobecker <brobecker@adacore.com>
2176 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
2177 inner_vla_struct_object_size.
2178 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
2181 2014-07-30 Pedro Alves <palves@redhat.com>
2183 * gdb.threads/signal-command-handle-nopass.exp (test): Add
2186 2014-07-29 Yao Qi <yao@codesourcery.com>
2189 * gdb.base/until-nodebug.exp: New.
2191 2014-07-28 Doug Evans <xdje42@gmail.com>
2194 * gdb.guile/scm-parameter.exp: Add tests for trying to create
2195 previously existing parameter, and previously ambiguously spelled
2198 2014-07-28 Will Newton <will.newton@linaro.org>
2200 * gdb.base/varargs.exp: Remove KFAILs for ARM.
2202 2014-07-26 Ludovic Courtès <ludo@gnu.org>
2203 Doug Evans <xdje42@gmail.com>
2206 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
2208 2014-07-25 Pedro Alves <palves@redhat.com>
2210 * gdb.threads/signal-command-handle-nopass.c: New file.
2211 * gdb.threads/signal-command-handle-nopass.exp: New file.
2212 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
2213 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
2214 * gdb.threads/signal-delivered-right-thread.c: New file.
2215 * gdb.threads/signal-delivered-right-thread.exp: New file.
2217 2014-07-25 Pedro Alves <palves@redhat.com>
2219 * gdb.base/double-prompt-target-event-error.exp
2220 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
2222 (cancel_pagination_in_target_event): Rework double prompt
2224 * gdb.base/paginate-after-ctrl-c-running.exp
2225 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
2227 * gdb.base/paginate-bg-execution.exp
2228 (test_bg_execution_pagination_return)
2229 (test_bg_execution_pagination_cancel): Remove '-notransfer
2231 * gdb.base/paginate-execution-startup.exp
2232 (test_fg_execution_pagination_return)
2233 (test_fg_execution_pagination_cancel): Remove '-notransfer
2235 * gdb.base/paginate-inferior-exit.exp
2236 (test_paginate_inferior_exited): Remove '-notransfer <return>'
2238 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
2239 * lib/gdb.exp (pagination_prompt): Run text through
2241 (gdb_test_multiple): Match $pagination_prompt instead of
2243 (string_to_regexp): Move to lib/gdb-utils.exp.
2245 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2247 * gdb.arch/amd64-entry-value-paramref.S: New file.
2248 * gdb.arch/amd64-entry-value-paramref.cc: New file.
2249 * gdb.arch/amd64-entry-value-paramref.exp: New file.
2250 * gdb.arch/amd64-optimout-repeat.S: New file.
2251 * gdb.arch/amd64-optimout-repeat.c: New file.
2252 * gdb.arch/amd64-optimout-repeat.exp: New file.
2254 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2257 * gdb.base/statistics.exp: New file.
2259 2014-07-17 Doug Evans <dje@google.com>
2262 * gdb.base/maint.exp: Update testing of per-command stats.
2264 2014-07-16 Pedro Alves <palves@redhat.com>
2266 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
2267 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
2268 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
2269 (tfile_write_buf): New functions.
2270 (add_memory_block): Rewrite using the above.
2271 (adjust_function_address): New function.
2272 (FUNCTION_ADDRESS): New macro.
2273 (write_basic_trace_file): Remove short_x local, and use
2274 tfile_write_16. Change type of func_addr local to unsigned long
2275 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
2276 here. Cast argument of add_memory_block to char pointer.
2277 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
2278 (main): Remove parameters.
2279 * gdb.trace/tfile.exp: Remove nowarnings.
2281 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
2283 * gdb.base/debug-expr.exp: Test string evaluation with
2284 "debug expression" on.
2286 2014-07-15 Pedro Alves <palves@redhat.com>
2288 * gdb.base/reread.exp: Use clean_restart.
2290 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
2292 * gdb.arch/avr-flash-qualifer.c: New.
2293 * gdb.arch/avr-flash-qualifer.exp: New.
2295 2014-07-14 Pedro Alves <palves@redhat.com>
2297 * gdb.base/paginate-after-ctrl-c-running.c: New file.
2298 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
2300 2014-07-14 Pedro Alves <palves@redhat.com>
2302 * gdb.base/double-prompt-target-event-error.c: New file.
2303 * gdb.base/double-prompt-target-event-error.exp: New file.
2305 2014-07-14 Pedro Alves <palves@redhat.com>
2308 * gdb.base/paginate-inferior-exit.c: New file.
2309 * gdb.base/paginate-inferior-exit.exp: New file.
2311 2014-07-14 Pedro Alves <palves@redhat.com>
2314 * gdb.base/paginate-bg-execution.c: New file.
2315 * gdb.base/paginate-bg-execution.exp: New file.
2317 2014-07-14 Pedro Alves <palves@redhat.com>
2320 * gdb.base/paginate-execution-startup.c: New file.
2321 * gdb.base/paginate-execution-startup.exp: New file.
2322 * lib/gdb.exp (pagination_prompt): New global.
2323 (default_gdb_spawn): New procedure, factored out from
2325 (default_gdb_start): Adjust to call default_gdb_spawn.
2326 (gdb_spawn): New procedure.
2328 2014-07-14 Pedro Alves <palves@redhat.com>
2330 * lib/gdb.exp (gdb_assert): New procedure.
2331 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
2333 2014-07-14 Pedro Alves <palves@redhat.com>
2335 * gdb.base/execution-termios.c: New file.
2336 * gdb.base/execution-termios.exp: New file.
2338 2014-07-14 Tom Tromey <tromey@redhat.com>
2340 * gdb.cp/vla-cxx.cc: New file.
2341 * gdb.cp/vla-cxx.exp: New file.
2343 2014-07-14 Tom Tromey <tromey@redhat.com>
2345 * gdb.reverse/rerun-prec.c: New file.
2346 * gdb.reverse/rerun-prec.exp: New file.
2348 2014-07-12 Maciej W. Rozycki <macro@mips.com>
2349 Maciej W. Rozycki <macro@codesourcery.com>
2351 * lib/gdb-utils.exp: New file.
2352 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
2353 inline `gdb_init_command' processing.
2354 (gdb_start_cmd): Likewise.
2355 * lib/mi-support.exp (mi_run_cmd): Likewise.
2356 * README: Document `gdb_init_command' and `gdb_init_commands'.
2358 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2360 Fix false FAIL running under a very long directory name.
2361 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
2362 and "set print elements 10000". Twice.
2364 2014-07-11 Yao Qi <yao@codesourcery.com>
2366 * gdb.base/exprs.exp: "set print symbol off".
2368 2014-07-11 Pedro Alves <palves@redhat.com>
2370 * gdb.threads/kill.c: New file.
2371 * gdb.threads/kill.exp: New file.
2373 2014-07-10 Yao Qi <yao@codesourcery.com>
2375 * gdb.trace/tfile.c (write_basic_trace_file)
2376 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
2377 address written to trace file.
2379 2014-07-09 Pedro Alves <palves@redhat.com>
2381 * gdb.base/attach-wait-input.exp: New file.
2382 * gdb.base/attach-wait-input.c: New file.
2384 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2386 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
2387 setting up test structures.
2388 (main): Call new test function.
2389 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
2390 test function, continue into test function and walk test
2393 2014-07-02 Yao Qi <yao@codesourcery.com>
2395 * gdb.trace/entry-values.c: Define labels 'foo_start' and
2396 'bar_start' at the beginning of functions 'foo' and 'bar'
2398 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
2399 instead of 'foo' and 'bar'.
2401 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
2403 * gdb.btrace/segv.exp: New.
2404 * gdb.btrace/segv.c: New.
2406 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
2408 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
2411 2014-06-30 Mark Wielaard <mjw@redhat.com>
2413 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
2414 vulture, vilify, villar): New volatile array constants.
2415 (vindictive, vegetation): New const volatile array constants.
2416 * gdb.base/volatile.exp: Test volatile and const volatile array
2419 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2421 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
2422 target lacks support for awatch, rwatch, or hbreak.
2424 2014-06-27 Yao Qi <yao@codesourcery.com>
2426 * gdb.multi/dummy-frame-restore.exp: New.
2427 * gdb.multi/dummy-frame-restore.c: New.
2429 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2431 * gdb.btrace/gcore.exp: New.
2433 2014-06-23 Pedro Alves <palves@redhat.com>
2435 * gdb.base/watchpoint-reuse-slot.c: New file.
2436 * gdb.base/watchpoint-reuse-slot.exp: New file.
2438 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
2440 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
2441 progspace's filename in 'info', 'enable' and 'disable' command
2444 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2446 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
2447 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2448 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
2450 2014-06-20 Gary Benson <gbenson@redhat.com>
2452 * gdb.arch/i386-avx.exp: Fix include file location.
2453 * gdb.arch/i386-sse.exp: Likewise.
2455 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
2457 * gdb.dlang/expression.exp: New file.
2459 2014-06-19 Pedro Alves <palves@redhat.com>
2461 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
2463 (top level): ... here. Iterate running tests under different
2464 scheduler-locking settings.
2466 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
2468 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
2469 to DW_FORM_addr and use non-zero addresses.
2471 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
2474 * gdb.python/py-xmethods.cc: Add global function call counters and
2475 increment them in their respective functions. Remove "cout"
2477 * gdb.python/py-xmethods.exp: Make tests check the global function
2478 call counters instead of depending on inferior IO.
2480 2014-06-18 Don Breazeal <donb@codesourcery.com>
2482 * gdb.base/foll-fork.exp (default_fork_parent_follow):
2484 (explicit_fork_parent_follow): Deleted procedure.
2485 (explicit_fork_child_follow): Deleted procedure.
2486 (test_follow_fork): New procedure.
2487 (do_fork_tests): Replace calls to deleted procedures with
2488 calls to test_follow_fork and reset GDB for subsequent
2491 2014-06-17 Yao Qi <yao@codesourcery.com>
2493 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
2496 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
2498 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
2499 Initialize ptr and S explicitly.
2500 (skip_type_update_when_not_use_rtti_test): Likewise.
2502 2014-06-16 Keith Seitz <keiths@redhat.com>
2505 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
2506 the inferior is started.
2508 2014-06-16 Pedro Alves <palves@redhat.com>
2510 * gdb.base/break-main-file-remove-fail.c: New file.
2511 * gdb.base/break-main-file-remove-fail.exp: New file.
2512 * gdb.base/break-unload-file.exp: Use build_executable instead of
2513 prepare_for_testing.
2514 (test_break): New parameter "initial_load". Handle it.
2515 (top level): Add initial_load cmdline/file axis.
2517 2014-06-12 Tom Tromey <tromey@redhat.com>
2519 * gdb.base/completion.exp: Don't use directory name in test.
2521 2014-06-09 Gary Benson <gbenson@redhat.com>
2523 * gdb.base/sigall.c [Functions to send signals]: Reorder to
2524 separate the always-available ANSI-standard signals from the
2525 signals that require checking.
2527 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
2531 2014-06-07 Keith Seitz <keiths@redhat.com>
2535 * gdb.cp/var-tag.cc: New file.
2536 * gdb.cp/var-tag.exp: New file.
2537 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2538 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2539 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2540 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2542 2014-06-06 Doug Evans <xdje42@gmail.com>
2544 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
2546 2014-06-06 Pedro Alves <palves@redhat.com>
2548 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
2549 in target debug output instead of looking at RSP packets,
2550 disabling the test on any target that uses hardware stepping.
2553 2014-06-06 Pedro Alves <palves@redhat.com>
2555 * gdb.base/break-unload-file.exp: Fix typo.
2557 2014-06-06 Yao Qi <yao@codesourcery.com>
2559 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
2560 from "jit_function" to "^jit_function".
2562 2014-06-06 Yao Qi <yao@codesourcery.com>
2564 * gdb.base/async.c (foo): Add one statement.
2565 * gdb.base/async.exp: Get the next instruction address and
2566 match the output of "nexti" by instruction address. Match
2567 the hex address in the output of "finish".
2569 2014-06-06 Gary Benson <gbenson@redhat.com>
2571 * gdb.base/call-signals.c: Remove preprocessor conditionals
2572 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
2573 SIGSEGV and SIGTERM.
2574 * gdb.base/sigall.c: Likewise.
2575 * gdb.base/unwindonsignal.c: Likewise.
2576 * gdb.reverse/sigall-reverse.c: Likewise.
2578 2014-06-06 Yao Qi <yao@codesourcery.com>
2580 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
2581 readable, skip the test.
2583 2014-06-06 Yao Qi <yao@codesourcery.com>
2585 * gdb.threads/staticthreads.c (thread_function): Move the line
2586 setting breakpoint on forward.
2587 * gdb.threads/staticthreads.exp: Update comments.
2589 2014-06-05 Ludovic Courtès <ludo@gnu.org>
2591 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
2592 "history-append! type error".
2594 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
2596 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
2597 erroneous dprintf expected input.
2599 2014-06-04 Doug Evans <xdje42@gmail.com>
2601 * gdb.guile/scm-generics.exp: Delete.
2603 2014-06-04 Doug Evans <xdje42@gmail.com>
2605 * gdb.guile/scm-breakpoint.exp: Update.
2606 Add tests for breakpoint registration.
2608 2014-06-04 Tom Tromey <tromey@redhat.com>
2610 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
2612 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
2613 inner_vla_struct, vla_union types. Initialize objects of those
2614 types and compute their sizes.
2616 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
2617 Hui Zhu <hui@codesourcery.com>
2619 * gdb.base/fileio.exp: Add test for shell not available as well as
2621 * gdb.base/fileio.c (test_system): Check for shell twice.
2623 2014-06-04 Yao Qi <yao@codesourcery.com>
2625 * gdb.base/auto-connect-native-target.exp: Remove redundant
2626 space from the regexp pattern.
2628 2014-06-04 Yao Qi <yao@codesourcery.com>
2630 * gdb.base/default.exp: Replace "child" with "native" in
2633 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
2635 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
2636 * gdb.python/py-xmethods.exp: New tests to test xmethods.
2637 * gdb.python/py-xmethods.py: Python script supporting the
2638 new testcase and tests.
2640 2014-06-03 Joel Brobecker <brobecker@adacore.com>
2641 Pedro Alves <palves@redhat.com>
2643 PR breakpoints/17000
2644 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
2645 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
2647 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
2649 * gdb.base/subst.exp: Add tests to verify partial path matching
2652 2014-06-03 Pedro Alves <palves@redhat.com>
2654 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
2655 target that doesn't use software single-stepping.
2657 2014-06-03 Pedro Alves <palves@redhat.com>
2659 PR breakpoints/17000
2660 * gdb.base/sss-bp-on-user-bp-2.c: New file.
2661 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
2663 2014-06-02 Doug Evans <xdje42@gmail.com>
2665 * gdb.guile/scm-parameter.exp: New file.
2667 2014-06-02 Doug Evans <xdje42@gmail.com>
2669 * gdb.guile/scm-cmd.c: New file.
2670 * gdb.guile/scm-cmd.exp: New file.
2672 2014-06-02 Doug Evans <xdje42@gmail.com>
2674 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
2675 pretty-printer lookup.
2676 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
2677 (make-pp_s-printer): Call it.
2678 (make-pretty-printer-from-dict): New function.
2679 (lookup-pretty-printer-maker-from-dict): New function.
2680 (*pretty-printer*): Simplify.
2681 (make-objfile-pp_s-printer): New function.
2682 (install-objfile-pretty-printers!): New function.
2683 (make-progspace-pp_s-printer): New function.
2684 (install-progspace-pretty-printers!): New function.
2685 * gdb.guile/scm-progspace.c: New file.
2686 * gdb.guile/scm-progspace.exp: New file.
2688 2014-06-02 Pedro Alves <palves@redhat.com>
2690 * gdb.base/dprintf-bp-same-addr.c: New file.
2691 * gdb.base/dprintf-bp-same-addr.exp: New file.
2693 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2695 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
2696 * gdb.arch/powerpc-power.s: Likewise.
2698 2014-06-02 Joel Brobecker <brobecker@adacore.com>
2700 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
2702 2014-06-01 Yao Qi <yao@codesourcery.com>
2704 * gdb.base/watchpoint.exp (test_watch_location): Check null
2705 pointer can be dereferenced. If not, do the test, otherwise
2708 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
2710 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
2712 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
2714 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
2716 * gdb.arch/amd64-invalid-stack-middle.S: New file.
2717 * gdb.arch/amd64-invalid-stack-middle.c: New file.
2718 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
2719 * gdb.arch/amd64-invalid-stack-top.c: New file.
2720 * gdb.arch/amd64-invalid-stack-top.exp: New file.
2722 2014-05-30 Pedro Alves <palves@redhat.com>
2724 PR breakpoints/17000
2725 * gdb.base/sss-bp-on-user-bp.c: New file.
2726 * gdb.base/sss-bp-on-user-bp.exp: New file.
2728 2014-05-30 David Blaikie <dblaikie@gmail.com>
2730 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
2731 gnu_inline semantics via attribute.
2732 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
2733 source explicitly specifies the required semantics.
2735 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
2737 * gdb.reverse/sigall-reverse.exp: Fix a typo.
2739 2014-05-29 Pedro Alves <palves@redhat.com>
2740 Tom Tromey <tromey@redhat.com>
2742 * gdb.base/async-shell.exp: Don't enable target-async.
2743 * gdb.base/async.exp
2744 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
2746 (top level): Don't test with "target-async".
2747 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
2748 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
2749 * gdb.base/inferior-died.exp: Don't enable target-async.
2750 * gdb.base/interrupt-noterm.exp: Likewise.
2751 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
2752 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2753 * gdb.mi/mi-nonstop.exp: Likewise.
2754 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2755 * gdb.mi/mi-nsintrall.exp: Likewise.
2756 * gdb.mi/mi-nsmoribund.exp: Likewise.
2757 * gdb.mi/mi-nsthrexec.exp: Likewise.
2758 * gdb.mi/mi-watch-nonstop.exp: Likewise.
2759 * gdb.multi/watchpoint-multi.exp: Adjust comment.
2760 * gdb.python/py-evsignal.exp: Don't enable target-async.
2761 * gdb.python/py-evthreads.exp: Likewise.
2762 * gdb.python/py-prompt.exp: Likewise.
2763 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
2764 * gdb.server/solib-list.exp: Don't enable target-async.
2765 * gdb.threads/thread-specific-bp.exp: Likewise.
2766 * lib/mi-support.exp: Adjust to use mi-async.
2768 2014-05-29 Pedro Alves <palves@redhat.com>
2771 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
2772 reason, even in sync mode.
2774 2014-05-29 Pedro Alves <palves@redhat.com>
2775 Hui Zhu <hui@codesourcery.com>
2778 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
2779 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
2780 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
2781 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
2783 2014-05-28 Joel Brobecker <brobecker@adacore.com>
2785 * config/monitor.exp (gdb_target_monitor): Replace use of
2786 "set remotebaud" by "set serial baud".
2788 2014-05-26 Andy Wingo <wingo@igalia.com>
2790 * gdb.guile/scm-breakpoint.exp:
2791 * gdb.guile/scm-gsmob.exp: Update to use plain old object
2792 properties instead of gdb-object-properties.
2794 2014-05-26 Yao Qi <yao@codesourcery.com>
2796 * gdb.server/no-thread-db.exp: Specify source file name
2797 explicitly when setting a breakpoint.
2799 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2801 * gdb.btrace/vdso.c: New.
2802 * gdb.btrace/vdso.exp: New.
2804 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2806 * gdb.base/gcore.exp (capture_command_output): Move ...
2807 * lib/gdb.exp (capture_command_output): ... here.
2809 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2811 * gdb.btrace/data.exp: Test memory access during btrace replay.
2813 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
2815 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
2817 2014-05-21 Pedro Alves <palves@redhat.com>
2820 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
2821 (top level): Test that output related to execution commands is
2822 sent to the console with CLI commands, but not with MI commands.
2823 Test that breakpoint events are always mirrored to the console.
2824 Also expect the new source line to be output after a "next" in
2825 async mode too. Make it a pass/fail test.
2826 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
2828 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
2830 2014-05-21 Pedro Alves <palves@redhat.com>
2832 * gdb.base/list.exp (build_pattern, test_list): New procedures.
2833 Use them to test variations of "list" after reaching a breakpoint.
2834 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
2835 Test "list" with listsize 10 after reaching a breakpoint.
2836 * gdb.python/python.exp (decode_line current location line
2837 number): Adjust expected line number.
2839 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
2841 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
2842 behavior for $args, pass it directly to "run".
2844 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
2846 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
2849 2014-05-21 Pedro Alves <palves@redhat.com>
2851 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
2852 auto-connect-native-target off".
2853 * gdb.base/auto-connect-native-target.c: New file.
2854 * gdb.base/auto-connect-native-target.exp: New file.
2856 2014-05-21 Pedro Alves <palves@redhat.com>
2858 * gdb.base/default.exp: Test "target native" instead of "target
2861 2014-05-21 Mark Wielaard <mjw@redhat.com>
2863 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2865 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2867 Fix TLS access for -static -pthread.
2868 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
2869 <HAVE_TLS> (thread_function, main): Initialize it.
2870 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
2872 <$have_tls != "">: Check TLSVAR.
2874 2014-05-21 Pedro Alves <palves@redhat.com>
2876 * gdb.base/dcache-line-read-error.c: New.
2877 * gdb.base/dcache-line-read-error.exp: New.
2879 2014-05-20 Pedro Alves <palves@redhat.com>
2881 * gdb.base/compare-sections.c: New file.
2882 * gdb.base/compare-sections.exp: New file.
2884 2014-05-20 Pedro Alves <palves@redhat.com>
2886 * gdb.base/break-idempotent.c: New file.
2887 * gdb.base/break-idempotent.exp: New file.
2889 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
2891 * gdb.btrace/nohist.exp: New.
2893 2014-05-20 Yao Qi <yao@codesourcery.com>
2895 * lib/gdb.exp (gdb_init): Set timeout if test file is under
2896 gdb.reverse directory and gdb_reverse_timeout exists in board
2898 * README: Document gdb_reverse_timeout.
2900 2014-05-20 Yao Qi <yao@codesourcery.com>
2902 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
2903 'test_file_name'. Treat args as a string instead of a list.
2904 (gdb_init): Rename argument 'args' by 'test_file_name'.
2906 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2908 * gdb.arch/powerpc-power.exp: New file.
2909 * gdb.arch/powerpc-power.s: New file.
2911 2014-05-16 Doug Evans <dje@google.com>
2913 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
2914 * gdb.base/completion.exp: Check that all expected files exist
2915 before doing file completion.
2917 2014-05-16 Doug Evans <dje@google.com>
2919 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
2921 (do_syscall_tests_without_xml): Update.
2923 2014-05-16 Pedro Alves <palves@redhat.com>
2925 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
2926 instead of "unknown output after running".
2928 2014-05-16 Yao Qi <yao@codesourcery.com>
2930 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
2931 file1.txt from host at the end.
2932 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2934 2014-05-15 Doug Evans <dje@google.com>
2936 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
2937 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
2938 loading file. Add test for TU lookup.
2940 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2942 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
2943 calling "-exec-arguments" or "set args" before running the
2946 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2948 * lib/mi-support.exp (mi_expect_stop): Expect message for
2949 inferiors that exit with non-zero exit code.
2951 2014-05-14 Yao Qi <yao@codesourcery.com>
2953 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
2954 match absolute path on remote host.
2955 (test_file_list_exec_source_files): Remove "/" from the
2958 2014-05-14 Yao Qi <yao@codesourcery.com>
2960 * boards/local-remote-host-notty.exp (${board}_file): New
2963 2014-05-07 Kyle McMartin <kyle@redhat.com>
2965 Pushed by Joel Brobecker <brobecker@adacore.com>.
2966 * gdb.arch/aarch64-atomic-inst.c: New file.
2967 * gdb.arch/aarch64-atomic-inst.exp: New file.
2969 2014-05-07 Yao Qi <yao@codesourcery.com>
2971 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
2972 in current context" too.
2974 2014-05-05 Keith Seitz <keiths@redhat.com>
2976 * gdb.linespec/ls-dollar.exp: Add test for linespec
2977 file:convenience_variable.
2979 2014-05-05 Yao Qi <yao@codesourcery.com>
2981 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
2982 traceframes into tfile and ctf trace files. Read data from
2983 trace file and test collected data.
2984 (gdb_collect_locals_test): Likewise.
2985 (gdb_unavailable_registers_test): Likewise.
2986 (gdb_unavailable_floats): Likewise.
2987 (gdb_collect_globals_test): Likewise.
2988 (top-level): Append "ctf" to trace_file_targets if GDB
2991 2014-05-05 Yao Qi <yao@codesourcery.com>
2993 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
2995 (gdb_collect_args_test_1): ... it. New proc.
2996 (gdb_collect_locals_test): Move some code to ...
2997 (gdb_collect_locals_test_1): ... it. New proc.
2998 (gdb_unavailable_registers_test): Move some code to ...
2999 (gdb_unavailable_registers_test_1): ... it. New proc.
3000 (gdb_unavailable_floats): Move some code to ...
3001 (gdb_unavailable_floats_1): ... it. New proc.
3003 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3005 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
3006 probes to test for bitness recognition.
3007 * gdb.arch/amd64-stap-optional-prefix.exp
3008 (test_probe_value_without_reg): New procedure.
3009 Add code to test for different kinds of bitness.
3011 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3013 PR breakpoints/16889
3014 * gdb.arch/amd64-stap-optional-prefix.S: New file.
3015 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3017 2014-05-01 Pedro Alves <palves@redhat.com>
3019 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
3020 gdb_file_cmd if no file is specified.
3021 * boards/native-extended-gdbserver.exp (gdb_load): Use the
3022 last_loaded_file to set the remote exec-file.
3024 2014-05-01 Pedro Alves <palves@redhat.com>
3026 * boards/local-remote-host.exp: New file.
3028 2014-05-01 Pedro Alves <palves@redhat.com>
3030 * boards/local-remote-host.exp: Rename to ...
3031 * boards/local-remote-host-notty.exp: ... this.
3033 2014-04-28 Joel Brobecker <brobecker@adacore.com>
3035 * gdb.ada/dyn_arrayidx: New testcase.
3037 2014-04-26 Yao Qi <yao@codesourcery.com>
3039 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
3040 and compute the length of function main. Save it in
3042 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
3043 (top-level): Use gdb_compile to compile objects into
3044 executable and restart GDB. Remove invocation to
3045 prepare_for_testing.
3047 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
3048 Pedro Alves <palves@redhat.com>
3051 * gdb.multi/multi-attach.c: New file.
3052 * gdb.multi/multi-attach.exp: New file.
3054 2014-04-25 Pedro Alves <palves@redhat.com>
3056 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
3058 (top level): Test that "set remote conditional-breakpoints-packet
3059 off" works as intended.
3060 * gdb.base/dprintf.exp: Test that "set remote
3061 breakpoint-commands-packet off" works as intended.
3062 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
3064 (top level): Call it.
3065 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
3066 remote fast-tracepoints-packet off" works as intended.
3067 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
3068 * lib/gdb.exp (gdb_is_target_remote): ... here.
3070 2014-04-24 David Blaikie <dblaikie@gmail.com>
3072 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
3073 ensure clang would not discard them.
3074 * gdb.base/gdbvars.c: Ditto.
3075 * gdb.base/memattr.c: Ditto.
3076 * gdb.base/whatis.c: Ditto.
3077 * gdb.python/py-prettyprint.c: Ditto.
3078 * gdb.trace/actions.c: Ditto.
3079 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
3080 ensure clang would not discard it.
3082 2014-04-24 David Blaikie <dblaikie@gmail.com>
3084 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
3085 clang to emit the full definition of type required by the test
3086 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
3088 2014-04-24 David Blaikie <dblaikie@gmail.com>
3090 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
3091 coax Clang into emitting the definition of the type.
3092 * gdb.cp/pr10728-x.h (y): Ditto.
3093 * gdb.cp/pr10728-y.cc (y): Ditto.
3095 2014-04-24 David Blaikie <dblaikie@gmail.com>
3097 * gdb.base/label.exp: XFAIL label related tests under Clang.
3098 * gdb.cp/cplabel.exp: Ditto.
3099 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
3100 under Clang those using labels.
3102 2014-04-25 Yao Qi <yao@codesourcery.com>
3104 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
3106 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
3107 partial_label and double_label.
3109 2014-04-24 David Blaikie <dblaikie@gmail.com>
3111 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
3113 2014-04-24 David Blaikie <dblaikie@gmail.com>
3115 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
3116 of the function to work across GCC and Clang.
3117 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
3118 pointer types (const void ** const V void **).
3120 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
3121 Walfred Tedeschi <walfred.tedeschi@intel.com>
3123 * Makefile.in (EXECUTABLES): Added i386-avx512.
3124 * gdb.arch/i386-avx512.c: New file.
3125 * gdb.arch/i386-avx512.exp: Likewise.
3127 2014-04-23 Keith Seitz <keiths@redhat.com>
3129 * lib/mi-support.exp (mi_list_breakpoints): Delete.
3130 (mi_make_breakpoint_table): New procedure.
3131 (mi_create_breakpoint): Use mi_make_breakpoint
3132 and return the result.
3133 (mi_make_breakpoint): New procedure.
3134 (mi_build_kv_pairs): New procedure.
3136 * gdb.mi/mi-break.exp: Remove unused globals,
3137 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
3138 All callers updated.
3139 * gdb.mi/mi-dprintf.exp: Use variable to track command
3141 Update all callers of mi_create_breakpoint and use
3142 mi_make_breakpoint_table.
3143 Remove any unused global variables.
3144 * gdb.mi/mi-nonstop.exp: Likewise.
3145 * gdb.mi/mi-nsintrall.exp: Likewise.
3146 * gdb.mi/mi-nsmoribund.exp: Likewise.
3147 * gdb.mi/mi-nsthrexec.exp: Likewise.
3148 * gdb.mi/mi-reverse.exp: Likewise.
3149 * gdb.mi/mi-simplerun.exp: Likewise.
3150 * gdb.mi/mi-stepn.exp: Likewise.
3151 * gdb.mi/mi-syn-frame.exp: Likewise.
3152 * gdb.mi/mi-until.exp: Likewise.
3153 * gdb.mi/mi-var-cp.exp: Likewise.
3154 * gdb.mi/mi-var-display.exp: Likewise.
3155 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
3156 * gdb.mi/mi2-var-child.exp: Likewise.
3157 * gdb.mi/mi-vla-c99.exp: Likewise.
3158 * lib/mi-support.exp: Likewise.
3160 From Ian Lance Taylor <iant@cygnus.com>:
3161 * lib/gdb.exp (parse_args): New procedure.
3163 2014-04-23 Pedro Alves <palves@redhat.com>
3165 * gdb.base/break-unload-file.c: New file.
3166 * gdb.base/break-unload-file.exp: New file.
3167 * gdb.base/sym-file-lib.c (baz): New function.
3168 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
3170 (load): Store the segment's mapped size.
3171 (unload): New function.
3172 (unload_shlib): New function.
3173 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
3174 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
3175 set a breakpoint at baz, and call it.
3176 * gdb.base/sym-file.exp: New tests for stale breakpoint
3179 2014-04-23 Pedro Alves <palves@redhat.com>
3181 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
3182 * gdb.base/hbreak-in-shr-unsupported.c: New file.
3183 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
3184 * gdb.base/hbreak-unmapped.c: New file.
3185 * gdb.base/hbreak-unmapped.exp: New file.
3186 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
3187 * lib/gdb.exp (gdb_is_target_remote): ... here.
3189 2014-04-22 Pedro Alves <palves@redhat.com>
3191 * gdb.base/consecutive-step-over.c: New file.
3192 * gdb.base/consecutive-step-over.exp: New file.
3194 2014-04-22 Pedro Alves <palves@redhat.com>
3196 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
3197 instead of send_gdb/gdb_expect.
3199 2014-04-22 Yao Qi <yao@codesourcery.com>
3201 * lib/trace-support.exp (generate_tracefile): New procedure.
3202 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
3204 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
3205 if generate_tracefile returns 1.
3207 2014-04-18 Tom Tromey <palves@redhat.com>
3208 Pedro alves <tromey@redhat.com>
3211 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
3212 with a backtrace limit.
3213 * gdb.python/py-frame-inline.exp: Test running to an inline
3214 function with a backtrace limit, and printing the newest frame.
3215 * gdb.python/py-frame-inline.c (main): Call f.
3217 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3219 * gdb.java/jnpe.exp: Drop srcdir from untested path.
3221 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3223 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
3224 Drop prefix from unsupported source file path.
3226 2014-04-17 Yao Qi <yao@codesourcery.com>
3228 * lib/gdb.exp (with_target_charset): New proc.
3229 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
3230 with_target_charset.
3231 (test_print_strings): Likewise.
3232 (test_repeat_bytes): Likewise.
3233 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
3236 2014-04-16 Keith Seitz <keiths@redhat.com>
3239 * gdb.dwarf2/corrupt.c: New file.
3240 * gdb.dwarf2/corrupt.exp: New file.
3242 2014-04-16 Keith Seitz <keiths@redhat.com>
3245 * gdb.cp/namelessclass.cc: New file.
3246 * gdb.cp/namelessclass.exp: New file.
3247 * gdb.cp/namelessclass.S: New file.
3249 2014-04-16 Doug Evans <dje@google.com>
3251 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
3253 (gdbserver_default_get_comm_port): New function.
3254 (gdbserver_start): Check if board file provided
3255 "gdbserver,get_comm_port" and use it if so.
3256 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
3257 (gdb,socketport): Set to "stdio".
3258 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
3259 (stdio_gdbserver_template): Delete.
3260 (${board}_get_remote_address): Update.
3261 (${board}_build_remote_cmd): Delete.
3262 (${board}_get_comm_port): New function.
3263 (${board}_spawn): Update.
3264 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
3266 (${board}_get_remote_address): Update.
3267 (${board}_get_comm_port): New function.
3269 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
3271 * gdb.base/memattr.exp: Improve regexps to handle memory regions
3272 appearing in any order.
3274 2014-04-15 Doug Evans <dje@google.com>
3276 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
3277 uninitialized value of "description".
3279 2014-04-15 Keith Seitz <keiths@redhat.com>
3281 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
3282 Remove unused globals.
3283 (test_running_the_program): Likewise.
3284 (test_controlled_execution): Likewise.
3285 (test_controlling_breakpoints): Likewise.
3286 (test_program_termination): Likewise.
3288 2014-04-15 Keith Seitz <keiths@redhat.com>
3290 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
3292 (test_rbreak_creation_and_listing): Likewise.
3293 (test_ignore_count): Likewise.
3294 (test_error): Likewise.
3296 2014-04-15 Pedro Alves <palves@redhat.com>
3298 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
3299 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
3301 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3302 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3303 to sym-file-loader.c.
3304 (struct library): Forward declare.
3305 (load_shlib, lookup_function): Change prototypes.
3306 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3307 (translate_offset): Remove declarations.
3308 (get_text_addr): New declaration.
3309 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
3310 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
3312 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3313 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3314 here from sym-file-loader.h.
3315 (struct library): New structure.
3316 (load_shlib, lookup_function): Change prototypes and adjust to
3317 work with a struct library.
3318 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3319 (translate_offset): Make static.
3320 (get_text_addr): New function.
3321 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
3323 2014-04-15 Pedro Alves <palves@redhat.com>
3325 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
3327 2014-04-15 Pedro Alves <palves@redhat.com>
3329 * gdb.base/sym-file-loader.c: Include <limits.h>.
3330 (SELF_LINK): New define.
3331 (get_origin): New function.
3332 (load_shlib): Use it.
3333 * gdb.base/sym-file.exp: Don't early return if the target is
3334 remote. Use runto_main, and issue fail is that fails. Use
3336 (shlib_name): Delete.
3337 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
3339 2014-04-15 Pedro Alves <palves@redhat.com>
3341 * gdb.base/sym-file.exp: Remove regex characters from test
3342 message. Don't refer to breakpoint numbers in test messages.
3344 2014-04-14 Keith Seitz <keiths@redhat.com>
3347 * gdb.cp/var-tag.cc: New file.
3348 * gdb.cp/var-tag.exp: New file.
3349 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3350 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3351 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3352 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3354 2014-04-14 Tom Tromey <tromey@redhat.com>
3356 * gdb.cp/classes.exp (test_enums): Handle underlying type.
3357 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
3359 * gdb.cp/enum-class.exp: New file.
3360 * gdb.cp/enum-class.cc: New file.
3362 2014-04-14 Tom Tromey <tromey@redhat.com>
3364 * gdb.dwarf2/enum-type.exp: New file.
3366 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3368 * gdb.mi/mi-vla-c99.exp: New file.
3369 * gdb.mi/vla.c: New file.
3371 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3373 * gdb.base/vla-datatypes.c: New file.
3374 * gdb.base/vla-datatypes.exp: New file.
3376 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3378 * gdb.base/vla-ptr.c: New file.
3379 * gdb.base/vla-ptr.exp: New file.
3381 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3383 * gdb.dwarf2/count.exp: New file.
3385 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3387 * gdb.base/vla-sideeffect.c: New file.
3388 * gdb.base/vla-sideeffect.exp: New file.
3390 2014-04-14 David Blaikie <dblaikie@gmail.com>
3392 * gdb.mi/non-stop.c: Add return value for non-void function return
3394 * gdb.threads/staticthreads.c: Ditto.
3396 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
3397 Doug Evans <xdje42@gmail.com>
3399 * gdb.guile/scm-value.c: Improve test case.
3400 * gdb.guile/scm-value.exp: Add new test.
3402 2014-04-11 David Blaikie <dblaikie@gmail.com>
3404 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
3405 override Clang's default.
3407 2014-04-11 Joel Brobecker <brobecker@adacore.com>
3409 Revert the following changes (regressions):
3411 * gdb.base/vla-sideeffect.c: New file.
3412 * gdb.base/vla-sideeffect.exp: New file.
3414 * gdb.dwarf2/count.exp: New file.
3416 * gdb.base/vla-multi.c: New file.
3417 * gdb.base/vla-multi.exp: New file.
3419 * gdb.base/vla-ptr.c: New file.
3420 * gdb.base/vla-ptr.exp: New file.
3422 * gdb.base/vla-datatypes.c: New file.
3423 * gdb.base/vla-datatypes.exp: New file.
3425 * gdb.mi/mi-vla-c99.exp: New file.
3426 * gdb.mi/vla.c: New file.
3428 2014-04-11 Keith Seitz <keiths@redhat.com>
3431 * gdb.cp/cpsizeof.exp: New file.
3432 * gdb.cp/cpsizeof.cc: New file.
3434 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3436 * gdb.mi/mi-vla-c99.exp: New file.
3437 * gdb.mi/vla.c: New file.
3439 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3441 * gdb.base/vla-datatypes.c: New file.
3442 * gdb.base/vla-datatypes.exp: New file.
3444 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3446 * gdb.base/vla-ptr.c: New file.
3447 * gdb.base/vla-ptr.exp: New file.
3449 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3451 * gdb.base/vla-multi.c: New file.
3452 * gdb.base/vla-multi.exp: New file.
3454 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3456 * gdb.dwarf2/count.exp: New file.
3458 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3460 * gdb.base/vla-sideeffect.c: New file.
3461 * gdb.base/vla-sideeffect.exp: New file.
3463 2014-04-11 Yao Qi <yao@codesourcery.com>
3465 * gdb.base/completion.exp: Check file exists before running tests
3468 2014-04-10 Pedro Alves <palves@redhat.com>
3470 * gdb.base/cond-eval-mode.c: New file.
3471 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
3472 prepare_for_testing to build the new file. Check result of
3474 (test_break, test_watch): New procedures.
3475 (top level): Use them.
3477 2014-04-08 Pierre Muller <muller@sourceware.org>
3479 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
3480 Ctrl-V use for mingw hosts.
3482 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
3484 * gdb.python/py-value.c: Improve test case.
3485 * gdb.python/py-value.exp: Add new test.
3487 2014-04-07 David Blaikie <dblaikie@gmail.com>
3489 * lib/compiler.c: Identify the clang compiler.
3490 * lib/compiler.cc: Ditto.
3492 2014-04-03 Yao Qi <yao@codesourcery.com>
3494 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
3496 2014-04-01 Anton Blanchard <anton@samba.org>
3498 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
3501 2014-04-01 Anton Blanchard <anton@samba.org>
3503 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
3504 prepare_for_testing.
3506 2014-04-01 Anton Blanchard <anton@samba.org>
3508 * gdb.arch/ppc64-atomic-inst.c: Remove.
3509 * gdb.arch/ppc64-atomic-inst.S: New file.
3510 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
3512 2014-03-31 Doug Evans <dje@google.com>
3514 * gdb.base/print-symbol-loading-lib.c: New file.
3515 * gdb.base/print-symbol-loading-main.c: New file.
3516 * gdb.base/print-symbol-loading.exp: New file.
3518 2014-03-31 Yao Qi <yao@codesourcery.com>
3520 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
3522 2014-03-28 Joel Brobecker <brobecker@adacore.com>
3524 * gdb.ada/mi_dyn_arr: New testcase.
3526 2014-03-27 Doug Evans <dje@google.com>
3528 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
3530 2014-03-27 Yao Qi <yao@codesourcery.com>
3532 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
3533 if target is nios2-*-*.
3535 2014-03-26 Yao Qi <yao@codesourcery.com>
3537 * lib/gdb.exp (readline_is_used): New proc.
3538 * gdb.base/completion.exp: Move tests on command complete up.
3539 Skip the rest of tests if readline is not used.
3540 * gdb.ada/complete.exp: Skp the test if readline is not
3542 * gdb.base/filesym.exp: Likewise.
3543 * gdb.base/macscp.exp: Likewise.
3544 * gdb.base/readline-ask.exp: Likewise.
3545 * gdb.base/readline.exp: Likewise.
3546 * gdb.python/py-cmd.exp: Likewise.
3547 * gdb.trace/tfile.exp: Likewise.
3549 2014-03-26 Yao Qi <yao@codesourcery.com>
3551 * gdb.base/macscp.exp: Fix code format issues.
3553 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
3555 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
3556 * gdb.asm/powerpc64le.inc: New file.
3558 2014-03-25 Pedro Alves <palves@redhat.com>
3559 Doug Evans <dje@google.com>
3561 * gdb.base/source-execution.c: New file.
3562 * gdb.base/source-execution.exp: New file.
3563 * gdb.base/source-execution.gdb: New file.
3565 2014-03-24 Doug Evans <dje@google.com>
3567 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
3570 2014-03-24 Hui Zhu <hui@codesourcery.com>
3571 Pedro Alves <palves@redhat.com>
3573 PR breakpoints/16101
3574 * gdb.base/dprintf.exp: Use unsupported rather than changing the
3575 test pass/fail messages. Detect missing support for dprintf when
3576 breakpoints are actually inserted.
3577 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
3578 breakpoints are actually inserted.
3579 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
3582 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3584 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
3586 2014-03-22 Doug Evans <xdje42@gmail.com>
3588 * gdb.python/python.exp (python not supported): Verify multi-line
3589 python command issues an error.
3590 * gdb.guile/guile.exp (guile not supported): Verify multi-line
3591 guile command issues an error.
3593 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
3595 * gdb.threads/thread-specific.exp: Handle the lack of usable
3596 $this_breakpoint and $this_thread.
3598 2014-03-21 Hui Zhu <hui@codesourcery.com>
3600 * gdb.base/attach.exp (do_command_attach_tests): New.
3602 2014-03-20 Tom Tromey <tromey@redhat.com>
3603 Pedro Alves <palves@redhat.com>
3606 * gdb.base/condbreak-call-false.c: New file.
3607 * gdb.base/condbreak-call-false.exp: New file.
3609 2014-03-20 Pedro Alves <palves@redhat.com>
3611 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
3613 (block_signals, unblock_signals): Delete.
3614 (child_function_2, main): Remove references to deleted variable
3617 2014-03-20 Pedro Alves <palves@redhat.com>
3619 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
3620 Use pthread_kill to signal thread 2.
3621 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3622 Adjust to make the test send itself a signal rather than using the
3623 host's "kill" command.
3625 2014-03-20 Pedro Alves <palves@redhat.com>
3627 * gdb.threads/multiple-step-overs.c: New file.
3628 * gdb.threads/multiple-step-overs.exp: New file.
3629 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3630 Adjust expected infrun debug output.
3632 2014-03-20 Pedro Alves <palves@redhat.com>
3634 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
3635 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
3637 2014-03-20 Pedro Alves <palves@redhat.com>
3640 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
3641 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
3642 of gdb_test_multiple.
3643 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
3644 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
3646 2014-03-20 Pedro Alves <palves@redhat.com>
3648 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
3649 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
3651 2014-03-19 Pedro Alves <palves@redhat.com>
3653 * gdb.base/async.exp: Remove early return.
3655 2014-03-19 Pedro Alves <palves@redhat.com>
3657 * gdb.base/async.exp (step& tests): Pass explicit test messages.
3659 2014-03-19 Pedro Alves <palves@redhat.com>
3661 * gdb.base/async.exp (test_background): Expect \r\n after
3662 "completed." in the fail pattern.
3664 2014-03-19 Pedro Alves <palves@redhat.com>
3666 * gdb.base/async.exp (test_background): New procedure.
3667 Use it for all background execution command tests.
3669 2014-03-19 Pedro Alves <palves@redhat.com>
3671 * gdb.base/async.exp: Use prepare_for_testing.
3673 2014-03-19 Pedro Alves <palves@redhat.com>
3675 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
3678 2014-03-19 Pedro Alves <palves@redhat.com>
3680 * gdb.base/async.c (main): Add "jump here" and "until here" line
3682 * gdb.base/async.exp (jump_here): New global.
3683 (jump& test): Use it.
3684 (until_here): New global.
3685 (until& test): Use it.
3687 2014-03-19 Pedro Alves <palves@redhat.com>
3689 * gdb.base/async.exp: Don't frob gdb_protocol.
3691 2014-03-18 Doug Evans <xdje42@gmail.com>
3693 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
3694 Fix spelling of exec-done-display.
3696 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3699 * gdb.base/gdb-sigterm.c: New file.
3700 * gdb.base/gdb-sigterm.exp: New file.
3702 2014-03-18 Pedro Alves <palves@redhat.com>
3705 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
3706 * lib/mi-support.exp (mi_expect_stop): Add special handling for
3709 2014-03-17 Joel Brobecker <brobecker@adacore.com>
3711 * gdb.ada/pckd_arr_ren: New testcase.
3713 2014-03-13 Doug Evans <xdje42@gmail.com>
3716 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
3717 collect after discarding symbols.
3719 2014-03-13 Ludovic Courtès <ludo@gnu.org>
3720 Doug Evans <xdje42@gmail.com>
3722 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
3723 to history survives a gc.
3725 2014-03-13 Pedro Alves <palves@redhat.com>
3727 * gdb.base/default.exp: Don't test "target procfs".
3729 2014-03-13 Pedro Alves <palves@redhat.com>
3731 * gdb.base/default.exp: Update "target child" and "target procfs"
3732 tests to not expect "Unix".
3734 2014-03-12 Tom Tromey <tromey@redhat.com>
3736 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
3737 New procs. Add target-async tests.
3738 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
3739 Add target-async tests.
3741 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3743 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
3744 'func_start' and 'func_end' for the beginning and end of the
3745 function code, respectively.
3746 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
3747 'func_end' instead of 'func' and 'main'.
3749 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3751 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
3752 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
3753 generate the debug info assembler source.
3755 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3757 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
3758 * gdb.dwarf2/arr-subrange.exp: Likewise.
3759 * gdb.dwarf2/dwz.exp: Likewise.
3760 * gdb.dwarf2/method-ptr.exp: Likewise.
3761 * gdb.dwarf2/missing-sig-type.exp: Likewise.
3762 * gdb.dwarf2/subrange.exp: Likewise.
3763 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
3764 * gdb.dwarf2/implptrpiece.exp: Likewise.
3765 * gdb.dwarf2/nostaticblock.exp: Likewise.
3767 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3769 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
3770 directory to absolute path name arguments.
3772 2014-03-10 Joel Brobecker <brobecker@adacore.com>
3774 * gdb.ada/tagged_access: New testcase.
3776 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
3778 * gdb.btrace/data.exp: Update expected output.
3780 2014-03-06 Yao Qi <yao@codesourcery.com>
3782 * gdb.trace/pr16508.exp: New file.
3784 2014-03-05 Pedro Alves <palves@redhat.com>
3787 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
3789 (top level): Adjust to use it. Add tests that exercise breakpoint
3790 interaction with the code-cache.
3792 2014-02-26 Ludovic Courtès <ludo@gnu.org>
3794 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
3795 test for 'history-append!'.
3797 2014-02-26 Joel Brobecker <brobecker@adacore.com>
3799 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
3800 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
3801 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
3802 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
3803 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
3804 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
3806 2014-02-26 Joel Brobecker <brobecker@adacore.com>
3808 * testsuite/gdb.python/py-pp-re-notag.c: New file.
3809 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
3810 * testsuite/gdb.python/py-pp-re-notag.p: New file.
3812 2014-02-26 Joel Brobecker <brobecker@adacore.com>
3814 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
3816 2014-02-26 Joel Brobecker <brobecker@adacore.com>
3818 * gdb.dwarf2/arr-stride.c: New file.
3819 * gdb.dwarf2/arr-stride.exp: New file.
3821 2014-02-26 Pedro Alves <palves@redhat.com>
3823 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
3824 that won't ever trigger. Make sure that GDB reports the correct
3825 breakpoint that caused the stop.
3827 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3830 * gdb.base/auto-load-script: New file.
3831 * gdb.base/auto-load.c: New file.
3832 * gdb.base/auto-load.exp: New file.
3835 * gdb.base/auto-load.exp: Fix out-of-srctree run.
3837 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3839 Fix dw2-icycle.exp -fsanitize=address GDB crash.
3840 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
3842 2014-02-24 Doug Evans <dje@google.com>
3844 * lib/gdb.exp (run_on_host): Log error output if program fails.
3846 2014-02-21 Pedro Alves <palves@redhat.com>
3848 * gdb.threads/step-after-sr-lock.c: Rename to ...
3849 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
3850 * gdb.threads/step-after-sr-lock.exp: Rename to ...
3851 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3854 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
3857 * gdb.arch/amd64-stap-special-operands.exp: New file.
3858 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
3859 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
3860 * gdb.arch/amd64-stap-triplet.S: Likewise.
3861 * gdb.arch/amd64-stap-triplet.c: Likewise.
3863 2014-02-20 Joel Brobecker <brobecker@adacore.com>
3865 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
3866 in .section pseudo-op.
3868 2014-02-20 lin zuojian <manjian2006@gmail.com>
3869 Joel Brobecker <brobecker@adacore.com>
3870 Doug Evans <xdje42@gmail.com>
3873 * gdb.dwarf2/dw2-icycle.S: New file.
3874 * gdb.dwarf2/dw2-icycle.c: New file.
3875 * gdb.dwarf2/dw2-icycle.exp: New file.
3877 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
3879 * gdb.python/py-value-cc.cc: Improve test case to enable testing
3880 operations on gdb.Value objects.
3881 * gdb.python/py-value-cc.exp: Add new test to test operations on
3884 2014-02-18 Doug Evans <dje@google.com>
3886 * Makefile.in (TESTS): New variable.
3887 (expanded_tests, expanded_tests_or_none): New variables
3888 (check-single): Pass $(expanded_tests_or_none) to runtest.
3889 (check-parallel): Only run tests in $(TESTS) if non-empty.
3890 (check/no-matching-tests-found): New rule.
3891 * README: Document TESTS makefile variable.
3893 2014-02-18 Doug Evans <dje@google.com>
3895 * Makefile.in (check-parallel): rm -rf outputs temp.
3897 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3899 Fix "ERROR: no fileid for" in the testsuite.
3900 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
3902 2014-02-12 Doug Evans <dje@google.com>
3904 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
3905 (MISCELLANEOUS): New variable.
3906 (clean): rm -rf $(MISCELLANEOUS).
3907 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
3908 dwp live in the same directory as symlinks, with each symlink pointed
3909 to a differently named file in a different directory.
3911 2014-02-11 Doug Evans <dje@google.com>
3913 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
3914 of Tcl file commands.
3916 2014-02-10 Mark Kettenis <kettenis@gnu.org>
3918 * gdb.threads/step-after-sr-lock.exp: Avoid executing
3921 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3923 * gdb.ada/tick_length_array_enum_idx: New testcase.
3925 2014-02-10 Doug Evans <xdje42@gmail.com>
3927 * configure.ac (AC_OUTPUT): Add gdb.guile.
3928 * configure: Regenerate.
3929 * lib/gdb-guile.exp: New file.
3930 * lib/gdb.exp (get_target_charset): New function.
3931 * gdb.base/help.exp: Update expected output from "apropos apropos".
3932 * gdb.guile/Makefile.in: New file.
3933 * gdb.guile/guile.exp: New file.
3934 * gdb.guile/scm-arch.c: New file.
3935 * gdb.guile/scm-arch.exp: New file.
3936 * gdb.guile/scm-block.c: New file.
3937 * gdb.guile/scm-block.exp: New file.
3938 * gdb.guile/scm-breakpoint.c: New file.
3939 * gdb.guile/scm-breakpoint.exp: New file.
3940 * gdb.guile/scm-disasm.c: New file.
3941 * gdb.guile/scm-disasm.exp: New file.
3942 * gdb.guile/scm-equal.c: New file.
3943 * gdb.guile/scm-equal.exp: New file.
3944 * gdb.guile/scm-error.exp: New file.
3945 * gdb.guile/scm-error.scm: New file.
3946 * gdb.guile/scm-frame-args.c: New file.
3947 * gdb.guile/scm-frame-args.exp: New file.
3948 * gdb.guile/scm-frame-args.scm: New file.
3949 * gdb.guile/scm-frame-inline.c: New file.
3950 * gdb.guile/scm-frame-inline.exp: New file.
3951 * gdb.guile/scm-frame.c: New file.
3952 * gdb.guile/scm-frame.exp: New file.
3953 * gdb.guile/scm-generics.exp: New file.
3954 * gdb.guile/scm-gsmob.exp: New file.
3955 * gdb.guile/scm-iterator.c: New file.
3956 * gdb.guile/scm-iterator.exp: New file.
3957 * gdb.guile/scm-math.c: New file.
3958 * gdb.guile/scm-math.exp: New file.
3959 * gdb.guile/scm-objfile-script-gdb.in: New file.
3960 * gdb.guile/scm-objfile-script.c: New file.
3961 * gdb.guile/scm-objfile-script.exp: New file.
3962 * gdb.guile/scm-objfile.c: New file.
3963 * gdb.guile/scm-objfile.exp: New file.
3964 * gdb.guile/scm-ports.exp: New file.
3965 * gdb.guile/scm-pretty-print.c: New file.
3966 * gdb.guile/scm-pretty-print.exp: New file.
3967 * gdb.guile/scm-pretty-print.scm: New file.
3968 * gdb.guile/scm-section-script.c: New file.
3969 * gdb.guile/scm-section-script.exp: New file.
3970 * gdb.guile/scm-section-script.scm: New file.
3971 * gdb.guile/scm-symbol.c: New file.
3972 * gdb.guile/scm-symbol.exp: New file.
3973 * gdb.guile/scm-symtab-2.c: New file.
3974 * gdb.guile/scm-symtab.c: New file.
3975 * gdb.guile/scm-symtab.exp: New file.
3976 * gdb.guile/scm-type.c: New file.
3977 * gdb.guile/scm-type.exp: New file.
3978 * gdb.guile/scm-value-cc.cc: New file.
3979 * gdb.guile/scm-value-cc.exp: New file.
3980 * gdb.guile/scm-value.c: New file.
3981 * gdb.guile/scm-value.exp: New file.
3982 * gdb.guile/source2.scm: New file.
3983 * gdb.guile/types-module.cc: New file.
3984 * gdb.guile/types-module.exp: New file.
3986 2014-02-10 Yao Qi <yao@codesourcery.com>
3989 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
3990 * configure: Regenerated.
3991 * Makefile.in: New file.
3993 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3995 * gdb.python/py-framefilter.exp: Fix typo.
3997 2014-02-08 Yao Qi <yao@codesourcery.com>
3999 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
4000 that no =breakpoint-modified is emitted when breakpoints are
4001 modified through MI commands.
4003 2014-02-07 Pedro Alves <pedro@codesourcery.com>
4004 Pedro Alves <palves@redhat.com>
4006 * gdb.threads/step-after-sr-lock.c: New file.
4007 * gdb.threads/step-after-sr-lock.exp: New file.
4009 2014-02-07 Pedro Alves <palves@redhat.com>
4011 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
4013 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4015 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
4016 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
4018 2014-02-06 Doug Evans <xdje42@gmail.com>
4020 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
4023 * gdb.gdb/python-interrupts.exp: New file.
4025 2014-02-05 Yao Qi <yao@codesourcery.com>
4027 * gdb.trace/report.exp (use_collected_data): Test the output
4028 of "info threads" and "info inferiors".
4030 2014-02-05 Yao Qi <yao@codesourcery.com>
4034 2013-05-24 Yao Qi <yao@codesourcery.com>
4036 * gdb.trace/tfile.exp: Test inferior and thread.
4038 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4040 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
4042 * gdb.base/step-bt.c: Call hello via function pointer to make
4043 sure its first instruction is executed on powerpc64le-linux.
4045 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4047 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
4049 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4051 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
4052 of the test patterns for use on little-endian systems.
4054 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4056 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
4057 (decimal_vector): Fix for little-endian.
4059 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4061 * gdb.arch/sparc-sysstep.exp: New file.
4062 * gdb.arch/sparc-sysstep.c: Likewise.
4064 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
4066 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4068 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
4070 2014-01-23 Tom Tromey <tromey@redhat.com>
4072 * gdb.ada/array_char_idx: New testcase.
4074 2014-01-23 Tom Tromey <tromey@redhat.com>
4077 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
4078 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
4081 2014-01-23 Tom Tromey <tromey@redhat.com>
4084 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
4085 string from an inferior frame.
4086 * gdb.python/py-framefilter-mi.exp: Update.
4088 2014-01-22 Doug Evans <dje@google.com>
4090 * gdb.server/server-mon.exp: Add tests for "set debug-format".
4092 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4094 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
4096 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4098 * gdb.trace/entry-values.exp: Remove excess space character from
4099 regex patterns. Handle s390 call instruction.
4101 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4103 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
4104 define "*_start" label. Make "name" static.
4105 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
4106 ${name} by references to ${name}_start.
4108 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4110 * gdb.base/info-macros.exp: Remove "debug" from the compile
4113 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4115 * gdb.dlang/demangle.exp: New file.
4117 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4119 * gdb.dlang/primitive-types.exp: New file.
4121 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4123 * configure.ac: Create gdb.dlang/Makefile.
4124 * configure: Regenerate.
4125 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
4126 * gdb.dlang/Makefile.in: New file.
4127 * lib/d-support.exp: New file.
4128 * lib/gdb.exp (skip_d_tests): New proc.
4130 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4132 * gdb.btrace/delta.exp: Check reverse stepi.
4133 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
4134 * gdb.btrace/finish.exp: New.
4135 * gdb.btrace/next.exp: New.
4136 * gdb.btrace/nexti.exp: New.
4137 * gdb.btrace/record_goto.c: Add comments.
4138 * gdb.btrace/step.exp: New.
4139 * gdb.btrace/stepi.exp: New.
4140 * gdb.btrace/multi-thread-step.c: New.
4141 * gdb.btrace/multi-thread-step.exp: New.
4142 * gdb.btrace/rn-dl-bind.c: New.
4143 * gdb.btrace/rn-dl-bind.exp: New.
4144 * gdb.btrace/data.c: New.
4145 * gdb.btrace/data.exp: New.
4146 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4148 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4150 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
4151 * gdb.btrace/exception.exp: Update.
4152 * gdb.btrace/instruction_history.exp: Update.
4153 * gdb.btrace/record_goto.exp: Update.
4154 * gdb.btrace/tailcall.exp: Update.
4155 * gdb.btrace/unknown_functions.exp: Update.
4156 * gdb.btrace/delta.exp: New.
4158 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4160 * gdb.btrace/record_goto.exp: Add backtrace test.
4161 * gdb.btrace/tailcall.exp: Add backtrace test.
4163 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4165 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
4166 * gdb.btrace/record_goto.c: New.
4167 * gdb.btrace/record_goto.exp: New.
4168 * gdb.btrace/x86-record_goto.S: New.
4170 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4172 * gdb.btrace/function_call_history.exp: Update tests.
4173 * gdb.btrace/instruction_history.exp: Update tests.
4175 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4177 * gdb.btrace/function_call_history.exp: Fix expected field
4178 order for "record function-call-history".
4179 Add new tests for "record function-call-history /c".
4180 * gdb.btrace/exception.cc: New.
4181 * gdb.btrace/exception.exp: New.
4182 * gdb.btrace/tailcall.exp: New.
4183 * gdb.btrace/x86-tailcall.S: New.
4184 * gdb.btrace/x86-tailcall.c: New.
4185 * gdb.btrace/unknown_functions.c: New.
4186 * gdb.btrace/unknown_functions.exp: New.
4187 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4189 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4191 * gdb.btrace/instruction_history.exp: Update.
4192 * gdb.btrace/function_call_history.exp: Update.
4194 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4196 * gdb.btrace/function_call_history.exp: Fix expected function
4198 * gdb.btrace/instruction_history.exp: Initialize traced.
4199 Remove traced_functions.
4201 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4203 * gdb.btrace/function_call_history.exp: Update
4204 * gdb.btrace/instruction_history.exp: Update.
4206 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4208 * gdb.btrace/enable.exp: Update expected text.
4210 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
4212 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
4215 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
4217 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
4219 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4221 * lib/gdb.exp (supports_process_record): Return true for
4222 arm*-linux*. (supports_reverse): Likewise.
4224 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4228 * gdb.python/py-type.c: Enhance test case.
4229 * gdb.python/py-value-cc.cc: Likewise
4230 * gdb.python/py-type.exp: Add new tests.
4231 * gdb.python/py-value-cc.exp: Likewise
4233 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4234 Pedro Alves <palves@redhat.com>
4236 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
4238 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
4239 references to ${name}_start by references to ${name}.
4241 2014-01-10 Joel Brobecker <brobecker@adacore.com>
4243 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
4245 2014-01-10 Joel Brobecker <brobecker@adacore.com>
4247 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
4249 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
4250 Pedro Alves <palves@redhat.com>
4252 * gdb.mi/mi-info-os.exp: Connect to the target with
4255 2014-01-08 Pedro Alves <palves@redhat.com>
4257 * gdb.threads/reconnect-signal.c: New file.
4258 * gdb.threads/reconnect-signal.exp: New file.
4260 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4262 * gdb.base/source-dir.exp: New file.
4264 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4266 * gdb.ada/mi_interface: New testcase.
4268 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4270 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
4271 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
4272 gdb.ada/pp-rec-component/pck.ads: New files.
4274 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4276 * gdb.python/py-pp-integral.c: New file.
4277 * gdb.python/py-pp-integral.py: New file.
4278 * gdb.python/py-pp-integral.exp: New file.
4280 For older changes see ChangeLog-1993-2013.
4286 ;; version-control: never
4289 Copyright 2014-2015 Free Software Foundation, Inc.
4290 Copying and distribution of this file, with or without modification,
4291 are permitted provided the copyright notice and this notice are preserved.