1 2015-04-08 Keith Seitz <keiths@redhat.com>
4 * gdb.python/py-completion.exp: New tests for completion.
5 * gdb.python/py-completion.py (CompleteLimit1): New class.
6 (CompleteLimit2): Likewise.
7 (CompleteLimit3): Likewise.
8 (CompleteLimit4): Likewise.
9 (CompleteLimit5): Likewise.
10 (CompleteLimit6): Likewise.
11 (CompleteLimit7): Likewise.
13 2015-04-08 Pedro Alves <palves@redhat.com>
17 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
19 (main): Install it as SIGUSR1 handler.
20 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
21 parameter. Always use "setup" as prefix. Toggle "set
22 displaced-stepping" off/on depending on global. Don't switch to
24 (top level): Add displaced stepping "off/on" test axis. Update
25 "setup" calls. Wrap each subtest with with_test_prefix. Test
26 continuing with a queued signal in each thread.
28 2015-04-08 Pedro Alves <palves@redhat.com>
30 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
31 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
32 gdb_breakpoint instead of gdb_test that doesn't expect anything.
33 Return early if running to main fails.
34 * gdb.trace/while-stepping.exp: Likewise.
36 2015-04-07 Pedro Alves <palves@redhat.com>
38 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
39 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
40 interact with inferior program.
42 2015-04-07 Pedro Alves <palves@redhat.com>
44 * lib/gdb.exp (inferior_spawn_id): New global.
45 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
46 spawn id after processing the user code.
47 (default_gdb_start): Set inferior_spawn_id.
48 (send_inferior): New procedure.
49 * lib/gdbserver-support.exp (gdbserver_start): Set
51 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
53 2015-04-07 Pedro Alves <palves@redhat.com>
55 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
56 * lib/gdbserver-support.exp (gdbserver_start): Make
57 $server_spawn_id global.
58 (gdbserver_start): Don't wait for gdbserver's spawn id with
60 (close_gdbserver): New procedure.
61 (gdb_exit): Rename the default version and reimplement.
63 2015-04-07 Pedro Alves <palves@redhat.com>
65 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
66 append the substituted item, not the original item.
68 2015-04-07 Pedro Alves <palves@redhat.com>
70 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
73 2015-04-07 Pedro Alves <palves@redhat.com>
75 * gdb.base/interrupt.exp: Don't handle the case of the inferior
76 output appearing once only.
78 2015-04-07 Pedro Alves <palves@redhat.com>
80 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
81 that doesn't expect anything. Return early if running to main
84 2015-04-07 Yao Qi <yao.qi@linaro.org>
86 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
87 (child_function): Call alarm.
88 (main): Move call to alarm into the loop.
89 * gdb.threads/non-stop-fair-events.exp: Build program with
92 2015-04-06 Doug Evans <xdje42@gmail.com>
94 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
95 Fix dest parameter to board_info.
97 (gdb_compile_pascal): Rename dest arg to destfile.
99 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
101 * gdb.ada/funcall_ref.exp: New file.
102 * gdb.ada/funcall_ref/foo.adb: New file.
104 2015-04-02 Yao Qi <yao.qi@linaro.org>
106 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
109 2015-04-02 Gary Benson <gbenson@redhat.com>
111 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
113 2015-04-01 Sasha Smundak <asmundak@google.com>
115 * gdb.python/py-unwind-maint.c: New file.
116 * gdb.python/py-unwind-maint.exp: New test.
117 * gdb.python/py-unwind-maint.py: New file.
118 * gdb.python/py-unwind.c: New file.
119 * gdb.python/py-unwind.exp: New test.
120 * gdb.python/py-unwind.py: New test.
122 2015-04-01 Pedro Alves <palves@redhat.com>
124 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
125 to fail instead of non-existent $test.
127 2015-04-01 Pedro Alves <palves@redhat.com>
129 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
130 GDBFLAGS if not empty.
132 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
134 * gdb.ada/complete.exp: Remove "multi_line".
135 * gdb.ada/info_exc.exp: Remove "multi_line".
136 * gdb.ada/packed_tagged.exp: Remove "multi_line".
137 * gdb.ada/ptype_field.exp: Remove "multi_line".
138 * gdb.ada/sym_print_name.exp: Remove "multi_line".
139 * gdb.ada/tagged.exp: Remove "multi_line".
140 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
142 * gdb.btrace/delta.exp: Likewise.
143 * gdb.btrace/exception.exp: Likewise.
144 * gdb.btrace/function_call_history.exp: Likewise.
145 * gdb.btrace/instruction_history.exp: Likewise.
146 * gdb.btrace/nohist.exp: Likewise.
147 * gdb.btrace/record_goto.exp: Likewise.
148 * gdb.btrace/segv.exp: Likewise.
149 * gdb.btrace/stepi.exp: Likewise.
150 * gdb.btrace/tailcall.exp: Likewise.
151 * gdb.btrace/unknown_functions.exp: Likewise.
152 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
153 * lib/gdb.exp: Add the "multi_line" helper.
155 2015-04-01 Pedro Alves <palves@redhat.com>
157 * gdb.threads/tid-reuse.c: New file.
158 * gdb.threads/tid-reuse.exp: New file.
160 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
163 * gdb.base/coredump-filter.c: New file.
164 * gdb.base/coredump-filter.exp: Likewise.
166 2015-03-27 Petr Machata <pmachata@redhat.com>
168 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
169 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
170 (Dwarf::assemble): Initialize them.
171 (Dwarf::lines): New function.
173 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
175 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
176 SYMBOL_PREFIX for x86_64-*-cygwin.
178 2015-03-26 Andy Wingo <wingo@igalia.com>
181 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
182 const_value but not a location.
183 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
184 location defined in non-main CUs are visible.
186 2015-03-26 Yao Qi <yao.qi@linaro.org>
189 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
190 Add a line number entry for the same line.
191 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
192 Add a line number entry for the same line.
194 2015-03-26 Yao Qi <yao.qi@linaro.org>
196 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
198 (func): Likewise. Add .Lfunc_1 label.
200 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
205 2015-03-26 Yao Qi <yao.qi@linaro.org>
207 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
208 Call gdb_compile instead to compile each .s files without debug
211 2015-03-26 Yao Qi <yao.qi@linaro.org>
213 * gdb.base/savedregs.exp (process_saved_regs): Make
214 "Saved registers:" optional in the pattern.
216 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
218 * gdb.btrace/next.exp: Merged into step.exp.
219 * gdb.btrace/finish.exp: Merged into step.exp.
220 * gdb.btrace/nexti.exp: Merged into stepi.exp.
221 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
222 "record goto" and checking the exact replay position.
223 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
224 check for "Recording format" in "info record" output.
225 * gdb.btrace/record_goto.exp: Choose test file based on target.
226 * gdb.btrace/x86-record_goto.S: Renamed into ...
227 * gdb.btrace/x86_64-record_goto.S: ... this.
228 * gdb.btrace/i686-record_goto.S: New.
229 * gdb.btrace/x86-tailcall.S: Renamed into ...
230 * gdb.btrace/x86_64-tailcall.S: ... this.
231 * gdb.btrace/i686-tailcall.S: New.
232 * gdb.btrace/x86-tailcall.c: Renamed into ...
233 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
234 separate statements. Update test.
235 * gdb.btrace/delta.exp: Use record_goto.c as test file.
236 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
237 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
238 * gdb.btrace/tailcall.exp: Choose test file based on target.
239 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
241 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
243 * gdb.btrace/exception.exp: Increase BTS buffer size.
245 2015-03-24 Pedro Alves <palves@redhat.com>
247 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
249 2015-03-24 Pedro Alves <palves@redhat.com>
251 * gdb.threads/schedlock.exp (test_step): No longer expect that
252 "set scheduler-locking step" with "next" over a function call runs
255 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
257 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
259 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
262 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
263 * gdb.mi/mi-pending.c (thread_func): New function.
264 (int main): Add threading support required.
265 * gdb.mi/mi-pending.exp: Add tests for this issue.
266 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
267 (pendfunc2): Remove stdio dependency.
268 * gdb.mi/mi-pendshr2.c: New file.
270 2015-03-23 Keith Seitz <keiths@redhat.com>
272 * gdb.linespec/keywords.c: New file.
273 * gdb.linespec/keywords.exp: New file.
275 2015-03-23 Keith Seitz <keiths@redhat.com>
278 * gdb.dwarf2/staticvirtual.exp: New test.
280 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
282 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
283 * README: Remove HP-UX and gdb.hp.
285 * configure: Regenerate.
286 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
287 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
288 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
289 gdb.hp/gdb.defects/Makefile.
290 * gdb.hp/Makefile.in: File deleted.
291 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
292 * gdb.hp/gdb.aCC/optimize.c: File deleted.
293 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
294 * gdb.hp/gdb.aCC/run.c: File deleted.
295 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
296 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
297 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
298 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
299 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
300 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
301 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
302 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
303 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
304 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
305 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
306 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
307 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
308 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
309 * gdb.hp/gdb.base-hp/reg.s: File deleted.
310 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
311 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
312 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
313 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
314 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
315 * gdb.hp/gdb.compat/Makefile.in: File deleted.
316 * gdb.hp/gdb.compat/average.c: File deleted.
317 * gdb.hp/gdb.compat/sum.c: File deleted.
318 * gdb.hp/gdb.compat/xdb.c: File deleted.
319 * gdb.hp/gdb.compat/xdb0.c: File deleted.
320 * gdb.hp/gdb.compat/xdb0.h: File deleted.
321 * gdb.hp/gdb.compat/xdb1.c: File deleted.
322 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
323 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
324 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
325 * gdb.hp/gdb.defects/Makefile.in: File deleted.
326 * gdb.hp/gdb.defects/bs14602.c: File deleted.
327 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
328 * gdb.hp/gdb.defects/solib-d.c: File deleted.
329 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
330 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
331 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
332 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
333 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
334 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
335 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
336 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
337 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
338 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
339 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
340 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
341 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
342 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
343 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
344 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
345 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
346 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
347 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
348 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
349 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
350 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
351 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
352 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
353 * gdb.hp/tools/odump: File deleted.
355 2015-03-19 Pedro Alves <palves@redhat.com>
357 * gdb.threads/continue-pending-status.exp (saw_thread_2)
358 (saw_thread_3): New globals.
359 (top level): Increment them when an event for the corresponding
361 (no thread starvation): New test.
363 2015-03-19 Pedro Alves <palves@redhat.com>
365 * gdb.threads/continue-pending-status.c: New file.
366 * gdb.threads/continue-pending-status.exp: New file.
368 2015-03-18 Pedro Alves <palves@redhat.com>
370 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
371 Use gdb_is_target_remote instead of is_remote. Use
372 gdb_test_multiple instead of gdb_expect. Exit early if
373 gdb_test_multiple hits its internal matches. Tighten stepi tests
374 expected output. Fail on exit with any signal, instead of just
377 2015-03-18 Yao Qi <yao.qi@linaro.org>
380 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
382 * gdb.base/catch-syscall.exp: Don't skip it on
383 aarch64*-*-linux* target. Remove elements in all_syscalls.
384 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
386 (setup_all_syscalls): New proc.
388 2015-03-16 Yao Qi <yao.qi@linaro.org>
390 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
391 (top level): Skip tests if valid_addr_p returns false for
394 2015-03-11 Andy Wingo <wingo@igalia.com>
396 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
398 2015-03-11 Yao Qi <yao.qi@linaro.org>
400 * gdb.base/catch-syscall.exp: Fix typo in comments.
402 2015-03-11 Yao Qi <yao.qi@linaro.org>
404 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
406 2015-03-09 Pedro Alves <palves@redhat.com>
408 * dg-extract-results.py: Delete.
410 2015-03-09 Pedro Alves <palves@redhat.com>
412 Merge dg-extract-results.sh from GCC upstream (r218843).
414 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
415 * dg-extract-results.sh: Use --text with grep to avoid issues with
416 binary files. Fall back to cat -v, if that doesn't work.
418 2015-03-05 Pedro Alves <palves@redhat.com>
420 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
422 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
424 * lib/mi-support.exp (mi_expect_interrupt): Accept
425 alternative event for when in all-stop mode.
427 2015-03-04 Pedro Alves <palves@redhat.com>
429 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
431 2015-03-04 Mark Kettenis <kettenis@gnu.org>
433 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
435 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
437 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
438 regexps for GDB's current line display, accept a hex address
439 preceding the line number.
441 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
443 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
444 the 'arch1' variable for "s390*-linux*" targets.
446 2015-03-04 Pedro Alves <palves@redhat.com>
448 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
449 (main): Pass missing retval argument to pthread_join call.
451 2015-03-02 Pedro Alves <palves@redhat.com>
453 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
454 (top level): Call do_test with non-stop as well.
456 2015-03-02 Pedro Alves <palves@redhat.com>
458 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
461 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
463 * gdb.arch/s390-vregs.exp: New test.
464 * gdb.arch/s390-vregs.S: New file.
466 2015-02-27 Pedro Alves <palves@redhat.com>
468 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
469 call to catch_command_errors.
470 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
471 catch_command_errors.
473 2015-02-27 Pedro Alves <palves@redhat.com>
475 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
476 "true" for boolean result.
477 * gdb.gdb/selftest.exp (test_with_self): Also accept full
480 2015-02-27 Pedro Alves <palves@redhat.com>
482 * lib/unbuffer_output.c: New file.
483 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
484 (main): Call gdb_unbuffer_output.
486 2015-02-27 Yao Qi <yao.qi@linaro.org>
488 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
491 2015-02-26 Doug Evans <dje@google.com>
493 * gdb.cp/class2.cc (Dbase, D): New classes.
494 (main): New local delta.
495 * gdb.cp/class2.exp: Test printing delta.
496 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
497 (dynbar): New global.
498 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
500 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
502 * gdb.compile/compile-ifunc.c: New file.
503 * gdb.compile/compile-ifunc.exp: New file.
505 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
507 * gdb.base/structs.exp: Check for correct struct on finish.
509 2015-02-26 Yao Qi <yao.qi@linaro.org>
511 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
514 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
516 * gdb.arch/cordic.ko.bz2: New file.
517 * gdb.arch/cordic.ko.debug.bz2: New file.
518 * gdb.arch/ppc64-symtab-cordic.exp: New file.
520 2015-02-25 Yao Qi <yao.qi@linaro.org>
522 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
525 2015-02-23 Pedro Alves <palves@redhat.com>
527 * lib/gdb.exp (delete_breakpoints): Rewrite using
530 2015-02-23 Pedro Alves <palves@redhat.com>
532 * gdb.base/info-os.c: Include stdlib.h.
534 2015-02-22 Doug Evans <xdje42@gmail.com>
537 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
538 is read after symbols have been re-read.
539 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
540 * gdb.ada/exec_changed/second.adb (Second): Ditto.
542 2015-02-21 Doug Evans <dje@google.com>
544 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
546 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
549 * gdb.arch/i386-biarch-core.core.bz2: New file.
550 * gdb.arch/i386-biarch-core.exp: New file.
552 2015-02-21 Pedro Alves <palves@redhat.com>
554 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
557 2015-02-20 Pedro Alves <palves@redhat.com>
559 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
562 2015-02-20 Pedro Alves <palves@redhat.com>
564 * gdb.threads/multi-create-ns-info-thr.exp: New file.
566 2015-02-20 Pedro Alves <palves@redhat.com>
568 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
569 clean_restart before gdb_target_supports_trace.
571 2015-02-20 Pedro Alves <palves@redhat.com>
574 * gdb.threads/clone-thread_db.c: New file.
575 * gdb.threads/clone-thread_db.exp: New file.
577 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
580 * gdb.base/catch-gdb-caused-signals.c: New file.
581 * gdb.base/catch-gdb-caused-signals.exp: New file.
583 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
585 * configure: Regenerated.
586 * configure.ac: Use GDB_AC_TRANSFORM.
587 * aclocal.m4: sinclude ../transform.m4.
589 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
591 * lib/dtrace.exp: New file.
592 * gdb.base/dtrace-probe.exp: Likewise.
593 * gdb.base/dtrace-probe.d: Likewise.
594 * gdb.base/dtrace-probe.c: Likewise.
595 * lib/pdtrace.in: Likewise.
596 * configure.ac: Output variables with the transformed names of
597 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
598 * configure: Regenerated.
600 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
602 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
603 expected message when trying to access $_probe_* convenience
604 variables while not on a probe.
606 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
608 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
610 2015-02-11 Pedro Alves <pedro@codesourcery.com>
612 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
613 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
615 2015-02-10 Doug Evans <xdje42@gmail.com>
617 * lib/gdb.exp (gdb_load): Always return a result.
619 2015-02-10 Pedro Alves <palves@redhat.com>
621 * gdb.threads/signal-sigtrap.c: New file.
622 * gdb.threads/signal-sigtrap.exp: New file.
624 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
626 * gdb.trace/no-attach-trace.c: New file.
627 * gdb.trace/no-attach-trace.exp: New file.
629 2015-02-09 Mark Wielaard <mjw@redhat.com>
631 * gdb.dwarf2/atomic.c: New file.
632 * gdb.dwarf2/atomic-type.exp: Likewise.
634 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
636 * gdb.btrace/buffer-size.exp: Update "info record" output.
637 * gdb.btrace/delta.exp: Update "info record" output.
638 * gdb.btrace/enable.exp: Update "info record" output.
639 * gdb.btrace/finish.exp: Update "info record" output.
640 * gdb.btrace/instruction_history.exp: Update "info record" output.
641 * gdb.btrace/next.exp: Update "info record" output.
642 * gdb.btrace/nexti.exp: Update "info record" output.
643 * gdb.btrace/step.exp: Update "info record" output.
644 * gdb.btrace/stepi.exp: Update "info record" output.
645 * gdb.btrace/nohist.exp: Update "info record" output.
647 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
649 * gdb.btrace/buffer-size: New.
651 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
653 * gdb.btrace/delta.exp: Update "info record" output.
654 * gdb.btrace/enable.exp: Update "info record" output.
655 * gdb.btrace/finish.exp: Update "info record" output.
656 * gdb.btrace/instruction_history.exp: Update "info record" output.
657 * gdb.btrace/next.exp: Update "info record" output.
658 * gdb.btrace/nexti.exp: Update "info record" output.
659 * gdb.btrace/step.exp: Update "info record" output.
660 * gdb.btrace/stepi.exp: Update "info record" output.
661 * gdb.btrace/nohist.exp: Update "info record" output.
663 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
666 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
668 2015-02-06 Pedro Alves <palves@redhat.com>
670 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
672 (seconds_left, again): New globals.
673 (main): Wait seconds_left in a 1-second sleep loop instead of
674 sleeping 180 seconds. If 'again' is set, reset the seconds
676 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
677 'again' in the inferior before detaching. Print the seconds left.
678 (options): New global.
679 (top level): Build program with -DTIMEOUT=$timeout.
681 2015-02-06 Pedro Alves <palves@redhat.com>
683 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
684 determine how many seconds to pass to 'alarm'.
685 * gdb.base/gdb-sigterm.exp (top level): Build program with
687 (do_test): Return success/failure indication. Add more verbose
688 logging. Don't fail if 200 single steps are seen. Instead, fail
689 when the test times out.
690 (passes): New global.
691 (top level): Break the testing loop if testing fails on any
692 iteration. Use gdb_assert.
694 2015-02-04 Don Breazeal <donb@codesourcery.com>
696 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
698 (ipc_cleanup): New function.
699 (main): Don't declare shmid, semid, and msqid. Add a call to
700 atexit so that we call ipc_cleanup on exit.
702 2015-02-04 Pedro Alves <palves@redhat.com>
704 * boards/native-extended-gdbserver.exp: Remove any target variant
705 specifications from the board name before clearing the isremote
706 flag from board_info.
708 2015-01-31 Doug Evans <xdje42@gmail.com>
710 * gdb.base/maint.exp <maint print type argc>: Update expected output.
712 2015-01-31 Gary Benson <gbenson@redhat.com>
714 * gdb.base/completion.exp: Disable completion limiting for
715 existing tests. Add new tests to check completion limiting.
716 * gdb.linespec/ls-errs.exp: Disable completion limiting.
718 2015-01-31 Doug Evans <xdje42@gmail.com>
720 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
722 2015-01-31 Doug Evans <xdje42@gmail.com>
724 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
725 entries. Duplicate file section script entries.
726 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
727 inlined entries. Add test for safe-path rejection.
728 * gdb.python/py-section-script.c: Add duplicate inlined section script
729 entries. Duplicate file section script entries.
730 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
731 inlined entries. Add test for safe-path rejection.
733 2015-01-29 Joel Brobecker <brobecker@adacore.com>
735 * gdb.ada/disc_arr_bound: New testcase.
737 2015-01-29 Joel Brobecker <brobecker@adacore.com>
739 * gdb.ada/mi_var_array: New testcase.
741 2015-01-27 Doug Evans <dje@google.com>
743 * gdb.python/py-objfile.exp: Add tests for objfile.username.
744 Add test for objfile.filename, objfile.username after objfile
747 2015-01-26 Joel Brobecker <brobecker@adacore.com>
749 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
750 the second test to print the name attribute of value
751 returned by the call to gdb.lookup_type, and adjust
752 the expected output accordingly.
754 2015-01-25 Mark Wielaard <mjw@redhat.com>
756 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
757 * gdb.base/disp-step-fork.c: Include unistd.h.
758 * gdb.base/siginfo-obj.c: Include stdio.h.
759 * gdb.base/siginfo-thread.c: Likewise.
760 * gdb.mi/non-stop.c: Include unistd.h.
761 * gdb.mi/nsthrexec.c: Include stdio.h.
762 * gdb.mi/pthreads.c: Include unistd.h.
763 * gdb.modula2/unbounded1.c (main): Declare returns int.
764 * gdb.reverse/consecutive-reverse.c: Likewise.
765 * gdb.threads/create-fail.c: Include unistd.h.
766 * gdb.threads/killed.c: Likewise.
767 * gdb.threads/linux-dp.c: Likewise.
768 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
769 * gdb.threads/non-ldr-exc-2.c: Likewise.
770 * gdb.threads/non-ldr-exc-3.c: Likewise.
771 * gdb.threads/non-ldr-exc-4.c: Likewise.
772 * gdb.threads/pthreads.c: Include unistd.h.
773 (main): Declare returns int.
774 * gdb.threads/tls-main.c (foo): New declaration.
775 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
777 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
779 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
780 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
782 2015-01-15 Mark Wielaard <mjw@redhat.com>
784 * gdb.base/noreturn-return.c: New file.
785 * gdb.base/noreturn-return.exp: New file.
786 * gdb.base/noreturn-finish.c: New file.
787 * gdb.base/noreturn-finish.exp: New file.
789 2015-01-23 Pedro Alves <palves@redhat.com>
791 * gdb.threads/continue-pending-after-query.c: New file.
792 * gdb.threads/continue-pending-after-query.exp: New file.
794 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
795 Simon Marchi <simon.marchi@ericsson.com>
797 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
798 * gdb.base/valgrind-db-attach.exp: Same.
799 * gdb.base/valgrind-infcall.exp: Same.
800 * lib/mi-support.exp (default_mi_gdb_start): Same.
801 * lib/prompt.exp (default_prompt_gdb_start): Same.
802 * lib/gdb.exp (default_gdb_spawn): Same.
806 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
808 * gdb.compile/compile.exp (pointer to jit function): New test.
810 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
812 * lib/gdb.exp (supports_process_record): Return true for
814 (supports_reverse): Likewise.
816 2015-01-15 Don Breazeal <donb@codesourcery.com>
818 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
819 instead of checking whether the target board is remote and
820 use spawn_wait_for_attach instead of exec/sleep.
821 * gdb.base/attach-twice.exp: Likewise.
823 2015-01-15 Joel Brobecker <brobecker@adacore.com>
825 * gdb.ada/var_arr_attrs: New testcase.
827 2015-01-14 Pedro Alves <palves@redhat.com>
828 Joel Brobecker <brobecker@adacore.com>
831 * gdb.base/bp-cmds-execution-x-script.c: New file.
832 * gdb.base/bp-cmds-execution-x-script.exp: New file.
833 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
835 2015-01-14 Pedro Alves <palves@redhat.com>
838 * gdb.base/batch-preserve-term-settings.c: New file.
839 * gdb.base/batch-preserve-term-settings.exp: New file.
841 2015-01-13 Doug Evans <dje@google.com>
843 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
846 2015-01-13 Joel Brobecker <brobecker@adacore.com>
848 * Makefile.in (clean mostlyclean): Do not delete *.py.
850 2015-01-13 Joel Brobecker <brobecker@adacore.com>
852 * gdb.python/py-lookup-type.exp: New file.
854 2015-01-12 Pedro Alves <palves@redhat.com>
856 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
857 restore GDBFLAGS before returning.
859 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
861 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
862 is_amd64_regs_target and is_x86_like_target.
864 2015-01-11 Doug Evans <xdje42@gmail.com>
866 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
867 is given without an explicit form.
868 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
870 * gdb.dwarf/corrupt.exp: Ditto.
871 * gdb.dwarf2/enum-type.exp: Ditto.
872 * gdb.trace/entry-values.exp: Ditto.
873 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
875 2015-01-11 Doug Evans <xdje42@gmail.com>
878 * gdb.base/maint.exp: Remove references to "maint demangle".
879 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
880 Add tests for explicitly specifying language to demangle.
881 * gdb.dlang/demangle.exp: Ditto.
883 2015-01-09 Pedro Alves <palves@redhat.com>
885 * gdb.threads/non-stop-fair-events.c: New file.
886 * gdb.threads/non-stop-fair-events.exp: New file.
888 2015-01-09 Pedro Alves <palves@redhat.com>
890 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
891 the global scope. Set a breakpoint after all threads are started
892 rather than stepping over two source lines. Expect the prompt.
893 * gdb.base/watch_thread_num.c (threads_started_barrier): New
896 (main): Use threads_started_barrier to wait for all threads to
897 start. Main thread no longer calls thread_function. Exit after
899 (loop): New function.
900 (thread_function): Wait on threads_started_barrier barrier. Call
901 'loop' at each iteration.
902 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
903 threads have started, instead of hardcoding number of "next"
904 steps. Use an access watchpoint instead of a write watchpoint.
906 2015-01-09 Pedro Alves <palves@redhat.com>
908 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
909 (thread_func): Wait on barrier.
910 (main): Wait for all threads to start before stopping GDB.
911 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
913 (thread1_func, thread2_func): Wait on barrier.
914 (main): Wait for all threads to start before stopping GDB.
915 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
917 (thread1_func, thread2_func): Wait on barrier.
918 (main): Wait for all threads to start before stopping GDB.
920 2015-01-09 Pedro Alves <palves@redhat.com>
922 * gdb.threads/attach-many-short-lived-threads.c: New file.
923 * gdb.threads/attach-many-short-lived-threads.exp: New file.
925 2014-01-09 Pedro Alves <palves@redhat.com>
927 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
928 instead of to thread 2.
929 * gdb.threads/signal-command-multiple-signals-pending.c (main):
930 Add barrier around each pthread_create call instead of around all
932 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
933 Set a break on thread_function and have the child threads hit it
936 2015-01-09 Pedro Alves <palves@redhat.com>
938 * lib/gdb.exp (can_spawn_for_attach): New procedure.
939 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
941 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
942 checking whether the target board is remote.
943 * gdb.multi/multi-attach.exp: Likewise.
944 * gdb.python/py-sync-interp.exp: Likewise.
945 * gdb.server/ext-attach.exp: Likewise.
946 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
947 tests that need to attach, instead of checking whether the target
948 board is remote at the top of the file.
950 2015-01-08 Yao Qi <yao@codesourcery.com>
952 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
954 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
956 Fix testcase compilation.
957 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
959 2015-01-06 Joel Brobecker <brobecker@adacore.com>
961 * gdb.python/py-type.exp: Add a couple test about empty
962 array creation, and negative-length array creation.
964 2015-01-02 Doug Evans <xdje42@gmail.com>
966 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
968 2015-01-02 Doug Evans <dje@google.com>
970 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
972 2014-12-29 Yao Qi <yao@codesourcery.com>
974 * gdb.trace/entry-values.exp: Update comments. Rename variable
975 bar_call_foo to returned_from_foo.
977 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
980 * gdb.linespec/break-asm-file.c: New file.
981 * gdb.linespec/break-asm-file.exp: New file.
982 * gdb.linespec/break-asm-file0.s: New file.
983 * gdb.linespec/break-asm-file1.s: New file.
985 2014-12-18 Nigel Stephens <nigel@mips.com>
986 Maciej W. Rozycki <macro@codesourcery.com>
988 * gdb.base/float.exp: Handle the new output from "info float" on
991 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
993 Fix MinGW compilation.
994 * gdb.compile/compile-ops.exp: Update untested message if
995 !skip_compile_feature_tests.
996 * gdb.compile/compile-setjmp.exp: Likewise.
997 * gdb.compile/compile-tls.exp: Likewise.
998 * gdb.compile/compile.exp: Likewise.
999 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
1000 supported on this host".
1002 2014-12-16 Doug Evans <xdje42@gmail.com>
1004 * boards/stabs.exp: New file.
1006 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
1008 * gdb.base/completion.exp: Adjust to format changes of "maint
1009 print user-registers".
1011 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
1014 * gdb.arch/aarch64-fp.c: New file.
1015 * gdb.arch/aarch64-fp.exp: New file.
1017 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1019 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
1020 r210637, r210913, r211666, r215400, r215817).
1022 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
1023 * dg-extract-results.py: New file.
1024 * dg-extract-results.sh: Use it if the environment seems
1027 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
1029 * dg-extract-results.py (parse_run): Handle warnings that
1030 are printed before a test harness is run.
1032 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
1034 * dg-extract-results.py (Named): Remove __cmp__ method.
1035 (output_variation): Use a key to sort variation.harnesses.
1037 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
1039 * dg-extract-results.py: For Python 3, force sys.stdout to
1040 handle surrogate escape sequences.
1041 (safe_open): New function.
1042 (output_segment, main): Use it.
1044 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
1046 * dg-extract-results.py (Prog.result_re): Include options
1049 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
1051 * dg-extract-results.py (output_variation): Always sort if
1054 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
1056 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
1057 as long as we get pagination notifications.
1059 2014-12-15 Jason Merrill <jason@redhat.com>
1061 * Makefile.in (check-gdb.%): Restore.
1062 * README: Mention it.
1064 2014-12-13 Joel Brobecker <brobecker@adacore.com>
1066 * gdb.ada/str_uninit: New testcase.
1068 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1071 * gdb.base/vla-stub-define.c: New file.
1072 * gdb.base/vla-stub.c: New file.
1073 * gdb.base/vla-stub.exp: New file.
1075 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
1076 Jan Kratochvil <jan.kratochvil@redhat.com>
1077 Tom Tromey <tromey@redhat.com>
1079 * configure.ac: Add gdb.compile/.
1080 * configure: Regenerate.
1081 * gdb.compile/Makefile.in: New file.
1082 * gdb.compile/compile-ops.exp: New file.
1083 * gdb.compile/compile-ops.c: New file.
1084 * gdb.compile/compile-tls.c: New file.
1085 * gdb.compile/compile-tls.exp: New file.
1086 * gdb.compile/compile-constvar.S: New file.
1087 * gdb.compile/compile-constvar.c: New file.
1088 * gdb.compile/compile-mod.c: New file.
1089 * gdb.compile/compile-nodebug.c: New file.
1090 * gdb.compile/compile-setjmp-mod.c: New file.
1091 * gdb.compile/compile-setjmp.c: New file.
1092 * gdb.compile/compile-setjmp.exp: New file.
1093 * gdb.compile/compile-shlib.c: New file.
1094 * gdb.compile/compile.c: New file.
1095 * gdb.compile/compile.exp: New file.
1096 * lib/gdb.exp (skip_compile_feature_tests): New proc.
1098 2014-12-12 Tom Tromey <tromey@redhat.com>
1100 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
1101 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
1103 2014-12-12 Doug Evans <dje@google.com>
1105 * lib/gdb-python.exp (get_python_valueof): New function.
1106 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
1108 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1110 * gdb.base/completion.exp: Add test for completion of "info
1113 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
1115 * gdb.base/func-ptrs.c: New file.
1116 * gdb.base/func-ptrs.exp: New file.
1118 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1120 PR breakpoints/17012
1121 * gdb.base/dprintf-detach.c: New file.
1122 * gdb.base/dprintf-detach.exp: New file.
1124 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1126 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
1127 * lib/gdb.exp (target_is_gdbserver): New procedure.
1129 2014-12-08 Doug Evans <dje@google.com>
1131 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
1133 2014-12-05 Yao Qi <yao@codesourcery.com>
1135 * gdb.guile/scm-error.exp: Remove the third argument to
1136 gdb_remote_download.
1137 * gdb.guile/scm-frame-args.exp: Likewise.
1138 * gdb.guile/scm-section-script.exp: Likewise.
1140 2014-12-05 Yao Qi <yao@codesourcery.com>
1142 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
1144 2014-12-04 Doug Evans <dje@google.com>
1146 * gdb.python/py-objfile.exp: Add tests for
1147 objfile.add_separate_debug_file.
1149 2014-12-04 Doug Evans <dje@google.com>
1151 * lib/gdb.exp (get_build_id): New function.
1152 (build_id_debug_filename_get): Rewrite to use it.
1153 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
1155 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
1157 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
1158 `method(long)', not just 0x0.
1159 * gdb.cp/nsalias.exp: Align code labels to 4.
1160 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
1161 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
1162 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
1163 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
1164 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
1165 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
1167 2014-12-02 Doug Evans <dje@google.com>
1170 * gdb.cp/anon-ns.cc: Move guts of this file to ...
1171 * gdb.cp/anon-ns2.cc: ... here. New file.
1172 * gdb.cp/anon-ns.exp: Update.
1174 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
1176 * gdb.python/py-events.py (inferior_call_handler): New.
1177 (register_changed_handler, memory_changed_handler): New.
1178 (test_events.invoke): Register new handlers.
1179 * gdb.python/py-events.exp: Add tests for inferior call,
1180 memory_changed and register_changed events.
1182 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1184 * gdb.base/execl-update-breakpoints.exp: Specify the link address
1185 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
1186 if the linker doesn't understand this.
1188 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
1190 * gdb.python/python.exp: Change expected reply to help().
1192 2014-12-01 Yao Qi <yao@codesourcery.com>
1194 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
1195 AC_CONFIG_SUBDIRS(gdb.gdbtk).
1196 * configure: Re-generated.
1198 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
1200 * gdb.cp/chained-calls.cc: New file.
1201 * gdb.cp/chained-calls.exp: New file.
1202 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
1204 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
1206 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
1207 * gdb.dwarf2/symtab-producer.exp: Same.
1208 * gdb.gdb/python-interrupts.exp: Same.
1209 * gdb.gdb/python-selftest.exp: Same.
1210 * gdb.python/py-linetable.exp: Same.
1211 * gdb.python/py-type.exp: Same.
1212 * gdb.python/py-value-cc.exp: Same.
1213 * gdb.python/py-value.exp: Same.
1215 2014-11-28 Yao Qi <yao@codesourcery.com>
1217 * gdb.base/break-probes.exp: Match library name prefixed with
1220 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
1222 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
1223 test expected output. Add parentheses for the call to print.
1224 Remove L suffix from integers.
1226 2014-11-26 Doug Evans <dje@google.com>
1228 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
1230 2014-11-22 Yao Qi <yao@codesourcery.com>
1232 * gdb.trace/entry-values.c: Remove asms.
1233 (foo): Add foo_label.
1234 (bar): Add bar_label.
1235 * gdb.trace/entry-values.exp: Remove code computing foo's
1236 length and bar's length.
1237 (Dwarf::assemble): Invoke function_range for bar and use
1238 MACRO_AT_func for foo.
1240 2014-11-22 Yao Qi <yao@codesourcery.com>
1242 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
1243 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
1244 Use .Lgcc43_procstart instead of gcc43.
1246 2014-11-21 Joel Brobecker <brobecker@adacore.com>
1248 * gdb.ada/n_arr_bound: New testcase.
1250 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1252 PR breakpoints/10737
1253 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
1254 test_catch_syscall_multi_arch.
1255 (test_catch_syscall_multi_arch): New function.
1257 2014-11-20 Doug Evans <xdje42@gmail.com>
1259 * gdb.base/maint.exp: Update expected output.
1261 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1263 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
1264 4-byte instruction on S390.
1266 2014-11-19 Joel Brobecker <brobecker@adacore.com>
1268 * gdb.ada/arr_arr: New testcase.
1270 2014-11-19 Joel Brobecker <brobecker@adacore.com>
1272 * gdb.ada/pkd_arr_elem: New Testcase.
1274 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
1276 * gdb.reverse/break-precsave: Expect completion message for
1278 * gdb.reverse/consecutive-precsave.exp: Likewise.
1279 * gdb.reverse/finish-precsave.exp: Likewise.
1280 * gdb.reverse/i386-precsave.exp: Likewise.
1281 * gdb.reverse/machinestate-precsave.exp: Likewise.
1282 * gdb.reverse/sigall-precsave.exp: Likewise.
1283 * gdb.reverse/solib-precsave.exp: Likewise.
1284 * gdb.reverse/step-precsave.exp: Likewise.
1285 * gdb.reverse/until-precsave.exp: Likewise.
1286 * gdb.reverse/watch-precsave.exp: Likewise.
1288 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1290 * gdb.base/bp-permanent.c: Include unistd.h.
1291 * gdb.python/py-framefilter-mi.c (main): Add return type.
1292 * gdb.python/py-framefilter.c (main): Likewise.
1293 * gdb.trace/actions-changed.c (main): Likewise.
1295 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1297 * gdb.mi/until.c: Add eye-catchers.
1298 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
1301 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1303 * gdb.base/condbreak.exp: Drop references to removed non-prototype
1304 function header variants in break1.c.
1305 * gdb.base/ena-dis-br.exp: Likewise.
1306 * gdb.base/hbreak2.exp: Likewise.
1307 * gdb.reverse/until-precsave.exp: Drop references to removed
1308 non-prototype function header variants in ur1.c.
1309 * gdb.reverse/until-reverse.exp: Likewise.
1311 2014-11-17 Petr Machata <pmachata@redhat.com>
1313 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
1314 ${_cu_offset_size} bytes abbrev offset.
1316 2014-11-15 Doug Evans <xdje42@gmail.com>
1319 * gdb.base/line-symtabs.exp: New file.
1320 * gdb.base/line-symtabs.c: New file.
1321 * gdb.base/line-symtabs.h: New file.
1323 2014-11-14 Yao Qi <yao@codesourcery.com>
1325 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
1326 (func): Add label func_label.
1327 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
1328 Replace low_pc and high_pc with MACRO_AT_range.
1329 Replace name, low_pc and high_pc with MACRO_AT_func.
1331 2014-11-14 Yao Qi <yao@codesourcery.com>
1333 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
1334 Replace name, low_pc and high_pc with MACRO_AT_func.
1336 2014-11-14 Yao Qi <yao@codesourcery.com>
1338 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
1339 produce debug information.
1340 * gdb.dwarf2/implptr-optimized-out.S: Removed.
1342 2014-11-14 Yao Qi <yao@codesourcery.com>
1344 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
1345 object and get function length.
1346 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
1348 (top-level): Replace gdb_compile and clean_restart with
1349 prepare_for_testing.
1350 * gdb.dwarf2/main.c (main): Add label main_label.
1352 2014-11-14 Yao Qi <yao@codesourcery.com>
1354 * lib/dwarf.exp (function_range): New procedure.
1355 (Dwarf::_handle_macro_at_func): New procedure.
1356 (Dwarf::_handle_macro_at_range): New procedure.
1357 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
1359 2014-11-14 Yao Qi <yao@codesourcery.com>
1361 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
1362 (_handle_attribute): New procedure.
1364 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1366 * gdb.ada/cond_lang/foo.c (callme): Add return type.
1367 * gdb.base/call-sc.c (zed): Likewise.
1368 * gdb.base/checkpoint.c (main): Likewise.
1369 * gdb.base/dump.c (main): Likewise.
1370 * gdb.base/gcore.c (main): Likewise.
1371 * gdb.base/huge.c (main): Likewise.
1372 * gdb.base/multi-forks.c (main): Likewise.
1373 * gdb.base/pr10179-a.c (main): Likewise.
1374 * gdb.base/savedregs.c (main): Likewise.
1375 * gdb.base/sigaltstack.c (main): Likewise.
1376 * gdb.base/siginfo.c (main): Likewise.
1377 * gdb.base/structs.c (zed): Likewise.
1378 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
1379 * gdb.mi/mi-syn-frame.c (main): Likewise.
1380 * gdb.mi/until.c (foo, main): Likewise.
1381 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
1382 * gdb.base/solib-weak.c (foo): Declare.
1383 * gdb.base/attach-twice.c: Include stdio.h.
1384 * gdb.base/weaklib1.c: Likewise.
1385 * gdb.base/weaklib2.c: Likewise.
1386 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
1387 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
1389 * gdb.base/attach-pie-misread.c: Include stdlib.h.
1390 * gdb.mi/mi-exit-code.c: Likewise.
1391 * gdb.base/break-interp-lib.c: Include string.h.
1392 * gdb.base/coremaker.c: Likewise.
1393 * gdb.base/testenv.c: Likewise.
1394 * gdb.python/py-finish-breakpoint.c: Likewise.
1395 * gdb.base/inferior-died.c: Include sys/wait.h.
1396 * gdb.base/fileio.c: Include time.h.
1397 * gdb.base/async-shell.c: Include unistd.h.
1398 * gdb.base/dprintf-non-stop.c: Likewise.
1399 * gdb.base/info-os.c: Likewise.
1400 * gdb.mi/mi-console.c: Likewise.
1401 * gdb.mi/watch-nonstop.c: Likewise.
1402 * gdb.python/py-events.c: Likewise.
1403 * gdb.base/async.c (baz): Move up before its invocation.
1404 * gdb.base/code_elim2.c (my_global_func): Likewise.
1405 * gdb.base/skip-solib-lib.c (multiply): Likewise.
1406 * gdb.base/advance.c (func2): Likewise.
1408 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1410 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
1412 * gdb.base/annota3.c: Likewise.
1413 * gdb.base/async.c: Likewise.
1414 * gdb.base/average.c: Likewise.
1415 * gdb.base/call-ar-st.c: Likewise.
1416 * gdb.base/call-rt-st.c: Likewise.
1417 * gdb.base/call-sc.c: Likewise.
1418 * gdb.base/call-strs.c: Likewise.
1419 * gdb.base/ending-run.c: Likewise.
1420 * gdb.base/execd-prog.c: Likewise.
1421 * gdb.base/exprs.c: Likewise.
1422 * gdb.base/foll-exec.c: Likewise.
1423 * gdb.base/foll-fork.c: Likewise.
1424 * gdb.base/foll-vfork.c: Likewise.
1425 * gdb.base/funcargs.c: Likewise.
1426 * gdb.base/gcore.c: Likewise.
1427 * gdb.base/jump.c: Likewise.
1428 * gdb.base/langs0.c: Likewise.
1429 * gdb.base/langs1.c: Likewise.
1430 * gdb.base/langs2.c: Likewise.
1431 * gdb.base/mips_pro.c: Likewise.
1432 * gdb.base/nodebug.c: Likewise.
1433 * gdb.base/opaque0.c: Likewise.
1434 * gdb.base/opaque1.c: Likewise.
1435 * gdb.base/recurse.c: Likewise.
1436 * gdb.base/run.c: Likewise.
1437 * gdb.base/scope0.c: Likewise.
1438 * gdb.base/scope1.c: Likewise.
1439 * gdb.base/setshow.c: Likewise.
1440 * gdb.base/setvar.c: Likewise.
1441 * gdb.base/shmain.c: Likewise.
1442 * gdb.base/shr1.c: Likewise.
1443 * gdb.base/shr2.c: Likewise.
1444 * gdb.base/sigall.c: Likewise.
1445 * gdb.base/signals.c: Likewise.
1446 * gdb.base/so-indr-cl.c: Likewise.
1447 * gdb.base/solib2.c: Likewise.
1448 * gdb.base/structs.c: Likewise.
1449 * gdb.base/sum.c: Likewise.
1450 * gdb.base/vforked-prog.c: Likewise.
1451 * gdb.base/watchpoint.c: Likewise.
1452 * gdb.reverse/shr2.c: Likewise.
1453 * gdb.reverse/until-reverse.c: Likewise.
1454 * gdb.reverse/ur1.c: Likewise.
1455 * gdb.reverse/watch-reverse.c: Likewise.
1457 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1459 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
1461 * gdb.base/sepdebug.exp: Drop references to removed code.
1463 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1465 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
1466 variant. Preserve original line numbering.
1467 * gdb.base/list1.c: Likewise.
1469 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1471 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
1473 * gdb.base/break1.c: Likewise.
1474 * gdb.base/break.exp: Drop references to removed code.
1476 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1478 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
1481 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1483 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
1485 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1487 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
1488 logic into perform_all_tests() and invoke it with and without
1489 function header prototypes.
1490 (do_function_calls): Remove conditional XFAIL for PR 5318.
1491 (rerun_and_prepare): Remove duplicate code.
1492 (perform_all_tests): New. Main logic moved here.
1494 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1496 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
1497 code guarded by #ifdef NO_PROTOTYPES.
1498 (t_double_many_args): Likewise.
1499 (DEF_FUNC_MANY_ARGS_1): Likewise.
1500 (DEF_FUNC_VALUES_1): Likewise.
1501 (t_structs_ldc): Renamed from t_structs_fc in conditional code
1502 guarded by #ifdef PROTOTYPES.
1504 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1506 * gdb.mi/mi-console.c: Add eye-catcher.
1507 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
1508 instead of literal line number.
1510 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1512 * gdb.base/shr2.c: Add eye-catcher.
1513 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
1516 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1518 * gdb.base/jump.c: Add eye-catchers.
1519 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
1522 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1524 * gdb.base/execd-prog.c: Add eye-catchers.
1525 * gdb.base/foll-exec.c: Likewise.
1526 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
1529 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1531 * gdb.base/ending-run.c: Add eye-catchers.
1532 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
1533 literal line numbers.
1535 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1537 * gdb.base/call-rt-st.c: Add eye-catchers.
1538 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
1539 literal line numbers.
1541 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1543 * gdb.base/call-ar-st.c: Add eye-catchers.
1544 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
1545 literal line numbers.
1547 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1549 * gdb.base/average.c: Add eye-catchers.
1550 * gdb.base/sum.c: Likewise.
1551 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
1552 regexps dynamically.
1554 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1556 * gdb.base/solib1.c: Add eye-catchers.
1557 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
1558 literal line numbers.
1560 2014-11-12 Pedro Alves <palves@redhat.com>
1562 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
1565 2014-11-12 Pedro Alves <palves@redhat.com>
1567 * gdb.arch/i386-bp_permanent.c: New file.
1568 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
1569 (srcfile): Set to i386-bp_permanent.c.
1570 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
1571 that stepi does not execute the 'leave' instruction, instead of
1572 testing it does execute.
1573 * gdb.base/bp-permanent.c: New file.
1574 * gdb.base/bp-permanent.exp: New file.
1576 2014-11-10 Doug Evans <xdje42@gmail.com>
1579 * gdb.base/symtab-search-order.exp: New file.
1580 * gdb.base/symtab-search-order.c: New file.
1581 * gdb.base/symtab-search-order-1.c: New file.
1582 * gdb.base/symtab-search-order-shlib-1.c: New file.
1584 2014-11-07 Pedro Alves <palves@redhat.com>
1587 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
1590 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
1593 * gdb.cp/pr17494.cc: New file.
1594 * gdb.cp/pr17494.exp: New file.
1596 2014-11-02 Yao Qi <yao@codesourcery.com>
1598 * gdb.python/python.exp: Get working directory and match the
1599 output of "set extended-prompt \\w " with it.
1601 2014-10-30 Doug Evans <dje@google.com>
1603 * gdb.python/py-objfile.exp: Add tests for setting random attributes
1605 * gdb.python/py-progspace.exp: Add tests for setting random attributes
1608 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
1610 * gdb.base/fullpath-expand.exp: Skip for a remote host.
1611 * gdb.base/realname-expand.exp: Likewise.
1612 * gdb.linespec/macro-relative.exp: Likewise.
1614 2014-10-29 Pedro Alves <palves@redhat.com>
1617 * gdb.threads/schedlock.c (some_function): New function.
1618 (call_function): New global.
1619 (MAYBE_CALL_SOME_FUNCTION): New macro.
1620 (thread_function): Call it.
1621 * gdb.threads/schedlock.exp (get_args): Add description parameter,
1622 and use it instead of a global counter. Adjust all callers.
1623 (get_current_thread): Use "find current thread" for test message
1624 here rather than having all callers pass down the same string.
1625 (goto_loop): New procedure, factored out from ...
1626 (my_continue): ... this.
1627 (step_ten_loops): Change parameter from test message to command to
1629 (list_count): Delete global.
1630 (check_result): New procedure, factored out from duplicate top
1632 (continue tests): Wrap in with_test_prefix.
1633 (test_step): New procedure, factored out from duplicate top level
1635 (top level): Test "step" in combination with all scheduler-locking
1636 modes. Test "next" in combination with all scheduler-locking
1637 modes, and in combination with stepping over a function call or
1639 * gdb.threads/next-bp-other-thread.c: New file.
1640 * gdb.threads/next-bp-other-thread.exp: New file.
1642 2014-10-29 Pedro Alves <palves@redhat.com>
1645 * gdb.python/python.exp: Test a multi-line command that spawns
1647 * gdb.base/multi-line-starts-subshell.exp: New file.
1649 2014-10-29 Yao Qi <yao@codesourcery.com>
1651 * gdb.base/fileio.exp: Make directories on host.
1653 2014-10-29 Yao Qi <yao@codesourcery.com>
1655 * gdb.base/fileio.c (test_write): Close the file.
1657 2014-10-28 Pedro Alves <palves@redhat.com>
1660 * gdb.base/sigstep.c (no_handler): New global.
1661 (main): If 'no_handler is true, set the signal handlers to
1663 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
1664 with_sw_watch and no_handler parameters. Handle them.
1665 (top level) <stepping over handler when stopped at a breakpoint
1666 test>: Add a test axis for testing with a software watchpoint, and
1667 another for testing with the signal handler set to SIG_IGN.
1668 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
1669 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
1671 2014-10-28 Pedro Alves <palves@redhat.com>
1674 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
1675 * gdb.base/sigstep.exp (other_handler_location): New global.
1676 (advance): Support stepping into the signal handler, and running
1677 commands while in the handler.
1678 (in_handler_map): New global.
1679 (top level): In the advance test, add combinations for getting
1680 into the handler with stepping commands, and for running commands
1681 in the handler. Add comment descripting the advancei tests.
1683 2014-10-28 Pedro Alves <palves@redhat.com>
1685 * gdb.base/sigstep.exp: Use build_executable instead of
1686 prepare_for_testing.
1687 (top level): Move code that starts GDB, runs to main and creates a
1689 (restart): ... this new procedure.
1690 (top level): Move backtrace from signal handler test to ...
1691 (validate_backtrace): ... this new procedure.
1692 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
1693 with_test_prefix. Always restart GDB.
1694 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
1695 with_test_prefix. Always restart GDB. No need to delete
1696 breakpoints after the test.
1697 (test_skip_handler): Remove prefix parameter.
1698 (skip_over_handler, breakpoint_to_handler)
1699 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
1700 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
1701 restart GDB. No need to delete breakpoints after the test.
1702 (top level): Use foreach to call the test procedures with
1705 2014-10-28 Pedro Alves <palves@redhat.com>
1707 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
1708 instead of GNATS numbers.
1709 * gdb.base/sigbpt.exp: Likewise.
1710 * gdb.base/siginfo.exp: Likewise.
1711 * gdb.base/sigstep.exp: Likewise.
1713 2014-10-27 Pedro Alves <palves@redhat.com>
1715 * gdb.base/sigstep.c (dummy): New global.
1716 (main): Issue a couple writes to the new global.
1717 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
1719 (skip_over_handler): Use test_skip_handler.
1720 (top level): Call skip_over_handler for stepi and nexti too.
1721 (breakpoint_over_handler): Use test_skip_handler.
1722 (top level): Call breakpoint_over_handler for stepi and nexti too.
1724 2014-10-27 Yao Qi <yao@codesourcery.com>
1726 * gdb.trace/tfile.c (adjust_function_address)
1727 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
1728 function descriptor.
1730 2014-10-24 Don Breazeal <donb@codesourcery.com>
1732 * gdb.base/foll-fork.exp (test_follow_fork,
1733 catch_fork_child_follow): Check for updated fork messages emitted
1735 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
1736 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
1737 vfork_and_exec_child_follow_through_step): Check for updated vfork
1738 messages emitted from infrun.c.
1740 2014-10-24 Pedro Alves <palves@redhat.com>
1742 * gdb.base/corefile.exp: Remove references to ultrix.
1743 * gdb.base/interrupt.exp: Likewise.
1744 * gdb.base/whatis.exp: Likewise.
1745 * gdb.gdb/selftest.exp: Likewise.
1746 * gdb.threads/manythreads.exp: Likewise.
1747 * gdb.threads/print-threads.exp: Likewise.
1748 * gdb.threads/pthreads.exp:: Likewise.
1749 * gdb.threads/schedlock.exp: Likewise.
1751 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
1753 * gdb.cp/non-trivial-retval.cc: Add a test case.
1754 * gdb.cp/non-trivial-retval.exp: Add a test.
1756 2014-10-20 Yao Qi <yao@codesourcery.com>
1758 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
1759 * gdb.python/py-objfile-script-gdb.py: New file.
1760 * gdb.python/py-objfile-script.exp: Update reference to
1761 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
1762 of remote_download. Remove the dest file.
1764 2014-10-20 Yao Qi <yao@codesourcery.com>
1766 * gdb.base/checkpoint.exp: Don't remove file copied on host.
1767 * gdb.base/step-line.exp: Likewise.
1768 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1769 * gdb.dwarf2/dw2-basic.exp: Likewise.
1770 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1771 * gdb.dwarf2/dw2-filename.exp: Likewise.
1772 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1773 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1774 * gdb.dwarf2/dw2-producer.exp: Likewise.
1775 * gdb.dwarf2/mac-fileno.exp: Likewise.
1776 * gdb.python/py-frame-args.exp: Likewise.
1777 * gdb.python/py-framefilter.exp: Likewise.
1778 * gdb.python/py-mi.exp: Likewise.
1779 * gdb.python/py-objfile-script.exp: Likewise
1780 * gdb.python/py-pp-integral.exp: Likewise.
1781 * gdb.python/py-pp-re-notag.exp: Likewise.
1782 * gdb.python/py-prettyprint.exp: Likewise.
1783 * gdb.python/py-section-script.exp: Likewise.
1784 * gdb.python/py-typeprint.exp: Likewise.
1785 * gdb.python/py-xmethods.exp: Likewise.
1786 * gdb.stabs/weird.exp: Likewise.
1787 * gdb.xml/tdesc-regs.exp: Likewise.
1789 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
1791 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
1792 (out_cu): Use addr_len for the size of addresses.
1793 (out_line): Likewise. Size DW_LNE_set_address instruction
1794 according to addr_len.
1795 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
1796 (FUNC): Add START_INSNS to definition.
1798 2014-10-18 Yao Qi <yao@codesourcery.com>
1800 * gdb.base/argv0-symlink.exp: Check argv[0] value if
1801 gdb_has_argv0 return true.
1802 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
1803 check [target_info exists noargs], check [gdb_has_argv0]
1805 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1806 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
1809 2014-10-17 Doug Evans <dje@google.com>
1811 * gdb.python/py-events.exp: Update expected output for clear_objfiles
1813 * gdb.python/py-events.py: Add clear_objfiles event.
1815 2014-10-17 Doug Evans <dje@google.com>
1817 * gdb.python/py-objfile.exp: Test progspace attribute.
1819 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
1821 * gdb.guile/scm-breakpoint.exp: Do not assume any
1822 directory separators when matching source file paths.
1823 * gdb.python/py-breakpoint.exp: Likewise.
1824 * gdb.reverse/break-precsave.exp: Likewise.
1825 * gdb.reverse/break-reverse.exp: Likewise.
1826 * gdb.reverse/consecutive-precsave.exp: Likewise.
1827 * gdb.reverse/finish-precsave.exp: Likewise.
1828 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
1829 * gdb.reverse/finish-reverse.exp: Likewise.
1830 * gdb.reverse/i386-precsave.exp: Likewise.
1831 * gdb.reverse/i387-env-reverse.exp: Likewise.
1832 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1833 * gdb.reverse/machinestate-precsave.exp: Likewise.
1834 * gdb.reverse/machinestate.exp: Likewise.
1835 * gdb.reverse/sigall-precsave.exp: Likewise.
1836 * gdb.reverse/solib-precsave.exp: Likewise.
1837 * gdb.reverse/step-precsave.exp: Likewise.
1838 * gdb.reverse/until-precsave.exp: Likewise.
1839 * gdb.reverse/watch-precsave.exp: Likewise.
1840 * gdb.reverse/watch-reverse.exp: Likewise.
1842 2014-10-17 Yao Qi <yao@codesourcery.com>
1844 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
1845 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
1847 2014-10-17 Pedro Alves <palves@redhat.com>
1850 * gdb.base/bg-execution-repeat.c: New file.
1851 * gdb.base/bg-execution-repeat.exp: New file.
1853 2014-10-17 Pedro Alves <palves@redhat.com>
1856 * gdb.base/continue-all-already-running.c: New file.
1857 * gdb.base/continue-all-already-running.exp: New file.
1859 2014-10-17 Pedro Alves <palves@redhat.com>
1862 * gdb.base/annota-input-while-running.c: New file.
1863 * gdb.base/annota-input-while-running.exp: New file.
1865 2014-10-17 Pedro Alves <palves@redhat.com>
1867 * gdb.base/callfuncs.exp: emove references to osf.
1868 * gdb.base/sigall.exp: Likewise.
1869 * gdb.gdb/selftest.exp: Likewise.
1870 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1871 * gdb.mi/non-stop.c: Likewise.
1872 * gdb.mi/pthreads.c: Likewise.
1873 * gdb.reverse/sigall-precsave.exp: Likewise.
1874 * gdb.reverse/sigall-reverse.exp: Likewise.
1875 * gdb.threads/pthreads.c: Likewise.
1876 * gdb.threads/pthreads.exp: Likewise.
1878 2014-10-17 Yao Qi <yao@codesourcery.com>
1880 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
1881 check 'target_info exists noargs'.
1882 (test_command_prompt_position): Likewise.
1883 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
1885 (progvar_simple_while_test): Likewise.
1886 (progvar_complex_if_while_test): Likewise.
1887 (if_while_breakpoint_command_test): Likewise.
1888 (infrun_breakpoint_command_test): Likewise.
1889 (breakpoint_command_test): Likewise.
1890 (watchpoint_command_test): Likewise.
1891 (bp_deleted_in_command_test): Likewise.
1892 (temporary_breakpoint_commands): Likewise.
1894 2014-10-16 Yao Qi <yao@codesourcery.com>
1896 * gdb.base/remotetimeout.exp: Remove noargs checking.
1898 2014-10-15 Pedro Alves <palves@redhat.com>
1901 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
1902 * gdb.base/breakpoint-in-ro-region.exp
1903 (probe_target_hardware_step): New procedure.
1904 (top level): Probe hardware stepping and hardware breakpoint
1905 support. Test stepping through a read-only region, with both
1906 "breakpoint auto-hw" on and off and both "always-inserted" on and
1909 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
1911 * gdb.dlang/demangle.exp: Update for demangling changes.
1913 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1915 * gdb.cp/non-trivial-retval.cc: Add new test cases.
1916 * gdb.cp/non-trivial-retval.exp: Add new tests.
1918 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1922 * gdb.cp/non-trivial-retval.cc: New file.
1923 * gdb.cp/non-trivial-retval.exp: New file.
1925 2014-10-15 Yao Qi <yao@codesourcery.com>
1927 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
1930 2014-10-15 Yao Qi <yao@codesourcery.com>
1932 * gdb.python/py-symbol.exp: Match file base name if host is
1933 remote, otherwise match file name with dir name.
1934 * gdb.python/py-symtab.exp: Likewise.
1935 * gdb.python/python.exp: Likewise.
1937 2014-10-15 Yao Qi <yao@codesourcery.com>
1939 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
1941 * gdb.python/py-symtab.exp: Likewise.
1942 * gdb.python/python.exp: Remove trailing ".*". Fix typo
1945 2014-10-14 Joel Brobecker <brobecker@adacore.com>
1947 * gdb.ada/addr_arith: New testcase.
1949 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
1951 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
1952 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
1953 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
1954 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
1956 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
1958 * gdb.arch/stap-eval-lang-ada.S: Likewise.
1959 * gdb.arch/stap-eval-lang-ada.c: Likewise.
1960 * gdb.arch/stap-eval-lang-ada.exp: New file.
1962 2014-10-14 Yao Qi <yao@codesourcery.com>
1964 * gdb.mi/mi-var-child.c (nothing1): New function.
1965 (nothing2): New function.
1966 (do_children_tests): Set function pointers by nothing1 and
1968 * gdb.mi/mi-var-child.exp: Step over new added statements.
1969 Update test to match the new output.
1970 * gdb.mi/var-cmd.c (nothing1): New function.
1971 (nothing2): New function.
1972 (do_children_tests): Set function pointers by nothing1 and
1974 * gdb.mi/mi-var-display.exp: Update test to match output.
1975 Step to the line specified by $line_dct_nothing.
1976 Increase the number of lines to step.
1978 2014-10-14 Yao Qi <yao@codesourcery.com>
1980 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
1982 * gdb.mi/mi2-var-child.exp: Likewise.
1984 2014-10-13 Doug Evans <dje@google.com>
1986 * gdb.python/py-objfile.exp: Change name of file name test.
1988 2014-10-13 Doug Evans <dje@google.com>
1990 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
1991 from the start of the CU.
1993 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1994 Yao Qi <yao@codesourcery.com>
1996 Fix "save breakpoints" for "catch" command.
1997 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
1998 Remove -nonewline. Match also the added "main" line.
2000 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2002 Fix "save breakpoints" for "disable $bpnum" command.
2003 * gdb.base/save-bp.c (main): Add label.
2004 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
2006 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2008 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
2010 2014-10-11 Yao Qi <yao@codesourcery.com>
2012 * gdb.server/server-kill.exp: Execute command
2013 "set remote trace-status-packet on" before "tstatus".
2015 2014-10-11 Yao Qi <yao@codesourcery.com>
2017 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
2018 (main): Call getppid.
2019 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
2020 and continue to it. Read variable "server_pid".
2022 2014-10-11 Yao Qi <yao@codesourcery.com>
2024 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
2026 2014-10-11 Yao Qi <yao@codesourcery.com>
2028 * gdb.threads/thread-find.exp: Don't execute command
2030 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
2031 * gdb.threads/linux-dp.exp: Don't check the condition
2032 $threads_created equals to zero.
2034 2014-10-10 Pedro Alves <palves@redhat.com>
2036 * gdb.base/bigcore.exp: Remove references to IRIX.
2037 * gdb.base/funcargs.exp: Likewise.
2038 * gdb.base/interrupt.exp: Likewise.
2039 * gdb.base/mips_pro.exp: Likewise.
2040 * gdb.base/nodebug.exp: Likewise.
2041 * gdb.base/setvar.exp: Likewise.
2042 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
2044 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2045 Pedro Alves <palves@redhat.com>
2048 * gdb.base/vdso-warning.c: New file.
2049 * gdb.base/vdso-warning.exp: New file.
2051 2014-10-02 Doug Evans <dje@google.com>
2053 * gdb.base/structs.c (main): Don't run forever.
2055 2014-10-02 Pedro Alves <palves@redhat.com>
2057 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
2058 (top level) <stop threads 1, stop threads 2>: Use it.
2060 2014-10-02 Pedro Alves <palves@redhat.com>
2062 * gdb.threads/break-while-running.exp (test): Add new
2063 'update_thread_list' argument. Skip "info threads" if false.
2064 (top level): Add new 'update_thread_list' axis.
2066 2014-10-02 Pedro Alves <palves@redhat.com>
2068 PR breakpoints/17431
2069 * gdb.base/execl-update-breakpoints.c: New file.
2070 * gdb.base/execl-update-breakpoints.exp: New file.
2072 2014-10-01 Pedro Alves <palves@redhat.com>
2074 * gdb.base/breakpoint-in-ro-region.c: New file.
2075 * gdb.base/breakpoint-in-ro-region.exp: New file.
2077 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
2079 * gdb.mi/mi-exit-code.exp: New file.
2080 * gdb.mi/mi-exit-code.c: New file.
2082 2014-09-30 Yao Qi <yao@codesourcery.com>
2084 * lib/prelink-support.exp (build_executable_own_libs): Error if
2085 the target isn't native.
2087 2014-09-30 Yao Qi <yao@codesourcery.com>
2089 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
2092 2014-09-22 Pedro Alves <palves@redhat.com>
2094 * gdb.threads/break-while-running.exp: New file.
2095 * gdb.threads/break-while-running.c: New file.
2097 2014-09-19 Yao Qi <yao@codesourcery.com>
2099 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
2100 Invoke test. Restart GDB with --readnow and invoke test again.
2102 2014-09-19 Yao Qi <yao@codesourcery.com>
2104 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
2105 proc set_breakpoint_on_gcd_function. Invoke
2106 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
2107 invoke set_breakpoint_on_gcd_function again.
2109 2014-09-18 Doug Evans <dje@google.com>
2111 * gdb.dwarf2/symtab-producer.exp: New file.
2113 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2115 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
2116 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
2117 * gdb.base/global-var-nested-by-dso.c: Likewise.
2118 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2120 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2121 Pedro Alves <palves@redhat.com>
2123 * gdb.base/watch-bitfields.exp: Pass string other than test file
2124 name to prepare_for_testing.
2125 (watch): New procedure.
2126 (expect_watchpoint): Use with_test_prefix.
2127 (top level): Factor out tests to ...
2128 (test_watch_location, test_regular_watch): ... these new
2129 procedures, and use with_test_prefix and gdb_continue_to_end.
2131 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
2133 PR breakpoints/12526
2134 * gdb.base/watch-bitfields.exp: New file.
2135 * gdb.base/watch-bitfields.c: New file.
2137 2014-09-16 Pedro Alves <palves@redhat.com>
2139 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
2140 software and hardware addresses, not software address against
2143 2014-09-16 Pedro Alves <palves@redhat.com>
2145 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
2146 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
2148 2014-09-16 Pedro Alves <palves@redhat.com>
2150 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
2152 * gdb.base/a2-run.exp: Remove all code guarded by istarget
2153 "*-*-vxworks*" throughout.
2154 * gdb.base/break.exp: Likewise.
2155 * gdb.base/default.exp: Likewise.
2156 * gdb.base/scope.exp: Likewise.
2157 * gdb.base/sepdebug.exp: Likewise.
2158 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
2160 * gdb.base/run.c: Likewise.
2161 * gdb.base/sepdebug.c: Likewise.
2162 * gdb.hp/gdb.aCC/run.c: Likewise.
2163 * gdb.reverse/until-reverse.c: Likewise.
2164 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
2166 2014-09-16 Yao Qi <yao@codesourcery.com>
2168 * boards/local-remote-host-native.exp: New file.
2170 2014-09-14 Doug Evans <xdje42@gmail.com>
2172 * gdb.threads/queue-signal.c (thread_count): New variable.
2173 (thread_count_mutex, thread_count_condvar): New variables.
2174 (incr_thread_count, wait_all_threads_running): New functions.
2175 (main): Wait for all threads to be in their thread functions.
2177 2014-09-13 Doug Evans <xdje42@gmail.com>
2179 * gdb.threads/queue-signal.c: New file.
2180 * gdb.threads/queue-signal.exp: New file.
2182 2014-09-13 Doug Evans <xdje42@gmail.com>
2184 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
2185 be consistent with what default_gdb_init uses.
2186 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
2187 the plain text of the prompt. Add some logging printfs.
2188 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
2190 2014-09-12 Pedro Alves <palves@redhat.com>
2192 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
2193 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
2194 * gdb.arch/i386-size-overlap.exp: Likewise.
2195 * gdb.arch/i386-size.exp: Likewise.
2196 * gdb.arch/i386-unwind.exp: Likewise.
2197 * gdb.base/a2-run.exp: Likewise.
2198 * gdb.base/break.exp: Likewise.
2199 * gdb.base/charset.exp: Likewise.
2200 * gdb.base/chng-syms.exp: Likewise.
2201 * gdb.base/commands.exp: Likewise.
2202 * gdb.base/dbx.exp: Likewise.
2203 * gdb.base/find.exp: Likewise.
2204 * gdb.base/funcargs.exp: Likewise.
2205 * gdb.base/jit-simple.exp: Likewise.
2206 * gdb.base/reread.exp: Likewise.
2207 * gdb.base/sepdebug.exp: Likewise.
2208 * gdb.base/step-bt.exp: Likewise.
2209 * gdb.cp/mb-inline.exp: Likewise.
2210 * gdb.cp/mb-templates.exp: Likewise.
2211 * gdb.objc/basicclass.exp: Likewise.
2212 * gdb.threads/killed.exp: Likewise.
2214 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2217 * gdb.arch/powerpc-stackless.S: New file.
2218 * gdb.arch/powerpc-stackless.exp: New file.
2220 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2222 * gdb.base/attach.c: Include unistd.h.
2223 (main): Call alarm. Add label postloop.
2224 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
2225 gdb_breakpoint, gdb_continue_to_breakpoint.
2226 (test_command_line_attach_run): Kill ${testpid} in one exit path.
2228 2014-09-11 Pedro Alves <palves@redhat.com>
2231 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
2232 * gdb.base/attach.exp (test_command_line_attach_run): New
2234 (top level): Call it.
2236 2014-09-11 Pedro Alves <palves@redhat.com>
2238 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
2239 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
2240 (do_command_attach_tests): Use spawn_wait_for_attach.
2241 * gdb.base/solib-overlap.exp: Likewise.
2242 * gdb.multi/multi-attach.exp: Likewise.
2243 * gdb.python/py-prompt.exp: Likewise.
2244 * gdb.python/py-sync-interp.exp: Likewise.
2245 * gdb.server/ext-attach.exp: Likewise.
2247 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
2249 * gdb.fortran/array-element.exp: Remove unexpected "continue"
2250 command in testcase. Simplify testcase.
2252 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2254 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
2256 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2258 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
2260 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2262 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
2264 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2266 * gdb.dwarf2/dynarr-ptr.c: New file.
2267 * gdb.dwarf2/dynarr-ptr.exp: New file.
2269 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2271 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
2272 of 30 rather than hardcoding 120 for a slow test case. Take the
2273 `gdb,timeout' target setting into account for this calculation.
2274 Don't extend the timeout for the test cases that don't need it.
2276 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2278 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
2279 a factor of 2 for a slow test case. Take the `gdb,timeout'
2280 target setting into account for this calculation.
2281 * gdb.reverse/until-precsave.exp: Increase the timeout by
2282 a factor of 15 and 3 respectively rather than adding 120
2283 for a pair of slow test cases. Take the `gdb,timeout'
2284 target setting into account for this calculation.
2286 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2288 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
2289 timeout, don't pass one down to gdb_expect.
2290 (gdb_expect): Rework timeout selection.
2292 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2294 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
2295 exception on timeout.
2296 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
2297 (gdbserver_start_extended): Catch any `gdbserver_start' error
2299 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
2300 * lib/mi-support.exp (mi_gdb_target_load): Catch any
2301 `gdbserver_gdb_load' error exceptions.
2303 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2305 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
2306 120 on waiting for the TCP socket to open.
2308 2014-09-09 Doug Evans <xdje42@gmail.com>
2310 * gdb.base/default.exp (show_conv_list): Add _caller_is,
2311 _caller_matches, _any_caller_is, _any_caller_matches.
2313 2014-09-09 Doug Evans <xdje42@gmail.com>
2315 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
2317 2014-09-09 Yao Qi <yao@codesourcery.com>
2319 * gdb.mi/mi-var-display.exp: Set print symbol off.
2321 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
2324 * gdb.base/commands.exp: Add tests to verify user-defined
2325 commands with empty bodies.
2326 * gdb.python/py-cmd.exp: Test that we don't show user-defined
2327 python commands in `show user command`.
2328 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
2329 scheme commands in `show user command`.
2331 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2334 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
2335 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
2336 * gdb.python/py-framefilter-invalidarg.exp: New file.
2337 * gdb.python/py-framefilter-invalidarg.py: New file.
2339 2014-09-06 Doug Evans <xdje42@gmail.com>
2342 * gdb.python/py-caller-is.c: New file.
2343 * gdb.python/py-caller-is.exp: New file.
2345 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
2348 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
2349 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
2351 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
2354 * gdb.fortran/print-formatted.exp: New file.
2355 * gdb.fortran/print-formatted.f90: Likewise.
2357 2014-09-03 Sasha Smundak <asmundak@google.com>
2359 * gdb.python/py-frame.exp: Test Frame.read_register.
2361 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2364 * gdb.python/py-completion.exp: New file.
2365 * gdb.python/py-completion.py: Likewise.
2367 2014-08-28 Doug Evans <dje@google.com>
2369 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
2370 eax,etc. are live with values set by gdb and thus the compiler can't
2372 * gdb.arch/i386-pseudo.c (main): Ditto.
2374 2014-08-27 Doug Evans <dje@google.com>
2376 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
2378 2014-08-25 Doug Evans <dje@google.com>
2380 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
2383 2014-08-25 Doug Evans <dje@google.com>
2385 * gdb.threads/thread-execl.exp: #include <stdio.h>.
2387 2014-08-24 Yao Qi <yao@codesourcery.com>
2389 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
2391 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
2393 2014-08-22 Doug Evans <dje@google.com>
2396 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
2397 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
2398 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
2400 2014-08-22 Yao Qi <yao@codesourcery.com>
2402 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
2403 * gdb.python/py-finish-breakpoint2.exp: Likewise.
2404 * gdb.python/python.exp: Likewise. Use .py file on the host
2405 instead of the build.
2407 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2409 * gdb.threads/gcore-stale-thread.c: New file.
2410 * gdb.threads/gcore-stale-thread.exp: New file.
2412 2014-08-21 Pedro Alves <palves@redhat.com>
2414 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
2415 * gdb.base/gcore-relro-pie.exp: Likewise.
2416 * gdb.base/gcore-relro.exp: Likewise.
2417 * gdb.base/gcore.exp: Likewise.
2418 * gdb.base/print-symbol-loading.exp: Likewise.
2419 * gdb.threads/gcore-thread.exp: Likewise.
2420 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
2422 2014-08-20 Pedro Alves <palves@redhat.com>
2423 Jan Kratochvil <jan.kratochvil@redhat.com>
2425 * Makefile.in (EXTRA_RULES, CC): New variables, get from
2427 (EXPECT): Handle READ1 being set.
2428 (all): Depend on EXTRA_RULES.
2429 (check-read1, expect-read1, read1.so, read1): New rules.
2430 * README (Testsuite Parameters): Document the READ1 make variable.
2431 (Race detection): New section.
2432 * configure: Regenerate.
2433 * configure.ac: If build==host==target, and running under a
2434 GNU/glibc system, add read1 to the extra Makefile rules.
2435 (EXTRA_RULES): AC_SUBST it.
2436 * lib/read1.c: New file.
2438 2014-08-20 Joel Brobecker <brobecker@adacore.com>
2440 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
2441 the handling of variables declared as a typedef to an array
2442 which a DW_AT_data_location attribute.
2444 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
2445 Pedro Alves <palves@redhat.com>
2449 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
2452 2014-08-19 Pedro Alves <palves@redhat.com>
2454 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
2456 2014-08-19 Yao Qi <yao@codesourcery.com>
2458 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
2461 2014-08-18 David Blaikie <dblaikie@gmail.com>
2463 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
2465 2014-08-18 Joel Brobecker <brobecker@adacore.com>
2467 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
2468 attribute in array range.
2470 2014-08-18 Joel Brobecker <brobecker@adacore.com>
2472 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
2474 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2477 * gdb.cp/pr17132.cc: New file.
2478 * gdb.cp/pr17132.exp: New file.
2480 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2482 * gdb.python/py-xmethods.py (A_getarrayind)
2483 (E_method_char_worker.__call__, E_method_int_worker.__call__):
2484 Use 'print' with function call syntax.
2485 (E_method_matcher.match): Fix tab vs space indentation mixup.
2487 2014-08-15 Yao Qi <yao@codesourcery.com>
2489 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
2492 2014-08-15 Yao Qi <yao@codesourcery.com>
2494 * gdb.cp/casts.exp: Set print symbol off.
2495 * gdb.cp/class2.exp: Likewise.
2496 * gdb.cp/overload.exp: Likewise.
2497 * gdb.cp/templates.exp: Likewise.
2499 2014-08-11 Doug Evans <dje@google.com>
2501 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2502 (test_load_shlib): Update.
2504 2014-08-09 Yao Qi <yao@codesourcery.com>
2506 * gdb.base/display.exp: Invoke is_address_zero_readable.
2507 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
2508 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2509 * gdb.base/hbreak-unmapped.exp: Return if
2510 is_address_zero_readable returns true.
2511 * gdb.base/signest.exp: Likewise.
2512 * gdb.base/signull.exp: Likewise.
2513 * gdb.base/sigbpt.exp: Likewise.
2514 * gdb.guile/scm-disasm.exp: Do the test if
2515 is_address_zero_readable returns false.
2516 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
2517 * gdb.python/py-arch.exp: Likewise.
2518 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
2519 * lib/gdb.exp (is_address_zero_readable): New proc.
2521 2014-08-09 Yao Qi <yao@codesourcery.com>
2524 * gdb.mi/mi-var-display.exp: Make test messages unique.
2526 2014-08-04 Tom Tromey <tromey@redhat.com>
2528 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
2531 2014-08-04 Tom Tromey <tromey@redhat.com>
2533 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
2536 2014-08-01 Joel Brobecker <brobecker@adacore.com>
2538 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
2539 inner_vla_struct_object_size.
2540 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
2543 2014-07-30 Pedro Alves <palves@redhat.com>
2545 * gdb.threads/signal-command-handle-nopass.exp (test): Add
2548 2014-07-29 Yao Qi <yao@codesourcery.com>
2551 * gdb.base/until-nodebug.exp: New.
2553 2014-07-28 Doug Evans <xdje42@gmail.com>
2556 * gdb.guile/scm-parameter.exp: Add tests for trying to create
2557 previously existing parameter, and previously ambiguously spelled
2560 2014-07-28 Will Newton <will.newton@linaro.org>
2562 * gdb.base/varargs.exp: Remove KFAILs for ARM.
2564 2014-07-26 Ludovic Courtès <ludo@gnu.org>
2565 Doug Evans <xdje42@gmail.com>
2568 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
2570 2014-07-25 Pedro Alves <palves@redhat.com>
2572 * gdb.threads/signal-command-handle-nopass.c: New file.
2573 * gdb.threads/signal-command-handle-nopass.exp: New file.
2574 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
2575 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
2576 * gdb.threads/signal-delivered-right-thread.c: New file.
2577 * gdb.threads/signal-delivered-right-thread.exp: New file.
2579 2014-07-25 Pedro Alves <palves@redhat.com>
2581 * gdb.base/double-prompt-target-event-error.exp
2582 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
2584 (cancel_pagination_in_target_event): Rework double prompt
2586 * gdb.base/paginate-after-ctrl-c-running.exp
2587 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
2589 * gdb.base/paginate-bg-execution.exp
2590 (test_bg_execution_pagination_return)
2591 (test_bg_execution_pagination_cancel): Remove '-notransfer
2593 * gdb.base/paginate-execution-startup.exp
2594 (test_fg_execution_pagination_return)
2595 (test_fg_execution_pagination_cancel): Remove '-notransfer
2597 * gdb.base/paginate-inferior-exit.exp
2598 (test_paginate_inferior_exited): Remove '-notransfer <return>'
2600 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
2601 * lib/gdb.exp (pagination_prompt): Run text through
2603 (gdb_test_multiple): Match $pagination_prompt instead of
2605 (string_to_regexp): Move to lib/gdb-utils.exp.
2607 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2609 * gdb.arch/amd64-entry-value-paramref.S: New file.
2610 * gdb.arch/amd64-entry-value-paramref.cc: New file.
2611 * gdb.arch/amd64-entry-value-paramref.exp: New file.
2612 * gdb.arch/amd64-optimout-repeat.S: New file.
2613 * gdb.arch/amd64-optimout-repeat.c: New file.
2614 * gdb.arch/amd64-optimout-repeat.exp: New file.
2616 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2619 * gdb.base/statistics.exp: New file.
2621 2014-07-17 Doug Evans <dje@google.com>
2624 * gdb.base/maint.exp: Update testing of per-command stats.
2626 2014-07-16 Pedro Alves <palves@redhat.com>
2628 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
2629 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
2630 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
2631 (tfile_write_buf): New functions.
2632 (add_memory_block): Rewrite using the above.
2633 (adjust_function_address): New function.
2634 (FUNCTION_ADDRESS): New macro.
2635 (write_basic_trace_file): Remove short_x local, and use
2636 tfile_write_16. Change type of func_addr local to unsigned long
2637 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
2638 here. Cast argument of add_memory_block to char pointer.
2639 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
2640 (main): Remove parameters.
2641 * gdb.trace/tfile.exp: Remove nowarnings.
2643 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
2645 * gdb.base/debug-expr.exp: Test string evaluation with
2646 "debug expression" on.
2648 2014-07-15 Pedro Alves <palves@redhat.com>
2650 * gdb.base/reread.exp: Use clean_restart.
2652 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
2654 * gdb.arch/avr-flash-qualifer.c: New.
2655 * gdb.arch/avr-flash-qualifer.exp: New.
2657 2014-07-14 Pedro Alves <palves@redhat.com>
2659 * gdb.base/paginate-after-ctrl-c-running.c: New file.
2660 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
2662 2014-07-14 Pedro Alves <palves@redhat.com>
2664 * gdb.base/double-prompt-target-event-error.c: New file.
2665 * gdb.base/double-prompt-target-event-error.exp: New file.
2667 2014-07-14 Pedro Alves <palves@redhat.com>
2670 * gdb.base/paginate-inferior-exit.c: New file.
2671 * gdb.base/paginate-inferior-exit.exp: New file.
2673 2014-07-14 Pedro Alves <palves@redhat.com>
2676 * gdb.base/paginate-bg-execution.c: New file.
2677 * gdb.base/paginate-bg-execution.exp: New file.
2679 2014-07-14 Pedro Alves <palves@redhat.com>
2682 * gdb.base/paginate-execution-startup.c: New file.
2683 * gdb.base/paginate-execution-startup.exp: New file.
2684 * lib/gdb.exp (pagination_prompt): New global.
2685 (default_gdb_spawn): New procedure, factored out from
2687 (default_gdb_start): Adjust to call default_gdb_spawn.
2688 (gdb_spawn): New procedure.
2690 2014-07-14 Pedro Alves <palves@redhat.com>
2692 * lib/gdb.exp (gdb_assert): New procedure.
2693 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
2695 2014-07-14 Pedro Alves <palves@redhat.com>
2697 * gdb.base/execution-termios.c: New file.
2698 * gdb.base/execution-termios.exp: New file.
2700 2014-07-14 Tom Tromey <tromey@redhat.com>
2702 * gdb.cp/vla-cxx.cc: New file.
2703 * gdb.cp/vla-cxx.exp: New file.
2705 2014-07-14 Tom Tromey <tromey@redhat.com>
2707 * gdb.reverse/rerun-prec.c: New file.
2708 * gdb.reverse/rerun-prec.exp: New file.
2710 2014-07-12 Maciej W. Rozycki <macro@mips.com>
2711 Maciej W. Rozycki <macro@codesourcery.com>
2713 * lib/gdb-utils.exp: New file.
2714 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
2715 inline `gdb_init_command' processing.
2716 (gdb_start_cmd): Likewise.
2717 * lib/mi-support.exp (mi_run_cmd): Likewise.
2718 * README: Document `gdb_init_command' and `gdb_init_commands'.
2720 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2722 Fix false FAIL running under a very long directory name.
2723 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
2724 and "set print elements 10000". Twice.
2726 2014-07-11 Yao Qi <yao@codesourcery.com>
2728 * gdb.base/exprs.exp: "set print symbol off".
2730 2014-07-11 Pedro Alves <palves@redhat.com>
2732 * gdb.threads/kill.c: New file.
2733 * gdb.threads/kill.exp: New file.
2735 2014-07-10 Yao Qi <yao@codesourcery.com>
2737 * gdb.trace/tfile.c (write_basic_trace_file)
2738 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
2739 address written to trace file.
2741 2014-07-09 Pedro Alves <palves@redhat.com>
2743 * gdb.base/attach-wait-input.exp: New file.
2744 * gdb.base/attach-wait-input.c: New file.
2746 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2748 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
2749 setting up test structures.
2750 (main): Call new test function.
2751 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
2752 test function, continue into test function and walk test
2755 2014-07-02 Yao Qi <yao@codesourcery.com>
2757 * gdb.trace/entry-values.c: Define labels 'foo_start' and
2758 'bar_start' at the beginning of functions 'foo' and 'bar'
2760 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
2761 instead of 'foo' and 'bar'.
2763 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
2765 * gdb.btrace/segv.exp: New.
2766 * gdb.btrace/segv.c: New.
2768 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
2770 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
2773 2014-06-30 Mark Wielaard <mjw@redhat.com>
2775 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
2776 vulture, vilify, villar): New volatile array constants.
2777 (vindictive, vegetation): New const volatile array constants.
2778 * gdb.base/volatile.exp: Test volatile and const volatile array
2781 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2783 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
2784 target lacks support for awatch, rwatch, or hbreak.
2786 2014-06-27 Yao Qi <yao@codesourcery.com>
2788 * gdb.multi/dummy-frame-restore.exp: New.
2789 * gdb.multi/dummy-frame-restore.c: New.
2791 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2793 * gdb.btrace/gcore.exp: New.
2795 2014-06-23 Pedro Alves <palves@redhat.com>
2797 * gdb.base/watchpoint-reuse-slot.c: New file.
2798 * gdb.base/watchpoint-reuse-slot.exp: New file.
2800 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
2802 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
2803 progspace's filename in 'info', 'enable' and 'disable' command
2806 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2808 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
2809 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2810 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
2812 2014-06-20 Gary Benson <gbenson@redhat.com>
2814 * gdb.arch/i386-avx.exp: Fix include file location.
2815 * gdb.arch/i386-sse.exp: Likewise.
2817 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
2819 * gdb.dlang/expression.exp: New file.
2821 2014-06-19 Pedro Alves <palves@redhat.com>
2823 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
2825 (top level): ... here. Iterate running tests under different
2826 scheduler-locking settings.
2828 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
2830 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
2831 to DW_FORM_addr and use non-zero addresses.
2833 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
2836 * gdb.python/py-xmethods.cc: Add global function call counters and
2837 increment them in their respective functions. Remove "cout"
2839 * gdb.python/py-xmethods.exp: Make tests check the global function
2840 call counters instead of depending on inferior IO.
2842 2014-06-18 Don Breazeal <donb@codesourcery.com>
2844 * gdb.base/foll-fork.exp (default_fork_parent_follow):
2846 (explicit_fork_parent_follow): Deleted procedure.
2847 (explicit_fork_child_follow): Deleted procedure.
2848 (test_follow_fork): New procedure.
2849 (do_fork_tests): Replace calls to deleted procedures with
2850 calls to test_follow_fork and reset GDB for subsequent
2853 2014-06-17 Yao Qi <yao@codesourcery.com>
2855 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
2858 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
2860 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
2861 Initialize ptr and S explicitly.
2862 (skip_type_update_when_not_use_rtti_test): Likewise.
2864 2014-06-16 Keith Seitz <keiths@redhat.com>
2867 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
2868 the inferior is started.
2870 2014-06-16 Pedro Alves <palves@redhat.com>
2872 * gdb.base/break-main-file-remove-fail.c: New file.
2873 * gdb.base/break-main-file-remove-fail.exp: New file.
2874 * gdb.base/break-unload-file.exp: Use build_executable instead of
2875 prepare_for_testing.
2876 (test_break): New parameter "initial_load". Handle it.
2877 (top level): Add initial_load cmdline/file axis.
2879 2014-06-12 Tom Tromey <tromey@redhat.com>
2881 * gdb.base/completion.exp: Don't use directory name in test.
2883 2014-06-09 Gary Benson <gbenson@redhat.com>
2885 * gdb.base/sigall.c [Functions to send signals]: Reorder to
2886 separate the always-available ANSI-standard signals from the
2887 signals that require checking.
2889 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
2893 2014-06-07 Keith Seitz <keiths@redhat.com>
2897 * gdb.cp/var-tag.cc: New file.
2898 * gdb.cp/var-tag.exp: New file.
2899 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2900 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2901 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2902 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2904 2014-06-06 Doug Evans <xdje42@gmail.com>
2906 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
2908 2014-06-06 Pedro Alves <palves@redhat.com>
2910 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
2911 in target debug output instead of looking at RSP packets,
2912 disabling the test on any target that uses hardware stepping.
2915 2014-06-06 Pedro Alves <palves@redhat.com>
2917 * gdb.base/break-unload-file.exp: Fix typo.
2919 2014-06-06 Yao Qi <yao@codesourcery.com>
2921 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
2922 from "jit_function" to "^jit_function".
2924 2014-06-06 Yao Qi <yao@codesourcery.com>
2926 * gdb.base/async.c (foo): Add one statement.
2927 * gdb.base/async.exp: Get the next instruction address and
2928 match the output of "nexti" by instruction address. Match
2929 the hex address in the output of "finish".
2931 2014-06-06 Gary Benson <gbenson@redhat.com>
2933 * gdb.base/call-signals.c: Remove preprocessor conditionals
2934 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
2935 SIGSEGV and SIGTERM.
2936 * gdb.base/sigall.c: Likewise.
2937 * gdb.base/unwindonsignal.c: Likewise.
2938 * gdb.reverse/sigall-reverse.c: Likewise.
2940 2014-06-06 Yao Qi <yao@codesourcery.com>
2942 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
2943 readable, skip the test.
2945 2014-06-06 Yao Qi <yao@codesourcery.com>
2947 * gdb.threads/staticthreads.c (thread_function): Move the line
2948 setting breakpoint on forward.
2949 * gdb.threads/staticthreads.exp: Update comments.
2951 2014-06-05 Ludovic Courtès <ludo@gnu.org>
2953 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
2954 "history-append! type error".
2956 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
2958 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
2959 erroneous dprintf expected input.
2961 2014-06-04 Doug Evans <xdje42@gmail.com>
2963 * gdb.guile/scm-generics.exp: Delete.
2965 2014-06-04 Doug Evans <xdje42@gmail.com>
2967 * gdb.guile/scm-breakpoint.exp: Update.
2968 Add tests for breakpoint registration.
2970 2014-06-04 Tom Tromey <tromey@redhat.com>
2972 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
2974 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
2975 inner_vla_struct, vla_union types. Initialize objects of those
2976 types and compute their sizes.
2978 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
2979 Hui Zhu <hui@codesourcery.com>
2981 * gdb.base/fileio.exp: Add test for shell not available as well as
2983 * gdb.base/fileio.c (test_system): Check for shell twice.
2985 2014-06-04 Yao Qi <yao@codesourcery.com>
2987 * gdb.base/auto-connect-native-target.exp: Remove redundant
2988 space from the regexp pattern.
2990 2014-06-04 Yao Qi <yao@codesourcery.com>
2992 * gdb.base/default.exp: Replace "child" with "native" in
2995 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
2997 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
2998 * gdb.python/py-xmethods.exp: New tests to test xmethods.
2999 * gdb.python/py-xmethods.py: Python script supporting the
3000 new testcase and tests.
3002 2014-06-03 Joel Brobecker <brobecker@adacore.com>
3003 Pedro Alves <palves@redhat.com>
3005 PR breakpoints/17000
3006 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
3007 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
3009 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
3011 * gdb.base/subst.exp: Add tests to verify partial path matching
3014 2014-06-03 Pedro Alves <palves@redhat.com>
3016 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
3017 target that doesn't use software single-stepping.
3019 2014-06-03 Pedro Alves <palves@redhat.com>
3021 PR breakpoints/17000
3022 * gdb.base/sss-bp-on-user-bp-2.c: New file.
3023 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
3025 2014-06-02 Doug Evans <xdje42@gmail.com>
3027 * gdb.guile/scm-parameter.exp: New file.
3029 2014-06-02 Doug Evans <xdje42@gmail.com>
3031 * gdb.guile/scm-cmd.c: New file.
3032 * gdb.guile/scm-cmd.exp: New file.
3034 2014-06-02 Doug Evans <xdje42@gmail.com>
3036 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
3037 pretty-printer lookup.
3038 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
3039 (make-pp_s-printer): Call it.
3040 (make-pretty-printer-from-dict): New function.
3041 (lookup-pretty-printer-maker-from-dict): New function.
3042 (*pretty-printer*): Simplify.
3043 (make-objfile-pp_s-printer): New function.
3044 (install-objfile-pretty-printers!): New function.
3045 (make-progspace-pp_s-printer): New function.
3046 (install-progspace-pretty-printers!): New function.
3047 * gdb.guile/scm-progspace.c: New file.
3048 * gdb.guile/scm-progspace.exp: New file.
3050 2014-06-02 Pedro Alves <palves@redhat.com>
3052 * gdb.base/dprintf-bp-same-addr.c: New file.
3053 * gdb.base/dprintf-bp-same-addr.exp: New file.
3055 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3057 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
3058 * gdb.arch/powerpc-power.s: Likewise.
3060 2014-06-02 Joel Brobecker <brobecker@adacore.com>
3062 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
3064 2014-06-01 Yao Qi <yao@codesourcery.com>
3066 * gdb.base/watchpoint.exp (test_watch_location): Check null
3067 pointer can be dereferenced. If not, do the test, otherwise
3070 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
3072 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
3074 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
3076 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
3078 * gdb.arch/amd64-invalid-stack-middle.S: New file.
3079 * gdb.arch/amd64-invalid-stack-middle.c: New file.
3080 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
3081 * gdb.arch/amd64-invalid-stack-top.c: New file.
3082 * gdb.arch/amd64-invalid-stack-top.exp: New file.
3084 2014-05-30 Pedro Alves <palves@redhat.com>
3086 PR breakpoints/17000
3087 * gdb.base/sss-bp-on-user-bp.c: New file.
3088 * gdb.base/sss-bp-on-user-bp.exp: New file.
3090 2014-05-30 David Blaikie <dblaikie@gmail.com>
3092 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
3093 gnu_inline semantics via attribute.
3094 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
3095 source explicitly specifies the required semantics.
3097 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
3099 * gdb.reverse/sigall-reverse.exp: Fix a typo.
3101 2014-05-29 Pedro Alves <palves@redhat.com>
3102 Tom Tromey <tromey@redhat.com>
3104 * gdb.base/async-shell.exp: Don't enable target-async.
3105 * gdb.base/async.exp
3106 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
3108 (top level): Don't test with "target-async".
3109 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
3110 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
3111 * gdb.base/inferior-died.exp: Don't enable target-async.
3112 * gdb.base/interrupt-noterm.exp: Likewise.
3113 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
3114 * gdb.mi/mi-nonstop-exit.exp: Likewise.
3115 * gdb.mi/mi-nonstop.exp: Likewise.
3116 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3117 * gdb.mi/mi-nsintrall.exp: Likewise.
3118 * gdb.mi/mi-nsmoribund.exp: Likewise.
3119 * gdb.mi/mi-nsthrexec.exp: Likewise.
3120 * gdb.mi/mi-watch-nonstop.exp: Likewise.
3121 * gdb.multi/watchpoint-multi.exp: Adjust comment.
3122 * gdb.python/py-evsignal.exp: Don't enable target-async.
3123 * gdb.python/py-evthreads.exp: Likewise.
3124 * gdb.python/py-prompt.exp: Likewise.
3125 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
3126 * gdb.server/solib-list.exp: Don't enable target-async.
3127 * gdb.threads/thread-specific-bp.exp: Likewise.
3128 * lib/mi-support.exp: Adjust to use mi-async.
3130 2014-05-29 Pedro Alves <palves@redhat.com>
3133 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
3134 reason, even in sync mode.
3136 2014-05-29 Pedro Alves <palves@redhat.com>
3137 Hui Zhu <hui@codesourcery.com>
3140 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
3141 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
3142 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
3143 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
3145 2014-05-28 Joel Brobecker <brobecker@adacore.com>
3147 * config/monitor.exp (gdb_target_monitor): Replace use of
3148 "set remotebaud" by "set serial baud".
3150 2014-05-26 Andy Wingo <wingo@igalia.com>
3152 * gdb.guile/scm-breakpoint.exp:
3153 * gdb.guile/scm-gsmob.exp: Update to use plain old object
3154 properties instead of gdb-object-properties.
3156 2014-05-26 Yao Qi <yao@codesourcery.com>
3158 * gdb.server/no-thread-db.exp: Specify source file name
3159 explicitly when setting a breakpoint.
3161 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3163 * gdb.btrace/vdso.c: New.
3164 * gdb.btrace/vdso.exp: New.
3166 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3168 * gdb.base/gcore.exp (capture_command_output): Move ...
3169 * lib/gdb.exp (capture_command_output): ... here.
3171 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3173 * gdb.btrace/data.exp: Test memory access during btrace replay.
3175 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
3177 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
3179 2014-05-21 Pedro Alves <palves@redhat.com>
3182 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
3183 (top level): Test that output related to execution commands is
3184 sent to the console with CLI commands, but not with MI commands.
3185 Test that breakpoint events are always mirrored to the console.
3186 Also expect the new source line to be output after a "next" in
3187 async mode too. Make it a pass/fail test.
3188 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
3190 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
3192 2014-05-21 Pedro Alves <palves@redhat.com>
3194 * gdb.base/list.exp (build_pattern, test_list): New procedures.
3195 Use them to test variations of "list" after reaching a breakpoint.
3196 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
3197 Test "list" with listsize 10 after reaching a breakpoint.
3198 * gdb.python/python.exp (decode_line current location line
3199 number): Adjust expected line number.
3201 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
3203 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
3204 behavior for $args, pass it directly to "run".
3206 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3208 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
3211 2014-05-21 Pedro Alves <palves@redhat.com>
3213 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
3214 auto-connect-native-target off".
3215 * gdb.base/auto-connect-native-target.c: New file.
3216 * gdb.base/auto-connect-native-target.exp: New file.
3218 2014-05-21 Pedro Alves <palves@redhat.com>
3220 * gdb.base/default.exp: Test "target native" instead of "target
3223 2014-05-21 Mark Wielaard <mjw@redhat.com>
3225 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3227 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3229 Fix TLS access for -static -pthread.
3230 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
3231 <HAVE_TLS> (thread_function, main): Initialize it.
3232 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
3234 <$have_tls != "">: Check TLSVAR.
3236 2014-05-21 Pedro Alves <palves@redhat.com>
3238 * gdb.base/dcache-line-read-error.c: New.
3239 * gdb.base/dcache-line-read-error.exp: New.
3241 2014-05-20 Pedro Alves <palves@redhat.com>
3243 * gdb.base/compare-sections.c: New file.
3244 * gdb.base/compare-sections.exp: New file.
3246 2014-05-20 Pedro Alves <palves@redhat.com>
3248 * gdb.base/break-idempotent.c: New file.
3249 * gdb.base/break-idempotent.exp: New file.
3251 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
3253 * gdb.btrace/nohist.exp: New.
3255 2014-05-20 Yao Qi <yao@codesourcery.com>
3257 * lib/gdb.exp (gdb_init): Set timeout if test file is under
3258 gdb.reverse directory and gdb_reverse_timeout exists in board
3260 * README: Document gdb_reverse_timeout.
3262 2014-05-20 Yao Qi <yao@codesourcery.com>
3264 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
3265 'test_file_name'. Treat args as a string instead of a list.
3266 (gdb_init): Rename argument 'args' by 'test_file_name'.
3268 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3270 * gdb.arch/powerpc-power.exp: New file.
3271 * gdb.arch/powerpc-power.s: New file.
3273 2014-05-16 Doug Evans <dje@google.com>
3275 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
3276 * gdb.base/completion.exp: Check that all expected files exist
3277 before doing file completion.
3279 2014-05-16 Doug Evans <dje@google.com>
3281 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
3283 (do_syscall_tests_without_xml): Update.
3285 2014-05-16 Pedro Alves <palves@redhat.com>
3287 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
3288 instead of "unknown output after running".
3290 2014-05-16 Yao Qi <yao@codesourcery.com>
3292 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
3293 file1.txt from host at the end.
3294 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3296 2014-05-15 Doug Evans <dje@google.com>
3298 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
3299 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
3300 loading file. Add test for TU lookup.
3302 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3304 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
3305 calling "-exec-arguments" or "set args" before running the
3308 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3310 * lib/mi-support.exp (mi_expect_stop): Expect message for
3311 inferiors that exit with non-zero exit code.
3313 2014-05-14 Yao Qi <yao@codesourcery.com>
3315 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
3316 match absolute path on remote host.
3317 (test_file_list_exec_source_files): Remove "/" from the
3320 2014-05-14 Yao Qi <yao@codesourcery.com>
3322 * boards/local-remote-host-notty.exp (${board}_file): New
3325 2014-05-07 Kyle McMartin <kyle@redhat.com>
3327 Pushed by Joel Brobecker <brobecker@adacore.com>.
3328 * gdb.arch/aarch64-atomic-inst.c: New file.
3329 * gdb.arch/aarch64-atomic-inst.exp: New file.
3331 2014-05-07 Yao Qi <yao@codesourcery.com>
3333 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
3334 in current context" too.
3336 2014-05-05 Keith Seitz <keiths@redhat.com>
3338 * gdb.linespec/ls-dollar.exp: Add test for linespec
3339 file:convenience_variable.
3341 2014-05-05 Yao Qi <yao@codesourcery.com>
3343 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
3344 traceframes into tfile and ctf trace files. Read data from
3345 trace file and test collected data.
3346 (gdb_collect_locals_test): Likewise.
3347 (gdb_unavailable_registers_test): Likewise.
3348 (gdb_unavailable_floats): Likewise.
3349 (gdb_collect_globals_test): Likewise.
3350 (top-level): Append "ctf" to trace_file_targets if GDB
3353 2014-05-05 Yao Qi <yao@codesourcery.com>
3355 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
3357 (gdb_collect_args_test_1): ... it. New proc.
3358 (gdb_collect_locals_test): Move some code to ...
3359 (gdb_collect_locals_test_1): ... it. New proc.
3360 (gdb_unavailable_registers_test): Move some code to ...
3361 (gdb_unavailable_registers_test_1): ... it. New proc.
3362 (gdb_unavailable_floats): Move some code to ...
3363 (gdb_unavailable_floats_1): ... it. New proc.
3365 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3367 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
3368 probes to test for bitness recognition.
3369 * gdb.arch/amd64-stap-optional-prefix.exp
3370 (test_probe_value_without_reg): New procedure.
3371 Add code to test for different kinds of bitness.
3373 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3375 PR breakpoints/16889
3376 * gdb.arch/amd64-stap-optional-prefix.S: New file.
3377 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3379 2014-05-01 Pedro Alves <palves@redhat.com>
3381 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
3382 gdb_file_cmd if no file is specified.
3383 * boards/native-extended-gdbserver.exp (gdb_load): Use the
3384 last_loaded_file to set the remote exec-file.
3386 2014-05-01 Pedro Alves <palves@redhat.com>
3388 * boards/local-remote-host.exp: New file.
3390 2014-05-01 Pedro Alves <palves@redhat.com>
3392 * boards/local-remote-host.exp: Rename to ...
3393 * boards/local-remote-host-notty.exp: ... this.
3395 2014-04-28 Joel Brobecker <brobecker@adacore.com>
3397 * gdb.ada/dyn_arrayidx: New testcase.
3399 2014-04-26 Yao Qi <yao@codesourcery.com>
3401 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
3402 and compute the length of function main. Save it in
3404 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
3405 (top-level): Use gdb_compile to compile objects into
3406 executable and restart GDB. Remove invocation to
3407 prepare_for_testing.
3409 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
3410 Pedro Alves <palves@redhat.com>
3413 * gdb.multi/multi-attach.c: New file.
3414 * gdb.multi/multi-attach.exp: New file.
3416 2014-04-25 Pedro Alves <palves@redhat.com>
3418 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
3420 (top level): Test that "set remote conditional-breakpoints-packet
3421 off" works as intended.
3422 * gdb.base/dprintf.exp: Test that "set remote
3423 breakpoint-commands-packet off" works as intended.
3424 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
3426 (top level): Call it.
3427 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
3428 remote fast-tracepoints-packet off" works as intended.
3429 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
3430 * lib/gdb.exp (gdb_is_target_remote): ... here.
3432 2014-04-24 David Blaikie <dblaikie@gmail.com>
3434 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
3435 ensure clang would not discard them.
3436 * gdb.base/gdbvars.c: Ditto.
3437 * gdb.base/memattr.c: Ditto.
3438 * gdb.base/whatis.c: Ditto.
3439 * gdb.python/py-prettyprint.c: Ditto.
3440 * gdb.trace/actions.c: Ditto.
3441 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
3442 ensure clang would not discard it.
3444 2014-04-24 David Blaikie <dblaikie@gmail.com>
3446 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
3447 clang to emit the full definition of type required by the test
3448 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
3450 2014-04-24 David Blaikie <dblaikie@gmail.com>
3452 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
3453 coax Clang into emitting the definition of the type.
3454 * gdb.cp/pr10728-x.h (y): Ditto.
3455 * gdb.cp/pr10728-y.cc (y): Ditto.
3457 2014-04-24 David Blaikie <dblaikie@gmail.com>
3459 * gdb.base/label.exp: XFAIL label related tests under Clang.
3460 * gdb.cp/cplabel.exp: Ditto.
3461 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
3462 under Clang those using labels.
3464 2014-04-25 Yao Qi <yao@codesourcery.com>
3466 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
3468 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
3469 partial_label and double_label.
3471 2014-04-24 David Blaikie <dblaikie@gmail.com>
3473 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
3475 2014-04-24 David Blaikie <dblaikie@gmail.com>
3477 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
3478 of the function to work across GCC and Clang.
3479 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
3480 pointer types (const void ** const V void **).
3482 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
3483 Walfred Tedeschi <walfred.tedeschi@intel.com>
3485 * Makefile.in (EXECUTABLES): Added i386-avx512.
3486 * gdb.arch/i386-avx512.c: New file.
3487 * gdb.arch/i386-avx512.exp: Likewise.
3489 2014-04-23 Keith Seitz <keiths@redhat.com>
3491 * lib/mi-support.exp (mi_list_breakpoints): Delete.
3492 (mi_make_breakpoint_table): New procedure.
3493 (mi_create_breakpoint): Use mi_make_breakpoint
3494 and return the result.
3495 (mi_make_breakpoint): New procedure.
3496 (mi_build_kv_pairs): New procedure.
3498 * gdb.mi/mi-break.exp: Remove unused globals,
3499 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
3500 All callers updated.
3501 * gdb.mi/mi-dprintf.exp: Use variable to track command
3503 Update all callers of mi_create_breakpoint and use
3504 mi_make_breakpoint_table.
3505 Remove any unused global variables.
3506 * gdb.mi/mi-nonstop.exp: Likewise.
3507 * gdb.mi/mi-nsintrall.exp: Likewise.
3508 * gdb.mi/mi-nsmoribund.exp: Likewise.
3509 * gdb.mi/mi-nsthrexec.exp: Likewise.
3510 * gdb.mi/mi-reverse.exp: Likewise.
3511 * gdb.mi/mi-simplerun.exp: Likewise.
3512 * gdb.mi/mi-stepn.exp: Likewise.
3513 * gdb.mi/mi-syn-frame.exp: Likewise.
3514 * gdb.mi/mi-until.exp: Likewise.
3515 * gdb.mi/mi-var-cp.exp: Likewise.
3516 * gdb.mi/mi-var-display.exp: Likewise.
3517 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
3518 * gdb.mi/mi2-var-child.exp: Likewise.
3519 * gdb.mi/mi-vla-c99.exp: Likewise.
3520 * lib/mi-support.exp: Likewise.
3522 From Ian Lance Taylor <iant@cygnus.com>:
3523 * lib/gdb.exp (parse_args): New procedure.
3525 2014-04-23 Pedro Alves <palves@redhat.com>
3527 * gdb.base/break-unload-file.c: New file.
3528 * gdb.base/break-unload-file.exp: New file.
3529 * gdb.base/sym-file-lib.c (baz): New function.
3530 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
3532 (load): Store the segment's mapped size.
3533 (unload): New function.
3534 (unload_shlib): New function.
3535 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
3536 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
3537 set a breakpoint at baz, and call it.
3538 * gdb.base/sym-file.exp: New tests for stale breakpoint
3541 2014-04-23 Pedro Alves <palves@redhat.com>
3543 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
3544 * gdb.base/hbreak-in-shr-unsupported.c: New file.
3545 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
3546 * gdb.base/hbreak-unmapped.c: New file.
3547 * gdb.base/hbreak-unmapped.exp: New file.
3548 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
3549 * lib/gdb.exp (gdb_is_target_remote): ... here.
3551 2014-04-22 Pedro Alves <palves@redhat.com>
3553 * gdb.base/consecutive-step-over.c: New file.
3554 * gdb.base/consecutive-step-over.exp: New file.
3556 2014-04-22 Pedro Alves <palves@redhat.com>
3558 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
3559 instead of send_gdb/gdb_expect.
3561 2014-04-22 Yao Qi <yao@codesourcery.com>
3563 * lib/trace-support.exp (generate_tracefile): New procedure.
3564 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
3566 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
3567 if generate_tracefile returns 1.
3569 2014-04-18 Tom Tromey <palves@redhat.com>
3570 Pedro alves <tromey@redhat.com>
3573 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
3574 with a backtrace limit.
3575 * gdb.python/py-frame-inline.exp: Test running to an inline
3576 function with a backtrace limit, and printing the newest frame.
3577 * gdb.python/py-frame-inline.c (main): Call f.
3579 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3581 * gdb.java/jnpe.exp: Drop srcdir from untested path.
3583 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3585 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
3586 Drop prefix from unsupported source file path.
3588 2014-04-17 Yao Qi <yao@codesourcery.com>
3590 * lib/gdb.exp (with_target_charset): New proc.
3591 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
3592 with_target_charset.
3593 (test_print_strings): Likewise.
3594 (test_repeat_bytes): Likewise.
3595 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
3598 2014-04-16 Keith Seitz <keiths@redhat.com>
3601 * gdb.dwarf2/corrupt.c: New file.
3602 * gdb.dwarf2/corrupt.exp: New file.
3604 2014-04-16 Keith Seitz <keiths@redhat.com>
3607 * gdb.cp/namelessclass.cc: New file.
3608 * gdb.cp/namelessclass.exp: New file.
3609 * gdb.cp/namelessclass.S: New file.
3611 2014-04-16 Doug Evans <dje@google.com>
3613 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
3615 (gdbserver_default_get_comm_port): New function.
3616 (gdbserver_start): Check if board file provided
3617 "gdbserver,get_comm_port" and use it if so.
3618 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
3619 (gdb,socketport): Set to "stdio".
3620 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
3621 (stdio_gdbserver_template): Delete.
3622 (${board}_get_remote_address): Update.
3623 (${board}_build_remote_cmd): Delete.
3624 (${board}_get_comm_port): New function.
3625 (${board}_spawn): Update.
3626 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
3628 (${board}_get_remote_address): Update.
3629 (${board}_get_comm_port): New function.
3631 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
3633 * gdb.base/memattr.exp: Improve regexps to handle memory regions
3634 appearing in any order.
3636 2014-04-15 Doug Evans <dje@google.com>
3638 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
3639 uninitialized value of "description".
3641 2014-04-15 Keith Seitz <keiths@redhat.com>
3643 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
3644 Remove unused globals.
3645 (test_running_the_program): Likewise.
3646 (test_controlled_execution): Likewise.
3647 (test_controlling_breakpoints): Likewise.
3648 (test_program_termination): Likewise.
3650 2014-04-15 Keith Seitz <keiths@redhat.com>
3652 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
3654 (test_rbreak_creation_and_listing): Likewise.
3655 (test_ignore_count): Likewise.
3656 (test_error): Likewise.
3658 2014-04-15 Pedro Alves <palves@redhat.com>
3660 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
3661 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
3663 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3664 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3665 to sym-file-loader.c.
3666 (struct library): Forward declare.
3667 (load_shlib, lookup_function): Change prototypes.
3668 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3669 (translate_offset): Remove declarations.
3670 (get_text_addr): New declaration.
3671 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
3672 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
3674 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3675 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3676 here from sym-file-loader.h.
3677 (struct library): New structure.
3678 (load_shlib, lookup_function): Change prototypes and adjust to
3679 work with a struct library.
3680 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3681 (translate_offset): Make static.
3682 (get_text_addr): New function.
3683 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
3685 2014-04-15 Pedro Alves <palves@redhat.com>
3687 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
3689 2014-04-15 Pedro Alves <palves@redhat.com>
3691 * gdb.base/sym-file-loader.c: Include <limits.h>.
3692 (SELF_LINK): New define.
3693 (get_origin): New function.
3694 (load_shlib): Use it.
3695 * gdb.base/sym-file.exp: Don't early return if the target is
3696 remote. Use runto_main, and issue fail is that fails. Use
3698 (shlib_name): Delete.
3699 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
3701 2014-04-15 Pedro Alves <palves@redhat.com>
3703 * gdb.base/sym-file.exp: Remove regex characters from test
3704 message. Don't refer to breakpoint numbers in test messages.
3706 2014-04-14 Keith Seitz <keiths@redhat.com>
3709 * gdb.cp/var-tag.cc: New file.
3710 * gdb.cp/var-tag.exp: New file.
3711 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3712 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3713 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3714 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3716 2014-04-14 Tom Tromey <tromey@redhat.com>
3718 * gdb.cp/classes.exp (test_enums): Handle underlying type.
3719 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
3721 * gdb.cp/enum-class.exp: New file.
3722 * gdb.cp/enum-class.cc: New file.
3724 2014-04-14 Tom Tromey <tromey@redhat.com>
3726 * gdb.dwarf2/enum-type.exp: New file.
3728 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3730 * gdb.mi/mi-vla-c99.exp: New file.
3731 * gdb.mi/vla.c: New file.
3733 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3735 * gdb.base/vla-datatypes.c: New file.
3736 * gdb.base/vla-datatypes.exp: New file.
3738 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3740 * gdb.base/vla-ptr.c: New file.
3741 * gdb.base/vla-ptr.exp: New file.
3743 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3745 * gdb.dwarf2/count.exp: New file.
3747 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3749 * gdb.base/vla-sideeffect.c: New file.
3750 * gdb.base/vla-sideeffect.exp: New file.
3752 2014-04-14 David Blaikie <dblaikie@gmail.com>
3754 * gdb.mi/non-stop.c: Add return value for non-void function return
3756 * gdb.threads/staticthreads.c: Ditto.
3758 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
3759 Doug Evans <xdje42@gmail.com>
3761 * gdb.guile/scm-value.c: Improve test case.
3762 * gdb.guile/scm-value.exp: Add new test.
3764 2014-04-11 David Blaikie <dblaikie@gmail.com>
3766 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
3767 override Clang's default.
3769 2014-04-11 Joel Brobecker <brobecker@adacore.com>
3771 Revert the following changes (regressions):
3773 * gdb.base/vla-sideeffect.c: New file.
3774 * gdb.base/vla-sideeffect.exp: New file.
3776 * gdb.dwarf2/count.exp: New file.
3778 * gdb.base/vla-multi.c: New file.
3779 * gdb.base/vla-multi.exp: New file.
3781 * gdb.base/vla-ptr.c: New file.
3782 * gdb.base/vla-ptr.exp: New file.
3784 * gdb.base/vla-datatypes.c: New file.
3785 * gdb.base/vla-datatypes.exp: New file.
3787 * gdb.mi/mi-vla-c99.exp: New file.
3788 * gdb.mi/vla.c: New file.
3790 2014-04-11 Keith Seitz <keiths@redhat.com>
3793 * gdb.cp/cpsizeof.exp: New file.
3794 * gdb.cp/cpsizeof.cc: New file.
3796 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3798 * gdb.mi/mi-vla-c99.exp: New file.
3799 * gdb.mi/vla.c: New file.
3801 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3803 * gdb.base/vla-datatypes.c: New file.
3804 * gdb.base/vla-datatypes.exp: New file.
3806 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3808 * gdb.base/vla-ptr.c: New file.
3809 * gdb.base/vla-ptr.exp: New file.
3811 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3813 * gdb.base/vla-multi.c: New file.
3814 * gdb.base/vla-multi.exp: New file.
3816 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3818 * gdb.dwarf2/count.exp: New file.
3820 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3822 * gdb.base/vla-sideeffect.c: New file.
3823 * gdb.base/vla-sideeffect.exp: New file.
3825 2014-04-11 Yao Qi <yao@codesourcery.com>
3827 * gdb.base/completion.exp: Check file exists before running tests
3830 2014-04-10 Pedro Alves <palves@redhat.com>
3832 * gdb.base/cond-eval-mode.c: New file.
3833 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
3834 prepare_for_testing to build the new file. Check result of
3836 (test_break, test_watch): New procedures.
3837 (top level): Use them.
3839 2014-04-08 Pierre Muller <muller@sourceware.org>
3841 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
3842 Ctrl-V use for mingw hosts.
3844 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
3846 * gdb.python/py-value.c: Improve test case.
3847 * gdb.python/py-value.exp: Add new test.
3849 2014-04-07 David Blaikie <dblaikie@gmail.com>
3851 * lib/compiler.c: Identify the clang compiler.
3852 * lib/compiler.cc: Ditto.
3854 2014-04-03 Yao Qi <yao@codesourcery.com>
3856 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
3858 2014-04-01 Anton Blanchard <anton@samba.org>
3860 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
3863 2014-04-01 Anton Blanchard <anton@samba.org>
3865 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
3866 prepare_for_testing.
3868 2014-04-01 Anton Blanchard <anton@samba.org>
3870 * gdb.arch/ppc64-atomic-inst.c: Remove.
3871 * gdb.arch/ppc64-atomic-inst.S: New file.
3872 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
3874 2014-03-31 Doug Evans <dje@google.com>
3876 * gdb.base/print-symbol-loading-lib.c: New file.
3877 * gdb.base/print-symbol-loading-main.c: New file.
3878 * gdb.base/print-symbol-loading.exp: New file.
3880 2014-03-31 Yao Qi <yao@codesourcery.com>
3882 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
3884 2014-03-28 Joel Brobecker <brobecker@adacore.com>
3886 * gdb.ada/mi_dyn_arr: New testcase.
3888 2014-03-27 Doug Evans <dje@google.com>
3890 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
3892 2014-03-27 Yao Qi <yao@codesourcery.com>
3894 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
3895 if target is nios2-*-*.
3897 2014-03-26 Yao Qi <yao@codesourcery.com>
3899 * lib/gdb.exp (readline_is_used): New proc.
3900 * gdb.base/completion.exp: Move tests on command complete up.
3901 Skip the rest of tests if readline is not used.
3902 * gdb.ada/complete.exp: Skp the test if readline is not
3904 * gdb.base/filesym.exp: Likewise.
3905 * gdb.base/macscp.exp: Likewise.
3906 * gdb.base/readline-ask.exp: Likewise.
3907 * gdb.base/readline.exp: Likewise.
3908 * gdb.python/py-cmd.exp: Likewise.
3909 * gdb.trace/tfile.exp: Likewise.
3911 2014-03-26 Yao Qi <yao@codesourcery.com>
3913 * gdb.base/macscp.exp: Fix code format issues.
3915 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
3917 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
3918 * gdb.asm/powerpc64le.inc: New file.
3920 2014-03-25 Pedro Alves <palves@redhat.com>
3921 Doug Evans <dje@google.com>
3923 * gdb.base/source-execution.c: New file.
3924 * gdb.base/source-execution.exp: New file.
3925 * gdb.base/source-execution.gdb: New file.
3927 2014-03-24 Doug Evans <dje@google.com>
3929 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
3932 2014-03-24 Hui Zhu <hui@codesourcery.com>
3933 Pedro Alves <palves@redhat.com>
3935 PR breakpoints/16101
3936 * gdb.base/dprintf.exp: Use unsupported rather than changing the
3937 test pass/fail messages. Detect missing support for dprintf when
3938 breakpoints are actually inserted.
3939 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
3940 breakpoints are actually inserted.
3941 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
3944 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3946 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
3948 2014-03-22 Doug Evans <xdje42@gmail.com>
3950 * gdb.python/python.exp (python not supported): Verify multi-line
3951 python command issues an error.
3952 * gdb.guile/guile.exp (guile not supported): Verify multi-line
3953 guile command issues an error.
3955 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
3957 * gdb.threads/thread-specific.exp: Handle the lack of usable
3958 $this_breakpoint and $this_thread.
3960 2014-03-21 Hui Zhu <hui@codesourcery.com>
3962 * gdb.base/attach.exp (do_command_attach_tests): New.
3964 2014-03-20 Tom Tromey <tromey@redhat.com>
3965 Pedro Alves <palves@redhat.com>
3968 * gdb.base/condbreak-call-false.c: New file.
3969 * gdb.base/condbreak-call-false.exp: New file.
3971 2014-03-20 Pedro Alves <palves@redhat.com>
3973 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
3975 (block_signals, unblock_signals): Delete.
3976 (child_function_2, main): Remove references to deleted variable
3979 2014-03-20 Pedro Alves <palves@redhat.com>
3981 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
3982 Use pthread_kill to signal thread 2.
3983 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3984 Adjust to make the test send itself a signal rather than using the
3985 host's "kill" command.
3987 2014-03-20 Pedro Alves <palves@redhat.com>
3989 * gdb.threads/multiple-step-overs.c: New file.
3990 * gdb.threads/multiple-step-overs.exp: New file.
3991 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3992 Adjust expected infrun debug output.
3994 2014-03-20 Pedro Alves <palves@redhat.com>
3996 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
3997 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
3999 2014-03-20 Pedro Alves <palves@redhat.com>
4002 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
4003 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
4004 of gdb_test_multiple.
4005 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
4006 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
4008 2014-03-20 Pedro Alves <palves@redhat.com>
4010 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
4011 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
4013 2014-03-19 Pedro Alves <palves@redhat.com>
4015 * gdb.base/async.exp: Remove early return.
4017 2014-03-19 Pedro Alves <palves@redhat.com>
4019 * gdb.base/async.exp (step& tests): Pass explicit test messages.
4021 2014-03-19 Pedro Alves <palves@redhat.com>
4023 * gdb.base/async.exp (test_background): Expect \r\n after
4024 "completed." in the fail pattern.
4026 2014-03-19 Pedro Alves <palves@redhat.com>
4028 * gdb.base/async.exp (test_background): New procedure.
4029 Use it for all background execution command tests.
4031 2014-03-19 Pedro Alves <palves@redhat.com>
4033 * gdb.base/async.exp: Use prepare_for_testing.
4035 2014-03-19 Pedro Alves <palves@redhat.com>
4037 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
4040 2014-03-19 Pedro Alves <palves@redhat.com>
4042 * gdb.base/async.c (main): Add "jump here" and "until here" line
4044 * gdb.base/async.exp (jump_here): New global.
4045 (jump& test): Use it.
4046 (until_here): New global.
4047 (until& test): Use it.
4049 2014-03-19 Pedro Alves <palves@redhat.com>
4051 * gdb.base/async.exp: Don't frob gdb_protocol.
4053 2014-03-18 Doug Evans <xdje42@gmail.com>
4055 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
4056 Fix spelling of exec-done-display.
4058 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4061 * gdb.base/gdb-sigterm.c: New file.
4062 * gdb.base/gdb-sigterm.exp: New file.
4064 2014-03-18 Pedro Alves <palves@redhat.com>
4067 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
4068 * lib/mi-support.exp (mi_expect_stop): Add special handling for
4071 2014-03-17 Joel Brobecker <brobecker@adacore.com>
4073 * gdb.ada/pckd_arr_ren: New testcase.
4075 2014-03-13 Doug Evans <xdje42@gmail.com>
4078 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
4079 collect after discarding symbols.
4081 2014-03-13 Ludovic Courtès <ludo@gnu.org>
4082 Doug Evans <xdje42@gmail.com>
4084 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
4085 to history survives a gc.
4087 2014-03-13 Pedro Alves <palves@redhat.com>
4089 * gdb.base/default.exp: Don't test "target procfs".
4091 2014-03-13 Pedro Alves <palves@redhat.com>
4093 * gdb.base/default.exp: Update "target child" and "target procfs"
4094 tests to not expect "Unix".
4096 2014-03-12 Tom Tromey <tromey@redhat.com>
4098 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
4099 New procs. Add target-async tests.
4100 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
4101 Add target-async tests.
4103 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4105 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
4106 'func_start' and 'func_end' for the beginning and end of the
4107 function code, respectively.
4108 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
4109 'func_end' instead of 'func' and 'main'.
4111 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4113 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
4114 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
4115 generate the debug info assembler source.
4117 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4119 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
4120 * gdb.dwarf2/arr-subrange.exp: Likewise.
4121 * gdb.dwarf2/dwz.exp: Likewise.
4122 * gdb.dwarf2/method-ptr.exp: Likewise.
4123 * gdb.dwarf2/missing-sig-type.exp: Likewise.
4124 * gdb.dwarf2/subrange.exp: Likewise.
4125 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
4126 * gdb.dwarf2/implptrpiece.exp: Likewise.
4127 * gdb.dwarf2/nostaticblock.exp: Likewise.
4129 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4131 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
4132 directory to absolute path name arguments.
4134 2014-03-10 Joel Brobecker <brobecker@adacore.com>
4136 * gdb.ada/tagged_access: New testcase.
4138 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
4140 * gdb.btrace/data.exp: Update expected output.
4142 2014-03-06 Yao Qi <yao@codesourcery.com>
4144 * gdb.trace/pr16508.exp: New file.
4146 2014-03-05 Pedro Alves <palves@redhat.com>
4149 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
4151 (top level): Adjust to use it. Add tests that exercise breakpoint
4152 interaction with the code-cache.
4154 2014-02-26 Ludovic Courtès <ludo@gnu.org>
4156 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
4157 test for 'history-append!'.
4159 2014-02-26 Joel Brobecker <brobecker@adacore.com>
4161 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
4162 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
4163 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
4164 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
4165 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
4166 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
4168 2014-02-26 Joel Brobecker <brobecker@adacore.com>
4170 * testsuite/gdb.python/py-pp-re-notag.c: New file.
4171 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
4172 * testsuite/gdb.python/py-pp-re-notag.p: New file.
4174 2014-02-26 Joel Brobecker <brobecker@adacore.com>
4176 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
4178 2014-02-26 Joel Brobecker <brobecker@adacore.com>
4180 * gdb.dwarf2/arr-stride.c: New file.
4181 * gdb.dwarf2/arr-stride.exp: New file.
4183 2014-02-26 Pedro Alves <palves@redhat.com>
4185 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
4186 that won't ever trigger. Make sure that GDB reports the correct
4187 breakpoint that caused the stop.
4189 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4192 * gdb.base/auto-load-script: New file.
4193 * gdb.base/auto-load.c: New file.
4194 * gdb.base/auto-load.exp: New file.
4197 * gdb.base/auto-load.exp: Fix out-of-srctree run.
4199 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4201 Fix dw2-icycle.exp -fsanitize=address GDB crash.
4202 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
4204 2014-02-24 Doug Evans <dje@google.com>
4206 * lib/gdb.exp (run_on_host): Log error output if program fails.
4208 2014-02-21 Pedro Alves <palves@redhat.com>
4210 * gdb.threads/step-after-sr-lock.c: Rename to ...
4211 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
4212 * gdb.threads/step-after-sr-lock.exp: Rename to ...
4213 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4216 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
4219 * gdb.arch/amd64-stap-special-operands.exp: New file.
4220 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
4221 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
4222 * gdb.arch/amd64-stap-triplet.S: Likewise.
4223 * gdb.arch/amd64-stap-triplet.c: Likewise.
4225 2014-02-20 Joel Brobecker <brobecker@adacore.com>
4227 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
4228 in .section pseudo-op.
4230 2014-02-20 lin zuojian <manjian2006@gmail.com>
4231 Joel Brobecker <brobecker@adacore.com>
4232 Doug Evans <xdje42@gmail.com>
4235 * gdb.dwarf2/dw2-icycle.S: New file.
4236 * gdb.dwarf2/dw2-icycle.c: New file.
4237 * gdb.dwarf2/dw2-icycle.exp: New file.
4239 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
4241 * gdb.python/py-value-cc.cc: Improve test case to enable testing
4242 operations on gdb.Value objects.
4243 * gdb.python/py-value-cc.exp: Add new test to test operations on
4246 2014-02-18 Doug Evans <dje@google.com>
4248 * Makefile.in (TESTS): New variable.
4249 (expanded_tests, expanded_tests_or_none): New variables
4250 (check-single): Pass $(expanded_tests_or_none) to runtest.
4251 (check-parallel): Only run tests in $(TESTS) if non-empty.
4252 (check/no-matching-tests-found): New rule.
4253 * README: Document TESTS makefile variable.
4255 2014-02-18 Doug Evans <dje@google.com>
4257 * Makefile.in (check-parallel): rm -rf outputs temp.
4259 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4261 Fix "ERROR: no fileid for" in the testsuite.
4262 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
4264 2014-02-12 Doug Evans <dje@google.com>
4266 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
4267 (MISCELLANEOUS): New variable.
4268 (clean): rm -rf $(MISCELLANEOUS).
4269 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
4270 dwp live in the same directory as symlinks, with each symlink pointed
4271 to a differently named file in a different directory.
4273 2014-02-11 Doug Evans <dje@google.com>
4275 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
4276 of Tcl file commands.
4278 2014-02-10 Mark Kettenis <kettenis@gnu.org>
4280 * gdb.threads/step-after-sr-lock.exp: Avoid executing
4283 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4285 * gdb.ada/tick_length_array_enum_idx: New testcase.
4287 2014-02-10 Doug Evans <xdje42@gmail.com>
4289 * configure.ac (AC_OUTPUT): Add gdb.guile.
4290 * configure: Regenerate.
4291 * lib/gdb-guile.exp: New file.
4292 * lib/gdb.exp (get_target_charset): New function.
4293 * gdb.base/help.exp: Update expected output from "apropos apropos".
4294 * gdb.guile/Makefile.in: New file.
4295 * gdb.guile/guile.exp: New file.
4296 * gdb.guile/scm-arch.c: New file.
4297 * gdb.guile/scm-arch.exp: New file.
4298 * gdb.guile/scm-block.c: New file.
4299 * gdb.guile/scm-block.exp: New file.
4300 * gdb.guile/scm-breakpoint.c: New file.
4301 * gdb.guile/scm-breakpoint.exp: New file.
4302 * gdb.guile/scm-disasm.c: New file.
4303 * gdb.guile/scm-disasm.exp: New file.
4304 * gdb.guile/scm-equal.c: New file.
4305 * gdb.guile/scm-equal.exp: New file.
4306 * gdb.guile/scm-error.exp: New file.
4307 * gdb.guile/scm-error.scm: New file.
4308 * gdb.guile/scm-frame-args.c: New file.
4309 * gdb.guile/scm-frame-args.exp: New file.
4310 * gdb.guile/scm-frame-args.scm: New file.
4311 * gdb.guile/scm-frame-inline.c: New file.
4312 * gdb.guile/scm-frame-inline.exp: New file.
4313 * gdb.guile/scm-frame.c: New file.
4314 * gdb.guile/scm-frame.exp: New file.
4315 * gdb.guile/scm-generics.exp: New file.
4316 * gdb.guile/scm-gsmob.exp: New file.
4317 * gdb.guile/scm-iterator.c: New file.
4318 * gdb.guile/scm-iterator.exp: New file.
4319 * gdb.guile/scm-math.c: New file.
4320 * gdb.guile/scm-math.exp: New file.
4321 * gdb.guile/scm-objfile-script-gdb.in: New file.
4322 * gdb.guile/scm-objfile-script.c: New file.
4323 * gdb.guile/scm-objfile-script.exp: New file.
4324 * gdb.guile/scm-objfile.c: New file.
4325 * gdb.guile/scm-objfile.exp: New file.
4326 * gdb.guile/scm-ports.exp: New file.
4327 * gdb.guile/scm-pretty-print.c: New file.
4328 * gdb.guile/scm-pretty-print.exp: New file.
4329 * gdb.guile/scm-pretty-print.scm: New file.
4330 * gdb.guile/scm-section-script.c: New file.
4331 * gdb.guile/scm-section-script.exp: New file.
4332 * gdb.guile/scm-section-script.scm: New file.
4333 * gdb.guile/scm-symbol.c: New file.
4334 * gdb.guile/scm-symbol.exp: New file.
4335 * gdb.guile/scm-symtab-2.c: New file.
4336 * gdb.guile/scm-symtab.c: New file.
4337 * gdb.guile/scm-symtab.exp: New file.
4338 * gdb.guile/scm-type.c: New file.
4339 * gdb.guile/scm-type.exp: New file.
4340 * gdb.guile/scm-value-cc.cc: New file.
4341 * gdb.guile/scm-value-cc.exp: New file.
4342 * gdb.guile/scm-value.c: New file.
4343 * gdb.guile/scm-value.exp: New file.
4344 * gdb.guile/source2.scm: New file.
4345 * gdb.guile/types-module.cc: New file.
4346 * gdb.guile/types-module.exp: New file.
4348 2014-02-10 Yao Qi <yao@codesourcery.com>
4351 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
4352 * configure: Regenerated.
4353 * Makefile.in: New file.
4355 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4357 * gdb.python/py-framefilter.exp: Fix typo.
4359 2014-02-08 Yao Qi <yao@codesourcery.com>
4361 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
4362 that no =breakpoint-modified is emitted when breakpoints are
4363 modified through MI commands.
4365 2014-02-07 Pedro Alves <pedro@codesourcery.com>
4366 Pedro Alves <palves@redhat.com>
4368 * gdb.threads/step-after-sr-lock.c: New file.
4369 * gdb.threads/step-after-sr-lock.exp: New file.
4371 2014-02-07 Pedro Alves <palves@redhat.com>
4373 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
4375 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4377 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
4378 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
4380 2014-02-06 Doug Evans <xdje42@gmail.com>
4382 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
4385 * gdb.gdb/python-interrupts.exp: New file.
4387 2014-02-05 Yao Qi <yao@codesourcery.com>
4389 * gdb.trace/report.exp (use_collected_data): Test the output
4390 of "info threads" and "info inferiors".
4392 2014-02-05 Yao Qi <yao@codesourcery.com>
4396 2013-05-24 Yao Qi <yao@codesourcery.com>
4398 * gdb.trace/tfile.exp: Test inferior and thread.
4400 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4402 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
4404 * gdb.base/step-bt.c: Call hello via function pointer to make
4405 sure its first instruction is executed on powerpc64le-linux.
4407 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4409 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
4411 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4413 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
4414 of the test patterns for use on little-endian systems.
4416 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4418 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
4419 (decimal_vector): Fix for little-endian.
4421 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4423 * gdb.arch/sparc-sysstep.exp: New file.
4424 * gdb.arch/sparc-sysstep.c: Likewise.
4426 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
4428 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4430 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
4432 2014-01-23 Tom Tromey <tromey@redhat.com>
4434 * gdb.ada/array_char_idx: New testcase.
4436 2014-01-23 Tom Tromey <tromey@redhat.com>
4439 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
4440 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
4443 2014-01-23 Tom Tromey <tromey@redhat.com>
4446 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
4447 string from an inferior frame.
4448 * gdb.python/py-framefilter-mi.exp: Update.
4450 2014-01-22 Doug Evans <dje@google.com>
4452 * gdb.server/server-mon.exp: Add tests for "set debug-format".
4454 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4456 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
4458 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4460 * gdb.trace/entry-values.exp: Remove excess space character from
4461 regex patterns. Handle s390 call instruction.
4463 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4465 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
4466 define "*_start" label. Make "name" static.
4467 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
4468 ${name} by references to ${name}_start.
4470 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4472 * gdb.base/info-macros.exp: Remove "debug" from the compile
4475 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4477 * gdb.dlang/demangle.exp: New file.
4479 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4481 * gdb.dlang/primitive-types.exp: New file.
4483 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4485 * configure.ac: Create gdb.dlang/Makefile.
4486 * configure: Regenerate.
4487 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
4488 * gdb.dlang/Makefile.in: New file.
4489 * lib/d-support.exp: New file.
4490 * lib/gdb.exp (skip_d_tests): New proc.
4492 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4494 * gdb.btrace/delta.exp: Check reverse stepi.
4495 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
4496 * gdb.btrace/finish.exp: New.
4497 * gdb.btrace/next.exp: New.
4498 * gdb.btrace/nexti.exp: New.
4499 * gdb.btrace/record_goto.c: Add comments.
4500 * gdb.btrace/step.exp: New.
4501 * gdb.btrace/stepi.exp: New.
4502 * gdb.btrace/multi-thread-step.c: New.
4503 * gdb.btrace/multi-thread-step.exp: New.
4504 * gdb.btrace/rn-dl-bind.c: New.
4505 * gdb.btrace/rn-dl-bind.exp: New.
4506 * gdb.btrace/data.c: New.
4507 * gdb.btrace/data.exp: New.
4508 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4510 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4512 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
4513 * gdb.btrace/exception.exp: Update.
4514 * gdb.btrace/instruction_history.exp: Update.
4515 * gdb.btrace/record_goto.exp: Update.
4516 * gdb.btrace/tailcall.exp: Update.
4517 * gdb.btrace/unknown_functions.exp: Update.
4518 * gdb.btrace/delta.exp: New.
4520 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4522 * gdb.btrace/record_goto.exp: Add backtrace test.
4523 * gdb.btrace/tailcall.exp: Add backtrace test.
4525 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4527 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
4528 * gdb.btrace/record_goto.c: New.
4529 * gdb.btrace/record_goto.exp: New.
4530 * gdb.btrace/x86-record_goto.S: New.
4532 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4534 * gdb.btrace/function_call_history.exp: Update tests.
4535 * gdb.btrace/instruction_history.exp: Update tests.
4537 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4539 * gdb.btrace/function_call_history.exp: Fix expected field
4540 order for "record function-call-history".
4541 Add new tests for "record function-call-history /c".
4542 * gdb.btrace/exception.cc: New.
4543 * gdb.btrace/exception.exp: New.
4544 * gdb.btrace/tailcall.exp: New.
4545 * gdb.btrace/x86-tailcall.S: New.
4546 * gdb.btrace/x86-tailcall.c: New.
4547 * gdb.btrace/unknown_functions.c: New.
4548 * gdb.btrace/unknown_functions.exp: New.
4549 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4551 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4553 * gdb.btrace/instruction_history.exp: Update.
4554 * gdb.btrace/function_call_history.exp: Update.
4556 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4558 * gdb.btrace/function_call_history.exp: Fix expected function
4560 * gdb.btrace/instruction_history.exp: Initialize traced.
4561 Remove traced_functions.
4563 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4565 * gdb.btrace/function_call_history.exp: Update
4566 * gdb.btrace/instruction_history.exp: Update.
4568 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4570 * gdb.btrace/enable.exp: Update expected text.
4572 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
4574 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
4577 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
4579 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
4581 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4583 * lib/gdb.exp (supports_process_record): Return true for
4584 arm*-linux*. (supports_reverse): Likewise.
4586 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4590 * gdb.python/py-type.c: Enhance test case.
4591 * gdb.python/py-value-cc.cc: Likewise
4592 * gdb.python/py-type.exp: Add new tests.
4593 * gdb.python/py-value-cc.exp: Likewise
4595 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4596 Pedro Alves <palves@redhat.com>
4598 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
4600 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
4601 references to ${name}_start by references to ${name}.
4603 2014-01-10 Joel Brobecker <brobecker@adacore.com>
4605 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
4607 2014-01-10 Joel Brobecker <brobecker@adacore.com>
4609 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
4611 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
4612 Pedro Alves <palves@redhat.com>
4614 * gdb.mi/mi-info-os.exp: Connect to the target with
4617 2014-01-08 Pedro Alves <palves@redhat.com>
4619 * gdb.threads/reconnect-signal.c: New file.
4620 * gdb.threads/reconnect-signal.exp: New file.
4622 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4624 * gdb.base/source-dir.exp: New file.
4626 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4628 * gdb.ada/mi_interface: New testcase.
4630 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4632 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
4633 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
4634 gdb.ada/pp-rec-component/pck.ads: New files.
4636 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4638 * gdb.python/py-pp-integral.c: New file.
4639 * gdb.python/py-pp-integral.py: New file.
4640 * gdb.python/py-pp-integral.exp: New file.
4642 For older changes see ChangeLog-1993-2013.
4648 ;; version-control: never
4651 Copyright 2014-2015 Free Software Foundation, Inc.
4652 Copying and distribution of this file, with or without modification,
4653 are permitted provided the copyright notice and this notice are preserved.