1 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4 * gdb.base/gdbhistsize-history.exp: New test.
6 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
8 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
10 * gdb.base/readline.exp: Likewise.
12 2015-06-17 Yao Qi <yao.qi@linaro.org>
14 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
17 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
19 * gdb.base/gdbinit-history.exp: Add test case to check that
20 an unlimited history file does not get truncated on exit.
22 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
24 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
25 (VECTOR): New macro. Use it...
26 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
27 ...for these typedefs.
28 (int8, char1, int1, double1): New typedefs.
29 (struct just_int2, struct two_int2): New structures.
30 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
31 (add_structvecs, add_singlevecs): New functions.
32 (main): Call add_some_intvecs twice.
33 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
34 the compile and exit upon failure. Try compiling for the "native"
35 architecture. Test inferior function calls with vector arguments
36 and vector return value handling with "finish" and "return".
38 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
40 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
41 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
43 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
45 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
48 * gdb.mi/mi-dprintf-pending.c: New file.
49 * gdb.mi/mi-dprintf-pending.exp: New test.
50 * gdb.mi/mi-dprintf-pendshr.c: New file.
52 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
53 Mircea Gherzan <mircea.gherzan@intel.com>
55 * gdb.arch/i386-mpx-map.c: New file.
56 * gdb.arch/i386-mpx-map.exp: New File.
58 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
60 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
61 * gdb.arch/i386-mpx.exp: Indentation fixed.
63 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
65 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
66 function and improved indentation.
67 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
68 gdb_test_multiple. Added additional tests to skip the test.
70 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72 * gdb.arch/i386-avx512.c: Change path in include file.
73 * gdb.arch/i386-avx512.exp: Change include dir path
75 * gdb.arch/i386-mpx.c: Change path in include file.
76 * gdb.arch/i386-mpx.exp: Change include dir path compilation
79 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
81 * gdb.compile/compile-print.exp (compile print *vararray@3)
82 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
84 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
86 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
87 (do not keep jit in memory): ... this.
88 (expect 5): Change it to ...
89 (expect no 5): ... this.
91 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
94 * gdb.mi/mi-detach.exp: New file.
96 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
99 * gdb.arch/amd64-tailcall-self.S: New file.
100 * gdb.arch/amd64-tailcall-self.c: New file.
101 * gdb.arch/amd64-tailcall-self.exp: New file.
103 2015-05-28 Don Breazeal <donb@codesourcery.com>
105 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
106 tests for remote targets by checking is_target_gdbserver.
108 2015-05-27 Doug Evans <dje@google.com>
110 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
111 * gdb.dwarf2/opaque-type-lookup.c: New file.
112 * gdb.dwarf2/opaque-type-lookup.exp: New file.
114 2015-05-26 Doug Evans <dje@google.com>
116 * gdb.cp/iostream.cc: New file.
117 * gdb.cp/iostream.exp: New file.
119 2015-05-26 Doug Evans <dje@google.com>
121 * gdb.dwarf2/dw2-op-call.exp: Update.
122 * gdb.dwarf2/dw4-sig-types.exp: Update.
123 * gdb.dwarf2/implptr.exp: Update.
124 * gdb.mi/mi-cmd-param-changed.exp: Update.
126 2015-05-26 Doug Evans <dje@google.com>
128 * gdb.python/py-lazy-string.c: New file.
129 * gdb.python/py-lazy-string.exp: New file.
130 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
131 (main): Update. Add estring3.
132 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
133 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
135 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
136 Yao Qi <yao.qi@linaro.org>
138 * gdb.reverse/aarch64.c: New.
139 * gdb.reverse/aarch64.exp: New.
141 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
143 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
144 (supports_reverse): Likewise.
146 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
148 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
149 Use with_test_prefix.
151 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
153 * gdb.base/completion.exp: Add test for completion of layout
156 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
158 * lib/gdb.exp (skip_tui_tests): New proc.
159 * gdb.base/tui-layout.exp: Check skip_tui_tests.
161 2015-05-19 Pedro Alves <palves@redhat.com>
163 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
164 Save the whole env array instead of just HOME. Unset HISTSIZE in
165 the environment while testing. Restore whole environment
168 2015-05-16 Doug Evans <xdje42@gmail.com>
170 * gdb.guile/scm-ports.c: New file.
171 * gdb.guile/scm-ports.exp: Add memory port tests.
173 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
175 * gdb.compile/compile-print.c: New file.
176 * gdb.compile/compile-print.exp: New file.
178 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
180 * gdb.compile/compile-ops.exp: Cast param to void.
181 * gdb.compile/compile.exp: Complete type for _gdb_expr.
182 (compile code struct_object.selffield = &struct_object): Add xfail.
184 2015-05-15 Joel Brobecker <brobecker@adacore.com>
186 * gdb.ada/arr_enum_with_gap: New testcase.
188 2015-05-15 Joel Brobecker <brobecker@adacore.com>
190 * gdb.ada/byte_packed_arr: New testcase.
192 2015-05-15 Joel Brobecker <brobecker@adacore.com>
194 * gdb.ada/pckd_neg: New testcase.
196 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
199 * gdb.base/gdbinit-history.exp: New test.
200 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
201 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
203 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
205 * gdb.python/py-xmethods.cc: Enhance test case.
206 * gdb.python/py-xmethods.exp: New tests.
207 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
209 (B_indexoper): Likewise.
210 (global_dm_list) : Add new xmethod worker functions.
212 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
214 * gdb.base/coredump-filter.exp: Correctly unset
215 "coredump_var_addr" array.
217 2015-05-08 Pedro Alves <palves@redhat.com>
219 * gdb.server/non-existing-program.exp: Unset spawn_id.
221 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
224 * gdb.python/py-xmethods.exp: Add tests.
226 2015-05-08 Yao Qi <yao.qi@linaro.org>
229 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
230 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
231 function set_coredump_filter, and remove remote_exec call.
232 Remove argument ipid. Callers update.
233 (top level): Don't get inferior's PID.
235 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
237 * gdb.base/watch_thread_num.exp: Skip test on targets without
240 2015-05-06 Pedro Alves <palves@redhat.com>
243 * gdb.server/non-existing-program.exp: New file.
245 2015-05-05 Joel Brobecker <brobecker@adacore.com>
247 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
249 2015-05-05 Joel Brobecker <brobecker@adacore.com>
251 * gdb.ada/out_of_line_in_inlined: New testcase.
253 2015-05-05 Joel Brobecker <brobecker@adacore.com>
255 * gdb.ada/var_rec_arr: New testcase.
257 2015-04-30 Yao Qi <yao.qi@linaro.org>
259 * gdb.base/break-idempotent.exp: If
260 skip_hw_watchpoint_multi_tests returns true, skip the tests
261 on "rwatch" and "awatch".
263 2015-04-30 Yao Qi <yao.qi@linaro.org>
265 * gdb.base/relativedebug.exp: Invoke gdb command
266 "info sharedlibrary", and if libc.so doesn't have debug info,
269 2015-04-29 Doug Evans <dje@google.com>
271 * gdb.python/py-xmethods.exp: Add ptype tests.
272 * gdb.python/py-xmethods.py (E_method_char_worker): Add
273 get_result_type method.
275 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
277 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
278 the target does not support hardware watchpoints.
280 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
282 * gdb.base/break-always.exp: Abort testing if writing to memory
285 2015-04-28 Doug Evans <dje@google.com>
287 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
288 * gdb.python/py-pp-registration.exp: ... here. New file.
289 * gdb.python/py-pp-registration.c: New file.
290 * gdb.python/py-pp-registration.py: New file.
292 2015-04-28 Doug Evans <dje@google.com>
294 * gdb.python/py-bad-printers.c: New file.
295 * gdb.python/py-bad-printers.py: New file.
296 * gdb.python/py-bad-printers.exp: New file.
298 2015-04-28 Sasha Smundak <asmundak@google.com>
300 * gdb.python/py-type.exp: New test.
302 2015-04-28 Andy Wingo <wingo@igalia.com>
304 * gdb.python/py-parameter.exp:
305 * gdb.guile/scm-parameter.exp: Escape the path that we are
306 matching against, as it might contain characters that are special
307 to regular expressions.
309 2015-04-27 Joel Brobecker <brobecker@adacore.com>
311 * gdb.ada/rec_comp: New testcase.
313 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
315 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
318 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
320 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
321 new tests for verilog output.
323 2015-04-24 Yao Qi <yao.qi@linaro.org>
325 * boards/remote-gdbserver-on-localhost.exp: New file.
327 2015-04-23 Pedro Alves <palves@redhat.com>
329 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
330 $inferior_spawn_id instead of $inferior_spawn_id directly. On
331 "end of file", remove $inferior_spawn_id from the indirect list.
333 2015-04-23 Pedro Alves <palves@redhat.com>
335 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
337 2015-04-23 Pedro Alves <palves@redhat.com>
339 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
340 on $any_spawn_id instead of only on $gdb_spawn_id.
342 2015-04-21 Pierre Muller <muller@sourceware.org>
345 * lib/pascal.exp (gpc_compile): Add new option "class".
346 (fpc_compile): Likewise.
347 * gdb.pascal/case-insensitive-symbols.pas: New file.
348 * gdb.pascal/case-insensitive-symbols.exp: New file.
350 2015-04-20 Gary Benson <gbenson@redhat.com>
352 * gdb.base/attach.exp: Fix three extended remote failures.
354 2015-04-17 Gary Benson <gbenson@redhat.com>
356 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
357 the main executable over the remote protocol.
359 2015-04-16 Pedro Alves <palves@redhat.com>
361 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
362 a new gdbserver if gdbserver_reconnect_p is set.
364 2015-04-16 Pedro Alves <palves@redhat.com>
366 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
367 is set, don't exit gdbserver.
369 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
371 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
372 appropriate .insn, such that an older assembler can be used.
373 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
374 the z/Architecture instruction set on 31-bit targets as well.
376 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
378 * gdb.go/handcall.exp: Remove all logic related to the first
379 breakpoint and rely on go_runto_main instead.
380 * gdb.go/strings.exp: Likewise.
381 * gdb.go/unsafe.exp: Likewise.
382 * gdb.go/hello.exp: Likewise. Also rename the remaining
383 breakpoint marker to "breakpoint 1".
384 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
385 * gdb.go/strings.go: Likewise.
386 * gdb.go/unsafe.go: Likewise.
387 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
388 "set breakpoint 2 here" and rename the remaining breakpoint marker
391 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
393 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
394 if itertools.imap is not present.
395 * gdb.python/py-objfile.exp: Add parentheses.
396 * gdb.python/py-type.exp: Same.
397 * gdb.python/py-unwind-maint.py: Same.
399 2015-04-15 Yao Qi <yao.qi@linaro.org>
401 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
402 of ":$ptr_size" and set its form explicitly.
404 2015-04-15 Pedro Alves <palves@redhat.com>
405 Yao Qi <yao.qi@linaro.org>
407 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
408 timeout by factor of 4.
409 (test_regular_watch): Likewise.
410 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
411 * gdb.reverse/sigall-reverse.exp: Likewise.
412 * gdb.reverse/until-precsave.exp: Likewise.
413 * lib/gdb.exp (with_timeout_factor): New proc.
414 (gdb_expect): Move some code to ...
415 (get_largest_timeout): ... here. New procedure.
417 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
419 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
421 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
423 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
424 to write to the .text section.
426 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
428 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
429 Handle the case of targets that do not provide PID information.
431 2015-04-13 Yao Qi <yao.qi@linaro.org>
433 * lib/gdbserver-support.exp (gdb_exit): Catch exception
434 and use expect instead of gdb_expect.
436 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
438 * gdb.base/coredump-filter.exp: Rename variable "addr" to
439 "coredump_var_addr" to avoid naming conflict with other testcases.
441 2015-04-10 Pedro Alves <palves@redhat.com>
443 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
444 gdb_test_sequence and gdb_assert.
446 2015-04-10 Pedro Alves <palves@redhat.com>
448 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
449 test messages that don't include the breakpoint address.
451 2015-04-10 Yao Qi <yao.qi@linaro.org>
453 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
454 false for some offset and width combinations which aren't
455 supported by linux kernel.
457 2015-04-10 Pedro Alves <palves@redhat.com>
459 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
460 procedure, factored out from ...
461 (top level): ... here. Add "set displaced-stepping" testing axis.
462 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
463 parameter "displaced". Use it.
464 (top level): Use foreach and add "set displaced-stepping" testing
467 2015-04-10 Pedro Alves <palves@redhat.com>
469 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
471 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
472 both the address of the instruction that triggers the watchpoint
473 and the address of the instruction immediately after, and use
474 those addresses for the test. Fix comment.
476 2015-04-10 Pedro Alves <palves@redhat.com>
478 * gdb.base/sigstep.exp (breakpoint_to_handler)
479 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
480 Test "backtrace" in handler.
481 (breakpoint_over_handler): New parameter 'displaced'. Use it.
482 (top level): Add new "displaced" test axis to
483 breakpoint_to_handler, breakpoint_to_handler_entry and
484 breakpoint_over_handler.
486 2015-04-10 Pedro Alves <palves@redhat.com>
489 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
491 2015-04-10 Yao Qi <yao.qi@linaro.org>
493 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
494 (test_add_rn_pc): New function.
495 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
496 (top level): Invoke test_add_rn_pc.
498 2015-04-10 Pedro Alves <palves@redhat.com>
501 * gdb.base/step-over-no-symbols.exp: New file.
503 2015-04-09 Andy Wingo <wingo@igalia.com>
505 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
506 after the Python tests.
508 2015-04-08 Keith Seitz <keiths@redhat.com>
511 * gdb.python/py-completion.exp: New tests for completion.
512 * gdb.python/py-completion.py (CompleteLimit1): New class.
513 (CompleteLimit2): Likewise.
514 (CompleteLimit3): Likewise.
515 (CompleteLimit4): Likewise.
516 (CompleteLimit5): Likewise.
517 (CompleteLimit6): Likewise.
518 (CompleteLimit7): Likewise.
520 2015-04-08 Pedro Alves <palves@redhat.com>
524 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
526 (main): Install it as SIGUSR1 handler.
527 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
528 parameter. Always use "setup" as prefix. Toggle "set
529 displaced-stepping" off/on depending on global. Don't switch to
531 (top level): Add displaced stepping "off/on" test axis. Update
532 "setup" calls. Wrap each subtest with with_test_prefix. Test
533 continuing with a queued signal in each thread.
535 2015-04-08 Pedro Alves <palves@redhat.com>
537 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
538 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
539 gdb_breakpoint instead of gdb_test that doesn't expect anything.
540 Return early if running to main fails.
541 * gdb.trace/while-stepping.exp: Likewise.
543 2015-04-07 Pedro Alves <palves@redhat.com>
545 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
546 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
547 interact with inferior program.
549 2015-04-07 Pedro Alves <palves@redhat.com>
551 * lib/gdb.exp (inferior_spawn_id): New global.
552 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
553 spawn id after processing the user code.
554 (default_gdb_start): Set inferior_spawn_id.
555 (send_inferior): New procedure.
556 * lib/gdbserver-support.exp (gdbserver_start): Set
558 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
560 2015-04-07 Pedro Alves <palves@redhat.com>
562 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
563 * lib/gdbserver-support.exp (gdbserver_start): Make
564 $server_spawn_id global.
565 (gdbserver_start): Don't wait for gdbserver's spawn id with
567 (close_gdbserver): New procedure.
568 (gdb_exit): Rename the default version and reimplement.
570 2015-04-07 Pedro Alves <palves@redhat.com>
572 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
573 append the substituted item, not the original item.
575 2015-04-07 Pedro Alves <palves@redhat.com>
577 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
580 2015-04-07 Pedro Alves <palves@redhat.com>
582 * gdb.base/interrupt.exp: Don't handle the case of the inferior
583 output appearing once only.
585 2015-04-07 Pedro Alves <palves@redhat.com>
587 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
588 that doesn't expect anything. Return early if running to main
591 2015-04-07 Yao Qi <yao.qi@linaro.org>
593 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
594 (child_function): Call alarm.
595 (main): Move call to alarm into the loop.
596 * gdb.threads/non-stop-fair-events.exp: Build program with
599 2015-04-06 Doug Evans <xdje42@gmail.com>
601 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
602 Fix dest parameter to board_info.
603 (fpc_compile): Ditto.
604 (gdb_compile_pascal): Rename dest arg to destfile.
606 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
608 * gdb.ada/funcall_ref.exp: New file.
609 * gdb.ada/funcall_ref/foo.adb: New file.
611 2015-04-02 Yao Qi <yao.qi@linaro.org>
613 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
616 2015-04-02 Gary Benson <gbenson@redhat.com>
618 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
620 2015-04-01 Sasha Smundak <asmundak@google.com>
622 * gdb.python/py-unwind-maint.c: New file.
623 * gdb.python/py-unwind-maint.exp: New test.
624 * gdb.python/py-unwind-maint.py: New file.
625 * gdb.python/py-unwind.c: New file.
626 * gdb.python/py-unwind.exp: New test.
627 * gdb.python/py-unwind.py: New test.
629 2015-04-01 Pedro Alves <palves@redhat.com>
631 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
632 to fail instead of non-existent $test.
634 2015-04-01 Pedro Alves <palves@redhat.com>
636 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
637 GDBFLAGS if not empty.
639 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
641 * gdb.ada/complete.exp: Remove "multi_line".
642 * gdb.ada/info_exc.exp: Remove "multi_line".
643 * gdb.ada/packed_tagged.exp: Remove "multi_line".
644 * gdb.ada/ptype_field.exp: Remove "multi_line".
645 * gdb.ada/sym_print_name.exp: Remove "multi_line".
646 * gdb.ada/tagged.exp: Remove "multi_line".
647 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
649 * gdb.btrace/delta.exp: Likewise.
650 * gdb.btrace/exception.exp: Likewise.
651 * gdb.btrace/function_call_history.exp: Likewise.
652 * gdb.btrace/instruction_history.exp: Likewise.
653 * gdb.btrace/nohist.exp: Likewise.
654 * gdb.btrace/record_goto.exp: Likewise.
655 * gdb.btrace/segv.exp: Likewise.
656 * gdb.btrace/stepi.exp: Likewise.
657 * gdb.btrace/tailcall.exp: Likewise.
658 * gdb.btrace/unknown_functions.exp: Likewise.
659 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
660 * lib/gdb.exp: Add the "multi_line" helper.
662 2015-04-01 Pedro Alves <palves@redhat.com>
664 * gdb.threads/tid-reuse.c: New file.
665 * gdb.threads/tid-reuse.exp: New file.
667 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
670 * gdb.base/coredump-filter.c: New file.
671 * gdb.base/coredump-filter.exp: Likewise.
673 2015-03-27 Petr Machata <pmachata@redhat.com>
675 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
676 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
677 (Dwarf::assemble): Initialize them.
678 (Dwarf::lines): New function.
680 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
682 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
683 SYMBOL_PREFIX for x86_64-*-cygwin.
685 2015-03-26 Andy Wingo <wingo@igalia.com>
688 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
689 const_value but not a location.
690 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
691 location defined in non-main CUs are visible.
693 2015-03-26 Yao Qi <yao.qi@linaro.org>
696 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
697 Add a line number entry for the same line.
698 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
699 Add a line number entry for the same line.
701 2015-03-26 Yao Qi <yao.qi@linaro.org>
703 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
705 (func): Likewise. Add .Lfunc_1 label.
707 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
712 2015-03-26 Yao Qi <yao.qi@linaro.org>
714 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
715 Call gdb_compile instead to compile each .s files without debug
718 2015-03-26 Yao Qi <yao.qi@linaro.org>
720 * gdb.base/savedregs.exp (process_saved_regs): Make
721 "Saved registers:" optional in the pattern.
723 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
725 * gdb.btrace/next.exp: Merged into step.exp.
726 * gdb.btrace/finish.exp: Merged into step.exp.
727 * gdb.btrace/nexti.exp: Merged into stepi.exp.
728 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
729 "record goto" and checking the exact replay position.
730 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
731 check for "Recording format" in "info record" output.
732 * gdb.btrace/record_goto.exp: Choose test file based on target.
733 * gdb.btrace/x86-record_goto.S: Renamed into ...
734 * gdb.btrace/x86_64-record_goto.S: ... this.
735 * gdb.btrace/i686-record_goto.S: New.
736 * gdb.btrace/x86-tailcall.S: Renamed into ...
737 * gdb.btrace/x86_64-tailcall.S: ... this.
738 * gdb.btrace/i686-tailcall.S: New.
739 * gdb.btrace/x86-tailcall.c: Renamed into ...
740 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
741 separate statements. Update test.
742 * gdb.btrace/delta.exp: Use record_goto.c as test file.
743 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
744 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
745 * gdb.btrace/tailcall.exp: Choose test file based on target.
746 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
748 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
750 * gdb.btrace/exception.exp: Increase BTS buffer size.
752 2015-03-24 Pedro Alves <palves@redhat.com>
754 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
756 2015-03-24 Pedro Alves <palves@redhat.com>
758 * gdb.threads/schedlock.exp (test_step): No longer expect that
759 "set scheduler-locking step" with "next" over a function call runs
762 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
764 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
766 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
769 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
770 * gdb.mi/mi-pending.c (thread_func): New function.
771 (int main): Add threading support required.
772 * gdb.mi/mi-pending.exp: Add tests for this issue.
773 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
774 (pendfunc2): Remove stdio dependency.
775 * gdb.mi/mi-pendshr2.c: New file.
777 2015-03-23 Keith Seitz <keiths@redhat.com>
779 * gdb.linespec/keywords.c: New file.
780 * gdb.linespec/keywords.exp: New file.
782 2015-03-23 Keith Seitz <keiths@redhat.com>
785 * gdb.dwarf2/staticvirtual.exp: New test.
787 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
789 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
790 * README: Remove HP-UX and gdb.hp.
792 * configure: Regenerate.
793 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
794 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
795 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
796 gdb.hp/gdb.defects/Makefile.
797 * gdb.hp/Makefile.in: File deleted.
798 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
799 * gdb.hp/gdb.aCC/optimize.c: File deleted.
800 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
801 * gdb.hp/gdb.aCC/run.c: File deleted.
802 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
803 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
804 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
805 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
806 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
807 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
808 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
809 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
810 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
811 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
812 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
813 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
814 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
815 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
816 * gdb.hp/gdb.base-hp/reg.s: File deleted.
817 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
818 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
819 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
820 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
821 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
822 * gdb.hp/gdb.compat/Makefile.in: File deleted.
823 * gdb.hp/gdb.compat/average.c: File deleted.
824 * gdb.hp/gdb.compat/sum.c: File deleted.
825 * gdb.hp/gdb.compat/xdb.c: File deleted.
826 * gdb.hp/gdb.compat/xdb0.c: File deleted.
827 * gdb.hp/gdb.compat/xdb0.h: File deleted.
828 * gdb.hp/gdb.compat/xdb1.c: File deleted.
829 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
830 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
831 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
832 * gdb.hp/gdb.defects/Makefile.in: File deleted.
833 * gdb.hp/gdb.defects/bs14602.c: File deleted.
834 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
835 * gdb.hp/gdb.defects/solib-d.c: File deleted.
836 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
837 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
838 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
839 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
840 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
841 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
842 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
843 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
844 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
845 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
846 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
847 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
848 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
849 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
850 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
851 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
852 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
853 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
854 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
855 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
856 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
857 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
858 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
859 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
860 * gdb.hp/tools/odump: File deleted.
862 2015-03-19 Pedro Alves <palves@redhat.com>
864 * gdb.threads/continue-pending-status.exp (saw_thread_2)
865 (saw_thread_3): New globals.
866 (top level): Increment them when an event for the corresponding
868 (no thread starvation): New test.
870 2015-03-19 Pedro Alves <palves@redhat.com>
872 * gdb.threads/continue-pending-status.c: New file.
873 * gdb.threads/continue-pending-status.exp: New file.
875 2015-03-18 Pedro Alves <palves@redhat.com>
877 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
878 Use gdb_is_target_remote instead of is_remote. Use
879 gdb_test_multiple instead of gdb_expect. Exit early if
880 gdb_test_multiple hits its internal matches. Tighten stepi tests
881 expected output. Fail on exit with any signal, instead of just
884 2015-03-18 Yao Qi <yao.qi@linaro.org>
887 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
889 * gdb.base/catch-syscall.exp: Don't skip it on
890 aarch64*-*-linux* target. Remove elements in all_syscalls.
891 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
893 (setup_all_syscalls): New proc.
895 2015-03-16 Yao Qi <yao.qi@linaro.org>
897 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
898 (top level): Skip tests if valid_addr_p returns false for
901 2015-03-11 Andy Wingo <wingo@igalia.com>
903 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
905 2015-03-11 Yao Qi <yao.qi@linaro.org>
907 * gdb.base/catch-syscall.exp: Fix typo in comments.
909 2015-03-11 Yao Qi <yao.qi@linaro.org>
911 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
913 2015-03-09 Pedro Alves <palves@redhat.com>
915 * dg-extract-results.py: Delete.
917 2015-03-09 Pedro Alves <palves@redhat.com>
919 Merge dg-extract-results.sh from GCC upstream (r218843).
921 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
922 * dg-extract-results.sh: Use --text with grep to avoid issues with
923 binary files. Fall back to cat -v, if that doesn't work.
925 2015-03-05 Pedro Alves <palves@redhat.com>
927 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
929 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
931 * lib/mi-support.exp (mi_expect_interrupt): Accept
932 alternative event for when in all-stop mode.
934 2015-03-04 Pedro Alves <palves@redhat.com>
936 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
938 2015-03-04 Mark Kettenis <kettenis@gnu.org>
940 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
942 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
944 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
945 regexps for GDB's current line display, accept a hex address
946 preceding the line number.
948 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
950 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
951 the 'arch1' variable for "s390*-linux*" targets.
953 2015-03-04 Pedro Alves <palves@redhat.com>
955 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
956 (main): Pass missing retval argument to pthread_join call.
958 2015-03-02 Pedro Alves <palves@redhat.com>
960 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
961 (top level): Call do_test with non-stop as well.
963 2015-03-02 Pedro Alves <palves@redhat.com>
965 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
968 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
970 * gdb.arch/s390-vregs.exp: New test.
971 * gdb.arch/s390-vregs.S: New file.
973 2015-02-27 Pedro Alves <palves@redhat.com>
975 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
976 call to catch_command_errors.
977 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
978 catch_command_errors.
980 2015-02-27 Pedro Alves <palves@redhat.com>
982 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
983 "true" for boolean result.
984 * gdb.gdb/selftest.exp (test_with_self): Also accept full
987 2015-02-27 Pedro Alves <palves@redhat.com>
989 * lib/unbuffer_output.c: New file.
990 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
991 (main): Call gdb_unbuffer_output.
993 2015-02-27 Yao Qi <yao.qi@linaro.org>
995 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
998 2015-02-26 Doug Evans <dje@google.com>
1000 * gdb.cp/class2.cc (Dbase, D): New classes.
1001 (main): New local delta.
1002 * gdb.cp/class2.exp: Test printing delta.
1003 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
1004 (dynbar): New global.
1005 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
1007 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1009 * gdb.compile/compile-ifunc.c: New file.
1010 * gdb.compile/compile-ifunc.exp: New file.
1012 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
1014 * gdb.base/structs.exp: Check for correct struct on finish.
1016 2015-02-26 Yao Qi <yao.qi@linaro.org>
1018 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
1021 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1023 * gdb.arch/cordic.ko.bz2: New file.
1024 * gdb.arch/cordic.ko.debug.bz2: New file.
1025 * gdb.arch/ppc64-symtab-cordic.exp: New file.
1027 2015-02-25 Yao Qi <yao.qi@linaro.org>
1029 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
1030 aarch64*-*-* target.
1032 2015-02-23 Pedro Alves <palves@redhat.com>
1034 * lib/gdb.exp (delete_breakpoints): Rewrite using
1037 2015-02-23 Pedro Alves <palves@redhat.com>
1039 * gdb.base/info-os.c: Include stdlib.h.
1041 2015-02-22 Doug Evans <xdje42@gmail.com>
1044 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
1045 is read after symbols have been re-read.
1046 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
1047 * gdb.ada/exec_changed/second.adb (Second): Ditto.
1049 2015-02-21 Doug Evans <dje@google.com>
1051 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
1053 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1056 * gdb.arch/i386-biarch-core.core.bz2: New file.
1057 * gdb.arch/i386-biarch-core.exp: New file.
1059 2015-02-21 Pedro Alves <palves@redhat.com>
1061 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
1064 2015-02-20 Pedro Alves <palves@redhat.com>
1066 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
1069 2015-02-20 Pedro Alves <palves@redhat.com>
1071 * gdb.threads/multi-create-ns-info-thr.exp: New file.
1073 2015-02-20 Pedro Alves <palves@redhat.com>
1075 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
1076 clean_restart before gdb_target_supports_trace.
1078 2015-02-20 Pedro Alves <palves@redhat.com>
1081 * gdb.threads/clone-thread_db.c: New file.
1082 * gdb.threads/clone-thread_db.exp: New file.
1084 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
1086 PR breakpoints/16812
1087 * gdb.base/catch-gdb-caused-signals.c: New file.
1088 * gdb.base/catch-gdb-caused-signals.exp: New file.
1090 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
1092 * configure: Regenerated.
1093 * configure.ac: Use GDB_AC_TRANSFORM.
1094 * aclocal.m4: sinclude ../transform.m4.
1096 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1098 * lib/dtrace.exp: New file.
1099 * gdb.base/dtrace-probe.exp: Likewise.
1100 * gdb.base/dtrace-probe.d: Likewise.
1101 * gdb.base/dtrace-probe.c: Likewise.
1102 * lib/pdtrace.in: Likewise.
1103 * configure.ac: Output variables with the transformed names of
1104 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
1105 * configure: Regenerated.
1107 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1109 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
1110 expected message when trying to access $_probe_* convenience
1111 variables while not on a probe.
1113 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1115 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
1117 2015-02-11 Pedro Alves <pedro@codesourcery.com>
1119 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
1120 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
1122 2015-02-10 Doug Evans <xdje42@gmail.com>
1124 * lib/gdb.exp (gdb_load): Always return a result.
1126 2015-02-10 Pedro Alves <palves@redhat.com>
1128 * gdb.threads/signal-sigtrap.c: New file.
1129 * gdb.threads/signal-sigtrap.exp: New file.
1131 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
1133 * gdb.trace/no-attach-trace.c: New file.
1134 * gdb.trace/no-attach-trace.exp: New file.
1136 2015-02-09 Mark Wielaard <mjw@redhat.com>
1138 * gdb.dwarf2/atomic.c: New file.
1139 * gdb.dwarf2/atomic-type.exp: Likewise.
1141 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1143 * gdb.btrace/buffer-size.exp: Update "info record" output.
1144 * gdb.btrace/delta.exp: Update "info record" output.
1145 * gdb.btrace/enable.exp: Update "info record" output.
1146 * gdb.btrace/finish.exp: Update "info record" output.
1147 * gdb.btrace/instruction_history.exp: Update "info record" output.
1148 * gdb.btrace/next.exp: Update "info record" output.
1149 * gdb.btrace/nexti.exp: Update "info record" output.
1150 * gdb.btrace/step.exp: Update "info record" output.
1151 * gdb.btrace/stepi.exp: Update "info record" output.
1152 * gdb.btrace/nohist.exp: Update "info record" output.
1154 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1156 * gdb.btrace/buffer-size: New.
1158 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1160 * gdb.btrace/delta.exp: Update "info record" output.
1161 * gdb.btrace/enable.exp: Update "info record" output.
1162 * gdb.btrace/finish.exp: Update "info record" output.
1163 * gdb.btrace/instruction_history.exp: Update "info record" output.
1164 * gdb.btrace/next.exp: Update "info record" output.
1165 * gdb.btrace/nexti.exp: Update "info record" output.
1166 * gdb.btrace/step.exp: Update "info record" output.
1167 * gdb.btrace/stepi.exp: Update "info record" output.
1168 * gdb.btrace/nohist.exp: Update "info record" output.
1170 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
1173 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
1175 2015-02-06 Pedro Alves <palves@redhat.com>
1177 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
1179 (seconds_left, again): New globals.
1180 (main): Wait seconds_left in a 1-second sleep loop instead of
1181 sleeping 180 seconds. If 'again' is set, reset the seconds
1183 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
1184 'again' in the inferior before detaching. Print the seconds left.
1185 (options): New global.
1186 (top level): Build program with -DTIMEOUT=$timeout.
1188 2015-02-06 Pedro Alves <palves@redhat.com>
1190 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
1191 determine how many seconds to pass to 'alarm'.
1192 * gdb.base/gdb-sigterm.exp (top level): Build program with
1194 (do_test): Return success/failure indication. Add more verbose
1195 logging. Don't fail if 200 single steps are seen. Instead, fail
1196 when the test times out.
1197 (passes): New global.
1198 (top level): Break the testing loop if testing fails on any
1199 iteration. Use gdb_assert.
1201 2015-02-04 Don Breazeal <donb@codesourcery.com>
1203 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
1204 and initialize them.
1205 (ipc_cleanup): New function.
1206 (main): Don't declare shmid, semid, and msqid. Add a call to
1207 atexit so that we call ipc_cleanup on exit.
1209 2015-02-04 Pedro Alves <palves@redhat.com>
1211 * boards/native-extended-gdbserver.exp: Remove any target variant
1212 specifications from the board name before clearing the isremote
1213 flag from board_info.
1215 2015-01-31 Doug Evans <xdje42@gmail.com>
1217 * gdb.base/maint.exp <maint print type argc>: Update expected output.
1219 2015-01-31 Gary Benson <gbenson@redhat.com>
1221 * gdb.base/completion.exp: Disable completion limiting for
1222 existing tests. Add new tests to check completion limiting.
1223 * gdb.linespec/ls-errs.exp: Disable completion limiting.
1225 2015-01-31 Doug Evans <xdje42@gmail.com>
1227 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
1229 2015-01-31 Doug Evans <xdje42@gmail.com>
1231 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
1232 entries. Duplicate file section script entries.
1233 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
1234 inlined entries. Add test for safe-path rejection.
1235 * gdb.python/py-section-script.c: Add duplicate inlined section script
1236 entries. Duplicate file section script entries.
1237 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
1238 inlined entries. Add test for safe-path rejection.
1240 2015-01-29 Joel Brobecker <brobecker@adacore.com>
1242 * gdb.ada/disc_arr_bound: New testcase.
1244 2015-01-29 Joel Brobecker <brobecker@adacore.com>
1246 * gdb.ada/mi_var_array: New testcase.
1248 2015-01-27 Doug Evans <dje@google.com>
1250 * gdb.python/py-objfile.exp: Add tests for objfile.username.
1251 Add test for objfile.filename, objfile.username after objfile
1254 2015-01-26 Joel Brobecker <brobecker@adacore.com>
1256 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
1257 the second test to print the name attribute of value
1258 returned by the call to gdb.lookup_type, and adjust
1259 the expected output accordingly.
1261 2015-01-25 Mark Wielaard <mjw@redhat.com>
1263 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
1264 * gdb.base/disp-step-fork.c: Include unistd.h.
1265 * gdb.base/siginfo-obj.c: Include stdio.h.
1266 * gdb.base/siginfo-thread.c: Likewise.
1267 * gdb.mi/non-stop.c: Include unistd.h.
1268 * gdb.mi/nsthrexec.c: Include stdio.h.
1269 * gdb.mi/pthreads.c: Include unistd.h.
1270 * gdb.modula2/unbounded1.c (main): Declare returns int.
1271 * gdb.reverse/consecutive-reverse.c: Likewise.
1272 * gdb.threads/create-fail.c: Include unistd.h.
1273 * gdb.threads/killed.c: Likewise.
1274 * gdb.threads/linux-dp.c: Likewise.
1275 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
1276 * gdb.threads/non-ldr-exc-2.c: Likewise.
1277 * gdb.threads/non-ldr-exc-3.c: Likewise.
1278 * gdb.threads/non-ldr-exc-4.c: Likewise.
1279 * gdb.threads/pthreads.c: Include unistd.h.
1280 (main): Declare returns int.
1281 * gdb.threads/tls-main.c (foo): New declaration.
1282 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
1284 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
1286 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
1287 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
1289 2015-01-15 Mark Wielaard <mjw@redhat.com>
1291 * gdb.base/noreturn-return.c: New file.
1292 * gdb.base/noreturn-return.exp: New file.
1293 * gdb.base/noreturn-finish.c: New file.
1294 * gdb.base/noreturn-finish.exp: New file.
1296 2015-01-23 Pedro Alves <palves@redhat.com>
1298 * gdb.threads/continue-pending-after-query.c: New file.
1299 * gdb.threads/continue-pending-after-query.exp: New file.
1301 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
1302 Simon Marchi <simon.marchi@ericsson.com>
1304 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
1305 * gdb.base/valgrind-db-attach.exp: Same.
1306 * gdb.base/valgrind-infcall.exp: Same.
1307 * lib/mi-support.exp (default_mi_gdb_start): Same.
1308 * lib/prompt.exp (default_prompt_gdb_start): Same.
1309 * lib/gdb.exp (default_gdb_spawn): Same.
1310 (gdb_interact): New.
1313 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1315 * gdb.compile/compile.exp (pointer to jit function): New test.
1317 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
1319 * lib/gdb.exp (supports_process_record): Return true for
1321 (supports_reverse): Likewise.
1323 2015-01-15 Don Breazeal <donb@codesourcery.com>
1325 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
1326 instead of checking whether the target board is remote and
1327 use spawn_wait_for_attach instead of exec/sleep.
1328 * gdb.base/attach-twice.exp: Likewise.
1330 2015-01-15 Joel Brobecker <brobecker@adacore.com>
1332 * gdb.ada/var_arr_attrs: New testcase.
1334 2015-01-14 Pedro Alves <palves@redhat.com>
1335 Joel Brobecker <brobecker@adacore.com>
1338 * gdb.base/bp-cmds-execution-x-script.c: New file.
1339 * gdb.base/bp-cmds-execution-x-script.exp: New file.
1340 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
1342 2015-01-14 Pedro Alves <palves@redhat.com>
1345 * gdb.base/batch-preserve-term-settings.c: New file.
1346 * gdb.base/batch-preserve-term-settings.exp: New file.
1348 2015-01-13 Doug Evans <dje@google.com>
1350 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
1353 2015-01-13 Joel Brobecker <brobecker@adacore.com>
1355 * Makefile.in (clean mostlyclean): Do not delete *.py.
1357 2015-01-13 Joel Brobecker <brobecker@adacore.com>
1359 * gdb.python/py-lookup-type.exp: New file.
1361 2015-01-12 Pedro Alves <palves@redhat.com>
1363 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
1364 restore GDBFLAGS before returning.
1366 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1368 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
1369 is_amd64_regs_target and is_x86_like_target.
1371 2015-01-11 Doug Evans <xdje42@gmail.com>
1373 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
1374 is given without an explicit form.
1375 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
1377 * gdb.dwarf/corrupt.exp: Ditto.
1378 * gdb.dwarf2/enum-type.exp: Ditto.
1379 * gdb.trace/entry-values.exp: Ditto.
1380 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
1382 2015-01-11 Doug Evans <xdje42@gmail.com>
1385 * gdb.base/maint.exp: Remove references to "maint demangle".
1386 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
1387 Add tests for explicitly specifying language to demangle.
1388 * gdb.dlang/demangle.exp: Ditto.
1390 2015-01-09 Pedro Alves <palves@redhat.com>
1392 * gdb.threads/non-stop-fair-events.c: New file.
1393 * gdb.threads/non-stop-fair-events.exp: New file.
1395 2015-01-09 Pedro Alves <palves@redhat.com>
1397 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
1398 the global scope. Set a breakpoint after all threads are started
1399 rather than stepping over two source lines. Expect the prompt.
1400 * gdb.base/watch_thread_num.c (threads_started_barrier): New
1403 (main): Use threads_started_barrier to wait for all threads to
1404 start. Main thread no longer calls thread_function. Exit after
1406 (loop): New function.
1407 (thread_function): Wait on threads_started_barrier barrier. Call
1408 'loop' at each iteration.
1409 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
1410 threads have started, instead of hardcoding number of "next"
1411 steps. Use an access watchpoint instead of a write watchpoint.
1413 2015-01-09 Pedro Alves <palves@redhat.com>
1415 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
1416 (thread_func): Wait on barrier.
1417 (main): Wait for all threads to start before stopping GDB.
1418 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
1420 (thread1_func, thread2_func): Wait on barrier.
1421 (main): Wait for all threads to start before stopping GDB.
1422 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
1424 (thread1_func, thread2_func): Wait on barrier.
1425 (main): Wait for all threads to start before stopping GDB.
1427 2015-01-09 Pedro Alves <palves@redhat.com>
1429 * gdb.threads/attach-many-short-lived-threads.c: New file.
1430 * gdb.threads/attach-many-short-lived-threads.exp: New file.
1432 2014-01-09 Pedro Alves <palves@redhat.com>
1434 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
1435 instead of to thread 2.
1436 * gdb.threads/signal-command-multiple-signals-pending.c (main):
1437 Add barrier around each pthread_create call instead of around all
1439 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
1440 Set a break on thread_function and have the child threads hit it
1443 2015-01-09 Pedro Alves <palves@redhat.com>
1445 * lib/gdb.exp (can_spawn_for_attach): New procedure.
1446 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
1448 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
1449 checking whether the target board is remote.
1450 * gdb.multi/multi-attach.exp: Likewise.
1451 * gdb.python/py-sync-interp.exp: Likewise.
1452 * gdb.server/ext-attach.exp: Likewise.
1453 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
1454 tests that need to attach, instead of checking whether the target
1455 board is remote at the top of the file.
1457 2015-01-08 Yao Qi <yao@codesourcery.com>
1459 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
1461 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1463 Fix testcase compilation.
1464 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
1466 2015-01-06 Joel Brobecker <brobecker@adacore.com>
1468 * gdb.python/py-type.exp: Add a couple test about empty
1469 array creation, and negative-length array creation.
1471 2015-01-02 Doug Evans <xdje42@gmail.com>
1473 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
1475 2015-01-02 Doug Evans <dje@google.com>
1477 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
1479 2014-12-29 Yao Qi <yao@codesourcery.com>
1481 * gdb.trace/entry-values.exp: Update comments. Rename variable
1482 bar_call_foo to returned_from_foo.
1484 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
1487 * gdb.linespec/break-asm-file.c: New file.
1488 * gdb.linespec/break-asm-file.exp: New file.
1489 * gdb.linespec/break-asm-file0.s: New file.
1490 * gdb.linespec/break-asm-file1.s: New file.
1492 2014-12-18 Nigel Stephens <nigel@mips.com>
1493 Maciej W. Rozycki <macro@codesourcery.com>
1495 * gdb.base/float.exp: Handle the new output from "info float" on
1498 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1500 Fix MinGW compilation.
1501 * gdb.compile/compile-ops.exp: Update untested message if
1502 !skip_compile_feature_tests.
1503 * gdb.compile/compile-setjmp.exp: Likewise.
1504 * gdb.compile/compile-tls.exp: Likewise.
1505 * gdb.compile/compile.exp: Likewise.
1506 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
1507 supported on this host".
1509 2014-12-16 Doug Evans <xdje42@gmail.com>
1511 * boards/stabs.exp: New file.
1513 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
1515 * gdb.base/completion.exp: Adjust to format changes of "maint
1516 print user-registers".
1518 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
1521 * gdb.arch/aarch64-fp.c: New file.
1522 * gdb.arch/aarch64-fp.exp: New file.
1524 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1526 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
1527 r210637, r210913, r211666, r215400, r215817).
1529 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
1530 * dg-extract-results.py: New file.
1531 * dg-extract-results.sh: Use it if the environment seems
1534 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
1536 * dg-extract-results.py (parse_run): Handle warnings that
1537 are printed before a test harness is run.
1539 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
1541 * dg-extract-results.py (Named): Remove __cmp__ method.
1542 (output_variation): Use a key to sort variation.harnesses.
1544 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
1546 * dg-extract-results.py: For Python 3, force sys.stdout to
1547 handle surrogate escape sequences.
1548 (safe_open): New function.
1549 (output_segment, main): Use it.
1551 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
1553 * dg-extract-results.py (Prog.result_re): Include options
1556 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
1558 * dg-extract-results.py (output_variation): Always sort if
1561 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
1563 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
1564 as long as we get pagination notifications.
1566 2014-12-15 Jason Merrill <jason@redhat.com>
1568 * Makefile.in (check-gdb.%): Restore.
1569 * README: Mention it.
1571 2014-12-13 Joel Brobecker <brobecker@adacore.com>
1573 * gdb.ada/str_uninit: New testcase.
1575 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1578 * gdb.base/vla-stub-define.c: New file.
1579 * gdb.base/vla-stub.c: New file.
1580 * gdb.base/vla-stub.exp: New file.
1582 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
1583 Jan Kratochvil <jan.kratochvil@redhat.com>
1584 Tom Tromey <tromey@redhat.com>
1586 * configure.ac: Add gdb.compile/.
1587 * configure: Regenerate.
1588 * gdb.compile/Makefile.in: New file.
1589 * gdb.compile/compile-ops.exp: New file.
1590 * gdb.compile/compile-ops.c: New file.
1591 * gdb.compile/compile-tls.c: New file.
1592 * gdb.compile/compile-tls.exp: New file.
1593 * gdb.compile/compile-constvar.S: New file.
1594 * gdb.compile/compile-constvar.c: New file.
1595 * gdb.compile/compile-mod.c: New file.
1596 * gdb.compile/compile-nodebug.c: New file.
1597 * gdb.compile/compile-setjmp-mod.c: New file.
1598 * gdb.compile/compile-setjmp.c: New file.
1599 * gdb.compile/compile-setjmp.exp: New file.
1600 * gdb.compile/compile-shlib.c: New file.
1601 * gdb.compile/compile.c: New file.
1602 * gdb.compile/compile.exp: New file.
1603 * lib/gdb.exp (skip_compile_feature_tests): New proc.
1605 2014-12-12 Tom Tromey <tromey@redhat.com>
1607 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
1608 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
1610 2014-12-12 Doug Evans <dje@google.com>
1612 * lib/gdb-python.exp (get_python_valueof): New function.
1613 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
1615 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1617 * gdb.base/completion.exp: Add test for completion of "info
1620 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
1622 * gdb.base/func-ptrs.c: New file.
1623 * gdb.base/func-ptrs.exp: New file.
1625 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1627 PR breakpoints/17012
1628 * gdb.base/dprintf-detach.c: New file.
1629 * gdb.base/dprintf-detach.exp: New file.
1631 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1633 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
1634 * lib/gdb.exp (target_is_gdbserver): New procedure.
1636 2014-12-08 Doug Evans <dje@google.com>
1638 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
1640 2014-12-05 Yao Qi <yao@codesourcery.com>
1642 * gdb.guile/scm-error.exp: Remove the third argument to
1643 gdb_remote_download.
1644 * gdb.guile/scm-frame-args.exp: Likewise.
1645 * gdb.guile/scm-section-script.exp: Likewise.
1647 2014-12-05 Yao Qi <yao@codesourcery.com>
1649 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
1651 2014-12-04 Doug Evans <dje@google.com>
1653 * gdb.python/py-objfile.exp: Add tests for
1654 objfile.add_separate_debug_file.
1656 2014-12-04 Doug Evans <dje@google.com>
1658 * lib/gdb.exp (get_build_id): New function.
1659 (build_id_debug_filename_get): Rewrite to use it.
1660 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
1662 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
1664 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
1665 `method(long)', not just 0x0.
1666 * gdb.cp/nsalias.exp: Align code labels to 4.
1667 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
1668 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
1669 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
1670 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
1671 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
1672 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
1674 2014-12-02 Doug Evans <dje@google.com>
1677 * gdb.cp/anon-ns.cc: Move guts of this file to ...
1678 * gdb.cp/anon-ns2.cc: ... here. New file.
1679 * gdb.cp/anon-ns.exp: Update.
1681 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
1683 * gdb.python/py-events.py (inferior_call_handler): New.
1684 (register_changed_handler, memory_changed_handler): New.
1685 (test_events.invoke): Register new handlers.
1686 * gdb.python/py-events.exp: Add tests for inferior call,
1687 memory_changed and register_changed events.
1689 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1691 * gdb.base/execl-update-breakpoints.exp: Specify the link address
1692 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
1693 if the linker doesn't understand this.
1695 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
1697 * gdb.python/python.exp: Change expected reply to help().
1699 2014-12-01 Yao Qi <yao@codesourcery.com>
1701 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
1702 AC_CONFIG_SUBDIRS(gdb.gdbtk).
1703 * configure: Re-generated.
1705 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
1707 * gdb.cp/chained-calls.cc: New file.
1708 * gdb.cp/chained-calls.exp: New file.
1709 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
1711 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
1713 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
1714 * gdb.dwarf2/symtab-producer.exp: Same.
1715 * gdb.gdb/python-interrupts.exp: Same.
1716 * gdb.gdb/python-selftest.exp: Same.
1717 * gdb.python/py-linetable.exp: Same.
1718 * gdb.python/py-type.exp: Same.
1719 * gdb.python/py-value-cc.exp: Same.
1720 * gdb.python/py-value.exp: Same.
1722 2014-11-28 Yao Qi <yao@codesourcery.com>
1724 * gdb.base/break-probes.exp: Match library name prefixed with
1727 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
1729 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
1730 test expected output. Add parentheses for the call to print.
1731 Remove L suffix from integers.
1733 2014-11-26 Doug Evans <dje@google.com>
1735 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
1737 2014-11-22 Yao Qi <yao@codesourcery.com>
1739 * gdb.trace/entry-values.c: Remove asms.
1740 (foo): Add foo_label.
1741 (bar): Add bar_label.
1742 * gdb.trace/entry-values.exp: Remove code computing foo's
1743 length and bar's length.
1744 (Dwarf::assemble): Invoke function_range for bar and use
1745 MACRO_AT_func for foo.
1747 2014-11-22 Yao Qi <yao@codesourcery.com>
1749 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
1750 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
1751 Use .Lgcc43_procstart instead of gcc43.
1753 2014-11-21 Joel Brobecker <brobecker@adacore.com>
1755 * gdb.ada/n_arr_bound: New testcase.
1757 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1759 PR breakpoints/10737
1760 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
1761 test_catch_syscall_multi_arch.
1762 (test_catch_syscall_multi_arch): New function.
1764 2014-11-20 Doug Evans <xdje42@gmail.com>
1766 * gdb.base/maint.exp: Update expected output.
1768 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1770 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
1771 4-byte instruction on S390.
1773 2014-11-19 Joel Brobecker <brobecker@adacore.com>
1775 * gdb.ada/arr_arr: New testcase.
1777 2014-11-19 Joel Brobecker <brobecker@adacore.com>
1779 * gdb.ada/pkd_arr_elem: New Testcase.
1781 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
1783 * gdb.reverse/break-precsave: Expect completion message for
1785 * gdb.reverse/consecutive-precsave.exp: Likewise.
1786 * gdb.reverse/finish-precsave.exp: Likewise.
1787 * gdb.reverse/i386-precsave.exp: Likewise.
1788 * gdb.reverse/machinestate-precsave.exp: Likewise.
1789 * gdb.reverse/sigall-precsave.exp: Likewise.
1790 * gdb.reverse/solib-precsave.exp: Likewise.
1791 * gdb.reverse/step-precsave.exp: Likewise.
1792 * gdb.reverse/until-precsave.exp: Likewise.
1793 * gdb.reverse/watch-precsave.exp: Likewise.
1795 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1797 * gdb.base/bp-permanent.c: Include unistd.h.
1798 * gdb.python/py-framefilter-mi.c (main): Add return type.
1799 * gdb.python/py-framefilter.c (main): Likewise.
1800 * gdb.trace/actions-changed.c (main): Likewise.
1802 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1804 * gdb.mi/until.c: Add eye-catchers.
1805 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
1808 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1810 * gdb.base/condbreak.exp: Drop references to removed non-prototype
1811 function header variants in break1.c.
1812 * gdb.base/ena-dis-br.exp: Likewise.
1813 * gdb.base/hbreak2.exp: Likewise.
1814 * gdb.reverse/until-precsave.exp: Drop references to removed
1815 non-prototype function header variants in ur1.c.
1816 * gdb.reverse/until-reverse.exp: Likewise.
1818 2014-11-17 Petr Machata <pmachata@redhat.com>
1820 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
1821 ${_cu_offset_size} bytes abbrev offset.
1823 2014-11-15 Doug Evans <xdje42@gmail.com>
1826 * gdb.base/line-symtabs.exp: New file.
1827 * gdb.base/line-symtabs.c: New file.
1828 * gdb.base/line-symtabs.h: New file.
1830 2014-11-14 Yao Qi <yao@codesourcery.com>
1832 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
1833 (func): Add label func_label.
1834 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
1835 Replace low_pc and high_pc with MACRO_AT_range.
1836 Replace name, low_pc and high_pc with MACRO_AT_func.
1838 2014-11-14 Yao Qi <yao@codesourcery.com>
1840 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
1841 Replace name, low_pc and high_pc with MACRO_AT_func.
1843 2014-11-14 Yao Qi <yao@codesourcery.com>
1845 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
1846 produce debug information.
1847 * gdb.dwarf2/implptr-optimized-out.S: Removed.
1849 2014-11-14 Yao Qi <yao@codesourcery.com>
1851 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
1852 object and get function length.
1853 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
1855 (top-level): Replace gdb_compile and clean_restart with
1856 prepare_for_testing.
1857 * gdb.dwarf2/main.c (main): Add label main_label.
1859 2014-11-14 Yao Qi <yao@codesourcery.com>
1861 * lib/dwarf.exp (function_range): New procedure.
1862 (Dwarf::_handle_macro_at_func): New procedure.
1863 (Dwarf::_handle_macro_at_range): New procedure.
1864 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
1866 2014-11-14 Yao Qi <yao@codesourcery.com>
1868 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
1869 (_handle_attribute): New procedure.
1871 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1873 * gdb.ada/cond_lang/foo.c (callme): Add return type.
1874 * gdb.base/call-sc.c (zed): Likewise.
1875 * gdb.base/checkpoint.c (main): Likewise.
1876 * gdb.base/dump.c (main): Likewise.
1877 * gdb.base/gcore.c (main): Likewise.
1878 * gdb.base/huge.c (main): Likewise.
1879 * gdb.base/multi-forks.c (main): Likewise.
1880 * gdb.base/pr10179-a.c (main): Likewise.
1881 * gdb.base/savedregs.c (main): Likewise.
1882 * gdb.base/sigaltstack.c (main): Likewise.
1883 * gdb.base/siginfo.c (main): Likewise.
1884 * gdb.base/structs.c (zed): Likewise.
1885 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
1886 * gdb.mi/mi-syn-frame.c (main): Likewise.
1887 * gdb.mi/until.c (foo, main): Likewise.
1888 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
1889 * gdb.base/solib-weak.c (foo): Declare.
1890 * gdb.base/attach-twice.c: Include stdio.h.
1891 * gdb.base/weaklib1.c: Likewise.
1892 * gdb.base/weaklib2.c: Likewise.
1893 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
1894 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
1896 * gdb.base/attach-pie-misread.c: Include stdlib.h.
1897 * gdb.mi/mi-exit-code.c: Likewise.
1898 * gdb.base/break-interp-lib.c: Include string.h.
1899 * gdb.base/coremaker.c: Likewise.
1900 * gdb.base/testenv.c: Likewise.
1901 * gdb.python/py-finish-breakpoint.c: Likewise.
1902 * gdb.base/inferior-died.c: Include sys/wait.h.
1903 * gdb.base/fileio.c: Include time.h.
1904 * gdb.base/async-shell.c: Include unistd.h.
1905 * gdb.base/dprintf-non-stop.c: Likewise.
1906 * gdb.base/info-os.c: Likewise.
1907 * gdb.mi/mi-console.c: Likewise.
1908 * gdb.mi/watch-nonstop.c: Likewise.
1909 * gdb.python/py-events.c: Likewise.
1910 * gdb.base/async.c (baz): Move up before its invocation.
1911 * gdb.base/code_elim2.c (my_global_func): Likewise.
1912 * gdb.base/skip-solib-lib.c (multiply): Likewise.
1913 * gdb.base/advance.c (func2): Likewise.
1915 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1917 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
1919 * gdb.base/annota3.c: Likewise.
1920 * gdb.base/async.c: Likewise.
1921 * gdb.base/average.c: Likewise.
1922 * gdb.base/call-ar-st.c: Likewise.
1923 * gdb.base/call-rt-st.c: Likewise.
1924 * gdb.base/call-sc.c: Likewise.
1925 * gdb.base/call-strs.c: Likewise.
1926 * gdb.base/ending-run.c: Likewise.
1927 * gdb.base/execd-prog.c: Likewise.
1928 * gdb.base/exprs.c: Likewise.
1929 * gdb.base/foll-exec.c: Likewise.
1930 * gdb.base/foll-fork.c: Likewise.
1931 * gdb.base/foll-vfork.c: Likewise.
1932 * gdb.base/funcargs.c: Likewise.
1933 * gdb.base/gcore.c: Likewise.
1934 * gdb.base/jump.c: Likewise.
1935 * gdb.base/langs0.c: Likewise.
1936 * gdb.base/langs1.c: Likewise.
1937 * gdb.base/langs2.c: Likewise.
1938 * gdb.base/mips_pro.c: Likewise.
1939 * gdb.base/nodebug.c: Likewise.
1940 * gdb.base/opaque0.c: Likewise.
1941 * gdb.base/opaque1.c: Likewise.
1942 * gdb.base/recurse.c: Likewise.
1943 * gdb.base/run.c: Likewise.
1944 * gdb.base/scope0.c: Likewise.
1945 * gdb.base/scope1.c: Likewise.
1946 * gdb.base/setshow.c: Likewise.
1947 * gdb.base/setvar.c: Likewise.
1948 * gdb.base/shmain.c: Likewise.
1949 * gdb.base/shr1.c: Likewise.
1950 * gdb.base/shr2.c: Likewise.
1951 * gdb.base/sigall.c: Likewise.
1952 * gdb.base/signals.c: Likewise.
1953 * gdb.base/so-indr-cl.c: Likewise.
1954 * gdb.base/solib2.c: Likewise.
1955 * gdb.base/structs.c: Likewise.
1956 * gdb.base/sum.c: Likewise.
1957 * gdb.base/vforked-prog.c: Likewise.
1958 * gdb.base/watchpoint.c: Likewise.
1959 * gdb.reverse/shr2.c: Likewise.
1960 * gdb.reverse/until-reverse.c: Likewise.
1961 * gdb.reverse/ur1.c: Likewise.
1962 * gdb.reverse/watch-reverse.c: Likewise.
1964 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1966 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
1968 * gdb.base/sepdebug.exp: Drop references to removed code.
1970 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1972 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
1973 variant. Preserve original line numbering.
1974 * gdb.base/list1.c: Likewise.
1976 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1978 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
1980 * gdb.base/break1.c: Likewise.
1981 * gdb.base/break.exp: Drop references to removed code.
1983 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1985 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
1988 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1990 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
1992 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1994 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
1995 logic into perform_all_tests() and invoke it with and without
1996 function header prototypes.
1997 (do_function_calls): Remove conditional XFAIL for PR 5318.
1998 (rerun_and_prepare): Remove duplicate code.
1999 (perform_all_tests): New. Main logic moved here.
2001 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2003 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
2004 code guarded by #ifdef NO_PROTOTYPES.
2005 (t_double_many_args): Likewise.
2006 (DEF_FUNC_MANY_ARGS_1): Likewise.
2007 (DEF_FUNC_VALUES_1): Likewise.
2008 (t_structs_ldc): Renamed from t_structs_fc in conditional code
2009 guarded by #ifdef PROTOTYPES.
2011 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2013 * gdb.mi/mi-console.c: Add eye-catcher.
2014 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
2015 instead of literal line number.
2017 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2019 * gdb.base/shr2.c: Add eye-catcher.
2020 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
2023 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2025 * gdb.base/jump.c: Add eye-catchers.
2026 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
2029 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2031 * gdb.base/execd-prog.c: Add eye-catchers.
2032 * gdb.base/foll-exec.c: Likewise.
2033 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
2036 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2038 * gdb.base/ending-run.c: Add eye-catchers.
2039 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
2040 literal line numbers.
2042 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2044 * gdb.base/call-rt-st.c: Add eye-catchers.
2045 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
2046 literal line numbers.
2048 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2050 * gdb.base/call-ar-st.c: Add eye-catchers.
2051 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
2052 literal line numbers.
2054 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2056 * gdb.base/average.c: Add eye-catchers.
2057 * gdb.base/sum.c: Likewise.
2058 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
2059 regexps dynamically.
2061 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2063 * gdb.base/solib1.c: Add eye-catchers.
2064 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
2065 literal line numbers.
2067 2014-11-12 Pedro Alves <palves@redhat.com>
2069 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
2072 2014-11-12 Pedro Alves <palves@redhat.com>
2074 * gdb.arch/i386-bp_permanent.c: New file.
2075 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
2076 (srcfile): Set to i386-bp_permanent.c.
2077 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
2078 that stepi does not execute the 'leave' instruction, instead of
2079 testing it does execute.
2080 * gdb.base/bp-permanent.c: New file.
2081 * gdb.base/bp-permanent.exp: New file.
2083 2014-11-10 Doug Evans <xdje42@gmail.com>
2086 * gdb.base/symtab-search-order.exp: New file.
2087 * gdb.base/symtab-search-order.c: New file.
2088 * gdb.base/symtab-search-order-1.c: New file.
2089 * gdb.base/symtab-search-order-shlib-1.c: New file.
2091 2014-11-07 Pedro Alves <palves@redhat.com>
2094 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
2097 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
2100 * gdb.cp/pr17494.cc: New file.
2101 * gdb.cp/pr17494.exp: New file.
2103 2014-11-02 Yao Qi <yao@codesourcery.com>
2105 * gdb.python/python.exp: Get working directory and match the
2106 output of "set extended-prompt \\w " with it.
2108 2014-10-30 Doug Evans <dje@google.com>
2110 * gdb.python/py-objfile.exp: Add tests for setting random attributes
2112 * gdb.python/py-progspace.exp: Add tests for setting random attributes
2115 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
2117 * gdb.base/fullpath-expand.exp: Skip for a remote host.
2118 * gdb.base/realname-expand.exp: Likewise.
2119 * gdb.linespec/macro-relative.exp: Likewise.
2121 2014-10-29 Pedro Alves <palves@redhat.com>
2124 * gdb.threads/schedlock.c (some_function): New function.
2125 (call_function): New global.
2126 (MAYBE_CALL_SOME_FUNCTION): New macro.
2127 (thread_function): Call it.
2128 * gdb.threads/schedlock.exp (get_args): Add description parameter,
2129 and use it instead of a global counter. Adjust all callers.
2130 (get_current_thread): Use "find current thread" for test message
2131 here rather than having all callers pass down the same string.
2132 (goto_loop): New procedure, factored out from ...
2133 (my_continue): ... this.
2134 (step_ten_loops): Change parameter from test message to command to
2136 (list_count): Delete global.
2137 (check_result): New procedure, factored out from duplicate top
2139 (continue tests): Wrap in with_test_prefix.
2140 (test_step): New procedure, factored out from duplicate top level
2142 (top level): Test "step" in combination with all scheduler-locking
2143 modes. Test "next" in combination with all scheduler-locking
2144 modes, and in combination with stepping over a function call or
2146 * gdb.threads/next-bp-other-thread.c: New file.
2147 * gdb.threads/next-bp-other-thread.exp: New file.
2149 2014-10-29 Pedro Alves <palves@redhat.com>
2152 * gdb.python/python.exp: Test a multi-line command that spawns
2154 * gdb.base/multi-line-starts-subshell.exp: New file.
2156 2014-10-29 Yao Qi <yao@codesourcery.com>
2158 * gdb.base/fileio.exp: Make directories on host.
2160 2014-10-29 Yao Qi <yao@codesourcery.com>
2162 * gdb.base/fileio.c (test_write): Close the file.
2164 2014-10-28 Pedro Alves <palves@redhat.com>
2167 * gdb.base/sigstep.c (no_handler): New global.
2168 (main): If 'no_handler is true, set the signal handlers to
2170 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
2171 with_sw_watch and no_handler parameters. Handle them.
2172 (top level) <stepping over handler when stopped at a breakpoint
2173 test>: Add a test axis for testing with a software watchpoint, and
2174 another for testing with the signal handler set to SIG_IGN.
2175 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
2176 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
2178 2014-10-28 Pedro Alves <palves@redhat.com>
2181 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
2182 * gdb.base/sigstep.exp (other_handler_location): New global.
2183 (advance): Support stepping into the signal handler, and running
2184 commands while in the handler.
2185 (in_handler_map): New global.
2186 (top level): In the advance test, add combinations for getting
2187 into the handler with stepping commands, and for running commands
2188 in the handler. Add comment descripting the advancei tests.
2190 2014-10-28 Pedro Alves <palves@redhat.com>
2192 * gdb.base/sigstep.exp: Use build_executable instead of
2193 prepare_for_testing.
2194 (top level): Move code that starts GDB, runs to main and creates a
2196 (restart): ... this new procedure.
2197 (top level): Move backtrace from signal handler test to ...
2198 (validate_backtrace): ... this new procedure.
2199 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
2200 with_test_prefix. Always restart GDB.
2201 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
2202 with_test_prefix. Always restart GDB. No need to delete
2203 breakpoints after the test.
2204 (test_skip_handler): Remove prefix parameter.
2205 (skip_over_handler, breakpoint_to_handler)
2206 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
2207 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
2208 restart GDB. No need to delete breakpoints after the test.
2209 (top level): Use foreach to call the test procedures with
2212 2014-10-28 Pedro Alves <palves@redhat.com>
2214 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
2215 instead of GNATS numbers.
2216 * gdb.base/sigbpt.exp: Likewise.
2217 * gdb.base/siginfo.exp: Likewise.
2218 * gdb.base/sigstep.exp: Likewise.
2220 2014-10-27 Pedro Alves <palves@redhat.com>
2222 * gdb.base/sigstep.c (dummy): New global.
2223 (main): Issue a couple writes to the new global.
2224 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
2226 (skip_over_handler): Use test_skip_handler.
2227 (top level): Call skip_over_handler for stepi and nexti too.
2228 (breakpoint_over_handler): Use test_skip_handler.
2229 (top level): Call breakpoint_over_handler for stepi and nexti too.
2231 2014-10-27 Yao Qi <yao@codesourcery.com>
2233 * gdb.trace/tfile.c (adjust_function_address)
2234 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
2235 function descriptor.
2237 2014-10-24 Don Breazeal <donb@codesourcery.com>
2239 * gdb.base/foll-fork.exp (test_follow_fork,
2240 catch_fork_child_follow): Check for updated fork messages emitted
2242 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
2243 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
2244 vfork_and_exec_child_follow_through_step): Check for updated vfork
2245 messages emitted from infrun.c.
2247 2014-10-24 Pedro Alves <palves@redhat.com>
2249 * gdb.base/corefile.exp: Remove references to ultrix.
2250 * gdb.base/interrupt.exp: Likewise.
2251 * gdb.base/whatis.exp: Likewise.
2252 * gdb.gdb/selftest.exp: Likewise.
2253 * gdb.threads/manythreads.exp: Likewise.
2254 * gdb.threads/print-threads.exp: Likewise.
2255 * gdb.threads/pthreads.exp:: Likewise.
2256 * gdb.threads/schedlock.exp: Likewise.
2258 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
2260 * gdb.cp/non-trivial-retval.cc: Add a test case.
2261 * gdb.cp/non-trivial-retval.exp: Add a test.
2263 2014-10-20 Yao Qi <yao@codesourcery.com>
2265 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
2266 * gdb.python/py-objfile-script-gdb.py: New file.
2267 * gdb.python/py-objfile-script.exp: Update reference to
2268 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
2269 of remote_download. Remove the dest file.
2271 2014-10-20 Yao Qi <yao@codesourcery.com>
2273 * gdb.base/checkpoint.exp: Don't remove file copied on host.
2274 * gdb.base/step-line.exp: Likewise.
2275 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2276 * gdb.dwarf2/dw2-basic.exp: Likewise.
2277 * gdb.dwarf2/dw2-compressed.exp: Likewise.
2278 * gdb.dwarf2/dw2-filename.exp: Likewise.
2279 * gdb.dwarf2/dw2-intercu.exp: Likewise.
2280 * gdb.dwarf2/dw2-intermix.exp: Likewise.
2281 * gdb.dwarf2/dw2-producer.exp: Likewise.
2282 * gdb.dwarf2/mac-fileno.exp: Likewise.
2283 * gdb.python/py-frame-args.exp: Likewise.
2284 * gdb.python/py-framefilter.exp: Likewise.
2285 * gdb.python/py-mi.exp: Likewise.
2286 * gdb.python/py-objfile-script.exp: Likewise
2287 * gdb.python/py-pp-integral.exp: Likewise.
2288 * gdb.python/py-pp-re-notag.exp: Likewise.
2289 * gdb.python/py-prettyprint.exp: Likewise.
2290 * gdb.python/py-section-script.exp: Likewise.
2291 * gdb.python/py-typeprint.exp: Likewise.
2292 * gdb.python/py-xmethods.exp: Likewise.
2293 * gdb.stabs/weird.exp: Likewise.
2294 * gdb.xml/tdesc-regs.exp: Likewise.
2296 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
2298 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
2299 (out_cu): Use addr_len for the size of addresses.
2300 (out_line): Likewise. Size DW_LNE_set_address instruction
2301 according to addr_len.
2302 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
2303 (FUNC): Add START_INSNS to definition.
2305 2014-10-18 Yao Qi <yao@codesourcery.com>
2307 * gdb.base/argv0-symlink.exp: Check argv[0] value if
2308 gdb_has_argv0 return true.
2309 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
2310 check [target_info exists noargs], check [gdb_has_argv0]
2312 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2313 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
2316 2014-10-17 Doug Evans <dje@google.com>
2318 * gdb.python/py-events.exp: Update expected output for clear_objfiles
2320 * gdb.python/py-events.py: Add clear_objfiles event.
2322 2014-10-17 Doug Evans <dje@google.com>
2324 * gdb.python/py-objfile.exp: Test progspace attribute.
2326 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
2328 * gdb.guile/scm-breakpoint.exp: Do not assume any
2329 directory separators when matching source file paths.
2330 * gdb.python/py-breakpoint.exp: Likewise.
2331 * gdb.reverse/break-precsave.exp: Likewise.
2332 * gdb.reverse/break-reverse.exp: Likewise.
2333 * gdb.reverse/consecutive-precsave.exp: Likewise.
2334 * gdb.reverse/finish-precsave.exp: Likewise.
2335 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
2336 * gdb.reverse/finish-reverse.exp: Likewise.
2337 * gdb.reverse/i386-precsave.exp: Likewise.
2338 * gdb.reverse/i387-env-reverse.exp: Likewise.
2339 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2340 * gdb.reverse/machinestate-precsave.exp: Likewise.
2341 * gdb.reverse/machinestate.exp: Likewise.
2342 * gdb.reverse/sigall-precsave.exp: Likewise.
2343 * gdb.reverse/solib-precsave.exp: Likewise.
2344 * gdb.reverse/step-precsave.exp: Likewise.
2345 * gdb.reverse/until-precsave.exp: Likewise.
2346 * gdb.reverse/watch-precsave.exp: Likewise.
2347 * gdb.reverse/watch-reverse.exp: Likewise.
2349 2014-10-17 Yao Qi <yao@codesourcery.com>
2351 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
2352 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
2354 2014-10-17 Pedro Alves <palves@redhat.com>
2357 * gdb.base/bg-execution-repeat.c: New file.
2358 * gdb.base/bg-execution-repeat.exp: New file.
2360 2014-10-17 Pedro Alves <palves@redhat.com>
2363 * gdb.base/continue-all-already-running.c: New file.
2364 * gdb.base/continue-all-already-running.exp: New file.
2366 2014-10-17 Pedro Alves <palves@redhat.com>
2369 * gdb.base/annota-input-while-running.c: New file.
2370 * gdb.base/annota-input-while-running.exp: New file.
2372 2014-10-17 Pedro Alves <palves@redhat.com>
2374 * gdb.base/callfuncs.exp: emove references to osf.
2375 * gdb.base/sigall.exp: Likewise.
2376 * gdb.gdb/selftest.exp: Likewise.
2377 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2378 * gdb.mi/non-stop.c: Likewise.
2379 * gdb.mi/pthreads.c: Likewise.
2380 * gdb.reverse/sigall-precsave.exp: Likewise.
2381 * gdb.reverse/sigall-reverse.exp: Likewise.
2382 * gdb.threads/pthreads.c: Likewise.
2383 * gdb.threads/pthreads.exp: Likewise.
2385 2014-10-17 Yao Qi <yao@codesourcery.com>
2387 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
2388 check 'target_info exists noargs'.
2389 (test_command_prompt_position): Likewise.
2390 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
2392 (progvar_simple_while_test): Likewise.
2393 (progvar_complex_if_while_test): Likewise.
2394 (if_while_breakpoint_command_test): Likewise.
2395 (infrun_breakpoint_command_test): Likewise.
2396 (breakpoint_command_test): Likewise.
2397 (watchpoint_command_test): Likewise.
2398 (bp_deleted_in_command_test): Likewise.
2399 (temporary_breakpoint_commands): Likewise.
2401 2014-10-16 Yao Qi <yao@codesourcery.com>
2403 * gdb.base/remotetimeout.exp: Remove noargs checking.
2405 2014-10-15 Pedro Alves <palves@redhat.com>
2408 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
2409 * gdb.base/breakpoint-in-ro-region.exp
2410 (probe_target_hardware_step): New procedure.
2411 (top level): Probe hardware stepping and hardware breakpoint
2412 support. Test stepping through a read-only region, with both
2413 "breakpoint auto-hw" on and off and both "always-inserted" on and
2416 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
2418 * gdb.dlang/demangle.exp: Update for demangling changes.
2420 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2422 * gdb.cp/non-trivial-retval.cc: Add new test cases.
2423 * gdb.cp/non-trivial-retval.exp: Add new tests.
2425 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2429 * gdb.cp/non-trivial-retval.cc: New file.
2430 * gdb.cp/non-trivial-retval.exp: New file.
2432 2014-10-15 Yao Qi <yao@codesourcery.com>
2434 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
2437 2014-10-15 Yao Qi <yao@codesourcery.com>
2439 * gdb.python/py-symbol.exp: Match file base name if host is
2440 remote, otherwise match file name with dir name.
2441 * gdb.python/py-symtab.exp: Likewise.
2442 * gdb.python/python.exp: Likewise.
2444 2014-10-15 Yao Qi <yao@codesourcery.com>
2446 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
2448 * gdb.python/py-symtab.exp: Likewise.
2449 * gdb.python/python.exp: Remove trailing ".*". Fix typo
2452 2014-10-14 Joel Brobecker <brobecker@adacore.com>
2454 * gdb.ada/addr_arith: New testcase.
2456 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
2458 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
2459 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
2460 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
2461 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
2463 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
2465 * gdb.arch/stap-eval-lang-ada.S: Likewise.
2466 * gdb.arch/stap-eval-lang-ada.c: Likewise.
2467 * gdb.arch/stap-eval-lang-ada.exp: New file.
2469 2014-10-14 Yao Qi <yao@codesourcery.com>
2471 * gdb.mi/mi-var-child.c (nothing1): New function.
2472 (nothing2): New function.
2473 (do_children_tests): Set function pointers by nothing1 and
2475 * gdb.mi/mi-var-child.exp: Step over new added statements.
2476 Update test to match the new output.
2477 * gdb.mi/var-cmd.c (nothing1): New function.
2478 (nothing2): New function.
2479 (do_children_tests): Set function pointers by nothing1 and
2481 * gdb.mi/mi-var-display.exp: Update test to match output.
2482 Step to the line specified by $line_dct_nothing.
2483 Increase the number of lines to step.
2485 2014-10-14 Yao Qi <yao@codesourcery.com>
2487 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
2489 * gdb.mi/mi2-var-child.exp: Likewise.
2491 2014-10-13 Doug Evans <dje@google.com>
2493 * gdb.python/py-objfile.exp: Change name of file name test.
2495 2014-10-13 Doug Evans <dje@google.com>
2497 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
2498 from the start of the CU.
2500 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2501 Yao Qi <yao@codesourcery.com>
2503 Fix "save breakpoints" for "catch" command.
2504 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
2505 Remove -nonewline. Match also the added "main" line.
2507 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2509 Fix "save breakpoints" for "disable $bpnum" command.
2510 * gdb.base/save-bp.c (main): Add label.
2511 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
2513 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2515 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
2517 2014-10-11 Yao Qi <yao@codesourcery.com>
2519 * gdb.server/server-kill.exp: Execute command
2520 "set remote trace-status-packet on" before "tstatus".
2522 2014-10-11 Yao Qi <yao@codesourcery.com>
2524 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
2525 (main): Call getppid.
2526 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
2527 and continue to it. Read variable "server_pid".
2529 2014-10-11 Yao Qi <yao@codesourcery.com>
2531 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
2533 2014-10-11 Yao Qi <yao@codesourcery.com>
2535 * gdb.threads/thread-find.exp: Don't execute command
2537 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
2538 * gdb.threads/linux-dp.exp: Don't check the condition
2539 $threads_created equals to zero.
2541 2014-10-10 Pedro Alves <palves@redhat.com>
2543 * gdb.base/bigcore.exp: Remove references to IRIX.
2544 * gdb.base/funcargs.exp: Likewise.
2545 * gdb.base/interrupt.exp: Likewise.
2546 * gdb.base/mips_pro.exp: Likewise.
2547 * gdb.base/nodebug.exp: Likewise.
2548 * gdb.base/setvar.exp: Likewise.
2549 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
2551 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2552 Pedro Alves <palves@redhat.com>
2555 * gdb.base/vdso-warning.c: New file.
2556 * gdb.base/vdso-warning.exp: New file.
2558 2014-10-02 Doug Evans <dje@google.com>
2560 * gdb.base/structs.c (main): Don't run forever.
2562 2014-10-02 Pedro Alves <palves@redhat.com>
2564 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
2565 (top level) <stop threads 1, stop threads 2>: Use it.
2567 2014-10-02 Pedro Alves <palves@redhat.com>
2569 * gdb.threads/break-while-running.exp (test): Add new
2570 'update_thread_list' argument. Skip "info threads" if false.
2571 (top level): Add new 'update_thread_list' axis.
2573 2014-10-02 Pedro Alves <palves@redhat.com>
2575 PR breakpoints/17431
2576 * gdb.base/execl-update-breakpoints.c: New file.
2577 * gdb.base/execl-update-breakpoints.exp: New file.
2579 2014-10-01 Pedro Alves <palves@redhat.com>
2581 * gdb.base/breakpoint-in-ro-region.c: New file.
2582 * gdb.base/breakpoint-in-ro-region.exp: New file.
2584 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
2586 * gdb.mi/mi-exit-code.exp: New file.
2587 * gdb.mi/mi-exit-code.c: New file.
2589 2014-09-30 Yao Qi <yao@codesourcery.com>
2591 * lib/prelink-support.exp (build_executable_own_libs): Error if
2592 the target isn't native.
2594 2014-09-30 Yao Qi <yao@codesourcery.com>
2596 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
2599 2014-09-22 Pedro Alves <palves@redhat.com>
2601 * gdb.threads/break-while-running.exp: New file.
2602 * gdb.threads/break-while-running.c: New file.
2604 2014-09-19 Yao Qi <yao@codesourcery.com>
2606 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
2607 Invoke test. Restart GDB with --readnow and invoke test again.
2609 2014-09-19 Yao Qi <yao@codesourcery.com>
2611 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
2612 proc set_breakpoint_on_gcd_function. Invoke
2613 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
2614 invoke set_breakpoint_on_gcd_function again.
2616 2014-09-18 Doug Evans <dje@google.com>
2618 * gdb.dwarf2/symtab-producer.exp: New file.
2620 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2622 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
2623 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
2624 * gdb.base/global-var-nested-by-dso.c: Likewise.
2625 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2627 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2628 Pedro Alves <palves@redhat.com>
2630 * gdb.base/watch-bitfields.exp: Pass string other than test file
2631 name to prepare_for_testing.
2632 (watch): New procedure.
2633 (expect_watchpoint): Use with_test_prefix.
2634 (top level): Factor out tests to ...
2635 (test_watch_location, test_regular_watch): ... these new
2636 procedures, and use with_test_prefix and gdb_continue_to_end.
2638 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
2640 PR breakpoints/12526
2641 * gdb.base/watch-bitfields.exp: New file.
2642 * gdb.base/watch-bitfields.c: New file.
2644 2014-09-16 Pedro Alves <palves@redhat.com>
2646 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
2647 software and hardware addresses, not software address against
2650 2014-09-16 Pedro Alves <palves@redhat.com>
2652 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
2653 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
2655 2014-09-16 Pedro Alves <palves@redhat.com>
2657 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
2659 * gdb.base/a2-run.exp: Remove all code guarded by istarget
2660 "*-*-vxworks*" throughout.
2661 * gdb.base/break.exp: Likewise.
2662 * gdb.base/default.exp: Likewise.
2663 * gdb.base/scope.exp: Likewise.
2664 * gdb.base/sepdebug.exp: Likewise.
2665 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
2667 * gdb.base/run.c: Likewise.
2668 * gdb.base/sepdebug.c: Likewise.
2669 * gdb.hp/gdb.aCC/run.c: Likewise.
2670 * gdb.reverse/until-reverse.c: Likewise.
2671 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
2673 2014-09-16 Yao Qi <yao@codesourcery.com>
2675 * boards/local-remote-host-native.exp: New file.
2677 2014-09-14 Doug Evans <xdje42@gmail.com>
2679 * gdb.threads/queue-signal.c (thread_count): New variable.
2680 (thread_count_mutex, thread_count_condvar): New variables.
2681 (incr_thread_count, wait_all_threads_running): New functions.
2682 (main): Wait for all threads to be in their thread functions.
2684 2014-09-13 Doug Evans <xdje42@gmail.com>
2686 * gdb.threads/queue-signal.c: New file.
2687 * gdb.threads/queue-signal.exp: New file.
2689 2014-09-13 Doug Evans <xdje42@gmail.com>
2691 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
2692 be consistent with what default_gdb_init uses.
2693 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
2694 the plain text of the prompt. Add some logging printfs.
2695 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
2697 2014-09-12 Pedro Alves <palves@redhat.com>
2699 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
2700 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
2701 * gdb.arch/i386-size-overlap.exp: Likewise.
2702 * gdb.arch/i386-size.exp: Likewise.
2703 * gdb.arch/i386-unwind.exp: Likewise.
2704 * gdb.base/a2-run.exp: Likewise.
2705 * gdb.base/break.exp: Likewise.
2706 * gdb.base/charset.exp: Likewise.
2707 * gdb.base/chng-syms.exp: Likewise.
2708 * gdb.base/commands.exp: Likewise.
2709 * gdb.base/dbx.exp: Likewise.
2710 * gdb.base/find.exp: Likewise.
2711 * gdb.base/funcargs.exp: Likewise.
2712 * gdb.base/jit-simple.exp: Likewise.
2713 * gdb.base/reread.exp: Likewise.
2714 * gdb.base/sepdebug.exp: Likewise.
2715 * gdb.base/step-bt.exp: Likewise.
2716 * gdb.cp/mb-inline.exp: Likewise.
2717 * gdb.cp/mb-templates.exp: Likewise.
2718 * gdb.objc/basicclass.exp: Likewise.
2719 * gdb.threads/killed.exp: Likewise.
2721 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2724 * gdb.arch/powerpc-stackless.S: New file.
2725 * gdb.arch/powerpc-stackless.exp: New file.
2727 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2729 * gdb.base/attach.c: Include unistd.h.
2730 (main): Call alarm. Add label postloop.
2731 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
2732 gdb_breakpoint, gdb_continue_to_breakpoint.
2733 (test_command_line_attach_run): Kill ${testpid} in one exit path.
2735 2014-09-11 Pedro Alves <palves@redhat.com>
2738 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
2739 * gdb.base/attach.exp (test_command_line_attach_run): New
2741 (top level): Call it.
2743 2014-09-11 Pedro Alves <palves@redhat.com>
2745 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
2746 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
2747 (do_command_attach_tests): Use spawn_wait_for_attach.
2748 * gdb.base/solib-overlap.exp: Likewise.
2749 * gdb.multi/multi-attach.exp: Likewise.
2750 * gdb.python/py-prompt.exp: Likewise.
2751 * gdb.python/py-sync-interp.exp: Likewise.
2752 * gdb.server/ext-attach.exp: Likewise.
2754 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
2756 * gdb.fortran/array-element.exp: Remove unexpected "continue"
2757 command in testcase. Simplify testcase.
2759 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2761 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
2763 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2765 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
2767 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2769 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
2771 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2773 * gdb.dwarf2/dynarr-ptr.c: New file.
2774 * gdb.dwarf2/dynarr-ptr.exp: New file.
2776 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2778 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
2779 of 30 rather than hardcoding 120 for a slow test case. Take the
2780 `gdb,timeout' target setting into account for this calculation.
2781 Don't extend the timeout for the test cases that don't need it.
2783 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2785 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
2786 a factor of 2 for a slow test case. Take the `gdb,timeout'
2787 target setting into account for this calculation.
2788 * gdb.reverse/until-precsave.exp: Increase the timeout by
2789 a factor of 15 and 3 respectively rather than adding 120
2790 for a pair of slow test cases. Take the `gdb,timeout'
2791 target setting into account for this calculation.
2793 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2795 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
2796 timeout, don't pass one down to gdb_expect.
2797 (gdb_expect): Rework timeout selection.
2799 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2801 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
2802 exception on timeout.
2803 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
2804 (gdbserver_start_extended): Catch any `gdbserver_start' error
2806 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
2807 * lib/mi-support.exp (mi_gdb_target_load): Catch any
2808 `gdbserver_gdb_load' error exceptions.
2810 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2812 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
2813 120 on waiting for the TCP socket to open.
2815 2014-09-09 Doug Evans <xdje42@gmail.com>
2817 * gdb.base/default.exp (show_conv_list): Add _caller_is,
2818 _caller_matches, _any_caller_is, _any_caller_matches.
2820 2014-09-09 Doug Evans <xdje42@gmail.com>
2822 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
2824 2014-09-09 Yao Qi <yao@codesourcery.com>
2826 * gdb.mi/mi-var-display.exp: Set print symbol off.
2828 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
2831 * gdb.base/commands.exp: Add tests to verify user-defined
2832 commands with empty bodies.
2833 * gdb.python/py-cmd.exp: Test that we don't show user-defined
2834 python commands in `show user command`.
2835 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
2836 scheme commands in `show user command`.
2838 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2841 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
2842 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
2843 * gdb.python/py-framefilter-invalidarg.exp: New file.
2844 * gdb.python/py-framefilter-invalidarg.py: New file.
2846 2014-09-06 Doug Evans <xdje42@gmail.com>
2849 * gdb.python/py-caller-is.c: New file.
2850 * gdb.python/py-caller-is.exp: New file.
2852 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
2855 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
2856 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
2858 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
2861 * gdb.fortran/print-formatted.exp: New file.
2862 * gdb.fortran/print-formatted.f90: Likewise.
2864 2014-09-03 Sasha Smundak <asmundak@google.com>
2866 * gdb.python/py-frame.exp: Test Frame.read_register.
2868 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2871 * gdb.python/py-completion.exp: New file.
2872 * gdb.python/py-completion.py: Likewise.
2874 2014-08-28 Doug Evans <dje@google.com>
2876 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
2877 eax,etc. are live with values set by gdb and thus the compiler can't
2879 * gdb.arch/i386-pseudo.c (main): Ditto.
2881 2014-08-27 Doug Evans <dje@google.com>
2883 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
2885 2014-08-25 Doug Evans <dje@google.com>
2887 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
2890 2014-08-25 Doug Evans <dje@google.com>
2892 * gdb.threads/thread-execl.exp: #include <stdio.h>.
2894 2014-08-24 Yao Qi <yao@codesourcery.com>
2896 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
2898 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
2900 2014-08-22 Doug Evans <dje@google.com>
2903 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
2904 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
2905 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
2907 2014-08-22 Yao Qi <yao@codesourcery.com>
2909 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
2910 * gdb.python/py-finish-breakpoint2.exp: Likewise.
2911 * gdb.python/python.exp: Likewise. Use .py file on the host
2912 instead of the build.
2914 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2916 * gdb.threads/gcore-stale-thread.c: New file.
2917 * gdb.threads/gcore-stale-thread.exp: New file.
2919 2014-08-21 Pedro Alves <palves@redhat.com>
2921 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
2922 * gdb.base/gcore-relro-pie.exp: Likewise.
2923 * gdb.base/gcore-relro.exp: Likewise.
2924 * gdb.base/gcore.exp: Likewise.
2925 * gdb.base/print-symbol-loading.exp: Likewise.
2926 * gdb.threads/gcore-thread.exp: Likewise.
2927 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
2929 2014-08-20 Pedro Alves <palves@redhat.com>
2930 Jan Kratochvil <jan.kratochvil@redhat.com>
2932 * Makefile.in (EXTRA_RULES, CC): New variables, get from
2934 (EXPECT): Handle READ1 being set.
2935 (all): Depend on EXTRA_RULES.
2936 (check-read1, expect-read1, read1.so, read1): New rules.
2937 * README (Testsuite Parameters): Document the READ1 make variable.
2938 (Race detection): New section.
2939 * configure: Regenerate.
2940 * configure.ac: If build==host==target, and running under a
2941 GNU/glibc system, add read1 to the extra Makefile rules.
2942 (EXTRA_RULES): AC_SUBST it.
2943 * lib/read1.c: New file.
2945 2014-08-20 Joel Brobecker <brobecker@adacore.com>
2947 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
2948 the handling of variables declared as a typedef to an array
2949 which a DW_AT_data_location attribute.
2951 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
2952 Pedro Alves <palves@redhat.com>
2956 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
2959 2014-08-19 Pedro Alves <palves@redhat.com>
2961 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
2963 2014-08-19 Yao Qi <yao@codesourcery.com>
2965 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
2968 2014-08-18 David Blaikie <dblaikie@gmail.com>
2970 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
2972 2014-08-18 Joel Brobecker <brobecker@adacore.com>
2974 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
2975 attribute in array range.
2977 2014-08-18 Joel Brobecker <brobecker@adacore.com>
2979 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
2981 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2984 * gdb.cp/pr17132.cc: New file.
2985 * gdb.cp/pr17132.exp: New file.
2987 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2989 * gdb.python/py-xmethods.py (A_getarrayind)
2990 (E_method_char_worker.__call__, E_method_int_worker.__call__):
2991 Use 'print' with function call syntax.
2992 (E_method_matcher.match): Fix tab vs space indentation mixup.
2994 2014-08-15 Yao Qi <yao@codesourcery.com>
2996 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
2999 2014-08-15 Yao Qi <yao@codesourcery.com>
3001 * gdb.cp/casts.exp: Set print symbol off.
3002 * gdb.cp/class2.exp: Likewise.
3003 * gdb.cp/overload.exp: Likewise.
3004 * gdb.cp/templates.exp: Likewise.
3006 2014-08-11 Doug Evans <dje@google.com>
3008 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3009 (test_load_shlib): Update.
3011 2014-08-09 Yao Qi <yao@codesourcery.com>
3013 * gdb.base/display.exp: Invoke is_address_zero_readable.
3014 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
3015 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3016 * gdb.base/hbreak-unmapped.exp: Return if
3017 is_address_zero_readable returns true.
3018 * gdb.base/signest.exp: Likewise.
3019 * gdb.base/signull.exp: Likewise.
3020 * gdb.base/sigbpt.exp: Likewise.
3021 * gdb.guile/scm-disasm.exp: Do the test if
3022 is_address_zero_readable returns false.
3023 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
3024 * gdb.python/py-arch.exp: Likewise.
3025 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
3026 * lib/gdb.exp (is_address_zero_readable): New proc.
3028 2014-08-09 Yao Qi <yao@codesourcery.com>
3031 * gdb.mi/mi-var-display.exp: Make test messages unique.
3033 2014-08-04 Tom Tromey <tromey@redhat.com>
3035 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
3038 2014-08-04 Tom Tromey <tromey@redhat.com>
3040 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
3043 2014-08-01 Joel Brobecker <brobecker@adacore.com>
3045 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
3046 inner_vla_struct_object_size.
3047 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
3050 2014-07-30 Pedro Alves <palves@redhat.com>
3052 * gdb.threads/signal-command-handle-nopass.exp (test): Add
3055 2014-07-29 Yao Qi <yao@codesourcery.com>
3058 * gdb.base/until-nodebug.exp: New.
3060 2014-07-28 Doug Evans <xdje42@gmail.com>
3063 * gdb.guile/scm-parameter.exp: Add tests for trying to create
3064 previously existing parameter, and previously ambiguously spelled
3067 2014-07-28 Will Newton <will.newton@linaro.org>
3069 * gdb.base/varargs.exp: Remove KFAILs for ARM.
3071 2014-07-26 Ludovic Courtès <ludo@gnu.org>
3072 Doug Evans <xdje42@gmail.com>
3075 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
3077 2014-07-25 Pedro Alves <palves@redhat.com>
3079 * gdb.threads/signal-command-handle-nopass.c: New file.
3080 * gdb.threads/signal-command-handle-nopass.exp: New file.
3081 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
3082 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
3083 * gdb.threads/signal-delivered-right-thread.c: New file.
3084 * gdb.threads/signal-delivered-right-thread.exp: New file.
3086 2014-07-25 Pedro Alves <palves@redhat.com>
3088 * gdb.base/double-prompt-target-event-error.exp
3089 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
3091 (cancel_pagination_in_target_event): Rework double prompt
3093 * gdb.base/paginate-after-ctrl-c-running.exp
3094 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
3096 * gdb.base/paginate-bg-execution.exp
3097 (test_bg_execution_pagination_return)
3098 (test_bg_execution_pagination_cancel): Remove '-notransfer
3100 * gdb.base/paginate-execution-startup.exp
3101 (test_fg_execution_pagination_return)
3102 (test_fg_execution_pagination_cancel): Remove '-notransfer
3104 * gdb.base/paginate-inferior-exit.exp
3105 (test_paginate_inferior_exited): Remove '-notransfer <return>'
3107 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
3108 * lib/gdb.exp (pagination_prompt): Run text through
3110 (gdb_test_multiple): Match $pagination_prompt instead of
3112 (string_to_regexp): Move to lib/gdb-utils.exp.
3114 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3116 * gdb.arch/amd64-entry-value-paramref.S: New file.
3117 * gdb.arch/amd64-entry-value-paramref.cc: New file.
3118 * gdb.arch/amd64-entry-value-paramref.exp: New file.
3119 * gdb.arch/amd64-optimout-repeat.S: New file.
3120 * gdb.arch/amd64-optimout-repeat.c: New file.
3121 * gdb.arch/amd64-optimout-repeat.exp: New file.
3123 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3126 * gdb.base/statistics.exp: New file.
3128 2014-07-17 Doug Evans <dje@google.com>
3131 * gdb.base/maint.exp: Update testing of per-command stats.
3133 2014-07-16 Pedro Alves <palves@redhat.com>
3135 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
3136 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
3137 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
3138 (tfile_write_buf): New functions.
3139 (add_memory_block): Rewrite using the above.
3140 (adjust_function_address): New function.
3141 (FUNCTION_ADDRESS): New macro.
3142 (write_basic_trace_file): Remove short_x local, and use
3143 tfile_write_16. Change type of func_addr local to unsigned long
3144 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
3145 here. Cast argument of add_memory_block to char pointer.
3146 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
3147 (main): Remove parameters.
3148 * gdb.trace/tfile.exp: Remove nowarnings.
3150 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
3152 * gdb.base/debug-expr.exp: Test string evaluation with
3153 "debug expression" on.
3155 2014-07-15 Pedro Alves <palves@redhat.com>
3157 * gdb.base/reread.exp: Use clean_restart.
3159 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
3161 * gdb.arch/avr-flash-qualifer.c: New.
3162 * gdb.arch/avr-flash-qualifer.exp: New.
3164 2014-07-14 Pedro Alves <palves@redhat.com>
3166 * gdb.base/paginate-after-ctrl-c-running.c: New file.
3167 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
3169 2014-07-14 Pedro Alves <palves@redhat.com>
3171 * gdb.base/double-prompt-target-event-error.c: New file.
3172 * gdb.base/double-prompt-target-event-error.exp: New file.
3174 2014-07-14 Pedro Alves <palves@redhat.com>
3177 * gdb.base/paginate-inferior-exit.c: New file.
3178 * gdb.base/paginate-inferior-exit.exp: New file.
3180 2014-07-14 Pedro Alves <palves@redhat.com>
3183 * gdb.base/paginate-bg-execution.c: New file.
3184 * gdb.base/paginate-bg-execution.exp: New file.
3186 2014-07-14 Pedro Alves <palves@redhat.com>
3189 * gdb.base/paginate-execution-startup.c: New file.
3190 * gdb.base/paginate-execution-startup.exp: New file.
3191 * lib/gdb.exp (pagination_prompt): New global.
3192 (default_gdb_spawn): New procedure, factored out from
3194 (default_gdb_start): Adjust to call default_gdb_spawn.
3195 (gdb_spawn): New procedure.
3197 2014-07-14 Pedro Alves <palves@redhat.com>
3199 * lib/gdb.exp (gdb_assert): New procedure.
3200 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
3202 2014-07-14 Pedro Alves <palves@redhat.com>
3204 * gdb.base/execution-termios.c: New file.
3205 * gdb.base/execution-termios.exp: New file.
3207 2014-07-14 Tom Tromey <tromey@redhat.com>
3209 * gdb.cp/vla-cxx.cc: New file.
3210 * gdb.cp/vla-cxx.exp: New file.
3212 2014-07-14 Tom Tromey <tromey@redhat.com>
3214 * gdb.reverse/rerun-prec.c: New file.
3215 * gdb.reverse/rerun-prec.exp: New file.
3217 2014-07-12 Maciej W. Rozycki <macro@mips.com>
3218 Maciej W. Rozycki <macro@codesourcery.com>
3220 * lib/gdb-utils.exp: New file.
3221 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
3222 inline `gdb_init_command' processing.
3223 (gdb_start_cmd): Likewise.
3224 * lib/mi-support.exp (mi_run_cmd): Likewise.
3225 * README: Document `gdb_init_command' and `gdb_init_commands'.
3227 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3229 Fix false FAIL running under a very long directory name.
3230 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
3231 and "set print elements 10000". Twice.
3233 2014-07-11 Yao Qi <yao@codesourcery.com>
3235 * gdb.base/exprs.exp: "set print symbol off".
3237 2014-07-11 Pedro Alves <palves@redhat.com>
3239 * gdb.threads/kill.c: New file.
3240 * gdb.threads/kill.exp: New file.
3242 2014-07-10 Yao Qi <yao@codesourcery.com>
3244 * gdb.trace/tfile.c (write_basic_trace_file)
3245 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
3246 address written to trace file.
3248 2014-07-09 Pedro Alves <palves@redhat.com>
3250 * gdb.base/attach-wait-input.exp: New file.
3251 * gdb.base/attach-wait-input.c: New file.
3253 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3255 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
3256 setting up test structures.
3257 (main): Call new test function.
3258 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
3259 test function, continue into test function and walk test
3262 2014-07-02 Yao Qi <yao@codesourcery.com>
3264 * gdb.trace/entry-values.c: Define labels 'foo_start' and
3265 'bar_start' at the beginning of functions 'foo' and 'bar'
3267 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
3268 instead of 'foo' and 'bar'.
3270 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
3272 * gdb.btrace/segv.exp: New.
3273 * gdb.btrace/segv.c: New.
3275 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
3277 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
3280 2014-06-30 Mark Wielaard <mjw@redhat.com>
3282 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
3283 vulture, vilify, villar): New volatile array constants.
3284 (vindictive, vegetation): New const volatile array constants.
3285 * gdb.base/volatile.exp: Test volatile and const volatile array
3288 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
3290 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
3291 target lacks support for awatch, rwatch, or hbreak.
3293 2014-06-27 Yao Qi <yao@codesourcery.com>
3295 * gdb.multi/dummy-frame-restore.exp: New.
3296 * gdb.multi/dummy-frame-restore.c: New.
3298 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3300 * gdb.btrace/gcore.exp: New.
3302 2014-06-23 Pedro Alves <palves@redhat.com>
3304 * gdb.base/watchpoint-reuse-slot.c: New file.
3305 * gdb.base/watchpoint-reuse-slot.exp: New file.
3307 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
3309 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
3310 progspace's filename in 'info', 'enable' and 'disable' command
3313 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3315 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
3316 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3317 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
3319 2014-06-20 Gary Benson <gbenson@redhat.com>
3321 * gdb.arch/i386-avx.exp: Fix include file location.
3322 * gdb.arch/i386-sse.exp: Likewise.
3324 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
3326 * gdb.dlang/expression.exp: New file.
3328 2014-06-19 Pedro Alves <palves@redhat.com>
3330 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
3332 (top level): ... here. Iterate running tests under different
3333 scheduler-locking settings.
3335 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
3337 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
3338 to DW_FORM_addr and use non-zero addresses.
3340 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
3343 * gdb.python/py-xmethods.cc: Add global function call counters and
3344 increment them in their respective functions. Remove "cout"
3346 * gdb.python/py-xmethods.exp: Make tests check the global function
3347 call counters instead of depending on inferior IO.
3349 2014-06-18 Don Breazeal <donb@codesourcery.com>
3351 * gdb.base/foll-fork.exp (default_fork_parent_follow):
3353 (explicit_fork_parent_follow): Deleted procedure.
3354 (explicit_fork_child_follow): Deleted procedure.
3355 (test_follow_fork): New procedure.
3356 (do_fork_tests): Replace calls to deleted procedures with
3357 calls to test_follow_fork and reset GDB for subsequent
3360 2014-06-17 Yao Qi <yao@codesourcery.com>
3362 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
3365 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
3367 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
3368 Initialize ptr and S explicitly.
3369 (skip_type_update_when_not_use_rtti_test): Likewise.
3371 2014-06-16 Keith Seitz <keiths@redhat.com>
3374 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
3375 the inferior is started.
3377 2014-06-16 Pedro Alves <palves@redhat.com>
3379 * gdb.base/break-main-file-remove-fail.c: New file.
3380 * gdb.base/break-main-file-remove-fail.exp: New file.
3381 * gdb.base/break-unload-file.exp: Use build_executable instead of
3382 prepare_for_testing.
3383 (test_break): New parameter "initial_load". Handle it.
3384 (top level): Add initial_load cmdline/file axis.
3386 2014-06-12 Tom Tromey <tromey@redhat.com>
3388 * gdb.base/completion.exp: Don't use directory name in test.
3390 2014-06-09 Gary Benson <gbenson@redhat.com>
3392 * gdb.base/sigall.c [Functions to send signals]: Reorder to
3393 separate the always-available ANSI-standard signals from the
3394 signals that require checking.
3396 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
3400 2014-06-07 Keith Seitz <keiths@redhat.com>
3404 * gdb.cp/var-tag.cc: New file.
3405 * gdb.cp/var-tag.exp: New file.
3406 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3407 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3408 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3409 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3411 2014-06-06 Doug Evans <xdje42@gmail.com>
3413 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
3415 2014-06-06 Pedro Alves <palves@redhat.com>
3417 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
3418 in target debug output instead of looking at RSP packets,
3419 disabling the test on any target that uses hardware stepping.
3422 2014-06-06 Pedro Alves <palves@redhat.com>
3424 * gdb.base/break-unload-file.exp: Fix typo.
3426 2014-06-06 Yao Qi <yao@codesourcery.com>
3428 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
3429 from "jit_function" to "^jit_function".
3431 2014-06-06 Yao Qi <yao@codesourcery.com>
3433 * gdb.base/async.c (foo): Add one statement.
3434 * gdb.base/async.exp: Get the next instruction address and
3435 match the output of "nexti" by instruction address. Match
3436 the hex address in the output of "finish".
3438 2014-06-06 Gary Benson <gbenson@redhat.com>
3440 * gdb.base/call-signals.c: Remove preprocessor conditionals
3441 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
3442 SIGSEGV and SIGTERM.
3443 * gdb.base/sigall.c: Likewise.
3444 * gdb.base/unwindonsignal.c: Likewise.
3445 * gdb.reverse/sigall-reverse.c: Likewise.
3447 2014-06-06 Yao Qi <yao@codesourcery.com>
3449 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
3450 readable, skip the test.
3452 2014-06-06 Yao Qi <yao@codesourcery.com>
3454 * gdb.threads/staticthreads.c (thread_function): Move the line
3455 setting breakpoint on forward.
3456 * gdb.threads/staticthreads.exp: Update comments.
3458 2014-06-05 Ludovic Courtès <ludo@gnu.org>
3460 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
3461 "history-append! type error".
3463 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
3465 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
3466 erroneous dprintf expected input.
3468 2014-06-04 Doug Evans <xdje42@gmail.com>
3470 * gdb.guile/scm-generics.exp: Delete.
3472 2014-06-04 Doug Evans <xdje42@gmail.com>
3474 * gdb.guile/scm-breakpoint.exp: Update.
3475 Add tests for breakpoint registration.
3477 2014-06-04 Tom Tromey <tromey@redhat.com>
3479 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
3481 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
3482 inner_vla_struct, vla_union types. Initialize objects of those
3483 types and compute their sizes.
3485 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
3486 Hui Zhu <hui@codesourcery.com>
3488 * gdb.base/fileio.exp: Add test for shell not available as well as
3490 * gdb.base/fileio.c (test_system): Check for shell twice.
3492 2014-06-04 Yao Qi <yao@codesourcery.com>
3494 * gdb.base/auto-connect-native-target.exp: Remove redundant
3495 space from the regexp pattern.
3497 2014-06-04 Yao Qi <yao@codesourcery.com>
3499 * gdb.base/default.exp: Replace "child" with "native" in
3502 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3504 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
3505 * gdb.python/py-xmethods.exp: New tests to test xmethods.
3506 * gdb.python/py-xmethods.py: Python script supporting the
3507 new testcase and tests.
3509 2014-06-03 Joel Brobecker <brobecker@adacore.com>
3510 Pedro Alves <palves@redhat.com>
3512 PR breakpoints/17000
3513 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
3514 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
3516 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
3518 * gdb.base/subst.exp: Add tests to verify partial path matching
3521 2014-06-03 Pedro Alves <palves@redhat.com>
3523 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
3524 target that doesn't use software single-stepping.
3526 2014-06-03 Pedro Alves <palves@redhat.com>
3528 PR breakpoints/17000
3529 * gdb.base/sss-bp-on-user-bp-2.c: New file.
3530 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
3532 2014-06-02 Doug Evans <xdje42@gmail.com>
3534 * gdb.guile/scm-parameter.exp: New file.
3536 2014-06-02 Doug Evans <xdje42@gmail.com>
3538 * gdb.guile/scm-cmd.c: New file.
3539 * gdb.guile/scm-cmd.exp: New file.
3541 2014-06-02 Doug Evans <xdje42@gmail.com>
3543 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
3544 pretty-printer lookup.
3545 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
3546 (make-pp_s-printer): Call it.
3547 (make-pretty-printer-from-dict): New function.
3548 (lookup-pretty-printer-maker-from-dict): New function.
3549 (*pretty-printer*): Simplify.
3550 (make-objfile-pp_s-printer): New function.
3551 (install-objfile-pretty-printers!): New function.
3552 (make-progspace-pp_s-printer): New function.
3553 (install-progspace-pretty-printers!): New function.
3554 * gdb.guile/scm-progspace.c: New file.
3555 * gdb.guile/scm-progspace.exp: New file.
3557 2014-06-02 Pedro Alves <palves@redhat.com>
3559 * gdb.base/dprintf-bp-same-addr.c: New file.
3560 * gdb.base/dprintf-bp-same-addr.exp: New file.
3562 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3564 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
3565 * gdb.arch/powerpc-power.s: Likewise.
3567 2014-06-02 Joel Brobecker <brobecker@adacore.com>
3569 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
3571 2014-06-01 Yao Qi <yao@codesourcery.com>
3573 * gdb.base/watchpoint.exp (test_watch_location): Check null
3574 pointer can be dereferenced. If not, do the test, otherwise
3577 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
3579 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
3581 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
3583 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
3585 * gdb.arch/amd64-invalid-stack-middle.S: New file.
3586 * gdb.arch/amd64-invalid-stack-middle.c: New file.
3587 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
3588 * gdb.arch/amd64-invalid-stack-top.c: New file.
3589 * gdb.arch/amd64-invalid-stack-top.exp: New file.
3591 2014-05-30 Pedro Alves <palves@redhat.com>
3593 PR breakpoints/17000
3594 * gdb.base/sss-bp-on-user-bp.c: New file.
3595 * gdb.base/sss-bp-on-user-bp.exp: New file.
3597 2014-05-30 David Blaikie <dblaikie@gmail.com>
3599 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
3600 gnu_inline semantics via attribute.
3601 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
3602 source explicitly specifies the required semantics.
3604 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
3606 * gdb.reverse/sigall-reverse.exp: Fix a typo.
3608 2014-05-29 Pedro Alves <palves@redhat.com>
3609 Tom Tromey <tromey@redhat.com>
3611 * gdb.base/async-shell.exp: Don't enable target-async.
3612 * gdb.base/async.exp
3613 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
3615 (top level): Don't test with "target-async".
3616 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
3617 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
3618 * gdb.base/inferior-died.exp: Don't enable target-async.
3619 * gdb.base/interrupt-noterm.exp: Likewise.
3620 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
3621 * gdb.mi/mi-nonstop-exit.exp: Likewise.
3622 * gdb.mi/mi-nonstop.exp: Likewise.
3623 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3624 * gdb.mi/mi-nsintrall.exp: Likewise.
3625 * gdb.mi/mi-nsmoribund.exp: Likewise.
3626 * gdb.mi/mi-nsthrexec.exp: Likewise.
3627 * gdb.mi/mi-watch-nonstop.exp: Likewise.
3628 * gdb.multi/watchpoint-multi.exp: Adjust comment.
3629 * gdb.python/py-evsignal.exp: Don't enable target-async.
3630 * gdb.python/py-evthreads.exp: Likewise.
3631 * gdb.python/py-prompt.exp: Likewise.
3632 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
3633 * gdb.server/solib-list.exp: Don't enable target-async.
3634 * gdb.threads/thread-specific-bp.exp: Likewise.
3635 * lib/mi-support.exp: Adjust to use mi-async.
3637 2014-05-29 Pedro Alves <palves@redhat.com>
3640 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
3641 reason, even in sync mode.
3643 2014-05-29 Pedro Alves <palves@redhat.com>
3644 Hui Zhu <hui@codesourcery.com>
3647 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
3648 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
3649 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
3650 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
3652 2014-05-28 Joel Brobecker <brobecker@adacore.com>
3654 * config/monitor.exp (gdb_target_monitor): Replace use of
3655 "set remotebaud" by "set serial baud".
3657 2014-05-26 Andy Wingo <wingo@igalia.com>
3659 * gdb.guile/scm-breakpoint.exp:
3660 * gdb.guile/scm-gsmob.exp: Update to use plain old object
3661 properties instead of gdb-object-properties.
3663 2014-05-26 Yao Qi <yao@codesourcery.com>
3665 * gdb.server/no-thread-db.exp: Specify source file name
3666 explicitly when setting a breakpoint.
3668 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3670 * gdb.btrace/vdso.c: New.
3671 * gdb.btrace/vdso.exp: New.
3673 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3675 * gdb.base/gcore.exp (capture_command_output): Move ...
3676 * lib/gdb.exp (capture_command_output): ... here.
3678 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3680 * gdb.btrace/data.exp: Test memory access during btrace replay.
3682 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
3684 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
3686 2014-05-21 Pedro Alves <palves@redhat.com>
3689 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
3690 (top level): Test that output related to execution commands is
3691 sent to the console with CLI commands, but not with MI commands.
3692 Test that breakpoint events are always mirrored to the console.
3693 Also expect the new source line to be output after a "next" in
3694 async mode too. Make it a pass/fail test.
3695 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
3697 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
3699 2014-05-21 Pedro Alves <palves@redhat.com>
3701 * gdb.base/list.exp (build_pattern, test_list): New procedures.
3702 Use them to test variations of "list" after reaching a breakpoint.
3703 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
3704 Test "list" with listsize 10 after reaching a breakpoint.
3705 * gdb.python/python.exp (decode_line current location line
3706 number): Adjust expected line number.
3708 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
3710 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
3711 behavior for $args, pass it directly to "run".
3713 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3715 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
3718 2014-05-21 Pedro Alves <palves@redhat.com>
3720 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
3721 auto-connect-native-target off".
3722 * gdb.base/auto-connect-native-target.c: New file.
3723 * gdb.base/auto-connect-native-target.exp: New file.
3725 2014-05-21 Pedro Alves <palves@redhat.com>
3727 * gdb.base/default.exp: Test "target native" instead of "target
3730 2014-05-21 Mark Wielaard <mjw@redhat.com>
3732 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3734 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3736 Fix TLS access for -static -pthread.
3737 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
3738 <HAVE_TLS> (thread_function, main): Initialize it.
3739 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
3741 <$have_tls != "">: Check TLSVAR.
3743 2014-05-21 Pedro Alves <palves@redhat.com>
3745 * gdb.base/dcache-line-read-error.c: New.
3746 * gdb.base/dcache-line-read-error.exp: New.
3748 2014-05-20 Pedro Alves <palves@redhat.com>
3750 * gdb.base/compare-sections.c: New file.
3751 * gdb.base/compare-sections.exp: New file.
3753 2014-05-20 Pedro Alves <palves@redhat.com>
3755 * gdb.base/break-idempotent.c: New file.
3756 * gdb.base/break-idempotent.exp: New file.
3758 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
3760 * gdb.btrace/nohist.exp: New.
3762 2014-05-20 Yao Qi <yao@codesourcery.com>
3764 * lib/gdb.exp (gdb_init): Set timeout if test file is under
3765 gdb.reverse directory and gdb_reverse_timeout exists in board
3767 * README: Document gdb_reverse_timeout.
3769 2014-05-20 Yao Qi <yao@codesourcery.com>
3771 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
3772 'test_file_name'. Treat args as a string instead of a list.
3773 (gdb_init): Rename argument 'args' by 'test_file_name'.
3775 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3777 * gdb.arch/powerpc-power.exp: New file.
3778 * gdb.arch/powerpc-power.s: New file.
3780 2014-05-16 Doug Evans <dje@google.com>
3782 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
3783 * gdb.base/completion.exp: Check that all expected files exist
3784 before doing file completion.
3786 2014-05-16 Doug Evans <dje@google.com>
3788 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
3790 (do_syscall_tests_without_xml): Update.
3792 2014-05-16 Pedro Alves <palves@redhat.com>
3794 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
3795 instead of "unknown output after running".
3797 2014-05-16 Yao Qi <yao@codesourcery.com>
3799 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
3800 file1.txt from host at the end.
3801 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3803 2014-05-15 Doug Evans <dje@google.com>
3805 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
3806 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
3807 loading file. Add test for TU lookup.
3809 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3811 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
3812 calling "-exec-arguments" or "set args" before running the
3815 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3817 * lib/mi-support.exp (mi_expect_stop): Expect message for
3818 inferiors that exit with non-zero exit code.
3820 2014-05-14 Yao Qi <yao@codesourcery.com>
3822 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
3823 match absolute path on remote host.
3824 (test_file_list_exec_source_files): Remove "/" from the
3827 2014-05-14 Yao Qi <yao@codesourcery.com>
3829 * boards/local-remote-host-notty.exp (${board}_file): New
3832 2014-05-07 Kyle McMartin <kyle@redhat.com>
3834 Pushed by Joel Brobecker <brobecker@adacore.com>.
3835 * gdb.arch/aarch64-atomic-inst.c: New file.
3836 * gdb.arch/aarch64-atomic-inst.exp: New file.
3838 2014-05-07 Yao Qi <yao@codesourcery.com>
3840 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
3841 in current context" too.
3843 2014-05-05 Keith Seitz <keiths@redhat.com>
3845 * gdb.linespec/ls-dollar.exp: Add test for linespec
3846 file:convenience_variable.
3848 2014-05-05 Yao Qi <yao@codesourcery.com>
3850 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
3851 traceframes into tfile and ctf trace files. Read data from
3852 trace file and test collected data.
3853 (gdb_collect_locals_test): Likewise.
3854 (gdb_unavailable_registers_test): Likewise.
3855 (gdb_unavailable_floats): Likewise.
3856 (gdb_collect_globals_test): Likewise.
3857 (top-level): Append "ctf" to trace_file_targets if GDB
3860 2014-05-05 Yao Qi <yao@codesourcery.com>
3862 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
3864 (gdb_collect_args_test_1): ... it. New proc.
3865 (gdb_collect_locals_test): Move some code to ...
3866 (gdb_collect_locals_test_1): ... it. New proc.
3867 (gdb_unavailable_registers_test): Move some code to ...
3868 (gdb_unavailable_registers_test_1): ... it. New proc.
3869 (gdb_unavailable_floats): Move some code to ...
3870 (gdb_unavailable_floats_1): ... it. New proc.
3872 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3874 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
3875 probes to test for bitness recognition.
3876 * gdb.arch/amd64-stap-optional-prefix.exp
3877 (test_probe_value_without_reg): New procedure.
3878 Add code to test for different kinds of bitness.
3880 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3882 PR breakpoints/16889
3883 * gdb.arch/amd64-stap-optional-prefix.S: New file.
3884 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3886 2014-05-01 Pedro Alves <palves@redhat.com>
3888 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
3889 gdb_file_cmd if no file is specified.
3890 * boards/native-extended-gdbserver.exp (gdb_load): Use the
3891 last_loaded_file to set the remote exec-file.
3893 2014-05-01 Pedro Alves <palves@redhat.com>
3895 * boards/local-remote-host.exp: New file.
3897 2014-05-01 Pedro Alves <palves@redhat.com>
3899 * boards/local-remote-host.exp: Rename to ...
3900 * boards/local-remote-host-notty.exp: ... this.
3902 2014-04-28 Joel Brobecker <brobecker@adacore.com>
3904 * gdb.ada/dyn_arrayidx: New testcase.
3906 2014-04-26 Yao Qi <yao@codesourcery.com>
3908 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
3909 and compute the length of function main. Save it in
3911 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
3912 (top-level): Use gdb_compile to compile objects into
3913 executable and restart GDB. Remove invocation to
3914 prepare_for_testing.
3916 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
3917 Pedro Alves <palves@redhat.com>
3920 * gdb.multi/multi-attach.c: New file.
3921 * gdb.multi/multi-attach.exp: New file.
3923 2014-04-25 Pedro Alves <palves@redhat.com>
3925 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
3927 (top level): Test that "set remote conditional-breakpoints-packet
3928 off" works as intended.
3929 * gdb.base/dprintf.exp: Test that "set remote
3930 breakpoint-commands-packet off" works as intended.
3931 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
3933 (top level): Call it.
3934 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
3935 remote fast-tracepoints-packet off" works as intended.
3936 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
3937 * lib/gdb.exp (gdb_is_target_remote): ... here.
3939 2014-04-24 David Blaikie <dblaikie@gmail.com>
3941 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
3942 ensure clang would not discard them.
3943 * gdb.base/gdbvars.c: Ditto.
3944 * gdb.base/memattr.c: Ditto.
3945 * gdb.base/whatis.c: Ditto.
3946 * gdb.python/py-prettyprint.c: Ditto.
3947 * gdb.trace/actions.c: Ditto.
3948 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
3949 ensure clang would not discard it.
3951 2014-04-24 David Blaikie <dblaikie@gmail.com>
3953 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
3954 clang to emit the full definition of type required by the test
3955 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
3957 2014-04-24 David Blaikie <dblaikie@gmail.com>
3959 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
3960 coax Clang into emitting the definition of the type.
3961 * gdb.cp/pr10728-x.h (y): Ditto.
3962 * gdb.cp/pr10728-y.cc (y): Ditto.
3964 2014-04-24 David Blaikie <dblaikie@gmail.com>
3966 * gdb.base/label.exp: XFAIL label related tests under Clang.
3967 * gdb.cp/cplabel.exp: Ditto.
3968 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
3969 under Clang those using labels.
3971 2014-04-25 Yao Qi <yao@codesourcery.com>
3973 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
3975 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
3976 partial_label and double_label.
3978 2014-04-24 David Blaikie <dblaikie@gmail.com>
3980 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
3982 2014-04-24 David Blaikie <dblaikie@gmail.com>
3984 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
3985 of the function to work across GCC and Clang.
3986 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
3987 pointer types (const void ** const V void **).
3989 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
3990 Walfred Tedeschi <walfred.tedeschi@intel.com>
3992 * Makefile.in (EXECUTABLES): Added i386-avx512.
3993 * gdb.arch/i386-avx512.c: New file.
3994 * gdb.arch/i386-avx512.exp: Likewise.
3996 2014-04-23 Keith Seitz <keiths@redhat.com>
3998 * lib/mi-support.exp (mi_list_breakpoints): Delete.
3999 (mi_make_breakpoint_table): New procedure.
4000 (mi_create_breakpoint): Use mi_make_breakpoint
4001 and return the result.
4002 (mi_make_breakpoint): New procedure.
4003 (mi_build_kv_pairs): New procedure.
4005 * gdb.mi/mi-break.exp: Remove unused globals,
4006 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
4007 All callers updated.
4008 * gdb.mi/mi-dprintf.exp: Use variable to track command
4010 Update all callers of mi_create_breakpoint and use
4011 mi_make_breakpoint_table.
4012 Remove any unused global variables.
4013 * gdb.mi/mi-nonstop.exp: Likewise.
4014 * gdb.mi/mi-nsintrall.exp: Likewise.
4015 * gdb.mi/mi-nsmoribund.exp: Likewise.
4016 * gdb.mi/mi-nsthrexec.exp: Likewise.
4017 * gdb.mi/mi-reverse.exp: Likewise.
4018 * gdb.mi/mi-simplerun.exp: Likewise.
4019 * gdb.mi/mi-stepn.exp: Likewise.
4020 * gdb.mi/mi-syn-frame.exp: Likewise.
4021 * gdb.mi/mi-until.exp: Likewise.
4022 * gdb.mi/mi-var-cp.exp: Likewise.
4023 * gdb.mi/mi-var-display.exp: Likewise.
4024 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
4025 * gdb.mi/mi2-var-child.exp: Likewise.
4026 * gdb.mi/mi-vla-c99.exp: Likewise.
4027 * lib/mi-support.exp: Likewise.
4029 From Ian Lance Taylor <iant@cygnus.com>:
4030 * lib/gdb.exp (parse_args): New procedure.
4032 2014-04-23 Pedro Alves <palves@redhat.com>
4034 * gdb.base/break-unload-file.c: New file.
4035 * gdb.base/break-unload-file.exp: New file.
4036 * gdb.base/sym-file-lib.c (baz): New function.
4037 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
4039 (load): Store the segment's mapped size.
4040 (unload): New function.
4041 (unload_shlib): New function.
4042 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
4043 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
4044 set a breakpoint at baz, and call it.
4045 * gdb.base/sym-file.exp: New tests for stale breakpoint
4048 2014-04-23 Pedro Alves <palves@redhat.com>
4050 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
4051 * gdb.base/hbreak-in-shr-unsupported.c: New file.
4052 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
4053 * gdb.base/hbreak-unmapped.c: New file.
4054 * gdb.base/hbreak-unmapped.exp: New file.
4055 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
4056 * lib/gdb.exp (gdb_is_target_remote): ... here.
4058 2014-04-22 Pedro Alves <palves@redhat.com>
4060 * gdb.base/consecutive-step-over.c: New file.
4061 * gdb.base/consecutive-step-over.exp: New file.
4063 2014-04-22 Pedro Alves <palves@redhat.com>
4065 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
4066 instead of send_gdb/gdb_expect.
4068 2014-04-22 Yao Qi <yao@codesourcery.com>
4070 * lib/trace-support.exp (generate_tracefile): New procedure.
4071 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
4073 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
4074 if generate_tracefile returns 1.
4076 2014-04-18 Tom Tromey <palves@redhat.com>
4077 Pedro alves <tromey@redhat.com>
4080 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
4081 with a backtrace limit.
4082 * gdb.python/py-frame-inline.exp: Test running to an inline
4083 function with a backtrace limit, and printing the newest frame.
4084 * gdb.python/py-frame-inline.c (main): Call f.
4086 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4088 * gdb.java/jnpe.exp: Drop srcdir from untested path.
4090 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4092 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
4093 Drop prefix from unsupported source file path.
4095 2014-04-17 Yao Qi <yao@codesourcery.com>
4097 * lib/gdb.exp (with_target_charset): New proc.
4098 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
4099 with_target_charset.
4100 (test_print_strings): Likewise.
4101 (test_repeat_bytes): Likewise.
4102 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
4105 2014-04-16 Keith Seitz <keiths@redhat.com>
4108 * gdb.dwarf2/corrupt.c: New file.
4109 * gdb.dwarf2/corrupt.exp: New file.
4111 2014-04-16 Keith Seitz <keiths@redhat.com>
4114 * gdb.cp/namelessclass.cc: New file.
4115 * gdb.cp/namelessclass.exp: New file.
4116 * gdb.cp/namelessclass.S: New file.
4118 2014-04-16 Doug Evans <dje@google.com>
4120 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
4122 (gdbserver_default_get_comm_port): New function.
4123 (gdbserver_start): Check if board file provided
4124 "gdbserver,get_comm_port" and use it if so.
4125 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
4126 (gdb,socketport): Set to "stdio".
4127 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
4128 (stdio_gdbserver_template): Delete.
4129 (${board}_get_remote_address): Update.
4130 (${board}_build_remote_cmd): Delete.
4131 (${board}_get_comm_port): New function.
4132 (${board}_spawn): Update.
4133 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
4135 (${board}_get_remote_address): Update.
4136 (${board}_get_comm_port): New function.
4138 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
4140 * gdb.base/memattr.exp: Improve regexps to handle memory regions
4141 appearing in any order.
4143 2014-04-15 Doug Evans <dje@google.com>
4145 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
4146 uninitialized value of "description".
4148 2014-04-15 Keith Seitz <keiths@redhat.com>
4150 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
4151 Remove unused globals.
4152 (test_running_the_program): Likewise.
4153 (test_controlled_execution): Likewise.
4154 (test_controlling_breakpoints): Likewise.
4155 (test_program_termination): Likewise.
4157 2014-04-15 Keith Seitz <keiths@redhat.com>
4159 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
4161 (test_rbreak_creation_and_listing): Likewise.
4162 (test_ignore_count): Likewise.
4163 (test_error): Likewise.
4165 2014-04-15 Pedro Alves <palves@redhat.com>
4167 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
4168 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
4170 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4171 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4172 to sym-file-loader.c.
4173 (struct library): Forward declare.
4174 (load_shlib, lookup_function): Change prototypes.
4175 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4176 (translate_offset): Remove declarations.
4177 (get_text_addr): New declaration.
4178 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
4179 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
4181 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4182 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4183 here from sym-file-loader.h.
4184 (struct library): New structure.
4185 (load_shlib, lookup_function): Change prototypes and adjust to
4186 work with a struct library.
4187 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4188 (translate_offset): Make static.
4189 (get_text_addr): New function.
4190 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
4192 2014-04-15 Pedro Alves <palves@redhat.com>
4194 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
4196 2014-04-15 Pedro Alves <palves@redhat.com>
4198 * gdb.base/sym-file-loader.c: Include <limits.h>.
4199 (SELF_LINK): New define.
4200 (get_origin): New function.
4201 (load_shlib): Use it.
4202 * gdb.base/sym-file.exp: Don't early return if the target is
4203 remote. Use runto_main, and issue fail is that fails. Use
4205 (shlib_name): Delete.
4206 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
4208 2014-04-15 Pedro Alves <palves@redhat.com>
4210 * gdb.base/sym-file.exp: Remove regex characters from test
4211 message. Don't refer to breakpoint numbers in test messages.
4213 2014-04-14 Keith Seitz <keiths@redhat.com>
4216 * gdb.cp/var-tag.cc: New file.
4217 * gdb.cp/var-tag.exp: New file.
4218 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4219 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4220 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4221 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4223 2014-04-14 Tom Tromey <tromey@redhat.com>
4225 * gdb.cp/classes.exp (test_enums): Handle underlying type.
4226 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
4228 * gdb.cp/enum-class.exp: New file.
4229 * gdb.cp/enum-class.cc: New file.
4231 2014-04-14 Tom Tromey <tromey@redhat.com>
4233 * gdb.dwarf2/enum-type.exp: New file.
4235 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4237 * gdb.mi/mi-vla-c99.exp: New file.
4238 * gdb.mi/vla.c: New file.
4240 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4242 * gdb.base/vla-datatypes.c: New file.
4243 * gdb.base/vla-datatypes.exp: New file.
4245 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4247 * gdb.base/vla-ptr.c: New file.
4248 * gdb.base/vla-ptr.exp: New file.
4250 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4252 * gdb.dwarf2/count.exp: New file.
4254 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4256 * gdb.base/vla-sideeffect.c: New file.
4257 * gdb.base/vla-sideeffect.exp: New file.
4259 2014-04-14 David Blaikie <dblaikie@gmail.com>
4261 * gdb.mi/non-stop.c: Add return value for non-void function return
4263 * gdb.threads/staticthreads.c: Ditto.
4265 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
4266 Doug Evans <xdje42@gmail.com>
4268 * gdb.guile/scm-value.c: Improve test case.
4269 * gdb.guile/scm-value.exp: Add new test.
4271 2014-04-11 David Blaikie <dblaikie@gmail.com>
4273 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
4274 override Clang's default.
4276 2014-04-11 Joel Brobecker <brobecker@adacore.com>
4278 Revert the following changes (regressions):
4280 * gdb.base/vla-sideeffect.c: New file.
4281 * gdb.base/vla-sideeffect.exp: New file.
4283 * gdb.dwarf2/count.exp: New file.
4285 * gdb.base/vla-multi.c: New file.
4286 * gdb.base/vla-multi.exp: New file.
4288 * gdb.base/vla-ptr.c: New file.
4289 * gdb.base/vla-ptr.exp: New file.
4291 * gdb.base/vla-datatypes.c: New file.
4292 * gdb.base/vla-datatypes.exp: New file.
4294 * gdb.mi/mi-vla-c99.exp: New file.
4295 * gdb.mi/vla.c: New file.
4297 2014-04-11 Keith Seitz <keiths@redhat.com>
4300 * gdb.cp/cpsizeof.exp: New file.
4301 * gdb.cp/cpsizeof.cc: New file.
4303 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4305 * gdb.mi/mi-vla-c99.exp: New file.
4306 * gdb.mi/vla.c: New file.
4308 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4310 * gdb.base/vla-datatypes.c: New file.
4311 * gdb.base/vla-datatypes.exp: New file.
4313 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4315 * gdb.base/vla-ptr.c: New file.
4316 * gdb.base/vla-ptr.exp: New file.
4318 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4320 * gdb.base/vla-multi.c: New file.
4321 * gdb.base/vla-multi.exp: New file.
4323 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4325 * gdb.dwarf2/count.exp: New file.
4327 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4329 * gdb.base/vla-sideeffect.c: New file.
4330 * gdb.base/vla-sideeffect.exp: New file.
4332 2014-04-11 Yao Qi <yao@codesourcery.com>
4334 * gdb.base/completion.exp: Check file exists before running tests
4337 2014-04-10 Pedro Alves <palves@redhat.com>
4339 * gdb.base/cond-eval-mode.c: New file.
4340 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
4341 prepare_for_testing to build the new file. Check result of
4343 (test_break, test_watch): New procedures.
4344 (top level): Use them.
4346 2014-04-08 Pierre Muller <muller@sourceware.org>
4348 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
4349 Ctrl-V use for mingw hosts.
4351 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
4353 * gdb.python/py-value.c: Improve test case.
4354 * gdb.python/py-value.exp: Add new test.
4356 2014-04-07 David Blaikie <dblaikie@gmail.com>
4358 * lib/compiler.c: Identify the clang compiler.
4359 * lib/compiler.cc: Ditto.
4361 2014-04-03 Yao Qi <yao@codesourcery.com>
4363 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
4365 2014-04-01 Anton Blanchard <anton@samba.org>
4367 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
4370 2014-04-01 Anton Blanchard <anton@samba.org>
4372 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
4373 prepare_for_testing.
4375 2014-04-01 Anton Blanchard <anton@samba.org>
4377 * gdb.arch/ppc64-atomic-inst.c: Remove.
4378 * gdb.arch/ppc64-atomic-inst.S: New file.
4379 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
4381 2014-03-31 Doug Evans <dje@google.com>
4383 * gdb.base/print-symbol-loading-lib.c: New file.
4384 * gdb.base/print-symbol-loading-main.c: New file.
4385 * gdb.base/print-symbol-loading.exp: New file.
4387 2014-03-31 Yao Qi <yao@codesourcery.com>
4389 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
4391 2014-03-28 Joel Brobecker <brobecker@adacore.com>
4393 * gdb.ada/mi_dyn_arr: New testcase.
4395 2014-03-27 Doug Evans <dje@google.com>
4397 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
4399 2014-03-27 Yao Qi <yao@codesourcery.com>
4401 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
4402 if target is nios2-*-*.
4404 2014-03-26 Yao Qi <yao@codesourcery.com>
4406 * lib/gdb.exp (readline_is_used): New proc.
4407 * gdb.base/completion.exp: Move tests on command complete up.
4408 Skip the rest of tests if readline is not used.
4409 * gdb.ada/complete.exp: Skp the test if readline is not
4411 * gdb.base/filesym.exp: Likewise.
4412 * gdb.base/macscp.exp: Likewise.
4413 * gdb.base/readline-ask.exp: Likewise.
4414 * gdb.base/readline.exp: Likewise.
4415 * gdb.python/py-cmd.exp: Likewise.
4416 * gdb.trace/tfile.exp: Likewise.
4418 2014-03-26 Yao Qi <yao@codesourcery.com>
4420 * gdb.base/macscp.exp: Fix code format issues.
4422 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
4424 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
4425 * gdb.asm/powerpc64le.inc: New file.
4427 2014-03-25 Pedro Alves <palves@redhat.com>
4428 Doug Evans <dje@google.com>
4430 * gdb.base/source-execution.c: New file.
4431 * gdb.base/source-execution.exp: New file.
4432 * gdb.base/source-execution.gdb: New file.
4434 2014-03-24 Doug Evans <dje@google.com>
4436 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
4439 2014-03-24 Hui Zhu <hui@codesourcery.com>
4440 Pedro Alves <palves@redhat.com>
4442 PR breakpoints/16101
4443 * gdb.base/dprintf.exp: Use unsupported rather than changing the
4444 test pass/fail messages. Detect missing support for dprintf when
4445 breakpoints are actually inserted.
4446 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
4447 breakpoints are actually inserted.
4448 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
4451 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4453 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
4455 2014-03-22 Doug Evans <xdje42@gmail.com>
4457 * gdb.python/python.exp (python not supported): Verify multi-line
4458 python command issues an error.
4459 * gdb.guile/guile.exp (guile not supported): Verify multi-line
4460 guile command issues an error.
4462 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
4464 * gdb.threads/thread-specific.exp: Handle the lack of usable
4465 $this_breakpoint and $this_thread.
4467 2014-03-21 Hui Zhu <hui@codesourcery.com>
4469 * gdb.base/attach.exp (do_command_attach_tests): New.
4471 2014-03-20 Tom Tromey <tromey@redhat.com>
4472 Pedro Alves <palves@redhat.com>
4475 * gdb.base/condbreak-call-false.c: New file.
4476 * gdb.base/condbreak-call-false.exp: New file.
4478 2014-03-20 Pedro Alves <palves@redhat.com>
4480 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
4482 (block_signals, unblock_signals): Delete.
4483 (child_function_2, main): Remove references to deleted variable
4486 2014-03-20 Pedro Alves <palves@redhat.com>
4488 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
4489 Use pthread_kill to signal thread 2.
4490 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4491 Adjust to make the test send itself a signal rather than using the
4492 host's "kill" command.
4494 2014-03-20 Pedro Alves <palves@redhat.com>
4496 * gdb.threads/multiple-step-overs.c: New file.
4497 * gdb.threads/multiple-step-overs.exp: New file.
4498 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4499 Adjust expected infrun debug output.
4501 2014-03-20 Pedro Alves <palves@redhat.com>
4503 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
4504 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
4506 2014-03-20 Pedro Alves <palves@redhat.com>
4509 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
4510 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
4511 of gdb_test_multiple.
4512 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
4513 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
4515 2014-03-20 Pedro Alves <palves@redhat.com>
4517 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
4518 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
4520 2014-03-19 Pedro Alves <palves@redhat.com>
4522 * gdb.base/async.exp: Remove early return.
4524 2014-03-19 Pedro Alves <palves@redhat.com>
4526 * gdb.base/async.exp (step& tests): Pass explicit test messages.
4528 2014-03-19 Pedro Alves <palves@redhat.com>
4530 * gdb.base/async.exp (test_background): Expect \r\n after
4531 "completed." in the fail pattern.
4533 2014-03-19 Pedro Alves <palves@redhat.com>
4535 * gdb.base/async.exp (test_background): New procedure.
4536 Use it for all background execution command tests.
4538 2014-03-19 Pedro Alves <palves@redhat.com>
4540 * gdb.base/async.exp: Use prepare_for_testing.
4542 2014-03-19 Pedro Alves <palves@redhat.com>
4544 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
4547 2014-03-19 Pedro Alves <palves@redhat.com>
4549 * gdb.base/async.c (main): Add "jump here" and "until here" line
4551 * gdb.base/async.exp (jump_here): New global.
4552 (jump& test): Use it.
4553 (until_here): New global.
4554 (until& test): Use it.
4556 2014-03-19 Pedro Alves <palves@redhat.com>
4558 * gdb.base/async.exp: Don't frob gdb_protocol.
4560 2014-03-18 Doug Evans <xdje42@gmail.com>
4562 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
4563 Fix spelling of exec-done-display.
4565 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4568 * gdb.base/gdb-sigterm.c: New file.
4569 * gdb.base/gdb-sigterm.exp: New file.
4571 2014-03-18 Pedro Alves <palves@redhat.com>
4574 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
4575 * lib/mi-support.exp (mi_expect_stop): Add special handling for
4578 2014-03-17 Joel Brobecker <brobecker@adacore.com>
4580 * gdb.ada/pckd_arr_ren: New testcase.
4582 2014-03-13 Doug Evans <xdje42@gmail.com>
4585 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
4586 collect after discarding symbols.
4588 2014-03-13 Ludovic Courtès <ludo@gnu.org>
4589 Doug Evans <xdje42@gmail.com>
4591 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
4592 to history survives a gc.
4594 2014-03-13 Pedro Alves <palves@redhat.com>
4596 * gdb.base/default.exp: Don't test "target procfs".
4598 2014-03-13 Pedro Alves <palves@redhat.com>
4600 * gdb.base/default.exp: Update "target child" and "target procfs"
4601 tests to not expect "Unix".
4603 2014-03-12 Tom Tromey <tromey@redhat.com>
4605 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
4606 New procs. Add target-async tests.
4607 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
4608 Add target-async tests.
4610 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4612 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
4613 'func_start' and 'func_end' for the beginning and end of the
4614 function code, respectively.
4615 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
4616 'func_end' instead of 'func' and 'main'.
4618 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4620 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
4621 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
4622 generate the debug info assembler source.
4624 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4626 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
4627 * gdb.dwarf2/arr-subrange.exp: Likewise.
4628 * gdb.dwarf2/dwz.exp: Likewise.
4629 * gdb.dwarf2/method-ptr.exp: Likewise.
4630 * gdb.dwarf2/missing-sig-type.exp: Likewise.
4631 * gdb.dwarf2/subrange.exp: Likewise.
4632 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
4633 * gdb.dwarf2/implptrpiece.exp: Likewise.
4634 * gdb.dwarf2/nostaticblock.exp: Likewise.
4636 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4638 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
4639 directory to absolute path name arguments.
4641 2014-03-10 Joel Brobecker <brobecker@adacore.com>
4643 * gdb.ada/tagged_access: New testcase.
4645 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
4647 * gdb.btrace/data.exp: Update expected output.
4649 2014-03-06 Yao Qi <yao@codesourcery.com>
4651 * gdb.trace/pr16508.exp: New file.
4653 2014-03-05 Pedro Alves <palves@redhat.com>
4656 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
4658 (top level): Adjust to use it. Add tests that exercise breakpoint
4659 interaction with the code-cache.
4661 2014-02-26 Ludovic Courtès <ludo@gnu.org>
4663 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
4664 test for 'history-append!'.
4666 2014-02-26 Joel Brobecker <brobecker@adacore.com>
4668 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
4669 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
4670 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
4671 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
4672 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
4673 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
4675 2014-02-26 Joel Brobecker <brobecker@adacore.com>
4677 * testsuite/gdb.python/py-pp-re-notag.c: New file.
4678 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
4679 * testsuite/gdb.python/py-pp-re-notag.p: New file.
4681 2014-02-26 Joel Brobecker <brobecker@adacore.com>
4683 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
4685 2014-02-26 Joel Brobecker <brobecker@adacore.com>
4687 * gdb.dwarf2/arr-stride.c: New file.
4688 * gdb.dwarf2/arr-stride.exp: New file.
4690 2014-02-26 Pedro Alves <palves@redhat.com>
4692 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
4693 that won't ever trigger. Make sure that GDB reports the correct
4694 breakpoint that caused the stop.
4696 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4699 * gdb.base/auto-load-script: New file.
4700 * gdb.base/auto-load.c: New file.
4701 * gdb.base/auto-load.exp: New file.
4704 * gdb.base/auto-load.exp: Fix out-of-srctree run.
4706 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4708 Fix dw2-icycle.exp -fsanitize=address GDB crash.
4709 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
4711 2014-02-24 Doug Evans <dje@google.com>
4713 * lib/gdb.exp (run_on_host): Log error output if program fails.
4715 2014-02-21 Pedro Alves <palves@redhat.com>
4717 * gdb.threads/step-after-sr-lock.c: Rename to ...
4718 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
4719 * gdb.threads/step-after-sr-lock.exp: Rename to ...
4720 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4723 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
4726 * gdb.arch/amd64-stap-special-operands.exp: New file.
4727 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
4728 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
4729 * gdb.arch/amd64-stap-triplet.S: Likewise.
4730 * gdb.arch/amd64-stap-triplet.c: Likewise.
4732 2014-02-20 Joel Brobecker <brobecker@adacore.com>
4734 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
4735 in .section pseudo-op.
4737 2014-02-20 lin zuojian <manjian2006@gmail.com>
4738 Joel Brobecker <brobecker@adacore.com>
4739 Doug Evans <xdje42@gmail.com>
4742 * gdb.dwarf2/dw2-icycle.S: New file.
4743 * gdb.dwarf2/dw2-icycle.c: New file.
4744 * gdb.dwarf2/dw2-icycle.exp: New file.
4746 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
4748 * gdb.python/py-value-cc.cc: Improve test case to enable testing
4749 operations on gdb.Value objects.
4750 * gdb.python/py-value-cc.exp: Add new test to test operations on
4753 2014-02-18 Doug Evans <dje@google.com>
4755 * Makefile.in (TESTS): New variable.
4756 (expanded_tests, expanded_tests_or_none): New variables
4757 (check-single): Pass $(expanded_tests_or_none) to runtest.
4758 (check-parallel): Only run tests in $(TESTS) if non-empty.
4759 (check/no-matching-tests-found): New rule.
4760 * README: Document TESTS makefile variable.
4762 2014-02-18 Doug Evans <dje@google.com>
4764 * Makefile.in (check-parallel): rm -rf outputs temp.
4766 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4768 Fix "ERROR: no fileid for" in the testsuite.
4769 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
4771 2014-02-12 Doug Evans <dje@google.com>
4773 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
4774 (MISCELLANEOUS): New variable.
4775 (clean): rm -rf $(MISCELLANEOUS).
4776 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
4777 dwp live in the same directory as symlinks, with each symlink pointed
4778 to a differently named file in a different directory.
4780 2014-02-11 Doug Evans <dje@google.com>
4782 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
4783 of Tcl file commands.
4785 2014-02-10 Mark Kettenis <kettenis@gnu.org>
4787 * gdb.threads/step-after-sr-lock.exp: Avoid executing
4790 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4792 * gdb.ada/tick_length_array_enum_idx: New testcase.
4794 2014-02-10 Doug Evans <xdje42@gmail.com>
4796 * configure.ac (AC_OUTPUT): Add gdb.guile.
4797 * configure: Regenerate.
4798 * lib/gdb-guile.exp: New file.
4799 * lib/gdb.exp (get_target_charset): New function.
4800 * gdb.base/help.exp: Update expected output from "apropos apropos".
4801 * gdb.guile/Makefile.in: New file.
4802 * gdb.guile/guile.exp: New file.
4803 * gdb.guile/scm-arch.c: New file.
4804 * gdb.guile/scm-arch.exp: New file.
4805 * gdb.guile/scm-block.c: New file.
4806 * gdb.guile/scm-block.exp: New file.
4807 * gdb.guile/scm-breakpoint.c: New file.
4808 * gdb.guile/scm-breakpoint.exp: New file.
4809 * gdb.guile/scm-disasm.c: New file.
4810 * gdb.guile/scm-disasm.exp: New file.
4811 * gdb.guile/scm-equal.c: New file.
4812 * gdb.guile/scm-equal.exp: New file.
4813 * gdb.guile/scm-error.exp: New file.
4814 * gdb.guile/scm-error.scm: New file.
4815 * gdb.guile/scm-frame-args.c: New file.
4816 * gdb.guile/scm-frame-args.exp: New file.
4817 * gdb.guile/scm-frame-args.scm: New file.
4818 * gdb.guile/scm-frame-inline.c: New file.
4819 * gdb.guile/scm-frame-inline.exp: New file.
4820 * gdb.guile/scm-frame.c: New file.
4821 * gdb.guile/scm-frame.exp: New file.
4822 * gdb.guile/scm-generics.exp: New file.
4823 * gdb.guile/scm-gsmob.exp: New file.
4824 * gdb.guile/scm-iterator.c: New file.
4825 * gdb.guile/scm-iterator.exp: New file.
4826 * gdb.guile/scm-math.c: New file.
4827 * gdb.guile/scm-math.exp: New file.
4828 * gdb.guile/scm-objfile-script-gdb.in: New file.
4829 * gdb.guile/scm-objfile-script.c: New file.
4830 * gdb.guile/scm-objfile-script.exp: New file.
4831 * gdb.guile/scm-objfile.c: New file.
4832 * gdb.guile/scm-objfile.exp: New file.
4833 * gdb.guile/scm-ports.exp: New file.
4834 * gdb.guile/scm-pretty-print.c: New file.
4835 * gdb.guile/scm-pretty-print.exp: New file.
4836 * gdb.guile/scm-pretty-print.scm: New file.
4837 * gdb.guile/scm-section-script.c: New file.
4838 * gdb.guile/scm-section-script.exp: New file.
4839 * gdb.guile/scm-section-script.scm: New file.
4840 * gdb.guile/scm-symbol.c: New file.
4841 * gdb.guile/scm-symbol.exp: New file.
4842 * gdb.guile/scm-symtab-2.c: New file.
4843 * gdb.guile/scm-symtab.c: New file.
4844 * gdb.guile/scm-symtab.exp: New file.
4845 * gdb.guile/scm-type.c: New file.
4846 * gdb.guile/scm-type.exp: New file.
4847 * gdb.guile/scm-value-cc.cc: New file.
4848 * gdb.guile/scm-value-cc.exp: New file.
4849 * gdb.guile/scm-value.c: New file.
4850 * gdb.guile/scm-value.exp: New file.
4851 * gdb.guile/source2.scm: New file.
4852 * gdb.guile/types-module.cc: New file.
4853 * gdb.guile/types-module.exp: New file.
4855 2014-02-10 Yao Qi <yao@codesourcery.com>
4858 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
4859 * configure: Regenerated.
4860 * Makefile.in: New file.
4862 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4864 * gdb.python/py-framefilter.exp: Fix typo.
4866 2014-02-08 Yao Qi <yao@codesourcery.com>
4868 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
4869 that no =breakpoint-modified is emitted when breakpoints are
4870 modified through MI commands.
4872 2014-02-07 Pedro Alves <pedro@codesourcery.com>
4873 Pedro Alves <palves@redhat.com>
4875 * gdb.threads/step-after-sr-lock.c: New file.
4876 * gdb.threads/step-after-sr-lock.exp: New file.
4878 2014-02-07 Pedro Alves <palves@redhat.com>
4880 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
4882 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4884 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
4885 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
4887 2014-02-06 Doug Evans <xdje42@gmail.com>
4889 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
4892 * gdb.gdb/python-interrupts.exp: New file.
4894 2014-02-05 Yao Qi <yao@codesourcery.com>
4896 * gdb.trace/report.exp (use_collected_data): Test the output
4897 of "info threads" and "info inferiors".
4899 2014-02-05 Yao Qi <yao@codesourcery.com>
4903 2013-05-24 Yao Qi <yao@codesourcery.com>
4905 * gdb.trace/tfile.exp: Test inferior and thread.
4907 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4909 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
4911 * gdb.base/step-bt.c: Call hello via function pointer to make
4912 sure its first instruction is executed on powerpc64le-linux.
4914 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4916 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
4918 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4920 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
4921 of the test patterns for use on little-endian systems.
4923 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4925 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
4926 (decimal_vector): Fix for little-endian.
4928 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4930 * gdb.arch/sparc-sysstep.exp: New file.
4931 * gdb.arch/sparc-sysstep.c: Likewise.
4933 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
4935 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4937 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
4939 2014-01-23 Tom Tromey <tromey@redhat.com>
4941 * gdb.ada/array_char_idx: New testcase.
4943 2014-01-23 Tom Tromey <tromey@redhat.com>
4946 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
4947 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
4950 2014-01-23 Tom Tromey <tromey@redhat.com>
4953 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
4954 string from an inferior frame.
4955 * gdb.python/py-framefilter-mi.exp: Update.
4957 2014-01-22 Doug Evans <dje@google.com>
4959 * gdb.server/server-mon.exp: Add tests for "set debug-format".
4961 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4963 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
4965 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4967 * gdb.trace/entry-values.exp: Remove excess space character from
4968 regex patterns. Handle s390 call instruction.
4970 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4972 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
4973 define "*_start" label. Make "name" static.
4974 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
4975 ${name} by references to ${name}_start.
4977 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4979 * gdb.base/info-macros.exp: Remove "debug" from the compile
4982 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4984 * gdb.dlang/demangle.exp: New file.
4986 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4988 * gdb.dlang/primitive-types.exp: New file.
4990 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4992 * configure.ac: Create gdb.dlang/Makefile.
4993 * configure: Regenerate.
4994 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
4995 * gdb.dlang/Makefile.in: New file.
4996 * lib/d-support.exp: New file.
4997 * lib/gdb.exp (skip_d_tests): New proc.
4999 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5001 * gdb.btrace/delta.exp: Check reverse stepi.
5002 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
5003 * gdb.btrace/finish.exp: New.
5004 * gdb.btrace/next.exp: New.
5005 * gdb.btrace/nexti.exp: New.
5006 * gdb.btrace/record_goto.c: Add comments.
5007 * gdb.btrace/step.exp: New.
5008 * gdb.btrace/stepi.exp: New.
5009 * gdb.btrace/multi-thread-step.c: New.
5010 * gdb.btrace/multi-thread-step.exp: New.
5011 * gdb.btrace/rn-dl-bind.c: New.
5012 * gdb.btrace/rn-dl-bind.exp: New.
5013 * gdb.btrace/data.c: New.
5014 * gdb.btrace/data.exp: New.
5015 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5017 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5019 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
5020 * gdb.btrace/exception.exp: Update.
5021 * gdb.btrace/instruction_history.exp: Update.
5022 * gdb.btrace/record_goto.exp: Update.
5023 * gdb.btrace/tailcall.exp: Update.
5024 * gdb.btrace/unknown_functions.exp: Update.
5025 * gdb.btrace/delta.exp: New.
5027 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5029 * gdb.btrace/record_goto.exp: Add backtrace test.
5030 * gdb.btrace/tailcall.exp: Add backtrace test.
5032 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5034 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
5035 * gdb.btrace/record_goto.c: New.
5036 * gdb.btrace/record_goto.exp: New.
5037 * gdb.btrace/x86-record_goto.S: New.
5039 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5041 * gdb.btrace/function_call_history.exp: Update tests.
5042 * gdb.btrace/instruction_history.exp: Update tests.
5044 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5046 * gdb.btrace/function_call_history.exp: Fix expected field
5047 order for "record function-call-history".
5048 Add new tests for "record function-call-history /c".
5049 * gdb.btrace/exception.cc: New.
5050 * gdb.btrace/exception.exp: New.
5051 * gdb.btrace/tailcall.exp: New.
5052 * gdb.btrace/x86-tailcall.S: New.
5053 * gdb.btrace/x86-tailcall.c: New.
5054 * gdb.btrace/unknown_functions.c: New.
5055 * gdb.btrace/unknown_functions.exp: New.
5056 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5058 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5060 * gdb.btrace/instruction_history.exp: Update.
5061 * gdb.btrace/function_call_history.exp: Update.
5063 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5065 * gdb.btrace/function_call_history.exp: Fix expected function
5067 * gdb.btrace/instruction_history.exp: Initialize traced.
5068 Remove traced_functions.
5070 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5072 * gdb.btrace/function_call_history.exp: Update
5073 * gdb.btrace/instruction_history.exp: Update.
5075 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5077 * gdb.btrace/enable.exp: Update expected text.
5079 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
5081 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
5084 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
5086 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
5088 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5090 * lib/gdb.exp (supports_process_record): Return true for
5091 arm*-linux*. (supports_reverse): Likewise.
5093 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5097 * gdb.python/py-type.c: Enhance test case.
5098 * gdb.python/py-value-cc.cc: Likewise
5099 * gdb.python/py-type.exp: Add new tests.
5100 * gdb.python/py-value-cc.exp: Likewise
5102 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
5103 Pedro Alves <palves@redhat.com>
5105 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
5107 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
5108 references to ${name}_start by references to ${name}.
5110 2014-01-10 Joel Brobecker <brobecker@adacore.com>
5112 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
5114 2014-01-10 Joel Brobecker <brobecker@adacore.com>
5116 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
5118 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
5119 Pedro Alves <palves@redhat.com>
5121 * gdb.mi/mi-info-os.exp: Connect to the target with
5124 2014-01-08 Pedro Alves <palves@redhat.com>
5126 * gdb.threads/reconnect-signal.c: New file.
5127 * gdb.threads/reconnect-signal.exp: New file.
5129 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5131 * gdb.base/source-dir.exp: New file.
5133 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5135 * gdb.ada/mi_interface: New testcase.
5137 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5139 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
5140 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
5141 gdb.ada/pp-rec-component/pck.ads: New files.
5143 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5145 * gdb.python/py-pp-integral.c: New file.
5146 * gdb.python/py-pp-integral.py: New file.
5147 * gdb.python/py-pp-integral.exp: New file.
5149 For older changes see ChangeLog-1993-2013.
5155 ;; version-control: never
5158 Copyright 2014-2015 Free Software Foundation, Inc.
5159 Copying and distribution of this file, with or without modification,
5160 are permitted provided the copyright notice and this notice are preserved.