1 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3 * gdb.compile/compile-ops.exp: Cast param to void.
4 * gdb.compile/compile.exp: Complete type for _gdb_expr.
5 (compile code struct_object.selffield = &struct_object): Add xfail.
7 2015-05-15 Joel Brobecker <brobecker@adacore.com>
9 * gdb.ada/arr_enum_with_gap: New testcase.
11 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13 * gdb.ada/byte_packed_arr: New testcase.
15 2015-05-15 Joel Brobecker <brobecker@adacore.com>
17 * gdb.ada/pckd_neg: New testcase.
19 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
22 * gdb.base/gdbinit-history.exp: New test.
23 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
24 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
26 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
28 * gdb.python/py-xmethods.cc: Enhance test case.
29 * gdb.python/py-xmethods.exp: New tests.
30 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
32 (B_indexoper): Likewise.
33 (global_dm_list) : Add new xmethod worker functions.
35 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
37 * gdb.base/coredump-filter.exp: Correctly unset
38 "coredump_var_addr" array.
40 2015-05-08 Pedro Alves <palves@redhat.com>
42 * gdb.server/non-existing-program.exp: Unset spawn_id.
44 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
47 * gdb.python/py-xmethods.exp: Add tests.
49 2015-05-08 Yao Qi <yao.qi@linaro.org>
52 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
53 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
54 function set_coredump_filter, and remove remote_exec call.
55 Remove argument ipid. Callers update.
56 (top level): Don't get inferior's PID.
58 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
60 * gdb.base/watch_thread_num.exp: Skip test on targets without
63 2015-05-06 Pedro Alves <palves@redhat.com>
66 * gdb.server/non-existing-program.exp: New file.
68 2015-05-05 Joel Brobecker <brobecker@adacore.com>
70 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
72 2015-05-05 Joel Brobecker <brobecker@adacore.com>
74 * gdb.ada/out_of_line_in_inlined: New testcase.
76 2015-05-05 Joel Brobecker <brobecker@adacore.com>
78 * gdb.ada/var_rec_arr: New testcase.
80 2015-04-30 Yao Qi <yao.qi@linaro.org>
82 * gdb.base/break-idempotent.exp: If
83 skip_hw_watchpoint_multi_tests returns true, skip the tests
84 on "rwatch" and "awatch".
86 2015-04-30 Yao Qi <yao.qi@linaro.org>
88 * gdb.base/relativedebug.exp: Invoke gdb command
89 "info sharedlibrary", and if libc.so doesn't have debug info,
92 2015-04-29 Doug Evans <dje@google.com>
94 * gdb.python/py-xmethods.exp: Add ptype tests.
95 * gdb.python/py-xmethods.py (E_method_char_worker): Add
96 get_result_type method.
98 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
100 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
101 the target does not support hardware watchpoints.
103 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
105 * gdb.base/break-always.exp: Abort testing if writing to memory
108 2015-04-28 Doug Evans <dje@google.com>
110 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
111 * gdb.python/py-pp-registration.exp: ... here. New file.
112 * gdb.python/py-pp-registration.c: New file.
113 * gdb.python/py-pp-registration.py: New file.
115 2015-04-28 Doug Evans <dje@google.com>
117 * gdb.python/py-bad-printers.c: New file.
118 * gdb.python/py-bad-printers.py: New file.
119 * gdb.python/py-bad-printers.exp: New file.
121 2015-04-28 Sasha Smundak <asmundak@google.com>
123 * gdb.python/py-type.exp: New test.
125 2015-04-28 Andy Wingo <wingo@igalia.com>
127 * gdb.python/py-parameter.exp:
128 * gdb.guile/scm-parameter.exp: Escape the path that we are
129 matching against, as it might contain characters that are special
130 to regular expressions.
132 2015-04-27 Joel Brobecker <brobecker@adacore.com>
134 * gdb.ada/rec_comp: New testcase.
136 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
138 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
141 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
143 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
144 new tests for verilog output.
146 2015-04-24 Yao Qi <yao.qi@linaro.org>
148 * boards/remote-gdbserver-on-localhost.exp: New file.
150 2015-04-23 Pedro Alves <palves@redhat.com>
152 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
153 $inferior_spawn_id instead of $inferior_spawn_id directly. On
154 "end of file", remove $inferior_spawn_id from the indirect list.
156 2015-04-23 Pedro Alves <palves@redhat.com>
158 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
160 2015-04-23 Pedro Alves <palves@redhat.com>
162 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
163 on $any_spawn_id instead of only on $gdb_spawn_id.
165 2015-04-21 Pierre Muller <muller@sourceware.org>
168 * lib/pascal.exp (gpc_compile): Add new option "class".
169 (fpc_compile): Likewise.
170 * gdb.pascal/case-insensitive-symbols.pas: New file.
171 * gdb.pascal/case-insensitive-symbols.exp: New file.
173 2015-04-20 Gary Benson <gbenson@redhat.com>
175 * gdb.base/attach.exp: Fix three extended remote failures.
177 2015-04-17 Gary Benson <gbenson@redhat.com>
179 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
180 the main executable over the remote protocol.
182 2015-04-16 Pedro Alves <palves@redhat.com>
184 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
185 a new gdbserver if gdbserver_reconnect_p is set.
187 2015-04-16 Pedro Alves <palves@redhat.com>
189 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
190 is set, don't exit gdbserver.
192 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
194 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
195 appropriate .insn, such that an older assembler can be used.
196 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
197 the z/Architecture instruction set on 31-bit targets as well.
199 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
201 * gdb.go/handcall.exp: Remove all logic related to the first
202 breakpoint and rely on go_runto_main instead.
203 * gdb.go/strings.exp: Likewise.
204 * gdb.go/unsafe.exp: Likewise.
205 * gdb.go/hello.exp: Likewise. Also rename the remaining
206 breakpoint marker to "breakpoint 1".
207 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
208 * gdb.go/strings.go: Likewise.
209 * gdb.go/unsafe.go: Likewise.
210 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
211 "set breakpoint 2 here" and rename the remaining breakpoint marker
214 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
216 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
217 if itertools.imap is not present.
218 * gdb.python/py-objfile.exp: Add parentheses.
219 * gdb.python/py-type.exp: Same.
220 * gdb.python/py-unwind-maint.py: Same.
222 2015-04-15 Yao Qi <yao.qi@linaro.org>
224 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
225 of ":$ptr_size" and set its form explicitly.
227 2015-04-15 Pedro Alves <palves@redhat.com>
228 Yao Qi <yao.qi@linaro.org>
230 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
231 timeout by factor of 4.
232 (test_regular_watch): Likewise.
233 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
234 * gdb.reverse/sigall-reverse.exp: Likewise.
235 * gdb.reverse/until-precsave.exp: Likewise.
236 * lib/gdb.exp (with_timeout_factor): New proc.
237 (gdb_expect): Move some code to ...
238 (get_largest_timeout): ... here. New procedure.
240 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
242 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
244 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
246 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
247 to write to the .text section.
249 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
251 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
252 Handle the case of targets that do not provide PID information.
254 2015-04-13 Yao Qi <yao.qi@linaro.org>
256 * lib/gdbserver-support.exp (gdb_exit): Catch exception
257 and use expect instead of gdb_expect.
259 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
261 * gdb.base/coredump-filter.exp: Rename variable "addr" to
262 "coredump_var_addr" to avoid naming conflict with other testcases.
264 2015-04-10 Pedro Alves <palves@redhat.com>
266 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
267 gdb_test_sequence and gdb_assert.
269 2015-04-10 Pedro Alves <palves@redhat.com>
271 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
272 test messages that don't include the breakpoint address.
274 2015-04-10 Yao Qi <yao.qi@linaro.org>
276 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
277 false for some offset and width combinations which aren't
278 supported by linux kernel.
280 2015-04-10 Pedro Alves <palves@redhat.com>
282 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
283 procedure, factored out from ...
284 (top level): ... here. Add "set displaced-stepping" testing axis.
285 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
286 parameter "displaced". Use it.
287 (top level): Use foreach and add "set displaced-stepping" testing
290 2015-04-10 Pedro Alves <palves@redhat.com>
292 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
294 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
295 both the address of the instruction that triggers the watchpoint
296 and the address of the instruction immediately after, and use
297 those addresses for the test. Fix comment.
299 2015-04-10 Pedro Alves <palves@redhat.com>
301 * gdb.base/sigstep.exp (breakpoint_to_handler)
302 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
303 Test "backtrace" in handler.
304 (breakpoint_over_handler): New parameter 'displaced'. Use it.
305 (top level): Add new "displaced" test axis to
306 breakpoint_to_handler, breakpoint_to_handler_entry and
307 breakpoint_over_handler.
309 2015-04-10 Pedro Alves <palves@redhat.com>
312 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
314 2015-04-10 Yao Qi <yao.qi@linaro.org>
316 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
317 (test_add_rn_pc): New function.
318 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
319 (top level): Invoke test_add_rn_pc.
321 2015-04-10 Pedro Alves <palves@redhat.com>
324 * gdb.base/step-over-no-symbols.exp: New file.
326 2015-04-09 Andy Wingo <wingo@igalia.com>
328 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
329 after the Python tests.
331 2015-04-08 Keith Seitz <keiths@redhat.com>
334 * gdb.python/py-completion.exp: New tests for completion.
335 * gdb.python/py-completion.py (CompleteLimit1): New class.
336 (CompleteLimit2): Likewise.
337 (CompleteLimit3): Likewise.
338 (CompleteLimit4): Likewise.
339 (CompleteLimit5): Likewise.
340 (CompleteLimit6): Likewise.
341 (CompleteLimit7): Likewise.
343 2015-04-08 Pedro Alves <palves@redhat.com>
347 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
349 (main): Install it as SIGUSR1 handler.
350 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
351 parameter. Always use "setup" as prefix. Toggle "set
352 displaced-stepping" off/on depending on global. Don't switch to
354 (top level): Add displaced stepping "off/on" test axis. Update
355 "setup" calls. Wrap each subtest with with_test_prefix. Test
356 continuing with a queued signal in each thread.
358 2015-04-08 Pedro Alves <palves@redhat.com>
360 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
361 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
362 gdb_breakpoint instead of gdb_test that doesn't expect anything.
363 Return early if running to main fails.
364 * gdb.trace/while-stepping.exp: Likewise.
366 2015-04-07 Pedro Alves <palves@redhat.com>
368 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
369 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
370 interact with inferior program.
372 2015-04-07 Pedro Alves <palves@redhat.com>
374 * lib/gdb.exp (inferior_spawn_id): New global.
375 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
376 spawn id after processing the user code.
377 (default_gdb_start): Set inferior_spawn_id.
378 (send_inferior): New procedure.
379 * lib/gdbserver-support.exp (gdbserver_start): Set
381 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
383 2015-04-07 Pedro Alves <palves@redhat.com>
385 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
386 * lib/gdbserver-support.exp (gdbserver_start): Make
387 $server_spawn_id global.
388 (gdbserver_start): Don't wait for gdbserver's spawn id with
390 (close_gdbserver): New procedure.
391 (gdb_exit): Rename the default version and reimplement.
393 2015-04-07 Pedro Alves <palves@redhat.com>
395 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
396 append the substituted item, not the original item.
398 2015-04-07 Pedro Alves <palves@redhat.com>
400 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
403 2015-04-07 Pedro Alves <palves@redhat.com>
405 * gdb.base/interrupt.exp: Don't handle the case of the inferior
406 output appearing once only.
408 2015-04-07 Pedro Alves <palves@redhat.com>
410 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
411 that doesn't expect anything. Return early if running to main
414 2015-04-07 Yao Qi <yao.qi@linaro.org>
416 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
417 (child_function): Call alarm.
418 (main): Move call to alarm into the loop.
419 * gdb.threads/non-stop-fair-events.exp: Build program with
422 2015-04-06 Doug Evans <xdje42@gmail.com>
424 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
425 Fix dest parameter to board_info.
426 (fpc_compile): Ditto.
427 (gdb_compile_pascal): Rename dest arg to destfile.
429 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
431 * gdb.ada/funcall_ref.exp: New file.
432 * gdb.ada/funcall_ref/foo.adb: New file.
434 2015-04-02 Yao Qi <yao.qi@linaro.org>
436 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
439 2015-04-02 Gary Benson <gbenson@redhat.com>
441 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
443 2015-04-01 Sasha Smundak <asmundak@google.com>
445 * gdb.python/py-unwind-maint.c: New file.
446 * gdb.python/py-unwind-maint.exp: New test.
447 * gdb.python/py-unwind-maint.py: New file.
448 * gdb.python/py-unwind.c: New file.
449 * gdb.python/py-unwind.exp: New test.
450 * gdb.python/py-unwind.py: New test.
452 2015-04-01 Pedro Alves <palves@redhat.com>
454 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
455 to fail instead of non-existent $test.
457 2015-04-01 Pedro Alves <palves@redhat.com>
459 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
460 GDBFLAGS if not empty.
462 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
464 * gdb.ada/complete.exp: Remove "multi_line".
465 * gdb.ada/info_exc.exp: Remove "multi_line".
466 * gdb.ada/packed_tagged.exp: Remove "multi_line".
467 * gdb.ada/ptype_field.exp: Remove "multi_line".
468 * gdb.ada/sym_print_name.exp: Remove "multi_line".
469 * gdb.ada/tagged.exp: Remove "multi_line".
470 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
472 * gdb.btrace/delta.exp: Likewise.
473 * gdb.btrace/exception.exp: Likewise.
474 * gdb.btrace/function_call_history.exp: Likewise.
475 * gdb.btrace/instruction_history.exp: Likewise.
476 * gdb.btrace/nohist.exp: Likewise.
477 * gdb.btrace/record_goto.exp: Likewise.
478 * gdb.btrace/segv.exp: Likewise.
479 * gdb.btrace/stepi.exp: Likewise.
480 * gdb.btrace/tailcall.exp: Likewise.
481 * gdb.btrace/unknown_functions.exp: Likewise.
482 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
483 * lib/gdb.exp: Add the "multi_line" helper.
485 2015-04-01 Pedro Alves <palves@redhat.com>
487 * gdb.threads/tid-reuse.c: New file.
488 * gdb.threads/tid-reuse.exp: New file.
490 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
493 * gdb.base/coredump-filter.c: New file.
494 * gdb.base/coredump-filter.exp: Likewise.
496 2015-03-27 Petr Machata <pmachata@redhat.com>
498 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
499 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
500 (Dwarf::assemble): Initialize them.
501 (Dwarf::lines): New function.
503 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
505 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
506 SYMBOL_PREFIX for x86_64-*-cygwin.
508 2015-03-26 Andy Wingo <wingo@igalia.com>
511 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
512 const_value but not a location.
513 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
514 location defined in non-main CUs are visible.
516 2015-03-26 Yao Qi <yao.qi@linaro.org>
519 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
520 Add a line number entry for the same line.
521 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
522 Add a line number entry for the same line.
524 2015-03-26 Yao Qi <yao.qi@linaro.org>
526 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
528 (func): Likewise. Add .Lfunc_1 label.
530 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
535 2015-03-26 Yao Qi <yao.qi@linaro.org>
537 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
538 Call gdb_compile instead to compile each .s files without debug
541 2015-03-26 Yao Qi <yao.qi@linaro.org>
543 * gdb.base/savedregs.exp (process_saved_regs): Make
544 "Saved registers:" optional in the pattern.
546 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
548 * gdb.btrace/next.exp: Merged into step.exp.
549 * gdb.btrace/finish.exp: Merged into step.exp.
550 * gdb.btrace/nexti.exp: Merged into stepi.exp.
551 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
552 "record goto" and checking the exact replay position.
553 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
554 check for "Recording format" in "info record" output.
555 * gdb.btrace/record_goto.exp: Choose test file based on target.
556 * gdb.btrace/x86-record_goto.S: Renamed into ...
557 * gdb.btrace/x86_64-record_goto.S: ... this.
558 * gdb.btrace/i686-record_goto.S: New.
559 * gdb.btrace/x86-tailcall.S: Renamed into ...
560 * gdb.btrace/x86_64-tailcall.S: ... this.
561 * gdb.btrace/i686-tailcall.S: New.
562 * gdb.btrace/x86-tailcall.c: Renamed into ...
563 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
564 separate statements. Update test.
565 * gdb.btrace/delta.exp: Use record_goto.c as test file.
566 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
567 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
568 * gdb.btrace/tailcall.exp: Choose test file based on target.
569 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
571 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
573 * gdb.btrace/exception.exp: Increase BTS buffer size.
575 2015-03-24 Pedro Alves <palves@redhat.com>
577 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
579 2015-03-24 Pedro Alves <palves@redhat.com>
581 * gdb.threads/schedlock.exp (test_step): No longer expect that
582 "set scheduler-locking step" with "next" over a function call runs
585 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
587 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
589 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
592 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
593 * gdb.mi/mi-pending.c (thread_func): New function.
594 (int main): Add threading support required.
595 * gdb.mi/mi-pending.exp: Add tests for this issue.
596 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
597 (pendfunc2): Remove stdio dependency.
598 * gdb.mi/mi-pendshr2.c: New file.
600 2015-03-23 Keith Seitz <keiths@redhat.com>
602 * gdb.linespec/keywords.c: New file.
603 * gdb.linespec/keywords.exp: New file.
605 2015-03-23 Keith Seitz <keiths@redhat.com>
608 * gdb.dwarf2/staticvirtual.exp: New test.
610 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
612 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
613 * README: Remove HP-UX and gdb.hp.
615 * configure: Regenerate.
616 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
617 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
618 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
619 gdb.hp/gdb.defects/Makefile.
620 * gdb.hp/Makefile.in: File deleted.
621 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
622 * gdb.hp/gdb.aCC/optimize.c: File deleted.
623 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
624 * gdb.hp/gdb.aCC/run.c: File deleted.
625 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
626 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
627 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
628 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
629 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
630 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
631 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
632 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
633 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
634 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
635 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
636 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
637 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
638 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
639 * gdb.hp/gdb.base-hp/reg.s: File deleted.
640 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
641 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
642 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
643 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
644 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
645 * gdb.hp/gdb.compat/Makefile.in: File deleted.
646 * gdb.hp/gdb.compat/average.c: File deleted.
647 * gdb.hp/gdb.compat/sum.c: File deleted.
648 * gdb.hp/gdb.compat/xdb.c: File deleted.
649 * gdb.hp/gdb.compat/xdb0.c: File deleted.
650 * gdb.hp/gdb.compat/xdb0.h: File deleted.
651 * gdb.hp/gdb.compat/xdb1.c: File deleted.
652 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
653 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
654 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
655 * gdb.hp/gdb.defects/Makefile.in: File deleted.
656 * gdb.hp/gdb.defects/bs14602.c: File deleted.
657 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
658 * gdb.hp/gdb.defects/solib-d.c: File deleted.
659 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
660 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
661 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
662 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
663 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
664 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
665 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
666 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
667 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
668 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
669 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
670 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
671 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
672 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
673 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
674 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
675 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
676 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
677 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
678 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
679 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
680 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
681 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
682 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
683 * gdb.hp/tools/odump: File deleted.
685 2015-03-19 Pedro Alves <palves@redhat.com>
687 * gdb.threads/continue-pending-status.exp (saw_thread_2)
688 (saw_thread_3): New globals.
689 (top level): Increment them when an event for the corresponding
691 (no thread starvation): New test.
693 2015-03-19 Pedro Alves <palves@redhat.com>
695 * gdb.threads/continue-pending-status.c: New file.
696 * gdb.threads/continue-pending-status.exp: New file.
698 2015-03-18 Pedro Alves <palves@redhat.com>
700 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
701 Use gdb_is_target_remote instead of is_remote. Use
702 gdb_test_multiple instead of gdb_expect. Exit early if
703 gdb_test_multiple hits its internal matches. Tighten stepi tests
704 expected output. Fail on exit with any signal, instead of just
707 2015-03-18 Yao Qi <yao.qi@linaro.org>
710 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
712 * gdb.base/catch-syscall.exp: Don't skip it on
713 aarch64*-*-linux* target. Remove elements in all_syscalls.
714 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
716 (setup_all_syscalls): New proc.
718 2015-03-16 Yao Qi <yao.qi@linaro.org>
720 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
721 (top level): Skip tests if valid_addr_p returns false for
724 2015-03-11 Andy Wingo <wingo@igalia.com>
726 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
728 2015-03-11 Yao Qi <yao.qi@linaro.org>
730 * gdb.base/catch-syscall.exp: Fix typo in comments.
732 2015-03-11 Yao Qi <yao.qi@linaro.org>
734 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
736 2015-03-09 Pedro Alves <palves@redhat.com>
738 * dg-extract-results.py: Delete.
740 2015-03-09 Pedro Alves <palves@redhat.com>
742 Merge dg-extract-results.sh from GCC upstream (r218843).
744 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
745 * dg-extract-results.sh: Use --text with grep to avoid issues with
746 binary files. Fall back to cat -v, if that doesn't work.
748 2015-03-05 Pedro Alves <palves@redhat.com>
750 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
752 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
754 * lib/mi-support.exp (mi_expect_interrupt): Accept
755 alternative event for when in all-stop mode.
757 2015-03-04 Pedro Alves <palves@redhat.com>
759 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
761 2015-03-04 Mark Kettenis <kettenis@gnu.org>
763 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
765 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
767 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
768 regexps for GDB's current line display, accept a hex address
769 preceding the line number.
771 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
773 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
774 the 'arch1' variable for "s390*-linux*" targets.
776 2015-03-04 Pedro Alves <palves@redhat.com>
778 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
779 (main): Pass missing retval argument to pthread_join call.
781 2015-03-02 Pedro Alves <palves@redhat.com>
783 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
784 (top level): Call do_test with non-stop as well.
786 2015-03-02 Pedro Alves <palves@redhat.com>
788 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
791 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
793 * gdb.arch/s390-vregs.exp: New test.
794 * gdb.arch/s390-vregs.S: New file.
796 2015-02-27 Pedro Alves <palves@redhat.com>
798 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
799 call to catch_command_errors.
800 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
801 catch_command_errors.
803 2015-02-27 Pedro Alves <palves@redhat.com>
805 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
806 "true" for boolean result.
807 * gdb.gdb/selftest.exp (test_with_self): Also accept full
810 2015-02-27 Pedro Alves <palves@redhat.com>
812 * lib/unbuffer_output.c: New file.
813 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
814 (main): Call gdb_unbuffer_output.
816 2015-02-27 Yao Qi <yao.qi@linaro.org>
818 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
821 2015-02-26 Doug Evans <dje@google.com>
823 * gdb.cp/class2.cc (Dbase, D): New classes.
824 (main): New local delta.
825 * gdb.cp/class2.exp: Test printing delta.
826 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
827 (dynbar): New global.
828 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
830 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
832 * gdb.compile/compile-ifunc.c: New file.
833 * gdb.compile/compile-ifunc.exp: New file.
835 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
837 * gdb.base/structs.exp: Check for correct struct on finish.
839 2015-02-26 Yao Qi <yao.qi@linaro.org>
841 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
844 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
846 * gdb.arch/cordic.ko.bz2: New file.
847 * gdb.arch/cordic.ko.debug.bz2: New file.
848 * gdb.arch/ppc64-symtab-cordic.exp: New file.
850 2015-02-25 Yao Qi <yao.qi@linaro.org>
852 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
855 2015-02-23 Pedro Alves <palves@redhat.com>
857 * lib/gdb.exp (delete_breakpoints): Rewrite using
860 2015-02-23 Pedro Alves <palves@redhat.com>
862 * gdb.base/info-os.c: Include stdlib.h.
864 2015-02-22 Doug Evans <xdje42@gmail.com>
867 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
868 is read after symbols have been re-read.
869 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
870 * gdb.ada/exec_changed/second.adb (Second): Ditto.
872 2015-02-21 Doug Evans <dje@google.com>
874 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
876 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
879 * gdb.arch/i386-biarch-core.core.bz2: New file.
880 * gdb.arch/i386-biarch-core.exp: New file.
882 2015-02-21 Pedro Alves <palves@redhat.com>
884 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
887 2015-02-20 Pedro Alves <palves@redhat.com>
889 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
892 2015-02-20 Pedro Alves <palves@redhat.com>
894 * gdb.threads/multi-create-ns-info-thr.exp: New file.
896 2015-02-20 Pedro Alves <palves@redhat.com>
898 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
899 clean_restart before gdb_target_supports_trace.
901 2015-02-20 Pedro Alves <palves@redhat.com>
904 * gdb.threads/clone-thread_db.c: New file.
905 * gdb.threads/clone-thread_db.exp: New file.
907 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
910 * gdb.base/catch-gdb-caused-signals.c: New file.
911 * gdb.base/catch-gdb-caused-signals.exp: New file.
913 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
915 * configure: Regenerated.
916 * configure.ac: Use GDB_AC_TRANSFORM.
917 * aclocal.m4: sinclude ../transform.m4.
919 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
921 * lib/dtrace.exp: New file.
922 * gdb.base/dtrace-probe.exp: Likewise.
923 * gdb.base/dtrace-probe.d: Likewise.
924 * gdb.base/dtrace-probe.c: Likewise.
925 * lib/pdtrace.in: Likewise.
926 * configure.ac: Output variables with the transformed names of
927 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
928 * configure: Regenerated.
930 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
932 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
933 expected message when trying to access $_probe_* convenience
934 variables while not on a probe.
936 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
938 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
940 2015-02-11 Pedro Alves <pedro@codesourcery.com>
942 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
943 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
945 2015-02-10 Doug Evans <xdje42@gmail.com>
947 * lib/gdb.exp (gdb_load): Always return a result.
949 2015-02-10 Pedro Alves <palves@redhat.com>
951 * gdb.threads/signal-sigtrap.c: New file.
952 * gdb.threads/signal-sigtrap.exp: New file.
954 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
956 * gdb.trace/no-attach-trace.c: New file.
957 * gdb.trace/no-attach-trace.exp: New file.
959 2015-02-09 Mark Wielaard <mjw@redhat.com>
961 * gdb.dwarf2/atomic.c: New file.
962 * gdb.dwarf2/atomic-type.exp: Likewise.
964 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
966 * gdb.btrace/buffer-size.exp: Update "info record" output.
967 * gdb.btrace/delta.exp: Update "info record" output.
968 * gdb.btrace/enable.exp: Update "info record" output.
969 * gdb.btrace/finish.exp: Update "info record" output.
970 * gdb.btrace/instruction_history.exp: Update "info record" output.
971 * gdb.btrace/next.exp: Update "info record" output.
972 * gdb.btrace/nexti.exp: Update "info record" output.
973 * gdb.btrace/step.exp: Update "info record" output.
974 * gdb.btrace/stepi.exp: Update "info record" output.
975 * gdb.btrace/nohist.exp: Update "info record" output.
977 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
979 * gdb.btrace/buffer-size: New.
981 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
983 * gdb.btrace/delta.exp: Update "info record" output.
984 * gdb.btrace/enable.exp: Update "info record" output.
985 * gdb.btrace/finish.exp: Update "info record" output.
986 * gdb.btrace/instruction_history.exp: Update "info record" output.
987 * gdb.btrace/next.exp: Update "info record" output.
988 * gdb.btrace/nexti.exp: Update "info record" output.
989 * gdb.btrace/step.exp: Update "info record" output.
990 * gdb.btrace/stepi.exp: Update "info record" output.
991 * gdb.btrace/nohist.exp: Update "info record" output.
993 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
996 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
998 2015-02-06 Pedro Alves <palves@redhat.com>
1000 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
1002 (seconds_left, again): New globals.
1003 (main): Wait seconds_left in a 1-second sleep loop instead of
1004 sleeping 180 seconds. If 'again' is set, reset the seconds
1006 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
1007 'again' in the inferior before detaching. Print the seconds left.
1008 (options): New global.
1009 (top level): Build program with -DTIMEOUT=$timeout.
1011 2015-02-06 Pedro Alves <palves@redhat.com>
1013 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
1014 determine how many seconds to pass to 'alarm'.
1015 * gdb.base/gdb-sigterm.exp (top level): Build program with
1017 (do_test): Return success/failure indication. Add more verbose
1018 logging. Don't fail if 200 single steps are seen. Instead, fail
1019 when the test times out.
1020 (passes): New global.
1021 (top level): Break the testing loop if testing fails on any
1022 iteration. Use gdb_assert.
1024 2015-02-04 Don Breazeal <donb@codesourcery.com>
1026 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
1027 and initialize them.
1028 (ipc_cleanup): New function.
1029 (main): Don't declare shmid, semid, and msqid. Add a call to
1030 atexit so that we call ipc_cleanup on exit.
1032 2015-02-04 Pedro Alves <palves@redhat.com>
1034 * boards/native-extended-gdbserver.exp: Remove any target variant
1035 specifications from the board name before clearing the isremote
1036 flag from board_info.
1038 2015-01-31 Doug Evans <xdje42@gmail.com>
1040 * gdb.base/maint.exp <maint print type argc>: Update expected output.
1042 2015-01-31 Gary Benson <gbenson@redhat.com>
1044 * gdb.base/completion.exp: Disable completion limiting for
1045 existing tests. Add new tests to check completion limiting.
1046 * gdb.linespec/ls-errs.exp: Disable completion limiting.
1048 2015-01-31 Doug Evans <xdje42@gmail.com>
1050 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
1052 2015-01-31 Doug Evans <xdje42@gmail.com>
1054 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
1055 entries. Duplicate file section script entries.
1056 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
1057 inlined entries. Add test for safe-path rejection.
1058 * gdb.python/py-section-script.c: Add duplicate inlined section script
1059 entries. Duplicate file section script entries.
1060 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
1061 inlined entries. Add test for safe-path rejection.
1063 2015-01-29 Joel Brobecker <brobecker@adacore.com>
1065 * gdb.ada/disc_arr_bound: New testcase.
1067 2015-01-29 Joel Brobecker <brobecker@adacore.com>
1069 * gdb.ada/mi_var_array: New testcase.
1071 2015-01-27 Doug Evans <dje@google.com>
1073 * gdb.python/py-objfile.exp: Add tests for objfile.username.
1074 Add test for objfile.filename, objfile.username after objfile
1077 2015-01-26 Joel Brobecker <brobecker@adacore.com>
1079 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
1080 the second test to print the name attribute of value
1081 returned by the call to gdb.lookup_type, and adjust
1082 the expected output accordingly.
1084 2015-01-25 Mark Wielaard <mjw@redhat.com>
1086 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
1087 * gdb.base/disp-step-fork.c: Include unistd.h.
1088 * gdb.base/siginfo-obj.c: Include stdio.h.
1089 * gdb.base/siginfo-thread.c: Likewise.
1090 * gdb.mi/non-stop.c: Include unistd.h.
1091 * gdb.mi/nsthrexec.c: Include stdio.h.
1092 * gdb.mi/pthreads.c: Include unistd.h.
1093 * gdb.modula2/unbounded1.c (main): Declare returns int.
1094 * gdb.reverse/consecutive-reverse.c: Likewise.
1095 * gdb.threads/create-fail.c: Include unistd.h.
1096 * gdb.threads/killed.c: Likewise.
1097 * gdb.threads/linux-dp.c: Likewise.
1098 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
1099 * gdb.threads/non-ldr-exc-2.c: Likewise.
1100 * gdb.threads/non-ldr-exc-3.c: Likewise.
1101 * gdb.threads/non-ldr-exc-4.c: Likewise.
1102 * gdb.threads/pthreads.c: Include unistd.h.
1103 (main): Declare returns int.
1104 * gdb.threads/tls-main.c (foo): New declaration.
1105 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
1107 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
1109 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
1110 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
1112 2015-01-15 Mark Wielaard <mjw@redhat.com>
1114 * gdb.base/noreturn-return.c: New file.
1115 * gdb.base/noreturn-return.exp: New file.
1116 * gdb.base/noreturn-finish.c: New file.
1117 * gdb.base/noreturn-finish.exp: New file.
1119 2015-01-23 Pedro Alves <palves@redhat.com>
1121 * gdb.threads/continue-pending-after-query.c: New file.
1122 * gdb.threads/continue-pending-after-query.exp: New file.
1124 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
1125 Simon Marchi <simon.marchi@ericsson.com>
1127 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
1128 * gdb.base/valgrind-db-attach.exp: Same.
1129 * gdb.base/valgrind-infcall.exp: Same.
1130 * lib/mi-support.exp (default_mi_gdb_start): Same.
1131 * lib/prompt.exp (default_prompt_gdb_start): Same.
1132 * lib/gdb.exp (default_gdb_spawn): Same.
1133 (gdb_interact): New.
1136 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1138 * gdb.compile/compile.exp (pointer to jit function): New test.
1140 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
1142 * lib/gdb.exp (supports_process_record): Return true for
1144 (supports_reverse): Likewise.
1146 2015-01-15 Don Breazeal <donb@codesourcery.com>
1148 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
1149 instead of checking whether the target board is remote and
1150 use spawn_wait_for_attach instead of exec/sleep.
1151 * gdb.base/attach-twice.exp: Likewise.
1153 2015-01-15 Joel Brobecker <brobecker@adacore.com>
1155 * gdb.ada/var_arr_attrs: New testcase.
1157 2015-01-14 Pedro Alves <palves@redhat.com>
1158 Joel Brobecker <brobecker@adacore.com>
1161 * gdb.base/bp-cmds-execution-x-script.c: New file.
1162 * gdb.base/bp-cmds-execution-x-script.exp: New file.
1163 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
1165 2015-01-14 Pedro Alves <palves@redhat.com>
1168 * gdb.base/batch-preserve-term-settings.c: New file.
1169 * gdb.base/batch-preserve-term-settings.exp: New file.
1171 2015-01-13 Doug Evans <dje@google.com>
1173 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
1176 2015-01-13 Joel Brobecker <brobecker@adacore.com>
1178 * Makefile.in (clean mostlyclean): Do not delete *.py.
1180 2015-01-13 Joel Brobecker <brobecker@adacore.com>
1182 * gdb.python/py-lookup-type.exp: New file.
1184 2015-01-12 Pedro Alves <palves@redhat.com>
1186 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
1187 restore GDBFLAGS before returning.
1189 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1191 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
1192 is_amd64_regs_target and is_x86_like_target.
1194 2015-01-11 Doug Evans <xdje42@gmail.com>
1196 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
1197 is given without an explicit form.
1198 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
1200 * gdb.dwarf/corrupt.exp: Ditto.
1201 * gdb.dwarf2/enum-type.exp: Ditto.
1202 * gdb.trace/entry-values.exp: Ditto.
1203 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
1205 2015-01-11 Doug Evans <xdje42@gmail.com>
1208 * gdb.base/maint.exp: Remove references to "maint demangle".
1209 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
1210 Add tests for explicitly specifying language to demangle.
1211 * gdb.dlang/demangle.exp: Ditto.
1213 2015-01-09 Pedro Alves <palves@redhat.com>
1215 * gdb.threads/non-stop-fair-events.c: New file.
1216 * gdb.threads/non-stop-fair-events.exp: New file.
1218 2015-01-09 Pedro Alves <palves@redhat.com>
1220 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
1221 the global scope. Set a breakpoint after all threads are started
1222 rather than stepping over two source lines. Expect the prompt.
1223 * gdb.base/watch_thread_num.c (threads_started_barrier): New
1226 (main): Use threads_started_barrier to wait for all threads to
1227 start. Main thread no longer calls thread_function. Exit after
1229 (loop): New function.
1230 (thread_function): Wait on threads_started_barrier barrier. Call
1231 'loop' at each iteration.
1232 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
1233 threads have started, instead of hardcoding number of "next"
1234 steps. Use an access watchpoint instead of a write watchpoint.
1236 2015-01-09 Pedro Alves <palves@redhat.com>
1238 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
1239 (thread_func): Wait on barrier.
1240 (main): Wait for all threads to start before stopping GDB.
1241 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
1243 (thread1_func, thread2_func): Wait on barrier.
1244 (main): Wait for all threads to start before stopping GDB.
1245 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
1247 (thread1_func, thread2_func): Wait on barrier.
1248 (main): Wait for all threads to start before stopping GDB.
1250 2015-01-09 Pedro Alves <palves@redhat.com>
1252 * gdb.threads/attach-many-short-lived-threads.c: New file.
1253 * gdb.threads/attach-many-short-lived-threads.exp: New file.
1255 2014-01-09 Pedro Alves <palves@redhat.com>
1257 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
1258 instead of to thread 2.
1259 * gdb.threads/signal-command-multiple-signals-pending.c (main):
1260 Add barrier around each pthread_create call instead of around all
1262 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
1263 Set a break on thread_function and have the child threads hit it
1266 2015-01-09 Pedro Alves <palves@redhat.com>
1268 * lib/gdb.exp (can_spawn_for_attach): New procedure.
1269 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
1271 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
1272 checking whether the target board is remote.
1273 * gdb.multi/multi-attach.exp: Likewise.
1274 * gdb.python/py-sync-interp.exp: Likewise.
1275 * gdb.server/ext-attach.exp: Likewise.
1276 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
1277 tests that need to attach, instead of checking whether the target
1278 board is remote at the top of the file.
1280 2015-01-08 Yao Qi <yao@codesourcery.com>
1282 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
1284 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1286 Fix testcase compilation.
1287 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
1289 2015-01-06 Joel Brobecker <brobecker@adacore.com>
1291 * gdb.python/py-type.exp: Add a couple test about empty
1292 array creation, and negative-length array creation.
1294 2015-01-02 Doug Evans <xdje42@gmail.com>
1296 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
1298 2015-01-02 Doug Evans <dje@google.com>
1300 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
1302 2014-12-29 Yao Qi <yao@codesourcery.com>
1304 * gdb.trace/entry-values.exp: Update comments. Rename variable
1305 bar_call_foo to returned_from_foo.
1307 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
1310 * gdb.linespec/break-asm-file.c: New file.
1311 * gdb.linespec/break-asm-file.exp: New file.
1312 * gdb.linespec/break-asm-file0.s: New file.
1313 * gdb.linespec/break-asm-file1.s: New file.
1315 2014-12-18 Nigel Stephens <nigel@mips.com>
1316 Maciej W. Rozycki <macro@codesourcery.com>
1318 * gdb.base/float.exp: Handle the new output from "info float" on
1321 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1323 Fix MinGW compilation.
1324 * gdb.compile/compile-ops.exp: Update untested message if
1325 !skip_compile_feature_tests.
1326 * gdb.compile/compile-setjmp.exp: Likewise.
1327 * gdb.compile/compile-tls.exp: Likewise.
1328 * gdb.compile/compile.exp: Likewise.
1329 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
1330 supported on this host".
1332 2014-12-16 Doug Evans <xdje42@gmail.com>
1334 * boards/stabs.exp: New file.
1336 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
1338 * gdb.base/completion.exp: Adjust to format changes of "maint
1339 print user-registers".
1341 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
1344 * gdb.arch/aarch64-fp.c: New file.
1345 * gdb.arch/aarch64-fp.exp: New file.
1347 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1349 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
1350 r210637, r210913, r211666, r215400, r215817).
1352 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
1353 * dg-extract-results.py: New file.
1354 * dg-extract-results.sh: Use it if the environment seems
1357 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
1359 * dg-extract-results.py (parse_run): Handle warnings that
1360 are printed before a test harness is run.
1362 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
1364 * dg-extract-results.py (Named): Remove __cmp__ method.
1365 (output_variation): Use a key to sort variation.harnesses.
1367 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
1369 * dg-extract-results.py: For Python 3, force sys.stdout to
1370 handle surrogate escape sequences.
1371 (safe_open): New function.
1372 (output_segment, main): Use it.
1374 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
1376 * dg-extract-results.py (Prog.result_re): Include options
1379 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
1381 * dg-extract-results.py (output_variation): Always sort if
1384 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
1386 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
1387 as long as we get pagination notifications.
1389 2014-12-15 Jason Merrill <jason@redhat.com>
1391 * Makefile.in (check-gdb.%): Restore.
1392 * README: Mention it.
1394 2014-12-13 Joel Brobecker <brobecker@adacore.com>
1396 * gdb.ada/str_uninit: New testcase.
1398 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1401 * gdb.base/vla-stub-define.c: New file.
1402 * gdb.base/vla-stub.c: New file.
1403 * gdb.base/vla-stub.exp: New file.
1405 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
1406 Jan Kratochvil <jan.kratochvil@redhat.com>
1407 Tom Tromey <tromey@redhat.com>
1409 * configure.ac: Add gdb.compile/.
1410 * configure: Regenerate.
1411 * gdb.compile/Makefile.in: New file.
1412 * gdb.compile/compile-ops.exp: New file.
1413 * gdb.compile/compile-ops.c: New file.
1414 * gdb.compile/compile-tls.c: New file.
1415 * gdb.compile/compile-tls.exp: New file.
1416 * gdb.compile/compile-constvar.S: New file.
1417 * gdb.compile/compile-constvar.c: New file.
1418 * gdb.compile/compile-mod.c: New file.
1419 * gdb.compile/compile-nodebug.c: New file.
1420 * gdb.compile/compile-setjmp-mod.c: New file.
1421 * gdb.compile/compile-setjmp.c: New file.
1422 * gdb.compile/compile-setjmp.exp: New file.
1423 * gdb.compile/compile-shlib.c: New file.
1424 * gdb.compile/compile.c: New file.
1425 * gdb.compile/compile.exp: New file.
1426 * lib/gdb.exp (skip_compile_feature_tests): New proc.
1428 2014-12-12 Tom Tromey <tromey@redhat.com>
1430 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
1431 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
1433 2014-12-12 Doug Evans <dje@google.com>
1435 * lib/gdb-python.exp (get_python_valueof): New function.
1436 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
1438 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1440 * gdb.base/completion.exp: Add test for completion of "info
1443 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
1445 * gdb.base/func-ptrs.c: New file.
1446 * gdb.base/func-ptrs.exp: New file.
1448 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1450 PR breakpoints/17012
1451 * gdb.base/dprintf-detach.c: New file.
1452 * gdb.base/dprintf-detach.exp: New file.
1454 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1456 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
1457 * lib/gdb.exp (target_is_gdbserver): New procedure.
1459 2014-12-08 Doug Evans <dje@google.com>
1461 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
1463 2014-12-05 Yao Qi <yao@codesourcery.com>
1465 * gdb.guile/scm-error.exp: Remove the third argument to
1466 gdb_remote_download.
1467 * gdb.guile/scm-frame-args.exp: Likewise.
1468 * gdb.guile/scm-section-script.exp: Likewise.
1470 2014-12-05 Yao Qi <yao@codesourcery.com>
1472 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
1474 2014-12-04 Doug Evans <dje@google.com>
1476 * gdb.python/py-objfile.exp: Add tests for
1477 objfile.add_separate_debug_file.
1479 2014-12-04 Doug Evans <dje@google.com>
1481 * lib/gdb.exp (get_build_id): New function.
1482 (build_id_debug_filename_get): Rewrite to use it.
1483 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
1485 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
1487 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
1488 `method(long)', not just 0x0.
1489 * gdb.cp/nsalias.exp: Align code labels to 4.
1490 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
1491 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
1492 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
1493 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
1494 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
1495 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
1497 2014-12-02 Doug Evans <dje@google.com>
1500 * gdb.cp/anon-ns.cc: Move guts of this file to ...
1501 * gdb.cp/anon-ns2.cc: ... here. New file.
1502 * gdb.cp/anon-ns.exp: Update.
1504 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
1506 * gdb.python/py-events.py (inferior_call_handler): New.
1507 (register_changed_handler, memory_changed_handler): New.
1508 (test_events.invoke): Register new handlers.
1509 * gdb.python/py-events.exp: Add tests for inferior call,
1510 memory_changed and register_changed events.
1512 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1514 * gdb.base/execl-update-breakpoints.exp: Specify the link address
1515 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
1516 if the linker doesn't understand this.
1518 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
1520 * gdb.python/python.exp: Change expected reply to help().
1522 2014-12-01 Yao Qi <yao@codesourcery.com>
1524 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
1525 AC_CONFIG_SUBDIRS(gdb.gdbtk).
1526 * configure: Re-generated.
1528 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
1530 * gdb.cp/chained-calls.cc: New file.
1531 * gdb.cp/chained-calls.exp: New file.
1532 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
1534 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
1536 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
1537 * gdb.dwarf2/symtab-producer.exp: Same.
1538 * gdb.gdb/python-interrupts.exp: Same.
1539 * gdb.gdb/python-selftest.exp: Same.
1540 * gdb.python/py-linetable.exp: Same.
1541 * gdb.python/py-type.exp: Same.
1542 * gdb.python/py-value-cc.exp: Same.
1543 * gdb.python/py-value.exp: Same.
1545 2014-11-28 Yao Qi <yao@codesourcery.com>
1547 * gdb.base/break-probes.exp: Match library name prefixed with
1550 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
1552 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
1553 test expected output. Add parentheses for the call to print.
1554 Remove L suffix from integers.
1556 2014-11-26 Doug Evans <dje@google.com>
1558 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
1560 2014-11-22 Yao Qi <yao@codesourcery.com>
1562 * gdb.trace/entry-values.c: Remove asms.
1563 (foo): Add foo_label.
1564 (bar): Add bar_label.
1565 * gdb.trace/entry-values.exp: Remove code computing foo's
1566 length and bar's length.
1567 (Dwarf::assemble): Invoke function_range for bar and use
1568 MACRO_AT_func for foo.
1570 2014-11-22 Yao Qi <yao@codesourcery.com>
1572 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
1573 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
1574 Use .Lgcc43_procstart instead of gcc43.
1576 2014-11-21 Joel Brobecker <brobecker@adacore.com>
1578 * gdb.ada/n_arr_bound: New testcase.
1580 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1582 PR breakpoints/10737
1583 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
1584 test_catch_syscall_multi_arch.
1585 (test_catch_syscall_multi_arch): New function.
1587 2014-11-20 Doug Evans <xdje42@gmail.com>
1589 * gdb.base/maint.exp: Update expected output.
1591 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1593 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
1594 4-byte instruction on S390.
1596 2014-11-19 Joel Brobecker <brobecker@adacore.com>
1598 * gdb.ada/arr_arr: New testcase.
1600 2014-11-19 Joel Brobecker <brobecker@adacore.com>
1602 * gdb.ada/pkd_arr_elem: New Testcase.
1604 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
1606 * gdb.reverse/break-precsave: Expect completion message for
1608 * gdb.reverse/consecutive-precsave.exp: Likewise.
1609 * gdb.reverse/finish-precsave.exp: Likewise.
1610 * gdb.reverse/i386-precsave.exp: Likewise.
1611 * gdb.reverse/machinestate-precsave.exp: Likewise.
1612 * gdb.reverse/sigall-precsave.exp: Likewise.
1613 * gdb.reverse/solib-precsave.exp: Likewise.
1614 * gdb.reverse/step-precsave.exp: Likewise.
1615 * gdb.reverse/until-precsave.exp: Likewise.
1616 * gdb.reverse/watch-precsave.exp: Likewise.
1618 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1620 * gdb.base/bp-permanent.c: Include unistd.h.
1621 * gdb.python/py-framefilter-mi.c (main): Add return type.
1622 * gdb.python/py-framefilter.c (main): Likewise.
1623 * gdb.trace/actions-changed.c (main): Likewise.
1625 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1627 * gdb.mi/until.c: Add eye-catchers.
1628 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
1631 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1633 * gdb.base/condbreak.exp: Drop references to removed non-prototype
1634 function header variants in break1.c.
1635 * gdb.base/ena-dis-br.exp: Likewise.
1636 * gdb.base/hbreak2.exp: Likewise.
1637 * gdb.reverse/until-precsave.exp: Drop references to removed
1638 non-prototype function header variants in ur1.c.
1639 * gdb.reverse/until-reverse.exp: Likewise.
1641 2014-11-17 Petr Machata <pmachata@redhat.com>
1643 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
1644 ${_cu_offset_size} bytes abbrev offset.
1646 2014-11-15 Doug Evans <xdje42@gmail.com>
1649 * gdb.base/line-symtabs.exp: New file.
1650 * gdb.base/line-symtabs.c: New file.
1651 * gdb.base/line-symtabs.h: New file.
1653 2014-11-14 Yao Qi <yao@codesourcery.com>
1655 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
1656 (func): Add label func_label.
1657 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
1658 Replace low_pc and high_pc with MACRO_AT_range.
1659 Replace name, low_pc and high_pc with MACRO_AT_func.
1661 2014-11-14 Yao Qi <yao@codesourcery.com>
1663 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
1664 Replace name, low_pc and high_pc with MACRO_AT_func.
1666 2014-11-14 Yao Qi <yao@codesourcery.com>
1668 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
1669 produce debug information.
1670 * gdb.dwarf2/implptr-optimized-out.S: Removed.
1672 2014-11-14 Yao Qi <yao@codesourcery.com>
1674 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
1675 object and get function length.
1676 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
1678 (top-level): Replace gdb_compile and clean_restart with
1679 prepare_for_testing.
1680 * gdb.dwarf2/main.c (main): Add label main_label.
1682 2014-11-14 Yao Qi <yao@codesourcery.com>
1684 * lib/dwarf.exp (function_range): New procedure.
1685 (Dwarf::_handle_macro_at_func): New procedure.
1686 (Dwarf::_handle_macro_at_range): New procedure.
1687 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
1689 2014-11-14 Yao Qi <yao@codesourcery.com>
1691 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
1692 (_handle_attribute): New procedure.
1694 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1696 * gdb.ada/cond_lang/foo.c (callme): Add return type.
1697 * gdb.base/call-sc.c (zed): Likewise.
1698 * gdb.base/checkpoint.c (main): Likewise.
1699 * gdb.base/dump.c (main): Likewise.
1700 * gdb.base/gcore.c (main): Likewise.
1701 * gdb.base/huge.c (main): Likewise.
1702 * gdb.base/multi-forks.c (main): Likewise.
1703 * gdb.base/pr10179-a.c (main): Likewise.
1704 * gdb.base/savedregs.c (main): Likewise.
1705 * gdb.base/sigaltstack.c (main): Likewise.
1706 * gdb.base/siginfo.c (main): Likewise.
1707 * gdb.base/structs.c (zed): Likewise.
1708 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
1709 * gdb.mi/mi-syn-frame.c (main): Likewise.
1710 * gdb.mi/until.c (foo, main): Likewise.
1711 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
1712 * gdb.base/solib-weak.c (foo): Declare.
1713 * gdb.base/attach-twice.c: Include stdio.h.
1714 * gdb.base/weaklib1.c: Likewise.
1715 * gdb.base/weaklib2.c: Likewise.
1716 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
1717 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
1719 * gdb.base/attach-pie-misread.c: Include stdlib.h.
1720 * gdb.mi/mi-exit-code.c: Likewise.
1721 * gdb.base/break-interp-lib.c: Include string.h.
1722 * gdb.base/coremaker.c: Likewise.
1723 * gdb.base/testenv.c: Likewise.
1724 * gdb.python/py-finish-breakpoint.c: Likewise.
1725 * gdb.base/inferior-died.c: Include sys/wait.h.
1726 * gdb.base/fileio.c: Include time.h.
1727 * gdb.base/async-shell.c: Include unistd.h.
1728 * gdb.base/dprintf-non-stop.c: Likewise.
1729 * gdb.base/info-os.c: Likewise.
1730 * gdb.mi/mi-console.c: Likewise.
1731 * gdb.mi/watch-nonstop.c: Likewise.
1732 * gdb.python/py-events.c: Likewise.
1733 * gdb.base/async.c (baz): Move up before its invocation.
1734 * gdb.base/code_elim2.c (my_global_func): Likewise.
1735 * gdb.base/skip-solib-lib.c (multiply): Likewise.
1736 * gdb.base/advance.c (func2): Likewise.
1738 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1740 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
1742 * gdb.base/annota3.c: Likewise.
1743 * gdb.base/async.c: Likewise.
1744 * gdb.base/average.c: Likewise.
1745 * gdb.base/call-ar-st.c: Likewise.
1746 * gdb.base/call-rt-st.c: Likewise.
1747 * gdb.base/call-sc.c: Likewise.
1748 * gdb.base/call-strs.c: Likewise.
1749 * gdb.base/ending-run.c: Likewise.
1750 * gdb.base/execd-prog.c: Likewise.
1751 * gdb.base/exprs.c: Likewise.
1752 * gdb.base/foll-exec.c: Likewise.
1753 * gdb.base/foll-fork.c: Likewise.
1754 * gdb.base/foll-vfork.c: Likewise.
1755 * gdb.base/funcargs.c: Likewise.
1756 * gdb.base/gcore.c: Likewise.
1757 * gdb.base/jump.c: Likewise.
1758 * gdb.base/langs0.c: Likewise.
1759 * gdb.base/langs1.c: Likewise.
1760 * gdb.base/langs2.c: Likewise.
1761 * gdb.base/mips_pro.c: Likewise.
1762 * gdb.base/nodebug.c: Likewise.
1763 * gdb.base/opaque0.c: Likewise.
1764 * gdb.base/opaque1.c: Likewise.
1765 * gdb.base/recurse.c: Likewise.
1766 * gdb.base/run.c: Likewise.
1767 * gdb.base/scope0.c: Likewise.
1768 * gdb.base/scope1.c: Likewise.
1769 * gdb.base/setshow.c: Likewise.
1770 * gdb.base/setvar.c: Likewise.
1771 * gdb.base/shmain.c: Likewise.
1772 * gdb.base/shr1.c: Likewise.
1773 * gdb.base/shr2.c: Likewise.
1774 * gdb.base/sigall.c: Likewise.
1775 * gdb.base/signals.c: Likewise.
1776 * gdb.base/so-indr-cl.c: Likewise.
1777 * gdb.base/solib2.c: Likewise.
1778 * gdb.base/structs.c: Likewise.
1779 * gdb.base/sum.c: Likewise.
1780 * gdb.base/vforked-prog.c: Likewise.
1781 * gdb.base/watchpoint.c: Likewise.
1782 * gdb.reverse/shr2.c: Likewise.
1783 * gdb.reverse/until-reverse.c: Likewise.
1784 * gdb.reverse/ur1.c: Likewise.
1785 * gdb.reverse/watch-reverse.c: Likewise.
1787 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1789 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
1791 * gdb.base/sepdebug.exp: Drop references to removed code.
1793 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1795 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
1796 variant. Preserve original line numbering.
1797 * gdb.base/list1.c: Likewise.
1799 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1801 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
1803 * gdb.base/break1.c: Likewise.
1804 * gdb.base/break.exp: Drop references to removed code.
1806 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1808 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
1811 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1813 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
1815 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1817 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
1818 logic into perform_all_tests() and invoke it with and without
1819 function header prototypes.
1820 (do_function_calls): Remove conditional XFAIL for PR 5318.
1821 (rerun_and_prepare): Remove duplicate code.
1822 (perform_all_tests): New. Main logic moved here.
1824 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1826 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
1827 code guarded by #ifdef NO_PROTOTYPES.
1828 (t_double_many_args): Likewise.
1829 (DEF_FUNC_MANY_ARGS_1): Likewise.
1830 (DEF_FUNC_VALUES_1): Likewise.
1831 (t_structs_ldc): Renamed from t_structs_fc in conditional code
1832 guarded by #ifdef PROTOTYPES.
1834 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1836 * gdb.mi/mi-console.c: Add eye-catcher.
1837 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
1838 instead of literal line number.
1840 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1842 * gdb.base/shr2.c: Add eye-catcher.
1843 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
1846 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1848 * gdb.base/jump.c: Add eye-catchers.
1849 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
1852 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1854 * gdb.base/execd-prog.c: Add eye-catchers.
1855 * gdb.base/foll-exec.c: Likewise.
1856 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
1859 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1861 * gdb.base/ending-run.c: Add eye-catchers.
1862 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
1863 literal line numbers.
1865 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1867 * gdb.base/call-rt-st.c: Add eye-catchers.
1868 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
1869 literal line numbers.
1871 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1873 * gdb.base/call-ar-st.c: Add eye-catchers.
1874 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
1875 literal line numbers.
1877 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1879 * gdb.base/average.c: Add eye-catchers.
1880 * gdb.base/sum.c: Likewise.
1881 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
1882 regexps dynamically.
1884 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1886 * gdb.base/solib1.c: Add eye-catchers.
1887 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
1888 literal line numbers.
1890 2014-11-12 Pedro Alves <palves@redhat.com>
1892 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
1895 2014-11-12 Pedro Alves <palves@redhat.com>
1897 * gdb.arch/i386-bp_permanent.c: New file.
1898 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
1899 (srcfile): Set to i386-bp_permanent.c.
1900 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
1901 that stepi does not execute the 'leave' instruction, instead of
1902 testing it does execute.
1903 * gdb.base/bp-permanent.c: New file.
1904 * gdb.base/bp-permanent.exp: New file.
1906 2014-11-10 Doug Evans <xdje42@gmail.com>
1909 * gdb.base/symtab-search-order.exp: New file.
1910 * gdb.base/symtab-search-order.c: New file.
1911 * gdb.base/symtab-search-order-1.c: New file.
1912 * gdb.base/symtab-search-order-shlib-1.c: New file.
1914 2014-11-07 Pedro Alves <palves@redhat.com>
1917 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
1920 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
1923 * gdb.cp/pr17494.cc: New file.
1924 * gdb.cp/pr17494.exp: New file.
1926 2014-11-02 Yao Qi <yao@codesourcery.com>
1928 * gdb.python/python.exp: Get working directory and match the
1929 output of "set extended-prompt \\w " with it.
1931 2014-10-30 Doug Evans <dje@google.com>
1933 * gdb.python/py-objfile.exp: Add tests for setting random attributes
1935 * gdb.python/py-progspace.exp: Add tests for setting random attributes
1938 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
1940 * gdb.base/fullpath-expand.exp: Skip for a remote host.
1941 * gdb.base/realname-expand.exp: Likewise.
1942 * gdb.linespec/macro-relative.exp: Likewise.
1944 2014-10-29 Pedro Alves <palves@redhat.com>
1947 * gdb.threads/schedlock.c (some_function): New function.
1948 (call_function): New global.
1949 (MAYBE_CALL_SOME_FUNCTION): New macro.
1950 (thread_function): Call it.
1951 * gdb.threads/schedlock.exp (get_args): Add description parameter,
1952 and use it instead of a global counter. Adjust all callers.
1953 (get_current_thread): Use "find current thread" for test message
1954 here rather than having all callers pass down the same string.
1955 (goto_loop): New procedure, factored out from ...
1956 (my_continue): ... this.
1957 (step_ten_loops): Change parameter from test message to command to
1959 (list_count): Delete global.
1960 (check_result): New procedure, factored out from duplicate top
1962 (continue tests): Wrap in with_test_prefix.
1963 (test_step): New procedure, factored out from duplicate top level
1965 (top level): Test "step" in combination with all scheduler-locking
1966 modes. Test "next" in combination with all scheduler-locking
1967 modes, and in combination with stepping over a function call or
1969 * gdb.threads/next-bp-other-thread.c: New file.
1970 * gdb.threads/next-bp-other-thread.exp: New file.
1972 2014-10-29 Pedro Alves <palves@redhat.com>
1975 * gdb.python/python.exp: Test a multi-line command that spawns
1977 * gdb.base/multi-line-starts-subshell.exp: New file.
1979 2014-10-29 Yao Qi <yao@codesourcery.com>
1981 * gdb.base/fileio.exp: Make directories on host.
1983 2014-10-29 Yao Qi <yao@codesourcery.com>
1985 * gdb.base/fileio.c (test_write): Close the file.
1987 2014-10-28 Pedro Alves <palves@redhat.com>
1990 * gdb.base/sigstep.c (no_handler): New global.
1991 (main): If 'no_handler is true, set the signal handlers to
1993 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
1994 with_sw_watch and no_handler parameters. Handle them.
1995 (top level) <stepping over handler when stopped at a breakpoint
1996 test>: Add a test axis for testing with a software watchpoint, and
1997 another for testing with the signal handler set to SIG_IGN.
1998 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
1999 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
2001 2014-10-28 Pedro Alves <palves@redhat.com>
2004 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
2005 * gdb.base/sigstep.exp (other_handler_location): New global.
2006 (advance): Support stepping into the signal handler, and running
2007 commands while in the handler.
2008 (in_handler_map): New global.
2009 (top level): In the advance test, add combinations for getting
2010 into the handler with stepping commands, and for running commands
2011 in the handler. Add comment descripting the advancei tests.
2013 2014-10-28 Pedro Alves <palves@redhat.com>
2015 * gdb.base/sigstep.exp: Use build_executable instead of
2016 prepare_for_testing.
2017 (top level): Move code that starts GDB, runs to main and creates a
2019 (restart): ... this new procedure.
2020 (top level): Move backtrace from signal handler test to ...
2021 (validate_backtrace): ... this new procedure.
2022 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
2023 with_test_prefix. Always restart GDB.
2024 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
2025 with_test_prefix. Always restart GDB. No need to delete
2026 breakpoints after the test.
2027 (test_skip_handler): Remove prefix parameter.
2028 (skip_over_handler, breakpoint_to_handler)
2029 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
2030 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
2031 restart GDB. No need to delete breakpoints after the test.
2032 (top level): Use foreach to call the test procedures with
2035 2014-10-28 Pedro Alves <palves@redhat.com>
2037 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
2038 instead of GNATS numbers.
2039 * gdb.base/sigbpt.exp: Likewise.
2040 * gdb.base/siginfo.exp: Likewise.
2041 * gdb.base/sigstep.exp: Likewise.
2043 2014-10-27 Pedro Alves <palves@redhat.com>
2045 * gdb.base/sigstep.c (dummy): New global.
2046 (main): Issue a couple writes to the new global.
2047 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
2049 (skip_over_handler): Use test_skip_handler.
2050 (top level): Call skip_over_handler for stepi and nexti too.
2051 (breakpoint_over_handler): Use test_skip_handler.
2052 (top level): Call breakpoint_over_handler for stepi and nexti too.
2054 2014-10-27 Yao Qi <yao@codesourcery.com>
2056 * gdb.trace/tfile.c (adjust_function_address)
2057 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
2058 function descriptor.
2060 2014-10-24 Don Breazeal <donb@codesourcery.com>
2062 * gdb.base/foll-fork.exp (test_follow_fork,
2063 catch_fork_child_follow): Check for updated fork messages emitted
2065 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
2066 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
2067 vfork_and_exec_child_follow_through_step): Check for updated vfork
2068 messages emitted from infrun.c.
2070 2014-10-24 Pedro Alves <palves@redhat.com>
2072 * gdb.base/corefile.exp: Remove references to ultrix.
2073 * gdb.base/interrupt.exp: Likewise.
2074 * gdb.base/whatis.exp: Likewise.
2075 * gdb.gdb/selftest.exp: Likewise.
2076 * gdb.threads/manythreads.exp: Likewise.
2077 * gdb.threads/print-threads.exp: Likewise.
2078 * gdb.threads/pthreads.exp:: Likewise.
2079 * gdb.threads/schedlock.exp: Likewise.
2081 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
2083 * gdb.cp/non-trivial-retval.cc: Add a test case.
2084 * gdb.cp/non-trivial-retval.exp: Add a test.
2086 2014-10-20 Yao Qi <yao@codesourcery.com>
2088 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
2089 * gdb.python/py-objfile-script-gdb.py: New file.
2090 * gdb.python/py-objfile-script.exp: Update reference to
2091 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
2092 of remote_download. Remove the dest file.
2094 2014-10-20 Yao Qi <yao@codesourcery.com>
2096 * gdb.base/checkpoint.exp: Don't remove file copied on host.
2097 * gdb.base/step-line.exp: Likewise.
2098 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2099 * gdb.dwarf2/dw2-basic.exp: Likewise.
2100 * gdb.dwarf2/dw2-compressed.exp: Likewise.
2101 * gdb.dwarf2/dw2-filename.exp: Likewise.
2102 * gdb.dwarf2/dw2-intercu.exp: Likewise.
2103 * gdb.dwarf2/dw2-intermix.exp: Likewise.
2104 * gdb.dwarf2/dw2-producer.exp: Likewise.
2105 * gdb.dwarf2/mac-fileno.exp: Likewise.
2106 * gdb.python/py-frame-args.exp: Likewise.
2107 * gdb.python/py-framefilter.exp: Likewise.
2108 * gdb.python/py-mi.exp: Likewise.
2109 * gdb.python/py-objfile-script.exp: Likewise
2110 * gdb.python/py-pp-integral.exp: Likewise.
2111 * gdb.python/py-pp-re-notag.exp: Likewise.
2112 * gdb.python/py-prettyprint.exp: Likewise.
2113 * gdb.python/py-section-script.exp: Likewise.
2114 * gdb.python/py-typeprint.exp: Likewise.
2115 * gdb.python/py-xmethods.exp: Likewise.
2116 * gdb.stabs/weird.exp: Likewise.
2117 * gdb.xml/tdesc-regs.exp: Likewise.
2119 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
2121 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
2122 (out_cu): Use addr_len for the size of addresses.
2123 (out_line): Likewise. Size DW_LNE_set_address instruction
2124 according to addr_len.
2125 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
2126 (FUNC): Add START_INSNS to definition.
2128 2014-10-18 Yao Qi <yao@codesourcery.com>
2130 * gdb.base/argv0-symlink.exp: Check argv[0] value if
2131 gdb_has_argv0 return true.
2132 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
2133 check [target_info exists noargs], check [gdb_has_argv0]
2135 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2136 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
2139 2014-10-17 Doug Evans <dje@google.com>
2141 * gdb.python/py-events.exp: Update expected output for clear_objfiles
2143 * gdb.python/py-events.py: Add clear_objfiles event.
2145 2014-10-17 Doug Evans <dje@google.com>
2147 * gdb.python/py-objfile.exp: Test progspace attribute.
2149 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
2151 * gdb.guile/scm-breakpoint.exp: Do not assume any
2152 directory separators when matching source file paths.
2153 * gdb.python/py-breakpoint.exp: Likewise.
2154 * gdb.reverse/break-precsave.exp: Likewise.
2155 * gdb.reverse/break-reverse.exp: Likewise.
2156 * gdb.reverse/consecutive-precsave.exp: Likewise.
2157 * gdb.reverse/finish-precsave.exp: Likewise.
2158 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
2159 * gdb.reverse/finish-reverse.exp: Likewise.
2160 * gdb.reverse/i386-precsave.exp: Likewise.
2161 * gdb.reverse/i387-env-reverse.exp: Likewise.
2162 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2163 * gdb.reverse/machinestate-precsave.exp: Likewise.
2164 * gdb.reverse/machinestate.exp: Likewise.
2165 * gdb.reverse/sigall-precsave.exp: Likewise.
2166 * gdb.reverse/solib-precsave.exp: Likewise.
2167 * gdb.reverse/step-precsave.exp: Likewise.
2168 * gdb.reverse/until-precsave.exp: Likewise.
2169 * gdb.reverse/watch-precsave.exp: Likewise.
2170 * gdb.reverse/watch-reverse.exp: Likewise.
2172 2014-10-17 Yao Qi <yao@codesourcery.com>
2174 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
2175 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
2177 2014-10-17 Pedro Alves <palves@redhat.com>
2180 * gdb.base/bg-execution-repeat.c: New file.
2181 * gdb.base/bg-execution-repeat.exp: New file.
2183 2014-10-17 Pedro Alves <palves@redhat.com>
2186 * gdb.base/continue-all-already-running.c: New file.
2187 * gdb.base/continue-all-already-running.exp: New file.
2189 2014-10-17 Pedro Alves <palves@redhat.com>
2192 * gdb.base/annota-input-while-running.c: New file.
2193 * gdb.base/annota-input-while-running.exp: New file.
2195 2014-10-17 Pedro Alves <palves@redhat.com>
2197 * gdb.base/callfuncs.exp: emove references to osf.
2198 * gdb.base/sigall.exp: Likewise.
2199 * gdb.gdb/selftest.exp: Likewise.
2200 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2201 * gdb.mi/non-stop.c: Likewise.
2202 * gdb.mi/pthreads.c: Likewise.
2203 * gdb.reverse/sigall-precsave.exp: Likewise.
2204 * gdb.reverse/sigall-reverse.exp: Likewise.
2205 * gdb.threads/pthreads.c: Likewise.
2206 * gdb.threads/pthreads.exp: Likewise.
2208 2014-10-17 Yao Qi <yao@codesourcery.com>
2210 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
2211 check 'target_info exists noargs'.
2212 (test_command_prompt_position): Likewise.
2213 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
2215 (progvar_simple_while_test): Likewise.
2216 (progvar_complex_if_while_test): Likewise.
2217 (if_while_breakpoint_command_test): Likewise.
2218 (infrun_breakpoint_command_test): Likewise.
2219 (breakpoint_command_test): Likewise.
2220 (watchpoint_command_test): Likewise.
2221 (bp_deleted_in_command_test): Likewise.
2222 (temporary_breakpoint_commands): Likewise.
2224 2014-10-16 Yao Qi <yao@codesourcery.com>
2226 * gdb.base/remotetimeout.exp: Remove noargs checking.
2228 2014-10-15 Pedro Alves <palves@redhat.com>
2231 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
2232 * gdb.base/breakpoint-in-ro-region.exp
2233 (probe_target_hardware_step): New procedure.
2234 (top level): Probe hardware stepping and hardware breakpoint
2235 support. Test stepping through a read-only region, with both
2236 "breakpoint auto-hw" on and off and both "always-inserted" on and
2239 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
2241 * gdb.dlang/demangle.exp: Update for demangling changes.
2243 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2245 * gdb.cp/non-trivial-retval.cc: Add new test cases.
2246 * gdb.cp/non-trivial-retval.exp: Add new tests.
2248 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2252 * gdb.cp/non-trivial-retval.cc: New file.
2253 * gdb.cp/non-trivial-retval.exp: New file.
2255 2014-10-15 Yao Qi <yao@codesourcery.com>
2257 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
2260 2014-10-15 Yao Qi <yao@codesourcery.com>
2262 * gdb.python/py-symbol.exp: Match file base name if host is
2263 remote, otherwise match file name with dir name.
2264 * gdb.python/py-symtab.exp: Likewise.
2265 * gdb.python/python.exp: Likewise.
2267 2014-10-15 Yao Qi <yao@codesourcery.com>
2269 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
2271 * gdb.python/py-symtab.exp: Likewise.
2272 * gdb.python/python.exp: Remove trailing ".*". Fix typo
2275 2014-10-14 Joel Brobecker <brobecker@adacore.com>
2277 * gdb.ada/addr_arith: New testcase.
2279 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
2281 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
2282 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
2283 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
2284 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
2286 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
2288 * gdb.arch/stap-eval-lang-ada.S: Likewise.
2289 * gdb.arch/stap-eval-lang-ada.c: Likewise.
2290 * gdb.arch/stap-eval-lang-ada.exp: New file.
2292 2014-10-14 Yao Qi <yao@codesourcery.com>
2294 * gdb.mi/mi-var-child.c (nothing1): New function.
2295 (nothing2): New function.
2296 (do_children_tests): Set function pointers by nothing1 and
2298 * gdb.mi/mi-var-child.exp: Step over new added statements.
2299 Update test to match the new output.
2300 * gdb.mi/var-cmd.c (nothing1): New function.
2301 (nothing2): New function.
2302 (do_children_tests): Set function pointers by nothing1 and
2304 * gdb.mi/mi-var-display.exp: Update test to match output.
2305 Step to the line specified by $line_dct_nothing.
2306 Increase the number of lines to step.
2308 2014-10-14 Yao Qi <yao@codesourcery.com>
2310 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
2312 * gdb.mi/mi2-var-child.exp: Likewise.
2314 2014-10-13 Doug Evans <dje@google.com>
2316 * gdb.python/py-objfile.exp: Change name of file name test.
2318 2014-10-13 Doug Evans <dje@google.com>
2320 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
2321 from the start of the CU.
2323 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2324 Yao Qi <yao@codesourcery.com>
2326 Fix "save breakpoints" for "catch" command.
2327 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
2328 Remove -nonewline. Match also the added "main" line.
2330 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2332 Fix "save breakpoints" for "disable $bpnum" command.
2333 * gdb.base/save-bp.c (main): Add label.
2334 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
2336 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2338 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
2340 2014-10-11 Yao Qi <yao@codesourcery.com>
2342 * gdb.server/server-kill.exp: Execute command
2343 "set remote trace-status-packet on" before "tstatus".
2345 2014-10-11 Yao Qi <yao@codesourcery.com>
2347 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
2348 (main): Call getppid.
2349 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
2350 and continue to it. Read variable "server_pid".
2352 2014-10-11 Yao Qi <yao@codesourcery.com>
2354 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
2356 2014-10-11 Yao Qi <yao@codesourcery.com>
2358 * gdb.threads/thread-find.exp: Don't execute command
2360 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
2361 * gdb.threads/linux-dp.exp: Don't check the condition
2362 $threads_created equals to zero.
2364 2014-10-10 Pedro Alves <palves@redhat.com>
2366 * gdb.base/bigcore.exp: Remove references to IRIX.
2367 * gdb.base/funcargs.exp: Likewise.
2368 * gdb.base/interrupt.exp: Likewise.
2369 * gdb.base/mips_pro.exp: Likewise.
2370 * gdb.base/nodebug.exp: Likewise.
2371 * gdb.base/setvar.exp: Likewise.
2372 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
2374 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2375 Pedro Alves <palves@redhat.com>
2378 * gdb.base/vdso-warning.c: New file.
2379 * gdb.base/vdso-warning.exp: New file.
2381 2014-10-02 Doug Evans <dje@google.com>
2383 * gdb.base/structs.c (main): Don't run forever.
2385 2014-10-02 Pedro Alves <palves@redhat.com>
2387 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
2388 (top level) <stop threads 1, stop threads 2>: Use it.
2390 2014-10-02 Pedro Alves <palves@redhat.com>
2392 * gdb.threads/break-while-running.exp (test): Add new
2393 'update_thread_list' argument. Skip "info threads" if false.
2394 (top level): Add new 'update_thread_list' axis.
2396 2014-10-02 Pedro Alves <palves@redhat.com>
2398 PR breakpoints/17431
2399 * gdb.base/execl-update-breakpoints.c: New file.
2400 * gdb.base/execl-update-breakpoints.exp: New file.
2402 2014-10-01 Pedro Alves <palves@redhat.com>
2404 * gdb.base/breakpoint-in-ro-region.c: New file.
2405 * gdb.base/breakpoint-in-ro-region.exp: New file.
2407 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
2409 * gdb.mi/mi-exit-code.exp: New file.
2410 * gdb.mi/mi-exit-code.c: New file.
2412 2014-09-30 Yao Qi <yao@codesourcery.com>
2414 * lib/prelink-support.exp (build_executable_own_libs): Error if
2415 the target isn't native.
2417 2014-09-30 Yao Qi <yao@codesourcery.com>
2419 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
2422 2014-09-22 Pedro Alves <palves@redhat.com>
2424 * gdb.threads/break-while-running.exp: New file.
2425 * gdb.threads/break-while-running.c: New file.
2427 2014-09-19 Yao Qi <yao@codesourcery.com>
2429 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
2430 Invoke test. Restart GDB with --readnow and invoke test again.
2432 2014-09-19 Yao Qi <yao@codesourcery.com>
2434 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
2435 proc set_breakpoint_on_gcd_function. Invoke
2436 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
2437 invoke set_breakpoint_on_gcd_function again.
2439 2014-09-18 Doug Evans <dje@google.com>
2441 * gdb.dwarf2/symtab-producer.exp: New file.
2443 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2445 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
2446 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
2447 * gdb.base/global-var-nested-by-dso.c: Likewise.
2448 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2450 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2451 Pedro Alves <palves@redhat.com>
2453 * gdb.base/watch-bitfields.exp: Pass string other than test file
2454 name to prepare_for_testing.
2455 (watch): New procedure.
2456 (expect_watchpoint): Use with_test_prefix.
2457 (top level): Factor out tests to ...
2458 (test_watch_location, test_regular_watch): ... these new
2459 procedures, and use with_test_prefix and gdb_continue_to_end.
2461 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
2463 PR breakpoints/12526
2464 * gdb.base/watch-bitfields.exp: New file.
2465 * gdb.base/watch-bitfields.c: New file.
2467 2014-09-16 Pedro Alves <palves@redhat.com>
2469 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
2470 software and hardware addresses, not software address against
2473 2014-09-16 Pedro Alves <palves@redhat.com>
2475 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
2476 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
2478 2014-09-16 Pedro Alves <palves@redhat.com>
2480 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
2482 * gdb.base/a2-run.exp: Remove all code guarded by istarget
2483 "*-*-vxworks*" throughout.
2484 * gdb.base/break.exp: Likewise.
2485 * gdb.base/default.exp: Likewise.
2486 * gdb.base/scope.exp: Likewise.
2487 * gdb.base/sepdebug.exp: Likewise.
2488 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
2490 * gdb.base/run.c: Likewise.
2491 * gdb.base/sepdebug.c: Likewise.
2492 * gdb.hp/gdb.aCC/run.c: Likewise.
2493 * gdb.reverse/until-reverse.c: Likewise.
2494 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
2496 2014-09-16 Yao Qi <yao@codesourcery.com>
2498 * boards/local-remote-host-native.exp: New file.
2500 2014-09-14 Doug Evans <xdje42@gmail.com>
2502 * gdb.threads/queue-signal.c (thread_count): New variable.
2503 (thread_count_mutex, thread_count_condvar): New variables.
2504 (incr_thread_count, wait_all_threads_running): New functions.
2505 (main): Wait for all threads to be in their thread functions.
2507 2014-09-13 Doug Evans <xdje42@gmail.com>
2509 * gdb.threads/queue-signal.c: New file.
2510 * gdb.threads/queue-signal.exp: New file.
2512 2014-09-13 Doug Evans <xdje42@gmail.com>
2514 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
2515 be consistent with what default_gdb_init uses.
2516 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
2517 the plain text of the prompt. Add some logging printfs.
2518 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
2520 2014-09-12 Pedro Alves <palves@redhat.com>
2522 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
2523 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
2524 * gdb.arch/i386-size-overlap.exp: Likewise.
2525 * gdb.arch/i386-size.exp: Likewise.
2526 * gdb.arch/i386-unwind.exp: Likewise.
2527 * gdb.base/a2-run.exp: Likewise.
2528 * gdb.base/break.exp: Likewise.
2529 * gdb.base/charset.exp: Likewise.
2530 * gdb.base/chng-syms.exp: Likewise.
2531 * gdb.base/commands.exp: Likewise.
2532 * gdb.base/dbx.exp: Likewise.
2533 * gdb.base/find.exp: Likewise.
2534 * gdb.base/funcargs.exp: Likewise.
2535 * gdb.base/jit-simple.exp: Likewise.
2536 * gdb.base/reread.exp: Likewise.
2537 * gdb.base/sepdebug.exp: Likewise.
2538 * gdb.base/step-bt.exp: Likewise.
2539 * gdb.cp/mb-inline.exp: Likewise.
2540 * gdb.cp/mb-templates.exp: Likewise.
2541 * gdb.objc/basicclass.exp: Likewise.
2542 * gdb.threads/killed.exp: Likewise.
2544 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2547 * gdb.arch/powerpc-stackless.S: New file.
2548 * gdb.arch/powerpc-stackless.exp: New file.
2550 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2552 * gdb.base/attach.c: Include unistd.h.
2553 (main): Call alarm. Add label postloop.
2554 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
2555 gdb_breakpoint, gdb_continue_to_breakpoint.
2556 (test_command_line_attach_run): Kill ${testpid} in one exit path.
2558 2014-09-11 Pedro Alves <palves@redhat.com>
2561 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
2562 * gdb.base/attach.exp (test_command_line_attach_run): New
2564 (top level): Call it.
2566 2014-09-11 Pedro Alves <palves@redhat.com>
2568 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
2569 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
2570 (do_command_attach_tests): Use spawn_wait_for_attach.
2571 * gdb.base/solib-overlap.exp: Likewise.
2572 * gdb.multi/multi-attach.exp: Likewise.
2573 * gdb.python/py-prompt.exp: Likewise.
2574 * gdb.python/py-sync-interp.exp: Likewise.
2575 * gdb.server/ext-attach.exp: Likewise.
2577 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
2579 * gdb.fortran/array-element.exp: Remove unexpected "continue"
2580 command in testcase. Simplify testcase.
2582 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2584 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
2586 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2588 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
2590 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2592 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
2594 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2596 * gdb.dwarf2/dynarr-ptr.c: New file.
2597 * gdb.dwarf2/dynarr-ptr.exp: New file.
2599 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2601 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
2602 of 30 rather than hardcoding 120 for a slow test case. Take the
2603 `gdb,timeout' target setting into account for this calculation.
2604 Don't extend the timeout for the test cases that don't need it.
2606 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2608 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
2609 a factor of 2 for a slow test case. Take the `gdb,timeout'
2610 target setting into account for this calculation.
2611 * gdb.reverse/until-precsave.exp: Increase the timeout by
2612 a factor of 15 and 3 respectively rather than adding 120
2613 for a pair of slow test cases. Take the `gdb,timeout'
2614 target setting into account for this calculation.
2616 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2618 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
2619 timeout, don't pass one down to gdb_expect.
2620 (gdb_expect): Rework timeout selection.
2622 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2624 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
2625 exception on timeout.
2626 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
2627 (gdbserver_start_extended): Catch any `gdbserver_start' error
2629 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
2630 * lib/mi-support.exp (mi_gdb_target_load): Catch any
2631 `gdbserver_gdb_load' error exceptions.
2633 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2635 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
2636 120 on waiting for the TCP socket to open.
2638 2014-09-09 Doug Evans <xdje42@gmail.com>
2640 * gdb.base/default.exp (show_conv_list): Add _caller_is,
2641 _caller_matches, _any_caller_is, _any_caller_matches.
2643 2014-09-09 Doug Evans <xdje42@gmail.com>
2645 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
2647 2014-09-09 Yao Qi <yao@codesourcery.com>
2649 * gdb.mi/mi-var-display.exp: Set print symbol off.
2651 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
2654 * gdb.base/commands.exp: Add tests to verify user-defined
2655 commands with empty bodies.
2656 * gdb.python/py-cmd.exp: Test that we don't show user-defined
2657 python commands in `show user command`.
2658 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
2659 scheme commands in `show user command`.
2661 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2664 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
2665 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
2666 * gdb.python/py-framefilter-invalidarg.exp: New file.
2667 * gdb.python/py-framefilter-invalidarg.py: New file.
2669 2014-09-06 Doug Evans <xdje42@gmail.com>
2672 * gdb.python/py-caller-is.c: New file.
2673 * gdb.python/py-caller-is.exp: New file.
2675 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
2678 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
2679 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
2681 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
2684 * gdb.fortran/print-formatted.exp: New file.
2685 * gdb.fortran/print-formatted.f90: Likewise.
2687 2014-09-03 Sasha Smundak <asmundak@google.com>
2689 * gdb.python/py-frame.exp: Test Frame.read_register.
2691 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2694 * gdb.python/py-completion.exp: New file.
2695 * gdb.python/py-completion.py: Likewise.
2697 2014-08-28 Doug Evans <dje@google.com>
2699 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
2700 eax,etc. are live with values set by gdb and thus the compiler can't
2702 * gdb.arch/i386-pseudo.c (main): Ditto.
2704 2014-08-27 Doug Evans <dje@google.com>
2706 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
2708 2014-08-25 Doug Evans <dje@google.com>
2710 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
2713 2014-08-25 Doug Evans <dje@google.com>
2715 * gdb.threads/thread-execl.exp: #include <stdio.h>.
2717 2014-08-24 Yao Qi <yao@codesourcery.com>
2719 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
2721 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
2723 2014-08-22 Doug Evans <dje@google.com>
2726 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
2727 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
2728 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
2730 2014-08-22 Yao Qi <yao@codesourcery.com>
2732 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
2733 * gdb.python/py-finish-breakpoint2.exp: Likewise.
2734 * gdb.python/python.exp: Likewise. Use .py file on the host
2735 instead of the build.
2737 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2739 * gdb.threads/gcore-stale-thread.c: New file.
2740 * gdb.threads/gcore-stale-thread.exp: New file.
2742 2014-08-21 Pedro Alves <palves@redhat.com>
2744 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
2745 * gdb.base/gcore-relro-pie.exp: Likewise.
2746 * gdb.base/gcore-relro.exp: Likewise.
2747 * gdb.base/gcore.exp: Likewise.
2748 * gdb.base/print-symbol-loading.exp: Likewise.
2749 * gdb.threads/gcore-thread.exp: Likewise.
2750 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
2752 2014-08-20 Pedro Alves <palves@redhat.com>
2753 Jan Kratochvil <jan.kratochvil@redhat.com>
2755 * Makefile.in (EXTRA_RULES, CC): New variables, get from
2757 (EXPECT): Handle READ1 being set.
2758 (all): Depend on EXTRA_RULES.
2759 (check-read1, expect-read1, read1.so, read1): New rules.
2760 * README (Testsuite Parameters): Document the READ1 make variable.
2761 (Race detection): New section.
2762 * configure: Regenerate.
2763 * configure.ac: If build==host==target, and running under a
2764 GNU/glibc system, add read1 to the extra Makefile rules.
2765 (EXTRA_RULES): AC_SUBST it.
2766 * lib/read1.c: New file.
2768 2014-08-20 Joel Brobecker <brobecker@adacore.com>
2770 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
2771 the handling of variables declared as a typedef to an array
2772 which a DW_AT_data_location attribute.
2774 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
2775 Pedro Alves <palves@redhat.com>
2779 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
2782 2014-08-19 Pedro Alves <palves@redhat.com>
2784 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
2786 2014-08-19 Yao Qi <yao@codesourcery.com>
2788 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
2791 2014-08-18 David Blaikie <dblaikie@gmail.com>
2793 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
2795 2014-08-18 Joel Brobecker <brobecker@adacore.com>
2797 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
2798 attribute in array range.
2800 2014-08-18 Joel Brobecker <brobecker@adacore.com>
2802 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
2804 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2807 * gdb.cp/pr17132.cc: New file.
2808 * gdb.cp/pr17132.exp: New file.
2810 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2812 * gdb.python/py-xmethods.py (A_getarrayind)
2813 (E_method_char_worker.__call__, E_method_int_worker.__call__):
2814 Use 'print' with function call syntax.
2815 (E_method_matcher.match): Fix tab vs space indentation mixup.
2817 2014-08-15 Yao Qi <yao@codesourcery.com>
2819 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
2822 2014-08-15 Yao Qi <yao@codesourcery.com>
2824 * gdb.cp/casts.exp: Set print symbol off.
2825 * gdb.cp/class2.exp: Likewise.
2826 * gdb.cp/overload.exp: Likewise.
2827 * gdb.cp/templates.exp: Likewise.
2829 2014-08-11 Doug Evans <dje@google.com>
2831 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2832 (test_load_shlib): Update.
2834 2014-08-09 Yao Qi <yao@codesourcery.com>
2836 * gdb.base/display.exp: Invoke is_address_zero_readable.
2837 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
2838 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2839 * gdb.base/hbreak-unmapped.exp: Return if
2840 is_address_zero_readable returns true.
2841 * gdb.base/signest.exp: Likewise.
2842 * gdb.base/signull.exp: Likewise.
2843 * gdb.base/sigbpt.exp: Likewise.
2844 * gdb.guile/scm-disasm.exp: Do the test if
2845 is_address_zero_readable returns false.
2846 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
2847 * gdb.python/py-arch.exp: Likewise.
2848 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
2849 * lib/gdb.exp (is_address_zero_readable): New proc.
2851 2014-08-09 Yao Qi <yao@codesourcery.com>
2854 * gdb.mi/mi-var-display.exp: Make test messages unique.
2856 2014-08-04 Tom Tromey <tromey@redhat.com>
2858 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
2861 2014-08-04 Tom Tromey <tromey@redhat.com>
2863 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
2866 2014-08-01 Joel Brobecker <brobecker@adacore.com>
2868 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
2869 inner_vla_struct_object_size.
2870 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
2873 2014-07-30 Pedro Alves <palves@redhat.com>
2875 * gdb.threads/signal-command-handle-nopass.exp (test): Add
2878 2014-07-29 Yao Qi <yao@codesourcery.com>
2881 * gdb.base/until-nodebug.exp: New.
2883 2014-07-28 Doug Evans <xdje42@gmail.com>
2886 * gdb.guile/scm-parameter.exp: Add tests for trying to create
2887 previously existing parameter, and previously ambiguously spelled
2890 2014-07-28 Will Newton <will.newton@linaro.org>
2892 * gdb.base/varargs.exp: Remove KFAILs for ARM.
2894 2014-07-26 Ludovic Courtès <ludo@gnu.org>
2895 Doug Evans <xdje42@gmail.com>
2898 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
2900 2014-07-25 Pedro Alves <palves@redhat.com>
2902 * gdb.threads/signal-command-handle-nopass.c: New file.
2903 * gdb.threads/signal-command-handle-nopass.exp: New file.
2904 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
2905 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
2906 * gdb.threads/signal-delivered-right-thread.c: New file.
2907 * gdb.threads/signal-delivered-right-thread.exp: New file.
2909 2014-07-25 Pedro Alves <palves@redhat.com>
2911 * gdb.base/double-prompt-target-event-error.exp
2912 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
2914 (cancel_pagination_in_target_event): Rework double prompt
2916 * gdb.base/paginate-after-ctrl-c-running.exp
2917 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
2919 * gdb.base/paginate-bg-execution.exp
2920 (test_bg_execution_pagination_return)
2921 (test_bg_execution_pagination_cancel): Remove '-notransfer
2923 * gdb.base/paginate-execution-startup.exp
2924 (test_fg_execution_pagination_return)
2925 (test_fg_execution_pagination_cancel): Remove '-notransfer
2927 * gdb.base/paginate-inferior-exit.exp
2928 (test_paginate_inferior_exited): Remove '-notransfer <return>'
2930 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
2931 * lib/gdb.exp (pagination_prompt): Run text through
2933 (gdb_test_multiple): Match $pagination_prompt instead of
2935 (string_to_regexp): Move to lib/gdb-utils.exp.
2937 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2939 * gdb.arch/amd64-entry-value-paramref.S: New file.
2940 * gdb.arch/amd64-entry-value-paramref.cc: New file.
2941 * gdb.arch/amd64-entry-value-paramref.exp: New file.
2942 * gdb.arch/amd64-optimout-repeat.S: New file.
2943 * gdb.arch/amd64-optimout-repeat.c: New file.
2944 * gdb.arch/amd64-optimout-repeat.exp: New file.
2946 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2949 * gdb.base/statistics.exp: New file.
2951 2014-07-17 Doug Evans <dje@google.com>
2954 * gdb.base/maint.exp: Update testing of per-command stats.
2956 2014-07-16 Pedro Alves <palves@redhat.com>
2958 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
2959 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
2960 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
2961 (tfile_write_buf): New functions.
2962 (add_memory_block): Rewrite using the above.
2963 (adjust_function_address): New function.
2964 (FUNCTION_ADDRESS): New macro.
2965 (write_basic_trace_file): Remove short_x local, and use
2966 tfile_write_16. Change type of func_addr local to unsigned long
2967 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
2968 here. Cast argument of add_memory_block to char pointer.
2969 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
2970 (main): Remove parameters.
2971 * gdb.trace/tfile.exp: Remove nowarnings.
2973 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
2975 * gdb.base/debug-expr.exp: Test string evaluation with
2976 "debug expression" on.
2978 2014-07-15 Pedro Alves <palves@redhat.com>
2980 * gdb.base/reread.exp: Use clean_restart.
2982 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
2984 * gdb.arch/avr-flash-qualifer.c: New.
2985 * gdb.arch/avr-flash-qualifer.exp: New.
2987 2014-07-14 Pedro Alves <palves@redhat.com>
2989 * gdb.base/paginate-after-ctrl-c-running.c: New file.
2990 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
2992 2014-07-14 Pedro Alves <palves@redhat.com>
2994 * gdb.base/double-prompt-target-event-error.c: New file.
2995 * gdb.base/double-prompt-target-event-error.exp: New file.
2997 2014-07-14 Pedro Alves <palves@redhat.com>
3000 * gdb.base/paginate-inferior-exit.c: New file.
3001 * gdb.base/paginate-inferior-exit.exp: New file.
3003 2014-07-14 Pedro Alves <palves@redhat.com>
3006 * gdb.base/paginate-bg-execution.c: New file.
3007 * gdb.base/paginate-bg-execution.exp: New file.
3009 2014-07-14 Pedro Alves <palves@redhat.com>
3012 * gdb.base/paginate-execution-startup.c: New file.
3013 * gdb.base/paginate-execution-startup.exp: New file.
3014 * lib/gdb.exp (pagination_prompt): New global.
3015 (default_gdb_spawn): New procedure, factored out from
3017 (default_gdb_start): Adjust to call default_gdb_spawn.
3018 (gdb_spawn): New procedure.
3020 2014-07-14 Pedro Alves <palves@redhat.com>
3022 * lib/gdb.exp (gdb_assert): New procedure.
3023 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
3025 2014-07-14 Pedro Alves <palves@redhat.com>
3027 * gdb.base/execution-termios.c: New file.
3028 * gdb.base/execution-termios.exp: New file.
3030 2014-07-14 Tom Tromey <tromey@redhat.com>
3032 * gdb.cp/vla-cxx.cc: New file.
3033 * gdb.cp/vla-cxx.exp: New file.
3035 2014-07-14 Tom Tromey <tromey@redhat.com>
3037 * gdb.reverse/rerun-prec.c: New file.
3038 * gdb.reverse/rerun-prec.exp: New file.
3040 2014-07-12 Maciej W. Rozycki <macro@mips.com>
3041 Maciej W. Rozycki <macro@codesourcery.com>
3043 * lib/gdb-utils.exp: New file.
3044 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
3045 inline `gdb_init_command' processing.
3046 (gdb_start_cmd): Likewise.
3047 * lib/mi-support.exp (mi_run_cmd): Likewise.
3048 * README: Document `gdb_init_command' and `gdb_init_commands'.
3050 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3052 Fix false FAIL running under a very long directory name.
3053 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
3054 and "set print elements 10000". Twice.
3056 2014-07-11 Yao Qi <yao@codesourcery.com>
3058 * gdb.base/exprs.exp: "set print symbol off".
3060 2014-07-11 Pedro Alves <palves@redhat.com>
3062 * gdb.threads/kill.c: New file.
3063 * gdb.threads/kill.exp: New file.
3065 2014-07-10 Yao Qi <yao@codesourcery.com>
3067 * gdb.trace/tfile.c (write_basic_trace_file)
3068 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
3069 address written to trace file.
3071 2014-07-09 Pedro Alves <palves@redhat.com>
3073 * gdb.base/attach-wait-input.exp: New file.
3074 * gdb.base/attach-wait-input.c: New file.
3076 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3078 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
3079 setting up test structures.
3080 (main): Call new test function.
3081 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
3082 test function, continue into test function and walk test
3085 2014-07-02 Yao Qi <yao@codesourcery.com>
3087 * gdb.trace/entry-values.c: Define labels 'foo_start' and
3088 'bar_start' at the beginning of functions 'foo' and 'bar'
3090 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
3091 instead of 'foo' and 'bar'.
3093 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
3095 * gdb.btrace/segv.exp: New.
3096 * gdb.btrace/segv.c: New.
3098 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
3100 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
3103 2014-06-30 Mark Wielaard <mjw@redhat.com>
3105 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
3106 vulture, vilify, villar): New volatile array constants.
3107 (vindictive, vegetation): New const volatile array constants.
3108 * gdb.base/volatile.exp: Test volatile and const volatile array
3111 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
3113 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
3114 target lacks support for awatch, rwatch, or hbreak.
3116 2014-06-27 Yao Qi <yao@codesourcery.com>
3118 * gdb.multi/dummy-frame-restore.exp: New.
3119 * gdb.multi/dummy-frame-restore.c: New.
3121 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3123 * gdb.btrace/gcore.exp: New.
3125 2014-06-23 Pedro Alves <palves@redhat.com>
3127 * gdb.base/watchpoint-reuse-slot.c: New file.
3128 * gdb.base/watchpoint-reuse-slot.exp: New file.
3130 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
3132 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
3133 progspace's filename in 'info', 'enable' and 'disable' command
3136 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3138 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
3139 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3140 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
3142 2014-06-20 Gary Benson <gbenson@redhat.com>
3144 * gdb.arch/i386-avx.exp: Fix include file location.
3145 * gdb.arch/i386-sse.exp: Likewise.
3147 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
3149 * gdb.dlang/expression.exp: New file.
3151 2014-06-19 Pedro Alves <palves@redhat.com>
3153 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
3155 (top level): ... here. Iterate running tests under different
3156 scheduler-locking settings.
3158 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
3160 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
3161 to DW_FORM_addr and use non-zero addresses.
3163 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
3166 * gdb.python/py-xmethods.cc: Add global function call counters and
3167 increment them in their respective functions. Remove "cout"
3169 * gdb.python/py-xmethods.exp: Make tests check the global function
3170 call counters instead of depending on inferior IO.
3172 2014-06-18 Don Breazeal <donb@codesourcery.com>
3174 * gdb.base/foll-fork.exp (default_fork_parent_follow):
3176 (explicit_fork_parent_follow): Deleted procedure.
3177 (explicit_fork_child_follow): Deleted procedure.
3178 (test_follow_fork): New procedure.
3179 (do_fork_tests): Replace calls to deleted procedures with
3180 calls to test_follow_fork and reset GDB for subsequent
3183 2014-06-17 Yao Qi <yao@codesourcery.com>
3185 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
3188 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
3190 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
3191 Initialize ptr and S explicitly.
3192 (skip_type_update_when_not_use_rtti_test): Likewise.
3194 2014-06-16 Keith Seitz <keiths@redhat.com>
3197 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
3198 the inferior is started.
3200 2014-06-16 Pedro Alves <palves@redhat.com>
3202 * gdb.base/break-main-file-remove-fail.c: New file.
3203 * gdb.base/break-main-file-remove-fail.exp: New file.
3204 * gdb.base/break-unload-file.exp: Use build_executable instead of
3205 prepare_for_testing.
3206 (test_break): New parameter "initial_load". Handle it.
3207 (top level): Add initial_load cmdline/file axis.
3209 2014-06-12 Tom Tromey <tromey@redhat.com>
3211 * gdb.base/completion.exp: Don't use directory name in test.
3213 2014-06-09 Gary Benson <gbenson@redhat.com>
3215 * gdb.base/sigall.c [Functions to send signals]: Reorder to
3216 separate the always-available ANSI-standard signals from the
3217 signals that require checking.
3219 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
3223 2014-06-07 Keith Seitz <keiths@redhat.com>
3227 * gdb.cp/var-tag.cc: New file.
3228 * gdb.cp/var-tag.exp: New file.
3229 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3230 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3231 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3232 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3234 2014-06-06 Doug Evans <xdje42@gmail.com>
3236 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
3238 2014-06-06 Pedro Alves <palves@redhat.com>
3240 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
3241 in target debug output instead of looking at RSP packets,
3242 disabling the test on any target that uses hardware stepping.
3245 2014-06-06 Pedro Alves <palves@redhat.com>
3247 * gdb.base/break-unload-file.exp: Fix typo.
3249 2014-06-06 Yao Qi <yao@codesourcery.com>
3251 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
3252 from "jit_function" to "^jit_function".
3254 2014-06-06 Yao Qi <yao@codesourcery.com>
3256 * gdb.base/async.c (foo): Add one statement.
3257 * gdb.base/async.exp: Get the next instruction address and
3258 match the output of "nexti" by instruction address. Match
3259 the hex address in the output of "finish".
3261 2014-06-06 Gary Benson <gbenson@redhat.com>
3263 * gdb.base/call-signals.c: Remove preprocessor conditionals
3264 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
3265 SIGSEGV and SIGTERM.
3266 * gdb.base/sigall.c: Likewise.
3267 * gdb.base/unwindonsignal.c: Likewise.
3268 * gdb.reverse/sigall-reverse.c: Likewise.
3270 2014-06-06 Yao Qi <yao@codesourcery.com>
3272 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
3273 readable, skip the test.
3275 2014-06-06 Yao Qi <yao@codesourcery.com>
3277 * gdb.threads/staticthreads.c (thread_function): Move the line
3278 setting breakpoint on forward.
3279 * gdb.threads/staticthreads.exp: Update comments.
3281 2014-06-05 Ludovic Courtès <ludo@gnu.org>
3283 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
3284 "history-append! type error".
3286 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
3288 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
3289 erroneous dprintf expected input.
3291 2014-06-04 Doug Evans <xdje42@gmail.com>
3293 * gdb.guile/scm-generics.exp: Delete.
3295 2014-06-04 Doug Evans <xdje42@gmail.com>
3297 * gdb.guile/scm-breakpoint.exp: Update.
3298 Add tests for breakpoint registration.
3300 2014-06-04 Tom Tromey <tromey@redhat.com>
3302 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
3304 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
3305 inner_vla_struct, vla_union types. Initialize objects of those
3306 types and compute their sizes.
3308 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
3309 Hui Zhu <hui@codesourcery.com>
3311 * gdb.base/fileio.exp: Add test for shell not available as well as
3313 * gdb.base/fileio.c (test_system): Check for shell twice.
3315 2014-06-04 Yao Qi <yao@codesourcery.com>
3317 * gdb.base/auto-connect-native-target.exp: Remove redundant
3318 space from the regexp pattern.
3320 2014-06-04 Yao Qi <yao@codesourcery.com>
3322 * gdb.base/default.exp: Replace "child" with "native" in
3325 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3327 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
3328 * gdb.python/py-xmethods.exp: New tests to test xmethods.
3329 * gdb.python/py-xmethods.py: Python script supporting the
3330 new testcase and tests.
3332 2014-06-03 Joel Brobecker <brobecker@adacore.com>
3333 Pedro Alves <palves@redhat.com>
3335 PR breakpoints/17000
3336 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
3337 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
3339 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
3341 * gdb.base/subst.exp: Add tests to verify partial path matching
3344 2014-06-03 Pedro Alves <palves@redhat.com>
3346 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
3347 target that doesn't use software single-stepping.
3349 2014-06-03 Pedro Alves <palves@redhat.com>
3351 PR breakpoints/17000
3352 * gdb.base/sss-bp-on-user-bp-2.c: New file.
3353 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
3355 2014-06-02 Doug Evans <xdje42@gmail.com>
3357 * gdb.guile/scm-parameter.exp: New file.
3359 2014-06-02 Doug Evans <xdje42@gmail.com>
3361 * gdb.guile/scm-cmd.c: New file.
3362 * gdb.guile/scm-cmd.exp: New file.
3364 2014-06-02 Doug Evans <xdje42@gmail.com>
3366 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
3367 pretty-printer lookup.
3368 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
3369 (make-pp_s-printer): Call it.
3370 (make-pretty-printer-from-dict): New function.
3371 (lookup-pretty-printer-maker-from-dict): New function.
3372 (*pretty-printer*): Simplify.
3373 (make-objfile-pp_s-printer): New function.
3374 (install-objfile-pretty-printers!): New function.
3375 (make-progspace-pp_s-printer): New function.
3376 (install-progspace-pretty-printers!): New function.
3377 * gdb.guile/scm-progspace.c: New file.
3378 * gdb.guile/scm-progspace.exp: New file.
3380 2014-06-02 Pedro Alves <palves@redhat.com>
3382 * gdb.base/dprintf-bp-same-addr.c: New file.
3383 * gdb.base/dprintf-bp-same-addr.exp: New file.
3385 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3387 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
3388 * gdb.arch/powerpc-power.s: Likewise.
3390 2014-06-02 Joel Brobecker <brobecker@adacore.com>
3392 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
3394 2014-06-01 Yao Qi <yao@codesourcery.com>
3396 * gdb.base/watchpoint.exp (test_watch_location): Check null
3397 pointer can be dereferenced. If not, do the test, otherwise
3400 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
3402 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
3404 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
3406 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
3408 * gdb.arch/amd64-invalid-stack-middle.S: New file.
3409 * gdb.arch/amd64-invalid-stack-middle.c: New file.
3410 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
3411 * gdb.arch/amd64-invalid-stack-top.c: New file.
3412 * gdb.arch/amd64-invalid-stack-top.exp: New file.
3414 2014-05-30 Pedro Alves <palves@redhat.com>
3416 PR breakpoints/17000
3417 * gdb.base/sss-bp-on-user-bp.c: New file.
3418 * gdb.base/sss-bp-on-user-bp.exp: New file.
3420 2014-05-30 David Blaikie <dblaikie@gmail.com>
3422 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
3423 gnu_inline semantics via attribute.
3424 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
3425 source explicitly specifies the required semantics.
3427 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
3429 * gdb.reverse/sigall-reverse.exp: Fix a typo.
3431 2014-05-29 Pedro Alves <palves@redhat.com>
3432 Tom Tromey <tromey@redhat.com>
3434 * gdb.base/async-shell.exp: Don't enable target-async.
3435 * gdb.base/async.exp
3436 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
3438 (top level): Don't test with "target-async".
3439 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
3440 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
3441 * gdb.base/inferior-died.exp: Don't enable target-async.
3442 * gdb.base/interrupt-noterm.exp: Likewise.
3443 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
3444 * gdb.mi/mi-nonstop-exit.exp: Likewise.
3445 * gdb.mi/mi-nonstop.exp: Likewise.
3446 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3447 * gdb.mi/mi-nsintrall.exp: Likewise.
3448 * gdb.mi/mi-nsmoribund.exp: Likewise.
3449 * gdb.mi/mi-nsthrexec.exp: Likewise.
3450 * gdb.mi/mi-watch-nonstop.exp: Likewise.
3451 * gdb.multi/watchpoint-multi.exp: Adjust comment.
3452 * gdb.python/py-evsignal.exp: Don't enable target-async.
3453 * gdb.python/py-evthreads.exp: Likewise.
3454 * gdb.python/py-prompt.exp: Likewise.
3455 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
3456 * gdb.server/solib-list.exp: Don't enable target-async.
3457 * gdb.threads/thread-specific-bp.exp: Likewise.
3458 * lib/mi-support.exp: Adjust to use mi-async.
3460 2014-05-29 Pedro Alves <palves@redhat.com>
3463 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
3464 reason, even in sync mode.
3466 2014-05-29 Pedro Alves <palves@redhat.com>
3467 Hui Zhu <hui@codesourcery.com>
3470 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
3471 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
3472 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
3473 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
3475 2014-05-28 Joel Brobecker <brobecker@adacore.com>
3477 * config/monitor.exp (gdb_target_monitor): Replace use of
3478 "set remotebaud" by "set serial baud".
3480 2014-05-26 Andy Wingo <wingo@igalia.com>
3482 * gdb.guile/scm-breakpoint.exp:
3483 * gdb.guile/scm-gsmob.exp: Update to use plain old object
3484 properties instead of gdb-object-properties.
3486 2014-05-26 Yao Qi <yao@codesourcery.com>
3488 * gdb.server/no-thread-db.exp: Specify source file name
3489 explicitly when setting a breakpoint.
3491 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3493 * gdb.btrace/vdso.c: New.
3494 * gdb.btrace/vdso.exp: New.
3496 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3498 * gdb.base/gcore.exp (capture_command_output): Move ...
3499 * lib/gdb.exp (capture_command_output): ... here.
3501 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3503 * gdb.btrace/data.exp: Test memory access during btrace replay.
3505 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
3507 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
3509 2014-05-21 Pedro Alves <palves@redhat.com>
3512 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
3513 (top level): Test that output related to execution commands is
3514 sent to the console with CLI commands, but not with MI commands.
3515 Test that breakpoint events are always mirrored to the console.
3516 Also expect the new source line to be output after a "next" in
3517 async mode too. Make it a pass/fail test.
3518 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
3520 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
3522 2014-05-21 Pedro Alves <palves@redhat.com>
3524 * gdb.base/list.exp (build_pattern, test_list): New procedures.
3525 Use them to test variations of "list" after reaching a breakpoint.
3526 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
3527 Test "list" with listsize 10 after reaching a breakpoint.
3528 * gdb.python/python.exp (decode_line current location line
3529 number): Adjust expected line number.
3531 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
3533 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
3534 behavior for $args, pass it directly to "run".
3536 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3538 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
3541 2014-05-21 Pedro Alves <palves@redhat.com>
3543 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
3544 auto-connect-native-target off".
3545 * gdb.base/auto-connect-native-target.c: New file.
3546 * gdb.base/auto-connect-native-target.exp: New file.
3548 2014-05-21 Pedro Alves <palves@redhat.com>
3550 * gdb.base/default.exp: Test "target native" instead of "target
3553 2014-05-21 Mark Wielaard <mjw@redhat.com>
3555 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3557 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3559 Fix TLS access for -static -pthread.
3560 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
3561 <HAVE_TLS> (thread_function, main): Initialize it.
3562 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
3564 <$have_tls != "">: Check TLSVAR.
3566 2014-05-21 Pedro Alves <palves@redhat.com>
3568 * gdb.base/dcache-line-read-error.c: New.
3569 * gdb.base/dcache-line-read-error.exp: New.
3571 2014-05-20 Pedro Alves <palves@redhat.com>
3573 * gdb.base/compare-sections.c: New file.
3574 * gdb.base/compare-sections.exp: New file.
3576 2014-05-20 Pedro Alves <palves@redhat.com>
3578 * gdb.base/break-idempotent.c: New file.
3579 * gdb.base/break-idempotent.exp: New file.
3581 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
3583 * gdb.btrace/nohist.exp: New.
3585 2014-05-20 Yao Qi <yao@codesourcery.com>
3587 * lib/gdb.exp (gdb_init): Set timeout if test file is under
3588 gdb.reverse directory and gdb_reverse_timeout exists in board
3590 * README: Document gdb_reverse_timeout.
3592 2014-05-20 Yao Qi <yao@codesourcery.com>
3594 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
3595 'test_file_name'. Treat args as a string instead of a list.
3596 (gdb_init): Rename argument 'args' by 'test_file_name'.
3598 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3600 * gdb.arch/powerpc-power.exp: New file.
3601 * gdb.arch/powerpc-power.s: New file.
3603 2014-05-16 Doug Evans <dje@google.com>
3605 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
3606 * gdb.base/completion.exp: Check that all expected files exist
3607 before doing file completion.
3609 2014-05-16 Doug Evans <dje@google.com>
3611 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
3613 (do_syscall_tests_without_xml): Update.
3615 2014-05-16 Pedro Alves <palves@redhat.com>
3617 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
3618 instead of "unknown output after running".
3620 2014-05-16 Yao Qi <yao@codesourcery.com>
3622 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
3623 file1.txt from host at the end.
3624 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3626 2014-05-15 Doug Evans <dje@google.com>
3628 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
3629 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
3630 loading file. Add test for TU lookup.
3632 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3634 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
3635 calling "-exec-arguments" or "set args" before running the
3638 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3640 * lib/mi-support.exp (mi_expect_stop): Expect message for
3641 inferiors that exit with non-zero exit code.
3643 2014-05-14 Yao Qi <yao@codesourcery.com>
3645 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
3646 match absolute path on remote host.
3647 (test_file_list_exec_source_files): Remove "/" from the
3650 2014-05-14 Yao Qi <yao@codesourcery.com>
3652 * boards/local-remote-host-notty.exp (${board}_file): New
3655 2014-05-07 Kyle McMartin <kyle@redhat.com>
3657 Pushed by Joel Brobecker <brobecker@adacore.com>.
3658 * gdb.arch/aarch64-atomic-inst.c: New file.
3659 * gdb.arch/aarch64-atomic-inst.exp: New file.
3661 2014-05-07 Yao Qi <yao@codesourcery.com>
3663 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
3664 in current context" too.
3666 2014-05-05 Keith Seitz <keiths@redhat.com>
3668 * gdb.linespec/ls-dollar.exp: Add test for linespec
3669 file:convenience_variable.
3671 2014-05-05 Yao Qi <yao@codesourcery.com>
3673 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
3674 traceframes into tfile and ctf trace files. Read data from
3675 trace file and test collected data.
3676 (gdb_collect_locals_test): Likewise.
3677 (gdb_unavailable_registers_test): Likewise.
3678 (gdb_unavailable_floats): Likewise.
3679 (gdb_collect_globals_test): Likewise.
3680 (top-level): Append "ctf" to trace_file_targets if GDB
3683 2014-05-05 Yao Qi <yao@codesourcery.com>
3685 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
3687 (gdb_collect_args_test_1): ... it. New proc.
3688 (gdb_collect_locals_test): Move some code to ...
3689 (gdb_collect_locals_test_1): ... it. New proc.
3690 (gdb_unavailable_registers_test): Move some code to ...
3691 (gdb_unavailable_registers_test_1): ... it. New proc.
3692 (gdb_unavailable_floats): Move some code to ...
3693 (gdb_unavailable_floats_1): ... it. New proc.
3695 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3697 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
3698 probes to test for bitness recognition.
3699 * gdb.arch/amd64-stap-optional-prefix.exp
3700 (test_probe_value_without_reg): New procedure.
3701 Add code to test for different kinds of bitness.
3703 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3705 PR breakpoints/16889
3706 * gdb.arch/amd64-stap-optional-prefix.S: New file.
3707 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3709 2014-05-01 Pedro Alves <palves@redhat.com>
3711 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
3712 gdb_file_cmd if no file is specified.
3713 * boards/native-extended-gdbserver.exp (gdb_load): Use the
3714 last_loaded_file to set the remote exec-file.
3716 2014-05-01 Pedro Alves <palves@redhat.com>
3718 * boards/local-remote-host.exp: New file.
3720 2014-05-01 Pedro Alves <palves@redhat.com>
3722 * boards/local-remote-host.exp: Rename to ...
3723 * boards/local-remote-host-notty.exp: ... this.
3725 2014-04-28 Joel Brobecker <brobecker@adacore.com>
3727 * gdb.ada/dyn_arrayidx: New testcase.
3729 2014-04-26 Yao Qi <yao@codesourcery.com>
3731 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
3732 and compute the length of function main. Save it in
3734 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
3735 (top-level): Use gdb_compile to compile objects into
3736 executable and restart GDB. Remove invocation to
3737 prepare_for_testing.
3739 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
3740 Pedro Alves <palves@redhat.com>
3743 * gdb.multi/multi-attach.c: New file.
3744 * gdb.multi/multi-attach.exp: New file.
3746 2014-04-25 Pedro Alves <palves@redhat.com>
3748 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
3750 (top level): Test that "set remote conditional-breakpoints-packet
3751 off" works as intended.
3752 * gdb.base/dprintf.exp: Test that "set remote
3753 breakpoint-commands-packet off" works as intended.
3754 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
3756 (top level): Call it.
3757 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
3758 remote fast-tracepoints-packet off" works as intended.
3759 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
3760 * lib/gdb.exp (gdb_is_target_remote): ... here.
3762 2014-04-24 David Blaikie <dblaikie@gmail.com>
3764 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
3765 ensure clang would not discard them.
3766 * gdb.base/gdbvars.c: Ditto.
3767 * gdb.base/memattr.c: Ditto.
3768 * gdb.base/whatis.c: Ditto.
3769 * gdb.python/py-prettyprint.c: Ditto.
3770 * gdb.trace/actions.c: Ditto.
3771 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
3772 ensure clang would not discard it.
3774 2014-04-24 David Blaikie <dblaikie@gmail.com>
3776 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
3777 clang to emit the full definition of type required by the test
3778 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
3780 2014-04-24 David Blaikie <dblaikie@gmail.com>
3782 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
3783 coax Clang into emitting the definition of the type.
3784 * gdb.cp/pr10728-x.h (y): Ditto.
3785 * gdb.cp/pr10728-y.cc (y): Ditto.
3787 2014-04-24 David Blaikie <dblaikie@gmail.com>
3789 * gdb.base/label.exp: XFAIL label related tests under Clang.
3790 * gdb.cp/cplabel.exp: Ditto.
3791 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
3792 under Clang those using labels.
3794 2014-04-25 Yao Qi <yao@codesourcery.com>
3796 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
3798 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
3799 partial_label and double_label.
3801 2014-04-24 David Blaikie <dblaikie@gmail.com>
3803 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
3805 2014-04-24 David Blaikie <dblaikie@gmail.com>
3807 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
3808 of the function to work across GCC and Clang.
3809 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
3810 pointer types (const void ** const V void **).
3812 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
3813 Walfred Tedeschi <walfred.tedeschi@intel.com>
3815 * Makefile.in (EXECUTABLES): Added i386-avx512.
3816 * gdb.arch/i386-avx512.c: New file.
3817 * gdb.arch/i386-avx512.exp: Likewise.
3819 2014-04-23 Keith Seitz <keiths@redhat.com>
3821 * lib/mi-support.exp (mi_list_breakpoints): Delete.
3822 (mi_make_breakpoint_table): New procedure.
3823 (mi_create_breakpoint): Use mi_make_breakpoint
3824 and return the result.
3825 (mi_make_breakpoint): New procedure.
3826 (mi_build_kv_pairs): New procedure.
3828 * gdb.mi/mi-break.exp: Remove unused globals,
3829 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
3830 All callers updated.
3831 * gdb.mi/mi-dprintf.exp: Use variable to track command
3833 Update all callers of mi_create_breakpoint and use
3834 mi_make_breakpoint_table.
3835 Remove any unused global variables.
3836 * gdb.mi/mi-nonstop.exp: Likewise.
3837 * gdb.mi/mi-nsintrall.exp: Likewise.
3838 * gdb.mi/mi-nsmoribund.exp: Likewise.
3839 * gdb.mi/mi-nsthrexec.exp: Likewise.
3840 * gdb.mi/mi-reverse.exp: Likewise.
3841 * gdb.mi/mi-simplerun.exp: Likewise.
3842 * gdb.mi/mi-stepn.exp: Likewise.
3843 * gdb.mi/mi-syn-frame.exp: Likewise.
3844 * gdb.mi/mi-until.exp: Likewise.
3845 * gdb.mi/mi-var-cp.exp: Likewise.
3846 * gdb.mi/mi-var-display.exp: Likewise.
3847 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
3848 * gdb.mi/mi2-var-child.exp: Likewise.
3849 * gdb.mi/mi-vla-c99.exp: Likewise.
3850 * lib/mi-support.exp: Likewise.
3852 From Ian Lance Taylor <iant@cygnus.com>:
3853 * lib/gdb.exp (parse_args): New procedure.
3855 2014-04-23 Pedro Alves <palves@redhat.com>
3857 * gdb.base/break-unload-file.c: New file.
3858 * gdb.base/break-unload-file.exp: New file.
3859 * gdb.base/sym-file-lib.c (baz): New function.
3860 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
3862 (load): Store the segment's mapped size.
3863 (unload): New function.
3864 (unload_shlib): New function.
3865 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
3866 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
3867 set a breakpoint at baz, and call it.
3868 * gdb.base/sym-file.exp: New tests for stale breakpoint
3871 2014-04-23 Pedro Alves <palves@redhat.com>
3873 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
3874 * gdb.base/hbreak-in-shr-unsupported.c: New file.
3875 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
3876 * gdb.base/hbreak-unmapped.c: New file.
3877 * gdb.base/hbreak-unmapped.exp: New file.
3878 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
3879 * lib/gdb.exp (gdb_is_target_remote): ... here.
3881 2014-04-22 Pedro Alves <palves@redhat.com>
3883 * gdb.base/consecutive-step-over.c: New file.
3884 * gdb.base/consecutive-step-over.exp: New file.
3886 2014-04-22 Pedro Alves <palves@redhat.com>
3888 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
3889 instead of send_gdb/gdb_expect.
3891 2014-04-22 Yao Qi <yao@codesourcery.com>
3893 * lib/trace-support.exp (generate_tracefile): New procedure.
3894 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
3896 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
3897 if generate_tracefile returns 1.
3899 2014-04-18 Tom Tromey <palves@redhat.com>
3900 Pedro alves <tromey@redhat.com>
3903 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
3904 with a backtrace limit.
3905 * gdb.python/py-frame-inline.exp: Test running to an inline
3906 function with a backtrace limit, and printing the newest frame.
3907 * gdb.python/py-frame-inline.c (main): Call f.
3909 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3911 * gdb.java/jnpe.exp: Drop srcdir from untested path.
3913 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3915 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
3916 Drop prefix from unsupported source file path.
3918 2014-04-17 Yao Qi <yao@codesourcery.com>
3920 * lib/gdb.exp (with_target_charset): New proc.
3921 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
3922 with_target_charset.
3923 (test_print_strings): Likewise.
3924 (test_repeat_bytes): Likewise.
3925 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
3928 2014-04-16 Keith Seitz <keiths@redhat.com>
3931 * gdb.dwarf2/corrupt.c: New file.
3932 * gdb.dwarf2/corrupt.exp: New file.
3934 2014-04-16 Keith Seitz <keiths@redhat.com>
3937 * gdb.cp/namelessclass.cc: New file.
3938 * gdb.cp/namelessclass.exp: New file.
3939 * gdb.cp/namelessclass.S: New file.
3941 2014-04-16 Doug Evans <dje@google.com>
3943 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
3945 (gdbserver_default_get_comm_port): New function.
3946 (gdbserver_start): Check if board file provided
3947 "gdbserver,get_comm_port" and use it if so.
3948 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
3949 (gdb,socketport): Set to "stdio".
3950 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
3951 (stdio_gdbserver_template): Delete.
3952 (${board}_get_remote_address): Update.
3953 (${board}_build_remote_cmd): Delete.
3954 (${board}_get_comm_port): New function.
3955 (${board}_spawn): Update.
3956 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
3958 (${board}_get_remote_address): Update.
3959 (${board}_get_comm_port): New function.
3961 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
3963 * gdb.base/memattr.exp: Improve regexps to handle memory regions
3964 appearing in any order.
3966 2014-04-15 Doug Evans <dje@google.com>
3968 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
3969 uninitialized value of "description".
3971 2014-04-15 Keith Seitz <keiths@redhat.com>
3973 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
3974 Remove unused globals.
3975 (test_running_the_program): Likewise.
3976 (test_controlled_execution): Likewise.
3977 (test_controlling_breakpoints): Likewise.
3978 (test_program_termination): Likewise.
3980 2014-04-15 Keith Seitz <keiths@redhat.com>
3982 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
3984 (test_rbreak_creation_and_listing): Likewise.
3985 (test_ignore_count): Likewise.
3986 (test_error): Likewise.
3988 2014-04-15 Pedro Alves <palves@redhat.com>
3990 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
3991 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
3993 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3994 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3995 to sym-file-loader.c.
3996 (struct library): Forward declare.
3997 (load_shlib, lookup_function): Change prototypes.
3998 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3999 (translate_offset): Remove declarations.
4000 (get_text_addr): New declaration.
4001 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
4002 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
4004 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4005 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4006 here from sym-file-loader.h.
4007 (struct library): New structure.
4008 (load_shlib, lookup_function): Change prototypes and adjust to
4009 work with a struct library.
4010 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4011 (translate_offset): Make static.
4012 (get_text_addr): New function.
4013 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
4015 2014-04-15 Pedro Alves <palves@redhat.com>
4017 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
4019 2014-04-15 Pedro Alves <palves@redhat.com>
4021 * gdb.base/sym-file-loader.c: Include <limits.h>.
4022 (SELF_LINK): New define.
4023 (get_origin): New function.
4024 (load_shlib): Use it.
4025 * gdb.base/sym-file.exp: Don't early return if the target is
4026 remote. Use runto_main, and issue fail is that fails. Use
4028 (shlib_name): Delete.
4029 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
4031 2014-04-15 Pedro Alves <palves@redhat.com>
4033 * gdb.base/sym-file.exp: Remove regex characters from test
4034 message. Don't refer to breakpoint numbers in test messages.
4036 2014-04-14 Keith Seitz <keiths@redhat.com>
4039 * gdb.cp/var-tag.cc: New file.
4040 * gdb.cp/var-tag.exp: New file.
4041 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4042 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4043 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4044 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4046 2014-04-14 Tom Tromey <tromey@redhat.com>
4048 * gdb.cp/classes.exp (test_enums): Handle underlying type.
4049 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
4051 * gdb.cp/enum-class.exp: New file.
4052 * gdb.cp/enum-class.cc: New file.
4054 2014-04-14 Tom Tromey <tromey@redhat.com>
4056 * gdb.dwarf2/enum-type.exp: New file.
4058 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4060 * gdb.mi/mi-vla-c99.exp: New file.
4061 * gdb.mi/vla.c: New file.
4063 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4065 * gdb.base/vla-datatypes.c: New file.
4066 * gdb.base/vla-datatypes.exp: New file.
4068 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4070 * gdb.base/vla-ptr.c: New file.
4071 * gdb.base/vla-ptr.exp: New file.
4073 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4075 * gdb.dwarf2/count.exp: New file.
4077 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4079 * gdb.base/vla-sideeffect.c: New file.
4080 * gdb.base/vla-sideeffect.exp: New file.
4082 2014-04-14 David Blaikie <dblaikie@gmail.com>
4084 * gdb.mi/non-stop.c: Add return value for non-void function return
4086 * gdb.threads/staticthreads.c: Ditto.
4088 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
4089 Doug Evans <xdje42@gmail.com>
4091 * gdb.guile/scm-value.c: Improve test case.
4092 * gdb.guile/scm-value.exp: Add new test.
4094 2014-04-11 David Blaikie <dblaikie@gmail.com>
4096 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
4097 override Clang's default.
4099 2014-04-11 Joel Brobecker <brobecker@adacore.com>
4101 Revert the following changes (regressions):
4103 * gdb.base/vla-sideeffect.c: New file.
4104 * gdb.base/vla-sideeffect.exp: New file.
4106 * gdb.dwarf2/count.exp: New file.
4108 * gdb.base/vla-multi.c: New file.
4109 * gdb.base/vla-multi.exp: New file.
4111 * gdb.base/vla-ptr.c: New file.
4112 * gdb.base/vla-ptr.exp: New file.
4114 * gdb.base/vla-datatypes.c: New file.
4115 * gdb.base/vla-datatypes.exp: New file.
4117 * gdb.mi/mi-vla-c99.exp: New file.
4118 * gdb.mi/vla.c: New file.
4120 2014-04-11 Keith Seitz <keiths@redhat.com>
4123 * gdb.cp/cpsizeof.exp: New file.
4124 * gdb.cp/cpsizeof.cc: New file.
4126 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4128 * gdb.mi/mi-vla-c99.exp: New file.
4129 * gdb.mi/vla.c: New file.
4131 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4133 * gdb.base/vla-datatypes.c: New file.
4134 * gdb.base/vla-datatypes.exp: New file.
4136 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4138 * gdb.base/vla-ptr.c: New file.
4139 * gdb.base/vla-ptr.exp: New file.
4141 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4143 * gdb.base/vla-multi.c: New file.
4144 * gdb.base/vla-multi.exp: New file.
4146 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4148 * gdb.dwarf2/count.exp: New file.
4150 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4152 * gdb.base/vla-sideeffect.c: New file.
4153 * gdb.base/vla-sideeffect.exp: New file.
4155 2014-04-11 Yao Qi <yao@codesourcery.com>
4157 * gdb.base/completion.exp: Check file exists before running tests
4160 2014-04-10 Pedro Alves <palves@redhat.com>
4162 * gdb.base/cond-eval-mode.c: New file.
4163 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
4164 prepare_for_testing to build the new file. Check result of
4166 (test_break, test_watch): New procedures.
4167 (top level): Use them.
4169 2014-04-08 Pierre Muller <muller@sourceware.org>
4171 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
4172 Ctrl-V use for mingw hosts.
4174 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
4176 * gdb.python/py-value.c: Improve test case.
4177 * gdb.python/py-value.exp: Add new test.
4179 2014-04-07 David Blaikie <dblaikie@gmail.com>
4181 * lib/compiler.c: Identify the clang compiler.
4182 * lib/compiler.cc: Ditto.
4184 2014-04-03 Yao Qi <yao@codesourcery.com>
4186 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
4188 2014-04-01 Anton Blanchard <anton@samba.org>
4190 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
4193 2014-04-01 Anton Blanchard <anton@samba.org>
4195 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
4196 prepare_for_testing.
4198 2014-04-01 Anton Blanchard <anton@samba.org>
4200 * gdb.arch/ppc64-atomic-inst.c: Remove.
4201 * gdb.arch/ppc64-atomic-inst.S: New file.
4202 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
4204 2014-03-31 Doug Evans <dje@google.com>
4206 * gdb.base/print-symbol-loading-lib.c: New file.
4207 * gdb.base/print-symbol-loading-main.c: New file.
4208 * gdb.base/print-symbol-loading.exp: New file.
4210 2014-03-31 Yao Qi <yao@codesourcery.com>
4212 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
4214 2014-03-28 Joel Brobecker <brobecker@adacore.com>
4216 * gdb.ada/mi_dyn_arr: New testcase.
4218 2014-03-27 Doug Evans <dje@google.com>
4220 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
4222 2014-03-27 Yao Qi <yao@codesourcery.com>
4224 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
4225 if target is nios2-*-*.
4227 2014-03-26 Yao Qi <yao@codesourcery.com>
4229 * lib/gdb.exp (readline_is_used): New proc.
4230 * gdb.base/completion.exp: Move tests on command complete up.
4231 Skip the rest of tests if readline is not used.
4232 * gdb.ada/complete.exp: Skp the test if readline is not
4234 * gdb.base/filesym.exp: Likewise.
4235 * gdb.base/macscp.exp: Likewise.
4236 * gdb.base/readline-ask.exp: Likewise.
4237 * gdb.base/readline.exp: Likewise.
4238 * gdb.python/py-cmd.exp: Likewise.
4239 * gdb.trace/tfile.exp: Likewise.
4241 2014-03-26 Yao Qi <yao@codesourcery.com>
4243 * gdb.base/macscp.exp: Fix code format issues.
4245 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
4247 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
4248 * gdb.asm/powerpc64le.inc: New file.
4250 2014-03-25 Pedro Alves <palves@redhat.com>
4251 Doug Evans <dje@google.com>
4253 * gdb.base/source-execution.c: New file.
4254 * gdb.base/source-execution.exp: New file.
4255 * gdb.base/source-execution.gdb: New file.
4257 2014-03-24 Doug Evans <dje@google.com>
4259 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
4262 2014-03-24 Hui Zhu <hui@codesourcery.com>
4263 Pedro Alves <palves@redhat.com>
4265 PR breakpoints/16101
4266 * gdb.base/dprintf.exp: Use unsupported rather than changing the
4267 test pass/fail messages. Detect missing support for dprintf when
4268 breakpoints are actually inserted.
4269 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
4270 breakpoints are actually inserted.
4271 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
4274 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4276 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
4278 2014-03-22 Doug Evans <xdje42@gmail.com>
4280 * gdb.python/python.exp (python not supported): Verify multi-line
4281 python command issues an error.
4282 * gdb.guile/guile.exp (guile not supported): Verify multi-line
4283 guile command issues an error.
4285 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
4287 * gdb.threads/thread-specific.exp: Handle the lack of usable
4288 $this_breakpoint and $this_thread.
4290 2014-03-21 Hui Zhu <hui@codesourcery.com>
4292 * gdb.base/attach.exp (do_command_attach_tests): New.
4294 2014-03-20 Tom Tromey <tromey@redhat.com>
4295 Pedro Alves <palves@redhat.com>
4298 * gdb.base/condbreak-call-false.c: New file.
4299 * gdb.base/condbreak-call-false.exp: New file.
4301 2014-03-20 Pedro Alves <palves@redhat.com>
4303 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
4305 (block_signals, unblock_signals): Delete.
4306 (child_function_2, main): Remove references to deleted variable
4309 2014-03-20 Pedro Alves <palves@redhat.com>
4311 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
4312 Use pthread_kill to signal thread 2.
4313 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4314 Adjust to make the test send itself a signal rather than using the
4315 host's "kill" command.
4317 2014-03-20 Pedro Alves <palves@redhat.com>
4319 * gdb.threads/multiple-step-overs.c: New file.
4320 * gdb.threads/multiple-step-overs.exp: New file.
4321 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4322 Adjust expected infrun debug output.
4324 2014-03-20 Pedro Alves <palves@redhat.com>
4326 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
4327 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
4329 2014-03-20 Pedro Alves <palves@redhat.com>
4332 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
4333 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
4334 of gdb_test_multiple.
4335 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
4336 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
4338 2014-03-20 Pedro Alves <palves@redhat.com>
4340 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
4341 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
4343 2014-03-19 Pedro Alves <palves@redhat.com>
4345 * gdb.base/async.exp: Remove early return.
4347 2014-03-19 Pedro Alves <palves@redhat.com>
4349 * gdb.base/async.exp (step& tests): Pass explicit test messages.
4351 2014-03-19 Pedro Alves <palves@redhat.com>
4353 * gdb.base/async.exp (test_background): Expect \r\n after
4354 "completed." in the fail pattern.
4356 2014-03-19 Pedro Alves <palves@redhat.com>
4358 * gdb.base/async.exp (test_background): New procedure.
4359 Use it for all background execution command tests.
4361 2014-03-19 Pedro Alves <palves@redhat.com>
4363 * gdb.base/async.exp: Use prepare_for_testing.
4365 2014-03-19 Pedro Alves <palves@redhat.com>
4367 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
4370 2014-03-19 Pedro Alves <palves@redhat.com>
4372 * gdb.base/async.c (main): Add "jump here" and "until here" line
4374 * gdb.base/async.exp (jump_here): New global.
4375 (jump& test): Use it.
4376 (until_here): New global.
4377 (until& test): Use it.
4379 2014-03-19 Pedro Alves <palves@redhat.com>
4381 * gdb.base/async.exp: Don't frob gdb_protocol.
4383 2014-03-18 Doug Evans <xdje42@gmail.com>
4385 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
4386 Fix spelling of exec-done-display.
4388 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4391 * gdb.base/gdb-sigterm.c: New file.
4392 * gdb.base/gdb-sigterm.exp: New file.
4394 2014-03-18 Pedro Alves <palves@redhat.com>
4397 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
4398 * lib/mi-support.exp (mi_expect_stop): Add special handling for
4401 2014-03-17 Joel Brobecker <brobecker@adacore.com>
4403 * gdb.ada/pckd_arr_ren: New testcase.
4405 2014-03-13 Doug Evans <xdje42@gmail.com>
4408 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
4409 collect after discarding symbols.
4411 2014-03-13 Ludovic Courtès <ludo@gnu.org>
4412 Doug Evans <xdje42@gmail.com>
4414 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
4415 to history survives a gc.
4417 2014-03-13 Pedro Alves <palves@redhat.com>
4419 * gdb.base/default.exp: Don't test "target procfs".
4421 2014-03-13 Pedro Alves <palves@redhat.com>
4423 * gdb.base/default.exp: Update "target child" and "target procfs"
4424 tests to not expect "Unix".
4426 2014-03-12 Tom Tromey <tromey@redhat.com>
4428 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
4429 New procs. Add target-async tests.
4430 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
4431 Add target-async tests.
4433 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4435 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
4436 'func_start' and 'func_end' for the beginning and end of the
4437 function code, respectively.
4438 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
4439 'func_end' instead of 'func' and 'main'.
4441 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4443 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
4444 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
4445 generate the debug info assembler source.
4447 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4449 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
4450 * gdb.dwarf2/arr-subrange.exp: Likewise.
4451 * gdb.dwarf2/dwz.exp: Likewise.
4452 * gdb.dwarf2/method-ptr.exp: Likewise.
4453 * gdb.dwarf2/missing-sig-type.exp: Likewise.
4454 * gdb.dwarf2/subrange.exp: Likewise.
4455 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
4456 * gdb.dwarf2/implptrpiece.exp: Likewise.
4457 * gdb.dwarf2/nostaticblock.exp: Likewise.
4459 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4461 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
4462 directory to absolute path name arguments.
4464 2014-03-10 Joel Brobecker <brobecker@adacore.com>
4466 * gdb.ada/tagged_access: New testcase.
4468 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
4470 * gdb.btrace/data.exp: Update expected output.
4472 2014-03-06 Yao Qi <yao@codesourcery.com>
4474 * gdb.trace/pr16508.exp: New file.
4476 2014-03-05 Pedro Alves <palves@redhat.com>
4479 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
4481 (top level): Adjust to use it. Add tests that exercise breakpoint
4482 interaction with the code-cache.
4484 2014-02-26 Ludovic Courtès <ludo@gnu.org>
4486 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
4487 test for 'history-append!'.
4489 2014-02-26 Joel Brobecker <brobecker@adacore.com>
4491 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
4492 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
4493 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
4494 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
4495 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
4496 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
4498 2014-02-26 Joel Brobecker <brobecker@adacore.com>
4500 * testsuite/gdb.python/py-pp-re-notag.c: New file.
4501 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
4502 * testsuite/gdb.python/py-pp-re-notag.p: New file.
4504 2014-02-26 Joel Brobecker <brobecker@adacore.com>
4506 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
4508 2014-02-26 Joel Brobecker <brobecker@adacore.com>
4510 * gdb.dwarf2/arr-stride.c: New file.
4511 * gdb.dwarf2/arr-stride.exp: New file.
4513 2014-02-26 Pedro Alves <palves@redhat.com>
4515 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
4516 that won't ever trigger. Make sure that GDB reports the correct
4517 breakpoint that caused the stop.
4519 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4522 * gdb.base/auto-load-script: New file.
4523 * gdb.base/auto-load.c: New file.
4524 * gdb.base/auto-load.exp: New file.
4527 * gdb.base/auto-load.exp: Fix out-of-srctree run.
4529 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4531 Fix dw2-icycle.exp -fsanitize=address GDB crash.
4532 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
4534 2014-02-24 Doug Evans <dje@google.com>
4536 * lib/gdb.exp (run_on_host): Log error output if program fails.
4538 2014-02-21 Pedro Alves <palves@redhat.com>
4540 * gdb.threads/step-after-sr-lock.c: Rename to ...
4541 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
4542 * gdb.threads/step-after-sr-lock.exp: Rename to ...
4543 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4546 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
4549 * gdb.arch/amd64-stap-special-operands.exp: New file.
4550 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
4551 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
4552 * gdb.arch/amd64-stap-triplet.S: Likewise.
4553 * gdb.arch/amd64-stap-triplet.c: Likewise.
4555 2014-02-20 Joel Brobecker <brobecker@adacore.com>
4557 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
4558 in .section pseudo-op.
4560 2014-02-20 lin zuojian <manjian2006@gmail.com>
4561 Joel Brobecker <brobecker@adacore.com>
4562 Doug Evans <xdje42@gmail.com>
4565 * gdb.dwarf2/dw2-icycle.S: New file.
4566 * gdb.dwarf2/dw2-icycle.c: New file.
4567 * gdb.dwarf2/dw2-icycle.exp: New file.
4569 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
4571 * gdb.python/py-value-cc.cc: Improve test case to enable testing
4572 operations on gdb.Value objects.
4573 * gdb.python/py-value-cc.exp: Add new test to test operations on
4576 2014-02-18 Doug Evans <dje@google.com>
4578 * Makefile.in (TESTS): New variable.
4579 (expanded_tests, expanded_tests_or_none): New variables
4580 (check-single): Pass $(expanded_tests_or_none) to runtest.
4581 (check-parallel): Only run tests in $(TESTS) if non-empty.
4582 (check/no-matching-tests-found): New rule.
4583 * README: Document TESTS makefile variable.
4585 2014-02-18 Doug Evans <dje@google.com>
4587 * Makefile.in (check-parallel): rm -rf outputs temp.
4589 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4591 Fix "ERROR: no fileid for" in the testsuite.
4592 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
4594 2014-02-12 Doug Evans <dje@google.com>
4596 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
4597 (MISCELLANEOUS): New variable.
4598 (clean): rm -rf $(MISCELLANEOUS).
4599 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
4600 dwp live in the same directory as symlinks, with each symlink pointed
4601 to a differently named file in a different directory.
4603 2014-02-11 Doug Evans <dje@google.com>
4605 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
4606 of Tcl file commands.
4608 2014-02-10 Mark Kettenis <kettenis@gnu.org>
4610 * gdb.threads/step-after-sr-lock.exp: Avoid executing
4613 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4615 * gdb.ada/tick_length_array_enum_idx: New testcase.
4617 2014-02-10 Doug Evans <xdje42@gmail.com>
4619 * configure.ac (AC_OUTPUT): Add gdb.guile.
4620 * configure: Regenerate.
4621 * lib/gdb-guile.exp: New file.
4622 * lib/gdb.exp (get_target_charset): New function.
4623 * gdb.base/help.exp: Update expected output from "apropos apropos".
4624 * gdb.guile/Makefile.in: New file.
4625 * gdb.guile/guile.exp: New file.
4626 * gdb.guile/scm-arch.c: New file.
4627 * gdb.guile/scm-arch.exp: New file.
4628 * gdb.guile/scm-block.c: New file.
4629 * gdb.guile/scm-block.exp: New file.
4630 * gdb.guile/scm-breakpoint.c: New file.
4631 * gdb.guile/scm-breakpoint.exp: New file.
4632 * gdb.guile/scm-disasm.c: New file.
4633 * gdb.guile/scm-disasm.exp: New file.
4634 * gdb.guile/scm-equal.c: New file.
4635 * gdb.guile/scm-equal.exp: New file.
4636 * gdb.guile/scm-error.exp: New file.
4637 * gdb.guile/scm-error.scm: New file.
4638 * gdb.guile/scm-frame-args.c: New file.
4639 * gdb.guile/scm-frame-args.exp: New file.
4640 * gdb.guile/scm-frame-args.scm: New file.
4641 * gdb.guile/scm-frame-inline.c: New file.
4642 * gdb.guile/scm-frame-inline.exp: New file.
4643 * gdb.guile/scm-frame.c: New file.
4644 * gdb.guile/scm-frame.exp: New file.
4645 * gdb.guile/scm-generics.exp: New file.
4646 * gdb.guile/scm-gsmob.exp: New file.
4647 * gdb.guile/scm-iterator.c: New file.
4648 * gdb.guile/scm-iterator.exp: New file.
4649 * gdb.guile/scm-math.c: New file.
4650 * gdb.guile/scm-math.exp: New file.
4651 * gdb.guile/scm-objfile-script-gdb.in: New file.
4652 * gdb.guile/scm-objfile-script.c: New file.
4653 * gdb.guile/scm-objfile-script.exp: New file.
4654 * gdb.guile/scm-objfile.c: New file.
4655 * gdb.guile/scm-objfile.exp: New file.
4656 * gdb.guile/scm-ports.exp: New file.
4657 * gdb.guile/scm-pretty-print.c: New file.
4658 * gdb.guile/scm-pretty-print.exp: New file.
4659 * gdb.guile/scm-pretty-print.scm: New file.
4660 * gdb.guile/scm-section-script.c: New file.
4661 * gdb.guile/scm-section-script.exp: New file.
4662 * gdb.guile/scm-section-script.scm: New file.
4663 * gdb.guile/scm-symbol.c: New file.
4664 * gdb.guile/scm-symbol.exp: New file.
4665 * gdb.guile/scm-symtab-2.c: New file.
4666 * gdb.guile/scm-symtab.c: New file.
4667 * gdb.guile/scm-symtab.exp: New file.
4668 * gdb.guile/scm-type.c: New file.
4669 * gdb.guile/scm-type.exp: New file.
4670 * gdb.guile/scm-value-cc.cc: New file.
4671 * gdb.guile/scm-value-cc.exp: New file.
4672 * gdb.guile/scm-value.c: New file.
4673 * gdb.guile/scm-value.exp: New file.
4674 * gdb.guile/source2.scm: New file.
4675 * gdb.guile/types-module.cc: New file.
4676 * gdb.guile/types-module.exp: New file.
4678 2014-02-10 Yao Qi <yao@codesourcery.com>
4681 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
4682 * configure: Regenerated.
4683 * Makefile.in: New file.
4685 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4687 * gdb.python/py-framefilter.exp: Fix typo.
4689 2014-02-08 Yao Qi <yao@codesourcery.com>
4691 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
4692 that no =breakpoint-modified is emitted when breakpoints are
4693 modified through MI commands.
4695 2014-02-07 Pedro Alves <pedro@codesourcery.com>
4696 Pedro Alves <palves@redhat.com>
4698 * gdb.threads/step-after-sr-lock.c: New file.
4699 * gdb.threads/step-after-sr-lock.exp: New file.
4701 2014-02-07 Pedro Alves <palves@redhat.com>
4703 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
4705 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4707 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
4708 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
4710 2014-02-06 Doug Evans <xdje42@gmail.com>
4712 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
4715 * gdb.gdb/python-interrupts.exp: New file.
4717 2014-02-05 Yao Qi <yao@codesourcery.com>
4719 * gdb.trace/report.exp (use_collected_data): Test the output
4720 of "info threads" and "info inferiors".
4722 2014-02-05 Yao Qi <yao@codesourcery.com>
4726 2013-05-24 Yao Qi <yao@codesourcery.com>
4728 * gdb.trace/tfile.exp: Test inferior and thread.
4730 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4732 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
4734 * gdb.base/step-bt.c: Call hello via function pointer to make
4735 sure its first instruction is executed on powerpc64le-linux.
4737 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4739 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
4741 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4743 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
4744 of the test patterns for use on little-endian systems.
4746 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4748 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
4749 (decimal_vector): Fix for little-endian.
4751 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4753 * gdb.arch/sparc-sysstep.exp: New file.
4754 * gdb.arch/sparc-sysstep.c: Likewise.
4756 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
4758 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4760 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
4762 2014-01-23 Tom Tromey <tromey@redhat.com>
4764 * gdb.ada/array_char_idx: New testcase.
4766 2014-01-23 Tom Tromey <tromey@redhat.com>
4769 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
4770 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
4773 2014-01-23 Tom Tromey <tromey@redhat.com>
4776 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
4777 string from an inferior frame.
4778 * gdb.python/py-framefilter-mi.exp: Update.
4780 2014-01-22 Doug Evans <dje@google.com>
4782 * gdb.server/server-mon.exp: Add tests for "set debug-format".
4784 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4786 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
4788 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4790 * gdb.trace/entry-values.exp: Remove excess space character from
4791 regex patterns. Handle s390 call instruction.
4793 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4795 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
4796 define "*_start" label. Make "name" static.
4797 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
4798 ${name} by references to ${name}_start.
4800 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4802 * gdb.base/info-macros.exp: Remove "debug" from the compile
4805 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4807 * gdb.dlang/demangle.exp: New file.
4809 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4811 * gdb.dlang/primitive-types.exp: New file.
4813 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4815 * configure.ac: Create gdb.dlang/Makefile.
4816 * configure: Regenerate.
4817 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
4818 * gdb.dlang/Makefile.in: New file.
4819 * lib/d-support.exp: New file.
4820 * lib/gdb.exp (skip_d_tests): New proc.
4822 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4824 * gdb.btrace/delta.exp: Check reverse stepi.
4825 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
4826 * gdb.btrace/finish.exp: New.
4827 * gdb.btrace/next.exp: New.
4828 * gdb.btrace/nexti.exp: New.
4829 * gdb.btrace/record_goto.c: Add comments.
4830 * gdb.btrace/step.exp: New.
4831 * gdb.btrace/stepi.exp: New.
4832 * gdb.btrace/multi-thread-step.c: New.
4833 * gdb.btrace/multi-thread-step.exp: New.
4834 * gdb.btrace/rn-dl-bind.c: New.
4835 * gdb.btrace/rn-dl-bind.exp: New.
4836 * gdb.btrace/data.c: New.
4837 * gdb.btrace/data.exp: New.
4838 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4840 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4842 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
4843 * gdb.btrace/exception.exp: Update.
4844 * gdb.btrace/instruction_history.exp: Update.
4845 * gdb.btrace/record_goto.exp: Update.
4846 * gdb.btrace/tailcall.exp: Update.
4847 * gdb.btrace/unknown_functions.exp: Update.
4848 * gdb.btrace/delta.exp: New.
4850 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4852 * gdb.btrace/record_goto.exp: Add backtrace test.
4853 * gdb.btrace/tailcall.exp: Add backtrace test.
4855 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4857 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
4858 * gdb.btrace/record_goto.c: New.
4859 * gdb.btrace/record_goto.exp: New.
4860 * gdb.btrace/x86-record_goto.S: New.
4862 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4864 * gdb.btrace/function_call_history.exp: Update tests.
4865 * gdb.btrace/instruction_history.exp: Update tests.
4867 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4869 * gdb.btrace/function_call_history.exp: Fix expected field
4870 order for "record function-call-history".
4871 Add new tests for "record function-call-history /c".
4872 * gdb.btrace/exception.cc: New.
4873 * gdb.btrace/exception.exp: New.
4874 * gdb.btrace/tailcall.exp: New.
4875 * gdb.btrace/x86-tailcall.S: New.
4876 * gdb.btrace/x86-tailcall.c: New.
4877 * gdb.btrace/unknown_functions.c: New.
4878 * gdb.btrace/unknown_functions.exp: New.
4879 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4881 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4883 * gdb.btrace/instruction_history.exp: Update.
4884 * gdb.btrace/function_call_history.exp: Update.
4886 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4888 * gdb.btrace/function_call_history.exp: Fix expected function
4890 * gdb.btrace/instruction_history.exp: Initialize traced.
4891 Remove traced_functions.
4893 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4895 * gdb.btrace/function_call_history.exp: Update
4896 * gdb.btrace/instruction_history.exp: Update.
4898 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4900 * gdb.btrace/enable.exp: Update expected text.
4902 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
4904 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
4907 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
4909 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
4911 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4913 * lib/gdb.exp (supports_process_record): Return true for
4914 arm*-linux*. (supports_reverse): Likewise.
4916 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4920 * gdb.python/py-type.c: Enhance test case.
4921 * gdb.python/py-value-cc.cc: Likewise
4922 * gdb.python/py-type.exp: Add new tests.
4923 * gdb.python/py-value-cc.exp: Likewise
4925 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4926 Pedro Alves <palves@redhat.com>
4928 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
4930 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
4931 references to ${name}_start by references to ${name}.
4933 2014-01-10 Joel Brobecker <brobecker@adacore.com>
4935 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
4937 2014-01-10 Joel Brobecker <brobecker@adacore.com>
4939 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
4941 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
4942 Pedro Alves <palves@redhat.com>
4944 * gdb.mi/mi-info-os.exp: Connect to the target with
4947 2014-01-08 Pedro Alves <palves@redhat.com>
4949 * gdb.threads/reconnect-signal.c: New file.
4950 * gdb.threads/reconnect-signal.exp: New file.
4952 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4954 * gdb.base/source-dir.exp: New file.
4956 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4958 * gdb.ada/mi_interface: New testcase.
4960 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4962 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
4963 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
4964 gdb.ada/pp-rec-component/pck.ads: New files.
4966 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4968 * gdb.python/py-pp-integral.c: New file.
4969 * gdb.python/py-pp-integral.py: New file.
4970 * gdb.python/py-pp-integral.exp: New file.
4972 For older changes see ChangeLog-1993-2013.
4978 ;; version-control: never
4981 Copyright 2014-2015 Free Software Foundation, Inc.
4982 Copying and distribution of this file, with or without modification,
4983 are permitted provided the copyright notice and this notice are preserved.