1 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
4 * gdb.fortran/print-formatted.exp: New file.
5 * gdb.fortran/print-formatted.f90: Likewise.
7 2014-09-03 Sasha Smundak <asmundak@google.com>
9 * gdb.python/py-frame.exp: Test Frame.read_register.
11 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
14 * gdb.python/py-completion.exp: New file.
15 * gdb.python/py-completion.py: Likewise.
17 2014-08-28 Doug Evans <dje@google.com>
19 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
20 eax,etc. are live with values set by gdb and thus the compiler can't
22 * gdb.arch/i386-pseudo.c (main): Ditto.
24 2014-08-27 Doug Evans <dje@google.com>
26 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
28 2014-08-25 Doug Evans <dje@google.com>
30 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
33 2014-08-25 Doug Evans <dje@google.com>
35 * gdb.threads/thread-execl.exp: #include <stdio.h>.
37 2014-08-24 Yao Qi <yao@codesourcery.com>
39 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
41 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
43 2014-08-22 Doug Evans <dje@google.com>
46 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
47 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
48 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
50 2014-08-22 Yao Qi <yao@codesourcery.com>
52 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
53 * gdb.python/py-finish-breakpoint2.exp: Likewise.
54 * gdb.python/python.exp: Likewise. Use .py file on the host
57 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
59 * gdb.threads/gcore-stale-thread.c: New file.
60 * gdb.threads/gcore-stale-thread.exp: New file.
62 2014-08-21 Pedro Alves <palves@redhat.com>
64 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
65 * gdb.base/gcore-relro-pie.exp: Likewise.
66 * gdb.base/gcore-relro.exp: Likewise.
67 * gdb.base/gcore.exp: Likewise.
68 * gdb.base/print-symbol-loading.exp: Likewise.
69 * gdb.threads/gcore-thread.exp: Likewise.
70 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
72 2014-08-20 Pedro Alves <palves@redhat.com>
73 Jan Kratochvil <jan.kratochvil@redhat.com>
75 * Makefile.in (EXTRA_RULES, CC): New variables, get from
77 (EXPECT): Handle READ1 being set.
78 (all): Depend on EXTRA_RULES.
79 (check-read1, expect-read1, read1.so, read1): New rules.
80 * README (Testsuite Parameters): Document the READ1 make variable.
81 (Race detection): New section.
82 * configure: Regenerate.
83 * configure.ac: If build==host==target, and running under a
84 GNU/glibc system, add read1 to the extra Makefile rules.
85 (EXTRA_RULES): AC_SUBST it.
86 * lib/read1.c: New file.
88 2014-08-20 Joel Brobecker <brobecker@adacore.com>
90 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
91 the handling of variables declared as a typedef to an array
92 which a DW_AT_data_location attribute.
94 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
95 Pedro Alves <palves@redhat.com>
99 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
102 2014-08-19 Pedro Alves <palves@redhat.com>
104 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
106 2014-08-19 Yao Qi <yao@codesourcery.com>
108 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
111 2014-08-18 David Blaikie <dblaikie@gmail.com>
113 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
115 2014-08-18 Joel Brobecker <brobecker@adacore.com>
117 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
118 attribute in array range.
120 2014-08-18 Joel Brobecker <brobecker@adacore.com>
122 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
124 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
127 * gdb.cp/pr17132.cc: New file.
128 * gdb.cp/pr17132.exp: New file.
130 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
132 * gdb.python/py-xmethods.py (A_getarrayind)
133 (E_method_char_worker.__call__, E_method_int_worker.__call__):
134 Use 'print' with function call syntax.
135 (E_method_matcher.match): Fix tab vs space indentation mixup.
137 2014-08-15 Yao Qi <yao@codesourcery.com>
139 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
142 2014-08-15 Yao Qi <yao@codesourcery.com>
144 * gdb.cp/casts.exp: Set print symbol off.
145 * gdb.cp/class2.exp: Likewise.
146 * gdb.cp/overload.exp: Likewise.
147 * gdb.cp/templates.exp: Likewise.
149 2014-08-11 Doug Evans <dje@google.com>
151 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
152 (test_load_shlib): Update.
154 2014-08-09 Yao Qi <yao@codesourcery.com>
156 * gdb.base/display.exp: Invoke is_address_zero_readable.
157 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
158 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
159 * gdb.base/hbreak-unmapped.exp: Return if
160 is_address_zero_readable returns true.
161 * gdb.base/signest.exp: Likewise.
162 * gdb.base/signull.exp: Likewise.
163 * gdb.base/sigbpt.exp: Likewise.
164 * gdb.guile/scm-disasm.exp: Do the test if
165 is_address_zero_readable returns false.
166 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
167 * gdb.python/py-arch.exp: Likewise.
168 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
169 * lib/gdb.exp (is_address_zero_readable): New proc.
171 2014-08-09 Yao Qi <yao@codesourcery.com>
174 * gdb.mi/mi-var-display.exp: Make test messages unique.
176 2014-08-04 Tom Tromey <tromey@redhat.com>
178 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
181 2014-08-04 Tom Tromey <tromey@redhat.com>
183 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
186 2014-08-01 Joel Brobecker <brobecker@adacore.com>
188 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
189 inner_vla_struct_object_size.
190 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
193 2014-07-30 Pedro Alves <palves@redhat.com>
195 * gdb.threads/signal-command-handle-nopass.exp (test): Add
198 2014-07-29 Yao Qi <yao@codesourcery.com>
201 * gdb.base/until-nodebug.exp: New.
203 2014-07-28 Doug Evans <xdje42@gmail.com>
206 * gdb.guile/scm-parameter.exp: Add tests for trying to create
207 previously existing parameter, and previously ambiguously spelled
210 2014-07-28 Will Newton <will.newton@linaro.org>
212 * gdb.base/varargs.exp: Remove KFAILs for ARM.
214 2014-07-26 Ludovic Courtès <ludo@gnu.org>
215 Doug Evans <xdje42@gmail.com>
218 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
220 2014-07-25 Pedro Alves <palves@redhat.com>
222 * gdb.threads/signal-command-handle-nopass.c: New file.
223 * gdb.threads/signal-command-handle-nopass.exp: New file.
224 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
225 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
226 * gdb.threads/signal-delivered-right-thread.c: New file.
227 * gdb.threads/signal-delivered-right-thread.exp: New file.
229 2014-07-25 Pedro Alves <palves@redhat.com>
231 * gdb.base/double-prompt-target-event-error.exp
232 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
234 (cancel_pagination_in_target_event): Rework double prompt
236 * gdb.base/paginate-after-ctrl-c-running.exp
237 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
239 * gdb.base/paginate-bg-execution.exp
240 (test_bg_execution_pagination_return)
241 (test_bg_execution_pagination_cancel): Remove '-notransfer
243 * gdb.base/paginate-execution-startup.exp
244 (test_fg_execution_pagination_return)
245 (test_fg_execution_pagination_cancel): Remove '-notransfer
247 * gdb.base/paginate-inferior-exit.exp
248 (test_paginate_inferior_exited): Remove '-notransfer <return>'
250 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
251 * lib/gdb.exp (pagination_prompt): Run text through
253 (gdb_test_multiple): Match $pagination_prompt instead of
255 (string_to_regexp): Move to lib/gdb-utils.exp.
257 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
259 * gdb.arch/amd64-entry-value-paramref.S: New file.
260 * gdb.arch/amd64-entry-value-paramref.cc: New file.
261 * gdb.arch/amd64-entry-value-paramref.exp: New file.
262 * gdb.arch/amd64-optimout-repeat.S: New file.
263 * gdb.arch/amd64-optimout-repeat.c: New file.
264 * gdb.arch/amd64-optimout-repeat.exp: New file.
266 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
269 * gdb.base/statistics.exp: New file.
271 2014-07-17 Doug Evans <dje@google.com>
274 * gdb.base/maint.exp: Update testing of per-command stats.
276 2014-07-16 Pedro Alves <palves@redhat.com>
278 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
279 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
280 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
281 (tfile_write_buf): New functions.
282 (add_memory_block): Rewrite using the above.
283 (adjust_function_address): New function.
284 (FUNCTION_ADDRESS): New macro.
285 (write_basic_trace_file): Remove short_x local, and use
286 tfile_write_16. Change type of func_addr local to unsigned long
287 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
288 here. Cast argument of add_memory_block to char pointer.
289 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
290 (main): Remove parameters.
291 * gdb.trace/tfile.exp: Remove nowarnings.
293 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
295 * gdb.base/debug-expr.exp: Test string evaluation with
296 "debug expression" on.
298 2014-07-15 Pedro Alves <palves@redhat.com>
300 * gdb.base/reread.exp: Use clean_restart.
302 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
304 * gdb.arch/avr-flash-qualifer.c: New.
305 * gdb.arch/avr-flash-qualifer.exp: New.
307 2014-07-14 Pedro Alves <palves@redhat.com>
309 * gdb.base/paginate-after-ctrl-c-running.c: New file.
310 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
312 2014-07-14 Pedro Alves <palves@redhat.com>
314 * gdb.base/double-prompt-target-event-error.c: New file.
315 * gdb.base/double-prompt-target-event-error.exp: New file.
317 2014-07-14 Pedro Alves <palves@redhat.com>
320 * gdb.base/paginate-inferior-exit.c: New file.
321 * gdb.base/paginate-inferior-exit.exp: New file.
323 2014-07-14 Pedro Alves <palves@redhat.com>
326 * gdb.base/paginate-bg-execution.c: New file.
327 * gdb.base/paginate-bg-execution.exp: New file.
329 2014-07-14 Pedro Alves <palves@redhat.com>
332 * gdb.base/paginate-execution-startup.c: New file.
333 * gdb.base/paginate-execution-startup.exp: New file.
334 * lib/gdb.exp (pagination_prompt): New global.
335 (default_gdb_spawn): New procedure, factored out from
337 (default_gdb_start): Adjust to call default_gdb_spawn.
338 (gdb_spawn): New procedure.
340 2014-07-14 Pedro Alves <palves@redhat.com>
342 * lib/gdb.exp (gdb_assert): New procedure.
343 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
345 2014-07-14 Pedro Alves <palves@redhat.com>
347 * gdb.base/execution-termios.c: New file.
348 * gdb.base/execution-termios.exp: New file.
350 2014-07-14 Tom Tromey <tromey@redhat.com>
352 * gdb.cp/vla-cxx.cc: New file.
353 * gdb.cp/vla-cxx.exp: New file.
355 2014-07-14 Tom Tromey <tromey@redhat.com>
357 * gdb.reverse/rerun-prec.c: New file.
358 * gdb.reverse/rerun-prec.exp: New file.
360 2014-07-12 Maciej W. Rozycki <macro@mips.com>
361 Maciej W. Rozycki <macro@codesourcery.com>
363 * lib/gdb-utils.exp: New file.
364 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
365 inline `gdb_init_command' processing.
366 (gdb_start_cmd): Likewise.
367 * lib/mi-support.exp (mi_run_cmd): Likewise.
368 * README: Document `gdb_init_command' and `gdb_init_commands'.
370 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
372 Fix false FAIL running under a very long directory name.
373 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
374 and "set print elements 10000". Twice.
376 2014-07-11 Yao Qi <yao@codesourcery.com>
378 * gdb.base/exprs.exp: "set print symbol off".
380 2014-07-11 Pedro Alves <palves@redhat.com>
382 * gdb.threads/kill.c: New file.
383 * gdb.threads/kill.exp: New file.
385 2014-07-10 Yao Qi <yao@codesourcery.com>
387 * gdb.trace/tfile.c (write_basic_trace_file)
388 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
389 address written to trace file.
391 2014-07-09 Pedro Alves <palves@redhat.com>
393 * gdb.base/attach-wait-input.exp: New file.
394 * gdb.base/attach-wait-input.c: New file.
396 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
398 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
399 setting up test structures.
400 (main): Call new test function.
401 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
402 test function, continue into test function and walk test
405 2014-07-02 Yao Qi <yao@codesourcery.com>
407 * gdb.trace/entry-values.c: Define labels 'foo_start' and
408 'bar_start' at the beginning of functions 'foo' and 'bar'
410 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
411 instead of 'foo' and 'bar'.
413 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
415 * gdb.btrace/segv.exp: New.
416 * gdb.btrace/segv.c: New.
418 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
420 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
423 2014-06-30 Mark Wielaard <mjw@redhat.com>
425 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
426 vulture, vilify, villar): New volatile array constants.
427 (vindictive, vegetation): New const volatile array constants.
428 * gdb.base/volatile.exp: Test volatile and const volatile array
431 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
433 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
434 target lacks support for awatch, rwatch, or hbreak.
436 2014-06-27 Yao Qi <yao@codesourcery.com>
438 * gdb.multi/dummy-frame-restore.exp: New.
439 * gdb.multi/dummy-frame-restore.c: New.
441 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
443 * gdb.btrace/gcore.exp: New.
445 2014-06-23 Pedro Alves <palves@redhat.com>
447 * gdb.base/watchpoint-reuse-slot.c: New file.
448 * gdb.base/watchpoint-reuse-slot.exp: New file.
450 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
452 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
453 progspace's filename in 'info', 'enable' and 'disable' command
456 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
458 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
459 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
460 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
462 2014-06-20 Gary Benson <gbenson@redhat.com>
464 * gdb.arch/i386-avx.exp: Fix include file location.
465 * gdb.arch/i386-sse.exp: Likewise.
467 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
469 * gdb.dlang/expression.exp: New file.
471 2014-06-19 Pedro Alves <palves@redhat.com>
473 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
475 (top level): ... here. Iterate running tests under different
476 scheduler-locking settings.
478 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
480 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
481 to DW_FORM_addr and use non-zero addresses.
483 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
486 * gdb.python/py-xmethods.cc: Add global function call counters and
487 increment them in their respective functions. Remove "cout"
489 * gdb.python/py-xmethods.exp: Make tests check the global function
490 call counters instead of depending on inferior IO.
492 2014-06-18 Don Breazeal <donb@codesourcery.com>
494 * gdb.base/foll-fork.exp (default_fork_parent_follow):
496 (explicit_fork_parent_follow): Deleted procedure.
497 (explicit_fork_child_follow): Deleted procedure.
498 (test_follow_fork): New procedure.
499 (do_fork_tests): Replace calls to deleted procedures with
500 calls to test_follow_fork and reset GDB for subsequent
503 2014-06-17 Yao Qi <yao@codesourcery.com>
505 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
508 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
510 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
511 Initialize ptr and S explicitly.
512 (skip_type_update_when_not_use_rtti_test): Likewise.
514 2014-06-16 Keith Seitz <keiths@redhat.com>
517 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
518 the inferior is started.
520 2014-06-16 Pedro Alves <palves@redhat.com>
522 * gdb.base/break-main-file-remove-fail.c: New file.
523 * gdb.base/break-main-file-remove-fail.exp: New file.
524 * gdb.base/break-unload-file.exp: Use build_executable instead of
526 (test_break): New parameter "initial_load". Handle it.
527 (top level): Add initial_load cmdline/file axis.
529 2014-06-12 Tom Tromey <tromey@redhat.com>
531 * gdb.base/completion.exp: Don't use directory name in test.
533 2014-06-09 Gary Benson <gbenson@redhat.com>
535 * gdb.base/sigall.c [Functions to send signals]: Reorder to
536 separate the always-available ANSI-standard signals from the
537 signals that require checking.
539 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
543 2014-06-07 Keith Seitz <keiths@redhat.com>
547 * gdb.cp/var-tag.cc: New file.
548 * gdb.cp/var-tag.exp: New file.
549 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
550 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
551 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
552 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
554 2014-06-06 Doug Evans <xdje42@gmail.com>
556 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
558 2014-06-06 Pedro Alves <palves@redhat.com>
560 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
561 in target debug output instead of looking at RSP packets,
562 disabling the test on any target that uses hardware stepping.
565 2014-06-06 Pedro Alves <palves@redhat.com>
567 * gdb.base/break-unload-file.exp: Fix typo.
569 2014-06-06 Yao Qi <yao@codesourcery.com>
571 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
572 from "jit_function" to "^jit_function".
574 2014-06-06 Yao Qi <yao@codesourcery.com>
576 * gdb.base/async.c (foo): Add one statement.
577 * gdb.base/async.exp: Get the next instruction address and
578 match the output of "nexti" by instruction address. Match
579 the hex address in the output of "finish".
581 2014-06-06 Gary Benson <gbenson@redhat.com>
583 * gdb.base/call-signals.c: Remove preprocessor conditionals
584 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
586 * gdb.base/sigall.c: Likewise.
587 * gdb.base/unwindonsignal.c: Likewise.
588 * gdb.reverse/sigall-reverse.c: Likewise.
590 2014-06-06 Yao Qi <yao@codesourcery.com>
592 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
593 readable, skip the test.
595 2014-06-06 Yao Qi <yao@codesourcery.com>
597 * gdb.threads/staticthreads.c (thread_function): Move the line
598 setting breakpoint on forward.
599 * gdb.threads/staticthreads.exp: Update comments.
601 2014-06-05 Ludovic Courtès <ludo@gnu.org>
603 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
604 "history-append! type error".
606 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
608 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
609 erroneous dprintf expected input.
611 2014-06-04 Doug Evans <xdje42@gmail.com>
613 * gdb.guile/scm-generics.exp: Delete.
615 2014-06-04 Doug Evans <xdje42@gmail.com>
617 * gdb.guile/scm-breakpoint.exp: Update.
618 Add tests for breakpoint registration.
620 2014-06-04 Tom Tromey <tromey@redhat.com>
622 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
624 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
625 inner_vla_struct, vla_union types. Initialize objects of those
626 types and compute their sizes.
628 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
629 Hui Zhu <hui@codesourcery.com>
631 * gdb.base/fileio.exp: Add test for shell not available as well as
633 * gdb.base/fileio.c (test_system): Check for shell twice.
635 2014-06-04 Yao Qi <yao@codesourcery.com>
637 * gdb.base/auto-connect-native-target.exp: Remove redundant
638 space from the regexp pattern.
640 2014-06-04 Yao Qi <yao@codesourcery.com>
642 * gdb.base/default.exp: Replace "child" with "native" in
645 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
647 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
648 * gdb.python/py-xmethods.exp: New tests to test xmethods.
649 * gdb.python/py-xmethods.py: Python script supporting the
650 new testcase and tests.
652 2014-06-03 Joel Brobecker <brobecker@adacore.com>
653 Pedro Alves <palves@redhat.com>
656 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
657 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
659 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
661 * gdb.base/subst.exp: Add tests to verify partial path matching
664 2014-06-03 Pedro Alves <palves@redhat.com>
666 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
667 target that doesn't use software single-stepping.
669 2014-06-03 Pedro Alves <palves@redhat.com>
672 * gdb.base/sss-bp-on-user-bp-2.c: New file.
673 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
675 2014-06-02 Doug Evans <xdje42@gmail.com>
677 * gdb.guile/scm-parameter.exp: New file.
679 2014-06-02 Doug Evans <xdje42@gmail.com>
681 * gdb.guile/scm-cmd.c: New file.
682 * gdb.guile/scm-cmd.exp: New file.
684 2014-06-02 Doug Evans <xdje42@gmail.com>
686 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
687 pretty-printer lookup.
688 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
689 (make-pp_s-printer): Call it.
690 (make-pretty-printer-from-dict): New function.
691 (lookup-pretty-printer-maker-from-dict): New function.
692 (*pretty-printer*): Simplify.
693 (make-objfile-pp_s-printer): New function.
694 (install-objfile-pretty-printers!): New function.
695 (make-progspace-pp_s-printer): New function.
696 (install-progspace-pretty-printers!): New function.
697 * gdb.guile/scm-progspace.c: New file.
698 * gdb.guile/scm-progspace.exp: New file.
700 2014-06-02 Pedro Alves <palves@redhat.com>
702 * gdb.base/dprintf-bp-same-addr.c: New file.
703 * gdb.base/dprintf-bp-same-addr.exp: New file.
705 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
707 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
708 * gdb.arch/powerpc-power.s: Likewise.
710 2014-06-02 Joel Brobecker <brobecker@adacore.com>
712 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
714 2014-06-01 Yao Qi <yao@codesourcery.com>
716 * gdb.base/watchpoint.exp (test_watch_location): Check null
717 pointer can be dereferenced. If not, do the test, otherwise
720 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
722 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
724 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
726 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
728 * gdb.arch/amd64-invalid-stack-middle.S: New file.
729 * gdb.arch/amd64-invalid-stack-middle.c: New file.
730 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
731 * gdb.arch/amd64-invalid-stack-top.c: New file.
732 * gdb.arch/amd64-invalid-stack-top.exp: New file.
734 2014-05-30 Pedro Alves <palves@redhat.com>
737 * gdb.base/sss-bp-on-user-bp.c: New file.
738 * gdb.base/sss-bp-on-user-bp.exp: New file.
740 2014-05-30 David Blaikie <dblaikie@gmail.com>
742 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
743 gnu_inline semantics via attribute.
744 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
745 source explicitly specifies the required semantics.
747 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
749 * gdb.reverse/sigall-reverse.exp: Fix a typo.
751 2014-05-29 Pedro Alves <palves@redhat.com>
752 Tom Tromey <tromey@redhat.com>
754 * gdb.base/async-shell.exp: Don't enable target-async.
756 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
758 (top level): Don't test with "target-async".
759 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
760 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
761 * gdb.base/inferior-died.exp: Don't enable target-async.
762 * gdb.base/interrupt-noterm.exp: Likewise.
763 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
764 * gdb.mi/mi-nonstop-exit.exp: Likewise.
765 * gdb.mi/mi-nonstop.exp: Likewise.
766 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
767 * gdb.mi/mi-nsintrall.exp: Likewise.
768 * gdb.mi/mi-nsmoribund.exp: Likewise.
769 * gdb.mi/mi-nsthrexec.exp: Likewise.
770 * gdb.mi/mi-watch-nonstop.exp: Likewise.
771 * gdb.multi/watchpoint-multi.exp: Adjust comment.
772 * gdb.python/py-evsignal.exp: Don't enable target-async.
773 * gdb.python/py-evthreads.exp: Likewise.
774 * gdb.python/py-prompt.exp: Likewise.
775 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
776 * gdb.server/solib-list.exp: Don't enable target-async.
777 * gdb.threads/thread-specific-bp.exp: Likewise.
778 * lib/mi-support.exp: Adjust to use mi-async.
780 2014-05-29 Pedro Alves <palves@redhat.com>
783 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
784 reason, even in sync mode.
786 2014-05-29 Pedro Alves <palves@redhat.com>
787 Hui Zhu <hui@codesourcery.com>
790 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
791 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
792 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
793 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
795 2014-05-28 Joel Brobecker <brobecker@adacore.com>
797 * config/monitor.exp (gdb_target_monitor): Replace use of
798 "set remotebaud" by "set serial baud".
800 2014-05-26 Andy Wingo <wingo@igalia.com>
802 * gdb.guile/scm-breakpoint.exp:
803 * gdb.guile/scm-gsmob.exp: Update to use plain old object
804 properties instead of gdb-object-properties.
806 2014-05-26 Yao Qi <yao@codesourcery.com>
808 * gdb.server/no-thread-db.exp: Specify source file name
809 explicitly when setting a breakpoint.
811 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
813 * gdb.btrace/vdso.c: New.
814 * gdb.btrace/vdso.exp: New.
816 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
818 * gdb.base/gcore.exp (capture_command_output): Move ...
819 * lib/gdb.exp (capture_command_output): ... here.
821 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
823 * gdb.btrace/data.exp: Test memory access during btrace replay.
825 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
827 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
829 2014-05-21 Pedro Alves <palves@redhat.com>
832 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
833 (top level): Test that output related to execution commands is
834 sent to the console with CLI commands, but not with MI commands.
835 Test that breakpoint events are always mirrored to the console.
836 Also expect the new source line to be output after a "next" in
837 async mode too. Make it a pass/fail test.
838 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
840 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
842 2014-05-21 Pedro Alves <palves@redhat.com>
844 * gdb.base/list.exp (build_pattern, test_list): New procedures.
845 Use them to test variations of "list" after reaching a breakpoint.
846 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
847 Test "list" with listsize 10 after reaching a breakpoint.
848 * gdb.python/python.exp (decode_line current location line
849 number): Adjust expected line number.
851 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
853 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
854 behavior for $args, pass it directly to "run".
856 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
858 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
861 2014-05-21 Pedro Alves <palves@redhat.com>
863 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
864 auto-connect-native-target off".
865 * gdb.base/auto-connect-native-target.c: New file.
866 * gdb.base/auto-connect-native-target.exp: New file.
868 2014-05-21 Pedro Alves <palves@redhat.com>
870 * gdb.base/default.exp: Test "target native" instead of "target
873 2014-05-21 Mark Wielaard <mjw@redhat.com>
875 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
877 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
879 Fix TLS access for -static -pthread.
880 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
881 <HAVE_TLS> (thread_function, main): Initialize it.
882 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
884 <$have_tls != "">: Check TLSVAR.
886 2014-05-21 Pedro Alves <palves@redhat.com>
888 * gdb.base/dcache-line-read-error.c: New.
889 * gdb.base/dcache-line-read-error.exp: New.
891 2014-05-20 Pedro Alves <palves@redhat.com>
893 * gdb.base/compare-sections.c: New file.
894 * gdb.base/compare-sections.exp: New file.
896 2014-05-20 Pedro Alves <palves@redhat.com>
898 * gdb.base/break-idempotent.c: New file.
899 * gdb.base/break-idempotent.exp: New file.
901 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
903 * gdb.btrace/nohist.exp: New.
905 2014-05-20 Yao Qi <yao@codesourcery.com>
907 * lib/gdb.exp (gdb_init): Set timeout if test file is under
908 gdb.reverse directory and gdb_reverse_timeout exists in board
910 * README: Document gdb_reverse_timeout.
912 2014-05-20 Yao Qi <yao@codesourcery.com>
914 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
915 'test_file_name'. Treat args as a string instead of a list.
916 (gdb_init): Rename argument 'args' by 'test_file_name'.
918 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
920 * gdb.arch/powerpc-power.exp: New file.
921 * gdb.arch/powerpc-power.s: New file.
923 2014-05-16 Doug Evans <dje@google.com>
925 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
926 * gdb.base/completion.exp: Check that all expected files exist
927 before doing file completion.
929 2014-05-16 Doug Evans <dje@google.com>
931 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
933 (do_syscall_tests_without_xml): Update.
935 2014-05-16 Pedro Alves <palves@redhat.com>
937 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
938 instead of "unknown output after running".
940 2014-05-16 Yao Qi <yao@codesourcery.com>
942 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
943 file1.txt from host at the end.
944 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
946 2014-05-15 Doug Evans <dje@google.com>
948 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
949 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
950 loading file. Add test for TU lookup.
952 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
954 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
955 calling "-exec-arguments" or "set args" before running the
958 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
960 * lib/mi-support.exp (mi_expect_stop): Expect message for
961 inferiors that exit with non-zero exit code.
963 2014-05-14 Yao Qi <yao@codesourcery.com>
965 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
966 match absolute path on remote host.
967 (test_file_list_exec_source_files): Remove "/" from the
970 2014-05-14 Yao Qi <yao@codesourcery.com>
972 * boards/local-remote-host-notty.exp (${board}_file): New
975 2014-05-07 Kyle McMartin <kyle@redhat.com>
977 Pushed by Joel Brobecker <brobecker@adacore.com>.
978 * gdb.arch/aarch64-atomic-inst.c: New file.
979 * gdb.arch/aarch64-atomic-inst.exp: New file.
981 2014-05-07 Yao Qi <yao@codesourcery.com>
983 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
984 in current context" too.
986 2014-05-05 Keith Seitz <keiths@redhat.com>
988 * gdb.linespec/ls-dollar.exp: Add test for linespec
989 file:convenience_variable.
991 2014-05-05 Yao Qi <yao@codesourcery.com>
993 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
994 traceframes into tfile and ctf trace files. Read data from
995 trace file and test collected data.
996 (gdb_collect_locals_test): Likewise.
997 (gdb_unavailable_registers_test): Likewise.
998 (gdb_unavailable_floats): Likewise.
999 (gdb_collect_globals_test): Likewise.
1000 (top-level): Append "ctf" to trace_file_targets if GDB
1003 2014-05-05 Yao Qi <yao@codesourcery.com>
1005 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
1007 (gdb_collect_args_test_1): ... it. New proc.
1008 (gdb_collect_locals_test): Move some code to ...
1009 (gdb_collect_locals_test_1): ... it. New proc.
1010 (gdb_unavailable_registers_test): Move some code to ...
1011 (gdb_unavailable_registers_test_1): ... it. New proc.
1012 (gdb_unavailable_floats): Move some code to ...
1013 (gdb_unavailable_floats_1): ... it. New proc.
1015 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1017 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
1018 probes to test for bitness recognition.
1019 * gdb.arch/amd64-stap-optional-prefix.exp
1020 (test_probe_value_without_reg): New procedure.
1021 Add code to test for different kinds of bitness.
1023 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1025 PR breakpoints/16889
1026 * gdb.arch/amd64-stap-optional-prefix.S: New file.
1027 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1029 2014-05-01 Pedro Alves <palves@redhat.com>
1031 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
1032 gdb_file_cmd if no file is specified.
1033 * boards/native-extended-gdbserver.exp (gdb_load): Use the
1034 last_loaded_file to set the remote exec-file.
1036 2014-05-01 Pedro Alves <palves@redhat.com>
1038 * boards/local-remote-host.exp: New file.
1040 2014-05-01 Pedro Alves <palves@redhat.com>
1042 * boards/local-remote-host.exp: Rename to ...
1043 * boards/local-remote-host-notty.exp: ... this.
1045 2014-04-28 Joel Brobecker <brobecker@adacore.com>
1047 * gdb.ada/dyn_arrayidx: New testcase.
1049 2014-04-26 Yao Qi <yao@codesourcery.com>
1051 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
1052 and compute the length of function main. Save it in
1054 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
1055 (top-level): Use gdb_compile to compile objects into
1056 executable and restart GDB. Remove invocation to
1057 prepare_for_testing.
1059 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
1060 Pedro Alves <palves@redhat.com>
1063 * gdb.multi/multi-attach.c: New file.
1064 * gdb.multi/multi-attach.exp: New file.
1066 2014-04-25 Pedro Alves <palves@redhat.com>
1068 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
1070 (top level): Test that "set remote conditional-breakpoints-packet
1071 off" works as intended.
1072 * gdb.base/dprintf.exp: Test that "set remote
1073 breakpoint-commands-packet off" works as intended.
1074 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
1076 (top level): Call it.
1077 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
1078 remote fast-tracepoints-packet off" works as intended.
1079 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
1080 * lib/gdb.exp (gdb_is_target_remote): ... here.
1082 2014-04-24 David Blaikie <dblaikie@gmail.com>
1084 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
1085 ensure clang would not discard them.
1086 * gdb.base/gdbvars.c: Ditto.
1087 * gdb.base/memattr.c: Ditto.
1088 * gdb.base/whatis.c: Ditto.
1089 * gdb.python/py-prettyprint.c: Ditto.
1090 * gdb.trace/actions.c: Ditto.
1091 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
1092 ensure clang would not discard it.
1094 2014-04-24 David Blaikie <dblaikie@gmail.com>
1096 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
1097 clang to emit the full definition of type required by the test
1098 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
1100 2014-04-24 David Blaikie <dblaikie@gmail.com>
1102 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
1103 coax Clang into emitting the definition of the type.
1104 * gdb.cp/pr10728-x.h (y): Ditto.
1105 * gdb.cp/pr10728-y.cc (y): Ditto.
1107 2014-04-24 David Blaikie <dblaikie@gmail.com>
1109 * gdb.base/label.exp: XFAIL label related tests under Clang.
1110 * gdb.cp/cplabel.exp: Ditto.
1111 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
1112 under Clang those using labels.
1114 2014-04-25 Yao Qi <yao@codesourcery.com>
1116 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
1118 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
1119 partial_label and double_label.
1121 2014-04-24 David Blaikie <dblaikie@gmail.com>
1123 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
1125 2014-04-24 David Blaikie <dblaikie@gmail.com>
1127 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
1128 of the function to work across GCC and Clang.
1129 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
1130 pointer types (const void ** const V void **).
1132 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
1133 Walfred Tedeschi <walfred.tedeschi@intel.com>
1135 * Makefile.in (EXECUTABLES): Added i386-avx512.
1136 * gdb.arch/i386-avx512.c: New file.
1137 * gdb.arch/i386-avx512.exp: Likewise.
1139 2014-04-23 Keith Seitz <keiths@redhat.com>
1141 * lib/mi-support.exp (mi_list_breakpoints): Delete.
1142 (mi_make_breakpoint_table): New procedure.
1143 (mi_create_breakpoint): Use mi_make_breakpoint
1144 and return the result.
1145 (mi_make_breakpoint): New procedure.
1146 (mi_build_kv_pairs): New procedure.
1148 * gdb.mi/mi-break.exp: Remove unused globals,
1149 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
1150 All callers updated.
1151 * gdb.mi/mi-dprintf.exp: Use variable to track command
1153 Update all callers of mi_create_breakpoint and use
1154 mi_make_breakpoint_table.
1155 Remove any unused global variables.
1156 * gdb.mi/mi-nonstop.exp: Likewise.
1157 * gdb.mi/mi-nsintrall.exp: Likewise.
1158 * gdb.mi/mi-nsmoribund.exp: Likewise.
1159 * gdb.mi/mi-nsthrexec.exp: Likewise.
1160 * gdb.mi/mi-reverse.exp: Likewise.
1161 * gdb.mi/mi-simplerun.exp: Likewise.
1162 * gdb.mi/mi-stepn.exp: Likewise.
1163 * gdb.mi/mi-syn-frame.exp: Likewise.
1164 * gdb.mi/mi-until.exp: Likewise.
1165 * gdb.mi/mi-var-cp.exp: Likewise.
1166 * gdb.mi/mi-var-display.exp: Likewise.
1167 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1168 * gdb.mi/mi2-var-child.exp: Likewise.
1169 * gdb.mi/mi-vla-c99.exp: Likewise.
1170 * lib/mi-support.exp: Likewise.
1172 From Ian Lance Taylor <iant@cygnus.com>:
1173 * lib/gdb.exp (parse_args): New procedure.
1175 2014-04-23 Pedro Alves <palves@redhat.com>
1177 * gdb.base/break-unload-file.c: New file.
1178 * gdb.base/break-unload-file.exp: New file.
1179 * gdb.base/sym-file-lib.c (baz): New function.
1180 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
1182 (load): Store the segment's mapped size.
1183 (unload): New function.
1184 (unload_shlib): New function.
1185 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
1186 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
1187 set a breakpoint at baz, and call it.
1188 * gdb.base/sym-file.exp: New tests for stale breakpoint
1191 2014-04-23 Pedro Alves <palves@redhat.com>
1193 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
1194 * gdb.base/hbreak-in-shr-unsupported.c: New file.
1195 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
1196 * gdb.base/hbreak-unmapped.c: New file.
1197 * gdb.base/hbreak-unmapped.exp: New file.
1198 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
1199 * lib/gdb.exp (gdb_is_target_remote): ... here.
1201 2014-04-22 Pedro Alves <palves@redhat.com>
1203 * gdb.base/consecutive-step-over.c: New file.
1204 * gdb.base/consecutive-step-over.exp: New file.
1206 2014-04-22 Pedro Alves <palves@redhat.com>
1208 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
1209 instead of send_gdb/gdb_expect.
1211 2014-04-22 Yao Qi <yao@codesourcery.com>
1213 * lib/trace-support.exp (generate_tracefile): New procedure.
1214 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
1216 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
1217 if generate_tracefile returns 1.
1219 2014-04-18 Tom Tromey <palves@redhat.com>
1220 Pedro alves <tromey@redhat.com>
1223 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
1224 with a backtrace limit.
1225 * gdb.python/py-frame-inline.exp: Test running to an inline
1226 function with a backtrace limit, and printing the newest frame.
1227 * gdb.python/py-frame-inline.c (main): Call f.
1229 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1231 * gdb.java/jnpe.exp: Drop srcdir from untested path.
1233 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1235 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
1236 Drop prefix from unsupported source file path.
1238 2014-04-17 Yao Qi <yao@codesourcery.com>
1240 * lib/gdb.exp (with_target_charset): New proc.
1241 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
1242 with_target_charset.
1243 (test_print_strings): Likewise.
1244 (test_repeat_bytes): Likewise.
1245 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
1248 2014-04-16 Keith Seitz <keiths@redhat.com>
1251 * gdb.dwarf2/corrupt.c: New file.
1252 * gdb.dwarf2/corrupt.exp: New file.
1254 2014-04-16 Keith Seitz <keiths@redhat.com>
1257 * gdb.cp/namelessclass.cc: New file.
1258 * gdb.cp/namelessclass.exp: New file.
1259 * gdb.cp/namelessclass.S: New file.
1261 2014-04-16 Doug Evans <dje@google.com>
1263 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
1265 (gdbserver_default_get_comm_port): New function.
1266 (gdbserver_start): Check if board file provided
1267 "gdbserver,get_comm_port" and use it if so.
1268 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
1269 (gdb,socketport): Set to "stdio".
1270 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
1271 (stdio_gdbserver_template): Delete.
1272 (${board}_get_remote_address): Update.
1273 (${board}_build_remote_cmd): Delete.
1274 (${board}_get_comm_port): New function.
1275 (${board}_spawn): Update.
1276 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
1278 (${board}_get_remote_address): Update.
1279 (${board}_get_comm_port): New function.
1281 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
1283 * gdb.base/memattr.exp: Improve regexps to handle memory regions
1284 appearing in any order.
1286 2014-04-15 Doug Evans <dje@google.com>
1288 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
1289 uninitialized value of "description".
1291 2014-04-15 Keith Seitz <keiths@redhat.com>
1293 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
1294 Remove unused globals.
1295 (test_running_the_program): Likewise.
1296 (test_controlled_execution): Likewise.
1297 (test_controlling_breakpoints): Likewise.
1298 (test_program_termination): Likewise.
1300 2014-04-15 Keith Seitz <keiths@redhat.com>
1302 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
1304 (test_rbreak_creation_and_listing): Likewise.
1305 (test_ignore_count): Likewise.
1306 (test_error): Likewise.
1308 2014-04-15 Pedro Alves <palves@redhat.com>
1310 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
1311 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
1313 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1314 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1315 to sym-file-loader.c.
1316 (struct library): Forward declare.
1317 (load_shlib, lookup_function): Change prototypes.
1318 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1319 (translate_offset): Remove declarations.
1320 (get_text_addr): New declaration.
1321 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
1322 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
1324 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1325 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1326 here from sym-file-loader.h.
1327 (struct library): New structure.
1328 (load_shlib, lookup_function): Change prototypes and adjust to
1329 work with a struct library.
1330 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1331 (translate_offset): Make static.
1332 (get_text_addr): New function.
1333 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
1335 2014-04-15 Pedro Alves <palves@redhat.com>
1337 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
1339 2014-04-15 Pedro Alves <palves@redhat.com>
1341 * gdb.base/sym-file-loader.c: Include <limits.h>.
1342 (SELF_LINK): New define.
1343 (get_origin): New function.
1344 (load_shlib): Use it.
1345 * gdb.base/sym-file.exp: Don't early return if the target is
1346 remote. Use runto_main, and issue fail is that fails. Use
1348 (shlib_name): Delete.
1349 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
1351 2014-04-15 Pedro Alves <palves@redhat.com>
1353 * gdb.base/sym-file.exp: Remove regex characters from test
1354 message. Don't refer to breakpoint numbers in test messages.
1356 2014-04-14 Keith Seitz <keiths@redhat.com>
1359 * gdb.cp/var-tag.cc: New file.
1360 * gdb.cp/var-tag.exp: New file.
1361 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1362 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1363 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1364 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1366 2014-04-14 Tom Tromey <tromey@redhat.com>
1368 * gdb.cp/classes.exp (test_enums): Handle underlying type.
1369 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
1371 * gdb.cp/enum-class.exp: New file.
1372 * gdb.cp/enum-class.cc: New file.
1374 2014-04-14 Tom Tromey <tromey@redhat.com>
1376 * gdb.dwarf2/enum-type.exp: New file.
1378 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1380 * gdb.mi/mi-vla-c99.exp: New file.
1381 * gdb.mi/vla.c: New file.
1383 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1385 * gdb.base/vla-datatypes.c: New file.
1386 * gdb.base/vla-datatypes.exp: New file.
1388 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1390 * gdb.base/vla-ptr.c: New file.
1391 * gdb.base/vla-ptr.exp: New file.
1393 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1395 * gdb.dwarf2/count.exp: New file.
1397 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1399 * gdb.base/vla-sideeffect.c: New file.
1400 * gdb.base/vla-sideeffect.exp: New file.
1402 2014-04-14 David Blaikie <dblaikie@gmail.com>
1404 * gdb.mi/non-stop.c: Add return value for non-void function return
1406 * gdb.threads/staticthreads.c: Ditto.
1408 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
1409 Doug Evans <xdje42@gmail.com>
1411 * gdb.guile/scm-value.c: Improve test case.
1412 * gdb.guile/scm-value.exp: Add new test.
1414 2014-04-11 David Blaikie <dblaikie@gmail.com>
1416 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
1417 override Clang's default.
1419 2014-04-11 Joel Brobecker <brobecker@adacore.com>
1421 Revert the following changes (regressions):
1423 * gdb.base/vla-sideeffect.c: New file.
1424 * gdb.base/vla-sideeffect.exp: New file.
1426 * gdb.dwarf2/count.exp: New file.
1428 * gdb.base/vla-multi.c: New file.
1429 * gdb.base/vla-multi.exp: New file.
1431 * gdb.base/vla-ptr.c: New file.
1432 * gdb.base/vla-ptr.exp: New file.
1434 * gdb.base/vla-datatypes.c: New file.
1435 * gdb.base/vla-datatypes.exp: New file.
1437 * gdb.mi/mi-vla-c99.exp: New file.
1438 * gdb.mi/vla.c: New file.
1440 2014-04-11 Keith Seitz <keiths@redhat.com>
1443 * gdb.cp/cpsizeof.exp: New file.
1444 * gdb.cp/cpsizeof.cc: New file.
1446 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1448 * gdb.mi/mi-vla-c99.exp: New file.
1449 * gdb.mi/vla.c: New file.
1451 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1453 * gdb.base/vla-datatypes.c: New file.
1454 * gdb.base/vla-datatypes.exp: New file.
1456 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1458 * gdb.base/vla-ptr.c: New file.
1459 * gdb.base/vla-ptr.exp: New file.
1461 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1463 * gdb.base/vla-multi.c: New file.
1464 * gdb.base/vla-multi.exp: New file.
1466 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1468 * gdb.dwarf2/count.exp: New file.
1470 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1472 * gdb.base/vla-sideeffect.c: New file.
1473 * gdb.base/vla-sideeffect.exp: New file.
1475 2014-04-11 Yao Qi <yao@codesourcery.com>
1477 * gdb.base/completion.exp: Check file exists before running tests
1480 2014-04-10 Pedro Alves <palves@redhat.com>
1482 * gdb.base/cond-eval-mode.c: New file.
1483 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
1484 prepare_for_testing to build the new file. Check result of
1486 (test_break, test_watch): New procedures.
1487 (top level): Use them.
1489 2014-04-08 Pierre Muller <muller@sourceware.org>
1491 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
1492 Ctrl-V use for mingw hosts.
1494 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
1496 * gdb.python/py-value.c: Improve test case.
1497 * gdb.python/py-value.exp: Add new test.
1499 2014-04-07 David Blaikie <dblaikie@gmail.com>
1501 * lib/compiler.c: Identify the clang compiler.
1502 * lib/compiler.cc: Ditto.
1504 2014-04-03 Yao Qi <yao@codesourcery.com>
1506 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
1508 2014-04-01 Anton Blanchard <anton@samba.org>
1510 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
1513 2014-04-01 Anton Blanchard <anton@samba.org>
1515 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
1516 prepare_for_testing.
1518 2014-04-01 Anton Blanchard <anton@samba.org>
1520 * gdb.arch/ppc64-atomic-inst.c: Remove.
1521 * gdb.arch/ppc64-atomic-inst.S: New file.
1522 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
1524 2014-03-31 Doug Evans <dje@google.com>
1526 * gdb.base/print-symbol-loading-lib.c: New file.
1527 * gdb.base/print-symbol-loading-main.c: New file.
1528 * gdb.base/print-symbol-loading.exp: New file.
1530 2014-03-31 Yao Qi <yao@codesourcery.com>
1532 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
1534 2014-03-28 Joel Brobecker <brobecker@adacore.com>
1536 * gdb.ada/mi_dyn_arr: New testcase.
1538 2014-03-27 Doug Evans <dje@google.com>
1540 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
1542 2014-03-27 Yao Qi <yao@codesourcery.com>
1544 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
1545 if target is nios2-*-*.
1547 2014-03-26 Yao Qi <yao@codesourcery.com>
1549 * lib/gdb.exp (readline_is_used): New proc.
1550 * gdb.base/completion.exp: Move tests on command complete up.
1551 Skip the rest of tests if readline is not used.
1552 * gdb.ada/complete.exp: Skp the test if readline is not
1554 * gdb.base/filesym.exp: Likewise.
1555 * gdb.base/macscp.exp: Likewise.
1556 * gdb.base/readline-ask.exp: Likewise.
1557 * gdb.base/readline.exp: Likewise.
1558 * gdb.python/py-cmd.exp: Likewise.
1559 * gdb.trace/tfile.exp: Likewise.
1561 2014-03-26 Yao Qi <yao@codesourcery.com>
1563 * gdb.base/macscp.exp: Fix code format issues.
1565 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
1567 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
1568 * gdb.asm/powerpc64le.inc: New file.
1570 2014-03-25 Pedro Alves <palves@redhat.com>
1571 Doug Evans <dje@google.com>
1573 * gdb.base/source-execution.c: New file.
1574 * gdb.base/source-execution.exp: New file.
1575 * gdb.base/source-execution.gdb: New file.
1577 2014-03-24 Doug Evans <dje@google.com>
1579 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
1582 2014-03-24 Hui Zhu <hui@codesourcery.com>
1583 Pedro Alves <palves@redhat.com>
1585 PR breakpoints/16101
1586 * gdb.base/dprintf.exp: Use unsupported rather than changing the
1587 test pass/fail messages. Detect missing support for dprintf when
1588 breakpoints are actually inserted.
1589 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
1590 breakpoints are actually inserted.
1591 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
1594 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1596 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
1598 2014-03-22 Doug Evans <xdje42@gmail.com>
1600 * gdb.python/python.exp (python not supported): Verify multi-line
1601 python command issues an error.
1602 * gdb.guile/guile.exp (guile not supported): Verify multi-line
1603 guile command issues an error.
1605 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
1607 * gdb.threads/thread-specific.exp: Handle the lack of usable
1608 $this_breakpoint and $this_thread.
1610 2014-03-21 Hui Zhu <hui@codesourcery.com>
1612 * gdb.base/attach.exp (do_command_attach_tests): New.
1614 2014-03-20 Tom Tromey <tromey@redhat.com>
1615 Pedro Alves <palves@redhat.com>
1618 * gdb.base/condbreak-call-false.c: New file.
1619 * gdb.base/condbreak-call-false.exp: New file.
1621 2014-03-20 Pedro Alves <palves@redhat.com>
1623 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
1625 (block_signals, unblock_signals): Delete.
1626 (child_function_2, main): Remove references to deleted variable
1629 2014-03-20 Pedro Alves <palves@redhat.com>
1631 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
1632 Use pthread_kill to signal thread 2.
1633 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1634 Adjust to make the test send itself a signal rather than using the
1635 host's "kill" command.
1637 2014-03-20 Pedro Alves <palves@redhat.com>
1639 * gdb.threads/multiple-step-overs.c: New file.
1640 * gdb.threads/multiple-step-overs.exp: New file.
1641 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1642 Adjust expected infrun debug output.
1644 2014-03-20 Pedro Alves <palves@redhat.com>
1646 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
1647 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
1649 2014-03-20 Pedro Alves <palves@redhat.com>
1652 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
1653 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
1654 of gdb_test_multiple.
1655 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
1656 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
1658 2014-03-20 Pedro Alves <palves@redhat.com>
1660 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
1661 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
1663 2014-03-19 Pedro Alves <palves@redhat.com>
1665 * gdb.base/async.exp: Remove early return.
1667 2014-03-19 Pedro Alves <palves@redhat.com>
1669 * gdb.base/async.exp (step& tests): Pass explicit test messages.
1671 2014-03-19 Pedro Alves <palves@redhat.com>
1673 * gdb.base/async.exp (test_background): Expect \r\n after
1674 "completed." in the fail pattern.
1676 2014-03-19 Pedro Alves <palves@redhat.com>
1678 * gdb.base/async.exp (test_background): New procedure.
1679 Use it for all background execution command tests.
1681 2014-03-19 Pedro Alves <palves@redhat.com>
1683 * gdb.base/async.exp: Use prepare_for_testing.
1685 2014-03-19 Pedro Alves <palves@redhat.com>
1687 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
1690 2014-03-19 Pedro Alves <palves@redhat.com>
1692 * gdb.base/async.c (main): Add "jump here" and "until here" line
1694 * gdb.base/async.exp (jump_here): New global.
1695 (jump& test): Use it.
1696 (until_here): New global.
1697 (until& test): Use it.
1699 2014-03-19 Pedro Alves <palves@redhat.com>
1701 * gdb.base/async.exp: Don't frob gdb_protocol.
1703 2014-03-18 Doug Evans <xdje42@gmail.com>
1705 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
1706 Fix spelling of exec-done-display.
1708 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1711 * gdb.base/gdb-sigterm.c: New file.
1712 * gdb.base/gdb-sigterm.exp: New file.
1714 2014-03-18 Pedro Alves <palves@redhat.com>
1717 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
1718 * lib/mi-support.exp (mi_expect_stop): Add special handling for
1721 2014-03-17 Joel Brobecker <brobecker@adacore.com>
1723 * gdb.ada/pckd_arr_ren: New testcase.
1725 2014-03-13 Doug Evans <xdje42@gmail.com>
1728 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
1729 collect after discarding symbols.
1731 2014-03-13 Ludovic Courtès <ludo@gnu.org>
1732 Doug Evans <xdje42@gmail.com>
1734 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
1735 to history survives a gc.
1737 2014-03-13 Pedro Alves <palves@redhat.com>
1739 * gdb.base/default.exp: Don't test "target procfs".
1741 2014-03-13 Pedro Alves <palves@redhat.com>
1743 * gdb.base/default.exp: Update "target child" and "target procfs"
1744 tests to not expect "Unix".
1746 2014-03-12 Tom Tromey <tromey@redhat.com>
1748 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
1749 New procs. Add target-async tests.
1750 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
1751 Add target-async tests.
1753 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1755 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
1756 'func_start' and 'func_end' for the beginning and end of the
1757 function code, respectively.
1758 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
1759 'func_end' instead of 'func' and 'main'.
1761 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1763 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
1764 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
1765 generate the debug info assembler source.
1767 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1769 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
1770 * gdb.dwarf2/arr-subrange.exp: Likewise.
1771 * gdb.dwarf2/dwz.exp: Likewise.
1772 * gdb.dwarf2/method-ptr.exp: Likewise.
1773 * gdb.dwarf2/missing-sig-type.exp: Likewise.
1774 * gdb.dwarf2/subrange.exp: Likewise.
1775 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
1776 * gdb.dwarf2/implptrpiece.exp: Likewise.
1777 * gdb.dwarf2/nostaticblock.exp: Likewise.
1779 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1781 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
1782 directory to absolute path name arguments.
1784 2014-03-10 Joel Brobecker <brobecker@adacore.com>
1786 * gdb.ada/tagged_access: New testcase.
1788 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
1790 * gdb.btrace/data.exp: Update expected output.
1792 2014-03-06 Yao Qi <yao@codesourcery.com>
1794 * gdb.trace/pr16508.exp: New file.
1796 2014-03-05 Pedro Alves <palves@redhat.com>
1799 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
1801 (top level): Adjust to use it. Add tests that exercise breakpoint
1802 interaction with the code-cache.
1804 2014-02-26 Ludovic Courtès <ludo@gnu.org>
1806 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
1807 test for 'history-append!'.
1809 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1811 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
1812 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
1813 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
1814 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
1815 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
1816 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
1818 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1820 * testsuite/gdb.python/py-pp-re-notag.c: New file.
1821 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
1822 * testsuite/gdb.python/py-pp-re-notag.p: New file.
1824 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1826 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
1828 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1830 * gdb.dwarf2/arr-stride.c: New file.
1831 * gdb.dwarf2/arr-stride.exp: New file.
1833 2014-02-26 Pedro Alves <palves@redhat.com>
1835 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
1836 that won't ever trigger. Make sure that GDB reports the correct
1837 breakpoint that caused the stop.
1839 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1842 * gdb.base/auto-load-script: New file.
1843 * gdb.base/auto-load.c: New file.
1844 * gdb.base/auto-load.exp: New file.
1847 * gdb.base/auto-load.exp: Fix out-of-srctree run.
1849 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1851 Fix dw2-icycle.exp -fsanitize=address GDB crash.
1852 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
1854 2014-02-24 Doug Evans <dje@google.com>
1856 * lib/gdb.exp (run_on_host): Log error output if program fails.
1858 2014-02-21 Pedro Alves <palves@redhat.com>
1860 * gdb.threads/step-after-sr-lock.c: Rename to ...
1861 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
1862 * gdb.threads/step-after-sr-lock.exp: Rename to ...
1863 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1866 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1869 * gdb.arch/amd64-stap-special-operands.exp: New file.
1870 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
1871 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
1872 * gdb.arch/amd64-stap-triplet.S: Likewise.
1873 * gdb.arch/amd64-stap-triplet.c: Likewise.
1875 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1877 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
1878 in .section pseudo-op.
1880 2014-02-20 lin zuojian <manjian2006@gmail.com>
1881 Joel Brobecker <brobecker@adacore.com>
1882 Doug Evans <xdje42@gmail.com>
1885 * gdb.dwarf2/dw2-icycle.S: New file.
1886 * gdb.dwarf2/dw2-icycle.c: New file.
1887 * gdb.dwarf2/dw2-icycle.exp: New file.
1889 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1891 * gdb.python/py-value-cc.cc: Improve test case to enable testing
1892 operations on gdb.Value objects.
1893 * gdb.python/py-value-cc.exp: Add new test to test operations on
1896 2014-02-18 Doug Evans <dje@google.com>
1898 * Makefile.in (TESTS): New variable.
1899 (expanded_tests, expanded_tests_or_none): New variables
1900 (check-single): Pass $(expanded_tests_or_none) to runtest.
1901 (check-parallel): Only run tests in $(TESTS) if non-empty.
1902 (check/no-matching-tests-found): New rule.
1903 * README: Document TESTS makefile variable.
1905 2014-02-18 Doug Evans <dje@google.com>
1907 * Makefile.in (check-parallel): rm -rf outputs temp.
1909 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1911 Fix "ERROR: no fileid for" in the testsuite.
1912 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
1914 2014-02-12 Doug Evans <dje@google.com>
1916 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
1917 (MISCELLANEOUS): New variable.
1918 (clean): rm -rf $(MISCELLANEOUS).
1919 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
1920 dwp live in the same directory as symlinks, with each symlink pointed
1921 to a differently named file in a different directory.
1923 2014-02-11 Doug Evans <dje@google.com>
1925 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
1926 of Tcl file commands.
1928 2014-02-10 Mark Kettenis <kettenis@gnu.org>
1930 * gdb.threads/step-after-sr-lock.exp: Avoid executing
1933 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1935 * gdb.ada/tick_length_array_enum_idx: New testcase.
1937 2014-02-10 Doug Evans <xdje42@gmail.com>
1939 * configure.ac (AC_OUTPUT): Add gdb.guile.
1940 * configure: Regenerate.
1941 * lib/gdb-guile.exp: New file.
1942 * lib/gdb.exp (get_target_charset): New function.
1943 * gdb.base/help.exp: Update expected output from "apropos apropos".
1944 * gdb.guile/Makefile.in: New file.
1945 * gdb.guile/guile.exp: New file.
1946 * gdb.guile/scm-arch.c: New file.
1947 * gdb.guile/scm-arch.exp: New file.
1948 * gdb.guile/scm-block.c: New file.
1949 * gdb.guile/scm-block.exp: New file.
1950 * gdb.guile/scm-breakpoint.c: New file.
1951 * gdb.guile/scm-breakpoint.exp: New file.
1952 * gdb.guile/scm-disasm.c: New file.
1953 * gdb.guile/scm-disasm.exp: New file.
1954 * gdb.guile/scm-equal.c: New file.
1955 * gdb.guile/scm-equal.exp: New file.
1956 * gdb.guile/scm-error.exp: New file.
1957 * gdb.guile/scm-error.scm: New file.
1958 * gdb.guile/scm-frame-args.c: New file.
1959 * gdb.guile/scm-frame-args.exp: New file.
1960 * gdb.guile/scm-frame-args.scm: New file.
1961 * gdb.guile/scm-frame-inline.c: New file.
1962 * gdb.guile/scm-frame-inline.exp: New file.
1963 * gdb.guile/scm-frame.c: New file.
1964 * gdb.guile/scm-frame.exp: New file.
1965 * gdb.guile/scm-generics.exp: New file.
1966 * gdb.guile/scm-gsmob.exp: New file.
1967 * gdb.guile/scm-iterator.c: New file.
1968 * gdb.guile/scm-iterator.exp: New file.
1969 * gdb.guile/scm-math.c: New file.
1970 * gdb.guile/scm-math.exp: New file.
1971 * gdb.guile/scm-objfile-script-gdb.in: New file.
1972 * gdb.guile/scm-objfile-script.c: New file.
1973 * gdb.guile/scm-objfile-script.exp: New file.
1974 * gdb.guile/scm-objfile.c: New file.
1975 * gdb.guile/scm-objfile.exp: New file.
1976 * gdb.guile/scm-ports.exp: New file.
1977 * gdb.guile/scm-pretty-print.c: New file.
1978 * gdb.guile/scm-pretty-print.exp: New file.
1979 * gdb.guile/scm-pretty-print.scm: New file.
1980 * gdb.guile/scm-section-script.c: New file.
1981 * gdb.guile/scm-section-script.exp: New file.
1982 * gdb.guile/scm-section-script.scm: New file.
1983 * gdb.guile/scm-symbol.c: New file.
1984 * gdb.guile/scm-symbol.exp: New file.
1985 * gdb.guile/scm-symtab-2.c: New file.
1986 * gdb.guile/scm-symtab.c: New file.
1987 * gdb.guile/scm-symtab.exp: New file.
1988 * gdb.guile/scm-type.c: New file.
1989 * gdb.guile/scm-type.exp: New file.
1990 * gdb.guile/scm-value-cc.cc: New file.
1991 * gdb.guile/scm-value-cc.exp: New file.
1992 * gdb.guile/scm-value.c: New file.
1993 * gdb.guile/scm-value.exp: New file.
1994 * gdb.guile/source2.scm: New file.
1995 * gdb.guile/types-module.cc: New file.
1996 * gdb.guile/types-module.exp: New file.
1998 2014-02-10 Yao Qi <yao@codesourcery.com>
2001 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
2002 * configure: Regenerated.
2003 * Makefile.in: New file.
2005 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2007 * gdb.python/py-framefilter.exp: Fix typo.
2009 2014-02-08 Yao Qi <yao@codesourcery.com>
2011 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
2012 that no =breakpoint-modified is emitted when breakpoints are
2013 modified through MI commands.
2015 2014-02-07 Pedro Alves <pedro@codesourcery.com>
2016 Pedro Alves <palves@redhat.com>
2018 * gdb.threads/step-after-sr-lock.c: New file.
2019 * gdb.threads/step-after-sr-lock.exp: New file.
2021 2014-02-07 Pedro Alves <palves@redhat.com>
2023 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
2025 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2027 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
2028 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
2030 2014-02-06 Doug Evans <xdje42@gmail.com>
2032 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
2035 * gdb.gdb/python-interrupts.exp: New file.
2037 2014-02-05 Yao Qi <yao@codesourcery.com>
2039 * gdb.trace/report.exp (use_collected_data): Test the output
2040 of "info threads" and "info inferiors".
2042 2014-02-05 Yao Qi <yao@codesourcery.com>
2046 2013-05-24 Yao Qi <yao@codesourcery.com>
2048 * gdb.trace/tfile.exp: Test inferior and thread.
2050 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2052 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
2054 * gdb.base/step-bt.c: Call hello via function pointer to make
2055 sure its first instruction is executed on powerpc64le-linux.
2057 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2059 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
2061 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2063 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
2064 of the test patterns for use on little-endian systems.
2066 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2068 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
2069 (decimal_vector): Fix for little-endian.
2071 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2073 * gdb.arch/sparc-sysstep.exp: New file.
2074 * gdb.arch/sparc-sysstep.c: Likewise.
2076 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
2078 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2080 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
2082 2014-01-23 Tom Tromey <tromey@redhat.com>
2084 * gdb.ada/array_char_idx: New testcase.
2086 2014-01-23 Tom Tromey <tromey@redhat.com>
2089 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
2090 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
2093 2014-01-23 Tom Tromey <tromey@redhat.com>
2096 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
2097 string from an inferior frame.
2098 * gdb.python/py-framefilter-mi.exp: Update.
2100 2014-01-22 Doug Evans <dje@google.com>
2102 * gdb.server/server-mon.exp: Add tests for "set debug-format".
2104 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2106 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
2108 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2110 * gdb.trace/entry-values.exp: Remove excess space character from
2111 regex patterns. Handle s390 call instruction.
2113 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2115 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
2116 define "*_start" label. Make "name" static.
2117 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
2118 ${name} by references to ${name}_start.
2120 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2122 * gdb.base/info-macros.exp: Remove "debug" from the compile
2125 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2127 * gdb.dlang/demangle.exp: New file.
2129 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2131 * gdb.dlang/primitive-types.exp: New file.
2133 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2135 * configure.ac: Create gdb.dlang/Makefile.
2136 * configure: Regenerate.
2137 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
2138 * gdb.dlang/Makefile.in: New file.
2139 * lib/d-support.exp: New file.
2140 * lib/gdb.exp (skip_d_tests): New proc.
2142 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2144 * gdb.btrace/delta.exp: Check reverse stepi.
2145 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
2146 * gdb.btrace/finish.exp: New.
2147 * gdb.btrace/next.exp: New.
2148 * gdb.btrace/nexti.exp: New.
2149 * gdb.btrace/record_goto.c: Add comments.
2150 * gdb.btrace/step.exp: New.
2151 * gdb.btrace/stepi.exp: New.
2152 * gdb.btrace/multi-thread-step.c: New.
2153 * gdb.btrace/multi-thread-step.exp: New.
2154 * gdb.btrace/rn-dl-bind.c: New.
2155 * gdb.btrace/rn-dl-bind.exp: New.
2156 * gdb.btrace/data.c: New.
2157 * gdb.btrace/data.exp: New.
2158 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2160 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2162 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
2163 * gdb.btrace/exception.exp: Update.
2164 * gdb.btrace/instruction_history.exp: Update.
2165 * gdb.btrace/record_goto.exp: Update.
2166 * gdb.btrace/tailcall.exp: Update.
2167 * gdb.btrace/unknown_functions.exp: Update.
2168 * gdb.btrace/delta.exp: New.
2170 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2172 * gdb.btrace/record_goto.exp: Add backtrace test.
2173 * gdb.btrace/tailcall.exp: Add backtrace test.
2175 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2177 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
2178 * gdb.btrace/record_goto.c: New.
2179 * gdb.btrace/record_goto.exp: New.
2180 * gdb.btrace/x86-record_goto.S: New.
2182 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2184 * gdb.btrace/function_call_history.exp: Update tests.
2185 * gdb.btrace/instruction_history.exp: Update tests.
2187 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2189 * gdb.btrace/function_call_history.exp: Fix expected field
2190 order for "record function-call-history".
2191 Add new tests for "record function-call-history /c".
2192 * gdb.btrace/exception.cc: New.
2193 * gdb.btrace/exception.exp: New.
2194 * gdb.btrace/tailcall.exp: New.
2195 * gdb.btrace/x86-tailcall.S: New.
2196 * gdb.btrace/x86-tailcall.c: New.
2197 * gdb.btrace/unknown_functions.c: New.
2198 * gdb.btrace/unknown_functions.exp: New.
2199 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2201 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2203 * gdb.btrace/instruction_history.exp: Update.
2204 * gdb.btrace/function_call_history.exp: Update.
2206 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2208 * gdb.btrace/function_call_history.exp: Fix expected function
2210 * gdb.btrace/instruction_history.exp: Initialize traced.
2211 Remove traced_functions.
2213 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2215 * gdb.btrace/function_call_history.exp: Update
2216 * gdb.btrace/instruction_history.exp: Update.
2218 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2220 * gdb.btrace/enable.exp: Update expected text.
2222 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
2224 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
2227 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
2229 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
2231 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2233 * lib/gdb.exp (supports_process_record): Return true for
2234 arm*-linux*. (supports_reverse): Likewise.
2236 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
2240 * gdb.python/py-type.c: Enhance test case.
2241 * gdb.python/py-value-cc.cc: Likewise
2242 * gdb.python/py-type.exp: Add new tests.
2243 * gdb.python/py-value-cc.exp: Likewise
2245 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2246 Pedro Alves <palves@redhat.com>
2248 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
2250 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
2251 references to ${name}_start by references to ${name}.
2253 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2255 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
2257 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2259 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
2261 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
2262 Pedro Alves <palves@redhat.com>
2264 * gdb.mi/mi-info-os.exp: Connect to the target with
2267 2014-01-08 Pedro Alves <palves@redhat.com>
2269 * gdb.threads/reconnect-signal.c: New file.
2270 * gdb.threads/reconnect-signal.exp: New file.
2272 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2274 * gdb.base/source-dir.exp: New file.
2276 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2278 * gdb.ada/mi_interface: New testcase.
2280 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2282 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
2283 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
2284 gdb.ada/pp-rec-component/pck.ads: New files.
2286 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2288 * gdb.python/py-pp-integral.c: New file.
2289 * gdb.python/py-pp-integral.py: New file.
2290 * gdb.python/py-pp-integral.exp: New file.
2292 For older changes see ChangeLog-1993-2013.
2298 ;; version-control: never
2301 Copyright 2014 Free Software Foundation, Inc.
2302 Copying and distribution of this file, with or without modification,
2303 are permitted provided the copyright notice and this notice are preserved.