1 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
4 * gdb.base/commands.exp: Add tests to verify user-defined
5 commands with empty bodies.
6 * gdb.python/py-cmd.exp: Test that we don't show user-defined
7 python commands in `show user command`.
8 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
9 scheme commands in `show user command`.
11 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
15 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
16 * gdb.python/py-framefilter-invalidarg.exp: New file.
17 * gdb.python/py-framefilter-invalidarg.py: New file.
19 2014-09-06 Doug Evans <xdje42@gmail.com>
22 * gdb.python/py-caller-is.c: New file.
23 * gdb.python/py-caller-is.exp: New file.
25 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
28 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
29 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
31 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
34 * gdb.fortran/print-formatted.exp: New file.
35 * gdb.fortran/print-formatted.f90: Likewise.
37 2014-09-03 Sasha Smundak <asmundak@google.com>
39 * gdb.python/py-frame.exp: Test Frame.read_register.
41 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
44 * gdb.python/py-completion.exp: New file.
45 * gdb.python/py-completion.py: Likewise.
47 2014-08-28 Doug Evans <dje@google.com>
49 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
50 eax,etc. are live with values set by gdb and thus the compiler can't
52 * gdb.arch/i386-pseudo.c (main): Ditto.
54 2014-08-27 Doug Evans <dje@google.com>
56 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
58 2014-08-25 Doug Evans <dje@google.com>
60 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
63 2014-08-25 Doug Evans <dje@google.com>
65 * gdb.threads/thread-execl.exp: #include <stdio.h>.
67 2014-08-24 Yao Qi <yao@codesourcery.com>
69 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
71 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
73 2014-08-22 Doug Evans <dje@google.com>
76 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
77 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
78 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
80 2014-08-22 Yao Qi <yao@codesourcery.com>
82 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
83 * gdb.python/py-finish-breakpoint2.exp: Likewise.
84 * gdb.python/python.exp: Likewise. Use .py file on the host
87 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
89 * gdb.threads/gcore-stale-thread.c: New file.
90 * gdb.threads/gcore-stale-thread.exp: New file.
92 2014-08-21 Pedro Alves <palves@redhat.com>
94 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
95 * gdb.base/gcore-relro-pie.exp: Likewise.
96 * gdb.base/gcore-relro.exp: Likewise.
97 * gdb.base/gcore.exp: Likewise.
98 * gdb.base/print-symbol-loading.exp: Likewise.
99 * gdb.threads/gcore-thread.exp: Likewise.
100 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
102 2014-08-20 Pedro Alves <palves@redhat.com>
103 Jan Kratochvil <jan.kratochvil@redhat.com>
105 * Makefile.in (EXTRA_RULES, CC): New variables, get from
107 (EXPECT): Handle READ1 being set.
108 (all): Depend on EXTRA_RULES.
109 (check-read1, expect-read1, read1.so, read1): New rules.
110 * README (Testsuite Parameters): Document the READ1 make variable.
111 (Race detection): New section.
112 * configure: Regenerate.
113 * configure.ac: If build==host==target, and running under a
114 GNU/glibc system, add read1 to the extra Makefile rules.
115 (EXTRA_RULES): AC_SUBST it.
116 * lib/read1.c: New file.
118 2014-08-20 Joel Brobecker <brobecker@adacore.com>
120 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
121 the handling of variables declared as a typedef to an array
122 which a DW_AT_data_location attribute.
124 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
125 Pedro Alves <palves@redhat.com>
129 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
132 2014-08-19 Pedro Alves <palves@redhat.com>
134 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
136 2014-08-19 Yao Qi <yao@codesourcery.com>
138 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
141 2014-08-18 David Blaikie <dblaikie@gmail.com>
143 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
145 2014-08-18 Joel Brobecker <brobecker@adacore.com>
147 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
148 attribute in array range.
150 2014-08-18 Joel Brobecker <brobecker@adacore.com>
152 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
154 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
157 * gdb.cp/pr17132.cc: New file.
158 * gdb.cp/pr17132.exp: New file.
160 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
162 * gdb.python/py-xmethods.py (A_getarrayind)
163 (E_method_char_worker.__call__, E_method_int_worker.__call__):
164 Use 'print' with function call syntax.
165 (E_method_matcher.match): Fix tab vs space indentation mixup.
167 2014-08-15 Yao Qi <yao@codesourcery.com>
169 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
172 2014-08-15 Yao Qi <yao@codesourcery.com>
174 * gdb.cp/casts.exp: Set print symbol off.
175 * gdb.cp/class2.exp: Likewise.
176 * gdb.cp/overload.exp: Likewise.
177 * gdb.cp/templates.exp: Likewise.
179 2014-08-11 Doug Evans <dje@google.com>
181 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
182 (test_load_shlib): Update.
184 2014-08-09 Yao Qi <yao@codesourcery.com>
186 * gdb.base/display.exp: Invoke is_address_zero_readable.
187 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
188 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
189 * gdb.base/hbreak-unmapped.exp: Return if
190 is_address_zero_readable returns true.
191 * gdb.base/signest.exp: Likewise.
192 * gdb.base/signull.exp: Likewise.
193 * gdb.base/sigbpt.exp: Likewise.
194 * gdb.guile/scm-disasm.exp: Do the test if
195 is_address_zero_readable returns false.
196 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
197 * gdb.python/py-arch.exp: Likewise.
198 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
199 * lib/gdb.exp (is_address_zero_readable): New proc.
201 2014-08-09 Yao Qi <yao@codesourcery.com>
204 * gdb.mi/mi-var-display.exp: Make test messages unique.
206 2014-08-04 Tom Tromey <tromey@redhat.com>
208 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
211 2014-08-04 Tom Tromey <tromey@redhat.com>
213 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
216 2014-08-01 Joel Brobecker <brobecker@adacore.com>
218 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
219 inner_vla_struct_object_size.
220 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
223 2014-07-30 Pedro Alves <palves@redhat.com>
225 * gdb.threads/signal-command-handle-nopass.exp (test): Add
228 2014-07-29 Yao Qi <yao@codesourcery.com>
231 * gdb.base/until-nodebug.exp: New.
233 2014-07-28 Doug Evans <xdje42@gmail.com>
236 * gdb.guile/scm-parameter.exp: Add tests for trying to create
237 previously existing parameter, and previously ambiguously spelled
240 2014-07-28 Will Newton <will.newton@linaro.org>
242 * gdb.base/varargs.exp: Remove KFAILs for ARM.
244 2014-07-26 Ludovic Courtès <ludo@gnu.org>
245 Doug Evans <xdje42@gmail.com>
248 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
250 2014-07-25 Pedro Alves <palves@redhat.com>
252 * gdb.threads/signal-command-handle-nopass.c: New file.
253 * gdb.threads/signal-command-handle-nopass.exp: New file.
254 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
255 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
256 * gdb.threads/signal-delivered-right-thread.c: New file.
257 * gdb.threads/signal-delivered-right-thread.exp: New file.
259 2014-07-25 Pedro Alves <palves@redhat.com>
261 * gdb.base/double-prompt-target-event-error.exp
262 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
264 (cancel_pagination_in_target_event): Rework double prompt
266 * gdb.base/paginate-after-ctrl-c-running.exp
267 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
269 * gdb.base/paginate-bg-execution.exp
270 (test_bg_execution_pagination_return)
271 (test_bg_execution_pagination_cancel): Remove '-notransfer
273 * gdb.base/paginate-execution-startup.exp
274 (test_fg_execution_pagination_return)
275 (test_fg_execution_pagination_cancel): Remove '-notransfer
277 * gdb.base/paginate-inferior-exit.exp
278 (test_paginate_inferior_exited): Remove '-notransfer <return>'
280 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
281 * lib/gdb.exp (pagination_prompt): Run text through
283 (gdb_test_multiple): Match $pagination_prompt instead of
285 (string_to_regexp): Move to lib/gdb-utils.exp.
287 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
289 * gdb.arch/amd64-entry-value-paramref.S: New file.
290 * gdb.arch/amd64-entry-value-paramref.cc: New file.
291 * gdb.arch/amd64-entry-value-paramref.exp: New file.
292 * gdb.arch/amd64-optimout-repeat.S: New file.
293 * gdb.arch/amd64-optimout-repeat.c: New file.
294 * gdb.arch/amd64-optimout-repeat.exp: New file.
296 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
299 * gdb.base/statistics.exp: New file.
301 2014-07-17 Doug Evans <dje@google.com>
304 * gdb.base/maint.exp: Update testing of per-command stats.
306 2014-07-16 Pedro Alves <palves@redhat.com>
308 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
309 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
310 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
311 (tfile_write_buf): New functions.
312 (add_memory_block): Rewrite using the above.
313 (adjust_function_address): New function.
314 (FUNCTION_ADDRESS): New macro.
315 (write_basic_trace_file): Remove short_x local, and use
316 tfile_write_16. Change type of func_addr local to unsigned long
317 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
318 here. Cast argument of add_memory_block to char pointer.
319 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
320 (main): Remove parameters.
321 * gdb.trace/tfile.exp: Remove nowarnings.
323 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
325 * gdb.base/debug-expr.exp: Test string evaluation with
326 "debug expression" on.
328 2014-07-15 Pedro Alves <palves@redhat.com>
330 * gdb.base/reread.exp: Use clean_restart.
332 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
334 * gdb.arch/avr-flash-qualifer.c: New.
335 * gdb.arch/avr-flash-qualifer.exp: New.
337 2014-07-14 Pedro Alves <palves@redhat.com>
339 * gdb.base/paginate-after-ctrl-c-running.c: New file.
340 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
342 2014-07-14 Pedro Alves <palves@redhat.com>
344 * gdb.base/double-prompt-target-event-error.c: New file.
345 * gdb.base/double-prompt-target-event-error.exp: New file.
347 2014-07-14 Pedro Alves <palves@redhat.com>
350 * gdb.base/paginate-inferior-exit.c: New file.
351 * gdb.base/paginate-inferior-exit.exp: New file.
353 2014-07-14 Pedro Alves <palves@redhat.com>
356 * gdb.base/paginate-bg-execution.c: New file.
357 * gdb.base/paginate-bg-execution.exp: New file.
359 2014-07-14 Pedro Alves <palves@redhat.com>
362 * gdb.base/paginate-execution-startup.c: New file.
363 * gdb.base/paginate-execution-startup.exp: New file.
364 * lib/gdb.exp (pagination_prompt): New global.
365 (default_gdb_spawn): New procedure, factored out from
367 (default_gdb_start): Adjust to call default_gdb_spawn.
368 (gdb_spawn): New procedure.
370 2014-07-14 Pedro Alves <palves@redhat.com>
372 * lib/gdb.exp (gdb_assert): New procedure.
373 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
375 2014-07-14 Pedro Alves <palves@redhat.com>
377 * gdb.base/execution-termios.c: New file.
378 * gdb.base/execution-termios.exp: New file.
380 2014-07-14 Tom Tromey <tromey@redhat.com>
382 * gdb.cp/vla-cxx.cc: New file.
383 * gdb.cp/vla-cxx.exp: New file.
385 2014-07-14 Tom Tromey <tromey@redhat.com>
387 * gdb.reverse/rerun-prec.c: New file.
388 * gdb.reverse/rerun-prec.exp: New file.
390 2014-07-12 Maciej W. Rozycki <macro@mips.com>
391 Maciej W. Rozycki <macro@codesourcery.com>
393 * lib/gdb-utils.exp: New file.
394 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
395 inline `gdb_init_command' processing.
396 (gdb_start_cmd): Likewise.
397 * lib/mi-support.exp (mi_run_cmd): Likewise.
398 * README: Document `gdb_init_command' and `gdb_init_commands'.
400 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
402 Fix false FAIL running under a very long directory name.
403 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
404 and "set print elements 10000". Twice.
406 2014-07-11 Yao Qi <yao@codesourcery.com>
408 * gdb.base/exprs.exp: "set print symbol off".
410 2014-07-11 Pedro Alves <palves@redhat.com>
412 * gdb.threads/kill.c: New file.
413 * gdb.threads/kill.exp: New file.
415 2014-07-10 Yao Qi <yao@codesourcery.com>
417 * gdb.trace/tfile.c (write_basic_trace_file)
418 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
419 address written to trace file.
421 2014-07-09 Pedro Alves <palves@redhat.com>
423 * gdb.base/attach-wait-input.exp: New file.
424 * gdb.base/attach-wait-input.c: New file.
426 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
428 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
429 setting up test structures.
430 (main): Call new test function.
431 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
432 test function, continue into test function and walk test
435 2014-07-02 Yao Qi <yao@codesourcery.com>
437 * gdb.trace/entry-values.c: Define labels 'foo_start' and
438 'bar_start' at the beginning of functions 'foo' and 'bar'
440 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
441 instead of 'foo' and 'bar'.
443 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
445 * gdb.btrace/segv.exp: New.
446 * gdb.btrace/segv.c: New.
448 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
450 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
453 2014-06-30 Mark Wielaard <mjw@redhat.com>
455 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
456 vulture, vilify, villar): New volatile array constants.
457 (vindictive, vegetation): New const volatile array constants.
458 * gdb.base/volatile.exp: Test volatile and const volatile array
461 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
463 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
464 target lacks support for awatch, rwatch, or hbreak.
466 2014-06-27 Yao Qi <yao@codesourcery.com>
468 * gdb.multi/dummy-frame-restore.exp: New.
469 * gdb.multi/dummy-frame-restore.c: New.
471 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
473 * gdb.btrace/gcore.exp: New.
475 2014-06-23 Pedro Alves <palves@redhat.com>
477 * gdb.base/watchpoint-reuse-slot.c: New file.
478 * gdb.base/watchpoint-reuse-slot.exp: New file.
480 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
482 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
483 progspace's filename in 'info', 'enable' and 'disable' command
486 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
488 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
489 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
490 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
492 2014-06-20 Gary Benson <gbenson@redhat.com>
494 * gdb.arch/i386-avx.exp: Fix include file location.
495 * gdb.arch/i386-sse.exp: Likewise.
497 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
499 * gdb.dlang/expression.exp: New file.
501 2014-06-19 Pedro Alves <palves@redhat.com>
503 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
505 (top level): ... here. Iterate running tests under different
506 scheduler-locking settings.
508 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
510 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
511 to DW_FORM_addr and use non-zero addresses.
513 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
516 * gdb.python/py-xmethods.cc: Add global function call counters and
517 increment them in their respective functions. Remove "cout"
519 * gdb.python/py-xmethods.exp: Make tests check the global function
520 call counters instead of depending on inferior IO.
522 2014-06-18 Don Breazeal <donb@codesourcery.com>
524 * gdb.base/foll-fork.exp (default_fork_parent_follow):
526 (explicit_fork_parent_follow): Deleted procedure.
527 (explicit_fork_child_follow): Deleted procedure.
528 (test_follow_fork): New procedure.
529 (do_fork_tests): Replace calls to deleted procedures with
530 calls to test_follow_fork and reset GDB for subsequent
533 2014-06-17 Yao Qi <yao@codesourcery.com>
535 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
538 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
540 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
541 Initialize ptr and S explicitly.
542 (skip_type_update_when_not_use_rtti_test): Likewise.
544 2014-06-16 Keith Seitz <keiths@redhat.com>
547 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
548 the inferior is started.
550 2014-06-16 Pedro Alves <palves@redhat.com>
552 * gdb.base/break-main-file-remove-fail.c: New file.
553 * gdb.base/break-main-file-remove-fail.exp: New file.
554 * gdb.base/break-unload-file.exp: Use build_executable instead of
556 (test_break): New parameter "initial_load". Handle it.
557 (top level): Add initial_load cmdline/file axis.
559 2014-06-12 Tom Tromey <tromey@redhat.com>
561 * gdb.base/completion.exp: Don't use directory name in test.
563 2014-06-09 Gary Benson <gbenson@redhat.com>
565 * gdb.base/sigall.c [Functions to send signals]: Reorder to
566 separate the always-available ANSI-standard signals from the
567 signals that require checking.
569 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
573 2014-06-07 Keith Seitz <keiths@redhat.com>
577 * gdb.cp/var-tag.cc: New file.
578 * gdb.cp/var-tag.exp: New file.
579 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
580 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
581 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
582 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
584 2014-06-06 Doug Evans <xdje42@gmail.com>
586 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
588 2014-06-06 Pedro Alves <palves@redhat.com>
590 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
591 in target debug output instead of looking at RSP packets,
592 disabling the test on any target that uses hardware stepping.
595 2014-06-06 Pedro Alves <palves@redhat.com>
597 * gdb.base/break-unload-file.exp: Fix typo.
599 2014-06-06 Yao Qi <yao@codesourcery.com>
601 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
602 from "jit_function" to "^jit_function".
604 2014-06-06 Yao Qi <yao@codesourcery.com>
606 * gdb.base/async.c (foo): Add one statement.
607 * gdb.base/async.exp: Get the next instruction address and
608 match the output of "nexti" by instruction address. Match
609 the hex address in the output of "finish".
611 2014-06-06 Gary Benson <gbenson@redhat.com>
613 * gdb.base/call-signals.c: Remove preprocessor conditionals
614 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
616 * gdb.base/sigall.c: Likewise.
617 * gdb.base/unwindonsignal.c: Likewise.
618 * gdb.reverse/sigall-reverse.c: Likewise.
620 2014-06-06 Yao Qi <yao@codesourcery.com>
622 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
623 readable, skip the test.
625 2014-06-06 Yao Qi <yao@codesourcery.com>
627 * gdb.threads/staticthreads.c (thread_function): Move the line
628 setting breakpoint on forward.
629 * gdb.threads/staticthreads.exp: Update comments.
631 2014-06-05 Ludovic Courtès <ludo@gnu.org>
633 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
634 "history-append! type error".
636 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
638 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
639 erroneous dprintf expected input.
641 2014-06-04 Doug Evans <xdje42@gmail.com>
643 * gdb.guile/scm-generics.exp: Delete.
645 2014-06-04 Doug Evans <xdje42@gmail.com>
647 * gdb.guile/scm-breakpoint.exp: Update.
648 Add tests for breakpoint registration.
650 2014-06-04 Tom Tromey <tromey@redhat.com>
652 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
654 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
655 inner_vla_struct, vla_union types. Initialize objects of those
656 types and compute their sizes.
658 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
659 Hui Zhu <hui@codesourcery.com>
661 * gdb.base/fileio.exp: Add test for shell not available as well as
663 * gdb.base/fileio.c (test_system): Check for shell twice.
665 2014-06-04 Yao Qi <yao@codesourcery.com>
667 * gdb.base/auto-connect-native-target.exp: Remove redundant
668 space from the regexp pattern.
670 2014-06-04 Yao Qi <yao@codesourcery.com>
672 * gdb.base/default.exp: Replace "child" with "native" in
675 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
677 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
678 * gdb.python/py-xmethods.exp: New tests to test xmethods.
679 * gdb.python/py-xmethods.py: Python script supporting the
680 new testcase and tests.
682 2014-06-03 Joel Brobecker <brobecker@adacore.com>
683 Pedro Alves <palves@redhat.com>
686 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
687 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
689 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
691 * gdb.base/subst.exp: Add tests to verify partial path matching
694 2014-06-03 Pedro Alves <palves@redhat.com>
696 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
697 target that doesn't use software single-stepping.
699 2014-06-03 Pedro Alves <palves@redhat.com>
702 * gdb.base/sss-bp-on-user-bp-2.c: New file.
703 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
705 2014-06-02 Doug Evans <xdje42@gmail.com>
707 * gdb.guile/scm-parameter.exp: New file.
709 2014-06-02 Doug Evans <xdje42@gmail.com>
711 * gdb.guile/scm-cmd.c: New file.
712 * gdb.guile/scm-cmd.exp: New file.
714 2014-06-02 Doug Evans <xdje42@gmail.com>
716 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
717 pretty-printer lookup.
718 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
719 (make-pp_s-printer): Call it.
720 (make-pretty-printer-from-dict): New function.
721 (lookup-pretty-printer-maker-from-dict): New function.
722 (*pretty-printer*): Simplify.
723 (make-objfile-pp_s-printer): New function.
724 (install-objfile-pretty-printers!): New function.
725 (make-progspace-pp_s-printer): New function.
726 (install-progspace-pretty-printers!): New function.
727 * gdb.guile/scm-progspace.c: New file.
728 * gdb.guile/scm-progspace.exp: New file.
730 2014-06-02 Pedro Alves <palves@redhat.com>
732 * gdb.base/dprintf-bp-same-addr.c: New file.
733 * gdb.base/dprintf-bp-same-addr.exp: New file.
735 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
737 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
738 * gdb.arch/powerpc-power.s: Likewise.
740 2014-06-02 Joel Brobecker <brobecker@adacore.com>
742 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
744 2014-06-01 Yao Qi <yao@codesourcery.com>
746 * gdb.base/watchpoint.exp (test_watch_location): Check null
747 pointer can be dereferenced. If not, do the test, otherwise
750 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
752 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
754 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
756 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
758 * gdb.arch/amd64-invalid-stack-middle.S: New file.
759 * gdb.arch/amd64-invalid-stack-middle.c: New file.
760 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
761 * gdb.arch/amd64-invalid-stack-top.c: New file.
762 * gdb.arch/amd64-invalid-stack-top.exp: New file.
764 2014-05-30 Pedro Alves <palves@redhat.com>
767 * gdb.base/sss-bp-on-user-bp.c: New file.
768 * gdb.base/sss-bp-on-user-bp.exp: New file.
770 2014-05-30 David Blaikie <dblaikie@gmail.com>
772 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
773 gnu_inline semantics via attribute.
774 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
775 source explicitly specifies the required semantics.
777 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
779 * gdb.reverse/sigall-reverse.exp: Fix a typo.
781 2014-05-29 Pedro Alves <palves@redhat.com>
782 Tom Tromey <tromey@redhat.com>
784 * gdb.base/async-shell.exp: Don't enable target-async.
786 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
788 (top level): Don't test with "target-async".
789 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
790 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
791 * gdb.base/inferior-died.exp: Don't enable target-async.
792 * gdb.base/interrupt-noterm.exp: Likewise.
793 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
794 * gdb.mi/mi-nonstop-exit.exp: Likewise.
795 * gdb.mi/mi-nonstop.exp: Likewise.
796 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
797 * gdb.mi/mi-nsintrall.exp: Likewise.
798 * gdb.mi/mi-nsmoribund.exp: Likewise.
799 * gdb.mi/mi-nsthrexec.exp: Likewise.
800 * gdb.mi/mi-watch-nonstop.exp: Likewise.
801 * gdb.multi/watchpoint-multi.exp: Adjust comment.
802 * gdb.python/py-evsignal.exp: Don't enable target-async.
803 * gdb.python/py-evthreads.exp: Likewise.
804 * gdb.python/py-prompt.exp: Likewise.
805 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
806 * gdb.server/solib-list.exp: Don't enable target-async.
807 * gdb.threads/thread-specific-bp.exp: Likewise.
808 * lib/mi-support.exp: Adjust to use mi-async.
810 2014-05-29 Pedro Alves <palves@redhat.com>
813 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
814 reason, even in sync mode.
816 2014-05-29 Pedro Alves <palves@redhat.com>
817 Hui Zhu <hui@codesourcery.com>
820 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
821 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
822 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
823 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
825 2014-05-28 Joel Brobecker <brobecker@adacore.com>
827 * config/monitor.exp (gdb_target_monitor): Replace use of
828 "set remotebaud" by "set serial baud".
830 2014-05-26 Andy Wingo <wingo@igalia.com>
832 * gdb.guile/scm-breakpoint.exp:
833 * gdb.guile/scm-gsmob.exp: Update to use plain old object
834 properties instead of gdb-object-properties.
836 2014-05-26 Yao Qi <yao@codesourcery.com>
838 * gdb.server/no-thread-db.exp: Specify source file name
839 explicitly when setting a breakpoint.
841 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
843 * gdb.btrace/vdso.c: New.
844 * gdb.btrace/vdso.exp: New.
846 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
848 * gdb.base/gcore.exp (capture_command_output): Move ...
849 * lib/gdb.exp (capture_command_output): ... here.
851 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
853 * gdb.btrace/data.exp: Test memory access during btrace replay.
855 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
857 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
859 2014-05-21 Pedro Alves <palves@redhat.com>
862 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
863 (top level): Test that output related to execution commands is
864 sent to the console with CLI commands, but not with MI commands.
865 Test that breakpoint events are always mirrored to the console.
866 Also expect the new source line to be output after a "next" in
867 async mode too. Make it a pass/fail test.
868 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
870 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
872 2014-05-21 Pedro Alves <palves@redhat.com>
874 * gdb.base/list.exp (build_pattern, test_list): New procedures.
875 Use them to test variations of "list" after reaching a breakpoint.
876 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
877 Test "list" with listsize 10 after reaching a breakpoint.
878 * gdb.python/python.exp (decode_line current location line
879 number): Adjust expected line number.
881 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
883 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
884 behavior for $args, pass it directly to "run".
886 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
888 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
891 2014-05-21 Pedro Alves <palves@redhat.com>
893 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
894 auto-connect-native-target off".
895 * gdb.base/auto-connect-native-target.c: New file.
896 * gdb.base/auto-connect-native-target.exp: New file.
898 2014-05-21 Pedro Alves <palves@redhat.com>
900 * gdb.base/default.exp: Test "target native" instead of "target
903 2014-05-21 Mark Wielaard <mjw@redhat.com>
905 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
907 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
909 Fix TLS access for -static -pthread.
910 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
911 <HAVE_TLS> (thread_function, main): Initialize it.
912 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
914 <$have_tls != "">: Check TLSVAR.
916 2014-05-21 Pedro Alves <palves@redhat.com>
918 * gdb.base/dcache-line-read-error.c: New.
919 * gdb.base/dcache-line-read-error.exp: New.
921 2014-05-20 Pedro Alves <palves@redhat.com>
923 * gdb.base/compare-sections.c: New file.
924 * gdb.base/compare-sections.exp: New file.
926 2014-05-20 Pedro Alves <palves@redhat.com>
928 * gdb.base/break-idempotent.c: New file.
929 * gdb.base/break-idempotent.exp: New file.
931 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
933 * gdb.btrace/nohist.exp: New.
935 2014-05-20 Yao Qi <yao@codesourcery.com>
937 * lib/gdb.exp (gdb_init): Set timeout if test file is under
938 gdb.reverse directory and gdb_reverse_timeout exists in board
940 * README: Document gdb_reverse_timeout.
942 2014-05-20 Yao Qi <yao@codesourcery.com>
944 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
945 'test_file_name'. Treat args as a string instead of a list.
946 (gdb_init): Rename argument 'args' by 'test_file_name'.
948 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
950 * gdb.arch/powerpc-power.exp: New file.
951 * gdb.arch/powerpc-power.s: New file.
953 2014-05-16 Doug Evans <dje@google.com>
955 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
956 * gdb.base/completion.exp: Check that all expected files exist
957 before doing file completion.
959 2014-05-16 Doug Evans <dje@google.com>
961 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
963 (do_syscall_tests_without_xml): Update.
965 2014-05-16 Pedro Alves <palves@redhat.com>
967 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
968 instead of "unknown output after running".
970 2014-05-16 Yao Qi <yao@codesourcery.com>
972 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
973 file1.txt from host at the end.
974 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
976 2014-05-15 Doug Evans <dje@google.com>
978 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
979 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
980 loading file. Add test for TU lookup.
982 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
984 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
985 calling "-exec-arguments" or "set args" before running the
988 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
990 * lib/mi-support.exp (mi_expect_stop): Expect message for
991 inferiors that exit with non-zero exit code.
993 2014-05-14 Yao Qi <yao@codesourcery.com>
995 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
996 match absolute path on remote host.
997 (test_file_list_exec_source_files): Remove "/" from the
1000 2014-05-14 Yao Qi <yao@codesourcery.com>
1002 * boards/local-remote-host-notty.exp (${board}_file): New
1005 2014-05-07 Kyle McMartin <kyle@redhat.com>
1007 Pushed by Joel Brobecker <brobecker@adacore.com>.
1008 * gdb.arch/aarch64-atomic-inst.c: New file.
1009 * gdb.arch/aarch64-atomic-inst.exp: New file.
1011 2014-05-07 Yao Qi <yao@codesourcery.com>
1013 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
1014 in current context" too.
1016 2014-05-05 Keith Seitz <keiths@redhat.com>
1018 * gdb.linespec/ls-dollar.exp: Add test for linespec
1019 file:convenience_variable.
1021 2014-05-05 Yao Qi <yao@codesourcery.com>
1023 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
1024 traceframes into tfile and ctf trace files. Read data from
1025 trace file and test collected data.
1026 (gdb_collect_locals_test): Likewise.
1027 (gdb_unavailable_registers_test): Likewise.
1028 (gdb_unavailable_floats): Likewise.
1029 (gdb_collect_globals_test): Likewise.
1030 (top-level): Append "ctf" to trace_file_targets if GDB
1033 2014-05-05 Yao Qi <yao@codesourcery.com>
1035 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
1037 (gdb_collect_args_test_1): ... it. New proc.
1038 (gdb_collect_locals_test): Move some code to ...
1039 (gdb_collect_locals_test_1): ... it. New proc.
1040 (gdb_unavailable_registers_test): Move some code to ...
1041 (gdb_unavailable_registers_test_1): ... it. New proc.
1042 (gdb_unavailable_floats): Move some code to ...
1043 (gdb_unavailable_floats_1): ... it. New proc.
1045 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1047 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
1048 probes to test for bitness recognition.
1049 * gdb.arch/amd64-stap-optional-prefix.exp
1050 (test_probe_value_without_reg): New procedure.
1051 Add code to test for different kinds of bitness.
1053 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1055 PR breakpoints/16889
1056 * gdb.arch/amd64-stap-optional-prefix.S: New file.
1057 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1059 2014-05-01 Pedro Alves <palves@redhat.com>
1061 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
1062 gdb_file_cmd if no file is specified.
1063 * boards/native-extended-gdbserver.exp (gdb_load): Use the
1064 last_loaded_file to set the remote exec-file.
1066 2014-05-01 Pedro Alves <palves@redhat.com>
1068 * boards/local-remote-host.exp: New file.
1070 2014-05-01 Pedro Alves <palves@redhat.com>
1072 * boards/local-remote-host.exp: Rename to ...
1073 * boards/local-remote-host-notty.exp: ... this.
1075 2014-04-28 Joel Brobecker <brobecker@adacore.com>
1077 * gdb.ada/dyn_arrayidx: New testcase.
1079 2014-04-26 Yao Qi <yao@codesourcery.com>
1081 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
1082 and compute the length of function main. Save it in
1084 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
1085 (top-level): Use gdb_compile to compile objects into
1086 executable and restart GDB. Remove invocation to
1087 prepare_for_testing.
1089 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
1090 Pedro Alves <palves@redhat.com>
1093 * gdb.multi/multi-attach.c: New file.
1094 * gdb.multi/multi-attach.exp: New file.
1096 2014-04-25 Pedro Alves <palves@redhat.com>
1098 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
1100 (top level): Test that "set remote conditional-breakpoints-packet
1101 off" works as intended.
1102 * gdb.base/dprintf.exp: Test that "set remote
1103 breakpoint-commands-packet off" works as intended.
1104 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
1106 (top level): Call it.
1107 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
1108 remote fast-tracepoints-packet off" works as intended.
1109 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
1110 * lib/gdb.exp (gdb_is_target_remote): ... here.
1112 2014-04-24 David Blaikie <dblaikie@gmail.com>
1114 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
1115 ensure clang would not discard them.
1116 * gdb.base/gdbvars.c: Ditto.
1117 * gdb.base/memattr.c: Ditto.
1118 * gdb.base/whatis.c: Ditto.
1119 * gdb.python/py-prettyprint.c: Ditto.
1120 * gdb.trace/actions.c: Ditto.
1121 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
1122 ensure clang would not discard it.
1124 2014-04-24 David Blaikie <dblaikie@gmail.com>
1126 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
1127 clang to emit the full definition of type required by the test
1128 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
1130 2014-04-24 David Blaikie <dblaikie@gmail.com>
1132 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
1133 coax Clang into emitting the definition of the type.
1134 * gdb.cp/pr10728-x.h (y): Ditto.
1135 * gdb.cp/pr10728-y.cc (y): Ditto.
1137 2014-04-24 David Blaikie <dblaikie@gmail.com>
1139 * gdb.base/label.exp: XFAIL label related tests under Clang.
1140 * gdb.cp/cplabel.exp: Ditto.
1141 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
1142 under Clang those using labels.
1144 2014-04-25 Yao Qi <yao@codesourcery.com>
1146 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
1148 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
1149 partial_label and double_label.
1151 2014-04-24 David Blaikie <dblaikie@gmail.com>
1153 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
1155 2014-04-24 David Blaikie <dblaikie@gmail.com>
1157 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
1158 of the function to work across GCC and Clang.
1159 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
1160 pointer types (const void ** const V void **).
1162 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
1163 Walfred Tedeschi <walfred.tedeschi@intel.com>
1165 * Makefile.in (EXECUTABLES): Added i386-avx512.
1166 * gdb.arch/i386-avx512.c: New file.
1167 * gdb.arch/i386-avx512.exp: Likewise.
1169 2014-04-23 Keith Seitz <keiths@redhat.com>
1171 * lib/mi-support.exp (mi_list_breakpoints): Delete.
1172 (mi_make_breakpoint_table): New procedure.
1173 (mi_create_breakpoint): Use mi_make_breakpoint
1174 and return the result.
1175 (mi_make_breakpoint): New procedure.
1176 (mi_build_kv_pairs): New procedure.
1178 * gdb.mi/mi-break.exp: Remove unused globals,
1179 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
1180 All callers updated.
1181 * gdb.mi/mi-dprintf.exp: Use variable to track command
1183 Update all callers of mi_create_breakpoint and use
1184 mi_make_breakpoint_table.
1185 Remove any unused global variables.
1186 * gdb.mi/mi-nonstop.exp: Likewise.
1187 * gdb.mi/mi-nsintrall.exp: Likewise.
1188 * gdb.mi/mi-nsmoribund.exp: Likewise.
1189 * gdb.mi/mi-nsthrexec.exp: Likewise.
1190 * gdb.mi/mi-reverse.exp: Likewise.
1191 * gdb.mi/mi-simplerun.exp: Likewise.
1192 * gdb.mi/mi-stepn.exp: Likewise.
1193 * gdb.mi/mi-syn-frame.exp: Likewise.
1194 * gdb.mi/mi-until.exp: Likewise.
1195 * gdb.mi/mi-var-cp.exp: Likewise.
1196 * gdb.mi/mi-var-display.exp: Likewise.
1197 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1198 * gdb.mi/mi2-var-child.exp: Likewise.
1199 * gdb.mi/mi-vla-c99.exp: Likewise.
1200 * lib/mi-support.exp: Likewise.
1202 From Ian Lance Taylor <iant@cygnus.com>:
1203 * lib/gdb.exp (parse_args): New procedure.
1205 2014-04-23 Pedro Alves <palves@redhat.com>
1207 * gdb.base/break-unload-file.c: New file.
1208 * gdb.base/break-unload-file.exp: New file.
1209 * gdb.base/sym-file-lib.c (baz): New function.
1210 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
1212 (load): Store the segment's mapped size.
1213 (unload): New function.
1214 (unload_shlib): New function.
1215 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
1216 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
1217 set a breakpoint at baz, and call it.
1218 * gdb.base/sym-file.exp: New tests for stale breakpoint
1221 2014-04-23 Pedro Alves <palves@redhat.com>
1223 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
1224 * gdb.base/hbreak-in-shr-unsupported.c: New file.
1225 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
1226 * gdb.base/hbreak-unmapped.c: New file.
1227 * gdb.base/hbreak-unmapped.exp: New file.
1228 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
1229 * lib/gdb.exp (gdb_is_target_remote): ... here.
1231 2014-04-22 Pedro Alves <palves@redhat.com>
1233 * gdb.base/consecutive-step-over.c: New file.
1234 * gdb.base/consecutive-step-over.exp: New file.
1236 2014-04-22 Pedro Alves <palves@redhat.com>
1238 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
1239 instead of send_gdb/gdb_expect.
1241 2014-04-22 Yao Qi <yao@codesourcery.com>
1243 * lib/trace-support.exp (generate_tracefile): New procedure.
1244 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
1246 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
1247 if generate_tracefile returns 1.
1249 2014-04-18 Tom Tromey <palves@redhat.com>
1250 Pedro alves <tromey@redhat.com>
1253 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
1254 with a backtrace limit.
1255 * gdb.python/py-frame-inline.exp: Test running to an inline
1256 function with a backtrace limit, and printing the newest frame.
1257 * gdb.python/py-frame-inline.c (main): Call f.
1259 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1261 * gdb.java/jnpe.exp: Drop srcdir from untested path.
1263 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1265 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
1266 Drop prefix from unsupported source file path.
1268 2014-04-17 Yao Qi <yao@codesourcery.com>
1270 * lib/gdb.exp (with_target_charset): New proc.
1271 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
1272 with_target_charset.
1273 (test_print_strings): Likewise.
1274 (test_repeat_bytes): Likewise.
1275 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
1278 2014-04-16 Keith Seitz <keiths@redhat.com>
1281 * gdb.dwarf2/corrupt.c: New file.
1282 * gdb.dwarf2/corrupt.exp: New file.
1284 2014-04-16 Keith Seitz <keiths@redhat.com>
1287 * gdb.cp/namelessclass.cc: New file.
1288 * gdb.cp/namelessclass.exp: New file.
1289 * gdb.cp/namelessclass.S: New file.
1291 2014-04-16 Doug Evans <dje@google.com>
1293 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
1295 (gdbserver_default_get_comm_port): New function.
1296 (gdbserver_start): Check if board file provided
1297 "gdbserver,get_comm_port" and use it if so.
1298 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
1299 (gdb,socketport): Set to "stdio".
1300 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
1301 (stdio_gdbserver_template): Delete.
1302 (${board}_get_remote_address): Update.
1303 (${board}_build_remote_cmd): Delete.
1304 (${board}_get_comm_port): New function.
1305 (${board}_spawn): Update.
1306 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
1308 (${board}_get_remote_address): Update.
1309 (${board}_get_comm_port): New function.
1311 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
1313 * gdb.base/memattr.exp: Improve regexps to handle memory regions
1314 appearing in any order.
1316 2014-04-15 Doug Evans <dje@google.com>
1318 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
1319 uninitialized value of "description".
1321 2014-04-15 Keith Seitz <keiths@redhat.com>
1323 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
1324 Remove unused globals.
1325 (test_running_the_program): Likewise.
1326 (test_controlled_execution): Likewise.
1327 (test_controlling_breakpoints): Likewise.
1328 (test_program_termination): Likewise.
1330 2014-04-15 Keith Seitz <keiths@redhat.com>
1332 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
1334 (test_rbreak_creation_and_listing): Likewise.
1335 (test_ignore_count): Likewise.
1336 (test_error): Likewise.
1338 2014-04-15 Pedro Alves <palves@redhat.com>
1340 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
1341 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
1343 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1344 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1345 to sym-file-loader.c.
1346 (struct library): Forward declare.
1347 (load_shlib, lookup_function): Change prototypes.
1348 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1349 (translate_offset): Remove declarations.
1350 (get_text_addr): New declaration.
1351 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
1352 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
1354 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1355 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1356 here from sym-file-loader.h.
1357 (struct library): New structure.
1358 (load_shlib, lookup_function): Change prototypes and adjust to
1359 work with a struct library.
1360 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1361 (translate_offset): Make static.
1362 (get_text_addr): New function.
1363 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
1365 2014-04-15 Pedro Alves <palves@redhat.com>
1367 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
1369 2014-04-15 Pedro Alves <palves@redhat.com>
1371 * gdb.base/sym-file-loader.c: Include <limits.h>.
1372 (SELF_LINK): New define.
1373 (get_origin): New function.
1374 (load_shlib): Use it.
1375 * gdb.base/sym-file.exp: Don't early return if the target is
1376 remote. Use runto_main, and issue fail is that fails. Use
1378 (shlib_name): Delete.
1379 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
1381 2014-04-15 Pedro Alves <palves@redhat.com>
1383 * gdb.base/sym-file.exp: Remove regex characters from test
1384 message. Don't refer to breakpoint numbers in test messages.
1386 2014-04-14 Keith Seitz <keiths@redhat.com>
1389 * gdb.cp/var-tag.cc: New file.
1390 * gdb.cp/var-tag.exp: New file.
1391 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1392 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1393 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1394 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1396 2014-04-14 Tom Tromey <tromey@redhat.com>
1398 * gdb.cp/classes.exp (test_enums): Handle underlying type.
1399 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
1401 * gdb.cp/enum-class.exp: New file.
1402 * gdb.cp/enum-class.cc: New file.
1404 2014-04-14 Tom Tromey <tromey@redhat.com>
1406 * gdb.dwarf2/enum-type.exp: New file.
1408 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1410 * gdb.mi/mi-vla-c99.exp: New file.
1411 * gdb.mi/vla.c: New file.
1413 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1415 * gdb.base/vla-datatypes.c: New file.
1416 * gdb.base/vla-datatypes.exp: New file.
1418 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1420 * gdb.base/vla-ptr.c: New file.
1421 * gdb.base/vla-ptr.exp: New file.
1423 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1425 * gdb.dwarf2/count.exp: New file.
1427 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1429 * gdb.base/vla-sideeffect.c: New file.
1430 * gdb.base/vla-sideeffect.exp: New file.
1432 2014-04-14 David Blaikie <dblaikie@gmail.com>
1434 * gdb.mi/non-stop.c: Add return value for non-void function return
1436 * gdb.threads/staticthreads.c: Ditto.
1438 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
1439 Doug Evans <xdje42@gmail.com>
1441 * gdb.guile/scm-value.c: Improve test case.
1442 * gdb.guile/scm-value.exp: Add new test.
1444 2014-04-11 David Blaikie <dblaikie@gmail.com>
1446 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
1447 override Clang's default.
1449 2014-04-11 Joel Brobecker <brobecker@adacore.com>
1451 Revert the following changes (regressions):
1453 * gdb.base/vla-sideeffect.c: New file.
1454 * gdb.base/vla-sideeffect.exp: New file.
1456 * gdb.dwarf2/count.exp: New file.
1458 * gdb.base/vla-multi.c: New file.
1459 * gdb.base/vla-multi.exp: New file.
1461 * gdb.base/vla-ptr.c: New file.
1462 * gdb.base/vla-ptr.exp: New file.
1464 * gdb.base/vla-datatypes.c: New file.
1465 * gdb.base/vla-datatypes.exp: New file.
1467 * gdb.mi/mi-vla-c99.exp: New file.
1468 * gdb.mi/vla.c: New file.
1470 2014-04-11 Keith Seitz <keiths@redhat.com>
1473 * gdb.cp/cpsizeof.exp: New file.
1474 * gdb.cp/cpsizeof.cc: New file.
1476 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1478 * gdb.mi/mi-vla-c99.exp: New file.
1479 * gdb.mi/vla.c: New file.
1481 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1483 * gdb.base/vla-datatypes.c: New file.
1484 * gdb.base/vla-datatypes.exp: New file.
1486 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1488 * gdb.base/vla-ptr.c: New file.
1489 * gdb.base/vla-ptr.exp: New file.
1491 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1493 * gdb.base/vla-multi.c: New file.
1494 * gdb.base/vla-multi.exp: New file.
1496 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1498 * gdb.dwarf2/count.exp: New file.
1500 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1502 * gdb.base/vla-sideeffect.c: New file.
1503 * gdb.base/vla-sideeffect.exp: New file.
1505 2014-04-11 Yao Qi <yao@codesourcery.com>
1507 * gdb.base/completion.exp: Check file exists before running tests
1510 2014-04-10 Pedro Alves <palves@redhat.com>
1512 * gdb.base/cond-eval-mode.c: New file.
1513 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
1514 prepare_for_testing to build the new file. Check result of
1516 (test_break, test_watch): New procedures.
1517 (top level): Use them.
1519 2014-04-08 Pierre Muller <muller@sourceware.org>
1521 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
1522 Ctrl-V use for mingw hosts.
1524 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
1526 * gdb.python/py-value.c: Improve test case.
1527 * gdb.python/py-value.exp: Add new test.
1529 2014-04-07 David Blaikie <dblaikie@gmail.com>
1531 * lib/compiler.c: Identify the clang compiler.
1532 * lib/compiler.cc: Ditto.
1534 2014-04-03 Yao Qi <yao@codesourcery.com>
1536 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
1538 2014-04-01 Anton Blanchard <anton@samba.org>
1540 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
1543 2014-04-01 Anton Blanchard <anton@samba.org>
1545 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
1546 prepare_for_testing.
1548 2014-04-01 Anton Blanchard <anton@samba.org>
1550 * gdb.arch/ppc64-atomic-inst.c: Remove.
1551 * gdb.arch/ppc64-atomic-inst.S: New file.
1552 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
1554 2014-03-31 Doug Evans <dje@google.com>
1556 * gdb.base/print-symbol-loading-lib.c: New file.
1557 * gdb.base/print-symbol-loading-main.c: New file.
1558 * gdb.base/print-symbol-loading.exp: New file.
1560 2014-03-31 Yao Qi <yao@codesourcery.com>
1562 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
1564 2014-03-28 Joel Brobecker <brobecker@adacore.com>
1566 * gdb.ada/mi_dyn_arr: New testcase.
1568 2014-03-27 Doug Evans <dje@google.com>
1570 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
1572 2014-03-27 Yao Qi <yao@codesourcery.com>
1574 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
1575 if target is nios2-*-*.
1577 2014-03-26 Yao Qi <yao@codesourcery.com>
1579 * lib/gdb.exp (readline_is_used): New proc.
1580 * gdb.base/completion.exp: Move tests on command complete up.
1581 Skip the rest of tests if readline is not used.
1582 * gdb.ada/complete.exp: Skp the test if readline is not
1584 * gdb.base/filesym.exp: Likewise.
1585 * gdb.base/macscp.exp: Likewise.
1586 * gdb.base/readline-ask.exp: Likewise.
1587 * gdb.base/readline.exp: Likewise.
1588 * gdb.python/py-cmd.exp: Likewise.
1589 * gdb.trace/tfile.exp: Likewise.
1591 2014-03-26 Yao Qi <yao@codesourcery.com>
1593 * gdb.base/macscp.exp: Fix code format issues.
1595 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
1597 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
1598 * gdb.asm/powerpc64le.inc: New file.
1600 2014-03-25 Pedro Alves <palves@redhat.com>
1601 Doug Evans <dje@google.com>
1603 * gdb.base/source-execution.c: New file.
1604 * gdb.base/source-execution.exp: New file.
1605 * gdb.base/source-execution.gdb: New file.
1607 2014-03-24 Doug Evans <dje@google.com>
1609 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
1612 2014-03-24 Hui Zhu <hui@codesourcery.com>
1613 Pedro Alves <palves@redhat.com>
1615 PR breakpoints/16101
1616 * gdb.base/dprintf.exp: Use unsupported rather than changing the
1617 test pass/fail messages. Detect missing support for dprintf when
1618 breakpoints are actually inserted.
1619 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
1620 breakpoints are actually inserted.
1621 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
1624 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1626 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
1628 2014-03-22 Doug Evans <xdje42@gmail.com>
1630 * gdb.python/python.exp (python not supported): Verify multi-line
1631 python command issues an error.
1632 * gdb.guile/guile.exp (guile not supported): Verify multi-line
1633 guile command issues an error.
1635 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
1637 * gdb.threads/thread-specific.exp: Handle the lack of usable
1638 $this_breakpoint and $this_thread.
1640 2014-03-21 Hui Zhu <hui@codesourcery.com>
1642 * gdb.base/attach.exp (do_command_attach_tests): New.
1644 2014-03-20 Tom Tromey <tromey@redhat.com>
1645 Pedro Alves <palves@redhat.com>
1648 * gdb.base/condbreak-call-false.c: New file.
1649 * gdb.base/condbreak-call-false.exp: New file.
1651 2014-03-20 Pedro Alves <palves@redhat.com>
1653 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
1655 (block_signals, unblock_signals): Delete.
1656 (child_function_2, main): Remove references to deleted variable
1659 2014-03-20 Pedro Alves <palves@redhat.com>
1661 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
1662 Use pthread_kill to signal thread 2.
1663 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1664 Adjust to make the test send itself a signal rather than using the
1665 host's "kill" command.
1667 2014-03-20 Pedro Alves <palves@redhat.com>
1669 * gdb.threads/multiple-step-overs.c: New file.
1670 * gdb.threads/multiple-step-overs.exp: New file.
1671 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1672 Adjust expected infrun debug output.
1674 2014-03-20 Pedro Alves <palves@redhat.com>
1676 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
1677 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
1679 2014-03-20 Pedro Alves <palves@redhat.com>
1682 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
1683 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
1684 of gdb_test_multiple.
1685 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
1686 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
1688 2014-03-20 Pedro Alves <palves@redhat.com>
1690 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
1691 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
1693 2014-03-19 Pedro Alves <palves@redhat.com>
1695 * gdb.base/async.exp: Remove early return.
1697 2014-03-19 Pedro Alves <palves@redhat.com>
1699 * gdb.base/async.exp (step& tests): Pass explicit test messages.
1701 2014-03-19 Pedro Alves <palves@redhat.com>
1703 * gdb.base/async.exp (test_background): Expect \r\n after
1704 "completed." in the fail pattern.
1706 2014-03-19 Pedro Alves <palves@redhat.com>
1708 * gdb.base/async.exp (test_background): New procedure.
1709 Use it for all background execution command tests.
1711 2014-03-19 Pedro Alves <palves@redhat.com>
1713 * gdb.base/async.exp: Use prepare_for_testing.
1715 2014-03-19 Pedro Alves <palves@redhat.com>
1717 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
1720 2014-03-19 Pedro Alves <palves@redhat.com>
1722 * gdb.base/async.c (main): Add "jump here" and "until here" line
1724 * gdb.base/async.exp (jump_here): New global.
1725 (jump& test): Use it.
1726 (until_here): New global.
1727 (until& test): Use it.
1729 2014-03-19 Pedro Alves <palves@redhat.com>
1731 * gdb.base/async.exp: Don't frob gdb_protocol.
1733 2014-03-18 Doug Evans <xdje42@gmail.com>
1735 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
1736 Fix spelling of exec-done-display.
1738 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1741 * gdb.base/gdb-sigterm.c: New file.
1742 * gdb.base/gdb-sigterm.exp: New file.
1744 2014-03-18 Pedro Alves <palves@redhat.com>
1747 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
1748 * lib/mi-support.exp (mi_expect_stop): Add special handling for
1751 2014-03-17 Joel Brobecker <brobecker@adacore.com>
1753 * gdb.ada/pckd_arr_ren: New testcase.
1755 2014-03-13 Doug Evans <xdje42@gmail.com>
1758 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
1759 collect after discarding symbols.
1761 2014-03-13 Ludovic Courtès <ludo@gnu.org>
1762 Doug Evans <xdje42@gmail.com>
1764 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
1765 to history survives a gc.
1767 2014-03-13 Pedro Alves <palves@redhat.com>
1769 * gdb.base/default.exp: Don't test "target procfs".
1771 2014-03-13 Pedro Alves <palves@redhat.com>
1773 * gdb.base/default.exp: Update "target child" and "target procfs"
1774 tests to not expect "Unix".
1776 2014-03-12 Tom Tromey <tromey@redhat.com>
1778 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
1779 New procs. Add target-async tests.
1780 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
1781 Add target-async tests.
1783 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1785 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
1786 'func_start' and 'func_end' for the beginning and end of the
1787 function code, respectively.
1788 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
1789 'func_end' instead of 'func' and 'main'.
1791 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1793 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
1794 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
1795 generate the debug info assembler source.
1797 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1799 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
1800 * gdb.dwarf2/arr-subrange.exp: Likewise.
1801 * gdb.dwarf2/dwz.exp: Likewise.
1802 * gdb.dwarf2/method-ptr.exp: Likewise.
1803 * gdb.dwarf2/missing-sig-type.exp: Likewise.
1804 * gdb.dwarf2/subrange.exp: Likewise.
1805 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
1806 * gdb.dwarf2/implptrpiece.exp: Likewise.
1807 * gdb.dwarf2/nostaticblock.exp: Likewise.
1809 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1811 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
1812 directory to absolute path name arguments.
1814 2014-03-10 Joel Brobecker <brobecker@adacore.com>
1816 * gdb.ada/tagged_access: New testcase.
1818 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
1820 * gdb.btrace/data.exp: Update expected output.
1822 2014-03-06 Yao Qi <yao@codesourcery.com>
1824 * gdb.trace/pr16508.exp: New file.
1826 2014-03-05 Pedro Alves <palves@redhat.com>
1829 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
1831 (top level): Adjust to use it. Add tests that exercise breakpoint
1832 interaction with the code-cache.
1834 2014-02-26 Ludovic Courtès <ludo@gnu.org>
1836 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
1837 test for 'history-append!'.
1839 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1841 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
1842 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
1843 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
1844 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
1845 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
1846 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
1848 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1850 * testsuite/gdb.python/py-pp-re-notag.c: New file.
1851 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
1852 * testsuite/gdb.python/py-pp-re-notag.p: New file.
1854 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1856 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
1858 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1860 * gdb.dwarf2/arr-stride.c: New file.
1861 * gdb.dwarf2/arr-stride.exp: New file.
1863 2014-02-26 Pedro Alves <palves@redhat.com>
1865 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
1866 that won't ever trigger. Make sure that GDB reports the correct
1867 breakpoint that caused the stop.
1869 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1872 * gdb.base/auto-load-script: New file.
1873 * gdb.base/auto-load.c: New file.
1874 * gdb.base/auto-load.exp: New file.
1877 * gdb.base/auto-load.exp: Fix out-of-srctree run.
1879 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1881 Fix dw2-icycle.exp -fsanitize=address GDB crash.
1882 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
1884 2014-02-24 Doug Evans <dje@google.com>
1886 * lib/gdb.exp (run_on_host): Log error output if program fails.
1888 2014-02-21 Pedro Alves <palves@redhat.com>
1890 * gdb.threads/step-after-sr-lock.c: Rename to ...
1891 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
1892 * gdb.threads/step-after-sr-lock.exp: Rename to ...
1893 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1896 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1899 * gdb.arch/amd64-stap-special-operands.exp: New file.
1900 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
1901 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
1902 * gdb.arch/amd64-stap-triplet.S: Likewise.
1903 * gdb.arch/amd64-stap-triplet.c: Likewise.
1905 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1907 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
1908 in .section pseudo-op.
1910 2014-02-20 lin zuojian <manjian2006@gmail.com>
1911 Joel Brobecker <brobecker@adacore.com>
1912 Doug Evans <xdje42@gmail.com>
1915 * gdb.dwarf2/dw2-icycle.S: New file.
1916 * gdb.dwarf2/dw2-icycle.c: New file.
1917 * gdb.dwarf2/dw2-icycle.exp: New file.
1919 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1921 * gdb.python/py-value-cc.cc: Improve test case to enable testing
1922 operations on gdb.Value objects.
1923 * gdb.python/py-value-cc.exp: Add new test to test operations on
1926 2014-02-18 Doug Evans <dje@google.com>
1928 * Makefile.in (TESTS): New variable.
1929 (expanded_tests, expanded_tests_or_none): New variables
1930 (check-single): Pass $(expanded_tests_or_none) to runtest.
1931 (check-parallel): Only run tests in $(TESTS) if non-empty.
1932 (check/no-matching-tests-found): New rule.
1933 * README: Document TESTS makefile variable.
1935 2014-02-18 Doug Evans <dje@google.com>
1937 * Makefile.in (check-parallel): rm -rf outputs temp.
1939 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1941 Fix "ERROR: no fileid for" in the testsuite.
1942 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
1944 2014-02-12 Doug Evans <dje@google.com>
1946 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
1947 (MISCELLANEOUS): New variable.
1948 (clean): rm -rf $(MISCELLANEOUS).
1949 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
1950 dwp live in the same directory as symlinks, with each symlink pointed
1951 to a differently named file in a different directory.
1953 2014-02-11 Doug Evans <dje@google.com>
1955 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
1956 of Tcl file commands.
1958 2014-02-10 Mark Kettenis <kettenis@gnu.org>
1960 * gdb.threads/step-after-sr-lock.exp: Avoid executing
1963 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1965 * gdb.ada/tick_length_array_enum_idx: New testcase.
1967 2014-02-10 Doug Evans <xdje42@gmail.com>
1969 * configure.ac (AC_OUTPUT): Add gdb.guile.
1970 * configure: Regenerate.
1971 * lib/gdb-guile.exp: New file.
1972 * lib/gdb.exp (get_target_charset): New function.
1973 * gdb.base/help.exp: Update expected output from "apropos apropos".
1974 * gdb.guile/Makefile.in: New file.
1975 * gdb.guile/guile.exp: New file.
1976 * gdb.guile/scm-arch.c: New file.
1977 * gdb.guile/scm-arch.exp: New file.
1978 * gdb.guile/scm-block.c: New file.
1979 * gdb.guile/scm-block.exp: New file.
1980 * gdb.guile/scm-breakpoint.c: New file.
1981 * gdb.guile/scm-breakpoint.exp: New file.
1982 * gdb.guile/scm-disasm.c: New file.
1983 * gdb.guile/scm-disasm.exp: New file.
1984 * gdb.guile/scm-equal.c: New file.
1985 * gdb.guile/scm-equal.exp: New file.
1986 * gdb.guile/scm-error.exp: New file.
1987 * gdb.guile/scm-error.scm: New file.
1988 * gdb.guile/scm-frame-args.c: New file.
1989 * gdb.guile/scm-frame-args.exp: New file.
1990 * gdb.guile/scm-frame-args.scm: New file.
1991 * gdb.guile/scm-frame-inline.c: New file.
1992 * gdb.guile/scm-frame-inline.exp: New file.
1993 * gdb.guile/scm-frame.c: New file.
1994 * gdb.guile/scm-frame.exp: New file.
1995 * gdb.guile/scm-generics.exp: New file.
1996 * gdb.guile/scm-gsmob.exp: New file.
1997 * gdb.guile/scm-iterator.c: New file.
1998 * gdb.guile/scm-iterator.exp: New file.
1999 * gdb.guile/scm-math.c: New file.
2000 * gdb.guile/scm-math.exp: New file.
2001 * gdb.guile/scm-objfile-script-gdb.in: New file.
2002 * gdb.guile/scm-objfile-script.c: New file.
2003 * gdb.guile/scm-objfile-script.exp: New file.
2004 * gdb.guile/scm-objfile.c: New file.
2005 * gdb.guile/scm-objfile.exp: New file.
2006 * gdb.guile/scm-ports.exp: New file.
2007 * gdb.guile/scm-pretty-print.c: New file.
2008 * gdb.guile/scm-pretty-print.exp: New file.
2009 * gdb.guile/scm-pretty-print.scm: New file.
2010 * gdb.guile/scm-section-script.c: New file.
2011 * gdb.guile/scm-section-script.exp: New file.
2012 * gdb.guile/scm-section-script.scm: New file.
2013 * gdb.guile/scm-symbol.c: New file.
2014 * gdb.guile/scm-symbol.exp: New file.
2015 * gdb.guile/scm-symtab-2.c: New file.
2016 * gdb.guile/scm-symtab.c: New file.
2017 * gdb.guile/scm-symtab.exp: New file.
2018 * gdb.guile/scm-type.c: New file.
2019 * gdb.guile/scm-type.exp: New file.
2020 * gdb.guile/scm-value-cc.cc: New file.
2021 * gdb.guile/scm-value-cc.exp: New file.
2022 * gdb.guile/scm-value.c: New file.
2023 * gdb.guile/scm-value.exp: New file.
2024 * gdb.guile/source2.scm: New file.
2025 * gdb.guile/types-module.cc: New file.
2026 * gdb.guile/types-module.exp: New file.
2028 2014-02-10 Yao Qi <yao@codesourcery.com>
2031 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
2032 * configure: Regenerated.
2033 * Makefile.in: New file.
2035 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2037 * gdb.python/py-framefilter.exp: Fix typo.
2039 2014-02-08 Yao Qi <yao@codesourcery.com>
2041 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
2042 that no =breakpoint-modified is emitted when breakpoints are
2043 modified through MI commands.
2045 2014-02-07 Pedro Alves <pedro@codesourcery.com>
2046 Pedro Alves <palves@redhat.com>
2048 * gdb.threads/step-after-sr-lock.c: New file.
2049 * gdb.threads/step-after-sr-lock.exp: New file.
2051 2014-02-07 Pedro Alves <palves@redhat.com>
2053 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
2055 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2057 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
2058 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
2060 2014-02-06 Doug Evans <xdje42@gmail.com>
2062 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
2065 * gdb.gdb/python-interrupts.exp: New file.
2067 2014-02-05 Yao Qi <yao@codesourcery.com>
2069 * gdb.trace/report.exp (use_collected_data): Test the output
2070 of "info threads" and "info inferiors".
2072 2014-02-05 Yao Qi <yao@codesourcery.com>
2076 2013-05-24 Yao Qi <yao@codesourcery.com>
2078 * gdb.trace/tfile.exp: Test inferior and thread.
2080 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2082 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
2084 * gdb.base/step-bt.c: Call hello via function pointer to make
2085 sure its first instruction is executed on powerpc64le-linux.
2087 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2089 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
2091 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2093 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
2094 of the test patterns for use on little-endian systems.
2096 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2098 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
2099 (decimal_vector): Fix for little-endian.
2101 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2103 * gdb.arch/sparc-sysstep.exp: New file.
2104 * gdb.arch/sparc-sysstep.c: Likewise.
2106 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
2108 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2110 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
2112 2014-01-23 Tom Tromey <tromey@redhat.com>
2114 * gdb.ada/array_char_idx: New testcase.
2116 2014-01-23 Tom Tromey <tromey@redhat.com>
2119 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
2120 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
2123 2014-01-23 Tom Tromey <tromey@redhat.com>
2126 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
2127 string from an inferior frame.
2128 * gdb.python/py-framefilter-mi.exp: Update.
2130 2014-01-22 Doug Evans <dje@google.com>
2132 * gdb.server/server-mon.exp: Add tests for "set debug-format".
2134 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2136 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
2138 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2140 * gdb.trace/entry-values.exp: Remove excess space character from
2141 regex patterns. Handle s390 call instruction.
2143 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2145 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
2146 define "*_start" label. Make "name" static.
2147 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
2148 ${name} by references to ${name}_start.
2150 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2152 * gdb.base/info-macros.exp: Remove "debug" from the compile
2155 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2157 * gdb.dlang/demangle.exp: New file.
2159 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2161 * gdb.dlang/primitive-types.exp: New file.
2163 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2165 * configure.ac: Create gdb.dlang/Makefile.
2166 * configure: Regenerate.
2167 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
2168 * gdb.dlang/Makefile.in: New file.
2169 * lib/d-support.exp: New file.
2170 * lib/gdb.exp (skip_d_tests): New proc.
2172 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2174 * gdb.btrace/delta.exp: Check reverse stepi.
2175 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
2176 * gdb.btrace/finish.exp: New.
2177 * gdb.btrace/next.exp: New.
2178 * gdb.btrace/nexti.exp: New.
2179 * gdb.btrace/record_goto.c: Add comments.
2180 * gdb.btrace/step.exp: New.
2181 * gdb.btrace/stepi.exp: New.
2182 * gdb.btrace/multi-thread-step.c: New.
2183 * gdb.btrace/multi-thread-step.exp: New.
2184 * gdb.btrace/rn-dl-bind.c: New.
2185 * gdb.btrace/rn-dl-bind.exp: New.
2186 * gdb.btrace/data.c: New.
2187 * gdb.btrace/data.exp: New.
2188 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2190 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2192 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
2193 * gdb.btrace/exception.exp: Update.
2194 * gdb.btrace/instruction_history.exp: Update.
2195 * gdb.btrace/record_goto.exp: Update.
2196 * gdb.btrace/tailcall.exp: Update.
2197 * gdb.btrace/unknown_functions.exp: Update.
2198 * gdb.btrace/delta.exp: New.
2200 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2202 * gdb.btrace/record_goto.exp: Add backtrace test.
2203 * gdb.btrace/tailcall.exp: Add backtrace test.
2205 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2207 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
2208 * gdb.btrace/record_goto.c: New.
2209 * gdb.btrace/record_goto.exp: New.
2210 * gdb.btrace/x86-record_goto.S: New.
2212 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2214 * gdb.btrace/function_call_history.exp: Update tests.
2215 * gdb.btrace/instruction_history.exp: Update tests.
2217 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2219 * gdb.btrace/function_call_history.exp: Fix expected field
2220 order for "record function-call-history".
2221 Add new tests for "record function-call-history /c".
2222 * gdb.btrace/exception.cc: New.
2223 * gdb.btrace/exception.exp: New.
2224 * gdb.btrace/tailcall.exp: New.
2225 * gdb.btrace/x86-tailcall.S: New.
2226 * gdb.btrace/x86-tailcall.c: New.
2227 * gdb.btrace/unknown_functions.c: New.
2228 * gdb.btrace/unknown_functions.exp: New.
2229 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2231 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2233 * gdb.btrace/instruction_history.exp: Update.
2234 * gdb.btrace/function_call_history.exp: Update.
2236 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2238 * gdb.btrace/function_call_history.exp: Fix expected function
2240 * gdb.btrace/instruction_history.exp: Initialize traced.
2241 Remove traced_functions.
2243 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2245 * gdb.btrace/function_call_history.exp: Update
2246 * gdb.btrace/instruction_history.exp: Update.
2248 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2250 * gdb.btrace/enable.exp: Update expected text.
2252 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
2254 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
2257 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
2259 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
2261 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2263 * lib/gdb.exp (supports_process_record): Return true for
2264 arm*-linux*. (supports_reverse): Likewise.
2266 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
2270 * gdb.python/py-type.c: Enhance test case.
2271 * gdb.python/py-value-cc.cc: Likewise
2272 * gdb.python/py-type.exp: Add new tests.
2273 * gdb.python/py-value-cc.exp: Likewise
2275 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2276 Pedro Alves <palves@redhat.com>
2278 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
2280 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
2281 references to ${name}_start by references to ${name}.
2283 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2285 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
2287 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2289 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
2291 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
2292 Pedro Alves <palves@redhat.com>
2294 * gdb.mi/mi-info-os.exp: Connect to the target with
2297 2014-01-08 Pedro Alves <palves@redhat.com>
2299 * gdb.threads/reconnect-signal.c: New file.
2300 * gdb.threads/reconnect-signal.exp: New file.
2302 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2304 * gdb.base/source-dir.exp: New file.
2306 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2308 * gdb.ada/mi_interface: New testcase.
2310 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2312 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
2313 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
2314 gdb.ada/pp-rec-component/pck.ads: New files.
2316 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2318 * gdb.python/py-pp-integral.c: New file.
2319 * gdb.python/py-pp-integral.py: New file.
2320 * gdb.python/py-pp-integral.exp: New file.
2322 For older changes see ChangeLog-1993-2013.
2328 ;; version-control: never
2331 Copyright 2014 Free Software Foundation, Inc.
2332 Copying and distribution of this file, with or without modification,
2333 are permitted provided the copyright notice and this notice are preserved.