1 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3 * gdb.btrace/next.exp: Merged into step.exp.
4 * gdb.btrace/finish.exp: Merged into step.exp.
5 * gdb.btrace/nexti.exp: Merged into stepi.exp.
6 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
7 "record goto" and checking the exact replay position.
8 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
9 check for "Recording format" in "info record" output.
10 * gdb.btrace/record_goto.exp: Choose test file based on target.
11 * gdb.btrace/x86-record_goto.S: Renamed into ...
12 * gdb.btrace/x86_64-record_goto.S: ... this.
13 * gdb.btrace/i686-record_goto.S: New.
14 * gdb.btrace/x86-tailcall.S: Renamed into ...
15 * gdb.btrace/x86_64-tailcall.S: ... this.
16 * gdb.btrace/i686-tailcall.S: New.
17 * gdb.btrace/x86-tailcall.c: Renamed into ...
18 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
19 separate statements. Update test.
20 * gdb.btrace/delta.exp: Use record_goto.c as test file.
21 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
22 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
23 * gdb.btrace/tailcall.exp: Choose test file based on target.
24 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
26 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
28 * gdb.btrace/exception.exp: Increase BTS buffer size.
30 2015-03-24 Pedro Alves <palves@redhat.com>
32 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
34 2015-03-24 Pedro Alves <palves@redhat.com>
36 * gdb.threads/schedlock.exp (test_step): No longer expect that
37 "set scheduler-locking step" with "next" over a function call runs
40 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
42 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
44 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
47 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
48 * gdb.mi/mi-pending.c (thread_func): New function.
49 (int main): Add threading support required.
50 * gdb.mi/mi-pending.exp: Add tests for this issue.
51 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
52 (pendfunc2): Remove stdio dependency.
53 * gdb.mi/mi-pendshr2.c: New file.
55 2015-03-23 Keith Seitz <keiths@redhat.com>
57 * gdb.linespec/keywords.c: New file.
58 * gdb.linespec/keywords.exp: New file.
60 2015-03-23 Keith Seitz <keiths@redhat.com>
63 * gdb.dwarf2/staticvirtual.exp: New test.
65 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
67 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
68 * README: Remove HP-UX and gdb.hp.
70 * configure: Regenerate.
71 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
72 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
73 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
74 gdb.hp/gdb.defects/Makefile.
75 * gdb.hp/Makefile.in: File deleted.
76 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
77 * gdb.hp/gdb.aCC/optimize.c: File deleted.
78 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
79 * gdb.hp/gdb.aCC/run.c: File deleted.
80 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
81 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
82 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
83 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
84 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
85 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
86 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
87 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
88 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
89 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
90 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
91 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
92 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
93 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
94 * gdb.hp/gdb.base-hp/reg.s: File deleted.
95 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
96 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
97 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
98 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
99 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
100 * gdb.hp/gdb.compat/Makefile.in: File deleted.
101 * gdb.hp/gdb.compat/average.c: File deleted.
102 * gdb.hp/gdb.compat/sum.c: File deleted.
103 * gdb.hp/gdb.compat/xdb.c: File deleted.
104 * gdb.hp/gdb.compat/xdb0.c: File deleted.
105 * gdb.hp/gdb.compat/xdb0.h: File deleted.
106 * gdb.hp/gdb.compat/xdb1.c: File deleted.
107 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
108 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
109 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
110 * gdb.hp/gdb.defects/Makefile.in: File deleted.
111 * gdb.hp/gdb.defects/bs14602.c: File deleted.
112 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
113 * gdb.hp/gdb.defects/solib-d.c: File deleted.
114 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
115 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
116 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
117 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
118 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
119 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
120 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
121 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
122 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
123 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
124 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
125 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
126 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
127 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
128 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
129 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
130 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
131 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
132 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
133 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
134 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
135 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
136 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
137 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
138 * gdb.hp/tools/odump: File deleted.
140 2015-03-19 Pedro Alves <palves@redhat.com>
142 * gdb.threads/continue-pending-status.exp (saw_thread_2)
143 (saw_thread_3): New globals.
144 (top level): Increment them when an event for the corresponding
146 (no thread starvation): New test.
148 2015-03-19 Pedro Alves <palves@redhat.com>
150 * gdb.threads/continue-pending-status.c: New file.
151 * gdb.threads/continue-pending-status.exp: New file.
153 2015-03-18 Pedro Alves <palves@redhat.com>
155 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
156 Use gdb_is_target_remote instead of is_remote. Use
157 gdb_test_multiple instead of gdb_expect. Exit early if
158 gdb_test_multiple hits its internal matches. Tighten stepi tests
159 expected output. Fail on exit with any signal, instead of just
162 2015-03-18 Yao Qi <yao.qi@linaro.org>
165 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
167 * gdb.base/catch-syscall.exp: Don't skip it on
168 aarch64*-*-linux* target. Remove elements in all_syscalls.
169 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
171 (setup_all_syscalls): New proc.
173 2015-03-16 Yao Qi <yao.qi@linaro.org>
175 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
176 (top level): Skip tests if valid_addr_p returns false for
179 2015-03-11 Andy Wingo <wingo@igalia.com>
181 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
183 2015-03-11 Yao Qi <yao.qi@linaro.org>
185 * gdb.base/catch-syscall.exp: Fix typo in comments.
187 2015-03-11 Yao Qi <yao.qi@linaro.org>
189 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
191 2015-03-09 Pedro Alves <palves@redhat.com>
193 * dg-extract-results.py: Delete.
195 2015-03-09 Pedro Alves <palves@redhat.com>
197 Merge dg-extract-results.sh from GCC upstream (r218843).
199 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
200 * dg-extract-results.sh: Use --text with grep to avoid issues with
201 binary files. Fall back to cat -v, if that doesn't work.
203 2015-03-05 Pedro Alves <palves@redhat.com>
205 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
207 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
209 * lib/mi-support.exp (mi_expect_interrupt): Accept
210 alternative event for when in all-stop mode.
212 2015-03-04 Pedro Alves <palves@redhat.com>
214 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
216 2015-03-04 Mark Kettenis <kettenis@gnu.org>
218 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
220 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
222 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
223 regexps for GDB's current line display, accept a hex address
224 preceding the line number.
226 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
228 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
229 the 'arch1' variable for "s390*-linux*" targets.
231 2015-03-04 Pedro Alves <palves@redhat.com>
233 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
234 (main): Pass missing retval argument to pthread_join call.
236 2015-03-02 Pedro Alves <palves@redhat.com>
238 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
239 (top level): Call do_test with non-stop as well.
241 2015-03-02 Pedro Alves <palves@redhat.com>
243 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
246 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
248 * gdb.arch/s390-vregs.exp: New test.
249 * gdb.arch/s390-vregs.S: New file.
251 2015-02-27 Pedro Alves <palves@redhat.com>
253 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
254 call to catch_command_errors.
255 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
256 catch_command_errors.
258 2015-02-27 Pedro Alves <palves@redhat.com>
260 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
261 "true" for boolean result.
262 * gdb.gdb/selftest.exp (test_with_self): Also accept full
265 2015-02-27 Pedro Alves <palves@redhat.com>
267 * lib/unbuffer_output.c: New file.
268 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
269 (main): Call gdb_unbuffer_output.
271 2015-02-27 Yao Qi <yao.qi@linaro.org>
273 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
276 2015-02-26 Doug Evans <dje@google.com>
278 * gdb.cp/class2.cc (Dbase, D): New classes.
279 (main): New local delta.
280 * gdb.cp/class2.exp: Test printing delta.
281 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
282 (dynbar): New global.
283 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
285 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
287 * gdb.compile/compile-ifunc.c: New file.
288 * gdb.compile/compile-ifunc.exp: New file.
290 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
292 * gdb.base/structs.exp: Check for correct struct on finish.
294 2015-02-26 Yao Qi <yao.qi@linaro.org>
296 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
299 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
301 * gdb.arch/cordic.ko.bz2: New file.
302 * gdb.arch/cordic.ko.debug.bz2: New file.
303 * gdb.arch/ppc64-symtab-cordic.exp: New file.
305 2015-02-25 Yao Qi <yao.qi@linaro.org>
307 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
310 2015-02-23 Pedro Alves <palves@redhat.com>
312 * lib/gdb.exp (delete_breakpoints): Rewrite using
315 2015-02-23 Pedro Alves <palves@redhat.com>
317 * gdb.base/info-os.c: Include stdlib.h.
319 2015-02-22 Doug Evans <xdje42@gmail.com>
322 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
323 is read after symbols have been re-read.
324 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
325 * gdb.ada/exec_changed/second.adb (Second): Ditto.
327 2015-02-21 Doug Evans <dje@google.com>
329 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
331 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
334 * gdb.arch/i386-biarch-core.core.bz2: New file.
335 * gdb.arch/i386-biarch-core.exp: New file.
337 2015-02-21 Pedro Alves <palves@redhat.com>
339 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
342 2015-02-20 Pedro Alves <palves@redhat.com>
344 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
347 2015-02-20 Pedro Alves <palves@redhat.com>
349 * gdb.threads/multi-create-ns-info-thr.exp: New file.
351 2015-02-20 Pedro Alves <palves@redhat.com>
353 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
354 clean_restart before gdb_target_supports_trace.
356 2015-02-20 Pedro Alves <palves@redhat.com>
359 * gdb.threads/clone-thread_db.c: New file.
360 * gdb.threads/clone-thread_db.exp: New file.
362 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
365 * gdb.base/catch-gdb-caused-signals.c: New file.
366 * gdb.base/catch-gdb-caused-signals.exp: New file.
368 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
370 * configure: Regenerated.
371 * configure.ac: Use GDB_AC_TRANSFORM.
372 * aclocal.m4: sinclude ../transform.m4.
374 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
376 * lib/dtrace.exp: New file.
377 * gdb.base/dtrace-probe.exp: Likewise.
378 * gdb.base/dtrace-probe.d: Likewise.
379 * gdb.base/dtrace-probe.c: Likewise.
380 * lib/pdtrace.in: Likewise.
381 * configure.ac: Output variables with the transformed names of
382 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
383 * configure: Regenerated.
385 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
387 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
388 expected message when trying to access $_probe_* convenience
389 variables while not on a probe.
391 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
393 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
395 2015-02-11 Pedro Alves <pedro@codesourcery.com>
397 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
398 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
400 2015-02-10 Doug Evans <xdje42@gmail.com>
402 * lib/gdb.exp (gdb_load): Always return a result.
404 2015-02-10 Pedro Alves <palves@redhat.com>
406 * gdb.threads/signal-sigtrap.c: New file.
407 * gdb.threads/signal-sigtrap.exp: New file.
409 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
411 * gdb.trace/no-attach-trace.c: New file.
412 * gdb.trace/no-attach-trace.exp: New file.
414 2015-02-09 Mark Wielaard <mjw@redhat.com>
416 * gdb.dwarf2/atomic.c: New file.
417 * gdb.dwarf2/atomic-type.exp: Likewise.
419 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
421 * gdb.btrace/buffer-size.exp: Update "info record" output.
422 * gdb.btrace/delta.exp: Update "info record" output.
423 * gdb.btrace/enable.exp: Update "info record" output.
424 * gdb.btrace/finish.exp: Update "info record" output.
425 * gdb.btrace/instruction_history.exp: Update "info record" output.
426 * gdb.btrace/next.exp: Update "info record" output.
427 * gdb.btrace/nexti.exp: Update "info record" output.
428 * gdb.btrace/step.exp: Update "info record" output.
429 * gdb.btrace/stepi.exp: Update "info record" output.
430 * gdb.btrace/nohist.exp: Update "info record" output.
432 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
434 * gdb.btrace/buffer-size: New.
436 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
438 * gdb.btrace/delta.exp: Update "info record" output.
439 * gdb.btrace/enable.exp: Update "info record" output.
440 * gdb.btrace/finish.exp: Update "info record" output.
441 * gdb.btrace/instruction_history.exp: Update "info record" output.
442 * gdb.btrace/next.exp: Update "info record" output.
443 * gdb.btrace/nexti.exp: Update "info record" output.
444 * gdb.btrace/step.exp: Update "info record" output.
445 * gdb.btrace/stepi.exp: Update "info record" output.
446 * gdb.btrace/nohist.exp: Update "info record" output.
448 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
451 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
453 2015-02-06 Pedro Alves <palves@redhat.com>
455 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
457 (seconds_left, again): New globals.
458 (main): Wait seconds_left in a 1-second sleep loop instead of
459 sleeping 180 seconds. If 'again' is set, reset the seconds
461 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
462 'again' in the inferior before detaching. Print the seconds left.
463 (options): New global.
464 (top level): Build program with -DTIMEOUT=$timeout.
466 2015-02-06 Pedro Alves <palves@redhat.com>
468 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
469 determine how many seconds to pass to 'alarm'.
470 * gdb.base/gdb-sigterm.exp (top level): Build program with
472 (do_test): Return success/failure indication. Add more verbose
473 logging. Don't fail if 200 single steps are seen. Instead, fail
474 when the test times out.
475 (passes): New global.
476 (top level): Break the testing loop if testing fails on any
477 iteration. Use gdb_assert.
479 2015-02-04 Don Breazeal <donb@codesourcery.com>
481 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
483 (ipc_cleanup): New function.
484 (main): Don't declare shmid, semid, and msqid. Add a call to
485 atexit so that we call ipc_cleanup on exit.
487 2015-02-04 Pedro Alves <palves@redhat.com>
489 * boards/native-extended-gdbserver.exp: Remove any target variant
490 specifications from the board name before clearing the isremote
491 flag from board_info.
493 2015-01-31 Doug Evans <xdje42@gmail.com>
495 * gdb.base/maint.exp <maint print type argc>: Update expected output.
497 2015-01-31 Gary Benson <gbenson@redhat.com>
499 * gdb.base/completion.exp: Disable completion limiting for
500 existing tests. Add new tests to check completion limiting.
501 * gdb.linespec/ls-errs.exp: Disable completion limiting.
503 2015-01-31 Doug Evans <xdje42@gmail.com>
505 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
507 2015-01-31 Doug Evans <xdje42@gmail.com>
509 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
510 entries. Duplicate file section script entries.
511 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
512 inlined entries. Add test for safe-path rejection.
513 * gdb.python/py-section-script.c: Add duplicate inlined section script
514 entries. Duplicate file section script entries.
515 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
516 inlined entries. Add test for safe-path rejection.
518 2015-01-29 Joel Brobecker <brobecker@adacore.com>
520 * gdb.ada/disc_arr_bound: New testcase.
522 2015-01-29 Joel Brobecker <brobecker@adacore.com>
524 * gdb.ada/mi_var_array: New testcase.
526 2015-01-27 Doug Evans <dje@google.com>
528 * gdb.python/py-objfile.exp: Add tests for objfile.username.
529 Add test for objfile.filename, objfile.username after objfile
532 2015-01-26 Joel Brobecker <brobecker@adacore.com>
534 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
535 the second test to print the name attribute of value
536 returned by the call to gdb.lookup_type, and adjust
537 the expected output accordingly.
539 2015-01-25 Mark Wielaard <mjw@redhat.com>
541 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
542 * gdb.base/disp-step-fork.c: Include unistd.h.
543 * gdb.base/siginfo-obj.c: Include stdio.h.
544 * gdb.base/siginfo-thread.c: Likewise.
545 * gdb.mi/non-stop.c: Include unistd.h.
546 * gdb.mi/nsthrexec.c: Include stdio.h.
547 * gdb.mi/pthreads.c: Include unistd.h.
548 * gdb.modula2/unbounded1.c (main): Declare returns int.
549 * gdb.reverse/consecutive-reverse.c: Likewise.
550 * gdb.threads/create-fail.c: Include unistd.h.
551 * gdb.threads/killed.c: Likewise.
552 * gdb.threads/linux-dp.c: Likewise.
553 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
554 * gdb.threads/non-ldr-exc-2.c: Likewise.
555 * gdb.threads/non-ldr-exc-3.c: Likewise.
556 * gdb.threads/non-ldr-exc-4.c: Likewise.
557 * gdb.threads/pthreads.c: Include unistd.h.
558 (main): Declare returns int.
559 * gdb.threads/tls-main.c (foo): New declaration.
560 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
562 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
564 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
565 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
567 2015-01-15 Mark Wielaard <mjw@redhat.com>
569 * gdb.base/noreturn-return.c: New file.
570 * gdb.base/noreturn-return.exp: New file.
571 * gdb.base/noreturn-finish.c: New file.
572 * gdb.base/noreturn-finish.exp: New file.
574 2015-01-23 Pedro Alves <palves@redhat.com>
576 * gdb.threads/continue-pending-after-query.c: New file.
577 * gdb.threads/continue-pending-after-query.exp: New file.
579 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
580 Simon Marchi <simon.marchi@ericsson.com>
582 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
583 * gdb.base/valgrind-db-attach.exp: Same.
584 * gdb.base/valgrind-infcall.exp: Same.
585 * lib/mi-support.exp (default_mi_gdb_start): Same.
586 * lib/prompt.exp (default_prompt_gdb_start): Same.
587 * lib/gdb.exp (default_gdb_spawn): Same.
591 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
593 * gdb.compile/compile.exp (pointer to jit function): New test.
595 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
597 * lib/gdb.exp (supports_process_record): Return true for
599 (supports_reverse): Likewise.
601 2015-01-15 Don Breazeal <donb@codesourcery.com>
603 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
604 instead of checking whether the target board is remote and
605 use spawn_wait_for_attach instead of exec/sleep.
606 * gdb.base/attach-twice.exp: Likewise.
608 2015-01-15 Joel Brobecker <brobecker@adacore.com>
610 * gdb.ada/var_arr_attrs: New testcase.
612 2015-01-14 Pedro Alves <palves@redhat.com>
613 Joel Brobecker <brobecker@adacore.com>
616 * gdb.base/bp-cmds-execution-x-script.c: New file.
617 * gdb.base/bp-cmds-execution-x-script.exp: New file.
618 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
620 2015-01-14 Pedro Alves <palves@redhat.com>
623 * gdb.base/batch-preserve-term-settings.c: New file.
624 * gdb.base/batch-preserve-term-settings.exp: New file.
626 2015-01-13 Doug Evans <dje@google.com>
628 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
631 2015-01-13 Joel Brobecker <brobecker@adacore.com>
633 * Makefile.in (clean mostlyclean): Do not delete *.py.
635 2015-01-13 Joel Brobecker <brobecker@adacore.com>
637 * gdb.python/py-lookup-type.exp: New file.
639 2015-01-12 Pedro Alves <palves@redhat.com>
641 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
642 restore GDBFLAGS before returning.
644 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
646 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
647 is_amd64_regs_target and is_x86_like_target.
649 2015-01-11 Doug Evans <xdje42@gmail.com>
651 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
652 is given without an explicit form.
653 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
655 * gdb.dwarf/corrupt.exp: Ditto.
656 * gdb.dwarf2/enum-type.exp: Ditto.
657 * gdb.trace/entry-values.exp: Ditto.
658 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
660 2015-01-11 Doug Evans <xdje42@gmail.com>
663 * gdb.base/maint.exp: Remove references to "maint demangle".
664 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
665 Add tests for explicitly specifying language to demangle.
666 * gdb.dlang/demangle.exp: Ditto.
668 2015-01-09 Pedro Alves <palves@redhat.com>
670 * gdb.threads/non-stop-fair-events.c: New file.
671 * gdb.threads/non-stop-fair-events.exp: New file.
673 2015-01-09 Pedro Alves <palves@redhat.com>
675 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
676 the global scope. Set a breakpoint after all threads are started
677 rather than stepping over two source lines. Expect the prompt.
678 * gdb.base/watch_thread_num.c (threads_started_barrier): New
681 (main): Use threads_started_barrier to wait for all threads to
682 start. Main thread no longer calls thread_function. Exit after
684 (loop): New function.
685 (thread_function): Wait on threads_started_barrier barrier. Call
686 'loop' at each iteration.
687 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
688 threads have started, instead of hardcoding number of "next"
689 steps. Use an access watchpoint instead of a write watchpoint.
691 2015-01-09 Pedro Alves <palves@redhat.com>
693 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
694 (thread_func): Wait on barrier.
695 (main): Wait for all threads to start before stopping GDB.
696 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
698 (thread1_func, thread2_func): Wait on barrier.
699 (main): Wait for all threads to start before stopping GDB.
700 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
702 (thread1_func, thread2_func): Wait on barrier.
703 (main): Wait for all threads to start before stopping GDB.
705 2015-01-09 Pedro Alves <palves@redhat.com>
707 * gdb.threads/attach-many-short-lived-threads.c: New file.
708 * gdb.threads/attach-many-short-lived-threads.exp: New file.
710 2014-01-09 Pedro Alves <palves@redhat.com>
712 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
713 instead of to thread 2.
714 * gdb.threads/signal-command-multiple-signals-pending.c (main):
715 Add barrier around each pthread_create call instead of around all
717 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
718 Set a break on thread_function and have the child threads hit it
721 2015-01-09 Pedro Alves <palves@redhat.com>
723 * lib/gdb.exp (can_spawn_for_attach): New procedure.
724 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
726 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
727 checking whether the target board is remote.
728 * gdb.multi/multi-attach.exp: Likewise.
729 * gdb.python/py-sync-interp.exp: Likewise.
730 * gdb.server/ext-attach.exp: Likewise.
731 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
732 tests that need to attach, instead of checking whether the target
733 board is remote at the top of the file.
735 2015-01-08 Yao Qi <yao@codesourcery.com>
737 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
739 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
741 Fix testcase compilation.
742 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
744 2015-01-06 Joel Brobecker <brobecker@adacore.com>
746 * gdb.python/py-type.exp: Add a couple test about empty
747 array creation, and negative-length array creation.
749 2015-01-02 Doug Evans <xdje42@gmail.com>
751 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
753 2015-01-02 Doug Evans <dje@google.com>
755 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
757 2014-12-29 Yao Qi <yao@codesourcery.com>
759 * gdb.trace/entry-values.exp: Update comments. Rename variable
760 bar_call_foo to returned_from_foo.
762 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
765 * gdb.linespec/break-asm-file.c: New file.
766 * gdb.linespec/break-asm-file.exp: New file.
767 * gdb.linespec/break-asm-file0.s: New file.
768 * gdb.linespec/break-asm-file1.s: New file.
770 2014-12-18 Nigel Stephens <nigel@mips.com>
771 Maciej W. Rozycki <macro@codesourcery.com>
773 * gdb.base/float.exp: Handle the new output from "info float" on
776 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
778 Fix MinGW compilation.
779 * gdb.compile/compile-ops.exp: Update untested message if
780 !skip_compile_feature_tests.
781 * gdb.compile/compile-setjmp.exp: Likewise.
782 * gdb.compile/compile-tls.exp: Likewise.
783 * gdb.compile/compile.exp: Likewise.
784 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
785 supported on this host".
787 2014-12-16 Doug Evans <xdje42@gmail.com>
789 * boards/stabs.exp: New file.
791 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
793 * gdb.base/completion.exp: Adjust to format changes of "maint
794 print user-registers".
796 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
799 * gdb.arch/aarch64-fp.c: New file.
800 * gdb.arch/aarch64-fp.exp: New file.
802 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
804 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
805 r210637, r210913, r211666, r215400, r215817).
807 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
808 * dg-extract-results.py: New file.
809 * dg-extract-results.sh: Use it if the environment seems
812 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
814 * dg-extract-results.py (parse_run): Handle warnings that
815 are printed before a test harness is run.
817 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
819 * dg-extract-results.py (Named): Remove __cmp__ method.
820 (output_variation): Use a key to sort variation.harnesses.
822 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
824 * dg-extract-results.py: For Python 3, force sys.stdout to
825 handle surrogate escape sequences.
826 (safe_open): New function.
827 (output_segment, main): Use it.
829 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
831 * dg-extract-results.py (Prog.result_re): Include options
834 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
836 * dg-extract-results.py (output_variation): Always sort if
839 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
841 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
842 as long as we get pagination notifications.
844 2014-12-15 Jason Merrill <jason@redhat.com>
846 * Makefile.in (check-gdb.%): Restore.
847 * README: Mention it.
849 2014-12-13 Joel Brobecker <brobecker@adacore.com>
851 * gdb.ada/str_uninit: New testcase.
853 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
856 * gdb.base/vla-stub-define.c: New file.
857 * gdb.base/vla-stub.c: New file.
858 * gdb.base/vla-stub.exp: New file.
860 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
861 Jan Kratochvil <jan.kratochvil@redhat.com>
862 Tom Tromey <tromey@redhat.com>
864 * configure.ac: Add gdb.compile/.
865 * configure: Regenerate.
866 * gdb.compile/Makefile.in: New file.
867 * gdb.compile/compile-ops.exp: New file.
868 * gdb.compile/compile-ops.c: New file.
869 * gdb.compile/compile-tls.c: New file.
870 * gdb.compile/compile-tls.exp: New file.
871 * gdb.compile/compile-constvar.S: New file.
872 * gdb.compile/compile-constvar.c: New file.
873 * gdb.compile/compile-mod.c: New file.
874 * gdb.compile/compile-nodebug.c: New file.
875 * gdb.compile/compile-setjmp-mod.c: New file.
876 * gdb.compile/compile-setjmp.c: New file.
877 * gdb.compile/compile-setjmp.exp: New file.
878 * gdb.compile/compile-shlib.c: New file.
879 * gdb.compile/compile.c: New file.
880 * gdb.compile/compile.exp: New file.
881 * lib/gdb.exp (skip_compile_feature_tests): New proc.
883 2014-12-12 Tom Tromey <tromey@redhat.com>
885 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
886 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
888 2014-12-12 Doug Evans <dje@google.com>
890 * lib/gdb-python.exp (get_python_valueof): New function.
891 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
893 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
895 * gdb.base/completion.exp: Add test for completion of "info
898 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
900 * gdb.base/func-ptrs.c: New file.
901 * gdb.base/func-ptrs.exp: New file.
903 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
906 * gdb.base/dprintf-detach.c: New file.
907 * gdb.base/dprintf-detach.exp: New file.
909 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
911 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
912 * lib/gdb.exp (target_is_gdbserver): New procedure.
914 2014-12-08 Doug Evans <dje@google.com>
916 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
918 2014-12-05 Yao Qi <yao@codesourcery.com>
920 * gdb.guile/scm-error.exp: Remove the third argument to
922 * gdb.guile/scm-frame-args.exp: Likewise.
923 * gdb.guile/scm-section-script.exp: Likewise.
925 2014-12-05 Yao Qi <yao@codesourcery.com>
927 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
929 2014-12-04 Doug Evans <dje@google.com>
931 * gdb.python/py-objfile.exp: Add tests for
932 objfile.add_separate_debug_file.
934 2014-12-04 Doug Evans <dje@google.com>
936 * lib/gdb.exp (get_build_id): New function.
937 (build_id_debug_filename_get): Rewrite to use it.
938 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
940 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
942 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
943 `method(long)', not just 0x0.
944 * gdb.cp/nsalias.exp: Align code labels to 4.
945 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
946 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
947 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
948 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
949 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
950 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
952 2014-12-02 Doug Evans <dje@google.com>
955 * gdb.cp/anon-ns.cc: Move guts of this file to ...
956 * gdb.cp/anon-ns2.cc: ... here. New file.
957 * gdb.cp/anon-ns.exp: Update.
959 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
961 * gdb.python/py-events.py (inferior_call_handler): New.
962 (register_changed_handler, memory_changed_handler): New.
963 (test_events.invoke): Register new handlers.
964 * gdb.python/py-events.exp: Add tests for inferior call,
965 memory_changed and register_changed events.
967 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
969 * gdb.base/execl-update-breakpoints.exp: Specify the link address
970 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
971 if the linker doesn't understand this.
973 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
975 * gdb.python/python.exp: Change expected reply to help().
977 2014-12-01 Yao Qi <yao@codesourcery.com>
979 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
980 AC_CONFIG_SUBDIRS(gdb.gdbtk).
981 * configure: Re-generated.
983 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
985 * gdb.cp/chained-calls.cc: New file.
986 * gdb.cp/chained-calls.exp: New file.
987 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
989 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
991 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
992 * gdb.dwarf2/symtab-producer.exp: Same.
993 * gdb.gdb/python-interrupts.exp: Same.
994 * gdb.gdb/python-selftest.exp: Same.
995 * gdb.python/py-linetable.exp: Same.
996 * gdb.python/py-type.exp: Same.
997 * gdb.python/py-value-cc.exp: Same.
998 * gdb.python/py-value.exp: Same.
1000 2014-11-28 Yao Qi <yao@codesourcery.com>
1002 * gdb.base/break-probes.exp: Match library name prefixed with
1005 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
1007 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
1008 test expected output. Add parentheses for the call to print.
1009 Remove L suffix from integers.
1011 2014-11-26 Doug Evans <dje@google.com>
1013 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
1015 2014-11-22 Yao Qi <yao@codesourcery.com>
1017 * gdb.trace/entry-values.c: Remove asms.
1018 (foo): Add foo_label.
1019 (bar): Add bar_label.
1020 * gdb.trace/entry-values.exp: Remove code computing foo's
1021 length and bar's length.
1022 (Dwarf::assemble): Invoke function_range for bar and use
1023 MACRO_AT_func for foo.
1025 2014-11-22 Yao Qi <yao@codesourcery.com>
1027 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
1028 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
1029 Use .Lgcc43_procstart instead of gcc43.
1031 2014-11-21 Joel Brobecker <brobecker@adacore.com>
1033 * gdb.ada/n_arr_bound: New testcase.
1035 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1037 PR breakpoints/10737
1038 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
1039 test_catch_syscall_multi_arch.
1040 (test_catch_syscall_multi_arch): New function.
1042 2014-11-20 Doug Evans <xdje42@gmail.com>
1044 * gdb.base/maint.exp: Update expected output.
1046 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1048 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
1049 4-byte instruction on S390.
1051 2014-11-19 Joel Brobecker <brobecker@adacore.com>
1053 * gdb.ada/arr_arr: New testcase.
1055 2014-11-19 Joel Brobecker <brobecker@adacore.com>
1057 * gdb.ada/pkd_arr_elem: New Testcase.
1059 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
1061 * gdb.reverse/break-precsave: Expect completion message for
1063 * gdb.reverse/consecutive-precsave.exp: Likewise.
1064 * gdb.reverse/finish-precsave.exp: Likewise.
1065 * gdb.reverse/i386-precsave.exp: Likewise.
1066 * gdb.reverse/machinestate-precsave.exp: Likewise.
1067 * gdb.reverse/sigall-precsave.exp: Likewise.
1068 * gdb.reverse/solib-precsave.exp: Likewise.
1069 * gdb.reverse/step-precsave.exp: Likewise.
1070 * gdb.reverse/until-precsave.exp: Likewise.
1071 * gdb.reverse/watch-precsave.exp: Likewise.
1073 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1075 * gdb.base/bp-permanent.c: Include unistd.h.
1076 * gdb.python/py-framefilter-mi.c (main): Add return type.
1077 * gdb.python/py-framefilter.c (main): Likewise.
1078 * gdb.trace/actions-changed.c (main): Likewise.
1080 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1082 * gdb.mi/until.c: Add eye-catchers.
1083 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
1086 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1088 * gdb.base/condbreak.exp: Drop references to removed non-prototype
1089 function header variants in break1.c.
1090 * gdb.base/ena-dis-br.exp: Likewise.
1091 * gdb.base/hbreak2.exp: Likewise.
1092 * gdb.reverse/until-precsave.exp: Drop references to removed
1093 non-prototype function header variants in ur1.c.
1094 * gdb.reverse/until-reverse.exp: Likewise.
1096 2014-11-17 Petr Machata <pmachata@redhat.com>
1098 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
1099 ${_cu_offset_size} bytes abbrev offset.
1101 2014-11-15 Doug Evans <xdje42@gmail.com>
1104 * gdb.base/line-symtabs.exp: New file.
1105 * gdb.base/line-symtabs.c: New file.
1106 * gdb.base/line-symtabs.h: New file.
1108 2014-11-14 Yao Qi <yao@codesourcery.com>
1110 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
1111 (func): Add label func_label.
1112 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
1113 Replace low_pc and high_pc with MACRO_AT_range.
1114 Replace name, low_pc and high_pc with MACRO_AT_func.
1116 2014-11-14 Yao Qi <yao@codesourcery.com>
1118 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
1119 Replace name, low_pc and high_pc with MACRO_AT_func.
1121 2014-11-14 Yao Qi <yao@codesourcery.com>
1123 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
1124 produce debug information.
1125 * gdb.dwarf2/implptr-optimized-out.S: Removed.
1127 2014-11-14 Yao Qi <yao@codesourcery.com>
1129 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
1130 object and get function length.
1131 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
1133 (top-level): Replace gdb_compile and clean_restart with
1134 prepare_for_testing.
1135 * gdb.dwarf2/main.c (main): Add label main_label.
1137 2014-11-14 Yao Qi <yao@codesourcery.com>
1139 * lib/dwarf.exp (function_range): New procedure.
1140 (Dwarf::_handle_macro_at_func): New procedure.
1141 (Dwarf::_handle_macro_at_range): New procedure.
1142 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
1144 2014-11-14 Yao Qi <yao@codesourcery.com>
1146 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
1147 (_handle_attribute): New procedure.
1149 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1151 * gdb.ada/cond_lang/foo.c (callme): Add return type.
1152 * gdb.base/call-sc.c (zed): Likewise.
1153 * gdb.base/checkpoint.c (main): Likewise.
1154 * gdb.base/dump.c (main): Likewise.
1155 * gdb.base/gcore.c (main): Likewise.
1156 * gdb.base/huge.c (main): Likewise.
1157 * gdb.base/multi-forks.c (main): Likewise.
1158 * gdb.base/pr10179-a.c (main): Likewise.
1159 * gdb.base/savedregs.c (main): Likewise.
1160 * gdb.base/sigaltstack.c (main): Likewise.
1161 * gdb.base/siginfo.c (main): Likewise.
1162 * gdb.base/structs.c (zed): Likewise.
1163 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
1164 * gdb.mi/mi-syn-frame.c (main): Likewise.
1165 * gdb.mi/until.c (foo, main): Likewise.
1166 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
1167 * gdb.base/solib-weak.c (foo): Declare.
1168 * gdb.base/attach-twice.c: Include stdio.h.
1169 * gdb.base/weaklib1.c: Likewise.
1170 * gdb.base/weaklib2.c: Likewise.
1171 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
1172 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
1174 * gdb.base/attach-pie-misread.c: Include stdlib.h.
1175 * gdb.mi/mi-exit-code.c: Likewise.
1176 * gdb.base/break-interp-lib.c: Include string.h.
1177 * gdb.base/coremaker.c: Likewise.
1178 * gdb.base/testenv.c: Likewise.
1179 * gdb.python/py-finish-breakpoint.c: Likewise.
1180 * gdb.base/inferior-died.c: Include sys/wait.h.
1181 * gdb.base/fileio.c: Include time.h.
1182 * gdb.base/async-shell.c: Include unistd.h.
1183 * gdb.base/dprintf-non-stop.c: Likewise.
1184 * gdb.base/info-os.c: Likewise.
1185 * gdb.mi/mi-console.c: Likewise.
1186 * gdb.mi/watch-nonstop.c: Likewise.
1187 * gdb.python/py-events.c: Likewise.
1188 * gdb.base/async.c (baz): Move up before its invocation.
1189 * gdb.base/code_elim2.c (my_global_func): Likewise.
1190 * gdb.base/skip-solib-lib.c (multiply): Likewise.
1191 * gdb.base/advance.c (func2): Likewise.
1193 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1195 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
1197 * gdb.base/annota3.c: Likewise.
1198 * gdb.base/async.c: Likewise.
1199 * gdb.base/average.c: Likewise.
1200 * gdb.base/call-ar-st.c: Likewise.
1201 * gdb.base/call-rt-st.c: Likewise.
1202 * gdb.base/call-sc.c: Likewise.
1203 * gdb.base/call-strs.c: Likewise.
1204 * gdb.base/ending-run.c: Likewise.
1205 * gdb.base/execd-prog.c: Likewise.
1206 * gdb.base/exprs.c: Likewise.
1207 * gdb.base/foll-exec.c: Likewise.
1208 * gdb.base/foll-fork.c: Likewise.
1209 * gdb.base/foll-vfork.c: Likewise.
1210 * gdb.base/funcargs.c: Likewise.
1211 * gdb.base/gcore.c: Likewise.
1212 * gdb.base/jump.c: Likewise.
1213 * gdb.base/langs0.c: Likewise.
1214 * gdb.base/langs1.c: Likewise.
1215 * gdb.base/langs2.c: Likewise.
1216 * gdb.base/mips_pro.c: Likewise.
1217 * gdb.base/nodebug.c: Likewise.
1218 * gdb.base/opaque0.c: Likewise.
1219 * gdb.base/opaque1.c: Likewise.
1220 * gdb.base/recurse.c: Likewise.
1221 * gdb.base/run.c: Likewise.
1222 * gdb.base/scope0.c: Likewise.
1223 * gdb.base/scope1.c: Likewise.
1224 * gdb.base/setshow.c: Likewise.
1225 * gdb.base/setvar.c: Likewise.
1226 * gdb.base/shmain.c: Likewise.
1227 * gdb.base/shr1.c: Likewise.
1228 * gdb.base/shr2.c: Likewise.
1229 * gdb.base/sigall.c: Likewise.
1230 * gdb.base/signals.c: Likewise.
1231 * gdb.base/so-indr-cl.c: Likewise.
1232 * gdb.base/solib2.c: Likewise.
1233 * gdb.base/structs.c: Likewise.
1234 * gdb.base/sum.c: Likewise.
1235 * gdb.base/vforked-prog.c: Likewise.
1236 * gdb.base/watchpoint.c: Likewise.
1237 * gdb.reverse/shr2.c: Likewise.
1238 * gdb.reverse/until-reverse.c: Likewise.
1239 * gdb.reverse/ur1.c: Likewise.
1240 * gdb.reverse/watch-reverse.c: Likewise.
1242 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1244 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
1246 * gdb.base/sepdebug.exp: Drop references to removed code.
1248 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1250 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
1251 variant. Preserve original line numbering.
1252 * gdb.base/list1.c: Likewise.
1254 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1256 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
1258 * gdb.base/break1.c: Likewise.
1259 * gdb.base/break.exp: Drop references to removed code.
1261 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1263 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
1266 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1268 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
1270 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1272 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
1273 logic into perform_all_tests() and invoke it with and without
1274 function header prototypes.
1275 (do_function_calls): Remove conditional XFAIL for PR 5318.
1276 (rerun_and_prepare): Remove duplicate code.
1277 (perform_all_tests): New. Main logic moved here.
1279 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1281 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
1282 code guarded by #ifdef NO_PROTOTYPES.
1283 (t_double_many_args): Likewise.
1284 (DEF_FUNC_MANY_ARGS_1): Likewise.
1285 (DEF_FUNC_VALUES_1): Likewise.
1286 (t_structs_ldc): Renamed from t_structs_fc in conditional code
1287 guarded by #ifdef PROTOTYPES.
1289 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1291 * gdb.mi/mi-console.c: Add eye-catcher.
1292 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
1293 instead of literal line number.
1295 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1297 * gdb.base/shr2.c: Add eye-catcher.
1298 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
1301 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1303 * gdb.base/jump.c: Add eye-catchers.
1304 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
1307 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1309 * gdb.base/execd-prog.c: Add eye-catchers.
1310 * gdb.base/foll-exec.c: Likewise.
1311 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
1314 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1316 * gdb.base/ending-run.c: Add eye-catchers.
1317 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
1318 literal line numbers.
1320 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1322 * gdb.base/call-rt-st.c: Add eye-catchers.
1323 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
1324 literal line numbers.
1326 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1328 * gdb.base/call-ar-st.c: Add eye-catchers.
1329 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
1330 literal line numbers.
1332 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1334 * gdb.base/average.c: Add eye-catchers.
1335 * gdb.base/sum.c: Likewise.
1336 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
1337 regexps dynamically.
1339 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1341 * gdb.base/solib1.c: Add eye-catchers.
1342 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
1343 literal line numbers.
1345 2014-11-12 Pedro Alves <palves@redhat.com>
1347 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
1350 2014-11-12 Pedro Alves <palves@redhat.com>
1352 * gdb.arch/i386-bp_permanent.c: New file.
1353 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
1354 (srcfile): Set to i386-bp_permanent.c.
1355 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
1356 that stepi does not execute the 'leave' instruction, instead of
1357 testing it does execute.
1358 * gdb.base/bp-permanent.c: New file.
1359 * gdb.base/bp-permanent.exp: New file.
1361 2014-11-10 Doug Evans <xdje42@gmail.com>
1364 * gdb.base/symtab-search-order.exp: New file.
1365 * gdb.base/symtab-search-order.c: New file.
1366 * gdb.base/symtab-search-order-1.c: New file.
1367 * gdb.base/symtab-search-order-shlib-1.c: New file.
1369 2014-11-07 Pedro Alves <palves@redhat.com>
1372 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
1375 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
1378 * gdb.cp/pr17494.cc: New file.
1379 * gdb.cp/pr17494.exp: New file.
1381 2014-11-02 Yao Qi <yao@codesourcery.com>
1383 * gdb.python/python.exp: Get working directory and match the
1384 output of "set extended-prompt \\w " with it.
1386 2014-10-30 Doug Evans <dje@google.com>
1388 * gdb.python/py-objfile.exp: Add tests for setting random attributes
1390 * gdb.python/py-progspace.exp: Add tests for setting random attributes
1393 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
1395 * gdb.base/fullpath-expand.exp: Skip for a remote host.
1396 * gdb.base/realname-expand.exp: Likewise.
1397 * gdb.linespec/macro-relative.exp: Likewise.
1399 2014-10-29 Pedro Alves <palves@redhat.com>
1402 * gdb.threads/schedlock.c (some_function): New function.
1403 (call_function): New global.
1404 (MAYBE_CALL_SOME_FUNCTION): New macro.
1405 (thread_function): Call it.
1406 * gdb.threads/schedlock.exp (get_args): Add description parameter,
1407 and use it instead of a global counter. Adjust all callers.
1408 (get_current_thread): Use "find current thread" for test message
1409 here rather than having all callers pass down the same string.
1410 (goto_loop): New procedure, factored out from ...
1411 (my_continue): ... this.
1412 (step_ten_loops): Change parameter from test message to command to
1414 (list_count): Delete global.
1415 (check_result): New procedure, factored out from duplicate top
1417 (continue tests): Wrap in with_test_prefix.
1418 (test_step): New procedure, factored out from duplicate top level
1420 (top level): Test "step" in combination with all scheduler-locking
1421 modes. Test "next" in combination with all scheduler-locking
1422 modes, and in combination with stepping over a function call or
1424 * gdb.threads/next-bp-other-thread.c: New file.
1425 * gdb.threads/next-bp-other-thread.exp: New file.
1427 2014-10-29 Pedro Alves <palves@redhat.com>
1430 * gdb.python/python.exp: Test a multi-line command that spawns
1432 * gdb.base/multi-line-starts-subshell.exp: New file.
1434 2014-10-29 Yao Qi <yao@codesourcery.com>
1436 * gdb.base/fileio.exp: Make directories on host.
1438 2014-10-29 Yao Qi <yao@codesourcery.com>
1440 * gdb.base/fileio.c (test_write): Close the file.
1442 2014-10-28 Pedro Alves <palves@redhat.com>
1445 * gdb.base/sigstep.c (no_handler): New global.
1446 (main): If 'no_handler is true, set the signal handlers to
1448 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
1449 with_sw_watch and no_handler parameters. Handle them.
1450 (top level) <stepping over handler when stopped at a breakpoint
1451 test>: Add a test axis for testing with a software watchpoint, and
1452 another for testing with the signal handler set to SIG_IGN.
1453 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
1454 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
1456 2014-10-28 Pedro Alves <palves@redhat.com>
1459 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
1460 * gdb.base/sigstep.exp (other_handler_location): New global.
1461 (advance): Support stepping into the signal handler, and running
1462 commands while in the handler.
1463 (in_handler_map): New global.
1464 (top level): In the advance test, add combinations for getting
1465 into the handler with stepping commands, and for running commands
1466 in the handler. Add comment descripting the advancei tests.
1468 2014-10-28 Pedro Alves <palves@redhat.com>
1470 * gdb.base/sigstep.exp: Use build_executable instead of
1471 prepare_for_testing.
1472 (top level): Move code that starts GDB, runs to main and creates a
1474 (restart): ... this new procedure.
1475 (top level): Move backtrace from signal handler test to ...
1476 (validate_backtrace): ... this new procedure.
1477 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
1478 with_test_prefix. Always restart GDB.
1479 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
1480 with_test_prefix. Always restart GDB. No need to delete
1481 breakpoints after the test.
1482 (test_skip_handler): Remove prefix parameter.
1483 (skip_over_handler, breakpoint_to_handler)
1484 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
1485 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
1486 restart GDB. No need to delete breakpoints after the test.
1487 (top level): Use foreach to call the test procedures with
1490 2014-10-28 Pedro Alves <palves@redhat.com>
1492 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
1493 instead of GNATS numbers.
1494 * gdb.base/sigbpt.exp: Likewise.
1495 * gdb.base/siginfo.exp: Likewise.
1496 * gdb.base/sigstep.exp: Likewise.
1498 2014-10-27 Pedro Alves <palves@redhat.com>
1500 * gdb.base/sigstep.c (dummy): New global.
1501 (main): Issue a couple writes to the new global.
1502 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
1504 (skip_over_handler): Use test_skip_handler.
1505 (top level): Call skip_over_handler for stepi and nexti too.
1506 (breakpoint_over_handler): Use test_skip_handler.
1507 (top level): Call breakpoint_over_handler for stepi and nexti too.
1509 2014-10-27 Yao Qi <yao@codesourcery.com>
1511 * gdb.trace/tfile.c (adjust_function_address)
1512 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
1513 function descriptor.
1515 2014-10-24 Don Breazeal <donb@codesourcery.com>
1517 * gdb.base/foll-fork.exp (test_follow_fork,
1518 catch_fork_child_follow): Check for updated fork messages emitted
1520 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
1521 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
1522 vfork_and_exec_child_follow_through_step): Check for updated vfork
1523 messages emitted from infrun.c.
1525 2014-10-24 Pedro Alves <palves@redhat.com>
1527 * gdb.base/corefile.exp: Remove references to ultrix.
1528 * gdb.base/interrupt.exp: Likewise.
1529 * gdb.base/whatis.exp: Likewise.
1530 * gdb.gdb/selftest.exp: Likewise.
1531 * gdb.threads/manythreads.exp: Likewise.
1532 * gdb.threads/print-threads.exp: Likewise.
1533 * gdb.threads/pthreads.exp:: Likewise.
1534 * gdb.threads/schedlock.exp: Likewise.
1536 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
1538 * gdb.cp/non-trivial-retval.cc: Add a test case.
1539 * gdb.cp/non-trivial-retval.exp: Add a test.
1541 2014-10-20 Yao Qi <yao@codesourcery.com>
1543 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
1544 * gdb.python/py-objfile-script-gdb.py: New file.
1545 * gdb.python/py-objfile-script.exp: Update reference to
1546 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
1547 of remote_download. Remove the dest file.
1549 2014-10-20 Yao Qi <yao@codesourcery.com>
1551 * gdb.base/checkpoint.exp: Don't remove file copied on host.
1552 * gdb.base/step-line.exp: Likewise.
1553 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1554 * gdb.dwarf2/dw2-basic.exp: Likewise.
1555 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1556 * gdb.dwarf2/dw2-filename.exp: Likewise.
1557 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1558 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1559 * gdb.dwarf2/dw2-producer.exp: Likewise.
1560 * gdb.dwarf2/mac-fileno.exp: Likewise.
1561 * gdb.python/py-frame-args.exp: Likewise.
1562 * gdb.python/py-framefilter.exp: Likewise.
1563 * gdb.python/py-mi.exp: Likewise.
1564 * gdb.python/py-objfile-script.exp: Likewise
1565 * gdb.python/py-pp-integral.exp: Likewise.
1566 * gdb.python/py-pp-re-notag.exp: Likewise.
1567 * gdb.python/py-prettyprint.exp: Likewise.
1568 * gdb.python/py-section-script.exp: Likewise.
1569 * gdb.python/py-typeprint.exp: Likewise.
1570 * gdb.python/py-xmethods.exp: Likewise.
1571 * gdb.stabs/weird.exp: Likewise.
1572 * gdb.xml/tdesc-regs.exp: Likewise.
1574 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
1576 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
1577 (out_cu): Use addr_len for the size of addresses.
1578 (out_line): Likewise. Size DW_LNE_set_address instruction
1579 according to addr_len.
1580 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
1581 (FUNC): Add START_INSNS to definition.
1583 2014-10-18 Yao Qi <yao@codesourcery.com>
1585 * gdb.base/argv0-symlink.exp: Check argv[0] value if
1586 gdb_has_argv0 return true.
1587 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
1588 check [target_info exists noargs], check [gdb_has_argv0]
1590 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1591 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
1594 2014-10-17 Doug Evans <dje@google.com>
1596 * gdb.python/py-events.exp: Update expected output for clear_objfiles
1598 * gdb.python/py-events.py: Add clear_objfiles event.
1600 2014-10-17 Doug Evans <dje@google.com>
1602 * gdb.python/py-objfile.exp: Test progspace attribute.
1604 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
1606 * gdb.guile/scm-breakpoint.exp: Do not assume any
1607 directory separators when matching source file paths.
1608 * gdb.python/py-breakpoint.exp: Likewise.
1609 * gdb.reverse/break-precsave.exp: Likewise.
1610 * gdb.reverse/break-reverse.exp: Likewise.
1611 * gdb.reverse/consecutive-precsave.exp: Likewise.
1612 * gdb.reverse/finish-precsave.exp: Likewise.
1613 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
1614 * gdb.reverse/finish-reverse.exp: Likewise.
1615 * gdb.reverse/i386-precsave.exp: Likewise.
1616 * gdb.reverse/i387-env-reverse.exp: Likewise.
1617 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1618 * gdb.reverse/machinestate-precsave.exp: Likewise.
1619 * gdb.reverse/machinestate.exp: Likewise.
1620 * gdb.reverse/sigall-precsave.exp: Likewise.
1621 * gdb.reverse/solib-precsave.exp: Likewise.
1622 * gdb.reverse/step-precsave.exp: Likewise.
1623 * gdb.reverse/until-precsave.exp: Likewise.
1624 * gdb.reverse/watch-precsave.exp: Likewise.
1625 * gdb.reverse/watch-reverse.exp: Likewise.
1627 2014-10-17 Yao Qi <yao@codesourcery.com>
1629 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
1630 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
1632 2014-10-17 Pedro Alves <palves@redhat.com>
1635 * gdb.base/bg-execution-repeat.c: New file.
1636 * gdb.base/bg-execution-repeat.exp: New file.
1638 2014-10-17 Pedro Alves <palves@redhat.com>
1641 * gdb.base/continue-all-already-running.c: New file.
1642 * gdb.base/continue-all-already-running.exp: New file.
1644 2014-10-17 Pedro Alves <palves@redhat.com>
1647 * gdb.base/annota-input-while-running.c: New file.
1648 * gdb.base/annota-input-while-running.exp: New file.
1650 2014-10-17 Pedro Alves <palves@redhat.com>
1652 * gdb.base/callfuncs.exp: emove references to osf.
1653 * gdb.base/sigall.exp: Likewise.
1654 * gdb.gdb/selftest.exp: Likewise.
1655 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1656 * gdb.mi/non-stop.c: Likewise.
1657 * gdb.mi/pthreads.c: Likewise.
1658 * gdb.reverse/sigall-precsave.exp: Likewise.
1659 * gdb.reverse/sigall-reverse.exp: Likewise.
1660 * gdb.threads/pthreads.c: Likewise.
1661 * gdb.threads/pthreads.exp: Likewise.
1663 2014-10-17 Yao Qi <yao@codesourcery.com>
1665 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
1666 check 'target_info exists noargs'.
1667 (test_command_prompt_position): Likewise.
1668 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
1670 (progvar_simple_while_test): Likewise.
1671 (progvar_complex_if_while_test): Likewise.
1672 (if_while_breakpoint_command_test): Likewise.
1673 (infrun_breakpoint_command_test): Likewise.
1674 (breakpoint_command_test): Likewise.
1675 (watchpoint_command_test): Likewise.
1676 (bp_deleted_in_command_test): Likewise.
1677 (temporary_breakpoint_commands): Likewise.
1679 2014-10-16 Yao Qi <yao@codesourcery.com>
1681 * gdb.base/remotetimeout.exp: Remove noargs checking.
1683 2014-10-15 Pedro Alves <palves@redhat.com>
1686 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
1687 * gdb.base/breakpoint-in-ro-region.exp
1688 (probe_target_hardware_step): New procedure.
1689 (top level): Probe hardware stepping and hardware breakpoint
1690 support. Test stepping through a read-only region, with both
1691 "breakpoint auto-hw" on and off and both "always-inserted" on and
1694 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
1696 * gdb.dlang/demangle.exp: Update for demangling changes.
1698 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1700 * gdb.cp/non-trivial-retval.cc: Add new test cases.
1701 * gdb.cp/non-trivial-retval.exp: Add new tests.
1703 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1707 * gdb.cp/non-trivial-retval.cc: New file.
1708 * gdb.cp/non-trivial-retval.exp: New file.
1710 2014-10-15 Yao Qi <yao@codesourcery.com>
1712 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
1715 2014-10-15 Yao Qi <yao@codesourcery.com>
1717 * gdb.python/py-symbol.exp: Match file base name if host is
1718 remote, otherwise match file name with dir name.
1719 * gdb.python/py-symtab.exp: Likewise.
1720 * gdb.python/python.exp: Likewise.
1722 2014-10-15 Yao Qi <yao@codesourcery.com>
1724 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
1726 * gdb.python/py-symtab.exp: Likewise.
1727 * gdb.python/python.exp: Remove trailing ".*". Fix typo
1730 2014-10-14 Joel Brobecker <brobecker@adacore.com>
1732 * gdb.ada/addr_arith: New testcase.
1734 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
1736 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
1737 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
1738 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
1739 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
1741 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
1743 * gdb.arch/stap-eval-lang-ada.S: Likewise.
1744 * gdb.arch/stap-eval-lang-ada.c: Likewise.
1745 * gdb.arch/stap-eval-lang-ada.exp: New file.
1747 2014-10-14 Yao Qi <yao@codesourcery.com>
1749 * gdb.mi/mi-var-child.c (nothing1): New function.
1750 (nothing2): New function.
1751 (do_children_tests): Set function pointers by nothing1 and
1753 * gdb.mi/mi-var-child.exp: Step over new added statements.
1754 Update test to match the new output.
1755 * gdb.mi/var-cmd.c (nothing1): New function.
1756 (nothing2): New function.
1757 (do_children_tests): Set function pointers by nothing1 and
1759 * gdb.mi/mi-var-display.exp: Update test to match output.
1760 Step to the line specified by $line_dct_nothing.
1761 Increase the number of lines to step.
1763 2014-10-14 Yao Qi <yao@codesourcery.com>
1765 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
1767 * gdb.mi/mi2-var-child.exp: Likewise.
1769 2014-10-13 Doug Evans <dje@google.com>
1771 * gdb.python/py-objfile.exp: Change name of file name test.
1773 2014-10-13 Doug Evans <dje@google.com>
1775 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
1776 from the start of the CU.
1778 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1779 Yao Qi <yao@codesourcery.com>
1781 Fix "save breakpoints" for "catch" command.
1782 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
1783 Remove -nonewline. Match also the added "main" line.
1785 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1787 Fix "save breakpoints" for "disable $bpnum" command.
1788 * gdb.base/save-bp.c (main): Add label.
1789 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
1791 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1793 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
1795 2014-10-11 Yao Qi <yao@codesourcery.com>
1797 * gdb.server/server-kill.exp: Execute command
1798 "set remote trace-status-packet on" before "tstatus".
1800 2014-10-11 Yao Qi <yao@codesourcery.com>
1802 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
1803 (main): Call getppid.
1804 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
1805 and continue to it. Read variable "server_pid".
1807 2014-10-11 Yao Qi <yao@codesourcery.com>
1809 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
1811 2014-10-11 Yao Qi <yao@codesourcery.com>
1813 * gdb.threads/thread-find.exp: Don't execute command
1815 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
1816 * gdb.threads/linux-dp.exp: Don't check the condition
1817 $threads_created equals to zero.
1819 2014-10-10 Pedro Alves <palves@redhat.com>
1821 * gdb.base/bigcore.exp: Remove references to IRIX.
1822 * gdb.base/funcargs.exp: Likewise.
1823 * gdb.base/interrupt.exp: Likewise.
1824 * gdb.base/mips_pro.exp: Likewise.
1825 * gdb.base/nodebug.exp: Likewise.
1826 * gdb.base/setvar.exp: Likewise.
1827 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
1829 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1830 Pedro Alves <palves@redhat.com>
1833 * gdb.base/vdso-warning.c: New file.
1834 * gdb.base/vdso-warning.exp: New file.
1836 2014-10-02 Doug Evans <dje@google.com>
1838 * gdb.base/structs.c (main): Don't run forever.
1840 2014-10-02 Pedro Alves <palves@redhat.com>
1842 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
1843 (top level) <stop threads 1, stop threads 2>: Use it.
1845 2014-10-02 Pedro Alves <palves@redhat.com>
1847 * gdb.threads/break-while-running.exp (test): Add new
1848 'update_thread_list' argument. Skip "info threads" if false.
1849 (top level): Add new 'update_thread_list' axis.
1851 2014-10-02 Pedro Alves <palves@redhat.com>
1853 PR breakpoints/17431
1854 * gdb.base/execl-update-breakpoints.c: New file.
1855 * gdb.base/execl-update-breakpoints.exp: New file.
1857 2014-10-01 Pedro Alves <palves@redhat.com>
1859 * gdb.base/breakpoint-in-ro-region.c: New file.
1860 * gdb.base/breakpoint-in-ro-region.exp: New file.
1862 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
1864 * gdb.mi/mi-exit-code.exp: New file.
1865 * gdb.mi/mi-exit-code.c: New file.
1867 2014-09-30 Yao Qi <yao@codesourcery.com>
1869 * lib/prelink-support.exp (build_executable_own_libs): Error if
1870 the target isn't native.
1872 2014-09-30 Yao Qi <yao@codesourcery.com>
1874 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
1877 2014-09-22 Pedro Alves <palves@redhat.com>
1879 * gdb.threads/break-while-running.exp: New file.
1880 * gdb.threads/break-while-running.c: New file.
1882 2014-09-19 Yao Qi <yao@codesourcery.com>
1884 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
1885 Invoke test. Restart GDB with --readnow and invoke test again.
1887 2014-09-19 Yao Qi <yao@codesourcery.com>
1889 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
1890 proc set_breakpoint_on_gcd_function. Invoke
1891 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
1892 invoke set_breakpoint_on_gcd_function again.
1894 2014-09-18 Doug Evans <dje@google.com>
1896 * gdb.dwarf2/symtab-producer.exp: New file.
1898 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1900 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
1901 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
1902 * gdb.base/global-var-nested-by-dso.c: Likewise.
1903 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1905 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1906 Pedro Alves <palves@redhat.com>
1908 * gdb.base/watch-bitfields.exp: Pass string other than test file
1909 name to prepare_for_testing.
1910 (watch): New procedure.
1911 (expect_watchpoint): Use with_test_prefix.
1912 (top level): Factor out tests to ...
1913 (test_watch_location, test_regular_watch): ... these new
1914 procedures, and use with_test_prefix and gdb_continue_to_end.
1916 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
1918 PR breakpoints/12526
1919 * gdb.base/watch-bitfields.exp: New file.
1920 * gdb.base/watch-bitfields.c: New file.
1922 2014-09-16 Pedro Alves <palves@redhat.com>
1924 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
1925 software and hardware addresses, not software address against
1928 2014-09-16 Pedro Alves <palves@redhat.com>
1930 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
1931 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
1933 2014-09-16 Pedro Alves <palves@redhat.com>
1935 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
1937 * gdb.base/a2-run.exp: Remove all code guarded by istarget
1938 "*-*-vxworks*" throughout.
1939 * gdb.base/break.exp: Likewise.
1940 * gdb.base/default.exp: Likewise.
1941 * gdb.base/scope.exp: Likewise.
1942 * gdb.base/sepdebug.exp: Likewise.
1943 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
1945 * gdb.base/run.c: Likewise.
1946 * gdb.base/sepdebug.c: Likewise.
1947 * gdb.hp/gdb.aCC/run.c: Likewise.
1948 * gdb.reverse/until-reverse.c: Likewise.
1949 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
1951 2014-09-16 Yao Qi <yao@codesourcery.com>
1953 * boards/local-remote-host-native.exp: New file.
1955 2014-09-14 Doug Evans <xdje42@gmail.com>
1957 * gdb.threads/queue-signal.c (thread_count): New variable.
1958 (thread_count_mutex, thread_count_condvar): New variables.
1959 (incr_thread_count, wait_all_threads_running): New functions.
1960 (main): Wait for all threads to be in their thread functions.
1962 2014-09-13 Doug Evans <xdje42@gmail.com>
1964 * gdb.threads/queue-signal.c: New file.
1965 * gdb.threads/queue-signal.exp: New file.
1967 2014-09-13 Doug Evans <xdje42@gmail.com>
1969 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
1970 be consistent with what default_gdb_init uses.
1971 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
1972 the plain text of the prompt. Add some logging printfs.
1973 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
1975 2014-09-12 Pedro Alves <palves@redhat.com>
1977 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
1978 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
1979 * gdb.arch/i386-size-overlap.exp: Likewise.
1980 * gdb.arch/i386-size.exp: Likewise.
1981 * gdb.arch/i386-unwind.exp: Likewise.
1982 * gdb.base/a2-run.exp: Likewise.
1983 * gdb.base/break.exp: Likewise.
1984 * gdb.base/charset.exp: Likewise.
1985 * gdb.base/chng-syms.exp: Likewise.
1986 * gdb.base/commands.exp: Likewise.
1987 * gdb.base/dbx.exp: Likewise.
1988 * gdb.base/find.exp: Likewise.
1989 * gdb.base/funcargs.exp: Likewise.
1990 * gdb.base/jit-simple.exp: Likewise.
1991 * gdb.base/reread.exp: Likewise.
1992 * gdb.base/sepdebug.exp: Likewise.
1993 * gdb.base/step-bt.exp: Likewise.
1994 * gdb.cp/mb-inline.exp: Likewise.
1995 * gdb.cp/mb-templates.exp: Likewise.
1996 * gdb.objc/basicclass.exp: Likewise.
1997 * gdb.threads/killed.exp: Likewise.
1999 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2002 * gdb.arch/powerpc-stackless.S: New file.
2003 * gdb.arch/powerpc-stackless.exp: New file.
2005 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2007 * gdb.base/attach.c: Include unistd.h.
2008 (main): Call alarm. Add label postloop.
2009 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
2010 gdb_breakpoint, gdb_continue_to_breakpoint.
2011 (test_command_line_attach_run): Kill ${testpid} in one exit path.
2013 2014-09-11 Pedro Alves <palves@redhat.com>
2016 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
2017 * gdb.base/attach.exp (test_command_line_attach_run): New
2019 (top level): Call it.
2021 2014-09-11 Pedro Alves <palves@redhat.com>
2023 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
2024 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
2025 (do_command_attach_tests): Use spawn_wait_for_attach.
2026 * gdb.base/solib-overlap.exp: Likewise.
2027 * gdb.multi/multi-attach.exp: Likewise.
2028 * gdb.python/py-prompt.exp: Likewise.
2029 * gdb.python/py-sync-interp.exp: Likewise.
2030 * gdb.server/ext-attach.exp: Likewise.
2032 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
2034 * gdb.fortran/array-element.exp: Remove unexpected "continue"
2035 command in testcase. Simplify testcase.
2037 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2039 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
2041 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2043 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
2045 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2047 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
2049 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2051 * gdb.dwarf2/dynarr-ptr.c: New file.
2052 * gdb.dwarf2/dynarr-ptr.exp: New file.
2054 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2056 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
2057 of 30 rather than hardcoding 120 for a slow test case. Take the
2058 `gdb,timeout' target setting into account for this calculation.
2059 Don't extend the timeout for the test cases that don't need it.
2061 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2063 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
2064 a factor of 2 for a slow test case. Take the `gdb,timeout'
2065 target setting into account for this calculation.
2066 * gdb.reverse/until-precsave.exp: Increase the timeout by
2067 a factor of 15 and 3 respectively rather than adding 120
2068 for a pair of slow test cases. Take the `gdb,timeout'
2069 target setting into account for this calculation.
2071 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2073 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
2074 timeout, don't pass one down to gdb_expect.
2075 (gdb_expect): Rework timeout selection.
2077 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2079 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
2080 exception on timeout.
2081 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
2082 (gdbserver_start_extended): Catch any `gdbserver_start' error
2084 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
2085 * lib/mi-support.exp (mi_gdb_target_load): Catch any
2086 `gdbserver_gdb_load' error exceptions.
2088 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2090 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
2091 120 on waiting for the TCP socket to open.
2093 2014-09-09 Doug Evans <xdje42@gmail.com>
2095 * gdb.base/default.exp (show_conv_list): Add _caller_is,
2096 _caller_matches, _any_caller_is, _any_caller_matches.
2098 2014-09-09 Doug Evans <xdje42@gmail.com>
2100 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
2102 2014-09-09 Yao Qi <yao@codesourcery.com>
2104 * gdb.mi/mi-var-display.exp: Set print symbol off.
2106 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
2109 * gdb.base/commands.exp: Add tests to verify user-defined
2110 commands with empty bodies.
2111 * gdb.python/py-cmd.exp: Test that we don't show user-defined
2112 python commands in `show user command`.
2113 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
2114 scheme commands in `show user command`.
2116 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2119 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
2120 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
2121 * gdb.python/py-framefilter-invalidarg.exp: New file.
2122 * gdb.python/py-framefilter-invalidarg.py: New file.
2124 2014-09-06 Doug Evans <xdje42@gmail.com>
2127 * gdb.python/py-caller-is.c: New file.
2128 * gdb.python/py-caller-is.exp: New file.
2130 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
2133 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
2134 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
2136 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
2139 * gdb.fortran/print-formatted.exp: New file.
2140 * gdb.fortran/print-formatted.f90: Likewise.
2142 2014-09-03 Sasha Smundak <asmundak@google.com>
2144 * gdb.python/py-frame.exp: Test Frame.read_register.
2146 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2149 * gdb.python/py-completion.exp: New file.
2150 * gdb.python/py-completion.py: Likewise.
2152 2014-08-28 Doug Evans <dje@google.com>
2154 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
2155 eax,etc. are live with values set by gdb and thus the compiler can't
2157 * gdb.arch/i386-pseudo.c (main): Ditto.
2159 2014-08-27 Doug Evans <dje@google.com>
2161 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
2163 2014-08-25 Doug Evans <dje@google.com>
2165 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
2168 2014-08-25 Doug Evans <dje@google.com>
2170 * gdb.threads/thread-execl.exp: #include <stdio.h>.
2172 2014-08-24 Yao Qi <yao@codesourcery.com>
2174 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
2176 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
2178 2014-08-22 Doug Evans <dje@google.com>
2181 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
2182 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
2183 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
2185 2014-08-22 Yao Qi <yao@codesourcery.com>
2187 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
2188 * gdb.python/py-finish-breakpoint2.exp: Likewise.
2189 * gdb.python/python.exp: Likewise. Use .py file on the host
2190 instead of the build.
2192 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2194 * gdb.threads/gcore-stale-thread.c: New file.
2195 * gdb.threads/gcore-stale-thread.exp: New file.
2197 2014-08-21 Pedro Alves <palves@redhat.com>
2199 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
2200 * gdb.base/gcore-relro-pie.exp: Likewise.
2201 * gdb.base/gcore-relro.exp: Likewise.
2202 * gdb.base/gcore.exp: Likewise.
2203 * gdb.base/print-symbol-loading.exp: Likewise.
2204 * gdb.threads/gcore-thread.exp: Likewise.
2205 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
2207 2014-08-20 Pedro Alves <palves@redhat.com>
2208 Jan Kratochvil <jan.kratochvil@redhat.com>
2210 * Makefile.in (EXTRA_RULES, CC): New variables, get from
2212 (EXPECT): Handle READ1 being set.
2213 (all): Depend on EXTRA_RULES.
2214 (check-read1, expect-read1, read1.so, read1): New rules.
2215 * README (Testsuite Parameters): Document the READ1 make variable.
2216 (Race detection): New section.
2217 * configure: Regenerate.
2218 * configure.ac: If build==host==target, and running under a
2219 GNU/glibc system, add read1 to the extra Makefile rules.
2220 (EXTRA_RULES): AC_SUBST it.
2221 * lib/read1.c: New file.
2223 2014-08-20 Joel Brobecker <brobecker@adacore.com>
2225 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
2226 the handling of variables declared as a typedef to an array
2227 which a DW_AT_data_location attribute.
2229 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
2230 Pedro Alves <palves@redhat.com>
2234 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
2237 2014-08-19 Pedro Alves <palves@redhat.com>
2239 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
2241 2014-08-19 Yao Qi <yao@codesourcery.com>
2243 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
2246 2014-08-18 David Blaikie <dblaikie@gmail.com>
2248 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
2250 2014-08-18 Joel Brobecker <brobecker@adacore.com>
2252 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
2253 attribute in array range.
2255 2014-08-18 Joel Brobecker <brobecker@adacore.com>
2257 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
2259 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2262 * gdb.cp/pr17132.cc: New file.
2263 * gdb.cp/pr17132.exp: New file.
2265 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2267 * gdb.python/py-xmethods.py (A_getarrayind)
2268 (E_method_char_worker.__call__, E_method_int_worker.__call__):
2269 Use 'print' with function call syntax.
2270 (E_method_matcher.match): Fix tab vs space indentation mixup.
2272 2014-08-15 Yao Qi <yao@codesourcery.com>
2274 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
2277 2014-08-15 Yao Qi <yao@codesourcery.com>
2279 * gdb.cp/casts.exp: Set print symbol off.
2280 * gdb.cp/class2.exp: Likewise.
2281 * gdb.cp/overload.exp: Likewise.
2282 * gdb.cp/templates.exp: Likewise.
2284 2014-08-11 Doug Evans <dje@google.com>
2286 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2287 (test_load_shlib): Update.
2289 2014-08-09 Yao Qi <yao@codesourcery.com>
2291 * gdb.base/display.exp: Invoke is_address_zero_readable.
2292 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
2293 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2294 * gdb.base/hbreak-unmapped.exp: Return if
2295 is_address_zero_readable returns true.
2296 * gdb.base/signest.exp: Likewise.
2297 * gdb.base/signull.exp: Likewise.
2298 * gdb.base/sigbpt.exp: Likewise.
2299 * gdb.guile/scm-disasm.exp: Do the test if
2300 is_address_zero_readable returns false.
2301 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
2302 * gdb.python/py-arch.exp: Likewise.
2303 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
2304 * lib/gdb.exp (is_address_zero_readable): New proc.
2306 2014-08-09 Yao Qi <yao@codesourcery.com>
2309 * gdb.mi/mi-var-display.exp: Make test messages unique.
2311 2014-08-04 Tom Tromey <tromey@redhat.com>
2313 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
2316 2014-08-04 Tom Tromey <tromey@redhat.com>
2318 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
2321 2014-08-01 Joel Brobecker <brobecker@adacore.com>
2323 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
2324 inner_vla_struct_object_size.
2325 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
2328 2014-07-30 Pedro Alves <palves@redhat.com>
2330 * gdb.threads/signal-command-handle-nopass.exp (test): Add
2333 2014-07-29 Yao Qi <yao@codesourcery.com>
2336 * gdb.base/until-nodebug.exp: New.
2338 2014-07-28 Doug Evans <xdje42@gmail.com>
2341 * gdb.guile/scm-parameter.exp: Add tests for trying to create
2342 previously existing parameter, and previously ambiguously spelled
2345 2014-07-28 Will Newton <will.newton@linaro.org>
2347 * gdb.base/varargs.exp: Remove KFAILs for ARM.
2349 2014-07-26 Ludovic Courtès <ludo@gnu.org>
2350 Doug Evans <xdje42@gmail.com>
2353 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
2355 2014-07-25 Pedro Alves <palves@redhat.com>
2357 * gdb.threads/signal-command-handle-nopass.c: New file.
2358 * gdb.threads/signal-command-handle-nopass.exp: New file.
2359 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
2360 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
2361 * gdb.threads/signal-delivered-right-thread.c: New file.
2362 * gdb.threads/signal-delivered-right-thread.exp: New file.
2364 2014-07-25 Pedro Alves <palves@redhat.com>
2366 * gdb.base/double-prompt-target-event-error.exp
2367 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
2369 (cancel_pagination_in_target_event): Rework double prompt
2371 * gdb.base/paginate-after-ctrl-c-running.exp
2372 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
2374 * gdb.base/paginate-bg-execution.exp
2375 (test_bg_execution_pagination_return)
2376 (test_bg_execution_pagination_cancel): Remove '-notransfer
2378 * gdb.base/paginate-execution-startup.exp
2379 (test_fg_execution_pagination_return)
2380 (test_fg_execution_pagination_cancel): Remove '-notransfer
2382 * gdb.base/paginate-inferior-exit.exp
2383 (test_paginate_inferior_exited): Remove '-notransfer <return>'
2385 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
2386 * lib/gdb.exp (pagination_prompt): Run text through
2388 (gdb_test_multiple): Match $pagination_prompt instead of
2390 (string_to_regexp): Move to lib/gdb-utils.exp.
2392 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2394 * gdb.arch/amd64-entry-value-paramref.S: New file.
2395 * gdb.arch/amd64-entry-value-paramref.cc: New file.
2396 * gdb.arch/amd64-entry-value-paramref.exp: New file.
2397 * gdb.arch/amd64-optimout-repeat.S: New file.
2398 * gdb.arch/amd64-optimout-repeat.c: New file.
2399 * gdb.arch/amd64-optimout-repeat.exp: New file.
2401 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2404 * gdb.base/statistics.exp: New file.
2406 2014-07-17 Doug Evans <dje@google.com>
2409 * gdb.base/maint.exp: Update testing of per-command stats.
2411 2014-07-16 Pedro Alves <palves@redhat.com>
2413 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
2414 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
2415 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
2416 (tfile_write_buf): New functions.
2417 (add_memory_block): Rewrite using the above.
2418 (adjust_function_address): New function.
2419 (FUNCTION_ADDRESS): New macro.
2420 (write_basic_trace_file): Remove short_x local, and use
2421 tfile_write_16. Change type of func_addr local to unsigned long
2422 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
2423 here. Cast argument of add_memory_block to char pointer.
2424 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
2425 (main): Remove parameters.
2426 * gdb.trace/tfile.exp: Remove nowarnings.
2428 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
2430 * gdb.base/debug-expr.exp: Test string evaluation with
2431 "debug expression" on.
2433 2014-07-15 Pedro Alves <palves@redhat.com>
2435 * gdb.base/reread.exp: Use clean_restart.
2437 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
2439 * gdb.arch/avr-flash-qualifer.c: New.
2440 * gdb.arch/avr-flash-qualifer.exp: New.
2442 2014-07-14 Pedro Alves <palves@redhat.com>
2444 * gdb.base/paginate-after-ctrl-c-running.c: New file.
2445 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
2447 2014-07-14 Pedro Alves <palves@redhat.com>
2449 * gdb.base/double-prompt-target-event-error.c: New file.
2450 * gdb.base/double-prompt-target-event-error.exp: New file.
2452 2014-07-14 Pedro Alves <palves@redhat.com>
2455 * gdb.base/paginate-inferior-exit.c: New file.
2456 * gdb.base/paginate-inferior-exit.exp: New file.
2458 2014-07-14 Pedro Alves <palves@redhat.com>
2461 * gdb.base/paginate-bg-execution.c: New file.
2462 * gdb.base/paginate-bg-execution.exp: New file.
2464 2014-07-14 Pedro Alves <palves@redhat.com>
2467 * gdb.base/paginate-execution-startup.c: New file.
2468 * gdb.base/paginate-execution-startup.exp: New file.
2469 * lib/gdb.exp (pagination_prompt): New global.
2470 (default_gdb_spawn): New procedure, factored out from
2472 (default_gdb_start): Adjust to call default_gdb_spawn.
2473 (gdb_spawn): New procedure.
2475 2014-07-14 Pedro Alves <palves@redhat.com>
2477 * lib/gdb.exp (gdb_assert): New procedure.
2478 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
2480 2014-07-14 Pedro Alves <palves@redhat.com>
2482 * gdb.base/execution-termios.c: New file.
2483 * gdb.base/execution-termios.exp: New file.
2485 2014-07-14 Tom Tromey <tromey@redhat.com>
2487 * gdb.cp/vla-cxx.cc: New file.
2488 * gdb.cp/vla-cxx.exp: New file.
2490 2014-07-14 Tom Tromey <tromey@redhat.com>
2492 * gdb.reverse/rerun-prec.c: New file.
2493 * gdb.reverse/rerun-prec.exp: New file.
2495 2014-07-12 Maciej W. Rozycki <macro@mips.com>
2496 Maciej W. Rozycki <macro@codesourcery.com>
2498 * lib/gdb-utils.exp: New file.
2499 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
2500 inline `gdb_init_command' processing.
2501 (gdb_start_cmd): Likewise.
2502 * lib/mi-support.exp (mi_run_cmd): Likewise.
2503 * README: Document `gdb_init_command' and `gdb_init_commands'.
2505 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2507 Fix false FAIL running under a very long directory name.
2508 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
2509 and "set print elements 10000". Twice.
2511 2014-07-11 Yao Qi <yao@codesourcery.com>
2513 * gdb.base/exprs.exp: "set print symbol off".
2515 2014-07-11 Pedro Alves <palves@redhat.com>
2517 * gdb.threads/kill.c: New file.
2518 * gdb.threads/kill.exp: New file.
2520 2014-07-10 Yao Qi <yao@codesourcery.com>
2522 * gdb.trace/tfile.c (write_basic_trace_file)
2523 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
2524 address written to trace file.
2526 2014-07-09 Pedro Alves <palves@redhat.com>
2528 * gdb.base/attach-wait-input.exp: New file.
2529 * gdb.base/attach-wait-input.c: New file.
2531 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2533 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
2534 setting up test structures.
2535 (main): Call new test function.
2536 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
2537 test function, continue into test function and walk test
2540 2014-07-02 Yao Qi <yao@codesourcery.com>
2542 * gdb.trace/entry-values.c: Define labels 'foo_start' and
2543 'bar_start' at the beginning of functions 'foo' and 'bar'
2545 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
2546 instead of 'foo' and 'bar'.
2548 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
2550 * gdb.btrace/segv.exp: New.
2551 * gdb.btrace/segv.c: New.
2553 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
2555 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
2558 2014-06-30 Mark Wielaard <mjw@redhat.com>
2560 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
2561 vulture, vilify, villar): New volatile array constants.
2562 (vindictive, vegetation): New const volatile array constants.
2563 * gdb.base/volatile.exp: Test volatile and const volatile array
2566 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2568 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
2569 target lacks support for awatch, rwatch, or hbreak.
2571 2014-06-27 Yao Qi <yao@codesourcery.com>
2573 * gdb.multi/dummy-frame-restore.exp: New.
2574 * gdb.multi/dummy-frame-restore.c: New.
2576 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2578 * gdb.btrace/gcore.exp: New.
2580 2014-06-23 Pedro Alves <palves@redhat.com>
2582 * gdb.base/watchpoint-reuse-slot.c: New file.
2583 * gdb.base/watchpoint-reuse-slot.exp: New file.
2585 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
2587 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
2588 progspace's filename in 'info', 'enable' and 'disable' command
2591 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2593 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
2594 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2595 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
2597 2014-06-20 Gary Benson <gbenson@redhat.com>
2599 * gdb.arch/i386-avx.exp: Fix include file location.
2600 * gdb.arch/i386-sse.exp: Likewise.
2602 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
2604 * gdb.dlang/expression.exp: New file.
2606 2014-06-19 Pedro Alves <palves@redhat.com>
2608 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
2610 (top level): ... here. Iterate running tests under different
2611 scheduler-locking settings.
2613 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
2615 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
2616 to DW_FORM_addr and use non-zero addresses.
2618 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
2621 * gdb.python/py-xmethods.cc: Add global function call counters and
2622 increment them in their respective functions. Remove "cout"
2624 * gdb.python/py-xmethods.exp: Make tests check the global function
2625 call counters instead of depending on inferior IO.
2627 2014-06-18 Don Breazeal <donb@codesourcery.com>
2629 * gdb.base/foll-fork.exp (default_fork_parent_follow):
2631 (explicit_fork_parent_follow): Deleted procedure.
2632 (explicit_fork_child_follow): Deleted procedure.
2633 (test_follow_fork): New procedure.
2634 (do_fork_tests): Replace calls to deleted procedures with
2635 calls to test_follow_fork and reset GDB for subsequent
2638 2014-06-17 Yao Qi <yao@codesourcery.com>
2640 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
2643 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
2645 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
2646 Initialize ptr and S explicitly.
2647 (skip_type_update_when_not_use_rtti_test): Likewise.
2649 2014-06-16 Keith Seitz <keiths@redhat.com>
2652 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
2653 the inferior is started.
2655 2014-06-16 Pedro Alves <palves@redhat.com>
2657 * gdb.base/break-main-file-remove-fail.c: New file.
2658 * gdb.base/break-main-file-remove-fail.exp: New file.
2659 * gdb.base/break-unload-file.exp: Use build_executable instead of
2660 prepare_for_testing.
2661 (test_break): New parameter "initial_load". Handle it.
2662 (top level): Add initial_load cmdline/file axis.
2664 2014-06-12 Tom Tromey <tromey@redhat.com>
2666 * gdb.base/completion.exp: Don't use directory name in test.
2668 2014-06-09 Gary Benson <gbenson@redhat.com>
2670 * gdb.base/sigall.c [Functions to send signals]: Reorder to
2671 separate the always-available ANSI-standard signals from the
2672 signals that require checking.
2674 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
2678 2014-06-07 Keith Seitz <keiths@redhat.com>
2682 * gdb.cp/var-tag.cc: New file.
2683 * gdb.cp/var-tag.exp: New file.
2684 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2685 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2686 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2687 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2689 2014-06-06 Doug Evans <xdje42@gmail.com>
2691 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
2693 2014-06-06 Pedro Alves <palves@redhat.com>
2695 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
2696 in target debug output instead of looking at RSP packets,
2697 disabling the test on any target that uses hardware stepping.
2700 2014-06-06 Pedro Alves <palves@redhat.com>
2702 * gdb.base/break-unload-file.exp: Fix typo.
2704 2014-06-06 Yao Qi <yao@codesourcery.com>
2706 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
2707 from "jit_function" to "^jit_function".
2709 2014-06-06 Yao Qi <yao@codesourcery.com>
2711 * gdb.base/async.c (foo): Add one statement.
2712 * gdb.base/async.exp: Get the next instruction address and
2713 match the output of "nexti" by instruction address. Match
2714 the hex address in the output of "finish".
2716 2014-06-06 Gary Benson <gbenson@redhat.com>
2718 * gdb.base/call-signals.c: Remove preprocessor conditionals
2719 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
2720 SIGSEGV and SIGTERM.
2721 * gdb.base/sigall.c: Likewise.
2722 * gdb.base/unwindonsignal.c: Likewise.
2723 * gdb.reverse/sigall-reverse.c: Likewise.
2725 2014-06-06 Yao Qi <yao@codesourcery.com>
2727 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
2728 readable, skip the test.
2730 2014-06-06 Yao Qi <yao@codesourcery.com>
2732 * gdb.threads/staticthreads.c (thread_function): Move the line
2733 setting breakpoint on forward.
2734 * gdb.threads/staticthreads.exp: Update comments.
2736 2014-06-05 Ludovic Courtès <ludo@gnu.org>
2738 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
2739 "history-append! type error".
2741 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
2743 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
2744 erroneous dprintf expected input.
2746 2014-06-04 Doug Evans <xdje42@gmail.com>
2748 * gdb.guile/scm-generics.exp: Delete.
2750 2014-06-04 Doug Evans <xdje42@gmail.com>
2752 * gdb.guile/scm-breakpoint.exp: Update.
2753 Add tests for breakpoint registration.
2755 2014-06-04 Tom Tromey <tromey@redhat.com>
2757 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
2759 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
2760 inner_vla_struct, vla_union types. Initialize objects of those
2761 types and compute their sizes.
2763 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
2764 Hui Zhu <hui@codesourcery.com>
2766 * gdb.base/fileio.exp: Add test for shell not available as well as
2768 * gdb.base/fileio.c (test_system): Check for shell twice.
2770 2014-06-04 Yao Qi <yao@codesourcery.com>
2772 * gdb.base/auto-connect-native-target.exp: Remove redundant
2773 space from the regexp pattern.
2775 2014-06-04 Yao Qi <yao@codesourcery.com>
2777 * gdb.base/default.exp: Replace "child" with "native" in
2780 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
2782 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
2783 * gdb.python/py-xmethods.exp: New tests to test xmethods.
2784 * gdb.python/py-xmethods.py: Python script supporting the
2785 new testcase and tests.
2787 2014-06-03 Joel Brobecker <brobecker@adacore.com>
2788 Pedro Alves <palves@redhat.com>
2790 PR breakpoints/17000
2791 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
2792 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
2794 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
2796 * gdb.base/subst.exp: Add tests to verify partial path matching
2799 2014-06-03 Pedro Alves <palves@redhat.com>
2801 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
2802 target that doesn't use software single-stepping.
2804 2014-06-03 Pedro Alves <palves@redhat.com>
2806 PR breakpoints/17000
2807 * gdb.base/sss-bp-on-user-bp-2.c: New file.
2808 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
2810 2014-06-02 Doug Evans <xdje42@gmail.com>
2812 * gdb.guile/scm-parameter.exp: New file.
2814 2014-06-02 Doug Evans <xdje42@gmail.com>
2816 * gdb.guile/scm-cmd.c: New file.
2817 * gdb.guile/scm-cmd.exp: New file.
2819 2014-06-02 Doug Evans <xdje42@gmail.com>
2821 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
2822 pretty-printer lookup.
2823 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
2824 (make-pp_s-printer): Call it.
2825 (make-pretty-printer-from-dict): New function.
2826 (lookup-pretty-printer-maker-from-dict): New function.
2827 (*pretty-printer*): Simplify.
2828 (make-objfile-pp_s-printer): New function.
2829 (install-objfile-pretty-printers!): New function.
2830 (make-progspace-pp_s-printer): New function.
2831 (install-progspace-pretty-printers!): New function.
2832 * gdb.guile/scm-progspace.c: New file.
2833 * gdb.guile/scm-progspace.exp: New file.
2835 2014-06-02 Pedro Alves <palves@redhat.com>
2837 * gdb.base/dprintf-bp-same-addr.c: New file.
2838 * gdb.base/dprintf-bp-same-addr.exp: New file.
2840 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2842 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
2843 * gdb.arch/powerpc-power.s: Likewise.
2845 2014-06-02 Joel Brobecker <brobecker@adacore.com>
2847 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
2849 2014-06-01 Yao Qi <yao@codesourcery.com>
2851 * gdb.base/watchpoint.exp (test_watch_location): Check null
2852 pointer can be dereferenced. If not, do the test, otherwise
2855 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
2857 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
2859 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
2861 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
2863 * gdb.arch/amd64-invalid-stack-middle.S: New file.
2864 * gdb.arch/amd64-invalid-stack-middle.c: New file.
2865 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
2866 * gdb.arch/amd64-invalid-stack-top.c: New file.
2867 * gdb.arch/amd64-invalid-stack-top.exp: New file.
2869 2014-05-30 Pedro Alves <palves@redhat.com>
2871 PR breakpoints/17000
2872 * gdb.base/sss-bp-on-user-bp.c: New file.
2873 * gdb.base/sss-bp-on-user-bp.exp: New file.
2875 2014-05-30 David Blaikie <dblaikie@gmail.com>
2877 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
2878 gnu_inline semantics via attribute.
2879 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
2880 source explicitly specifies the required semantics.
2882 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
2884 * gdb.reverse/sigall-reverse.exp: Fix a typo.
2886 2014-05-29 Pedro Alves <palves@redhat.com>
2887 Tom Tromey <tromey@redhat.com>
2889 * gdb.base/async-shell.exp: Don't enable target-async.
2890 * gdb.base/async.exp
2891 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
2893 (top level): Don't test with "target-async".
2894 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
2895 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
2896 * gdb.base/inferior-died.exp: Don't enable target-async.
2897 * gdb.base/interrupt-noterm.exp: Likewise.
2898 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
2899 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2900 * gdb.mi/mi-nonstop.exp: Likewise.
2901 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2902 * gdb.mi/mi-nsintrall.exp: Likewise.
2903 * gdb.mi/mi-nsmoribund.exp: Likewise.
2904 * gdb.mi/mi-nsthrexec.exp: Likewise.
2905 * gdb.mi/mi-watch-nonstop.exp: Likewise.
2906 * gdb.multi/watchpoint-multi.exp: Adjust comment.
2907 * gdb.python/py-evsignal.exp: Don't enable target-async.
2908 * gdb.python/py-evthreads.exp: Likewise.
2909 * gdb.python/py-prompt.exp: Likewise.
2910 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
2911 * gdb.server/solib-list.exp: Don't enable target-async.
2912 * gdb.threads/thread-specific-bp.exp: Likewise.
2913 * lib/mi-support.exp: Adjust to use mi-async.
2915 2014-05-29 Pedro Alves <palves@redhat.com>
2918 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
2919 reason, even in sync mode.
2921 2014-05-29 Pedro Alves <palves@redhat.com>
2922 Hui Zhu <hui@codesourcery.com>
2925 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
2926 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
2927 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
2928 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
2930 2014-05-28 Joel Brobecker <brobecker@adacore.com>
2932 * config/monitor.exp (gdb_target_monitor): Replace use of
2933 "set remotebaud" by "set serial baud".
2935 2014-05-26 Andy Wingo <wingo@igalia.com>
2937 * gdb.guile/scm-breakpoint.exp:
2938 * gdb.guile/scm-gsmob.exp: Update to use plain old object
2939 properties instead of gdb-object-properties.
2941 2014-05-26 Yao Qi <yao@codesourcery.com>
2943 * gdb.server/no-thread-db.exp: Specify source file name
2944 explicitly when setting a breakpoint.
2946 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2948 * gdb.btrace/vdso.c: New.
2949 * gdb.btrace/vdso.exp: New.
2951 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2953 * gdb.base/gcore.exp (capture_command_output): Move ...
2954 * lib/gdb.exp (capture_command_output): ... here.
2956 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2958 * gdb.btrace/data.exp: Test memory access during btrace replay.
2960 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
2962 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
2964 2014-05-21 Pedro Alves <palves@redhat.com>
2967 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
2968 (top level): Test that output related to execution commands is
2969 sent to the console with CLI commands, but not with MI commands.
2970 Test that breakpoint events are always mirrored to the console.
2971 Also expect the new source line to be output after a "next" in
2972 async mode too. Make it a pass/fail test.
2973 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
2975 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
2977 2014-05-21 Pedro Alves <palves@redhat.com>
2979 * gdb.base/list.exp (build_pattern, test_list): New procedures.
2980 Use them to test variations of "list" after reaching a breakpoint.
2981 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
2982 Test "list" with listsize 10 after reaching a breakpoint.
2983 * gdb.python/python.exp (decode_line current location line
2984 number): Adjust expected line number.
2986 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
2988 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
2989 behavior for $args, pass it directly to "run".
2991 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
2993 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
2996 2014-05-21 Pedro Alves <palves@redhat.com>
2998 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
2999 auto-connect-native-target off".
3000 * gdb.base/auto-connect-native-target.c: New file.
3001 * gdb.base/auto-connect-native-target.exp: New file.
3003 2014-05-21 Pedro Alves <palves@redhat.com>
3005 * gdb.base/default.exp: Test "target native" instead of "target
3008 2014-05-21 Mark Wielaard <mjw@redhat.com>
3010 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3012 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3014 Fix TLS access for -static -pthread.
3015 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
3016 <HAVE_TLS> (thread_function, main): Initialize it.
3017 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
3019 <$have_tls != "">: Check TLSVAR.
3021 2014-05-21 Pedro Alves <palves@redhat.com>
3023 * gdb.base/dcache-line-read-error.c: New.
3024 * gdb.base/dcache-line-read-error.exp: New.
3026 2014-05-20 Pedro Alves <palves@redhat.com>
3028 * gdb.base/compare-sections.c: New file.
3029 * gdb.base/compare-sections.exp: New file.
3031 2014-05-20 Pedro Alves <palves@redhat.com>
3033 * gdb.base/break-idempotent.c: New file.
3034 * gdb.base/break-idempotent.exp: New file.
3036 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
3038 * gdb.btrace/nohist.exp: New.
3040 2014-05-20 Yao Qi <yao@codesourcery.com>
3042 * lib/gdb.exp (gdb_init): Set timeout if test file is under
3043 gdb.reverse directory and gdb_reverse_timeout exists in board
3045 * README: Document gdb_reverse_timeout.
3047 2014-05-20 Yao Qi <yao@codesourcery.com>
3049 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
3050 'test_file_name'. Treat args as a string instead of a list.
3051 (gdb_init): Rename argument 'args' by 'test_file_name'.
3053 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3055 * gdb.arch/powerpc-power.exp: New file.
3056 * gdb.arch/powerpc-power.s: New file.
3058 2014-05-16 Doug Evans <dje@google.com>
3060 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
3061 * gdb.base/completion.exp: Check that all expected files exist
3062 before doing file completion.
3064 2014-05-16 Doug Evans <dje@google.com>
3066 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
3068 (do_syscall_tests_without_xml): Update.
3070 2014-05-16 Pedro Alves <palves@redhat.com>
3072 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
3073 instead of "unknown output after running".
3075 2014-05-16 Yao Qi <yao@codesourcery.com>
3077 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
3078 file1.txt from host at the end.
3079 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3081 2014-05-15 Doug Evans <dje@google.com>
3083 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
3084 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
3085 loading file. Add test for TU lookup.
3087 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3089 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
3090 calling "-exec-arguments" or "set args" before running the
3093 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3095 * lib/mi-support.exp (mi_expect_stop): Expect message for
3096 inferiors that exit with non-zero exit code.
3098 2014-05-14 Yao Qi <yao@codesourcery.com>
3100 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
3101 match absolute path on remote host.
3102 (test_file_list_exec_source_files): Remove "/" from the
3105 2014-05-14 Yao Qi <yao@codesourcery.com>
3107 * boards/local-remote-host-notty.exp (${board}_file): New
3110 2014-05-07 Kyle McMartin <kyle@redhat.com>
3112 Pushed by Joel Brobecker <brobecker@adacore.com>.
3113 * gdb.arch/aarch64-atomic-inst.c: New file.
3114 * gdb.arch/aarch64-atomic-inst.exp: New file.
3116 2014-05-07 Yao Qi <yao@codesourcery.com>
3118 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
3119 in current context" too.
3121 2014-05-05 Keith Seitz <keiths@redhat.com>
3123 * gdb.linespec/ls-dollar.exp: Add test for linespec
3124 file:convenience_variable.
3126 2014-05-05 Yao Qi <yao@codesourcery.com>
3128 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
3129 traceframes into tfile and ctf trace files. Read data from
3130 trace file and test collected data.
3131 (gdb_collect_locals_test): Likewise.
3132 (gdb_unavailable_registers_test): Likewise.
3133 (gdb_unavailable_floats): Likewise.
3134 (gdb_collect_globals_test): Likewise.
3135 (top-level): Append "ctf" to trace_file_targets if GDB
3138 2014-05-05 Yao Qi <yao@codesourcery.com>
3140 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
3142 (gdb_collect_args_test_1): ... it. New proc.
3143 (gdb_collect_locals_test): Move some code to ...
3144 (gdb_collect_locals_test_1): ... it. New proc.
3145 (gdb_unavailable_registers_test): Move some code to ...
3146 (gdb_unavailable_registers_test_1): ... it. New proc.
3147 (gdb_unavailable_floats): Move some code to ...
3148 (gdb_unavailable_floats_1): ... it. New proc.
3150 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3152 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
3153 probes to test for bitness recognition.
3154 * gdb.arch/amd64-stap-optional-prefix.exp
3155 (test_probe_value_without_reg): New procedure.
3156 Add code to test for different kinds of bitness.
3158 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3160 PR breakpoints/16889
3161 * gdb.arch/amd64-stap-optional-prefix.S: New file.
3162 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3164 2014-05-01 Pedro Alves <palves@redhat.com>
3166 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
3167 gdb_file_cmd if no file is specified.
3168 * boards/native-extended-gdbserver.exp (gdb_load): Use the
3169 last_loaded_file to set the remote exec-file.
3171 2014-05-01 Pedro Alves <palves@redhat.com>
3173 * boards/local-remote-host.exp: New file.
3175 2014-05-01 Pedro Alves <palves@redhat.com>
3177 * boards/local-remote-host.exp: Rename to ...
3178 * boards/local-remote-host-notty.exp: ... this.
3180 2014-04-28 Joel Brobecker <brobecker@adacore.com>
3182 * gdb.ada/dyn_arrayidx: New testcase.
3184 2014-04-26 Yao Qi <yao@codesourcery.com>
3186 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
3187 and compute the length of function main. Save it in
3189 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
3190 (top-level): Use gdb_compile to compile objects into
3191 executable and restart GDB. Remove invocation to
3192 prepare_for_testing.
3194 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
3195 Pedro Alves <palves@redhat.com>
3198 * gdb.multi/multi-attach.c: New file.
3199 * gdb.multi/multi-attach.exp: New file.
3201 2014-04-25 Pedro Alves <palves@redhat.com>
3203 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
3205 (top level): Test that "set remote conditional-breakpoints-packet
3206 off" works as intended.
3207 * gdb.base/dprintf.exp: Test that "set remote
3208 breakpoint-commands-packet off" works as intended.
3209 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
3211 (top level): Call it.
3212 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
3213 remote fast-tracepoints-packet off" works as intended.
3214 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
3215 * lib/gdb.exp (gdb_is_target_remote): ... here.
3217 2014-04-24 David Blaikie <dblaikie@gmail.com>
3219 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
3220 ensure clang would not discard them.
3221 * gdb.base/gdbvars.c: Ditto.
3222 * gdb.base/memattr.c: Ditto.
3223 * gdb.base/whatis.c: Ditto.
3224 * gdb.python/py-prettyprint.c: Ditto.
3225 * gdb.trace/actions.c: Ditto.
3226 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
3227 ensure clang would not discard it.
3229 2014-04-24 David Blaikie <dblaikie@gmail.com>
3231 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
3232 clang to emit the full definition of type required by the test
3233 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
3235 2014-04-24 David Blaikie <dblaikie@gmail.com>
3237 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
3238 coax Clang into emitting the definition of the type.
3239 * gdb.cp/pr10728-x.h (y): Ditto.
3240 * gdb.cp/pr10728-y.cc (y): Ditto.
3242 2014-04-24 David Blaikie <dblaikie@gmail.com>
3244 * gdb.base/label.exp: XFAIL label related tests under Clang.
3245 * gdb.cp/cplabel.exp: Ditto.
3246 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
3247 under Clang those using labels.
3249 2014-04-25 Yao Qi <yao@codesourcery.com>
3251 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
3253 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
3254 partial_label and double_label.
3256 2014-04-24 David Blaikie <dblaikie@gmail.com>
3258 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
3260 2014-04-24 David Blaikie <dblaikie@gmail.com>
3262 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
3263 of the function to work across GCC and Clang.
3264 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
3265 pointer types (const void ** const V void **).
3267 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
3268 Walfred Tedeschi <walfred.tedeschi@intel.com>
3270 * Makefile.in (EXECUTABLES): Added i386-avx512.
3271 * gdb.arch/i386-avx512.c: New file.
3272 * gdb.arch/i386-avx512.exp: Likewise.
3274 2014-04-23 Keith Seitz <keiths@redhat.com>
3276 * lib/mi-support.exp (mi_list_breakpoints): Delete.
3277 (mi_make_breakpoint_table): New procedure.
3278 (mi_create_breakpoint): Use mi_make_breakpoint
3279 and return the result.
3280 (mi_make_breakpoint): New procedure.
3281 (mi_build_kv_pairs): New procedure.
3283 * gdb.mi/mi-break.exp: Remove unused globals,
3284 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
3285 All callers updated.
3286 * gdb.mi/mi-dprintf.exp: Use variable to track command
3288 Update all callers of mi_create_breakpoint and use
3289 mi_make_breakpoint_table.
3290 Remove any unused global variables.
3291 * gdb.mi/mi-nonstop.exp: Likewise.
3292 * gdb.mi/mi-nsintrall.exp: Likewise.
3293 * gdb.mi/mi-nsmoribund.exp: Likewise.
3294 * gdb.mi/mi-nsthrexec.exp: Likewise.
3295 * gdb.mi/mi-reverse.exp: Likewise.
3296 * gdb.mi/mi-simplerun.exp: Likewise.
3297 * gdb.mi/mi-stepn.exp: Likewise.
3298 * gdb.mi/mi-syn-frame.exp: Likewise.
3299 * gdb.mi/mi-until.exp: Likewise.
3300 * gdb.mi/mi-var-cp.exp: Likewise.
3301 * gdb.mi/mi-var-display.exp: Likewise.
3302 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
3303 * gdb.mi/mi2-var-child.exp: Likewise.
3304 * gdb.mi/mi-vla-c99.exp: Likewise.
3305 * lib/mi-support.exp: Likewise.
3307 From Ian Lance Taylor <iant@cygnus.com>:
3308 * lib/gdb.exp (parse_args): New procedure.
3310 2014-04-23 Pedro Alves <palves@redhat.com>
3312 * gdb.base/break-unload-file.c: New file.
3313 * gdb.base/break-unload-file.exp: New file.
3314 * gdb.base/sym-file-lib.c (baz): New function.
3315 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
3317 (load): Store the segment's mapped size.
3318 (unload): New function.
3319 (unload_shlib): New function.
3320 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
3321 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
3322 set a breakpoint at baz, and call it.
3323 * gdb.base/sym-file.exp: New tests for stale breakpoint
3326 2014-04-23 Pedro Alves <palves@redhat.com>
3328 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
3329 * gdb.base/hbreak-in-shr-unsupported.c: New file.
3330 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
3331 * gdb.base/hbreak-unmapped.c: New file.
3332 * gdb.base/hbreak-unmapped.exp: New file.
3333 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
3334 * lib/gdb.exp (gdb_is_target_remote): ... here.
3336 2014-04-22 Pedro Alves <palves@redhat.com>
3338 * gdb.base/consecutive-step-over.c: New file.
3339 * gdb.base/consecutive-step-over.exp: New file.
3341 2014-04-22 Pedro Alves <palves@redhat.com>
3343 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
3344 instead of send_gdb/gdb_expect.
3346 2014-04-22 Yao Qi <yao@codesourcery.com>
3348 * lib/trace-support.exp (generate_tracefile): New procedure.
3349 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
3351 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
3352 if generate_tracefile returns 1.
3354 2014-04-18 Tom Tromey <palves@redhat.com>
3355 Pedro alves <tromey@redhat.com>
3358 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
3359 with a backtrace limit.
3360 * gdb.python/py-frame-inline.exp: Test running to an inline
3361 function with a backtrace limit, and printing the newest frame.
3362 * gdb.python/py-frame-inline.c (main): Call f.
3364 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3366 * gdb.java/jnpe.exp: Drop srcdir from untested path.
3368 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3370 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
3371 Drop prefix from unsupported source file path.
3373 2014-04-17 Yao Qi <yao@codesourcery.com>
3375 * lib/gdb.exp (with_target_charset): New proc.
3376 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
3377 with_target_charset.
3378 (test_print_strings): Likewise.
3379 (test_repeat_bytes): Likewise.
3380 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
3383 2014-04-16 Keith Seitz <keiths@redhat.com>
3386 * gdb.dwarf2/corrupt.c: New file.
3387 * gdb.dwarf2/corrupt.exp: New file.
3389 2014-04-16 Keith Seitz <keiths@redhat.com>
3392 * gdb.cp/namelessclass.cc: New file.
3393 * gdb.cp/namelessclass.exp: New file.
3394 * gdb.cp/namelessclass.S: New file.
3396 2014-04-16 Doug Evans <dje@google.com>
3398 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
3400 (gdbserver_default_get_comm_port): New function.
3401 (gdbserver_start): Check if board file provided
3402 "gdbserver,get_comm_port" and use it if so.
3403 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
3404 (gdb,socketport): Set to "stdio".
3405 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
3406 (stdio_gdbserver_template): Delete.
3407 (${board}_get_remote_address): Update.
3408 (${board}_build_remote_cmd): Delete.
3409 (${board}_get_comm_port): New function.
3410 (${board}_spawn): Update.
3411 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
3413 (${board}_get_remote_address): Update.
3414 (${board}_get_comm_port): New function.
3416 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
3418 * gdb.base/memattr.exp: Improve regexps to handle memory regions
3419 appearing in any order.
3421 2014-04-15 Doug Evans <dje@google.com>
3423 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
3424 uninitialized value of "description".
3426 2014-04-15 Keith Seitz <keiths@redhat.com>
3428 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
3429 Remove unused globals.
3430 (test_running_the_program): Likewise.
3431 (test_controlled_execution): Likewise.
3432 (test_controlling_breakpoints): Likewise.
3433 (test_program_termination): Likewise.
3435 2014-04-15 Keith Seitz <keiths@redhat.com>
3437 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
3439 (test_rbreak_creation_and_listing): Likewise.
3440 (test_ignore_count): Likewise.
3441 (test_error): Likewise.
3443 2014-04-15 Pedro Alves <palves@redhat.com>
3445 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
3446 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
3448 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3449 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3450 to sym-file-loader.c.
3451 (struct library): Forward declare.
3452 (load_shlib, lookup_function): Change prototypes.
3453 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3454 (translate_offset): Remove declarations.
3455 (get_text_addr): New declaration.
3456 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
3457 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
3459 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3460 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3461 here from sym-file-loader.h.
3462 (struct library): New structure.
3463 (load_shlib, lookup_function): Change prototypes and adjust to
3464 work with a struct library.
3465 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3466 (translate_offset): Make static.
3467 (get_text_addr): New function.
3468 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
3470 2014-04-15 Pedro Alves <palves@redhat.com>
3472 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
3474 2014-04-15 Pedro Alves <palves@redhat.com>
3476 * gdb.base/sym-file-loader.c: Include <limits.h>.
3477 (SELF_LINK): New define.
3478 (get_origin): New function.
3479 (load_shlib): Use it.
3480 * gdb.base/sym-file.exp: Don't early return if the target is
3481 remote. Use runto_main, and issue fail is that fails. Use
3483 (shlib_name): Delete.
3484 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
3486 2014-04-15 Pedro Alves <palves@redhat.com>
3488 * gdb.base/sym-file.exp: Remove regex characters from test
3489 message. Don't refer to breakpoint numbers in test messages.
3491 2014-04-14 Keith Seitz <keiths@redhat.com>
3494 * gdb.cp/var-tag.cc: New file.
3495 * gdb.cp/var-tag.exp: New file.
3496 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3497 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3498 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3499 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3501 2014-04-14 Tom Tromey <tromey@redhat.com>
3503 * gdb.cp/classes.exp (test_enums): Handle underlying type.
3504 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
3506 * gdb.cp/enum-class.exp: New file.
3507 * gdb.cp/enum-class.cc: New file.
3509 2014-04-14 Tom Tromey <tromey@redhat.com>
3511 * gdb.dwarf2/enum-type.exp: New file.
3513 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3515 * gdb.mi/mi-vla-c99.exp: New file.
3516 * gdb.mi/vla.c: New file.
3518 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3520 * gdb.base/vla-datatypes.c: New file.
3521 * gdb.base/vla-datatypes.exp: New file.
3523 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3525 * gdb.base/vla-ptr.c: New file.
3526 * gdb.base/vla-ptr.exp: New file.
3528 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3530 * gdb.dwarf2/count.exp: New file.
3532 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3534 * gdb.base/vla-sideeffect.c: New file.
3535 * gdb.base/vla-sideeffect.exp: New file.
3537 2014-04-14 David Blaikie <dblaikie@gmail.com>
3539 * gdb.mi/non-stop.c: Add return value for non-void function return
3541 * gdb.threads/staticthreads.c: Ditto.
3543 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
3544 Doug Evans <xdje42@gmail.com>
3546 * gdb.guile/scm-value.c: Improve test case.
3547 * gdb.guile/scm-value.exp: Add new test.
3549 2014-04-11 David Blaikie <dblaikie@gmail.com>
3551 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
3552 override Clang's default.
3554 2014-04-11 Joel Brobecker <brobecker@adacore.com>
3556 Revert the following changes (regressions):
3558 * gdb.base/vla-sideeffect.c: New file.
3559 * gdb.base/vla-sideeffect.exp: New file.
3561 * gdb.dwarf2/count.exp: New file.
3563 * gdb.base/vla-multi.c: New file.
3564 * gdb.base/vla-multi.exp: New file.
3566 * gdb.base/vla-ptr.c: New file.
3567 * gdb.base/vla-ptr.exp: New file.
3569 * gdb.base/vla-datatypes.c: New file.
3570 * gdb.base/vla-datatypes.exp: New file.
3572 * gdb.mi/mi-vla-c99.exp: New file.
3573 * gdb.mi/vla.c: New file.
3575 2014-04-11 Keith Seitz <keiths@redhat.com>
3578 * gdb.cp/cpsizeof.exp: New file.
3579 * gdb.cp/cpsizeof.cc: New file.
3581 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3583 * gdb.mi/mi-vla-c99.exp: New file.
3584 * gdb.mi/vla.c: New file.
3586 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3588 * gdb.base/vla-datatypes.c: New file.
3589 * gdb.base/vla-datatypes.exp: New file.
3591 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3593 * gdb.base/vla-ptr.c: New file.
3594 * gdb.base/vla-ptr.exp: New file.
3596 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3598 * gdb.base/vla-multi.c: New file.
3599 * gdb.base/vla-multi.exp: New file.
3601 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3603 * gdb.dwarf2/count.exp: New file.
3605 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3607 * gdb.base/vla-sideeffect.c: New file.
3608 * gdb.base/vla-sideeffect.exp: New file.
3610 2014-04-11 Yao Qi <yao@codesourcery.com>
3612 * gdb.base/completion.exp: Check file exists before running tests
3615 2014-04-10 Pedro Alves <palves@redhat.com>
3617 * gdb.base/cond-eval-mode.c: New file.
3618 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
3619 prepare_for_testing to build the new file. Check result of
3621 (test_break, test_watch): New procedures.
3622 (top level): Use them.
3624 2014-04-08 Pierre Muller <muller@sourceware.org>
3626 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
3627 Ctrl-V use for mingw hosts.
3629 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
3631 * gdb.python/py-value.c: Improve test case.
3632 * gdb.python/py-value.exp: Add new test.
3634 2014-04-07 David Blaikie <dblaikie@gmail.com>
3636 * lib/compiler.c: Identify the clang compiler.
3637 * lib/compiler.cc: Ditto.
3639 2014-04-03 Yao Qi <yao@codesourcery.com>
3641 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
3643 2014-04-01 Anton Blanchard <anton@samba.org>
3645 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
3648 2014-04-01 Anton Blanchard <anton@samba.org>
3650 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
3651 prepare_for_testing.
3653 2014-04-01 Anton Blanchard <anton@samba.org>
3655 * gdb.arch/ppc64-atomic-inst.c: Remove.
3656 * gdb.arch/ppc64-atomic-inst.S: New file.
3657 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
3659 2014-03-31 Doug Evans <dje@google.com>
3661 * gdb.base/print-symbol-loading-lib.c: New file.
3662 * gdb.base/print-symbol-loading-main.c: New file.
3663 * gdb.base/print-symbol-loading.exp: New file.
3665 2014-03-31 Yao Qi <yao@codesourcery.com>
3667 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
3669 2014-03-28 Joel Brobecker <brobecker@adacore.com>
3671 * gdb.ada/mi_dyn_arr: New testcase.
3673 2014-03-27 Doug Evans <dje@google.com>
3675 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
3677 2014-03-27 Yao Qi <yao@codesourcery.com>
3679 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
3680 if target is nios2-*-*.
3682 2014-03-26 Yao Qi <yao@codesourcery.com>
3684 * lib/gdb.exp (readline_is_used): New proc.
3685 * gdb.base/completion.exp: Move tests on command complete up.
3686 Skip the rest of tests if readline is not used.
3687 * gdb.ada/complete.exp: Skp the test if readline is not
3689 * gdb.base/filesym.exp: Likewise.
3690 * gdb.base/macscp.exp: Likewise.
3691 * gdb.base/readline-ask.exp: Likewise.
3692 * gdb.base/readline.exp: Likewise.
3693 * gdb.python/py-cmd.exp: Likewise.
3694 * gdb.trace/tfile.exp: Likewise.
3696 2014-03-26 Yao Qi <yao@codesourcery.com>
3698 * gdb.base/macscp.exp: Fix code format issues.
3700 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
3702 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
3703 * gdb.asm/powerpc64le.inc: New file.
3705 2014-03-25 Pedro Alves <palves@redhat.com>
3706 Doug Evans <dje@google.com>
3708 * gdb.base/source-execution.c: New file.
3709 * gdb.base/source-execution.exp: New file.
3710 * gdb.base/source-execution.gdb: New file.
3712 2014-03-24 Doug Evans <dje@google.com>
3714 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
3717 2014-03-24 Hui Zhu <hui@codesourcery.com>
3718 Pedro Alves <palves@redhat.com>
3720 PR breakpoints/16101
3721 * gdb.base/dprintf.exp: Use unsupported rather than changing the
3722 test pass/fail messages. Detect missing support for dprintf when
3723 breakpoints are actually inserted.
3724 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
3725 breakpoints are actually inserted.
3726 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
3729 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3731 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
3733 2014-03-22 Doug Evans <xdje42@gmail.com>
3735 * gdb.python/python.exp (python not supported): Verify multi-line
3736 python command issues an error.
3737 * gdb.guile/guile.exp (guile not supported): Verify multi-line
3738 guile command issues an error.
3740 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
3742 * gdb.threads/thread-specific.exp: Handle the lack of usable
3743 $this_breakpoint and $this_thread.
3745 2014-03-21 Hui Zhu <hui@codesourcery.com>
3747 * gdb.base/attach.exp (do_command_attach_tests): New.
3749 2014-03-20 Tom Tromey <tromey@redhat.com>
3750 Pedro Alves <palves@redhat.com>
3753 * gdb.base/condbreak-call-false.c: New file.
3754 * gdb.base/condbreak-call-false.exp: New file.
3756 2014-03-20 Pedro Alves <palves@redhat.com>
3758 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
3760 (block_signals, unblock_signals): Delete.
3761 (child_function_2, main): Remove references to deleted variable
3764 2014-03-20 Pedro Alves <palves@redhat.com>
3766 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
3767 Use pthread_kill to signal thread 2.
3768 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3769 Adjust to make the test send itself a signal rather than using the
3770 host's "kill" command.
3772 2014-03-20 Pedro Alves <palves@redhat.com>
3774 * gdb.threads/multiple-step-overs.c: New file.
3775 * gdb.threads/multiple-step-overs.exp: New file.
3776 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3777 Adjust expected infrun debug output.
3779 2014-03-20 Pedro Alves <palves@redhat.com>
3781 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
3782 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
3784 2014-03-20 Pedro Alves <palves@redhat.com>
3787 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
3788 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
3789 of gdb_test_multiple.
3790 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
3791 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
3793 2014-03-20 Pedro Alves <palves@redhat.com>
3795 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
3796 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
3798 2014-03-19 Pedro Alves <palves@redhat.com>
3800 * gdb.base/async.exp: Remove early return.
3802 2014-03-19 Pedro Alves <palves@redhat.com>
3804 * gdb.base/async.exp (step& tests): Pass explicit test messages.
3806 2014-03-19 Pedro Alves <palves@redhat.com>
3808 * gdb.base/async.exp (test_background): Expect \r\n after
3809 "completed." in the fail pattern.
3811 2014-03-19 Pedro Alves <palves@redhat.com>
3813 * gdb.base/async.exp (test_background): New procedure.
3814 Use it for all background execution command tests.
3816 2014-03-19 Pedro Alves <palves@redhat.com>
3818 * gdb.base/async.exp: Use prepare_for_testing.
3820 2014-03-19 Pedro Alves <palves@redhat.com>
3822 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
3825 2014-03-19 Pedro Alves <palves@redhat.com>
3827 * gdb.base/async.c (main): Add "jump here" and "until here" line
3829 * gdb.base/async.exp (jump_here): New global.
3830 (jump& test): Use it.
3831 (until_here): New global.
3832 (until& test): Use it.
3834 2014-03-19 Pedro Alves <palves@redhat.com>
3836 * gdb.base/async.exp: Don't frob gdb_protocol.
3838 2014-03-18 Doug Evans <xdje42@gmail.com>
3840 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
3841 Fix spelling of exec-done-display.
3843 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3846 * gdb.base/gdb-sigterm.c: New file.
3847 * gdb.base/gdb-sigterm.exp: New file.
3849 2014-03-18 Pedro Alves <palves@redhat.com>
3852 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
3853 * lib/mi-support.exp (mi_expect_stop): Add special handling for
3856 2014-03-17 Joel Brobecker <brobecker@adacore.com>
3858 * gdb.ada/pckd_arr_ren: New testcase.
3860 2014-03-13 Doug Evans <xdje42@gmail.com>
3863 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
3864 collect after discarding symbols.
3866 2014-03-13 Ludovic Courtès <ludo@gnu.org>
3867 Doug Evans <xdje42@gmail.com>
3869 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
3870 to history survives a gc.
3872 2014-03-13 Pedro Alves <palves@redhat.com>
3874 * gdb.base/default.exp: Don't test "target procfs".
3876 2014-03-13 Pedro Alves <palves@redhat.com>
3878 * gdb.base/default.exp: Update "target child" and "target procfs"
3879 tests to not expect "Unix".
3881 2014-03-12 Tom Tromey <tromey@redhat.com>
3883 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
3884 New procs. Add target-async tests.
3885 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
3886 Add target-async tests.
3888 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3890 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
3891 'func_start' and 'func_end' for the beginning and end of the
3892 function code, respectively.
3893 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
3894 'func_end' instead of 'func' and 'main'.
3896 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3898 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
3899 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
3900 generate the debug info assembler source.
3902 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3904 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
3905 * gdb.dwarf2/arr-subrange.exp: Likewise.
3906 * gdb.dwarf2/dwz.exp: Likewise.
3907 * gdb.dwarf2/method-ptr.exp: Likewise.
3908 * gdb.dwarf2/missing-sig-type.exp: Likewise.
3909 * gdb.dwarf2/subrange.exp: Likewise.
3910 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
3911 * gdb.dwarf2/implptrpiece.exp: Likewise.
3912 * gdb.dwarf2/nostaticblock.exp: Likewise.
3914 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3916 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
3917 directory to absolute path name arguments.
3919 2014-03-10 Joel Brobecker <brobecker@adacore.com>
3921 * gdb.ada/tagged_access: New testcase.
3923 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
3925 * gdb.btrace/data.exp: Update expected output.
3927 2014-03-06 Yao Qi <yao@codesourcery.com>
3929 * gdb.trace/pr16508.exp: New file.
3931 2014-03-05 Pedro Alves <palves@redhat.com>
3934 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
3936 (top level): Adjust to use it. Add tests that exercise breakpoint
3937 interaction with the code-cache.
3939 2014-02-26 Ludovic Courtès <ludo@gnu.org>
3941 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
3942 test for 'history-append!'.
3944 2014-02-26 Joel Brobecker <brobecker@adacore.com>
3946 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
3947 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
3948 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
3949 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
3950 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
3951 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
3953 2014-02-26 Joel Brobecker <brobecker@adacore.com>
3955 * testsuite/gdb.python/py-pp-re-notag.c: New file.
3956 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
3957 * testsuite/gdb.python/py-pp-re-notag.p: New file.
3959 2014-02-26 Joel Brobecker <brobecker@adacore.com>
3961 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
3963 2014-02-26 Joel Brobecker <brobecker@adacore.com>
3965 * gdb.dwarf2/arr-stride.c: New file.
3966 * gdb.dwarf2/arr-stride.exp: New file.
3968 2014-02-26 Pedro Alves <palves@redhat.com>
3970 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
3971 that won't ever trigger. Make sure that GDB reports the correct
3972 breakpoint that caused the stop.
3974 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3977 * gdb.base/auto-load-script: New file.
3978 * gdb.base/auto-load.c: New file.
3979 * gdb.base/auto-load.exp: New file.
3982 * gdb.base/auto-load.exp: Fix out-of-srctree run.
3984 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3986 Fix dw2-icycle.exp -fsanitize=address GDB crash.
3987 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
3989 2014-02-24 Doug Evans <dje@google.com>
3991 * lib/gdb.exp (run_on_host): Log error output if program fails.
3993 2014-02-21 Pedro Alves <palves@redhat.com>
3995 * gdb.threads/step-after-sr-lock.c: Rename to ...
3996 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
3997 * gdb.threads/step-after-sr-lock.exp: Rename to ...
3998 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4001 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
4004 * gdb.arch/amd64-stap-special-operands.exp: New file.
4005 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
4006 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
4007 * gdb.arch/amd64-stap-triplet.S: Likewise.
4008 * gdb.arch/amd64-stap-triplet.c: Likewise.
4010 2014-02-20 Joel Brobecker <brobecker@adacore.com>
4012 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
4013 in .section pseudo-op.
4015 2014-02-20 lin zuojian <manjian2006@gmail.com>
4016 Joel Brobecker <brobecker@adacore.com>
4017 Doug Evans <xdje42@gmail.com>
4020 * gdb.dwarf2/dw2-icycle.S: New file.
4021 * gdb.dwarf2/dw2-icycle.c: New file.
4022 * gdb.dwarf2/dw2-icycle.exp: New file.
4024 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
4026 * gdb.python/py-value-cc.cc: Improve test case to enable testing
4027 operations on gdb.Value objects.
4028 * gdb.python/py-value-cc.exp: Add new test to test operations on
4031 2014-02-18 Doug Evans <dje@google.com>
4033 * Makefile.in (TESTS): New variable.
4034 (expanded_tests, expanded_tests_or_none): New variables
4035 (check-single): Pass $(expanded_tests_or_none) to runtest.
4036 (check-parallel): Only run tests in $(TESTS) if non-empty.
4037 (check/no-matching-tests-found): New rule.
4038 * README: Document TESTS makefile variable.
4040 2014-02-18 Doug Evans <dje@google.com>
4042 * Makefile.in (check-parallel): rm -rf outputs temp.
4044 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4046 Fix "ERROR: no fileid for" in the testsuite.
4047 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
4049 2014-02-12 Doug Evans <dje@google.com>
4051 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
4052 (MISCELLANEOUS): New variable.
4053 (clean): rm -rf $(MISCELLANEOUS).
4054 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
4055 dwp live in the same directory as symlinks, with each symlink pointed
4056 to a differently named file in a different directory.
4058 2014-02-11 Doug Evans <dje@google.com>
4060 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
4061 of Tcl file commands.
4063 2014-02-10 Mark Kettenis <kettenis@gnu.org>
4065 * gdb.threads/step-after-sr-lock.exp: Avoid executing
4068 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4070 * gdb.ada/tick_length_array_enum_idx: New testcase.
4072 2014-02-10 Doug Evans <xdje42@gmail.com>
4074 * configure.ac (AC_OUTPUT): Add gdb.guile.
4075 * configure: Regenerate.
4076 * lib/gdb-guile.exp: New file.
4077 * lib/gdb.exp (get_target_charset): New function.
4078 * gdb.base/help.exp: Update expected output from "apropos apropos".
4079 * gdb.guile/Makefile.in: New file.
4080 * gdb.guile/guile.exp: New file.
4081 * gdb.guile/scm-arch.c: New file.
4082 * gdb.guile/scm-arch.exp: New file.
4083 * gdb.guile/scm-block.c: New file.
4084 * gdb.guile/scm-block.exp: New file.
4085 * gdb.guile/scm-breakpoint.c: New file.
4086 * gdb.guile/scm-breakpoint.exp: New file.
4087 * gdb.guile/scm-disasm.c: New file.
4088 * gdb.guile/scm-disasm.exp: New file.
4089 * gdb.guile/scm-equal.c: New file.
4090 * gdb.guile/scm-equal.exp: New file.
4091 * gdb.guile/scm-error.exp: New file.
4092 * gdb.guile/scm-error.scm: New file.
4093 * gdb.guile/scm-frame-args.c: New file.
4094 * gdb.guile/scm-frame-args.exp: New file.
4095 * gdb.guile/scm-frame-args.scm: New file.
4096 * gdb.guile/scm-frame-inline.c: New file.
4097 * gdb.guile/scm-frame-inline.exp: New file.
4098 * gdb.guile/scm-frame.c: New file.
4099 * gdb.guile/scm-frame.exp: New file.
4100 * gdb.guile/scm-generics.exp: New file.
4101 * gdb.guile/scm-gsmob.exp: New file.
4102 * gdb.guile/scm-iterator.c: New file.
4103 * gdb.guile/scm-iterator.exp: New file.
4104 * gdb.guile/scm-math.c: New file.
4105 * gdb.guile/scm-math.exp: New file.
4106 * gdb.guile/scm-objfile-script-gdb.in: New file.
4107 * gdb.guile/scm-objfile-script.c: New file.
4108 * gdb.guile/scm-objfile-script.exp: New file.
4109 * gdb.guile/scm-objfile.c: New file.
4110 * gdb.guile/scm-objfile.exp: New file.
4111 * gdb.guile/scm-ports.exp: New file.
4112 * gdb.guile/scm-pretty-print.c: New file.
4113 * gdb.guile/scm-pretty-print.exp: New file.
4114 * gdb.guile/scm-pretty-print.scm: New file.
4115 * gdb.guile/scm-section-script.c: New file.
4116 * gdb.guile/scm-section-script.exp: New file.
4117 * gdb.guile/scm-section-script.scm: New file.
4118 * gdb.guile/scm-symbol.c: New file.
4119 * gdb.guile/scm-symbol.exp: New file.
4120 * gdb.guile/scm-symtab-2.c: New file.
4121 * gdb.guile/scm-symtab.c: New file.
4122 * gdb.guile/scm-symtab.exp: New file.
4123 * gdb.guile/scm-type.c: New file.
4124 * gdb.guile/scm-type.exp: New file.
4125 * gdb.guile/scm-value-cc.cc: New file.
4126 * gdb.guile/scm-value-cc.exp: New file.
4127 * gdb.guile/scm-value.c: New file.
4128 * gdb.guile/scm-value.exp: New file.
4129 * gdb.guile/source2.scm: New file.
4130 * gdb.guile/types-module.cc: New file.
4131 * gdb.guile/types-module.exp: New file.
4133 2014-02-10 Yao Qi <yao@codesourcery.com>
4136 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
4137 * configure: Regenerated.
4138 * Makefile.in: New file.
4140 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4142 * gdb.python/py-framefilter.exp: Fix typo.
4144 2014-02-08 Yao Qi <yao@codesourcery.com>
4146 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
4147 that no =breakpoint-modified is emitted when breakpoints are
4148 modified through MI commands.
4150 2014-02-07 Pedro Alves <pedro@codesourcery.com>
4151 Pedro Alves <palves@redhat.com>
4153 * gdb.threads/step-after-sr-lock.c: New file.
4154 * gdb.threads/step-after-sr-lock.exp: New file.
4156 2014-02-07 Pedro Alves <palves@redhat.com>
4158 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
4160 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4162 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
4163 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
4165 2014-02-06 Doug Evans <xdje42@gmail.com>
4167 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
4170 * gdb.gdb/python-interrupts.exp: New file.
4172 2014-02-05 Yao Qi <yao@codesourcery.com>
4174 * gdb.trace/report.exp (use_collected_data): Test the output
4175 of "info threads" and "info inferiors".
4177 2014-02-05 Yao Qi <yao@codesourcery.com>
4181 2013-05-24 Yao Qi <yao@codesourcery.com>
4183 * gdb.trace/tfile.exp: Test inferior and thread.
4185 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4187 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
4189 * gdb.base/step-bt.c: Call hello via function pointer to make
4190 sure its first instruction is executed on powerpc64le-linux.
4192 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4194 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
4196 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4198 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
4199 of the test patterns for use on little-endian systems.
4201 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4203 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
4204 (decimal_vector): Fix for little-endian.
4206 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4208 * gdb.arch/sparc-sysstep.exp: New file.
4209 * gdb.arch/sparc-sysstep.c: Likewise.
4211 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
4213 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4215 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
4217 2014-01-23 Tom Tromey <tromey@redhat.com>
4219 * gdb.ada/array_char_idx: New testcase.
4221 2014-01-23 Tom Tromey <tromey@redhat.com>
4224 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
4225 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
4228 2014-01-23 Tom Tromey <tromey@redhat.com>
4231 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
4232 string from an inferior frame.
4233 * gdb.python/py-framefilter-mi.exp: Update.
4235 2014-01-22 Doug Evans <dje@google.com>
4237 * gdb.server/server-mon.exp: Add tests for "set debug-format".
4239 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4241 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
4243 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4245 * gdb.trace/entry-values.exp: Remove excess space character from
4246 regex patterns. Handle s390 call instruction.
4248 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4250 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
4251 define "*_start" label. Make "name" static.
4252 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
4253 ${name} by references to ${name}_start.
4255 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4257 * gdb.base/info-macros.exp: Remove "debug" from the compile
4260 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4262 * gdb.dlang/demangle.exp: New file.
4264 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4266 * gdb.dlang/primitive-types.exp: New file.
4268 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4270 * configure.ac: Create gdb.dlang/Makefile.
4271 * configure: Regenerate.
4272 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
4273 * gdb.dlang/Makefile.in: New file.
4274 * lib/d-support.exp: New file.
4275 * lib/gdb.exp (skip_d_tests): New proc.
4277 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4279 * gdb.btrace/delta.exp: Check reverse stepi.
4280 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
4281 * gdb.btrace/finish.exp: New.
4282 * gdb.btrace/next.exp: New.
4283 * gdb.btrace/nexti.exp: New.
4284 * gdb.btrace/record_goto.c: Add comments.
4285 * gdb.btrace/step.exp: New.
4286 * gdb.btrace/stepi.exp: New.
4287 * gdb.btrace/multi-thread-step.c: New.
4288 * gdb.btrace/multi-thread-step.exp: New.
4289 * gdb.btrace/rn-dl-bind.c: New.
4290 * gdb.btrace/rn-dl-bind.exp: New.
4291 * gdb.btrace/data.c: New.
4292 * gdb.btrace/data.exp: New.
4293 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4295 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4297 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
4298 * gdb.btrace/exception.exp: Update.
4299 * gdb.btrace/instruction_history.exp: Update.
4300 * gdb.btrace/record_goto.exp: Update.
4301 * gdb.btrace/tailcall.exp: Update.
4302 * gdb.btrace/unknown_functions.exp: Update.
4303 * gdb.btrace/delta.exp: New.
4305 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4307 * gdb.btrace/record_goto.exp: Add backtrace test.
4308 * gdb.btrace/tailcall.exp: Add backtrace test.
4310 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4312 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
4313 * gdb.btrace/record_goto.c: New.
4314 * gdb.btrace/record_goto.exp: New.
4315 * gdb.btrace/x86-record_goto.S: New.
4317 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4319 * gdb.btrace/function_call_history.exp: Update tests.
4320 * gdb.btrace/instruction_history.exp: Update tests.
4322 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4324 * gdb.btrace/function_call_history.exp: Fix expected field
4325 order for "record function-call-history".
4326 Add new tests for "record function-call-history /c".
4327 * gdb.btrace/exception.cc: New.
4328 * gdb.btrace/exception.exp: New.
4329 * gdb.btrace/tailcall.exp: New.
4330 * gdb.btrace/x86-tailcall.S: New.
4331 * gdb.btrace/x86-tailcall.c: New.
4332 * gdb.btrace/unknown_functions.c: New.
4333 * gdb.btrace/unknown_functions.exp: New.
4334 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4336 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4338 * gdb.btrace/instruction_history.exp: Update.
4339 * gdb.btrace/function_call_history.exp: Update.
4341 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4343 * gdb.btrace/function_call_history.exp: Fix expected function
4345 * gdb.btrace/instruction_history.exp: Initialize traced.
4346 Remove traced_functions.
4348 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4350 * gdb.btrace/function_call_history.exp: Update
4351 * gdb.btrace/instruction_history.exp: Update.
4353 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4355 * gdb.btrace/enable.exp: Update expected text.
4357 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
4359 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
4362 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
4364 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
4366 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4368 * lib/gdb.exp (supports_process_record): Return true for
4369 arm*-linux*. (supports_reverse): Likewise.
4371 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4375 * gdb.python/py-type.c: Enhance test case.
4376 * gdb.python/py-value-cc.cc: Likewise
4377 * gdb.python/py-type.exp: Add new tests.
4378 * gdb.python/py-value-cc.exp: Likewise
4380 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4381 Pedro Alves <palves@redhat.com>
4383 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
4385 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
4386 references to ${name}_start by references to ${name}.
4388 2014-01-10 Joel Brobecker <brobecker@adacore.com>
4390 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
4392 2014-01-10 Joel Brobecker <brobecker@adacore.com>
4394 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
4396 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
4397 Pedro Alves <palves@redhat.com>
4399 * gdb.mi/mi-info-os.exp: Connect to the target with
4402 2014-01-08 Pedro Alves <palves@redhat.com>
4404 * gdb.threads/reconnect-signal.c: New file.
4405 * gdb.threads/reconnect-signal.exp: New file.
4407 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4409 * gdb.base/source-dir.exp: New file.
4411 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4413 * gdb.ada/mi_interface: New testcase.
4415 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4417 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
4418 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
4419 gdb.ada/pp-rec-component/pck.ads: New files.
4421 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4423 * gdb.python/py-pp-integral.c: New file.
4424 * gdb.python/py-pp-integral.py: New file.
4425 * gdb.python/py-pp-integral.exp: New file.
4427 For older changes see ChangeLog-1993-2013.
4433 ;; version-control: never
4436 Copyright 2014-2015 Free Software Foundation, Inc.
4437 Copying and distribution of this file, with or without modification,
4438 are permitted provided the copyright notice and this notice are preserved.