1 2015-04-28 Doug Evans <dje@google.com>
3 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
4 * gdb.python/py-pp-registration.exp: ... here. New file.
5 * gdb.python/py-pp-registration.c: New file.
6 * gdb.python/py-pp-registration.py: New file.
8 2015-04-28 Doug Evans <dje@google.com>
10 * gdb.python/py-bad-printers.c: New file.
11 * gdb.python/py-bad-printers.py: New file.
12 * gdb.python/py-bad-printers.exp: New file.
14 2015-04-28 Sasha Smundak <asmundak@google.com>
16 * gdb.python/py-type.exp: New test.
18 2015-04-28 Andy Wingo <wingo@igalia.com>
20 * gdb.python/py-parameter.exp:
21 * gdb.guile/scm-parameter.exp: Escape the path that we are
22 matching against, as it might contain characters that are special
23 to regular expressions.
25 2015-04-27 Joel Brobecker <brobecker@adacore.com>
27 * gdb.ada/rec_comp: New testcase.
29 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
31 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
34 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
36 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
37 new tests for verilog output.
39 2015-04-24 Yao Qi <yao.qi@linaro.org>
41 * boards/remote-gdbserver-on-localhost.exp: New file.
43 2015-04-23 Pedro Alves <palves@redhat.com>
45 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
46 $inferior_spawn_id instead of $inferior_spawn_id directly. On
47 "end of file", remove $inferior_spawn_id from the indirect list.
49 2015-04-23 Pedro Alves <palves@redhat.com>
51 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
53 2015-04-23 Pedro Alves <palves@redhat.com>
55 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
56 on $any_spawn_id instead of only on $gdb_spawn_id.
58 2015-04-21 Pierre Muller <muller@sourceware.org>
61 * lib/pascal.exp (gpc_compile): Add new option "class".
62 (fpc_compile): Likewise.
63 * gdb.pascal/case-insensitive-symbols.pas: New file.
64 * gdb.pascal/case-insensitive-symbols.exp: New file.
66 2015-04-20 Gary Benson <gbenson@redhat.com>
68 * gdb.base/attach.exp: Fix three extended remote failures.
70 2015-04-17 Gary Benson <gbenson@redhat.com>
72 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
73 the main executable over the remote protocol.
75 2015-04-16 Pedro Alves <palves@redhat.com>
77 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
78 a new gdbserver if gdbserver_reconnect_p is set.
80 2015-04-16 Pedro Alves <palves@redhat.com>
82 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
83 is set, don't exit gdbserver.
85 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
87 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
88 appropriate .insn, such that an older assembler can be used.
89 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
90 the z/Architecture instruction set on 31-bit targets as well.
92 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
94 * gdb.go/handcall.exp: Remove all logic related to the first
95 breakpoint and rely on go_runto_main instead.
96 * gdb.go/strings.exp: Likewise.
97 * gdb.go/unsafe.exp: Likewise.
98 * gdb.go/hello.exp: Likewise. Also rename the remaining
99 breakpoint marker to "breakpoint 1".
100 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
101 * gdb.go/strings.go: Likewise.
102 * gdb.go/unsafe.go: Likewise.
103 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
104 "set breakpoint 2 here" and rename the remaining breakpoint marker
107 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
109 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
110 if itertools.imap is not present.
111 * gdb.python/py-objfile.exp: Add parentheses.
112 * gdb.python/py-type.exp: Same.
113 * gdb.python/py-unwind-maint.py: Same.
115 2015-04-15 Yao Qi <yao.qi@linaro.org>
117 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
118 of ":$ptr_size" and set its form explicitly.
120 2015-04-15 Pedro Alves <palves@redhat.com>
121 Yao Qi <yao.qi@linaro.org>
123 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
124 timeout by factor of 4.
125 (test_regular_watch): Likewise.
126 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
127 * gdb.reverse/sigall-reverse.exp: Likewise.
128 * gdb.reverse/until-precsave.exp: Likewise.
129 * lib/gdb.exp (with_timeout_factor): New proc.
130 (gdb_expect): Move some code to ...
131 (get_largest_timeout): ... here. New procedure.
133 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
135 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
137 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
139 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
140 to write to the .text section.
142 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
144 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
145 Handle the case of targets that do not provide PID information.
147 2015-04-13 Yao Qi <yao.qi@linaro.org>
149 * lib/gdbserver-support.exp (gdb_exit): Catch exception
150 and use expect instead of gdb_expect.
152 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
154 * gdb.base/coredump-filter.exp: Rename variable "addr" to
155 "coredump_var_addr" to avoid naming conflict with other testcases.
157 2015-04-10 Pedro Alves <palves@redhat.com>
159 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
160 gdb_test_sequence and gdb_assert.
162 2015-04-10 Pedro Alves <palves@redhat.com>
164 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
165 test messages that don't include the breakpoint address.
167 2015-04-10 Yao Qi <yao.qi@linaro.org>
169 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
170 false for some offset and width combinations which aren't
171 supported by linux kernel.
173 2015-04-10 Pedro Alves <palves@redhat.com>
175 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
176 procedure, factored out from ...
177 (top level): ... here. Add "set displaced-stepping" testing axis.
178 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
179 parameter "displaced". Use it.
180 (top level): Use foreach and add "set displaced-stepping" testing
183 2015-04-10 Pedro Alves <palves@redhat.com>
185 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
187 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
188 both the address of the instruction that triggers the watchpoint
189 and the address of the instruction immediately after, and use
190 those addresses for the test. Fix comment.
192 2015-04-10 Pedro Alves <palves@redhat.com>
194 * gdb.base/sigstep.exp (breakpoint_to_handler)
195 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
196 Test "backtrace" in handler.
197 (breakpoint_over_handler): New parameter 'displaced'. Use it.
198 (top level): Add new "displaced" test axis to
199 breakpoint_to_handler, breakpoint_to_handler_entry and
200 breakpoint_over_handler.
202 2015-04-10 Pedro Alves <palves@redhat.com>
205 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
207 2015-04-10 Yao Qi <yao.qi@linaro.org>
209 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
210 (test_add_rn_pc): New function.
211 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
212 (top level): Invoke test_add_rn_pc.
214 2015-04-10 Pedro Alves <palves@redhat.com>
217 * gdb.base/step-over-no-symbols.exp: New file.
219 2015-04-09 Andy Wingo <wingo@igalia.com>
221 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
222 after the Python tests.
224 2015-04-08 Keith Seitz <keiths@redhat.com>
227 * gdb.python/py-completion.exp: New tests for completion.
228 * gdb.python/py-completion.py (CompleteLimit1): New class.
229 (CompleteLimit2): Likewise.
230 (CompleteLimit3): Likewise.
231 (CompleteLimit4): Likewise.
232 (CompleteLimit5): Likewise.
233 (CompleteLimit6): Likewise.
234 (CompleteLimit7): Likewise.
236 2015-04-08 Pedro Alves <palves@redhat.com>
240 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
242 (main): Install it as SIGUSR1 handler.
243 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
244 parameter. Always use "setup" as prefix. Toggle "set
245 displaced-stepping" off/on depending on global. Don't switch to
247 (top level): Add displaced stepping "off/on" test axis. Update
248 "setup" calls. Wrap each subtest with with_test_prefix. Test
249 continuing with a queued signal in each thread.
251 2015-04-08 Pedro Alves <palves@redhat.com>
253 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
254 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
255 gdb_breakpoint instead of gdb_test that doesn't expect anything.
256 Return early if running to main fails.
257 * gdb.trace/while-stepping.exp: Likewise.
259 2015-04-07 Pedro Alves <palves@redhat.com>
261 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
262 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
263 interact with inferior program.
265 2015-04-07 Pedro Alves <palves@redhat.com>
267 * lib/gdb.exp (inferior_spawn_id): New global.
268 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
269 spawn id after processing the user code.
270 (default_gdb_start): Set inferior_spawn_id.
271 (send_inferior): New procedure.
272 * lib/gdbserver-support.exp (gdbserver_start): Set
274 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
276 2015-04-07 Pedro Alves <palves@redhat.com>
278 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
279 * lib/gdbserver-support.exp (gdbserver_start): Make
280 $server_spawn_id global.
281 (gdbserver_start): Don't wait for gdbserver's spawn id with
283 (close_gdbserver): New procedure.
284 (gdb_exit): Rename the default version and reimplement.
286 2015-04-07 Pedro Alves <palves@redhat.com>
288 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
289 append the substituted item, not the original item.
291 2015-04-07 Pedro Alves <palves@redhat.com>
293 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
296 2015-04-07 Pedro Alves <palves@redhat.com>
298 * gdb.base/interrupt.exp: Don't handle the case of the inferior
299 output appearing once only.
301 2015-04-07 Pedro Alves <palves@redhat.com>
303 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
304 that doesn't expect anything. Return early if running to main
307 2015-04-07 Yao Qi <yao.qi@linaro.org>
309 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
310 (child_function): Call alarm.
311 (main): Move call to alarm into the loop.
312 * gdb.threads/non-stop-fair-events.exp: Build program with
315 2015-04-06 Doug Evans <xdje42@gmail.com>
317 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
318 Fix dest parameter to board_info.
319 (fpc_compile): Ditto.
320 (gdb_compile_pascal): Rename dest arg to destfile.
322 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
324 * gdb.ada/funcall_ref.exp: New file.
325 * gdb.ada/funcall_ref/foo.adb: New file.
327 2015-04-02 Yao Qi <yao.qi@linaro.org>
329 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
332 2015-04-02 Gary Benson <gbenson@redhat.com>
334 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
336 2015-04-01 Sasha Smundak <asmundak@google.com>
338 * gdb.python/py-unwind-maint.c: New file.
339 * gdb.python/py-unwind-maint.exp: New test.
340 * gdb.python/py-unwind-maint.py: New file.
341 * gdb.python/py-unwind.c: New file.
342 * gdb.python/py-unwind.exp: New test.
343 * gdb.python/py-unwind.py: New test.
345 2015-04-01 Pedro Alves <palves@redhat.com>
347 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
348 to fail instead of non-existent $test.
350 2015-04-01 Pedro Alves <palves@redhat.com>
352 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
353 GDBFLAGS if not empty.
355 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
357 * gdb.ada/complete.exp: Remove "multi_line".
358 * gdb.ada/info_exc.exp: Remove "multi_line".
359 * gdb.ada/packed_tagged.exp: Remove "multi_line".
360 * gdb.ada/ptype_field.exp: Remove "multi_line".
361 * gdb.ada/sym_print_name.exp: Remove "multi_line".
362 * gdb.ada/tagged.exp: Remove "multi_line".
363 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
365 * gdb.btrace/delta.exp: Likewise.
366 * gdb.btrace/exception.exp: Likewise.
367 * gdb.btrace/function_call_history.exp: Likewise.
368 * gdb.btrace/instruction_history.exp: Likewise.
369 * gdb.btrace/nohist.exp: Likewise.
370 * gdb.btrace/record_goto.exp: Likewise.
371 * gdb.btrace/segv.exp: Likewise.
372 * gdb.btrace/stepi.exp: Likewise.
373 * gdb.btrace/tailcall.exp: Likewise.
374 * gdb.btrace/unknown_functions.exp: Likewise.
375 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
376 * lib/gdb.exp: Add the "multi_line" helper.
378 2015-04-01 Pedro Alves <palves@redhat.com>
380 * gdb.threads/tid-reuse.c: New file.
381 * gdb.threads/tid-reuse.exp: New file.
383 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
386 * gdb.base/coredump-filter.c: New file.
387 * gdb.base/coredump-filter.exp: Likewise.
389 2015-03-27 Petr Machata <pmachata@redhat.com>
391 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
392 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
393 (Dwarf::assemble): Initialize them.
394 (Dwarf::lines): New function.
396 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
398 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
399 SYMBOL_PREFIX for x86_64-*-cygwin.
401 2015-03-26 Andy Wingo <wingo@igalia.com>
404 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
405 const_value but not a location.
406 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
407 location defined in non-main CUs are visible.
409 2015-03-26 Yao Qi <yao.qi@linaro.org>
412 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
413 Add a line number entry for the same line.
414 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
415 Add a line number entry for the same line.
417 2015-03-26 Yao Qi <yao.qi@linaro.org>
419 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
421 (func): Likewise. Add .Lfunc_1 label.
423 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
428 2015-03-26 Yao Qi <yao.qi@linaro.org>
430 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
431 Call gdb_compile instead to compile each .s files without debug
434 2015-03-26 Yao Qi <yao.qi@linaro.org>
436 * gdb.base/savedregs.exp (process_saved_regs): Make
437 "Saved registers:" optional in the pattern.
439 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
441 * gdb.btrace/next.exp: Merged into step.exp.
442 * gdb.btrace/finish.exp: Merged into step.exp.
443 * gdb.btrace/nexti.exp: Merged into stepi.exp.
444 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
445 "record goto" and checking the exact replay position.
446 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
447 check for "Recording format" in "info record" output.
448 * gdb.btrace/record_goto.exp: Choose test file based on target.
449 * gdb.btrace/x86-record_goto.S: Renamed into ...
450 * gdb.btrace/x86_64-record_goto.S: ... this.
451 * gdb.btrace/i686-record_goto.S: New.
452 * gdb.btrace/x86-tailcall.S: Renamed into ...
453 * gdb.btrace/x86_64-tailcall.S: ... this.
454 * gdb.btrace/i686-tailcall.S: New.
455 * gdb.btrace/x86-tailcall.c: Renamed into ...
456 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
457 separate statements. Update test.
458 * gdb.btrace/delta.exp: Use record_goto.c as test file.
459 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
460 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
461 * gdb.btrace/tailcall.exp: Choose test file based on target.
462 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
464 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
466 * gdb.btrace/exception.exp: Increase BTS buffer size.
468 2015-03-24 Pedro Alves <palves@redhat.com>
470 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
472 2015-03-24 Pedro Alves <palves@redhat.com>
474 * gdb.threads/schedlock.exp (test_step): No longer expect that
475 "set scheduler-locking step" with "next" over a function call runs
478 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
480 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
482 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
485 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
486 * gdb.mi/mi-pending.c (thread_func): New function.
487 (int main): Add threading support required.
488 * gdb.mi/mi-pending.exp: Add tests for this issue.
489 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
490 (pendfunc2): Remove stdio dependency.
491 * gdb.mi/mi-pendshr2.c: New file.
493 2015-03-23 Keith Seitz <keiths@redhat.com>
495 * gdb.linespec/keywords.c: New file.
496 * gdb.linespec/keywords.exp: New file.
498 2015-03-23 Keith Seitz <keiths@redhat.com>
501 * gdb.dwarf2/staticvirtual.exp: New test.
503 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
505 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
506 * README: Remove HP-UX and gdb.hp.
508 * configure: Regenerate.
509 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
510 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
511 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
512 gdb.hp/gdb.defects/Makefile.
513 * gdb.hp/Makefile.in: File deleted.
514 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
515 * gdb.hp/gdb.aCC/optimize.c: File deleted.
516 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
517 * gdb.hp/gdb.aCC/run.c: File deleted.
518 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
519 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
520 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
521 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
522 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
523 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
524 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
525 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
526 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
527 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
528 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
529 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
530 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
531 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
532 * gdb.hp/gdb.base-hp/reg.s: File deleted.
533 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
534 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
535 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
536 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
537 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
538 * gdb.hp/gdb.compat/Makefile.in: File deleted.
539 * gdb.hp/gdb.compat/average.c: File deleted.
540 * gdb.hp/gdb.compat/sum.c: File deleted.
541 * gdb.hp/gdb.compat/xdb.c: File deleted.
542 * gdb.hp/gdb.compat/xdb0.c: File deleted.
543 * gdb.hp/gdb.compat/xdb0.h: File deleted.
544 * gdb.hp/gdb.compat/xdb1.c: File deleted.
545 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
546 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
547 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
548 * gdb.hp/gdb.defects/Makefile.in: File deleted.
549 * gdb.hp/gdb.defects/bs14602.c: File deleted.
550 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
551 * gdb.hp/gdb.defects/solib-d.c: File deleted.
552 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
553 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
554 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
555 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
556 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
557 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
558 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
559 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
560 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
561 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
562 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
563 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
564 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
565 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
566 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
567 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
568 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
569 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
570 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
571 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
572 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
573 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
574 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
575 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
576 * gdb.hp/tools/odump: File deleted.
578 2015-03-19 Pedro Alves <palves@redhat.com>
580 * gdb.threads/continue-pending-status.exp (saw_thread_2)
581 (saw_thread_3): New globals.
582 (top level): Increment them when an event for the corresponding
584 (no thread starvation): New test.
586 2015-03-19 Pedro Alves <palves@redhat.com>
588 * gdb.threads/continue-pending-status.c: New file.
589 * gdb.threads/continue-pending-status.exp: New file.
591 2015-03-18 Pedro Alves <palves@redhat.com>
593 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
594 Use gdb_is_target_remote instead of is_remote. Use
595 gdb_test_multiple instead of gdb_expect. Exit early if
596 gdb_test_multiple hits its internal matches. Tighten stepi tests
597 expected output. Fail on exit with any signal, instead of just
600 2015-03-18 Yao Qi <yao.qi@linaro.org>
603 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
605 * gdb.base/catch-syscall.exp: Don't skip it on
606 aarch64*-*-linux* target. Remove elements in all_syscalls.
607 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
609 (setup_all_syscalls): New proc.
611 2015-03-16 Yao Qi <yao.qi@linaro.org>
613 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
614 (top level): Skip tests if valid_addr_p returns false for
617 2015-03-11 Andy Wingo <wingo@igalia.com>
619 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
621 2015-03-11 Yao Qi <yao.qi@linaro.org>
623 * gdb.base/catch-syscall.exp: Fix typo in comments.
625 2015-03-11 Yao Qi <yao.qi@linaro.org>
627 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
629 2015-03-09 Pedro Alves <palves@redhat.com>
631 * dg-extract-results.py: Delete.
633 2015-03-09 Pedro Alves <palves@redhat.com>
635 Merge dg-extract-results.sh from GCC upstream (r218843).
637 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
638 * dg-extract-results.sh: Use --text with grep to avoid issues with
639 binary files. Fall back to cat -v, if that doesn't work.
641 2015-03-05 Pedro Alves <palves@redhat.com>
643 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
645 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
647 * lib/mi-support.exp (mi_expect_interrupt): Accept
648 alternative event for when in all-stop mode.
650 2015-03-04 Pedro Alves <palves@redhat.com>
652 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
654 2015-03-04 Mark Kettenis <kettenis@gnu.org>
656 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
658 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
660 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
661 regexps for GDB's current line display, accept a hex address
662 preceding the line number.
664 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
666 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
667 the 'arch1' variable for "s390*-linux*" targets.
669 2015-03-04 Pedro Alves <palves@redhat.com>
671 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
672 (main): Pass missing retval argument to pthread_join call.
674 2015-03-02 Pedro Alves <palves@redhat.com>
676 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
677 (top level): Call do_test with non-stop as well.
679 2015-03-02 Pedro Alves <palves@redhat.com>
681 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
684 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
686 * gdb.arch/s390-vregs.exp: New test.
687 * gdb.arch/s390-vregs.S: New file.
689 2015-02-27 Pedro Alves <palves@redhat.com>
691 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
692 call to catch_command_errors.
693 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
694 catch_command_errors.
696 2015-02-27 Pedro Alves <palves@redhat.com>
698 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
699 "true" for boolean result.
700 * gdb.gdb/selftest.exp (test_with_self): Also accept full
703 2015-02-27 Pedro Alves <palves@redhat.com>
705 * lib/unbuffer_output.c: New file.
706 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
707 (main): Call gdb_unbuffer_output.
709 2015-02-27 Yao Qi <yao.qi@linaro.org>
711 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
714 2015-02-26 Doug Evans <dje@google.com>
716 * gdb.cp/class2.cc (Dbase, D): New classes.
717 (main): New local delta.
718 * gdb.cp/class2.exp: Test printing delta.
719 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
720 (dynbar): New global.
721 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
723 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
725 * gdb.compile/compile-ifunc.c: New file.
726 * gdb.compile/compile-ifunc.exp: New file.
728 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
730 * gdb.base/structs.exp: Check for correct struct on finish.
732 2015-02-26 Yao Qi <yao.qi@linaro.org>
734 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
737 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
739 * gdb.arch/cordic.ko.bz2: New file.
740 * gdb.arch/cordic.ko.debug.bz2: New file.
741 * gdb.arch/ppc64-symtab-cordic.exp: New file.
743 2015-02-25 Yao Qi <yao.qi@linaro.org>
745 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
748 2015-02-23 Pedro Alves <palves@redhat.com>
750 * lib/gdb.exp (delete_breakpoints): Rewrite using
753 2015-02-23 Pedro Alves <palves@redhat.com>
755 * gdb.base/info-os.c: Include stdlib.h.
757 2015-02-22 Doug Evans <xdje42@gmail.com>
760 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
761 is read after symbols have been re-read.
762 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
763 * gdb.ada/exec_changed/second.adb (Second): Ditto.
765 2015-02-21 Doug Evans <dje@google.com>
767 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
769 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
772 * gdb.arch/i386-biarch-core.core.bz2: New file.
773 * gdb.arch/i386-biarch-core.exp: New file.
775 2015-02-21 Pedro Alves <palves@redhat.com>
777 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
780 2015-02-20 Pedro Alves <palves@redhat.com>
782 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
785 2015-02-20 Pedro Alves <palves@redhat.com>
787 * gdb.threads/multi-create-ns-info-thr.exp: New file.
789 2015-02-20 Pedro Alves <palves@redhat.com>
791 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
792 clean_restart before gdb_target_supports_trace.
794 2015-02-20 Pedro Alves <palves@redhat.com>
797 * gdb.threads/clone-thread_db.c: New file.
798 * gdb.threads/clone-thread_db.exp: New file.
800 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
803 * gdb.base/catch-gdb-caused-signals.c: New file.
804 * gdb.base/catch-gdb-caused-signals.exp: New file.
806 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
808 * configure: Regenerated.
809 * configure.ac: Use GDB_AC_TRANSFORM.
810 * aclocal.m4: sinclude ../transform.m4.
812 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
814 * lib/dtrace.exp: New file.
815 * gdb.base/dtrace-probe.exp: Likewise.
816 * gdb.base/dtrace-probe.d: Likewise.
817 * gdb.base/dtrace-probe.c: Likewise.
818 * lib/pdtrace.in: Likewise.
819 * configure.ac: Output variables with the transformed names of
820 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
821 * configure: Regenerated.
823 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
825 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
826 expected message when trying to access $_probe_* convenience
827 variables while not on a probe.
829 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
831 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
833 2015-02-11 Pedro Alves <pedro@codesourcery.com>
835 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
836 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
838 2015-02-10 Doug Evans <xdje42@gmail.com>
840 * lib/gdb.exp (gdb_load): Always return a result.
842 2015-02-10 Pedro Alves <palves@redhat.com>
844 * gdb.threads/signal-sigtrap.c: New file.
845 * gdb.threads/signal-sigtrap.exp: New file.
847 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
849 * gdb.trace/no-attach-trace.c: New file.
850 * gdb.trace/no-attach-trace.exp: New file.
852 2015-02-09 Mark Wielaard <mjw@redhat.com>
854 * gdb.dwarf2/atomic.c: New file.
855 * gdb.dwarf2/atomic-type.exp: Likewise.
857 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
859 * gdb.btrace/buffer-size.exp: Update "info record" output.
860 * gdb.btrace/delta.exp: Update "info record" output.
861 * gdb.btrace/enable.exp: Update "info record" output.
862 * gdb.btrace/finish.exp: Update "info record" output.
863 * gdb.btrace/instruction_history.exp: Update "info record" output.
864 * gdb.btrace/next.exp: Update "info record" output.
865 * gdb.btrace/nexti.exp: Update "info record" output.
866 * gdb.btrace/step.exp: Update "info record" output.
867 * gdb.btrace/stepi.exp: Update "info record" output.
868 * gdb.btrace/nohist.exp: Update "info record" output.
870 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
872 * gdb.btrace/buffer-size: New.
874 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
876 * gdb.btrace/delta.exp: Update "info record" output.
877 * gdb.btrace/enable.exp: Update "info record" output.
878 * gdb.btrace/finish.exp: Update "info record" output.
879 * gdb.btrace/instruction_history.exp: Update "info record" output.
880 * gdb.btrace/next.exp: Update "info record" output.
881 * gdb.btrace/nexti.exp: Update "info record" output.
882 * gdb.btrace/step.exp: Update "info record" output.
883 * gdb.btrace/stepi.exp: Update "info record" output.
884 * gdb.btrace/nohist.exp: Update "info record" output.
886 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
889 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
891 2015-02-06 Pedro Alves <palves@redhat.com>
893 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
895 (seconds_left, again): New globals.
896 (main): Wait seconds_left in a 1-second sleep loop instead of
897 sleeping 180 seconds. If 'again' is set, reset the seconds
899 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
900 'again' in the inferior before detaching. Print the seconds left.
901 (options): New global.
902 (top level): Build program with -DTIMEOUT=$timeout.
904 2015-02-06 Pedro Alves <palves@redhat.com>
906 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
907 determine how many seconds to pass to 'alarm'.
908 * gdb.base/gdb-sigterm.exp (top level): Build program with
910 (do_test): Return success/failure indication. Add more verbose
911 logging. Don't fail if 200 single steps are seen. Instead, fail
912 when the test times out.
913 (passes): New global.
914 (top level): Break the testing loop if testing fails on any
915 iteration. Use gdb_assert.
917 2015-02-04 Don Breazeal <donb@codesourcery.com>
919 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
921 (ipc_cleanup): New function.
922 (main): Don't declare shmid, semid, and msqid. Add a call to
923 atexit so that we call ipc_cleanup on exit.
925 2015-02-04 Pedro Alves <palves@redhat.com>
927 * boards/native-extended-gdbserver.exp: Remove any target variant
928 specifications from the board name before clearing the isremote
929 flag from board_info.
931 2015-01-31 Doug Evans <xdje42@gmail.com>
933 * gdb.base/maint.exp <maint print type argc>: Update expected output.
935 2015-01-31 Gary Benson <gbenson@redhat.com>
937 * gdb.base/completion.exp: Disable completion limiting for
938 existing tests. Add new tests to check completion limiting.
939 * gdb.linespec/ls-errs.exp: Disable completion limiting.
941 2015-01-31 Doug Evans <xdje42@gmail.com>
943 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
945 2015-01-31 Doug Evans <xdje42@gmail.com>
947 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
948 entries. Duplicate file section script entries.
949 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
950 inlined entries. Add test for safe-path rejection.
951 * gdb.python/py-section-script.c: Add duplicate inlined section script
952 entries. Duplicate file section script entries.
953 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
954 inlined entries. Add test for safe-path rejection.
956 2015-01-29 Joel Brobecker <brobecker@adacore.com>
958 * gdb.ada/disc_arr_bound: New testcase.
960 2015-01-29 Joel Brobecker <brobecker@adacore.com>
962 * gdb.ada/mi_var_array: New testcase.
964 2015-01-27 Doug Evans <dje@google.com>
966 * gdb.python/py-objfile.exp: Add tests for objfile.username.
967 Add test for objfile.filename, objfile.username after objfile
970 2015-01-26 Joel Brobecker <brobecker@adacore.com>
972 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
973 the second test to print the name attribute of value
974 returned by the call to gdb.lookup_type, and adjust
975 the expected output accordingly.
977 2015-01-25 Mark Wielaard <mjw@redhat.com>
979 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
980 * gdb.base/disp-step-fork.c: Include unistd.h.
981 * gdb.base/siginfo-obj.c: Include stdio.h.
982 * gdb.base/siginfo-thread.c: Likewise.
983 * gdb.mi/non-stop.c: Include unistd.h.
984 * gdb.mi/nsthrexec.c: Include stdio.h.
985 * gdb.mi/pthreads.c: Include unistd.h.
986 * gdb.modula2/unbounded1.c (main): Declare returns int.
987 * gdb.reverse/consecutive-reverse.c: Likewise.
988 * gdb.threads/create-fail.c: Include unistd.h.
989 * gdb.threads/killed.c: Likewise.
990 * gdb.threads/linux-dp.c: Likewise.
991 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
992 * gdb.threads/non-ldr-exc-2.c: Likewise.
993 * gdb.threads/non-ldr-exc-3.c: Likewise.
994 * gdb.threads/non-ldr-exc-4.c: Likewise.
995 * gdb.threads/pthreads.c: Include unistd.h.
996 (main): Declare returns int.
997 * gdb.threads/tls-main.c (foo): New declaration.
998 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
1000 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
1002 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
1003 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
1005 2015-01-15 Mark Wielaard <mjw@redhat.com>
1007 * gdb.base/noreturn-return.c: New file.
1008 * gdb.base/noreturn-return.exp: New file.
1009 * gdb.base/noreturn-finish.c: New file.
1010 * gdb.base/noreturn-finish.exp: New file.
1012 2015-01-23 Pedro Alves <palves@redhat.com>
1014 * gdb.threads/continue-pending-after-query.c: New file.
1015 * gdb.threads/continue-pending-after-query.exp: New file.
1017 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
1018 Simon Marchi <simon.marchi@ericsson.com>
1020 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
1021 * gdb.base/valgrind-db-attach.exp: Same.
1022 * gdb.base/valgrind-infcall.exp: Same.
1023 * lib/mi-support.exp (default_mi_gdb_start): Same.
1024 * lib/prompt.exp (default_prompt_gdb_start): Same.
1025 * lib/gdb.exp (default_gdb_spawn): Same.
1026 (gdb_interact): New.
1029 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1031 * gdb.compile/compile.exp (pointer to jit function): New test.
1033 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
1035 * lib/gdb.exp (supports_process_record): Return true for
1037 (supports_reverse): Likewise.
1039 2015-01-15 Don Breazeal <donb@codesourcery.com>
1041 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
1042 instead of checking whether the target board is remote and
1043 use spawn_wait_for_attach instead of exec/sleep.
1044 * gdb.base/attach-twice.exp: Likewise.
1046 2015-01-15 Joel Brobecker <brobecker@adacore.com>
1048 * gdb.ada/var_arr_attrs: New testcase.
1050 2015-01-14 Pedro Alves <palves@redhat.com>
1051 Joel Brobecker <brobecker@adacore.com>
1054 * gdb.base/bp-cmds-execution-x-script.c: New file.
1055 * gdb.base/bp-cmds-execution-x-script.exp: New file.
1056 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
1058 2015-01-14 Pedro Alves <palves@redhat.com>
1061 * gdb.base/batch-preserve-term-settings.c: New file.
1062 * gdb.base/batch-preserve-term-settings.exp: New file.
1064 2015-01-13 Doug Evans <dje@google.com>
1066 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
1069 2015-01-13 Joel Brobecker <brobecker@adacore.com>
1071 * Makefile.in (clean mostlyclean): Do not delete *.py.
1073 2015-01-13 Joel Brobecker <brobecker@adacore.com>
1075 * gdb.python/py-lookup-type.exp: New file.
1077 2015-01-12 Pedro Alves <palves@redhat.com>
1079 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
1080 restore GDBFLAGS before returning.
1082 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1084 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
1085 is_amd64_regs_target and is_x86_like_target.
1087 2015-01-11 Doug Evans <xdje42@gmail.com>
1089 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
1090 is given without an explicit form.
1091 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
1093 * gdb.dwarf/corrupt.exp: Ditto.
1094 * gdb.dwarf2/enum-type.exp: Ditto.
1095 * gdb.trace/entry-values.exp: Ditto.
1096 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
1098 2015-01-11 Doug Evans <xdje42@gmail.com>
1101 * gdb.base/maint.exp: Remove references to "maint demangle".
1102 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
1103 Add tests for explicitly specifying language to demangle.
1104 * gdb.dlang/demangle.exp: Ditto.
1106 2015-01-09 Pedro Alves <palves@redhat.com>
1108 * gdb.threads/non-stop-fair-events.c: New file.
1109 * gdb.threads/non-stop-fair-events.exp: New file.
1111 2015-01-09 Pedro Alves <palves@redhat.com>
1113 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
1114 the global scope. Set a breakpoint after all threads are started
1115 rather than stepping over two source lines. Expect the prompt.
1116 * gdb.base/watch_thread_num.c (threads_started_barrier): New
1119 (main): Use threads_started_barrier to wait for all threads to
1120 start. Main thread no longer calls thread_function. Exit after
1122 (loop): New function.
1123 (thread_function): Wait on threads_started_barrier barrier. Call
1124 'loop' at each iteration.
1125 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
1126 threads have started, instead of hardcoding number of "next"
1127 steps. Use an access watchpoint instead of a write watchpoint.
1129 2015-01-09 Pedro Alves <palves@redhat.com>
1131 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
1132 (thread_func): Wait on barrier.
1133 (main): Wait for all threads to start before stopping GDB.
1134 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
1136 (thread1_func, thread2_func): Wait on barrier.
1137 (main): Wait for all threads to start before stopping GDB.
1138 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
1140 (thread1_func, thread2_func): Wait on barrier.
1141 (main): Wait for all threads to start before stopping GDB.
1143 2015-01-09 Pedro Alves <palves@redhat.com>
1145 * gdb.threads/attach-many-short-lived-threads.c: New file.
1146 * gdb.threads/attach-many-short-lived-threads.exp: New file.
1148 2014-01-09 Pedro Alves <palves@redhat.com>
1150 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
1151 instead of to thread 2.
1152 * gdb.threads/signal-command-multiple-signals-pending.c (main):
1153 Add barrier around each pthread_create call instead of around all
1155 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
1156 Set a break on thread_function and have the child threads hit it
1159 2015-01-09 Pedro Alves <palves@redhat.com>
1161 * lib/gdb.exp (can_spawn_for_attach): New procedure.
1162 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
1164 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
1165 checking whether the target board is remote.
1166 * gdb.multi/multi-attach.exp: Likewise.
1167 * gdb.python/py-sync-interp.exp: Likewise.
1168 * gdb.server/ext-attach.exp: Likewise.
1169 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
1170 tests that need to attach, instead of checking whether the target
1171 board is remote at the top of the file.
1173 2015-01-08 Yao Qi <yao@codesourcery.com>
1175 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
1177 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1179 Fix testcase compilation.
1180 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
1182 2015-01-06 Joel Brobecker <brobecker@adacore.com>
1184 * gdb.python/py-type.exp: Add a couple test about empty
1185 array creation, and negative-length array creation.
1187 2015-01-02 Doug Evans <xdje42@gmail.com>
1189 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
1191 2015-01-02 Doug Evans <dje@google.com>
1193 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
1195 2014-12-29 Yao Qi <yao@codesourcery.com>
1197 * gdb.trace/entry-values.exp: Update comments. Rename variable
1198 bar_call_foo to returned_from_foo.
1200 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
1203 * gdb.linespec/break-asm-file.c: New file.
1204 * gdb.linespec/break-asm-file.exp: New file.
1205 * gdb.linespec/break-asm-file0.s: New file.
1206 * gdb.linespec/break-asm-file1.s: New file.
1208 2014-12-18 Nigel Stephens <nigel@mips.com>
1209 Maciej W. Rozycki <macro@codesourcery.com>
1211 * gdb.base/float.exp: Handle the new output from "info float" on
1214 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1216 Fix MinGW compilation.
1217 * gdb.compile/compile-ops.exp: Update untested message if
1218 !skip_compile_feature_tests.
1219 * gdb.compile/compile-setjmp.exp: Likewise.
1220 * gdb.compile/compile-tls.exp: Likewise.
1221 * gdb.compile/compile.exp: Likewise.
1222 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
1223 supported on this host".
1225 2014-12-16 Doug Evans <xdje42@gmail.com>
1227 * boards/stabs.exp: New file.
1229 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
1231 * gdb.base/completion.exp: Adjust to format changes of "maint
1232 print user-registers".
1234 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
1237 * gdb.arch/aarch64-fp.c: New file.
1238 * gdb.arch/aarch64-fp.exp: New file.
1240 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1242 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
1243 r210637, r210913, r211666, r215400, r215817).
1245 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
1246 * dg-extract-results.py: New file.
1247 * dg-extract-results.sh: Use it if the environment seems
1250 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
1252 * dg-extract-results.py (parse_run): Handle warnings that
1253 are printed before a test harness is run.
1255 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
1257 * dg-extract-results.py (Named): Remove __cmp__ method.
1258 (output_variation): Use a key to sort variation.harnesses.
1260 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
1262 * dg-extract-results.py: For Python 3, force sys.stdout to
1263 handle surrogate escape sequences.
1264 (safe_open): New function.
1265 (output_segment, main): Use it.
1267 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
1269 * dg-extract-results.py (Prog.result_re): Include options
1272 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
1274 * dg-extract-results.py (output_variation): Always sort if
1277 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
1279 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
1280 as long as we get pagination notifications.
1282 2014-12-15 Jason Merrill <jason@redhat.com>
1284 * Makefile.in (check-gdb.%): Restore.
1285 * README: Mention it.
1287 2014-12-13 Joel Brobecker <brobecker@adacore.com>
1289 * gdb.ada/str_uninit: New testcase.
1291 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1294 * gdb.base/vla-stub-define.c: New file.
1295 * gdb.base/vla-stub.c: New file.
1296 * gdb.base/vla-stub.exp: New file.
1298 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
1299 Jan Kratochvil <jan.kratochvil@redhat.com>
1300 Tom Tromey <tromey@redhat.com>
1302 * configure.ac: Add gdb.compile/.
1303 * configure: Regenerate.
1304 * gdb.compile/Makefile.in: New file.
1305 * gdb.compile/compile-ops.exp: New file.
1306 * gdb.compile/compile-ops.c: New file.
1307 * gdb.compile/compile-tls.c: New file.
1308 * gdb.compile/compile-tls.exp: New file.
1309 * gdb.compile/compile-constvar.S: New file.
1310 * gdb.compile/compile-constvar.c: New file.
1311 * gdb.compile/compile-mod.c: New file.
1312 * gdb.compile/compile-nodebug.c: New file.
1313 * gdb.compile/compile-setjmp-mod.c: New file.
1314 * gdb.compile/compile-setjmp.c: New file.
1315 * gdb.compile/compile-setjmp.exp: New file.
1316 * gdb.compile/compile-shlib.c: New file.
1317 * gdb.compile/compile.c: New file.
1318 * gdb.compile/compile.exp: New file.
1319 * lib/gdb.exp (skip_compile_feature_tests): New proc.
1321 2014-12-12 Tom Tromey <tromey@redhat.com>
1323 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
1324 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
1326 2014-12-12 Doug Evans <dje@google.com>
1328 * lib/gdb-python.exp (get_python_valueof): New function.
1329 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
1331 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1333 * gdb.base/completion.exp: Add test for completion of "info
1336 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
1338 * gdb.base/func-ptrs.c: New file.
1339 * gdb.base/func-ptrs.exp: New file.
1341 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1343 PR breakpoints/17012
1344 * gdb.base/dprintf-detach.c: New file.
1345 * gdb.base/dprintf-detach.exp: New file.
1347 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1349 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
1350 * lib/gdb.exp (target_is_gdbserver): New procedure.
1352 2014-12-08 Doug Evans <dje@google.com>
1354 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
1356 2014-12-05 Yao Qi <yao@codesourcery.com>
1358 * gdb.guile/scm-error.exp: Remove the third argument to
1359 gdb_remote_download.
1360 * gdb.guile/scm-frame-args.exp: Likewise.
1361 * gdb.guile/scm-section-script.exp: Likewise.
1363 2014-12-05 Yao Qi <yao@codesourcery.com>
1365 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
1367 2014-12-04 Doug Evans <dje@google.com>
1369 * gdb.python/py-objfile.exp: Add tests for
1370 objfile.add_separate_debug_file.
1372 2014-12-04 Doug Evans <dje@google.com>
1374 * lib/gdb.exp (get_build_id): New function.
1375 (build_id_debug_filename_get): Rewrite to use it.
1376 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
1378 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
1380 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
1381 `method(long)', not just 0x0.
1382 * gdb.cp/nsalias.exp: Align code labels to 4.
1383 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
1384 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
1385 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
1386 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
1387 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
1388 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
1390 2014-12-02 Doug Evans <dje@google.com>
1393 * gdb.cp/anon-ns.cc: Move guts of this file to ...
1394 * gdb.cp/anon-ns2.cc: ... here. New file.
1395 * gdb.cp/anon-ns.exp: Update.
1397 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
1399 * gdb.python/py-events.py (inferior_call_handler): New.
1400 (register_changed_handler, memory_changed_handler): New.
1401 (test_events.invoke): Register new handlers.
1402 * gdb.python/py-events.exp: Add tests for inferior call,
1403 memory_changed and register_changed events.
1405 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1407 * gdb.base/execl-update-breakpoints.exp: Specify the link address
1408 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
1409 if the linker doesn't understand this.
1411 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
1413 * gdb.python/python.exp: Change expected reply to help().
1415 2014-12-01 Yao Qi <yao@codesourcery.com>
1417 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
1418 AC_CONFIG_SUBDIRS(gdb.gdbtk).
1419 * configure: Re-generated.
1421 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
1423 * gdb.cp/chained-calls.cc: New file.
1424 * gdb.cp/chained-calls.exp: New file.
1425 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
1427 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
1429 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
1430 * gdb.dwarf2/symtab-producer.exp: Same.
1431 * gdb.gdb/python-interrupts.exp: Same.
1432 * gdb.gdb/python-selftest.exp: Same.
1433 * gdb.python/py-linetable.exp: Same.
1434 * gdb.python/py-type.exp: Same.
1435 * gdb.python/py-value-cc.exp: Same.
1436 * gdb.python/py-value.exp: Same.
1438 2014-11-28 Yao Qi <yao@codesourcery.com>
1440 * gdb.base/break-probes.exp: Match library name prefixed with
1443 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
1445 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
1446 test expected output. Add parentheses for the call to print.
1447 Remove L suffix from integers.
1449 2014-11-26 Doug Evans <dje@google.com>
1451 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
1453 2014-11-22 Yao Qi <yao@codesourcery.com>
1455 * gdb.trace/entry-values.c: Remove asms.
1456 (foo): Add foo_label.
1457 (bar): Add bar_label.
1458 * gdb.trace/entry-values.exp: Remove code computing foo's
1459 length and bar's length.
1460 (Dwarf::assemble): Invoke function_range for bar and use
1461 MACRO_AT_func for foo.
1463 2014-11-22 Yao Qi <yao@codesourcery.com>
1465 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
1466 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
1467 Use .Lgcc43_procstart instead of gcc43.
1469 2014-11-21 Joel Brobecker <brobecker@adacore.com>
1471 * gdb.ada/n_arr_bound: New testcase.
1473 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1475 PR breakpoints/10737
1476 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
1477 test_catch_syscall_multi_arch.
1478 (test_catch_syscall_multi_arch): New function.
1480 2014-11-20 Doug Evans <xdje42@gmail.com>
1482 * gdb.base/maint.exp: Update expected output.
1484 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1486 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
1487 4-byte instruction on S390.
1489 2014-11-19 Joel Brobecker <brobecker@adacore.com>
1491 * gdb.ada/arr_arr: New testcase.
1493 2014-11-19 Joel Brobecker <brobecker@adacore.com>
1495 * gdb.ada/pkd_arr_elem: New Testcase.
1497 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
1499 * gdb.reverse/break-precsave: Expect completion message for
1501 * gdb.reverse/consecutive-precsave.exp: Likewise.
1502 * gdb.reverse/finish-precsave.exp: Likewise.
1503 * gdb.reverse/i386-precsave.exp: Likewise.
1504 * gdb.reverse/machinestate-precsave.exp: Likewise.
1505 * gdb.reverse/sigall-precsave.exp: Likewise.
1506 * gdb.reverse/solib-precsave.exp: Likewise.
1507 * gdb.reverse/step-precsave.exp: Likewise.
1508 * gdb.reverse/until-precsave.exp: Likewise.
1509 * gdb.reverse/watch-precsave.exp: Likewise.
1511 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1513 * gdb.base/bp-permanent.c: Include unistd.h.
1514 * gdb.python/py-framefilter-mi.c (main): Add return type.
1515 * gdb.python/py-framefilter.c (main): Likewise.
1516 * gdb.trace/actions-changed.c (main): Likewise.
1518 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1520 * gdb.mi/until.c: Add eye-catchers.
1521 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
1524 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1526 * gdb.base/condbreak.exp: Drop references to removed non-prototype
1527 function header variants in break1.c.
1528 * gdb.base/ena-dis-br.exp: Likewise.
1529 * gdb.base/hbreak2.exp: Likewise.
1530 * gdb.reverse/until-precsave.exp: Drop references to removed
1531 non-prototype function header variants in ur1.c.
1532 * gdb.reverse/until-reverse.exp: Likewise.
1534 2014-11-17 Petr Machata <pmachata@redhat.com>
1536 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
1537 ${_cu_offset_size} bytes abbrev offset.
1539 2014-11-15 Doug Evans <xdje42@gmail.com>
1542 * gdb.base/line-symtabs.exp: New file.
1543 * gdb.base/line-symtabs.c: New file.
1544 * gdb.base/line-symtabs.h: New file.
1546 2014-11-14 Yao Qi <yao@codesourcery.com>
1548 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
1549 (func): Add label func_label.
1550 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
1551 Replace low_pc and high_pc with MACRO_AT_range.
1552 Replace name, low_pc and high_pc with MACRO_AT_func.
1554 2014-11-14 Yao Qi <yao@codesourcery.com>
1556 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
1557 Replace name, low_pc and high_pc with MACRO_AT_func.
1559 2014-11-14 Yao Qi <yao@codesourcery.com>
1561 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
1562 produce debug information.
1563 * gdb.dwarf2/implptr-optimized-out.S: Removed.
1565 2014-11-14 Yao Qi <yao@codesourcery.com>
1567 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
1568 object and get function length.
1569 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
1571 (top-level): Replace gdb_compile and clean_restart with
1572 prepare_for_testing.
1573 * gdb.dwarf2/main.c (main): Add label main_label.
1575 2014-11-14 Yao Qi <yao@codesourcery.com>
1577 * lib/dwarf.exp (function_range): New procedure.
1578 (Dwarf::_handle_macro_at_func): New procedure.
1579 (Dwarf::_handle_macro_at_range): New procedure.
1580 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
1582 2014-11-14 Yao Qi <yao@codesourcery.com>
1584 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
1585 (_handle_attribute): New procedure.
1587 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1589 * gdb.ada/cond_lang/foo.c (callme): Add return type.
1590 * gdb.base/call-sc.c (zed): Likewise.
1591 * gdb.base/checkpoint.c (main): Likewise.
1592 * gdb.base/dump.c (main): Likewise.
1593 * gdb.base/gcore.c (main): Likewise.
1594 * gdb.base/huge.c (main): Likewise.
1595 * gdb.base/multi-forks.c (main): Likewise.
1596 * gdb.base/pr10179-a.c (main): Likewise.
1597 * gdb.base/savedregs.c (main): Likewise.
1598 * gdb.base/sigaltstack.c (main): Likewise.
1599 * gdb.base/siginfo.c (main): Likewise.
1600 * gdb.base/structs.c (zed): Likewise.
1601 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
1602 * gdb.mi/mi-syn-frame.c (main): Likewise.
1603 * gdb.mi/until.c (foo, main): Likewise.
1604 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
1605 * gdb.base/solib-weak.c (foo): Declare.
1606 * gdb.base/attach-twice.c: Include stdio.h.
1607 * gdb.base/weaklib1.c: Likewise.
1608 * gdb.base/weaklib2.c: Likewise.
1609 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
1610 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
1612 * gdb.base/attach-pie-misread.c: Include stdlib.h.
1613 * gdb.mi/mi-exit-code.c: Likewise.
1614 * gdb.base/break-interp-lib.c: Include string.h.
1615 * gdb.base/coremaker.c: Likewise.
1616 * gdb.base/testenv.c: Likewise.
1617 * gdb.python/py-finish-breakpoint.c: Likewise.
1618 * gdb.base/inferior-died.c: Include sys/wait.h.
1619 * gdb.base/fileio.c: Include time.h.
1620 * gdb.base/async-shell.c: Include unistd.h.
1621 * gdb.base/dprintf-non-stop.c: Likewise.
1622 * gdb.base/info-os.c: Likewise.
1623 * gdb.mi/mi-console.c: Likewise.
1624 * gdb.mi/watch-nonstop.c: Likewise.
1625 * gdb.python/py-events.c: Likewise.
1626 * gdb.base/async.c (baz): Move up before its invocation.
1627 * gdb.base/code_elim2.c (my_global_func): Likewise.
1628 * gdb.base/skip-solib-lib.c (multiply): Likewise.
1629 * gdb.base/advance.c (func2): Likewise.
1631 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1633 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
1635 * gdb.base/annota3.c: Likewise.
1636 * gdb.base/async.c: Likewise.
1637 * gdb.base/average.c: Likewise.
1638 * gdb.base/call-ar-st.c: Likewise.
1639 * gdb.base/call-rt-st.c: Likewise.
1640 * gdb.base/call-sc.c: Likewise.
1641 * gdb.base/call-strs.c: Likewise.
1642 * gdb.base/ending-run.c: Likewise.
1643 * gdb.base/execd-prog.c: Likewise.
1644 * gdb.base/exprs.c: Likewise.
1645 * gdb.base/foll-exec.c: Likewise.
1646 * gdb.base/foll-fork.c: Likewise.
1647 * gdb.base/foll-vfork.c: Likewise.
1648 * gdb.base/funcargs.c: Likewise.
1649 * gdb.base/gcore.c: Likewise.
1650 * gdb.base/jump.c: Likewise.
1651 * gdb.base/langs0.c: Likewise.
1652 * gdb.base/langs1.c: Likewise.
1653 * gdb.base/langs2.c: Likewise.
1654 * gdb.base/mips_pro.c: Likewise.
1655 * gdb.base/nodebug.c: Likewise.
1656 * gdb.base/opaque0.c: Likewise.
1657 * gdb.base/opaque1.c: Likewise.
1658 * gdb.base/recurse.c: Likewise.
1659 * gdb.base/run.c: Likewise.
1660 * gdb.base/scope0.c: Likewise.
1661 * gdb.base/scope1.c: Likewise.
1662 * gdb.base/setshow.c: Likewise.
1663 * gdb.base/setvar.c: Likewise.
1664 * gdb.base/shmain.c: Likewise.
1665 * gdb.base/shr1.c: Likewise.
1666 * gdb.base/shr2.c: Likewise.
1667 * gdb.base/sigall.c: Likewise.
1668 * gdb.base/signals.c: Likewise.
1669 * gdb.base/so-indr-cl.c: Likewise.
1670 * gdb.base/solib2.c: Likewise.
1671 * gdb.base/structs.c: Likewise.
1672 * gdb.base/sum.c: Likewise.
1673 * gdb.base/vforked-prog.c: Likewise.
1674 * gdb.base/watchpoint.c: Likewise.
1675 * gdb.reverse/shr2.c: Likewise.
1676 * gdb.reverse/until-reverse.c: Likewise.
1677 * gdb.reverse/ur1.c: Likewise.
1678 * gdb.reverse/watch-reverse.c: Likewise.
1680 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1682 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
1684 * gdb.base/sepdebug.exp: Drop references to removed code.
1686 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1688 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
1689 variant. Preserve original line numbering.
1690 * gdb.base/list1.c: Likewise.
1692 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1694 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
1696 * gdb.base/break1.c: Likewise.
1697 * gdb.base/break.exp: Drop references to removed code.
1699 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1701 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
1704 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1706 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
1708 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1710 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
1711 logic into perform_all_tests() and invoke it with and without
1712 function header prototypes.
1713 (do_function_calls): Remove conditional XFAIL for PR 5318.
1714 (rerun_and_prepare): Remove duplicate code.
1715 (perform_all_tests): New. Main logic moved here.
1717 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1719 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
1720 code guarded by #ifdef NO_PROTOTYPES.
1721 (t_double_many_args): Likewise.
1722 (DEF_FUNC_MANY_ARGS_1): Likewise.
1723 (DEF_FUNC_VALUES_1): Likewise.
1724 (t_structs_ldc): Renamed from t_structs_fc in conditional code
1725 guarded by #ifdef PROTOTYPES.
1727 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1729 * gdb.mi/mi-console.c: Add eye-catcher.
1730 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
1731 instead of literal line number.
1733 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1735 * gdb.base/shr2.c: Add eye-catcher.
1736 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
1739 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1741 * gdb.base/jump.c: Add eye-catchers.
1742 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
1745 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1747 * gdb.base/execd-prog.c: Add eye-catchers.
1748 * gdb.base/foll-exec.c: Likewise.
1749 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
1752 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1754 * gdb.base/ending-run.c: Add eye-catchers.
1755 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
1756 literal line numbers.
1758 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1760 * gdb.base/call-rt-st.c: Add eye-catchers.
1761 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
1762 literal line numbers.
1764 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1766 * gdb.base/call-ar-st.c: Add eye-catchers.
1767 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
1768 literal line numbers.
1770 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1772 * gdb.base/average.c: Add eye-catchers.
1773 * gdb.base/sum.c: Likewise.
1774 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
1775 regexps dynamically.
1777 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1779 * gdb.base/solib1.c: Add eye-catchers.
1780 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
1781 literal line numbers.
1783 2014-11-12 Pedro Alves <palves@redhat.com>
1785 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
1788 2014-11-12 Pedro Alves <palves@redhat.com>
1790 * gdb.arch/i386-bp_permanent.c: New file.
1791 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
1792 (srcfile): Set to i386-bp_permanent.c.
1793 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
1794 that stepi does not execute the 'leave' instruction, instead of
1795 testing it does execute.
1796 * gdb.base/bp-permanent.c: New file.
1797 * gdb.base/bp-permanent.exp: New file.
1799 2014-11-10 Doug Evans <xdje42@gmail.com>
1802 * gdb.base/symtab-search-order.exp: New file.
1803 * gdb.base/symtab-search-order.c: New file.
1804 * gdb.base/symtab-search-order-1.c: New file.
1805 * gdb.base/symtab-search-order-shlib-1.c: New file.
1807 2014-11-07 Pedro Alves <palves@redhat.com>
1810 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
1813 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
1816 * gdb.cp/pr17494.cc: New file.
1817 * gdb.cp/pr17494.exp: New file.
1819 2014-11-02 Yao Qi <yao@codesourcery.com>
1821 * gdb.python/python.exp: Get working directory and match the
1822 output of "set extended-prompt \\w " with it.
1824 2014-10-30 Doug Evans <dje@google.com>
1826 * gdb.python/py-objfile.exp: Add tests for setting random attributes
1828 * gdb.python/py-progspace.exp: Add tests for setting random attributes
1831 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
1833 * gdb.base/fullpath-expand.exp: Skip for a remote host.
1834 * gdb.base/realname-expand.exp: Likewise.
1835 * gdb.linespec/macro-relative.exp: Likewise.
1837 2014-10-29 Pedro Alves <palves@redhat.com>
1840 * gdb.threads/schedlock.c (some_function): New function.
1841 (call_function): New global.
1842 (MAYBE_CALL_SOME_FUNCTION): New macro.
1843 (thread_function): Call it.
1844 * gdb.threads/schedlock.exp (get_args): Add description parameter,
1845 and use it instead of a global counter. Adjust all callers.
1846 (get_current_thread): Use "find current thread" for test message
1847 here rather than having all callers pass down the same string.
1848 (goto_loop): New procedure, factored out from ...
1849 (my_continue): ... this.
1850 (step_ten_loops): Change parameter from test message to command to
1852 (list_count): Delete global.
1853 (check_result): New procedure, factored out from duplicate top
1855 (continue tests): Wrap in with_test_prefix.
1856 (test_step): New procedure, factored out from duplicate top level
1858 (top level): Test "step" in combination with all scheduler-locking
1859 modes. Test "next" in combination with all scheduler-locking
1860 modes, and in combination with stepping over a function call or
1862 * gdb.threads/next-bp-other-thread.c: New file.
1863 * gdb.threads/next-bp-other-thread.exp: New file.
1865 2014-10-29 Pedro Alves <palves@redhat.com>
1868 * gdb.python/python.exp: Test a multi-line command that spawns
1870 * gdb.base/multi-line-starts-subshell.exp: New file.
1872 2014-10-29 Yao Qi <yao@codesourcery.com>
1874 * gdb.base/fileio.exp: Make directories on host.
1876 2014-10-29 Yao Qi <yao@codesourcery.com>
1878 * gdb.base/fileio.c (test_write): Close the file.
1880 2014-10-28 Pedro Alves <palves@redhat.com>
1883 * gdb.base/sigstep.c (no_handler): New global.
1884 (main): If 'no_handler is true, set the signal handlers to
1886 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
1887 with_sw_watch and no_handler parameters. Handle them.
1888 (top level) <stepping over handler when stopped at a breakpoint
1889 test>: Add a test axis for testing with a software watchpoint, and
1890 another for testing with the signal handler set to SIG_IGN.
1891 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
1892 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
1894 2014-10-28 Pedro Alves <palves@redhat.com>
1897 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
1898 * gdb.base/sigstep.exp (other_handler_location): New global.
1899 (advance): Support stepping into the signal handler, and running
1900 commands while in the handler.
1901 (in_handler_map): New global.
1902 (top level): In the advance test, add combinations for getting
1903 into the handler with stepping commands, and for running commands
1904 in the handler. Add comment descripting the advancei tests.
1906 2014-10-28 Pedro Alves <palves@redhat.com>
1908 * gdb.base/sigstep.exp: Use build_executable instead of
1909 prepare_for_testing.
1910 (top level): Move code that starts GDB, runs to main and creates a
1912 (restart): ... this new procedure.
1913 (top level): Move backtrace from signal handler test to ...
1914 (validate_backtrace): ... this new procedure.
1915 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
1916 with_test_prefix. Always restart GDB.
1917 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
1918 with_test_prefix. Always restart GDB. No need to delete
1919 breakpoints after the test.
1920 (test_skip_handler): Remove prefix parameter.
1921 (skip_over_handler, breakpoint_to_handler)
1922 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
1923 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
1924 restart GDB. No need to delete breakpoints after the test.
1925 (top level): Use foreach to call the test procedures with
1928 2014-10-28 Pedro Alves <palves@redhat.com>
1930 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
1931 instead of GNATS numbers.
1932 * gdb.base/sigbpt.exp: Likewise.
1933 * gdb.base/siginfo.exp: Likewise.
1934 * gdb.base/sigstep.exp: Likewise.
1936 2014-10-27 Pedro Alves <palves@redhat.com>
1938 * gdb.base/sigstep.c (dummy): New global.
1939 (main): Issue a couple writes to the new global.
1940 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
1942 (skip_over_handler): Use test_skip_handler.
1943 (top level): Call skip_over_handler for stepi and nexti too.
1944 (breakpoint_over_handler): Use test_skip_handler.
1945 (top level): Call breakpoint_over_handler for stepi and nexti too.
1947 2014-10-27 Yao Qi <yao@codesourcery.com>
1949 * gdb.trace/tfile.c (adjust_function_address)
1950 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
1951 function descriptor.
1953 2014-10-24 Don Breazeal <donb@codesourcery.com>
1955 * gdb.base/foll-fork.exp (test_follow_fork,
1956 catch_fork_child_follow): Check for updated fork messages emitted
1958 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
1959 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
1960 vfork_and_exec_child_follow_through_step): Check for updated vfork
1961 messages emitted from infrun.c.
1963 2014-10-24 Pedro Alves <palves@redhat.com>
1965 * gdb.base/corefile.exp: Remove references to ultrix.
1966 * gdb.base/interrupt.exp: Likewise.
1967 * gdb.base/whatis.exp: Likewise.
1968 * gdb.gdb/selftest.exp: Likewise.
1969 * gdb.threads/manythreads.exp: Likewise.
1970 * gdb.threads/print-threads.exp: Likewise.
1971 * gdb.threads/pthreads.exp:: Likewise.
1972 * gdb.threads/schedlock.exp: Likewise.
1974 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
1976 * gdb.cp/non-trivial-retval.cc: Add a test case.
1977 * gdb.cp/non-trivial-retval.exp: Add a test.
1979 2014-10-20 Yao Qi <yao@codesourcery.com>
1981 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
1982 * gdb.python/py-objfile-script-gdb.py: New file.
1983 * gdb.python/py-objfile-script.exp: Update reference to
1984 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
1985 of remote_download. Remove the dest file.
1987 2014-10-20 Yao Qi <yao@codesourcery.com>
1989 * gdb.base/checkpoint.exp: Don't remove file copied on host.
1990 * gdb.base/step-line.exp: Likewise.
1991 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1992 * gdb.dwarf2/dw2-basic.exp: Likewise.
1993 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1994 * gdb.dwarf2/dw2-filename.exp: Likewise.
1995 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1996 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1997 * gdb.dwarf2/dw2-producer.exp: Likewise.
1998 * gdb.dwarf2/mac-fileno.exp: Likewise.
1999 * gdb.python/py-frame-args.exp: Likewise.
2000 * gdb.python/py-framefilter.exp: Likewise.
2001 * gdb.python/py-mi.exp: Likewise.
2002 * gdb.python/py-objfile-script.exp: Likewise
2003 * gdb.python/py-pp-integral.exp: Likewise.
2004 * gdb.python/py-pp-re-notag.exp: Likewise.
2005 * gdb.python/py-prettyprint.exp: Likewise.
2006 * gdb.python/py-section-script.exp: Likewise.
2007 * gdb.python/py-typeprint.exp: Likewise.
2008 * gdb.python/py-xmethods.exp: Likewise.
2009 * gdb.stabs/weird.exp: Likewise.
2010 * gdb.xml/tdesc-regs.exp: Likewise.
2012 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
2014 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
2015 (out_cu): Use addr_len for the size of addresses.
2016 (out_line): Likewise. Size DW_LNE_set_address instruction
2017 according to addr_len.
2018 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
2019 (FUNC): Add START_INSNS to definition.
2021 2014-10-18 Yao Qi <yao@codesourcery.com>
2023 * gdb.base/argv0-symlink.exp: Check argv[0] value if
2024 gdb_has_argv0 return true.
2025 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
2026 check [target_info exists noargs], check [gdb_has_argv0]
2028 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2029 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
2032 2014-10-17 Doug Evans <dje@google.com>
2034 * gdb.python/py-events.exp: Update expected output for clear_objfiles
2036 * gdb.python/py-events.py: Add clear_objfiles event.
2038 2014-10-17 Doug Evans <dje@google.com>
2040 * gdb.python/py-objfile.exp: Test progspace attribute.
2042 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
2044 * gdb.guile/scm-breakpoint.exp: Do not assume any
2045 directory separators when matching source file paths.
2046 * gdb.python/py-breakpoint.exp: Likewise.
2047 * gdb.reverse/break-precsave.exp: Likewise.
2048 * gdb.reverse/break-reverse.exp: Likewise.
2049 * gdb.reverse/consecutive-precsave.exp: Likewise.
2050 * gdb.reverse/finish-precsave.exp: Likewise.
2051 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
2052 * gdb.reverse/finish-reverse.exp: Likewise.
2053 * gdb.reverse/i386-precsave.exp: Likewise.
2054 * gdb.reverse/i387-env-reverse.exp: Likewise.
2055 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2056 * gdb.reverse/machinestate-precsave.exp: Likewise.
2057 * gdb.reverse/machinestate.exp: Likewise.
2058 * gdb.reverse/sigall-precsave.exp: Likewise.
2059 * gdb.reverse/solib-precsave.exp: Likewise.
2060 * gdb.reverse/step-precsave.exp: Likewise.
2061 * gdb.reverse/until-precsave.exp: Likewise.
2062 * gdb.reverse/watch-precsave.exp: Likewise.
2063 * gdb.reverse/watch-reverse.exp: Likewise.
2065 2014-10-17 Yao Qi <yao@codesourcery.com>
2067 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
2068 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
2070 2014-10-17 Pedro Alves <palves@redhat.com>
2073 * gdb.base/bg-execution-repeat.c: New file.
2074 * gdb.base/bg-execution-repeat.exp: New file.
2076 2014-10-17 Pedro Alves <palves@redhat.com>
2079 * gdb.base/continue-all-already-running.c: New file.
2080 * gdb.base/continue-all-already-running.exp: New file.
2082 2014-10-17 Pedro Alves <palves@redhat.com>
2085 * gdb.base/annota-input-while-running.c: New file.
2086 * gdb.base/annota-input-while-running.exp: New file.
2088 2014-10-17 Pedro Alves <palves@redhat.com>
2090 * gdb.base/callfuncs.exp: emove references to osf.
2091 * gdb.base/sigall.exp: Likewise.
2092 * gdb.gdb/selftest.exp: Likewise.
2093 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2094 * gdb.mi/non-stop.c: Likewise.
2095 * gdb.mi/pthreads.c: Likewise.
2096 * gdb.reverse/sigall-precsave.exp: Likewise.
2097 * gdb.reverse/sigall-reverse.exp: Likewise.
2098 * gdb.threads/pthreads.c: Likewise.
2099 * gdb.threads/pthreads.exp: Likewise.
2101 2014-10-17 Yao Qi <yao@codesourcery.com>
2103 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
2104 check 'target_info exists noargs'.
2105 (test_command_prompt_position): Likewise.
2106 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
2108 (progvar_simple_while_test): Likewise.
2109 (progvar_complex_if_while_test): Likewise.
2110 (if_while_breakpoint_command_test): Likewise.
2111 (infrun_breakpoint_command_test): Likewise.
2112 (breakpoint_command_test): Likewise.
2113 (watchpoint_command_test): Likewise.
2114 (bp_deleted_in_command_test): Likewise.
2115 (temporary_breakpoint_commands): Likewise.
2117 2014-10-16 Yao Qi <yao@codesourcery.com>
2119 * gdb.base/remotetimeout.exp: Remove noargs checking.
2121 2014-10-15 Pedro Alves <palves@redhat.com>
2124 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
2125 * gdb.base/breakpoint-in-ro-region.exp
2126 (probe_target_hardware_step): New procedure.
2127 (top level): Probe hardware stepping and hardware breakpoint
2128 support. Test stepping through a read-only region, with both
2129 "breakpoint auto-hw" on and off and both "always-inserted" on and
2132 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
2134 * gdb.dlang/demangle.exp: Update for demangling changes.
2136 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2138 * gdb.cp/non-trivial-retval.cc: Add new test cases.
2139 * gdb.cp/non-trivial-retval.exp: Add new tests.
2141 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2145 * gdb.cp/non-trivial-retval.cc: New file.
2146 * gdb.cp/non-trivial-retval.exp: New file.
2148 2014-10-15 Yao Qi <yao@codesourcery.com>
2150 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
2153 2014-10-15 Yao Qi <yao@codesourcery.com>
2155 * gdb.python/py-symbol.exp: Match file base name if host is
2156 remote, otherwise match file name with dir name.
2157 * gdb.python/py-symtab.exp: Likewise.
2158 * gdb.python/python.exp: Likewise.
2160 2014-10-15 Yao Qi <yao@codesourcery.com>
2162 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
2164 * gdb.python/py-symtab.exp: Likewise.
2165 * gdb.python/python.exp: Remove trailing ".*". Fix typo
2168 2014-10-14 Joel Brobecker <brobecker@adacore.com>
2170 * gdb.ada/addr_arith: New testcase.
2172 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
2174 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
2175 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
2176 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
2177 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
2179 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
2181 * gdb.arch/stap-eval-lang-ada.S: Likewise.
2182 * gdb.arch/stap-eval-lang-ada.c: Likewise.
2183 * gdb.arch/stap-eval-lang-ada.exp: New file.
2185 2014-10-14 Yao Qi <yao@codesourcery.com>
2187 * gdb.mi/mi-var-child.c (nothing1): New function.
2188 (nothing2): New function.
2189 (do_children_tests): Set function pointers by nothing1 and
2191 * gdb.mi/mi-var-child.exp: Step over new added statements.
2192 Update test to match the new output.
2193 * gdb.mi/var-cmd.c (nothing1): New function.
2194 (nothing2): New function.
2195 (do_children_tests): Set function pointers by nothing1 and
2197 * gdb.mi/mi-var-display.exp: Update test to match output.
2198 Step to the line specified by $line_dct_nothing.
2199 Increase the number of lines to step.
2201 2014-10-14 Yao Qi <yao@codesourcery.com>
2203 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
2205 * gdb.mi/mi2-var-child.exp: Likewise.
2207 2014-10-13 Doug Evans <dje@google.com>
2209 * gdb.python/py-objfile.exp: Change name of file name test.
2211 2014-10-13 Doug Evans <dje@google.com>
2213 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
2214 from the start of the CU.
2216 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2217 Yao Qi <yao@codesourcery.com>
2219 Fix "save breakpoints" for "catch" command.
2220 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
2221 Remove -nonewline. Match also the added "main" line.
2223 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2225 Fix "save breakpoints" for "disable $bpnum" command.
2226 * gdb.base/save-bp.c (main): Add label.
2227 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
2229 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2231 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
2233 2014-10-11 Yao Qi <yao@codesourcery.com>
2235 * gdb.server/server-kill.exp: Execute command
2236 "set remote trace-status-packet on" before "tstatus".
2238 2014-10-11 Yao Qi <yao@codesourcery.com>
2240 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
2241 (main): Call getppid.
2242 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
2243 and continue to it. Read variable "server_pid".
2245 2014-10-11 Yao Qi <yao@codesourcery.com>
2247 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
2249 2014-10-11 Yao Qi <yao@codesourcery.com>
2251 * gdb.threads/thread-find.exp: Don't execute command
2253 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
2254 * gdb.threads/linux-dp.exp: Don't check the condition
2255 $threads_created equals to zero.
2257 2014-10-10 Pedro Alves <palves@redhat.com>
2259 * gdb.base/bigcore.exp: Remove references to IRIX.
2260 * gdb.base/funcargs.exp: Likewise.
2261 * gdb.base/interrupt.exp: Likewise.
2262 * gdb.base/mips_pro.exp: Likewise.
2263 * gdb.base/nodebug.exp: Likewise.
2264 * gdb.base/setvar.exp: Likewise.
2265 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
2267 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2268 Pedro Alves <palves@redhat.com>
2271 * gdb.base/vdso-warning.c: New file.
2272 * gdb.base/vdso-warning.exp: New file.
2274 2014-10-02 Doug Evans <dje@google.com>
2276 * gdb.base/structs.c (main): Don't run forever.
2278 2014-10-02 Pedro Alves <palves@redhat.com>
2280 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
2281 (top level) <stop threads 1, stop threads 2>: Use it.
2283 2014-10-02 Pedro Alves <palves@redhat.com>
2285 * gdb.threads/break-while-running.exp (test): Add new
2286 'update_thread_list' argument. Skip "info threads" if false.
2287 (top level): Add new 'update_thread_list' axis.
2289 2014-10-02 Pedro Alves <palves@redhat.com>
2291 PR breakpoints/17431
2292 * gdb.base/execl-update-breakpoints.c: New file.
2293 * gdb.base/execl-update-breakpoints.exp: New file.
2295 2014-10-01 Pedro Alves <palves@redhat.com>
2297 * gdb.base/breakpoint-in-ro-region.c: New file.
2298 * gdb.base/breakpoint-in-ro-region.exp: New file.
2300 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
2302 * gdb.mi/mi-exit-code.exp: New file.
2303 * gdb.mi/mi-exit-code.c: New file.
2305 2014-09-30 Yao Qi <yao@codesourcery.com>
2307 * lib/prelink-support.exp (build_executable_own_libs): Error if
2308 the target isn't native.
2310 2014-09-30 Yao Qi <yao@codesourcery.com>
2312 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
2315 2014-09-22 Pedro Alves <palves@redhat.com>
2317 * gdb.threads/break-while-running.exp: New file.
2318 * gdb.threads/break-while-running.c: New file.
2320 2014-09-19 Yao Qi <yao@codesourcery.com>
2322 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
2323 Invoke test. Restart GDB with --readnow and invoke test again.
2325 2014-09-19 Yao Qi <yao@codesourcery.com>
2327 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
2328 proc set_breakpoint_on_gcd_function. Invoke
2329 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
2330 invoke set_breakpoint_on_gcd_function again.
2332 2014-09-18 Doug Evans <dje@google.com>
2334 * gdb.dwarf2/symtab-producer.exp: New file.
2336 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2338 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
2339 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
2340 * gdb.base/global-var-nested-by-dso.c: Likewise.
2341 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2343 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2344 Pedro Alves <palves@redhat.com>
2346 * gdb.base/watch-bitfields.exp: Pass string other than test file
2347 name to prepare_for_testing.
2348 (watch): New procedure.
2349 (expect_watchpoint): Use with_test_prefix.
2350 (top level): Factor out tests to ...
2351 (test_watch_location, test_regular_watch): ... these new
2352 procedures, and use with_test_prefix and gdb_continue_to_end.
2354 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
2356 PR breakpoints/12526
2357 * gdb.base/watch-bitfields.exp: New file.
2358 * gdb.base/watch-bitfields.c: New file.
2360 2014-09-16 Pedro Alves <palves@redhat.com>
2362 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
2363 software and hardware addresses, not software address against
2366 2014-09-16 Pedro Alves <palves@redhat.com>
2368 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
2369 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
2371 2014-09-16 Pedro Alves <palves@redhat.com>
2373 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
2375 * gdb.base/a2-run.exp: Remove all code guarded by istarget
2376 "*-*-vxworks*" throughout.
2377 * gdb.base/break.exp: Likewise.
2378 * gdb.base/default.exp: Likewise.
2379 * gdb.base/scope.exp: Likewise.
2380 * gdb.base/sepdebug.exp: Likewise.
2381 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
2383 * gdb.base/run.c: Likewise.
2384 * gdb.base/sepdebug.c: Likewise.
2385 * gdb.hp/gdb.aCC/run.c: Likewise.
2386 * gdb.reverse/until-reverse.c: Likewise.
2387 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
2389 2014-09-16 Yao Qi <yao@codesourcery.com>
2391 * boards/local-remote-host-native.exp: New file.
2393 2014-09-14 Doug Evans <xdje42@gmail.com>
2395 * gdb.threads/queue-signal.c (thread_count): New variable.
2396 (thread_count_mutex, thread_count_condvar): New variables.
2397 (incr_thread_count, wait_all_threads_running): New functions.
2398 (main): Wait for all threads to be in their thread functions.
2400 2014-09-13 Doug Evans <xdje42@gmail.com>
2402 * gdb.threads/queue-signal.c: New file.
2403 * gdb.threads/queue-signal.exp: New file.
2405 2014-09-13 Doug Evans <xdje42@gmail.com>
2407 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
2408 be consistent with what default_gdb_init uses.
2409 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
2410 the plain text of the prompt. Add some logging printfs.
2411 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
2413 2014-09-12 Pedro Alves <palves@redhat.com>
2415 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
2416 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
2417 * gdb.arch/i386-size-overlap.exp: Likewise.
2418 * gdb.arch/i386-size.exp: Likewise.
2419 * gdb.arch/i386-unwind.exp: Likewise.
2420 * gdb.base/a2-run.exp: Likewise.
2421 * gdb.base/break.exp: Likewise.
2422 * gdb.base/charset.exp: Likewise.
2423 * gdb.base/chng-syms.exp: Likewise.
2424 * gdb.base/commands.exp: Likewise.
2425 * gdb.base/dbx.exp: Likewise.
2426 * gdb.base/find.exp: Likewise.
2427 * gdb.base/funcargs.exp: Likewise.
2428 * gdb.base/jit-simple.exp: Likewise.
2429 * gdb.base/reread.exp: Likewise.
2430 * gdb.base/sepdebug.exp: Likewise.
2431 * gdb.base/step-bt.exp: Likewise.
2432 * gdb.cp/mb-inline.exp: Likewise.
2433 * gdb.cp/mb-templates.exp: Likewise.
2434 * gdb.objc/basicclass.exp: Likewise.
2435 * gdb.threads/killed.exp: Likewise.
2437 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2440 * gdb.arch/powerpc-stackless.S: New file.
2441 * gdb.arch/powerpc-stackless.exp: New file.
2443 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2445 * gdb.base/attach.c: Include unistd.h.
2446 (main): Call alarm. Add label postloop.
2447 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
2448 gdb_breakpoint, gdb_continue_to_breakpoint.
2449 (test_command_line_attach_run): Kill ${testpid} in one exit path.
2451 2014-09-11 Pedro Alves <palves@redhat.com>
2454 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
2455 * gdb.base/attach.exp (test_command_line_attach_run): New
2457 (top level): Call it.
2459 2014-09-11 Pedro Alves <palves@redhat.com>
2461 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
2462 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
2463 (do_command_attach_tests): Use spawn_wait_for_attach.
2464 * gdb.base/solib-overlap.exp: Likewise.
2465 * gdb.multi/multi-attach.exp: Likewise.
2466 * gdb.python/py-prompt.exp: Likewise.
2467 * gdb.python/py-sync-interp.exp: Likewise.
2468 * gdb.server/ext-attach.exp: Likewise.
2470 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
2472 * gdb.fortran/array-element.exp: Remove unexpected "continue"
2473 command in testcase. Simplify testcase.
2475 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2477 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
2479 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2481 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
2483 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2485 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
2487 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2489 * gdb.dwarf2/dynarr-ptr.c: New file.
2490 * gdb.dwarf2/dynarr-ptr.exp: New file.
2492 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2494 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
2495 of 30 rather than hardcoding 120 for a slow test case. Take the
2496 `gdb,timeout' target setting into account for this calculation.
2497 Don't extend the timeout for the test cases that don't need it.
2499 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2501 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
2502 a factor of 2 for a slow test case. Take the `gdb,timeout'
2503 target setting into account for this calculation.
2504 * gdb.reverse/until-precsave.exp: Increase the timeout by
2505 a factor of 15 and 3 respectively rather than adding 120
2506 for a pair of slow test cases. Take the `gdb,timeout'
2507 target setting into account for this calculation.
2509 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2511 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
2512 timeout, don't pass one down to gdb_expect.
2513 (gdb_expect): Rework timeout selection.
2515 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2517 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
2518 exception on timeout.
2519 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
2520 (gdbserver_start_extended): Catch any `gdbserver_start' error
2522 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
2523 * lib/mi-support.exp (mi_gdb_target_load): Catch any
2524 `gdbserver_gdb_load' error exceptions.
2526 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2528 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
2529 120 on waiting for the TCP socket to open.
2531 2014-09-09 Doug Evans <xdje42@gmail.com>
2533 * gdb.base/default.exp (show_conv_list): Add _caller_is,
2534 _caller_matches, _any_caller_is, _any_caller_matches.
2536 2014-09-09 Doug Evans <xdje42@gmail.com>
2538 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
2540 2014-09-09 Yao Qi <yao@codesourcery.com>
2542 * gdb.mi/mi-var-display.exp: Set print symbol off.
2544 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
2547 * gdb.base/commands.exp: Add tests to verify user-defined
2548 commands with empty bodies.
2549 * gdb.python/py-cmd.exp: Test that we don't show user-defined
2550 python commands in `show user command`.
2551 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
2552 scheme commands in `show user command`.
2554 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2557 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
2558 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
2559 * gdb.python/py-framefilter-invalidarg.exp: New file.
2560 * gdb.python/py-framefilter-invalidarg.py: New file.
2562 2014-09-06 Doug Evans <xdje42@gmail.com>
2565 * gdb.python/py-caller-is.c: New file.
2566 * gdb.python/py-caller-is.exp: New file.
2568 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
2571 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
2572 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
2574 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
2577 * gdb.fortran/print-formatted.exp: New file.
2578 * gdb.fortran/print-formatted.f90: Likewise.
2580 2014-09-03 Sasha Smundak <asmundak@google.com>
2582 * gdb.python/py-frame.exp: Test Frame.read_register.
2584 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2587 * gdb.python/py-completion.exp: New file.
2588 * gdb.python/py-completion.py: Likewise.
2590 2014-08-28 Doug Evans <dje@google.com>
2592 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
2593 eax,etc. are live with values set by gdb and thus the compiler can't
2595 * gdb.arch/i386-pseudo.c (main): Ditto.
2597 2014-08-27 Doug Evans <dje@google.com>
2599 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
2601 2014-08-25 Doug Evans <dje@google.com>
2603 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
2606 2014-08-25 Doug Evans <dje@google.com>
2608 * gdb.threads/thread-execl.exp: #include <stdio.h>.
2610 2014-08-24 Yao Qi <yao@codesourcery.com>
2612 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
2614 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
2616 2014-08-22 Doug Evans <dje@google.com>
2619 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
2620 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
2621 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
2623 2014-08-22 Yao Qi <yao@codesourcery.com>
2625 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
2626 * gdb.python/py-finish-breakpoint2.exp: Likewise.
2627 * gdb.python/python.exp: Likewise. Use .py file on the host
2628 instead of the build.
2630 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2632 * gdb.threads/gcore-stale-thread.c: New file.
2633 * gdb.threads/gcore-stale-thread.exp: New file.
2635 2014-08-21 Pedro Alves <palves@redhat.com>
2637 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
2638 * gdb.base/gcore-relro-pie.exp: Likewise.
2639 * gdb.base/gcore-relro.exp: Likewise.
2640 * gdb.base/gcore.exp: Likewise.
2641 * gdb.base/print-symbol-loading.exp: Likewise.
2642 * gdb.threads/gcore-thread.exp: Likewise.
2643 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
2645 2014-08-20 Pedro Alves <palves@redhat.com>
2646 Jan Kratochvil <jan.kratochvil@redhat.com>
2648 * Makefile.in (EXTRA_RULES, CC): New variables, get from
2650 (EXPECT): Handle READ1 being set.
2651 (all): Depend on EXTRA_RULES.
2652 (check-read1, expect-read1, read1.so, read1): New rules.
2653 * README (Testsuite Parameters): Document the READ1 make variable.
2654 (Race detection): New section.
2655 * configure: Regenerate.
2656 * configure.ac: If build==host==target, and running under a
2657 GNU/glibc system, add read1 to the extra Makefile rules.
2658 (EXTRA_RULES): AC_SUBST it.
2659 * lib/read1.c: New file.
2661 2014-08-20 Joel Brobecker <brobecker@adacore.com>
2663 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
2664 the handling of variables declared as a typedef to an array
2665 which a DW_AT_data_location attribute.
2667 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
2668 Pedro Alves <palves@redhat.com>
2672 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
2675 2014-08-19 Pedro Alves <palves@redhat.com>
2677 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
2679 2014-08-19 Yao Qi <yao@codesourcery.com>
2681 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
2684 2014-08-18 David Blaikie <dblaikie@gmail.com>
2686 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
2688 2014-08-18 Joel Brobecker <brobecker@adacore.com>
2690 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
2691 attribute in array range.
2693 2014-08-18 Joel Brobecker <brobecker@adacore.com>
2695 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
2697 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2700 * gdb.cp/pr17132.cc: New file.
2701 * gdb.cp/pr17132.exp: New file.
2703 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2705 * gdb.python/py-xmethods.py (A_getarrayind)
2706 (E_method_char_worker.__call__, E_method_int_worker.__call__):
2707 Use 'print' with function call syntax.
2708 (E_method_matcher.match): Fix tab vs space indentation mixup.
2710 2014-08-15 Yao Qi <yao@codesourcery.com>
2712 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
2715 2014-08-15 Yao Qi <yao@codesourcery.com>
2717 * gdb.cp/casts.exp: Set print symbol off.
2718 * gdb.cp/class2.exp: Likewise.
2719 * gdb.cp/overload.exp: Likewise.
2720 * gdb.cp/templates.exp: Likewise.
2722 2014-08-11 Doug Evans <dje@google.com>
2724 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2725 (test_load_shlib): Update.
2727 2014-08-09 Yao Qi <yao@codesourcery.com>
2729 * gdb.base/display.exp: Invoke is_address_zero_readable.
2730 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
2731 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2732 * gdb.base/hbreak-unmapped.exp: Return if
2733 is_address_zero_readable returns true.
2734 * gdb.base/signest.exp: Likewise.
2735 * gdb.base/signull.exp: Likewise.
2736 * gdb.base/sigbpt.exp: Likewise.
2737 * gdb.guile/scm-disasm.exp: Do the test if
2738 is_address_zero_readable returns false.
2739 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
2740 * gdb.python/py-arch.exp: Likewise.
2741 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
2742 * lib/gdb.exp (is_address_zero_readable): New proc.
2744 2014-08-09 Yao Qi <yao@codesourcery.com>
2747 * gdb.mi/mi-var-display.exp: Make test messages unique.
2749 2014-08-04 Tom Tromey <tromey@redhat.com>
2751 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
2754 2014-08-04 Tom Tromey <tromey@redhat.com>
2756 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
2759 2014-08-01 Joel Brobecker <brobecker@adacore.com>
2761 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
2762 inner_vla_struct_object_size.
2763 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
2766 2014-07-30 Pedro Alves <palves@redhat.com>
2768 * gdb.threads/signal-command-handle-nopass.exp (test): Add
2771 2014-07-29 Yao Qi <yao@codesourcery.com>
2774 * gdb.base/until-nodebug.exp: New.
2776 2014-07-28 Doug Evans <xdje42@gmail.com>
2779 * gdb.guile/scm-parameter.exp: Add tests for trying to create
2780 previously existing parameter, and previously ambiguously spelled
2783 2014-07-28 Will Newton <will.newton@linaro.org>
2785 * gdb.base/varargs.exp: Remove KFAILs for ARM.
2787 2014-07-26 Ludovic Courtès <ludo@gnu.org>
2788 Doug Evans <xdje42@gmail.com>
2791 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
2793 2014-07-25 Pedro Alves <palves@redhat.com>
2795 * gdb.threads/signal-command-handle-nopass.c: New file.
2796 * gdb.threads/signal-command-handle-nopass.exp: New file.
2797 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
2798 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
2799 * gdb.threads/signal-delivered-right-thread.c: New file.
2800 * gdb.threads/signal-delivered-right-thread.exp: New file.
2802 2014-07-25 Pedro Alves <palves@redhat.com>
2804 * gdb.base/double-prompt-target-event-error.exp
2805 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
2807 (cancel_pagination_in_target_event): Rework double prompt
2809 * gdb.base/paginate-after-ctrl-c-running.exp
2810 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
2812 * gdb.base/paginate-bg-execution.exp
2813 (test_bg_execution_pagination_return)
2814 (test_bg_execution_pagination_cancel): Remove '-notransfer
2816 * gdb.base/paginate-execution-startup.exp
2817 (test_fg_execution_pagination_return)
2818 (test_fg_execution_pagination_cancel): Remove '-notransfer
2820 * gdb.base/paginate-inferior-exit.exp
2821 (test_paginate_inferior_exited): Remove '-notransfer <return>'
2823 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
2824 * lib/gdb.exp (pagination_prompt): Run text through
2826 (gdb_test_multiple): Match $pagination_prompt instead of
2828 (string_to_regexp): Move to lib/gdb-utils.exp.
2830 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2832 * gdb.arch/amd64-entry-value-paramref.S: New file.
2833 * gdb.arch/amd64-entry-value-paramref.cc: New file.
2834 * gdb.arch/amd64-entry-value-paramref.exp: New file.
2835 * gdb.arch/amd64-optimout-repeat.S: New file.
2836 * gdb.arch/amd64-optimout-repeat.c: New file.
2837 * gdb.arch/amd64-optimout-repeat.exp: New file.
2839 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2842 * gdb.base/statistics.exp: New file.
2844 2014-07-17 Doug Evans <dje@google.com>
2847 * gdb.base/maint.exp: Update testing of per-command stats.
2849 2014-07-16 Pedro Alves <palves@redhat.com>
2851 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
2852 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
2853 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
2854 (tfile_write_buf): New functions.
2855 (add_memory_block): Rewrite using the above.
2856 (adjust_function_address): New function.
2857 (FUNCTION_ADDRESS): New macro.
2858 (write_basic_trace_file): Remove short_x local, and use
2859 tfile_write_16. Change type of func_addr local to unsigned long
2860 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
2861 here. Cast argument of add_memory_block to char pointer.
2862 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
2863 (main): Remove parameters.
2864 * gdb.trace/tfile.exp: Remove nowarnings.
2866 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
2868 * gdb.base/debug-expr.exp: Test string evaluation with
2869 "debug expression" on.
2871 2014-07-15 Pedro Alves <palves@redhat.com>
2873 * gdb.base/reread.exp: Use clean_restart.
2875 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
2877 * gdb.arch/avr-flash-qualifer.c: New.
2878 * gdb.arch/avr-flash-qualifer.exp: New.
2880 2014-07-14 Pedro Alves <palves@redhat.com>
2882 * gdb.base/paginate-after-ctrl-c-running.c: New file.
2883 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
2885 2014-07-14 Pedro Alves <palves@redhat.com>
2887 * gdb.base/double-prompt-target-event-error.c: New file.
2888 * gdb.base/double-prompt-target-event-error.exp: New file.
2890 2014-07-14 Pedro Alves <palves@redhat.com>
2893 * gdb.base/paginate-inferior-exit.c: New file.
2894 * gdb.base/paginate-inferior-exit.exp: New file.
2896 2014-07-14 Pedro Alves <palves@redhat.com>
2899 * gdb.base/paginate-bg-execution.c: New file.
2900 * gdb.base/paginate-bg-execution.exp: New file.
2902 2014-07-14 Pedro Alves <palves@redhat.com>
2905 * gdb.base/paginate-execution-startup.c: New file.
2906 * gdb.base/paginate-execution-startup.exp: New file.
2907 * lib/gdb.exp (pagination_prompt): New global.
2908 (default_gdb_spawn): New procedure, factored out from
2910 (default_gdb_start): Adjust to call default_gdb_spawn.
2911 (gdb_spawn): New procedure.
2913 2014-07-14 Pedro Alves <palves@redhat.com>
2915 * lib/gdb.exp (gdb_assert): New procedure.
2916 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
2918 2014-07-14 Pedro Alves <palves@redhat.com>
2920 * gdb.base/execution-termios.c: New file.
2921 * gdb.base/execution-termios.exp: New file.
2923 2014-07-14 Tom Tromey <tromey@redhat.com>
2925 * gdb.cp/vla-cxx.cc: New file.
2926 * gdb.cp/vla-cxx.exp: New file.
2928 2014-07-14 Tom Tromey <tromey@redhat.com>
2930 * gdb.reverse/rerun-prec.c: New file.
2931 * gdb.reverse/rerun-prec.exp: New file.
2933 2014-07-12 Maciej W. Rozycki <macro@mips.com>
2934 Maciej W. Rozycki <macro@codesourcery.com>
2936 * lib/gdb-utils.exp: New file.
2937 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
2938 inline `gdb_init_command' processing.
2939 (gdb_start_cmd): Likewise.
2940 * lib/mi-support.exp (mi_run_cmd): Likewise.
2941 * README: Document `gdb_init_command' and `gdb_init_commands'.
2943 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2945 Fix false FAIL running under a very long directory name.
2946 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
2947 and "set print elements 10000". Twice.
2949 2014-07-11 Yao Qi <yao@codesourcery.com>
2951 * gdb.base/exprs.exp: "set print symbol off".
2953 2014-07-11 Pedro Alves <palves@redhat.com>
2955 * gdb.threads/kill.c: New file.
2956 * gdb.threads/kill.exp: New file.
2958 2014-07-10 Yao Qi <yao@codesourcery.com>
2960 * gdb.trace/tfile.c (write_basic_trace_file)
2961 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
2962 address written to trace file.
2964 2014-07-09 Pedro Alves <palves@redhat.com>
2966 * gdb.base/attach-wait-input.exp: New file.
2967 * gdb.base/attach-wait-input.c: New file.
2969 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2971 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
2972 setting up test structures.
2973 (main): Call new test function.
2974 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
2975 test function, continue into test function and walk test
2978 2014-07-02 Yao Qi <yao@codesourcery.com>
2980 * gdb.trace/entry-values.c: Define labels 'foo_start' and
2981 'bar_start' at the beginning of functions 'foo' and 'bar'
2983 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
2984 instead of 'foo' and 'bar'.
2986 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
2988 * gdb.btrace/segv.exp: New.
2989 * gdb.btrace/segv.c: New.
2991 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
2993 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
2996 2014-06-30 Mark Wielaard <mjw@redhat.com>
2998 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
2999 vulture, vilify, villar): New volatile array constants.
3000 (vindictive, vegetation): New const volatile array constants.
3001 * gdb.base/volatile.exp: Test volatile and const volatile array
3004 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
3006 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
3007 target lacks support for awatch, rwatch, or hbreak.
3009 2014-06-27 Yao Qi <yao@codesourcery.com>
3011 * gdb.multi/dummy-frame-restore.exp: New.
3012 * gdb.multi/dummy-frame-restore.c: New.
3014 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3016 * gdb.btrace/gcore.exp: New.
3018 2014-06-23 Pedro Alves <palves@redhat.com>
3020 * gdb.base/watchpoint-reuse-slot.c: New file.
3021 * gdb.base/watchpoint-reuse-slot.exp: New file.
3023 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
3025 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
3026 progspace's filename in 'info', 'enable' and 'disable' command
3029 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3031 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
3032 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3033 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
3035 2014-06-20 Gary Benson <gbenson@redhat.com>
3037 * gdb.arch/i386-avx.exp: Fix include file location.
3038 * gdb.arch/i386-sse.exp: Likewise.
3040 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
3042 * gdb.dlang/expression.exp: New file.
3044 2014-06-19 Pedro Alves <palves@redhat.com>
3046 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
3048 (top level): ... here. Iterate running tests under different
3049 scheduler-locking settings.
3051 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
3053 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
3054 to DW_FORM_addr and use non-zero addresses.
3056 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
3059 * gdb.python/py-xmethods.cc: Add global function call counters and
3060 increment them in their respective functions. Remove "cout"
3062 * gdb.python/py-xmethods.exp: Make tests check the global function
3063 call counters instead of depending on inferior IO.
3065 2014-06-18 Don Breazeal <donb@codesourcery.com>
3067 * gdb.base/foll-fork.exp (default_fork_parent_follow):
3069 (explicit_fork_parent_follow): Deleted procedure.
3070 (explicit_fork_child_follow): Deleted procedure.
3071 (test_follow_fork): New procedure.
3072 (do_fork_tests): Replace calls to deleted procedures with
3073 calls to test_follow_fork and reset GDB for subsequent
3076 2014-06-17 Yao Qi <yao@codesourcery.com>
3078 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
3081 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
3083 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
3084 Initialize ptr and S explicitly.
3085 (skip_type_update_when_not_use_rtti_test): Likewise.
3087 2014-06-16 Keith Seitz <keiths@redhat.com>
3090 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
3091 the inferior is started.
3093 2014-06-16 Pedro Alves <palves@redhat.com>
3095 * gdb.base/break-main-file-remove-fail.c: New file.
3096 * gdb.base/break-main-file-remove-fail.exp: New file.
3097 * gdb.base/break-unload-file.exp: Use build_executable instead of
3098 prepare_for_testing.
3099 (test_break): New parameter "initial_load". Handle it.
3100 (top level): Add initial_load cmdline/file axis.
3102 2014-06-12 Tom Tromey <tromey@redhat.com>
3104 * gdb.base/completion.exp: Don't use directory name in test.
3106 2014-06-09 Gary Benson <gbenson@redhat.com>
3108 * gdb.base/sigall.c [Functions to send signals]: Reorder to
3109 separate the always-available ANSI-standard signals from the
3110 signals that require checking.
3112 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
3116 2014-06-07 Keith Seitz <keiths@redhat.com>
3120 * gdb.cp/var-tag.cc: New file.
3121 * gdb.cp/var-tag.exp: New file.
3122 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3123 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3124 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3125 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3127 2014-06-06 Doug Evans <xdje42@gmail.com>
3129 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
3131 2014-06-06 Pedro Alves <palves@redhat.com>
3133 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
3134 in target debug output instead of looking at RSP packets,
3135 disabling the test on any target that uses hardware stepping.
3138 2014-06-06 Pedro Alves <palves@redhat.com>
3140 * gdb.base/break-unload-file.exp: Fix typo.
3142 2014-06-06 Yao Qi <yao@codesourcery.com>
3144 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
3145 from "jit_function" to "^jit_function".
3147 2014-06-06 Yao Qi <yao@codesourcery.com>
3149 * gdb.base/async.c (foo): Add one statement.
3150 * gdb.base/async.exp: Get the next instruction address and
3151 match the output of "nexti" by instruction address. Match
3152 the hex address in the output of "finish".
3154 2014-06-06 Gary Benson <gbenson@redhat.com>
3156 * gdb.base/call-signals.c: Remove preprocessor conditionals
3157 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
3158 SIGSEGV and SIGTERM.
3159 * gdb.base/sigall.c: Likewise.
3160 * gdb.base/unwindonsignal.c: Likewise.
3161 * gdb.reverse/sigall-reverse.c: Likewise.
3163 2014-06-06 Yao Qi <yao@codesourcery.com>
3165 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
3166 readable, skip the test.
3168 2014-06-06 Yao Qi <yao@codesourcery.com>
3170 * gdb.threads/staticthreads.c (thread_function): Move the line
3171 setting breakpoint on forward.
3172 * gdb.threads/staticthreads.exp: Update comments.
3174 2014-06-05 Ludovic Courtès <ludo@gnu.org>
3176 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
3177 "history-append! type error".
3179 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
3181 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
3182 erroneous dprintf expected input.
3184 2014-06-04 Doug Evans <xdje42@gmail.com>
3186 * gdb.guile/scm-generics.exp: Delete.
3188 2014-06-04 Doug Evans <xdje42@gmail.com>
3190 * gdb.guile/scm-breakpoint.exp: Update.
3191 Add tests for breakpoint registration.
3193 2014-06-04 Tom Tromey <tromey@redhat.com>
3195 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
3197 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
3198 inner_vla_struct, vla_union types. Initialize objects of those
3199 types and compute their sizes.
3201 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
3202 Hui Zhu <hui@codesourcery.com>
3204 * gdb.base/fileio.exp: Add test for shell not available as well as
3206 * gdb.base/fileio.c (test_system): Check for shell twice.
3208 2014-06-04 Yao Qi <yao@codesourcery.com>
3210 * gdb.base/auto-connect-native-target.exp: Remove redundant
3211 space from the regexp pattern.
3213 2014-06-04 Yao Qi <yao@codesourcery.com>
3215 * gdb.base/default.exp: Replace "child" with "native" in
3218 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3220 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
3221 * gdb.python/py-xmethods.exp: New tests to test xmethods.
3222 * gdb.python/py-xmethods.py: Python script supporting the
3223 new testcase and tests.
3225 2014-06-03 Joel Brobecker <brobecker@adacore.com>
3226 Pedro Alves <palves@redhat.com>
3228 PR breakpoints/17000
3229 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
3230 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
3232 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
3234 * gdb.base/subst.exp: Add tests to verify partial path matching
3237 2014-06-03 Pedro Alves <palves@redhat.com>
3239 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
3240 target that doesn't use software single-stepping.
3242 2014-06-03 Pedro Alves <palves@redhat.com>
3244 PR breakpoints/17000
3245 * gdb.base/sss-bp-on-user-bp-2.c: New file.
3246 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
3248 2014-06-02 Doug Evans <xdje42@gmail.com>
3250 * gdb.guile/scm-parameter.exp: New file.
3252 2014-06-02 Doug Evans <xdje42@gmail.com>
3254 * gdb.guile/scm-cmd.c: New file.
3255 * gdb.guile/scm-cmd.exp: New file.
3257 2014-06-02 Doug Evans <xdje42@gmail.com>
3259 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
3260 pretty-printer lookup.
3261 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
3262 (make-pp_s-printer): Call it.
3263 (make-pretty-printer-from-dict): New function.
3264 (lookup-pretty-printer-maker-from-dict): New function.
3265 (*pretty-printer*): Simplify.
3266 (make-objfile-pp_s-printer): New function.
3267 (install-objfile-pretty-printers!): New function.
3268 (make-progspace-pp_s-printer): New function.
3269 (install-progspace-pretty-printers!): New function.
3270 * gdb.guile/scm-progspace.c: New file.
3271 * gdb.guile/scm-progspace.exp: New file.
3273 2014-06-02 Pedro Alves <palves@redhat.com>
3275 * gdb.base/dprintf-bp-same-addr.c: New file.
3276 * gdb.base/dprintf-bp-same-addr.exp: New file.
3278 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3280 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
3281 * gdb.arch/powerpc-power.s: Likewise.
3283 2014-06-02 Joel Brobecker <brobecker@adacore.com>
3285 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
3287 2014-06-01 Yao Qi <yao@codesourcery.com>
3289 * gdb.base/watchpoint.exp (test_watch_location): Check null
3290 pointer can be dereferenced. If not, do the test, otherwise
3293 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
3295 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
3297 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
3299 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
3301 * gdb.arch/amd64-invalid-stack-middle.S: New file.
3302 * gdb.arch/amd64-invalid-stack-middle.c: New file.
3303 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
3304 * gdb.arch/amd64-invalid-stack-top.c: New file.
3305 * gdb.arch/amd64-invalid-stack-top.exp: New file.
3307 2014-05-30 Pedro Alves <palves@redhat.com>
3309 PR breakpoints/17000
3310 * gdb.base/sss-bp-on-user-bp.c: New file.
3311 * gdb.base/sss-bp-on-user-bp.exp: New file.
3313 2014-05-30 David Blaikie <dblaikie@gmail.com>
3315 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
3316 gnu_inline semantics via attribute.
3317 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
3318 source explicitly specifies the required semantics.
3320 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
3322 * gdb.reverse/sigall-reverse.exp: Fix a typo.
3324 2014-05-29 Pedro Alves <palves@redhat.com>
3325 Tom Tromey <tromey@redhat.com>
3327 * gdb.base/async-shell.exp: Don't enable target-async.
3328 * gdb.base/async.exp
3329 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
3331 (top level): Don't test with "target-async".
3332 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
3333 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
3334 * gdb.base/inferior-died.exp: Don't enable target-async.
3335 * gdb.base/interrupt-noterm.exp: Likewise.
3336 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
3337 * gdb.mi/mi-nonstop-exit.exp: Likewise.
3338 * gdb.mi/mi-nonstop.exp: Likewise.
3339 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3340 * gdb.mi/mi-nsintrall.exp: Likewise.
3341 * gdb.mi/mi-nsmoribund.exp: Likewise.
3342 * gdb.mi/mi-nsthrexec.exp: Likewise.
3343 * gdb.mi/mi-watch-nonstop.exp: Likewise.
3344 * gdb.multi/watchpoint-multi.exp: Adjust comment.
3345 * gdb.python/py-evsignal.exp: Don't enable target-async.
3346 * gdb.python/py-evthreads.exp: Likewise.
3347 * gdb.python/py-prompt.exp: Likewise.
3348 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
3349 * gdb.server/solib-list.exp: Don't enable target-async.
3350 * gdb.threads/thread-specific-bp.exp: Likewise.
3351 * lib/mi-support.exp: Adjust to use mi-async.
3353 2014-05-29 Pedro Alves <palves@redhat.com>
3356 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
3357 reason, even in sync mode.
3359 2014-05-29 Pedro Alves <palves@redhat.com>
3360 Hui Zhu <hui@codesourcery.com>
3363 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
3364 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
3365 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
3366 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
3368 2014-05-28 Joel Brobecker <brobecker@adacore.com>
3370 * config/monitor.exp (gdb_target_monitor): Replace use of
3371 "set remotebaud" by "set serial baud".
3373 2014-05-26 Andy Wingo <wingo@igalia.com>
3375 * gdb.guile/scm-breakpoint.exp:
3376 * gdb.guile/scm-gsmob.exp: Update to use plain old object
3377 properties instead of gdb-object-properties.
3379 2014-05-26 Yao Qi <yao@codesourcery.com>
3381 * gdb.server/no-thread-db.exp: Specify source file name
3382 explicitly when setting a breakpoint.
3384 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3386 * gdb.btrace/vdso.c: New.
3387 * gdb.btrace/vdso.exp: New.
3389 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3391 * gdb.base/gcore.exp (capture_command_output): Move ...
3392 * lib/gdb.exp (capture_command_output): ... here.
3394 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3396 * gdb.btrace/data.exp: Test memory access during btrace replay.
3398 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
3400 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
3402 2014-05-21 Pedro Alves <palves@redhat.com>
3405 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
3406 (top level): Test that output related to execution commands is
3407 sent to the console with CLI commands, but not with MI commands.
3408 Test that breakpoint events are always mirrored to the console.
3409 Also expect the new source line to be output after a "next" in
3410 async mode too. Make it a pass/fail test.
3411 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
3413 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
3415 2014-05-21 Pedro Alves <palves@redhat.com>
3417 * gdb.base/list.exp (build_pattern, test_list): New procedures.
3418 Use them to test variations of "list" after reaching a breakpoint.
3419 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
3420 Test "list" with listsize 10 after reaching a breakpoint.
3421 * gdb.python/python.exp (decode_line current location line
3422 number): Adjust expected line number.
3424 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
3426 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
3427 behavior for $args, pass it directly to "run".
3429 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3431 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
3434 2014-05-21 Pedro Alves <palves@redhat.com>
3436 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
3437 auto-connect-native-target off".
3438 * gdb.base/auto-connect-native-target.c: New file.
3439 * gdb.base/auto-connect-native-target.exp: New file.
3441 2014-05-21 Pedro Alves <palves@redhat.com>
3443 * gdb.base/default.exp: Test "target native" instead of "target
3446 2014-05-21 Mark Wielaard <mjw@redhat.com>
3448 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3450 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3452 Fix TLS access for -static -pthread.
3453 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
3454 <HAVE_TLS> (thread_function, main): Initialize it.
3455 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
3457 <$have_tls != "">: Check TLSVAR.
3459 2014-05-21 Pedro Alves <palves@redhat.com>
3461 * gdb.base/dcache-line-read-error.c: New.
3462 * gdb.base/dcache-line-read-error.exp: New.
3464 2014-05-20 Pedro Alves <palves@redhat.com>
3466 * gdb.base/compare-sections.c: New file.
3467 * gdb.base/compare-sections.exp: New file.
3469 2014-05-20 Pedro Alves <palves@redhat.com>
3471 * gdb.base/break-idempotent.c: New file.
3472 * gdb.base/break-idempotent.exp: New file.
3474 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
3476 * gdb.btrace/nohist.exp: New.
3478 2014-05-20 Yao Qi <yao@codesourcery.com>
3480 * lib/gdb.exp (gdb_init): Set timeout if test file is under
3481 gdb.reverse directory and gdb_reverse_timeout exists in board
3483 * README: Document gdb_reverse_timeout.
3485 2014-05-20 Yao Qi <yao@codesourcery.com>
3487 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
3488 'test_file_name'. Treat args as a string instead of a list.
3489 (gdb_init): Rename argument 'args' by 'test_file_name'.
3491 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3493 * gdb.arch/powerpc-power.exp: New file.
3494 * gdb.arch/powerpc-power.s: New file.
3496 2014-05-16 Doug Evans <dje@google.com>
3498 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
3499 * gdb.base/completion.exp: Check that all expected files exist
3500 before doing file completion.
3502 2014-05-16 Doug Evans <dje@google.com>
3504 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
3506 (do_syscall_tests_without_xml): Update.
3508 2014-05-16 Pedro Alves <palves@redhat.com>
3510 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
3511 instead of "unknown output after running".
3513 2014-05-16 Yao Qi <yao@codesourcery.com>
3515 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
3516 file1.txt from host at the end.
3517 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3519 2014-05-15 Doug Evans <dje@google.com>
3521 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
3522 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
3523 loading file. Add test for TU lookup.
3525 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3527 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
3528 calling "-exec-arguments" or "set args" before running the
3531 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3533 * lib/mi-support.exp (mi_expect_stop): Expect message for
3534 inferiors that exit with non-zero exit code.
3536 2014-05-14 Yao Qi <yao@codesourcery.com>
3538 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
3539 match absolute path on remote host.
3540 (test_file_list_exec_source_files): Remove "/" from the
3543 2014-05-14 Yao Qi <yao@codesourcery.com>
3545 * boards/local-remote-host-notty.exp (${board}_file): New
3548 2014-05-07 Kyle McMartin <kyle@redhat.com>
3550 Pushed by Joel Brobecker <brobecker@adacore.com>.
3551 * gdb.arch/aarch64-atomic-inst.c: New file.
3552 * gdb.arch/aarch64-atomic-inst.exp: New file.
3554 2014-05-07 Yao Qi <yao@codesourcery.com>
3556 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
3557 in current context" too.
3559 2014-05-05 Keith Seitz <keiths@redhat.com>
3561 * gdb.linespec/ls-dollar.exp: Add test for linespec
3562 file:convenience_variable.
3564 2014-05-05 Yao Qi <yao@codesourcery.com>
3566 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
3567 traceframes into tfile and ctf trace files. Read data from
3568 trace file and test collected data.
3569 (gdb_collect_locals_test): Likewise.
3570 (gdb_unavailable_registers_test): Likewise.
3571 (gdb_unavailable_floats): Likewise.
3572 (gdb_collect_globals_test): Likewise.
3573 (top-level): Append "ctf" to trace_file_targets if GDB
3576 2014-05-05 Yao Qi <yao@codesourcery.com>
3578 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
3580 (gdb_collect_args_test_1): ... it. New proc.
3581 (gdb_collect_locals_test): Move some code to ...
3582 (gdb_collect_locals_test_1): ... it. New proc.
3583 (gdb_unavailable_registers_test): Move some code to ...
3584 (gdb_unavailable_registers_test_1): ... it. New proc.
3585 (gdb_unavailable_floats): Move some code to ...
3586 (gdb_unavailable_floats_1): ... it. New proc.
3588 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3590 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
3591 probes to test for bitness recognition.
3592 * gdb.arch/amd64-stap-optional-prefix.exp
3593 (test_probe_value_without_reg): New procedure.
3594 Add code to test for different kinds of bitness.
3596 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3598 PR breakpoints/16889
3599 * gdb.arch/amd64-stap-optional-prefix.S: New file.
3600 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3602 2014-05-01 Pedro Alves <palves@redhat.com>
3604 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
3605 gdb_file_cmd if no file is specified.
3606 * boards/native-extended-gdbserver.exp (gdb_load): Use the
3607 last_loaded_file to set the remote exec-file.
3609 2014-05-01 Pedro Alves <palves@redhat.com>
3611 * boards/local-remote-host.exp: New file.
3613 2014-05-01 Pedro Alves <palves@redhat.com>
3615 * boards/local-remote-host.exp: Rename to ...
3616 * boards/local-remote-host-notty.exp: ... this.
3618 2014-04-28 Joel Brobecker <brobecker@adacore.com>
3620 * gdb.ada/dyn_arrayidx: New testcase.
3622 2014-04-26 Yao Qi <yao@codesourcery.com>
3624 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
3625 and compute the length of function main. Save it in
3627 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
3628 (top-level): Use gdb_compile to compile objects into
3629 executable and restart GDB. Remove invocation to
3630 prepare_for_testing.
3632 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
3633 Pedro Alves <palves@redhat.com>
3636 * gdb.multi/multi-attach.c: New file.
3637 * gdb.multi/multi-attach.exp: New file.
3639 2014-04-25 Pedro Alves <palves@redhat.com>
3641 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
3643 (top level): Test that "set remote conditional-breakpoints-packet
3644 off" works as intended.
3645 * gdb.base/dprintf.exp: Test that "set remote
3646 breakpoint-commands-packet off" works as intended.
3647 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
3649 (top level): Call it.
3650 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
3651 remote fast-tracepoints-packet off" works as intended.
3652 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
3653 * lib/gdb.exp (gdb_is_target_remote): ... here.
3655 2014-04-24 David Blaikie <dblaikie@gmail.com>
3657 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
3658 ensure clang would not discard them.
3659 * gdb.base/gdbvars.c: Ditto.
3660 * gdb.base/memattr.c: Ditto.
3661 * gdb.base/whatis.c: Ditto.
3662 * gdb.python/py-prettyprint.c: Ditto.
3663 * gdb.trace/actions.c: Ditto.
3664 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
3665 ensure clang would not discard it.
3667 2014-04-24 David Blaikie <dblaikie@gmail.com>
3669 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
3670 clang to emit the full definition of type required by the test
3671 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
3673 2014-04-24 David Blaikie <dblaikie@gmail.com>
3675 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
3676 coax Clang into emitting the definition of the type.
3677 * gdb.cp/pr10728-x.h (y): Ditto.
3678 * gdb.cp/pr10728-y.cc (y): Ditto.
3680 2014-04-24 David Blaikie <dblaikie@gmail.com>
3682 * gdb.base/label.exp: XFAIL label related tests under Clang.
3683 * gdb.cp/cplabel.exp: Ditto.
3684 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
3685 under Clang those using labels.
3687 2014-04-25 Yao Qi <yao@codesourcery.com>
3689 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
3691 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
3692 partial_label and double_label.
3694 2014-04-24 David Blaikie <dblaikie@gmail.com>
3696 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
3698 2014-04-24 David Blaikie <dblaikie@gmail.com>
3700 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
3701 of the function to work across GCC and Clang.
3702 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
3703 pointer types (const void ** const V void **).
3705 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
3706 Walfred Tedeschi <walfred.tedeschi@intel.com>
3708 * Makefile.in (EXECUTABLES): Added i386-avx512.
3709 * gdb.arch/i386-avx512.c: New file.
3710 * gdb.arch/i386-avx512.exp: Likewise.
3712 2014-04-23 Keith Seitz <keiths@redhat.com>
3714 * lib/mi-support.exp (mi_list_breakpoints): Delete.
3715 (mi_make_breakpoint_table): New procedure.
3716 (mi_create_breakpoint): Use mi_make_breakpoint
3717 and return the result.
3718 (mi_make_breakpoint): New procedure.
3719 (mi_build_kv_pairs): New procedure.
3721 * gdb.mi/mi-break.exp: Remove unused globals,
3722 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
3723 All callers updated.
3724 * gdb.mi/mi-dprintf.exp: Use variable to track command
3726 Update all callers of mi_create_breakpoint and use
3727 mi_make_breakpoint_table.
3728 Remove any unused global variables.
3729 * gdb.mi/mi-nonstop.exp: Likewise.
3730 * gdb.mi/mi-nsintrall.exp: Likewise.
3731 * gdb.mi/mi-nsmoribund.exp: Likewise.
3732 * gdb.mi/mi-nsthrexec.exp: Likewise.
3733 * gdb.mi/mi-reverse.exp: Likewise.
3734 * gdb.mi/mi-simplerun.exp: Likewise.
3735 * gdb.mi/mi-stepn.exp: Likewise.
3736 * gdb.mi/mi-syn-frame.exp: Likewise.
3737 * gdb.mi/mi-until.exp: Likewise.
3738 * gdb.mi/mi-var-cp.exp: Likewise.
3739 * gdb.mi/mi-var-display.exp: Likewise.
3740 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
3741 * gdb.mi/mi2-var-child.exp: Likewise.
3742 * gdb.mi/mi-vla-c99.exp: Likewise.
3743 * lib/mi-support.exp: Likewise.
3745 From Ian Lance Taylor <iant@cygnus.com>:
3746 * lib/gdb.exp (parse_args): New procedure.
3748 2014-04-23 Pedro Alves <palves@redhat.com>
3750 * gdb.base/break-unload-file.c: New file.
3751 * gdb.base/break-unload-file.exp: New file.
3752 * gdb.base/sym-file-lib.c (baz): New function.
3753 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
3755 (load): Store the segment's mapped size.
3756 (unload): New function.
3757 (unload_shlib): New function.
3758 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
3759 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
3760 set a breakpoint at baz, and call it.
3761 * gdb.base/sym-file.exp: New tests for stale breakpoint
3764 2014-04-23 Pedro Alves <palves@redhat.com>
3766 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
3767 * gdb.base/hbreak-in-shr-unsupported.c: New file.
3768 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
3769 * gdb.base/hbreak-unmapped.c: New file.
3770 * gdb.base/hbreak-unmapped.exp: New file.
3771 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
3772 * lib/gdb.exp (gdb_is_target_remote): ... here.
3774 2014-04-22 Pedro Alves <palves@redhat.com>
3776 * gdb.base/consecutive-step-over.c: New file.
3777 * gdb.base/consecutive-step-over.exp: New file.
3779 2014-04-22 Pedro Alves <palves@redhat.com>
3781 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
3782 instead of send_gdb/gdb_expect.
3784 2014-04-22 Yao Qi <yao@codesourcery.com>
3786 * lib/trace-support.exp (generate_tracefile): New procedure.
3787 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
3789 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
3790 if generate_tracefile returns 1.
3792 2014-04-18 Tom Tromey <palves@redhat.com>
3793 Pedro alves <tromey@redhat.com>
3796 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
3797 with a backtrace limit.
3798 * gdb.python/py-frame-inline.exp: Test running to an inline
3799 function with a backtrace limit, and printing the newest frame.
3800 * gdb.python/py-frame-inline.c (main): Call f.
3802 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3804 * gdb.java/jnpe.exp: Drop srcdir from untested path.
3806 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3808 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
3809 Drop prefix from unsupported source file path.
3811 2014-04-17 Yao Qi <yao@codesourcery.com>
3813 * lib/gdb.exp (with_target_charset): New proc.
3814 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
3815 with_target_charset.
3816 (test_print_strings): Likewise.
3817 (test_repeat_bytes): Likewise.
3818 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
3821 2014-04-16 Keith Seitz <keiths@redhat.com>
3824 * gdb.dwarf2/corrupt.c: New file.
3825 * gdb.dwarf2/corrupt.exp: New file.
3827 2014-04-16 Keith Seitz <keiths@redhat.com>
3830 * gdb.cp/namelessclass.cc: New file.
3831 * gdb.cp/namelessclass.exp: New file.
3832 * gdb.cp/namelessclass.S: New file.
3834 2014-04-16 Doug Evans <dje@google.com>
3836 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
3838 (gdbserver_default_get_comm_port): New function.
3839 (gdbserver_start): Check if board file provided
3840 "gdbserver,get_comm_port" and use it if so.
3841 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
3842 (gdb,socketport): Set to "stdio".
3843 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
3844 (stdio_gdbserver_template): Delete.
3845 (${board}_get_remote_address): Update.
3846 (${board}_build_remote_cmd): Delete.
3847 (${board}_get_comm_port): New function.
3848 (${board}_spawn): Update.
3849 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
3851 (${board}_get_remote_address): Update.
3852 (${board}_get_comm_port): New function.
3854 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
3856 * gdb.base/memattr.exp: Improve regexps to handle memory regions
3857 appearing in any order.
3859 2014-04-15 Doug Evans <dje@google.com>
3861 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
3862 uninitialized value of "description".
3864 2014-04-15 Keith Seitz <keiths@redhat.com>
3866 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
3867 Remove unused globals.
3868 (test_running_the_program): Likewise.
3869 (test_controlled_execution): Likewise.
3870 (test_controlling_breakpoints): Likewise.
3871 (test_program_termination): Likewise.
3873 2014-04-15 Keith Seitz <keiths@redhat.com>
3875 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
3877 (test_rbreak_creation_and_listing): Likewise.
3878 (test_ignore_count): Likewise.
3879 (test_error): Likewise.
3881 2014-04-15 Pedro Alves <palves@redhat.com>
3883 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
3884 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
3886 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3887 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3888 to sym-file-loader.c.
3889 (struct library): Forward declare.
3890 (load_shlib, lookup_function): Change prototypes.
3891 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3892 (translate_offset): Remove declarations.
3893 (get_text_addr): New declaration.
3894 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
3895 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
3897 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3898 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3899 here from sym-file-loader.h.
3900 (struct library): New structure.
3901 (load_shlib, lookup_function): Change prototypes and adjust to
3902 work with a struct library.
3903 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3904 (translate_offset): Make static.
3905 (get_text_addr): New function.
3906 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
3908 2014-04-15 Pedro Alves <palves@redhat.com>
3910 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
3912 2014-04-15 Pedro Alves <palves@redhat.com>
3914 * gdb.base/sym-file-loader.c: Include <limits.h>.
3915 (SELF_LINK): New define.
3916 (get_origin): New function.
3917 (load_shlib): Use it.
3918 * gdb.base/sym-file.exp: Don't early return if the target is
3919 remote. Use runto_main, and issue fail is that fails. Use
3921 (shlib_name): Delete.
3922 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
3924 2014-04-15 Pedro Alves <palves@redhat.com>
3926 * gdb.base/sym-file.exp: Remove regex characters from test
3927 message. Don't refer to breakpoint numbers in test messages.
3929 2014-04-14 Keith Seitz <keiths@redhat.com>
3932 * gdb.cp/var-tag.cc: New file.
3933 * gdb.cp/var-tag.exp: New file.
3934 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3935 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3936 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3937 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3939 2014-04-14 Tom Tromey <tromey@redhat.com>
3941 * gdb.cp/classes.exp (test_enums): Handle underlying type.
3942 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
3944 * gdb.cp/enum-class.exp: New file.
3945 * gdb.cp/enum-class.cc: New file.
3947 2014-04-14 Tom Tromey <tromey@redhat.com>
3949 * gdb.dwarf2/enum-type.exp: New file.
3951 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3953 * gdb.mi/mi-vla-c99.exp: New file.
3954 * gdb.mi/vla.c: New file.
3956 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3958 * gdb.base/vla-datatypes.c: New file.
3959 * gdb.base/vla-datatypes.exp: New file.
3961 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3963 * gdb.base/vla-ptr.c: New file.
3964 * gdb.base/vla-ptr.exp: New file.
3966 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3968 * gdb.dwarf2/count.exp: New file.
3970 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3972 * gdb.base/vla-sideeffect.c: New file.
3973 * gdb.base/vla-sideeffect.exp: New file.
3975 2014-04-14 David Blaikie <dblaikie@gmail.com>
3977 * gdb.mi/non-stop.c: Add return value for non-void function return
3979 * gdb.threads/staticthreads.c: Ditto.
3981 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
3982 Doug Evans <xdje42@gmail.com>
3984 * gdb.guile/scm-value.c: Improve test case.
3985 * gdb.guile/scm-value.exp: Add new test.
3987 2014-04-11 David Blaikie <dblaikie@gmail.com>
3989 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
3990 override Clang's default.
3992 2014-04-11 Joel Brobecker <brobecker@adacore.com>
3994 Revert the following changes (regressions):
3996 * gdb.base/vla-sideeffect.c: New file.
3997 * gdb.base/vla-sideeffect.exp: New file.
3999 * gdb.dwarf2/count.exp: New file.
4001 * gdb.base/vla-multi.c: New file.
4002 * gdb.base/vla-multi.exp: New file.
4004 * gdb.base/vla-ptr.c: New file.
4005 * gdb.base/vla-ptr.exp: New file.
4007 * gdb.base/vla-datatypes.c: New file.
4008 * gdb.base/vla-datatypes.exp: New file.
4010 * gdb.mi/mi-vla-c99.exp: New file.
4011 * gdb.mi/vla.c: New file.
4013 2014-04-11 Keith Seitz <keiths@redhat.com>
4016 * gdb.cp/cpsizeof.exp: New file.
4017 * gdb.cp/cpsizeof.cc: New file.
4019 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4021 * gdb.mi/mi-vla-c99.exp: New file.
4022 * gdb.mi/vla.c: New file.
4024 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4026 * gdb.base/vla-datatypes.c: New file.
4027 * gdb.base/vla-datatypes.exp: New file.
4029 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4031 * gdb.base/vla-ptr.c: New file.
4032 * gdb.base/vla-ptr.exp: New file.
4034 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4036 * gdb.base/vla-multi.c: New file.
4037 * gdb.base/vla-multi.exp: New file.
4039 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4041 * gdb.dwarf2/count.exp: New file.
4043 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4045 * gdb.base/vla-sideeffect.c: New file.
4046 * gdb.base/vla-sideeffect.exp: New file.
4048 2014-04-11 Yao Qi <yao@codesourcery.com>
4050 * gdb.base/completion.exp: Check file exists before running tests
4053 2014-04-10 Pedro Alves <palves@redhat.com>
4055 * gdb.base/cond-eval-mode.c: New file.
4056 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
4057 prepare_for_testing to build the new file. Check result of
4059 (test_break, test_watch): New procedures.
4060 (top level): Use them.
4062 2014-04-08 Pierre Muller <muller@sourceware.org>
4064 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
4065 Ctrl-V use for mingw hosts.
4067 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
4069 * gdb.python/py-value.c: Improve test case.
4070 * gdb.python/py-value.exp: Add new test.
4072 2014-04-07 David Blaikie <dblaikie@gmail.com>
4074 * lib/compiler.c: Identify the clang compiler.
4075 * lib/compiler.cc: Ditto.
4077 2014-04-03 Yao Qi <yao@codesourcery.com>
4079 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
4081 2014-04-01 Anton Blanchard <anton@samba.org>
4083 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
4086 2014-04-01 Anton Blanchard <anton@samba.org>
4088 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
4089 prepare_for_testing.
4091 2014-04-01 Anton Blanchard <anton@samba.org>
4093 * gdb.arch/ppc64-atomic-inst.c: Remove.
4094 * gdb.arch/ppc64-atomic-inst.S: New file.
4095 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
4097 2014-03-31 Doug Evans <dje@google.com>
4099 * gdb.base/print-symbol-loading-lib.c: New file.
4100 * gdb.base/print-symbol-loading-main.c: New file.
4101 * gdb.base/print-symbol-loading.exp: New file.
4103 2014-03-31 Yao Qi <yao@codesourcery.com>
4105 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
4107 2014-03-28 Joel Brobecker <brobecker@adacore.com>
4109 * gdb.ada/mi_dyn_arr: New testcase.
4111 2014-03-27 Doug Evans <dje@google.com>
4113 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
4115 2014-03-27 Yao Qi <yao@codesourcery.com>
4117 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
4118 if target is nios2-*-*.
4120 2014-03-26 Yao Qi <yao@codesourcery.com>
4122 * lib/gdb.exp (readline_is_used): New proc.
4123 * gdb.base/completion.exp: Move tests on command complete up.
4124 Skip the rest of tests if readline is not used.
4125 * gdb.ada/complete.exp: Skp the test if readline is not
4127 * gdb.base/filesym.exp: Likewise.
4128 * gdb.base/macscp.exp: Likewise.
4129 * gdb.base/readline-ask.exp: Likewise.
4130 * gdb.base/readline.exp: Likewise.
4131 * gdb.python/py-cmd.exp: Likewise.
4132 * gdb.trace/tfile.exp: Likewise.
4134 2014-03-26 Yao Qi <yao@codesourcery.com>
4136 * gdb.base/macscp.exp: Fix code format issues.
4138 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
4140 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
4141 * gdb.asm/powerpc64le.inc: New file.
4143 2014-03-25 Pedro Alves <palves@redhat.com>
4144 Doug Evans <dje@google.com>
4146 * gdb.base/source-execution.c: New file.
4147 * gdb.base/source-execution.exp: New file.
4148 * gdb.base/source-execution.gdb: New file.
4150 2014-03-24 Doug Evans <dje@google.com>
4152 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
4155 2014-03-24 Hui Zhu <hui@codesourcery.com>
4156 Pedro Alves <palves@redhat.com>
4158 PR breakpoints/16101
4159 * gdb.base/dprintf.exp: Use unsupported rather than changing the
4160 test pass/fail messages. Detect missing support for dprintf when
4161 breakpoints are actually inserted.
4162 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
4163 breakpoints are actually inserted.
4164 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
4167 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4169 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
4171 2014-03-22 Doug Evans <xdje42@gmail.com>
4173 * gdb.python/python.exp (python not supported): Verify multi-line
4174 python command issues an error.
4175 * gdb.guile/guile.exp (guile not supported): Verify multi-line
4176 guile command issues an error.
4178 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
4180 * gdb.threads/thread-specific.exp: Handle the lack of usable
4181 $this_breakpoint and $this_thread.
4183 2014-03-21 Hui Zhu <hui@codesourcery.com>
4185 * gdb.base/attach.exp (do_command_attach_tests): New.
4187 2014-03-20 Tom Tromey <tromey@redhat.com>
4188 Pedro Alves <palves@redhat.com>
4191 * gdb.base/condbreak-call-false.c: New file.
4192 * gdb.base/condbreak-call-false.exp: New file.
4194 2014-03-20 Pedro Alves <palves@redhat.com>
4196 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
4198 (block_signals, unblock_signals): Delete.
4199 (child_function_2, main): Remove references to deleted variable
4202 2014-03-20 Pedro Alves <palves@redhat.com>
4204 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
4205 Use pthread_kill to signal thread 2.
4206 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4207 Adjust to make the test send itself a signal rather than using the
4208 host's "kill" command.
4210 2014-03-20 Pedro Alves <palves@redhat.com>
4212 * gdb.threads/multiple-step-overs.c: New file.
4213 * gdb.threads/multiple-step-overs.exp: New file.
4214 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4215 Adjust expected infrun debug output.
4217 2014-03-20 Pedro Alves <palves@redhat.com>
4219 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
4220 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
4222 2014-03-20 Pedro Alves <palves@redhat.com>
4225 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
4226 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
4227 of gdb_test_multiple.
4228 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
4229 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
4231 2014-03-20 Pedro Alves <palves@redhat.com>
4233 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
4234 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
4236 2014-03-19 Pedro Alves <palves@redhat.com>
4238 * gdb.base/async.exp: Remove early return.
4240 2014-03-19 Pedro Alves <palves@redhat.com>
4242 * gdb.base/async.exp (step& tests): Pass explicit test messages.
4244 2014-03-19 Pedro Alves <palves@redhat.com>
4246 * gdb.base/async.exp (test_background): Expect \r\n after
4247 "completed." in the fail pattern.
4249 2014-03-19 Pedro Alves <palves@redhat.com>
4251 * gdb.base/async.exp (test_background): New procedure.
4252 Use it for all background execution command tests.
4254 2014-03-19 Pedro Alves <palves@redhat.com>
4256 * gdb.base/async.exp: Use prepare_for_testing.
4258 2014-03-19 Pedro Alves <palves@redhat.com>
4260 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
4263 2014-03-19 Pedro Alves <palves@redhat.com>
4265 * gdb.base/async.c (main): Add "jump here" and "until here" line
4267 * gdb.base/async.exp (jump_here): New global.
4268 (jump& test): Use it.
4269 (until_here): New global.
4270 (until& test): Use it.
4272 2014-03-19 Pedro Alves <palves@redhat.com>
4274 * gdb.base/async.exp: Don't frob gdb_protocol.
4276 2014-03-18 Doug Evans <xdje42@gmail.com>
4278 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
4279 Fix spelling of exec-done-display.
4281 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4284 * gdb.base/gdb-sigterm.c: New file.
4285 * gdb.base/gdb-sigterm.exp: New file.
4287 2014-03-18 Pedro Alves <palves@redhat.com>
4290 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
4291 * lib/mi-support.exp (mi_expect_stop): Add special handling for
4294 2014-03-17 Joel Brobecker <brobecker@adacore.com>
4296 * gdb.ada/pckd_arr_ren: New testcase.
4298 2014-03-13 Doug Evans <xdje42@gmail.com>
4301 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
4302 collect after discarding symbols.
4304 2014-03-13 Ludovic Courtès <ludo@gnu.org>
4305 Doug Evans <xdje42@gmail.com>
4307 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
4308 to history survives a gc.
4310 2014-03-13 Pedro Alves <palves@redhat.com>
4312 * gdb.base/default.exp: Don't test "target procfs".
4314 2014-03-13 Pedro Alves <palves@redhat.com>
4316 * gdb.base/default.exp: Update "target child" and "target procfs"
4317 tests to not expect "Unix".
4319 2014-03-12 Tom Tromey <tromey@redhat.com>
4321 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
4322 New procs. Add target-async tests.
4323 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
4324 Add target-async tests.
4326 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4328 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
4329 'func_start' and 'func_end' for the beginning and end of the
4330 function code, respectively.
4331 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
4332 'func_end' instead of 'func' and 'main'.
4334 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4336 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
4337 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
4338 generate the debug info assembler source.
4340 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4342 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
4343 * gdb.dwarf2/arr-subrange.exp: Likewise.
4344 * gdb.dwarf2/dwz.exp: Likewise.
4345 * gdb.dwarf2/method-ptr.exp: Likewise.
4346 * gdb.dwarf2/missing-sig-type.exp: Likewise.
4347 * gdb.dwarf2/subrange.exp: Likewise.
4348 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
4349 * gdb.dwarf2/implptrpiece.exp: Likewise.
4350 * gdb.dwarf2/nostaticblock.exp: Likewise.
4352 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4354 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
4355 directory to absolute path name arguments.
4357 2014-03-10 Joel Brobecker <brobecker@adacore.com>
4359 * gdb.ada/tagged_access: New testcase.
4361 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
4363 * gdb.btrace/data.exp: Update expected output.
4365 2014-03-06 Yao Qi <yao@codesourcery.com>
4367 * gdb.trace/pr16508.exp: New file.
4369 2014-03-05 Pedro Alves <palves@redhat.com>
4372 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
4374 (top level): Adjust to use it. Add tests that exercise breakpoint
4375 interaction with the code-cache.
4377 2014-02-26 Ludovic Courtès <ludo@gnu.org>
4379 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
4380 test for 'history-append!'.
4382 2014-02-26 Joel Brobecker <brobecker@adacore.com>
4384 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
4385 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
4386 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
4387 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
4388 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
4389 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
4391 2014-02-26 Joel Brobecker <brobecker@adacore.com>
4393 * testsuite/gdb.python/py-pp-re-notag.c: New file.
4394 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
4395 * testsuite/gdb.python/py-pp-re-notag.p: New file.
4397 2014-02-26 Joel Brobecker <brobecker@adacore.com>
4399 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
4401 2014-02-26 Joel Brobecker <brobecker@adacore.com>
4403 * gdb.dwarf2/arr-stride.c: New file.
4404 * gdb.dwarf2/arr-stride.exp: New file.
4406 2014-02-26 Pedro Alves <palves@redhat.com>
4408 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
4409 that won't ever trigger. Make sure that GDB reports the correct
4410 breakpoint that caused the stop.
4412 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4415 * gdb.base/auto-load-script: New file.
4416 * gdb.base/auto-load.c: New file.
4417 * gdb.base/auto-load.exp: New file.
4420 * gdb.base/auto-load.exp: Fix out-of-srctree run.
4422 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4424 Fix dw2-icycle.exp -fsanitize=address GDB crash.
4425 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
4427 2014-02-24 Doug Evans <dje@google.com>
4429 * lib/gdb.exp (run_on_host): Log error output if program fails.
4431 2014-02-21 Pedro Alves <palves@redhat.com>
4433 * gdb.threads/step-after-sr-lock.c: Rename to ...
4434 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
4435 * gdb.threads/step-after-sr-lock.exp: Rename to ...
4436 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4439 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
4442 * gdb.arch/amd64-stap-special-operands.exp: New file.
4443 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
4444 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
4445 * gdb.arch/amd64-stap-triplet.S: Likewise.
4446 * gdb.arch/amd64-stap-triplet.c: Likewise.
4448 2014-02-20 Joel Brobecker <brobecker@adacore.com>
4450 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
4451 in .section pseudo-op.
4453 2014-02-20 lin zuojian <manjian2006@gmail.com>
4454 Joel Brobecker <brobecker@adacore.com>
4455 Doug Evans <xdje42@gmail.com>
4458 * gdb.dwarf2/dw2-icycle.S: New file.
4459 * gdb.dwarf2/dw2-icycle.c: New file.
4460 * gdb.dwarf2/dw2-icycle.exp: New file.
4462 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
4464 * gdb.python/py-value-cc.cc: Improve test case to enable testing
4465 operations on gdb.Value objects.
4466 * gdb.python/py-value-cc.exp: Add new test to test operations on
4469 2014-02-18 Doug Evans <dje@google.com>
4471 * Makefile.in (TESTS): New variable.
4472 (expanded_tests, expanded_tests_or_none): New variables
4473 (check-single): Pass $(expanded_tests_or_none) to runtest.
4474 (check-parallel): Only run tests in $(TESTS) if non-empty.
4475 (check/no-matching-tests-found): New rule.
4476 * README: Document TESTS makefile variable.
4478 2014-02-18 Doug Evans <dje@google.com>
4480 * Makefile.in (check-parallel): rm -rf outputs temp.
4482 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4484 Fix "ERROR: no fileid for" in the testsuite.
4485 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
4487 2014-02-12 Doug Evans <dje@google.com>
4489 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
4490 (MISCELLANEOUS): New variable.
4491 (clean): rm -rf $(MISCELLANEOUS).
4492 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
4493 dwp live in the same directory as symlinks, with each symlink pointed
4494 to a differently named file in a different directory.
4496 2014-02-11 Doug Evans <dje@google.com>
4498 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
4499 of Tcl file commands.
4501 2014-02-10 Mark Kettenis <kettenis@gnu.org>
4503 * gdb.threads/step-after-sr-lock.exp: Avoid executing
4506 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4508 * gdb.ada/tick_length_array_enum_idx: New testcase.
4510 2014-02-10 Doug Evans <xdje42@gmail.com>
4512 * configure.ac (AC_OUTPUT): Add gdb.guile.
4513 * configure: Regenerate.
4514 * lib/gdb-guile.exp: New file.
4515 * lib/gdb.exp (get_target_charset): New function.
4516 * gdb.base/help.exp: Update expected output from "apropos apropos".
4517 * gdb.guile/Makefile.in: New file.
4518 * gdb.guile/guile.exp: New file.
4519 * gdb.guile/scm-arch.c: New file.
4520 * gdb.guile/scm-arch.exp: New file.
4521 * gdb.guile/scm-block.c: New file.
4522 * gdb.guile/scm-block.exp: New file.
4523 * gdb.guile/scm-breakpoint.c: New file.
4524 * gdb.guile/scm-breakpoint.exp: New file.
4525 * gdb.guile/scm-disasm.c: New file.
4526 * gdb.guile/scm-disasm.exp: New file.
4527 * gdb.guile/scm-equal.c: New file.
4528 * gdb.guile/scm-equal.exp: New file.
4529 * gdb.guile/scm-error.exp: New file.
4530 * gdb.guile/scm-error.scm: New file.
4531 * gdb.guile/scm-frame-args.c: New file.
4532 * gdb.guile/scm-frame-args.exp: New file.
4533 * gdb.guile/scm-frame-args.scm: New file.
4534 * gdb.guile/scm-frame-inline.c: New file.
4535 * gdb.guile/scm-frame-inline.exp: New file.
4536 * gdb.guile/scm-frame.c: New file.
4537 * gdb.guile/scm-frame.exp: New file.
4538 * gdb.guile/scm-generics.exp: New file.
4539 * gdb.guile/scm-gsmob.exp: New file.
4540 * gdb.guile/scm-iterator.c: New file.
4541 * gdb.guile/scm-iterator.exp: New file.
4542 * gdb.guile/scm-math.c: New file.
4543 * gdb.guile/scm-math.exp: New file.
4544 * gdb.guile/scm-objfile-script-gdb.in: New file.
4545 * gdb.guile/scm-objfile-script.c: New file.
4546 * gdb.guile/scm-objfile-script.exp: New file.
4547 * gdb.guile/scm-objfile.c: New file.
4548 * gdb.guile/scm-objfile.exp: New file.
4549 * gdb.guile/scm-ports.exp: New file.
4550 * gdb.guile/scm-pretty-print.c: New file.
4551 * gdb.guile/scm-pretty-print.exp: New file.
4552 * gdb.guile/scm-pretty-print.scm: New file.
4553 * gdb.guile/scm-section-script.c: New file.
4554 * gdb.guile/scm-section-script.exp: New file.
4555 * gdb.guile/scm-section-script.scm: New file.
4556 * gdb.guile/scm-symbol.c: New file.
4557 * gdb.guile/scm-symbol.exp: New file.
4558 * gdb.guile/scm-symtab-2.c: New file.
4559 * gdb.guile/scm-symtab.c: New file.
4560 * gdb.guile/scm-symtab.exp: New file.
4561 * gdb.guile/scm-type.c: New file.
4562 * gdb.guile/scm-type.exp: New file.
4563 * gdb.guile/scm-value-cc.cc: New file.
4564 * gdb.guile/scm-value-cc.exp: New file.
4565 * gdb.guile/scm-value.c: New file.
4566 * gdb.guile/scm-value.exp: New file.
4567 * gdb.guile/source2.scm: New file.
4568 * gdb.guile/types-module.cc: New file.
4569 * gdb.guile/types-module.exp: New file.
4571 2014-02-10 Yao Qi <yao@codesourcery.com>
4574 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
4575 * configure: Regenerated.
4576 * Makefile.in: New file.
4578 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4580 * gdb.python/py-framefilter.exp: Fix typo.
4582 2014-02-08 Yao Qi <yao@codesourcery.com>
4584 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
4585 that no =breakpoint-modified is emitted when breakpoints are
4586 modified through MI commands.
4588 2014-02-07 Pedro Alves <pedro@codesourcery.com>
4589 Pedro Alves <palves@redhat.com>
4591 * gdb.threads/step-after-sr-lock.c: New file.
4592 * gdb.threads/step-after-sr-lock.exp: New file.
4594 2014-02-07 Pedro Alves <palves@redhat.com>
4596 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
4598 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4600 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
4601 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
4603 2014-02-06 Doug Evans <xdje42@gmail.com>
4605 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
4608 * gdb.gdb/python-interrupts.exp: New file.
4610 2014-02-05 Yao Qi <yao@codesourcery.com>
4612 * gdb.trace/report.exp (use_collected_data): Test the output
4613 of "info threads" and "info inferiors".
4615 2014-02-05 Yao Qi <yao@codesourcery.com>
4619 2013-05-24 Yao Qi <yao@codesourcery.com>
4621 * gdb.trace/tfile.exp: Test inferior and thread.
4623 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4625 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
4627 * gdb.base/step-bt.c: Call hello via function pointer to make
4628 sure its first instruction is executed on powerpc64le-linux.
4630 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4632 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
4634 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4636 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
4637 of the test patterns for use on little-endian systems.
4639 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4641 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
4642 (decimal_vector): Fix for little-endian.
4644 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4646 * gdb.arch/sparc-sysstep.exp: New file.
4647 * gdb.arch/sparc-sysstep.c: Likewise.
4649 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
4651 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4653 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
4655 2014-01-23 Tom Tromey <tromey@redhat.com>
4657 * gdb.ada/array_char_idx: New testcase.
4659 2014-01-23 Tom Tromey <tromey@redhat.com>
4662 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
4663 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
4666 2014-01-23 Tom Tromey <tromey@redhat.com>
4669 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
4670 string from an inferior frame.
4671 * gdb.python/py-framefilter-mi.exp: Update.
4673 2014-01-22 Doug Evans <dje@google.com>
4675 * gdb.server/server-mon.exp: Add tests for "set debug-format".
4677 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4679 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
4681 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4683 * gdb.trace/entry-values.exp: Remove excess space character from
4684 regex patterns. Handle s390 call instruction.
4686 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4688 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
4689 define "*_start" label. Make "name" static.
4690 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
4691 ${name} by references to ${name}_start.
4693 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4695 * gdb.base/info-macros.exp: Remove "debug" from the compile
4698 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4700 * gdb.dlang/demangle.exp: New file.
4702 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4704 * gdb.dlang/primitive-types.exp: New file.
4706 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4708 * configure.ac: Create gdb.dlang/Makefile.
4709 * configure: Regenerate.
4710 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
4711 * gdb.dlang/Makefile.in: New file.
4712 * lib/d-support.exp: New file.
4713 * lib/gdb.exp (skip_d_tests): New proc.
4715 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4717 * gdb.btrace/delta.exp: Check reverse stepi.
4718 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
4719 * gdb.btrace/finish.exp: New.
4720 * gdb.btrace/next.exp: New.
4721 * gdb.btrace/nexti.exp: New.
4722 * gdb.btrace/record_goto.c: Add comments.
4723 * gdb.btrace/step.exp: New.
4724 * gdb.btrace/stepi.exp: New.
4725 * gdb.btrace/multi-thread-step.c: New.
4726 * gdb.btrace/multi-thread-step.exp: New.
4727 * gdb.btrace/rn-dl-bind.c: New.
4728 * gdb.btrace/rn-dl-bind.exp: New.
4729 * gdb.btrace/data.c: New.
4730 * gdb.btrace/data.exp: New.
4731 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4733 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4735 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
4736 * gdb.btrace/exception.exp: Update.
4737 * gdb.btrace/instruction_history.exp: Update.
4738 * gdb.btrace/record_goto.exp: Update.
4739 * gdb.btrace/tailcall.exp: Update.
4740 * gdb.btrace/unknown_functions.exp: Update.
4741 * gdb.btrace/delta.exp: New.
4743 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4745 * gdb.btrace/record_goto.exp: Add backtrace test.
4746 * gdb.btrace/tailcall.exp: Add backtrace test.
4748 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4750 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
4751 * gdb.btrace/record_goto.c: New.
4752 * gdb.btrace/record_goto.exp: New.
4753 * gdb.btrace/x86-record_goto.S: New.
4755 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4757 * gdb.btrace/function_call_history.exp: Update tests.
4758 * gdb.btrace/instruction_history.exp: Update tests.
4760 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4762 * gdb.btrace/function_call_history.exp: Fix expected field
4763 order for "record function-call-history".
4764 Add new tests for "record function-call-history /c".
4765 * gdb.btrace/exception.cc: New.
4766 * gdb.btrace/exception.exp: New.
4767 * gdb.btrace/tailcall.exp: New.
4768 * gdb.btrace/x86-tailcall.S: New.
4769 * gdb.btrace/x86-tailcall.c: New.
4770 * gdb.btrace/unknown_functions.c: New.
4771 * gdb.btrace/unknown_functions.exp: New.
4772 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4774 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4776 * gdb.btrace/instruction_history.exp: Update.
4777 * gdb.btrace/function_call_history.exp: Update.
4779 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4781 * gdb.btrace/function_call_history.exp: Fix expected function
4783 * gdb.btrace/instruction_history.exp: Initialize traced.
4784 Remove traced_functions.
4786 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4788 * gdb.btrace/function_call_history.exp: Update
4789 * gdb.btrace/instruction_history.exp: Update.
4791 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4793 * gdb.btrace/enable.exp: Update expected text.
4795 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
4797 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
4800 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
4802 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
4804 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4806 * lib/gdb.exp (supports_process_record): Return true for
4807 arm*-linux*. (supports_reverse): Likewise.
4809 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4813 * gdb.python/py-type.c: Enhance test case.
4814 * gdb.python/py-value-cc.cc: Likewise
4815 * gdb.python/py-type.exp: Add new tests.
4816 * gdb.python/py-value-cc.exp: Likewise
4818 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4819 Pedro Alves <palves@redhat.com>
4821 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
4823 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
4824 references to ${name}_start by references to ${name}.
4826 2014-01-10 Joel Brobecker <brobecker@adacore.com>
4828 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
4830 2014-01-10 Joel Brobecker <brobecker@adacore.com>
4832 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
4834 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
4835 Pedro Alves <palves@redhat.com>
4837 * gdb.mi/mi-info-os.exp: Connect to the target with
4840 2014-01-08 Pedro Alves <palves@redhat.com>
4842 * gdb.threads/reconnect-signal.c: New file.
4843 * gdb.threads/reconnect-signal.exp: New file.
4845 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4847 * gdb.base/source-dir.exp: New file.
4849 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4851 * gdb.ada/mi_interface: New testcase.
4853 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4855 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
4856 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
4857 gdb.ada/pp-rec-component/pck.ads: New files.
4859 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4861 * gdb.python/py-pp-integral.c: New file.
4862 * gdb.python/py-pp-integral.py: New file.
4863 * gdb.python/py-pp-integral.exp: New file.
4865 For older changes see ChangeLog-1993-2013.
4871 ;; version-control: never
4874 Copyright 2014-2015 Free Software Foundation, Inc.
4875 Copying and distribution of this file, with or without modification,
4876 are permitted provided the copyright notice and this notice are preserved.