1 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
4 timeout, don't pass one down to gdb_expect.
5 (gdb_expect): Rework timeout selection.
7 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
11 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
12 (gdbserver_start_extended): Catch any `gdbserver_start' error
14 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
15 * lib/mi-support.exp (mi_gdb_target_load): Catch any
16 `gdbserver_gdb_load' error exceptions.
18 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
21 120 on waiting for the TCP socket to open.
23 2014-09-09 Doug Evans <xdje42@gmail.com>
25 * gdb.base/default.exp (show_conv_list): Add _caller_is,
26 _caller_matches, _any_caller_is, _any_caller_matches.
28 2014-09-09 Doug Evans <xdje42@gmail.com>
30 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
32 2014-09-09 Yao Qi <yao@codesourcery.com>
34 * gdb.mi/mi-var-display.exp: Set print symbol off.
36 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
39 * gdb.base/commands.exp: Add tests to verify user-defined
40 commands with empty bodies.
41 * gdb.python/py-cmd.exp: Test that we don't show user-defined
42 python commands in `show user command`.
43 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
44 scheme commands in `show user command`.
46 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
49 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
50 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
51 * gdb.python/py-framefilter-invalidarg.exp: New file.
52 * gdb.python/py-framefilter-invalidarg.py: New file.
54 2014-09-06 Doug Evans <xdje42@gmail.com>
57 * gdb.python/py-caller-is.c: New file.
58 * gdb.python/py-caller-is.exp: New file.
60 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
63 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
64 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
66 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
69 * gdb.fortran/print-formatted.exp: New file.
70 * gdb.fortran/print-formatted.f90: Likewise.
72 2014-09-03 Sasha Smundak <asmundak@google.com>
74 * gdb.python/py-frame.exp: Test Frame.read_register.
76 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
79 * gdb.python/py-completion.exp: New file.
80 * gdb.python/py-completion.py: Likewise.
82 2014-08-28 Doug Evans <dje@google.com>
84 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
85 eax,etc. are live with values set by gdb and thus the compiler can't
87 * gdb.arch/i386-pseudo.c (main): Ditto.
89 2014-08-27 Doug Evans <dje@google.com>
91 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
93 2014-08-25 Doug Evans <dje@google.com>
95 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
98 2014-08-25 Doug Evans <dje@google.com>
100 * gdb.threads/thread-execl.exp: #include <stdio.h>.
102 2014-08-24 Yao Qi <yao@codesourcery.com>
104 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
106 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
108 2014-08-22 Doug Evans <dje@google.com>
111 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
112 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
113 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
115 2014-08-22 Yao Qi <yao@codesourcery.com>
117 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
118 * gdb.python/py-finish-breakpoint2.exp: Likewise.
119 * gdb.python/python.exp: Likewise. Use .py file on the host
120 instead of the build.
122 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
124 * gdb.threads/gcore-stale-thread.c: New file.
125 * gdb.threads/gcore-stale-thread.exp: New file.
127 2014-08-21 Pedro Alves <palves@redhat.com>
129 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
130 * gdb.base/gcore-relro-pie.exp: Likewise.
131 * gdb.base/gcore-relro.exp: Likewise.
132 * gdb.base/gcore.exp: Likewise.
133 * gdb.base/print-symbol-loading.exp: Likewise.
134 * gdb.threads/gcore-thread.exp: Likewise.
135 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
137 2014-08-20 Pedro Alves <palves@redhat.com>
138 Jan Kratochvil <jan.kratochvil@redhat.com>
140 * Makefile.in (EXTRA_RULES, CC): New variables, get from
142 (EXPECT): Handle READ1 being set.
143 (all): Depend on EXTRA_RULES.
144 (check-read1, expect-read1, read1.so, read1): New rules.
145 * README (Testsuite Parameters): Document the READ1 make variable.
146 (Race detection): New section.
147 * configure: Regenerate.
148 * configure.ac: If build==host==target, and running under a
149 GNU/glibc system, add read1 to the extra Makefile rules.
150 (EXTRA_RULES): AC_SUBST it.
151 * lib/read1.c: New file.
153 2014-08-20 Joel Brobecker <brobecker@adacore.com>
155 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
156 the handling of variables declared as a typedef to an array
157 which a DW_AT_data_location attribute.
159 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
160 Pedro Alves <palves@redhat.com>
164 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
167 2014-08-19 Pedro Alves <palves@redhat.com>
169 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
171 2014-08-19 Yao Qi <yao@codesourcery.com>
173 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
176 2014-08-18 David Blaikie <dblaikie@gmail.com>
178 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
180 2014-08-18 Joel Brobecker <brobecker@adacore.com>
182 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
183 attribute in array range.
185 2014-08-18 Joel Brobecker <brobecker@adacore.com>
187 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
189 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
192 * gdb.cp/pr17132.cc: New file.
193 * gdb.cp/pr17132.exp: New file.
195 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
197 * gdb.python/py-xmethods.py (A_getarrayind)
198 (E_method_char_worker.__call__, E_method_int_worker.__call__):
199 Use 'print' with function call syntax.
200 (E_method_matcher.match): Fix tab vs space indentation mixup.
202 2014-08-15 Yao Qi <yao@codesourcery.com>
204 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
207 2014-08-15 Yao Qi <yao@codesourcery.com>
209 * gdb.cp/casts.exp: Set print symbol off.
210 * gdb.cp/class2.exp: Likewise.
211 * gdb.cp/overload.exp: Likewise.
212 * gdb.cp/templates.exp: Likewise.
214 2014-08-11 Doug Evans <dje@google.com>
216 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
217 (test_load_shlib): Update.
219 2014-08-09 Yao Qi <yao@codesourcery.com>
221 * gdb.base/display.exp: Invoke is_address_zero_readable.
222 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
223 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
224 * gdb.base/hbreak-unmapped.exp: Return if
225 is_address_zero_readable returns true.
226 * gdb.base/signest.exp: Likewise.
227 * gdb.base/signull.exp: Likewise.
228 * gdb.base/sigbpt.exp: Likewise.
229 * gdb.guile/scm-disasm.exp: Do the test if
230 is_address_zero_readable returns false.
231 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
232 * gdb.python/py-arch.exp: Likewise.
233 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
234 * lib/gdb.exp (is_address_zero_readable): New proc.
236 2014-08-09 Yao Qi <yao@codesourcery.com>
239 * gdb.mi/mi-var-display.exp: Make test messages unique.
241 2014-08-04 Tom Tromey <tromey@redhat.com>
243 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
246 2014-08-04 Tom Tromey <tromey@redhat.com>
248 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
251 2014-08-01 Joel Brobecker <brobecker@adacore.com>
253 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
254 inner_vla_struct_object_size.
255 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
258 2014-07-30 Pedro Alves <palves@redhat.com>
260 * gdb.threads/signal-command-handle-nopass.exp (test): Add
263 2014-07-29 Yao Qi <yao@codesourcery.com>
266 * gdb.base/until-nodebug.exp: New.
268 2014-07-28 Doug Evans <xdje42@gmail.com>
271 * gdb.guile/scm-parameter.exp: Add tests for trying to create
272 previously existing parameter, and previously ambiguously spelled
275 2014-07-28 Will Newton <will.newton@linaro.org>
277 * gdb.base/varargs.exp: Remove KFAILs for ARM.
279 2014-07-26 Ludovic Courtès <ludo@gnu.org>
280 Doug Evans <xdje42@gmail.com>
283 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
285 2014-07-25 Pedro Alves <palves@redhat.com>
287 * gdb.threads/signal-command-handle-nopass.c: New file.
288 * gdb.threads/signal-command-handle-nopass.exp: New file.
289 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
290 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
291 * gdb.threads/signal-delivered-right-thread.c: New file.
292 * gdb.threads/signal-delivered-right-thread.exp: New file.
294 2014-07-25 Pedro Alves <palves@redhat.com>
296 * gdb.base/double-prompt-target-event-error.exp
297 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
299 (cancel_pagination_in_target_event): Rework double prompt
301 * gdb.base/paginate-after-ctrl-c-running.exp
302 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
304 * gdb.base/paginate-bg-execution.exp
305 (test_bg_execution_pagination_return)
306 (test_bg_execution_pagination_cancel): Remove '-notransfer
308 * gdb.base/paginate-execution-startup.exp
309 (test_fg_execution_pagination_return)
310 (test_fg_execution_pagination_cancel): Remove '-notransfer
312 * gdb.base/paginate-inferior-exit.exp
313 (test_paginate_inferior_exited): Remove '-notransfer <return>'
315 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
316 * lib/gdb.exp (pagination_prompt): Run text through
318 (gdb_test_multiple): Match $pagination_prompt instead of
320 (string_to_regexp): Move to lib/gdb-utils.exp.
322 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
324 * gdb.arch/amd64-entry-value-paramref.S: New file.
325 * gdb.arch/amd64-entry-value-paramref.cc: New file.
326 * gdb.arch/amd64-entry-value-paramref.exp: New file.
327 * gdb.arch/amd64-optimout-repeat.S: New file.
328 * gdb.arch/amd64-optimout-repeat.c: New file.
329 * gdb.arch/amd64-optimout-repeat.exp: New file.
331 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
334 * gdb.base/statistics.exp: New file.
336 2014-07-17 Doug Evans <dje@google.com>
339 * gdb.base/maint.exp: Update testing of per-command stats.
341 2014-07-16 Pedro Alves <palves@redhat.com>
343 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
344 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
345 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
346 (tfile_write_buf): New functions.
347 (add_memory_block): Rewrite using the above.
348 (adjust_function_address): New function.
349 (FUNCTION_ADDRESS): New macro.
350 (write_basic_trace_file): Remove short_x local, and use
351 tfile_write_16. Change type of func_addr local to unsigned long
352 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
353 here. Cast argument of add_memory_block to char pointer.
354 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
355 (main): Remove parameters.
356 * gdb.trace/tfile.exp: Remove nowarnings.
358 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
360 * gdb.base/debug-expr.exp: Test string evaluation with
361 "debug expression" on.
363 2014-07-15 Pedro Alves <palves@redhat.com>
365 * gdb.base/reread.exp: Use clean_restart.
367 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
369 * gdb.arch/avr-flash-qualifer.c: New.
370 * gdb.arch/avr-flash-qualifer.exp: New.
372 2014-07-14 Pedro Alves <palves@redhat.com>
374 * gdb.base/paginate-after-ctrl-c-running.c: New file.
375 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
377 2014-07-14 Pedro Alves <palves@redhat.com>
379 * gdb.base/double-prompt-target-event-error.c: New file.
380 * gdb.base/double-prompt-target-event-error.exp: New file.
382 2014-07-14 Pedro Alves <palves@redhat.com>
385 * gdb.base/paginate-inferior-exit.c: New file.
386 * gdb.base/paginate-inferior-exit.exp: New file.
388 2014-07-14 Pedro Alves <palves@redhat.com>
391 * gdb.base/paginate-bg-execution.c: New file.
392 * gdb.base/paginate-bg-execution.exp: New file.
394 2014-07-14 Pedro Alves <palves@redhat.com>
397 * gdb.base/paginate-execution-startup.c: New file.
398 * gdb.base/paginate-execution-startup.exp: New file.
399 * lib/gdb.exp (pagination_prompt): New global.
400 (default_gdb_spawn): New procedure, factored out from
402 (default_gdb_start): Adjust to call default_gdb_spawn.
403 (gdb_spawn): New procedure.
405 2014-07-14 Pedro Alves <palves@redhat.com>
407 * lib/gdb.exp (gdb_assert): New procedure.
408 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
410 2014-07-14 Pedro Alves <palves@redhat.com>
412 * gdb.base/execution-termios.c: New file.
413 * gdb.base/execution-termios.exp: New file.
415 2014-07-14 Tom Tromey <tromey@redhat.com>
417 * gdb.cp/vla-cxx.cc: New file.
418 * gdb.cp/vla-cxx.exp: New file.
420 2014-07-14 Tom Tromey <tromey@redhat.com>
422 * gdb.reverse/rerun-prec.c: New file.
423 * gdb.reverse/rerun-prec.exp: New file.
425 2014-07-12 Maciej W. Rozycki <macro@mips.com>
426 Maciej W. Rozycki <macro@codesourcery.com>
428 * lib/gdb-utils.exp: New file.
429 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
430 inline `gdb_init_command' processing.
431 (gdb_start_cmd): Likewise.
432 * lib/mi-support.exp (mi_run_cmd): Likewise.
433 * README: Document `gdb_init_command' and `gdb_init_commands'.
435 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
437 Fix false FAIL running under a very long directory name.
438 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
439 and "set print elements 10000". Twice.
441 2014-07-11 Yao Qi <yao@codesourcery.com>
443 * gdb.base/exprs.exp: "set print symbol off".
445 2014-07-11 Pedro Alves <palves@redhat.com>
447 * gdb.threads/kill.c: New file.
448 * gdb.threads/kill.exp: New file.
450 2014-07-10 Yao Qi <yao@codesourcery.com>
452 * gdb.trace/tfile.c (write_basic_trace_file)
453 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
454 address written to trace file.
456 2014-07-09 Pedro Alves <palves@redhat.com>
458 * gdb.base/attach-wait-input.exp: New file.
459 * gdb.base/attach-wait-input.c: New file.
461 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
463 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
464 setting up test structures.
465 (main): Call new test function.
466 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
467 test function, continue into test function and walk test
470 2014-07-02 Yao Qi <yao@codesourcery.com>
472 * gdb.trace/entry-values.c: Define labels 'foo_start' and
473 'bar_start' at the beginning of functions 'foo' and 'bar'
475 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
476 instead of 'foo' and 'bar'.
478 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
480 * gdb.btrace/segv.exp: New.
481 * gdb.btrace/segv.c: New.
483 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
485 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
488 2014-06-30 Mark Wielaard <mjw@redhat.com>
490 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
491 vulture, vilify, villar): New volatile array constants.
492 (vindictive, vegetation): New const volatile array constants.
493 * gdb.base/volatile.exp: Test volatile and const volatile array
496 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
498 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
499 target lacks support for awatch, rwatch, or hbreak.
501 2014-06-27 Yao Qi <yao@codesourcery.com>
503 * gdb.multi/dummy-frame-restore.exp: New.
504 * gdb.multi/dummy-frame-restore.c: New.
506 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
508 * gdb.btrace/gcore.exp: New.
510 2014-06-23 Pedro Alves <palves@redhat.com>
512 * gdb.base/watchpoint-reuse-slot.c: New file.
513 * gdb.base/watchpoint-reuse-slot.exp: New file.
515 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
517 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
518 progspace's filename in 'info', 'enable' and 'disable' command
521 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
523 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
524 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
525 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
527 2014-06-20 Gary Benson <gbenson@redhat.com>
529 * gdb.arch/i386-avx.exp: Fix include file location.
530 * gdb.arch/i386-sse.exp: Likewise.
532 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
534 * gdb.dlang/expression.exp: New file.
536 2014-06-19 Pedro Alves <palves@redhat.com>
538 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
540 (top level): ... here. Iterate running tests under different
541 scheduler-locking settings.
543 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
545 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
546 to DW_FORM_addr and use non-zero addresses.
548 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
551 * gdb.python/py-xmethods.cc: Add global function call counters and
552 increment them in their respective functions. Remove "cout"
554 * gdb.python/py-xmethods.exp: Make tests check the global function
555 call counters instead of depending on inferior IO.
557 2014-06-18 Don Breazeal <donb@codesourcery.com>
559 * gdb.base/foll-fork.exp (default_fork_parent_follow):
561 (explicit_fork_parent_follow): Deleted procedure.
562 (explicit_fork_child_follow): Deleted procedure.
563 (test_follow_fork): New procedure.
564 (do_fork_tests): Replace calls to deleted procedures with
565 calls to test_follow_fork and reset GDB for subsequent
568 2014-06-17 Yao Qi <yao@codesourcery.com>
570 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
573 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
575 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
576 Initialize ptr and S explicitly.
577 (skip_type_update_when_not_use_rtti_test): Likewise.
579 2014-06-16 Keith Seitz <keiths@redhat.com>
582 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
583 the inferior is started.
585 2014-06-16 Pedro Alves <palves@redhat.com>
587 * gdb.base/break-main-file-remove-fail.c: New file.
588 * gdb.base/break-main-file-remove-fail.exp: New file.
589 * gdb.base/break-unload-file.exp: Use build_executable instead of
591 (test_break): New parameter "initial_load". Handle it.
592 (top level): Add initial_load cmdline/file axis.
594 2014-06-12 Tom Tromey <tromey@redhat.com>
596 * gdb.base/completion.exp: Don't use directory name in test.
598 2014-06-09 Gary Benson <gbenson@redhat.com>
600 * gdb.base/sigall.c [Functions to send signals]: Reorder to
601 separate the always-available ANSI-standard signals from the
602 signals that require checking.
604 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
608 2014-06-07 Keith Seitz <keiths@redhat.com>
612 * gdb.cp/var-tag.cc: New file.
613 * gdb.cp/var-tag.exp: New file.
614 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
615 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
616 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
617 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
619 2014-06-06 Doug Evans <xdje42@gmail.com>
621 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
623 2014-06-06 Pedro Alves <palves@redhat.com>
625 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
626 in target debug output instead of looking at RSP packets,
627 disabling the test on any target that uses hardware stepping.
630 2014-06-06 Pedro Alves <palves@redhat.com>
632 * gdb.base/break-unload-file.exp: Fix typo.
634 2014-06-06 Yao Qi <yao@codesourcery.com>
636 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
637 from "jit_function" to "^jit_function".
639 2014-06-06 Yao Qi <yao@codesourcery.com>
641 * gdb.base/async.c (foo): Add one statement.
642 * gdb.base/async.exp: Get the next instruction address and
643 match the output of "nexti" by instruction address. Match
644 the hex address in the output of "finish".
646 2014-06-06 Gary Benson <gbenson@redhat.com>
648 * gdb.base/call-signals.c: Remove preprocessor conditionals
649 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
651 * gdb.base/sigall.c: Likewise.
652 * gdb.base/unwindonsignal.c: Likewise.
653 * gdb.reverse/sigall-reverse.c: Likewise.
655 2014-06-06 Yao Qi <yao@codesourcery.com>
657 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
658 readable, skip the test.
660 2014-06-06 Yao Qi <yao@codesourcery.com>
662 * gdb.threads/staticthreads.c (thread_function): Move the line
663 setting breakpoint on forward.
664 * gdb.threads/staticthreads.exp: Update comments.
666 2014-06-05 Ludovic Courtès <ludo@gnu.org>
668 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
669 "history-append! type error".
671 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
673 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
674 erroneous dprintf expected input.
676 2014-06-04 Doug Evans <xdje42@gmail.com>
678 * gdb.guile/scm-generics.exp: Delete.
680 2014-06-04 Doug Evans <xdje42@gmail.com>
682 * gdb.guile/scm-breakpoint.exp: Update.
683 Add tests for breakpoint registration.
685 2014-06-04 Tom Tromey <tromey@redhat.com>
687 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
689 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
690 inner_vla_struct, vla_union types. Initialize objects of those
691 types and compute their sizes.
693 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
694 Hui Zhu <hui@codesourcery.com>
696 * gdb.base/fileio.exp: Add test for shell not available as well as
698 * gdb.base/fileio.c (test_system): Check for shell twice.
700 2014-06-04 Yao Qi <yao@codesourcery.com>
702 * gdb.base/auto-connect-native-target.exp: Remove redundant
703 space from the regexp pattern.
705 2014-06-04 Yao Qi <yao@codesourcery.com>
707 * gdb.base/default.exp: Replace "child" with "native" in
710 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
712 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
713 * gdb.python/py-xmethods.exp: New tests to test xmethods.
714 * gdb.python/py-xmethods.py: Python script supporting the
715 new testcase and tests.
717 2014-06-03 Joel Brobecker <brobecker@adacore.com>
718 Pedro Alves <palves@redhat.com>
721 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
722 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
724 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
726 * gdb.base/subst.exp: Add tests to verify partial path matching
729 2014-06-03 Pedro Alves <palves@redhat.com>
731 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
732 target that doesn't use software single-stepping.
734 2014-06-03 Pedro Alves <palves@redhat.com>
737 * gdb.base/sss-bp-on-user-bp-2.c: New file.
738 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
740 2014-06-02 Doug Evans <xdje42@gmail.com>
742 * gdb.guile/scm-parameter.exp: New file.
744 2014-06-02 Doug Evans <xdje42@gmail.com>
746 * gdb.guile/scm-cmd.c: New file.
747 * gdb.guile/scm-cmd.exp: New file.
749 2014-06-02 Doug Evans <xdje42@gmail.com>
751 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
752 pretty-printer lookup.
753 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
754 (make-pp_s-printer): Call it.
755 (make-pretty-printer-from-dict): New function.
756 (lookup-pretty-printer-maker-from-dict): New function.
757 (*pretty-printer*): Simplify.
758 (make-objfile-pp_s-printer): New function.
759 (install-objfile-pretty-printers!): New function.
760 (make-progspace-pp_s-printer): New function.
761 (install-progspace-pretty-printers!): New function.
762 * gdb.guile/scm-progspace.c: New file.
763 * gdb.guile/scm-progspace.exp: New file.
765 2014-06-02 Pedro Alves <palves@redhat.com>
767 * gdb.base/dprintf-bp-same-addr.c: New file.
768 * gdb.base/dprintf-bp-same-addr.exp: New file.
770 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
772 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
773 * gdb.arch/powerpc-power.s: Likewise.
775 2014-06-02 Joel Brobecker <brobecker@adacore.com>
777 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
779 2014-06-01 Yao Qi <yao@codesourcery.com>
781 * gdb.base/watchpoint.exp (test_watch_location): Check null
782 pointer can be dereferenced. If not, do the test, otherwise
785 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
787 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
789 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
791 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
793 * gdb.arch/amd64-invalid-stack-middle.S: New file.
794 * gdb.arch/amd64-invalid-stack-middle.c: New file.
795 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
796 * gdb.arch/amd64-invalid-stack-top.c: New file.
797 * gdb.arch/amd64-invalid-stack-top.exp: New file.
799 2014-05-30 Pedro Alves <palves@redhat.com>
802 * gdb.base/sss-bp-on-user-bp.c: New file.
803 * gdb.base/sss-bp-on-user-bp.exp: New file.
805 2014-05-30 David Blaikie <dblaikie@gmail.com>
807 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
808 gnu_inline semantics via attribute.
809 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
810 source explicitly specifies the required semantics.
812 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
814 * gdb.reverse/sigall-reverse.exp: Fix a typo.
816 2014-05-29 Pedro Alves <palves@redhat.com>
817 Tom Tromey <tromey@redhat.com>
819 * gdb.base/async-shell.exp: Don't enable target-async.
821 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
823 (top level): Don't test with "target-async".
824 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
825 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
826 * gdb.base/inferior-died.exp: Don't enable target-async.
827 * gdb.base/interrupt-noterm.exp: Likewise.
828 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
829 * gdb.mi/mi-nonstop-exit.exp: Likewise.
830 * gdb.mi/mi-nonstop.exp: Likewise.
831 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
832 * gdb.mi/mi-nsintrall.exp: Likewise.
833 * gdb.mi/mi-nsmoribund.exp: Likewise.
834 * gdb.mi/mi-nsthrexec.exp: Likewise.
835 * gdb.mi/mi-watch-nonstop.exp: Likewise.
836 * gdb.multi/watchpoint-multi.exp: Adjust comment.
837 * gdb.python/py-evsignal.exp: Don't enable target-async.
838 * gdb.python/py-evthreads.exp: Likewise.
839 * gdb.python/py-prompt.exp: Likewise.
840 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
841 * gdb.server/solib-list.exp: Don't enable target-async.
842 * gdb.threads/thread-specific-bp.exp: Likewise.
843 * lib/mi-support.exp: Adjust to use mi-async.
845 2014-05-29 Pedro Alves <palves@redhat.com>
848 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
849 reason, even in sync mode.
851 2014-05-29 Pedro Alves <palves@redhat.com>
852 Hui Zhu <hui@codesourcery.com>
855 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
856 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
857 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
858 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
860 2014-05-28 Joel Brobecker <brobecker@adacore.com>
862 * config/monitor.exp (gdb_target_monitor): Replace use of
863 "set remotebaud" by "set serial baud".
865 2014-05-26 Andy Wingo <wingo@igalia.com>
867 * gdb.guile/scm-breakpoint.exp:
868 * gdb.guile/scm-gsmob.exp: Update to use plain old object
869 properties instead of gdb-object-properties.
871 2014-05-26 Yao Qi <yao@codesourcery.com>
873 * gdb.server/no-thread-db.exp: Specify source file name
874 explicitly when setting a breakpoint.
876 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
878 * gdb.btrace/vdso.c: New.
879 * gdb.btrace/vdso.exp: New.
881 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
883 * gdb.base/gcore.exp (capture_command_output): Move ...
884 * lib/gdb.exp (capture_command_output): ... here.
886 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
888 * gdb.btrace/data.exp: Test memory access during btrace replay.
890 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
892 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
894 2014-05-21 Pedro Alves <palves@redhat.com>
897 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
898 (top level): Test that output related to execution commands is
899 sent to the console with CLI commands, but not with MI commands.
900 Test that breakpoint events are always mirrored to the console.
901 Also expect the new source line to be output after a "next" in
902 async mode too. Make it a pass/fail test.
903 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
905 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
907 2014-05-21 Pedro Alves <palves@redhat.com>
909 * gdb.base/list.exp (build_pattern, test_list): New procedures.
910 Use them to test variations of "list" after reaching a breakpoint.
911 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
912 Test "list" with listsize 10 after reaching a breakpoint.
913 * gdb.python/python.exp (decode_line current location line
914 number): Adjust expected line number.
916 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
918 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
919 behavior for $args, pass it directly to "run".
921 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
923 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
926 2014-05-21 Pedro Alves <palves@redhat.com>
928 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
929 auto-connect-native-target off".
930 * gdb.base/auto-connect-native-target.c: New file.
931 * gdb.base/auto-connect-native-target.exp: New file.
933 2014-05-21 Pedro Alves <palves@redhat.com>
935 * gdb.base/default.exp: Test "target native" instead of "target
938 2014-05-21 Mark Wielaard <mjw@redhat.com>
940 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
942 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
944 Fix TLS access for -static -pthread.
945 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
946 <HAVE_TLS> (thread_function, main): Initialize it.
947 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
949 <$have_tls != "">: Check TLSVAR.
951 2014-05-21 Pedro Alves <palves@redhat.com>
953 * gdb.base/dcache-line-read-error.c: New.
954 * gdb.base/dcache-line-read-error.exp: New.
956 2014-05-20 Pedro Alves <palves@redhat.com>
958 * gdb.base/compare-sections.c: New file.
959 * gdb.base/compare-sections.exp: New file.
961 2014-05-20 Pedro Alves <palves@redhat.com>
963 * gdb.base/break-idempotent.c: New file.
964 * gdb.base/break-idempotent.exp: New file.
966 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
968 * gdb.btrace/nohist.exp: New.
970 2014-05-20 Yao Qi <yao@codesourcery.com>
972 * lib/gdb.exp (gdb_init): Set timeout if test file is under
973 gdb.reverse directory and gdb_reverse_timeout exists in board
975 * README: Document gdb_reverse_timeout.
977 2014-05-20 Yao Qi <yao@codesourcery.com>
979 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
980 'test_file_name'. Treat args as a string instead of a list.
981 (gdb_init): Rename argument 'args' by 'test_file_name'.
983 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
985 * gdb.arch/powerpc-power.exp: New file.
986 * gdb.arch/powerpc-power.s: New file.
988 2014-05-16 Doug Evans <dje@google.com>
990 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
991 * gdb.base/completion.exp: Check that all expected files exist
992 before doing file completion.
994 2014-05-16 Doug Evans <dje@google.com>
996 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
998 (do_syscall_tests_without_xml): Update.
1000 2014-05-16 Pedro Alves <palves@redhat.com>
1002 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1003 instead of "unknown output after running".
1005 2014-05-16 Yao Qi <yao@codesourcery.com>
1007 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1008 file1.txt from host at the end.
1009 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1011 2014-05-15 Doug Evans <dje@google.com>
1013 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1014 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
1015 loading file. Add test for TU lookup.
1017 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1019 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
1020 calling "-exec-arguments" or "set args" before running the
1023 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1025 * lib/mi-support.exp (mi_expect_stop): Expect message for
1026 inferiors that exit with non-zero exit code.
1028 2014-05-14 Yao Qi <yao@codesourcery.com>
1030 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
1031 match absolute path on remote host.
1032 (test_file_list_exec_source_files): Remove "/" from the
1035 2014-05-14 Yao Qi <yao@codesourcery.com>
1037 * boards/local-remote-host-notty.exp (${board}_file): New
1040 2014-05-07 Kyle McMartin <kyle@redhat.com>
1042 Pushed by Joel Brobecker <brobecker@adacore.com>.
1043 * gdb.arch/aarch64-atomic-inst.c: New file.
1044 * gdb.arch/aarch64-atomic-inst.exp: New file.
1046 2014-05-07 Yao Qi <yao@codesourcery.com>
1048 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
1049 in current context" too.
1051 2014-05-05 Keith Seitz <keiths@redhat.com>
1053 * gdb.linespec/ls-dollar.exp: Add test for linespec
1054 file:convenience_variable.
1056 2014-05-05 Yao Qi <yao@codesourcery.com>
1058 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
1059 traceframes into tfile and ctf trace files. Read data from
1060 trace file and test collected data.
1061 (gdb_collect_locals_test): Likewise.
1062 (gdb_unavailable_registers_test): Likewise.
1063 (gdb_unavailable_floats): Likewise.
1064 (gdb_collect_globals_test): Likewise.
1065 (top-level): Append "ctf" to trace_file_targets if GDB
1068 2014-05-05 Yao Qi <yao@codesourcery.com>
1070 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
1072 (gdb_collect_args_test_1): ... it. New proc.
1073 (gdb_collect_locals_test): Move some code to ...
1074 (gdb_collect_locals_test_1): ... it. New proc.
1075 (gdb_unavailable_registers_test): Move some code to ...
1076 (gdb_unavailable_registers_test_1): ... it. New proc.
1077 (gdb_unavailable_floats): Move some code to ...
1078 (gdb_unavailable_floats_1): ... it. New proc.
1080 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1082 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
1083 probes to test for bitness recognition.
1084 * gdb.arch/amd64-stap-optional-prefix.exp
1085 (test_probe_value_without_reg): New procedure.
1086 Add code to test for different kinds of bitness.
1088 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1090 PR breakpoints/16889
1091 * gdb.arch/amd64-stap-optional-prefix.S: New file.
1092 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1094 2014-05-01 Pedro Alves <palves@redhat.com>
1096 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
1097 gdb_file_cmd if no file is specified.
1098 * boards/native-extended-gdbserver.exp (gdb_load): Use the
1099 last_loaded_file to set the remote exec-file.
1101 2014-05-01 Pedro Alves <palves@redhat.com>
1103 * boards/local-remote-host.exp: New file.
1105 2014-05-01 Pedro Alves <palves@redhat.com>
1107 * boards/local-remote-host.exp: Rename to ...
1108 * boards/local-remote-host-notty.exp: ... this.
1110 2014-04-28 Joel Brobecker <brobecker@adacore.com>
1112 * gdb.ada/dyn_arrayidx: New testcase.
1114 2014-04-26 Yao Qi <yao@codesourcery.com>
1116 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
1117 and compute the length of function main. Save it in
1119 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
1120 (top-level): Use gdb_compile to compile objects into
1121 executable and restart GDB. Remove invocation to
1122 prepare_for_testing.
1124 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
1125 Pedro Alves <palves@redhat.com>
1128 * gdb.multi/multi-attach.c: New file.
1129 * gdb.multi/multi-attach.exp: New file.
1131 2014-04-25 Pedro Alves <palves@redhat.com>
1133 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
1135 (top level): Test that "set remote conditional-breakpoints-packet
1136 off" works as intended.
1137 * gdb.base/dprintf.exp: Test that "set remote
1138 breakpoint-commands-packet off" works as intended.
1139 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
1141 (top level): Call it.
1142 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
1143 remote fast-tracepoints-packet off" works as intended.
1144 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
1145 * lib/gdb.exp (gdb_is_target_remote): ... here.
1147 2014-04-24 David Blaikie <dblaikie@gmail.com>
1149 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
1150 ensure clang would not discard them.
1151 * gdb.base/gdbvars.c: Ditto.
1152 * gdb.base/memattr.c: Ditto.
1153 * gdb.base/whatis.c: Ditto.
1154 * gdb.python/py-prettyprint.c: Ditto.
1155 * gdb.trace/actions.c: Ditto.
1156 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
1157 ensure clang would not discard it.
1159 2014-04-24 David Blaikie <dblaikie@gmail.com>
1161 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
1162 clang to emit the full definition of type required by the test
1163 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
1165 2014-04-24 David Blaikie <dblaikie@gmail.com>
1167 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
1168 coax Clang into emitting the definition of the type.
1169 * gdb.cp/pr10728-x.h (y): Ditto.
1170 * gdb.cp/pr10728-y.cc (y): Ditto.
1172 2014-04-24 David Blaikie <dblaikie@gmail.com>
1174 * gdb.base/label.exp: XFAIL label related tests under Clang.
1175 * gdb.cp/cplabel.exp: Ditto.
1176 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
1177 under Clang those using labels.
1179 2014-04-25 Yao Qi <yao@codesourcery.com>
1181 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
1183 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
1184 partial_label and double_label.
1186 2014-04-24 David Blaikie <dblaikie@gmail.com>
1188 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
1190 2014-04-24 David Blaikie <dblaikie@gmail.com>
1192 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
1193 of the function to work across GCC and Clang.
1194 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
1195 pointer types (const void ** const V void **).
1197 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
1198 Walfred Tedeschi <walfred.tedeschi@intel.com>
1200 * Makefile.in (EXECUTABLES): Added i386-avx512.
1201 * gdb.arch/i386-avx512.c: New file.
1202 * gdb.arch/i386-avx512.exp: Likewise.
1204 2014-04-23 Keith Seitz <keiths@redhat.com>
1206 * lib/mi-support.exp (mi_list_breakpoints): Delete.
1207 (mi_make_breakpoint_table): New procedure.
1208 (mi_create_breakpoint): Use mi_make_breakpoint
1209 and return the result.
1210 (mi_make_breakpoint): New procedure.
1211 (mi_build_kv_pairs): New procedure.
1213 * gdb.mi/mi-break.exp: Remove unused globals,
1214 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
1215 All callers updated.
1216 * gdb.mi/mi-dprintf.exp: Use variable to track command
1218 Update all callers of mi_create_breakpoint and use
1219 mi_make_breakpoint_table.
1220 Remove any unused global variables.
1221 * gdb.mi/mi-nonstop.exp: Likewise.
1222 * gdb.mi/mi-nsintrall.exp: Likewise.
1223 * gdb.mi/mi-nsmoribund.exp: Likewise.
1224 * gdb.mi/mi-nsthrexec.exp: Likewise.
1225 * gdb.mi/mi-reverse.exp: Likewise.
1226 * gdb.mi/mi-simplerun.exp: Likewise.
1227 * gdb.mi/mi-stepn.exp: Likewise.
1228 * gdb.mi/mi-syn-frame.exp: Likewise.
1229 * gdb.mi/mi-until.exp: Likewise.
1230 * gdb.mi/mi-var-cp.exp: Likewise.
1231 * gdb.mi/mi-var-display.exp: Likewise.
1232 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1233 * gdb.mi/mi2-var-child.exp: Likewise.
1234 * gdb.mi/mi-vla-c99.exp: Likewise.
1235 * lib/mi-support.exp: Likewise.
1237 From Ian Lance Taylor <iant@cygnus.com>:
1238 * lib/gdb.exp (parse_args): New procedure.
1240 2014-04-23 Pedro Alves <palves@redhat.com>
1242 * gdb.base/break-unload-file.c: New file.
1243 * gdb.base/break-unload-file.exp: New file.
1244 * gdb.base/sym-file-lib.c (baz): New function.
1245 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
1247 (load): Store the segment's mapped size.
1248 (unload): New function.
1249 (unload_shlib): New function.
1250 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
1251 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
1252 set a breakpoint at baz, and call it.
1253 * gdb.base/sym-file.exp: New tests for stale breakpoint
1256 2014-04-23 Pedro Alves <palves@redhat.com>
1258 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
1259 * gdb.base/hbreak-in-shr-unsupported.c: New file.
1260 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
1261 * gdb.base/hbreak-unmapped.c: New file.
1262 * gdb.base/hbreak-unmapped.exp: New file.
1263 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
1264 * lib/gdb.exp (gdb_is_target_remote): ... here.
1266 2014-04-22 Pedro Alves <palves@redhat.com>
1268 * gdb.base/consecutive-step-over.c: New file.
1269 * gdb.base/consecutive-step-over.exp: New file.
1271 2014-04-22 Pedro Alves <palves@redhat.com>
1273 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
1274 instead of send_gdb/gdb_expect.
1276 2014-04-22 Yao Qi <yao@codesourcery.com>
1278 * lib/trace-support.exp (generate_tracefile): New procedure.
1279 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
1281 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
1282 if generate_tracefile returns 1.
1284 2014-04-18 Tom Tromey <palves@redhat.com>
1285 Pedro alves <tromey@redhat.com>
1288 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
1289 with a backtrace limit.
1290 * gdb.python/py-frame-inline.exp: Test running to an inline
1291 function with a backtrace limit, and printing the newest frame.
1292 * gdb.python/py-frame-inline.c (main): Call f.
1294 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1296 * gdb.java/jnpe.exp: Drop srcdir from untested path.
1298 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1300 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
1301 Drop prefix from unsupported source file path.
1303 2014-04-17 Yao Qi <yao@codesourcery.com>
1305 * lib/gdb.exp (with_target_charset): New proc.
1306 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
1307 with_target_charset.
1308 (test_print_strings): Likewise.
1309 (test_repeat_bytes): Likewise.
1310 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
1313 2014-04-16 Keith Seitz <keiths@redhat.com>
1316 * gdb.dwarf2/corrupt.c: New file.
1317 * gdb.dwarf2/corrupt.exp: New file.
1319 2014-04-16 Keith Seitz <keiths@redhat.com>
1322 * gdb.cp/namelessclass.cc: New file.
1323 * gdb.cp/namelessclass.exp: New file.
1324 * gdb.cp/namelessclass.S: New file.
1326 2014-04-16 Doug Evans <dje@google.com>
1328 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
1330 (gdbserver_default_get_comm_port): New function.
1331 (gdbserver_start): Check if board file provided
1332 "gdbserver,get_comm_port" and use it if so.
1333 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
1334 (gdb,socketport): Set to "stdio".
1335 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
1336 (stdio_gdbserver_template): Delete.
1337 (${board}_get_remote_address): Update.
1338 (${board}_build_remote_cmd): Delete.
1339 (${board}_get_comm_port): New function.
1340 (${board}_spawn): Update.
1341 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
1343 (${board}_get_remote_address): Update.
1344 (${board}_get_comm_port): New function.
1346 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
1348 * gdb.base/memattr.exp: Improve regexps to handle memory regions
1349 appearing in any order.
1351 2014-04-15 Doug Evans <dje@google.com>
1353 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
1354 uninitialized value of "description".
1356 2014-04-15 Keith Seitz <keiths@redhat.com>
1358 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
1359 Remove unused globals.
1360 (test_running_the_program): Likewise.
1361 (test_controlled_execution): Likewise.
1362 (test_controlling_breakpoints): Likewise.
1363 (test_program_termination): Likewise.
1365 2014-04-15 Keith Seitz <keiths@redhat.com>
1367 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
1369 (test_rbreak_creation_and_listing): Likewise.
1370 (test_ignore_count): Likewise.
1371 (test_error): Likewise.
1373 2014-04-15 Pedro Alves <palves@redhat.com>
1375 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
1376 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
1378 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1379 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1380 to sym-file-loader.c.
1381 (struct library): Forward declare.
1382 (load_shlib, lookup_function): Change prototypes.
1383 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1384 (translate_offset): Remove declarations.
1385 (get_text_addr): New declaration.
1386 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
1387 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
1389 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1390 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1391 here from sym-file-loader.h.
1392 (struct library): New structure.
1393 (load_shlib, lookup_function): Change prototypes and adjust to
1394 work with a struct library.
1395 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1396 (translate_offset): Make static.
1397 (get_text_addr): New function.
1398 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
1400 2014-04-15 Pedro Alves <palves@redhat.com>
1402 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
1404 2014-04-15 Pedro Alves <palves@redhat.com>
1406 * gdb.base/sym-file-loader.c: Include <limits.h>.
1407 (SELF_LINK): New define.
1408 (get_origin): New function.
1409 (load_shlib): Use it.
1410 * gdb.base/sym-file.exp: Don't early return if the target is
1411 remote. Use runto_main, and issue fail is that fails. Use
1413 (shlib_name): Delete.
1414 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
1416 2014-04-15 Pedro Alves <palves@redhat.com>
1418 * gdb.base/sym-file.exp: Remove regex characters from test
1419 message. Don't refer to breakpoint numbers in test messages.
1421 2014-04-14 Keith Seitz <keiths@redhat.com>
1424 * gdb.cp/var-tag.cc: New file.
1425 * gdb.cp/var-tag.exp: New file.
1426 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1427 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1428 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1429 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1431 2014-04-14 Tom Tromey <tromey@redhat.com>
1433 * gdb.cp/classes.exp (test_enums): Handle underlying type.
1434 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
1436 * gdb.cp/enum-class.exp: New file.
1437 * gdb.cp/enum-class.cc: New file.
1439 2014-04-14 Tom Tromey <tromey@redhat.com>
1441 * gdb.dwarf2/enum-type.exp: New file.
1443 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1445 * gdb.mi/mi-vla-c99.exp: New file.
1446 * gdb.mi/vla.c: New file.
1448 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1450 * gdb.base/vla-datatypes.c: New file.
1451 * gdb.base/vla-datatypes.exp: New file.
1453 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1455 * gdb.base/vla-ptr.c: New file.
1456 * gdb.base/vla-ptr.exp: New file.
1458 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1460 * gdb.dwarf2/count.exp: New file.
1462 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1464 * gdb.base/vla-sideeffect.c: New file.
1465 * gdb.base/vla-sideeffect.exp: New file.
1467 2014-04-14 David Blaikie <dblaikie@gmail.com>
1469 * gdb.mi/non-stop.c: Add return value for non-void function return
1471 * gdb.threads/staticthreads.c: Ditto.
1473 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
1474 Doug Evans <xdje42@gmail.com>
1476 * gdb.guile/scm-value.c: Improve test case.
1477 * gdb.guile/scm-value.exp: Add new test.
1479 2014-04-11 David Blaikie <dblaikie@gmail.com>
1481 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
1482 override Clang's default.
1484 2014-04-11 Joel Brobecker <brobecker@adacore.com>
1486 Revert the following changes (regressions):
1488 * gdb.base/vla-sideeffect.c: New file.
1489 * gdb.base/vla-sideeffect.exp: New file.
1491 * gdb.dwarf2/count.exp: New file.
1493 * gdb.base/vla-multi.c: New file.
1494 * gdb.base/vla-multi.exp: New file.
1496 * gdb.base/vla-ptr.c: New file.
1497 * gdb.base/vla-ptr.exp: New file.
1499 * gdb.base/vla-datatypes.c: New file.
1500 * gdb.base/vla-datatypes.exp: New file.
1502 * gdb.mi/mi-vla-c99.exp: New file.
1503 * gdb.mi/vla.c: New file.
1505 2014-04-11 Keith Seitz <keiths@redhat.com>
1508 * gdb.cp/cpsizeof.exp: New file.
1509 * gdb.cp/cpsizeof.cc: New file.
1511 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1513 * gdb.mi/mi-vla-c99.exp: New file.
1514 * gdb.mi/vla.c: New file.
1516 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1518 * gdb.base/vla-datatypes.c: New file.
1519 * gdb.base/vla-datatypes.exp: New file.
1521 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1523 * gdb.base/vla-ptr.c: New file.
1524 * gdb.base/vla-ptr.exp: New file.
1526 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1528 * gdb.base/vla-multi.c: New file.
1529 * gdb.base/vla-multi.exp: New file.
1531 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1533 * gdb.dwarf2/count.exp: New file.
1535 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1537 * gdb.base/vla-sideeffect.c: New file.
1538 * gdb.base/vla-sideeffect.exp: New file.
1540 2014-04-11 Yao Qi <yao@codesourcery.com>
1542 * gdb.base/completion.exp: Check file exists before running tests
1545 2014-04-10 Pedro Alves <palves@redhat.com>
1547 * gdb.base/cond-eval-mode.c: New file.
1548 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
1549 prepare_for_testing to build the new file. Check result of
1551 (test_break, test_watch): New procedures.
1552 (top level): Use them.
1554 2014-04-08 Pierre Muller <muller@sourceware.org>
1556 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
1557 Ctrl-V use for mingw hosts.
1559 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
1561 * gdb.python/py-value.c: Improve test case.
1562 * gdb.python/py-value.exp: Add new test.
1564 2014-04-07 David Blaikie <dblaikie@gmail.com>
1566 * lib/compiler.c: Identify the clang compiler.
1567 * lib/compiler.cc: Ditto.
1569 2014-04-03 Yao Qi <yao@codesourcery.com>
1571 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
1573 2014-04-01 Anton Blanchard <anton@samba.org>
1575 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
1578 2014-04-01 Anton Blanchard <anton@samba.org>
1580 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
1581 prepare_for_testing.
1583 2014-04-01 Anton Blanchard <anton@samba.org>
1585 * gdb.arch/ppc64-atomic-inst.c: Remove.
1586 * gdb.arch/ppc64-atomic-inst.S: New file.
1587 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
1589 2014-03-31 Doug Evans <dje@google.com>
1591 * gdb.base/print-symbol-loading-lib.c: New file.
1592 * gdb.base/print-symbol-loading-main.c: New file.
1593 * gdb.base/print-symbol-loading.exp: New file.
1595 2014-03-31 Yao Qi <yao@codesourcery.com>
1597 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
1599 2014-03-28 Joel Brobecker <brobecker@adacore.com>
1601 * gdb.ada/mi_dyn_arr: New testcase.
1603 2014-03-27 Doug Evans <dje@google.com>
1605 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
1607 2014-03-27 Yao Qi <yao@codesourcery.com>
1609 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
1610 if target is nios2-*-*.
1612 2014-03-26 Yao Qi <yao@codesourcery.com>
1614 * lib/gdb.exp (readline_is_used): New proc.
1615 * gdb.base/completion.exp: Move tests on command complete up.
1616 Skip the rest of tests if readline is not used.
1617 * gdb.ada/complete.exp: Skp the test if readline is not
1619 * gdb.base/filesym.exp: Likewise.
1620 * gdb.base/macscp.exp: Likewise.
1621 * gdb.base/readline-ask.exp: Likewise.
1622 * gdb.base/readline.exp: Likewise.
1623 * gdb.python/py-cmd.exp: Likewise.
1624 * gdb.trace/tfile.exp: Likewise.
1626 2014-03-26 Yao Qi <yao@codesourcery.com>
1628 * gdb.base/macscp.exp: Fix code format issues.
1630 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
1632 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
1633 * gdb.asm/powerpc64le.inc: New file.
1635 2014-03-25 Pedro Alves <palves@redhat.com>
1636 Doug Evans <dje@google.com>
1638 * gdb.base/source-execution.c: New file.
1639 * gdb.base/source-execution.exp: New file.
1640 * gdb.base/source-execution.gdb: New file.
1642 2014-03-24 Doug Evans <dje@google.com>
1644 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
1647 2014-03-24 Hui Zhu <hui@codesourcery.com>
1648 Pedro Alves <palves@redhat.com>
1650 PR breakpoints/16101
1651 * gdb.base/dprintf.exp: Use unsupported rather than changing the
1652 test pass/fail messages. Detect missing support for dprintf when
1653 breakpoints are actually inserted.
1654 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
1655 breakpoints are actually inserted.
1656 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
1659 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1661 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
1663 2014-03-22 Doug Evans <xdje42@gmail.com>
1665 * gdb.python/python.exp (python not supported): Verify multi-line
1666 python command issues an error.
1667 * gdb.guile/guile.exp (guile not supported): Verify multi-line
1668 guile command issues an error.
1670 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
1672 * gdb.threads/thread-specific.exp: Handle the lack of usable
1673 $this_breakpoint and $this_thread.
1675 2014-03-21 Hui Zhu <hui@codesourcery.com>
1677 * gdb.base/attach.exp (do_command_attach_tests): New.
1679 2014-03-20 Tom Tromey <tromey@redhat.com>
1680 Pedro Alves <palves@redhat.com>
1683 * gdb.base/condbreak-call-false.c: New file.
1684 * gdb.base/condbreak-call-false.exp: New file.
1686 2014-03-20 Pedro Alves <palves@redhat.com>
1688 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
1690 (block_signals, unblock_signals): Delete.
1691 (child_function_2, main): Remove references to deleted variable
1694 2014-03-20 Pedro Alves <palves@redhat.com>
1696 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
1697 Use pthread_kill to signal thread 2.
1698 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1699 Adjust to make the test send itself a signal rather than using the
1700 host's "kill" command.
1702 2014-03-20 Pedro Alves <palves@redhat.com>
1704 * gdb.threads/multiple-step-overs.c: New file.
1705 * gdb.threads/multiple-step-overs.exp: New file.
1706 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1707 Adjust expected infrun debug output.
1709 2014-03-20 Pedro Alves <palves@redhat.com>
1711 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
1712 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
1714 2014-03-20 Pedro Alves <palves@redhat.com>
1717 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
1718 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
1719 of gdb_test_multiple.
1720 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
1721 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
1723 2014-03-20 Pedro Alves <palves@redhat.com>
1725 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
1726 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
1728 2014-03-19 Pedro Alves <palves@redhat.com>
1730 * gdb.base/async.exp: Remove early return.
1732 2014-03-19 Pedro Alves <palves@redhat.com>
1734 * gdb.base/async.exp (step& tests): Pass explicit test messages.
1736 2014-03-19 Pedro Alves <palves@redhat.com>
1738 * gdb.base/async.exp (test_background): Expect \r\n after
1739 "completed." in the fail pattern.
1741 2014-03-19 Pedro Alves <palves@redhat.com>
1743 * gdb.base/async.exp (test_background): New procedure.
1744 Use it for all background execution command tests.
1746 2014-03-19 Pedro Alves <palves@redhat.com>
1748 * gdb.base/async.exp: Use prepare_for_testing.
1750 2014-03-19 Pedro Alves <palves@redhat.com>
1752 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
1755 2014-03-19 Pedro Alves <palves@redhat.com>
1757 * gdb.base/async.c (main): Add "jump here" and "until here" line
1759 * gdb.base/async.exp (jump_here): New global.
1760 (jump& test): Use it.
1761 (until_here): New global.
1762 (until& test): Use it.
1764 2014-03-19 Pedro Alves <palves@redhat.com>
1766 * gdb.base/async.exp: Don't frob gdb_protocol.
1768 2014-03-18 Doug Evans <xdje42@gmail.com>
1770 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
1771 Fix spelling of exec-done-display.
1773 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1776 * gdb.base/gdb-sigterm.c: New file.
1777 * gdb.base/gdb-sigterm.exp: New file.
1779 2014-03-18 Pedro Alves <palves@redhat.com>
1782 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
1783 * lib/mi-support.exp (mi_expect_stop): Add special handling for
1786 2014-03-17 Joel Brobecker <brobecker@adacore.com>
1788 * gdb.ada/pckd_arr_ren: New testcase.
1790 2014-03-13 Doug Evans <xdje42@gmail.com>
1793 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
1794 collect after discarding symbols.
1796 2014-03-13 Ludovic Courtès <ludo@gnu.org>
1797 Doug Evans <xdje42@gmail.com>
1799 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
1800 to history survives a gc.
1802 2014-03-13 Pedro Alves <palves@redhat.com>
1804 * gdb.base/default.exp: Don't test "target procfs".
1806 2014-03-13 Pedro Alves <palves@redhat.com>
1808 * gdb.base/default.exp: Update "target child" and "target procfs"
1809 tests to not expect "Unix".
1811 2014-03-12 Tom Tromey <tromey@redhat.com>
1813 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
1814 New procs. Add target-async tests.
1815 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
1816 Add target-async tests.
1818 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1820 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
1821 'func_start' and 'func_end' for the beginning and end of the
1822 function code, respectively.
1823 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
1824 'func_end' instead of 'func' and 'main'.
1826 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1828 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
1829 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
1830 generate the debug info assembler source.
1832 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1834 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
1835 * gdb.dwarf2/arr-subrange.exp: Likewise.
1836 * gdb.dwarf2/dwz.exp: Likewise.
1837 * gdb.dwarf2/method-ptr.exp: Likewise.
1838 * gdb.dwarf2/missing-sig-type.exp: Likewise.
1839 * gdb.dwarf2/subrange.exp: Likewise.
1840 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
1841 * gdb.dwarf2/implptrpiece.exp: Likewise.
1842 * gdb.dwarf2/nostaticblock.exp: Likewise.
1844 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1846 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
1847 directory to absolute path name arguments.
1849 2014-03-10 Joel Brobecker <brobecker@adacore.com>
1851 * gdb.ada/tagged_access: New testcase.
1853 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
1855 * gdb.btrace/data.exp: Update expected output.
1857 2014-03-06 Yao Qi <yao@codesourcery.com>
1859 * gdb.trace/pr16508.exp: New file.
1861 2014-03-05 Pedro Alves <palves@redhat.com>
1864 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
1866 (top level): Adjust to use it. Add tests that exercise breakpoint
1867 interaction with the code-cache.
1869 2014-02-26 Ludovic Courtès <ludo@gnu.org>
1871 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
1872 test for 'history-append!'.
1874 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1876 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
1877 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
1878 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
1879 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
1880 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
1881 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
1883 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1885 * testsuite/gdb.python/py-pp-re-notag.c: New file.
1886 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
1887 * testsuite/gdb.python/py-pp-re-notag.p: New file.
1889 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1891 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
1893 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1895 * gdb.dwarf2/arr-stride.c: New file.
1896 * gdb.dwarf2/arr-stride.exp: New file.
1898 2014-02-26 Pedro Alves <palves@redhat.com>
1900 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
1901 that won't ever trigger. Make sure that GDB reports the correct
1902 breakpoint that caused the stop.
1904 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1907 * gdb.base/auto-load-script: New file.
1908 * gdb.base/auto-load.c: New file.
1909 * gdb.base/auto-load.exp: New file.
1912 * gdb.base/auto-load.exp: Fix out-of-srctree run.
1914 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1916 Fix dw2-icycle.exp -fsanitize=address GDB crash.
1917 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
1919 2014-02-24 Doug Evans <dje@google.com>
1921 * lib/gdb.exp (run_on_host): Log error output if program fails.
1923 2014-02-21 Pedro Alves <palves@redhat.com>
1925 * gdb.threads/step-after-sr-lock.c: Rename to ...
1926 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
1927 * gdb.threads/step-after-sr-lock.exp: Rename to ...
1928 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1931 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1934 * gdb.arch/amd64-stap-special-operands.exp: New file.
1935 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
1936 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
1937 * gdb.arch/amd64-stap-triplet.S: Likewise.
1938 * gdb.arch/amd64-stap-triplet.c: Likewise.
1940 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1942 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
1943 in .section pseudo-op.
1945 2014-02-20 lin zuojian <manjian2006@gmail.com>
1946 Joel Brobecker <brobecker@adacore.com>
1947 Doug Evans <xdje42@gmail.com>
1950 * gdb.dwarf2/dw2-icycle.S: New file.
1951 * gdb.dwarf2/dw2-icycle.c: New file.
1952 * gdb.dwarf2/dw2-icycle.exp: New file.
1954 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1956 * gdb.python/py-value-cc.cc: Improve test case to enable testing
1957 operations on gdb.Value objects.
1958 * gdb.python/py-value-cc.exp: Add new test to test operations on
1961 2014-02-18 Doug Evans <dje@google.com>
1963 * Makefile.in (TESTS): New variable.
1964 (expanded_tests, expanded_tests_or_none): New variables
1965 (check-single): Pass $(expanded_tests_or_none) to runtest.
1966 (check-parallel): Only run tests in $(TESTS) if non-empty.
1967 (check/no-matching-tests-found): New rule.
1968 * README: Document TESTS makefile variable.
1970 2014-02-18 Doug Evans <dje@google.com>
1972 * Makefile.in (check-parallel): rm -rf outputs temp.
1974 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1976 Fix "ERROR: no fileid for" in the testsuite.
1977 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
1979 2014-02-12 Doug Evans <dje@google.com>
1981 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
1982 (MISCELLANEOUS): New variable.
1983 (clean): rm -rf $(MISCELLANEOUS).
1984 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
1985 dwp live in the same directory as symlinks, with each symlink pointed
1986 to a differently named file in a different directory.
1988 2014-02-11 Doug Evans <dje@google.com>
1990 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
1991 of Tcl file commands.
1993 2014-02-10 Mark Kettenis <kettenis@gnu.org>
1995 * gdb.threads/step-after-sr-lock.exp: Avoid executing
1998 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2000 * gdb.ada/tick_length_array_enum_idx: New testcase.
2002 2014-02-10 Doug Evans <xdje42@gmail.com>
2004 * configure.ac (AC_OUTPUT): Add gdb.guile.
2005 * configure: Regenerate.
2006 * lib/gdb-guile.exp: New file.
2007 * lib/gdb.exp (get_target_charset): New function.
2008 * gdb.base/help.exp: Update expected output from "apropos apropos".
2009 * gdb.guile/Makefile.in: New file.
2010 * gdb.guile/guile.exp: New file.
2011 * gdb.guile/scm-arch.c: New file.
2012 * gdb.guile/scm-arch.exp: New file.
2013 * gdb.guile/scm-block.c: New file.
2014 * gdb.guile/scm-block.exp: New file.
2015 * gdb.guile/scm-breakpoint.c: New file.
2016 * gdb.guile/scm-breakpoint.exp: New file.
2017 * gdb.guile/scm-disasm.c: New file.
2018 * gdb.guile/scm-disasm.exp: New file.
2019 * gdb.guile/scm-equal.c: New file.
2020 * gdb.guile/scm-equal.exp: New file.
2021 * gdb.guile/scm-error.exp: New file.
2022 * gdb.guile/scm-error.scm: New file.
2023 * gdb.guile/scm-frame-args.c: New file.
2024 * gdb.guile/scm-frame-args.exp: New file.
2025 * gdb.guile/scm-frame-args.scm: New file.
2026 * gdb.guile/scm-frame-inline.c: New file.
2027 * gdb.guile/scm-frame-inline.exp: New file.
2028 * gdb.guile/scm-frame.c: New file.
2029 * gdb.guile/scm-frame.exp: New file.
2030 * gdb.guile/scm-generics.exp: New file.
2031 * gdb.guile/scm-gsmob.exp: New file.
2032 * gdb.guile/scm-iterator.c: New file.
2033 * gdb.guile/scm-iterator.exp: New file.
2034 * gdb.guile/scm-math.c: New file.
2035 * gdb.guile/scm-math.exp: New file.
2036 * gdb.guile/scm-objfile-script-gdb.in: New file.
2037 * gdb.guile/scm-objfile-script.c: New file.
2038 * gdb.guile/scm-objfile-script.exp: New file.
2039 * gdb.guile/scm-objfile.c: New file.
2040 * gdb.guile/scm-objfile.exp: New file.
2041 * gdb.guile/scm-ports.exp: New file.
2042 * gdb.guile/scm-pretty-print.c: New file.
2043 * gdb.guile/scm-pretty-print.exp: New file.
2044 * gdb.guile/scm-pretty-print.scm: New file.
2045 * gdb.guile/scm-section-script.c: New file.
2046 * gdb.guile/scm-section-script.exp: New file.
2047 * gdb.guile/scm-section-script.scm: New file.
2048 * gdb.guile/scm-symbol.c: New file.
2049 * gdb.guile/scm-symbol.exp: New file.
2050 * gdb.guile/scm-symtab-2.c: New file.
2051 * gdb.guile/scm-symtab.c: New file.
2052 * gdb.guile/scm-symtab.exp: New file.
2053 * gdb.guile/scm-type.c: New file.
2054 * gdb.guile/scm-type.exp: New file.
2055 * gdb.guile/scm-value-cc.cc: New file.
2056 * gdb.guile/scm-value-cc.exp: New file.
2057 * gdb.guile/scm-value.c: New file.
2058 * gdb.guile/scm-value.exp: New file.
2059 * gdb.guile/source2.scm: New file.
2060 * gdb.guile/types-module.cc: New file.
2061 * gdb.guile/types-module.exp: New file.
2063 2014-02-10 Yao Qi <yao@codesourcery.com>
2066 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
2067 * configure: Regenerated.
2068 * Makefile.in: New file.
2070 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2072 * gdb.python/py-framefilter.exp: Fix typo.
2074 2014-02-08 Yao Qi <yao@codesourcery.com>
2076 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
2077 that no =breakpoint-modified is emitted when breakpoints are
2078 modified through MI commands.
2080 2014-02-07 Pedro Alves <pedro@codesourcery.com>
2081 Pedro Alves <palves@redhat.com>
2083 * gdb.threads/step-after-sr-lock.c: New file.
2084 * gdb.threads/step-after-sr-lock.exp: New file.
2086 2014-02-07 Pedro Alves <palves@redhat.com>
2088 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
2090 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2092 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
2093 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
2095 2014-02-06 Doug Evans <xdje42@gmail.com>
2097 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
2100 * gdb.gdb/python-interrupts.exp: New file.
2102 2014-02-05 Yao Qi <yao@codesourcery.com>
2104 * gdb.trace/report.exp (use_collected_data): Test the output
2105 of "info threads" and "info inferiors".
2107 2014-02-05 Yao Qi <yao@codesourcery.com>
2111 2013-05-24 Yao Qi <yao@codesourcery.com>
2113 * gdb.trace/tfile.exp: Test inferior and thread.
2115 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2117 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
2119 * gdb.base/step-bt.c: Call hello via function pointer to make
2120 sure its first instruction is executed on powerpc64le-linux.
2122 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2124 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
2126 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2128 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
2129 of the test patterns for use on little-endian systems.
2131 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2133 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
2134 (decimal_vector): Fix for little-endian.
2136 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2138 * gdb.arch/sparc-sysstep.exp: New file.
2139 * gdb.arch/sparc-sysstep.c: Likewise.
2141 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
2143 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2145 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
2147 2014-01-23 Tom Tromey <tromey@redhat.com>
2149 * gdb.ada/array_char_idx: New testcase.
2151 2014-01-23 Tom Tromey <tromey@redhat.com>
2154 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
2155 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
2158 2014-01-23 Tom Tromey <tromey@redhat.com>
2161 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
2162 string from an inferior frame.
2163 * gdb.python/py-framefilter-mi.exp: Update.
2165 2014-01-22 Doug Evans <dje@google.com>
2167 * gdb.server/server-mon.exp: Add tests for "set debug-format".
2169 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2171 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
2173 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2175 * gdb.trace/entry-values.exp: Remove excess space character from
2176 regex patterns. Handle s390 call instruction.
2178 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2180 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
2181 define "*_start" label. Make "name" static.
2182 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
2183 ${name} by references to ${name}_start.
2185 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2187 * gdb.base/info-macros.exp: Remove "debug" from the compile
2190 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2192 * gdb.dlang/demangle.exp: New file.
2194 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2196 * gdb.dlang/primitive-types.exp: New file.
2198 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2200 * configure.ac: Create gdb.dlang/Makefile.
2201 * configure: Regenerate.
2202 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
2203 * gdb.dlang/Makefile.in: New file.
2204 * lib/d-support.exp: New file.
2205 * lib/gdb.exp (skip_d_tests): New proc.
2207 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2209 * gdb.btrace/delta.exp: Check reverse stepi.
2210 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
2211 * gdb.btrace/finish.exp: New.
2212 * gdb.btrace/next.exp: New.
2213 * gdb.btrace/nexti.exp: New.
2214 * gdb.btrace/record_goto.c: Add comments.
2215 * gdb.btrace/step.exp: New.
2216 * gdb.btrace/stepi.exp: New.
2217 * gdb.btrace/multi-thread-step.c: New.
2218 * gdb.btrace/multi-thread-step.exp: New.
2219 * gdb.btrace/rn-dl-bind.c: New.
2220 * gdb.btrace/rn-dl-bind.exp: New.
2221 * gdb.btrace/data.c: New.
2222 * gdb.btrace/data.exp: New.
2223 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2225 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2227 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
2228 * gdb.btrace/exception.exp: Update.
2229 * gdb.btrace/instruction_history.exp: Update.
2230 * gdb.btrace/record_goto.exp: Update.
2231 * gdb.btrace/tailcall.exp: Update.
2232 * gdb.btrace/unknown_functions.exp: Update.
2233 * gdb.btrace/delta.exp: New.
2235 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2237 * gdb.btrace/record_goto.exp: Add backtrace test.
2238 * gdb.btrace/tailcall.exp: Add backtrace test.
2240 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2242 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
2243 * gdb.btrace/record_goto.c: New.
2244 * gdb.btrace/record_goto.exp: New.
2245 * gdb.btrace/x86-record_goto.S: New.
2247 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2249 * gdb.btrace/function_call_history.exp: Update tests.
2250 * gdb.btrace/instruction_history.exp: Update tests.
2252 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2254 * gdb.btrace/function_call_history.exp: Fix expected field
2255 order for "record function-call-history".
2256 Add new tests for "record function-call-history /c".
2257 * gdb.btrace/exception.cc: New.
2258 * gdb.btrace/exception.exp: New.
2259 * gdb.btrace/tailcall.exp: New.
2260 * gdb.btrace/x86-tailcall.S: New.
2261 * gdb.btrace/x86-tailcall.c: New.
2262 * gdb.btrace/unknown_functions.c: New.
2263 * gdb.btrace/unknown_functions.exp: New.
2264 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2266 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2268 * gdb.btrace/instruction_history.exp: Update.
2269 * gdb.btrace/function_call_history.exp: Update.
2271 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2273 * gdb.btrace/function_call_history.exp: Fix expected function
2275 * gdb.btrace/instruction_history.exp: Initialize traced.
2276 Remove traced_functions.
2278 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2280 * gdb.btrace/function_call_history.exp: Update
2281 * gdb.btrace/instruction_history.exp: Update.
2283 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2285 * gdb.btrace/enable.exp: Update expected text.
2287 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
2289 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
2292 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
2294 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
2296 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2298 * lib/gdb.exp (supports_process_record): Return true for
2299 arm*-linux*. (supports_reverse): Likewise.
2301 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
2305 * gdb.python/py-type.c: Enhance test case.
2306 * gdb.python/py-value-cc.cc: Likewise
2307 * gdb.python/py-type.exp: Add new tests.
2308 * gdb.python/py-value-cc.exp: Likewise
2310 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2311 Pedro Alves <palves@redhat.com>
2313 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
2315 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
2316 references to ${name}_start by references to ${name}.
2318 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2320 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
2322 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2324 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
2326 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
2327 Pedro Alves <palves@redhat.com>
2329 * gdb.mi/mi-info-os.exp: Connect to the target with
2332 2014-01-08 Pedro Alves <palves@redhat.com>
2334 * gdb.threads/reconnect-signal.c: New file.
2335 * gdb.threads/reconnect-signal.exp: New file.
2337 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2339 * gdb.base/source-dir.exp: New file.
2341 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2343 * gdb.ada/mi_interface: New testcase.
2345 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2347 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
2348 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
2349 gdb.ada/pp-rec-component/pck.ads: New files.
2351 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2353 * gdb.python/py-pp-integral.c: New file.
2354 * gdb.python/py-pp-integral.py: New file.
2355 * gdb.python/py-pp-integral.exp: New file.
2357 For older changes see ChangeLog-1993-2013.
2363 ;; version-control: never
2366 Copyright 2014 Free Software Foundation, Inc.
2367 Copying and distribution of this file, with or without modification,
2368 are permitted provided the copyright notice and this notice are preserved.