1 2014-07-28 Will Newton <will.newton@linaro.org>
3 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5 2014-07-26 Ludovic Courtès <ludo@gnu.org>
6 Doug Evans <xdje42@gmail.com>
9 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
11 2014-07-25 Pedro Alves <palves@redhat.com>
13 * gdb.threads/signal-command-handle-nopass.c: New file.
14 * gdb.threads/signal-command-handle-nopass.exp: New file.
15 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
16 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
17 * gdb.threads/signal-delivered-right-thread.c: New file.
18 * gdb.threads/signal-delivered-right-thread.exp: New file.
20 2014-07-25 Pedro Alves <palves@redhat.com>
22 * gdb.base/double-prompt-target-event-error.exp
23 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
25 (cancel_pagination_in_target_event): Rework double prompt
27 * gdb.base/paginate-after-ctrl-c-running.exp
28 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
30 * gdb.base/paginate-bg-execution.exp
31 (test_bg_execution_pagination_return)
32 (test_bg_execution_pagination_cancel): Remove '-notransfer
34 * gdb.base/paginate-execution-startup.exp
35 (test_fg_execution_pagination_return)
36 (test_fg_execution_pagination_cancel): Remove '-notransfer
38 * gdb.base/paginate-inferior-exit.exp
39 (test_paginate_inferior_exited): Remove '-notransfer <return>'
41 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
42 * lib/gdb.exp (pagination_prompt): Run text through
44 (gdb_test_multiple): Match $pagination_prompt instead of
46 (string_to_regexp): Move to lib/gdb-utils.exp.
48 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
50 * gdb.arch/amd64-entry-value-paramref.S: New file.
51 * gdb.arch/amd64-entry-value-paramref.cc: New file.
52 * gdb.arch/amd64-entry-value-paramref.exp: New file.
53 * gdb.arch/amd64-optimout-repeat.S: New file.
54 * gdb.arch/amd64-optimout-repeat.c: New file.
55 * gdb.arch/amd64-optimout-repeat.exp: New file.
57 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
60 * gdb.base/statistics.exp: New file.
62 2014-07-17 Doug Evans <dje@google.com>
65 * gdb.base/maint.exp: Update testing of per-command stats.
67 2014-07-16 Pedro Alves <palves@redhat.com>
69 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
70 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
71 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
72 (tfile_write_buf): New functions.
73 (add_memory_block): Rewrite using the above.
74 (adjust_function_address): New function.
75 (FUNCTION_ADDRESS): New macro.
76 (write_basic_trace_file): Remove short_x local, and use
77 tfile_write_16. Change type of func_addr local to unsigned long
78 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
79 here. Cast argument of add_memory_block to char pointer.
80 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
81 (main): Remove parameters.
82 * gdb.trace/tfile.exp: Remove nowarnings.
84 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
86 * gdb.base/debug-expr.exp: Test string evaluation with
87 "debug expression" on.
89 2014-07-15 Pedro Alves <palves@redhat.com>
91 * gdb.base/reread.exp: Use clean_restart.
93 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
95 * gdb.arch/avr-flash-qualifer.c: New.
96 * gdb.arch/avr-flash-qualifer.exp: New.
98 2014-07-14 Pedro Alves <palves@redhat.com>
100 * gdb.base/paginate-after-ctrl-c-running.c: New file.
101 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
103 2014-07-14 Pedro Alves <palves@redhat.com>
105 * gdb.base/double-prompt-target-event-error.c: New file.
106 * gdb.base/double-prompt-target-event-error.exp: New file.
108 2014-07-14 Pedro Alves <palves@redhat.com>
111 * gdb.base/paginate-inferior-exit.c: New file.
112 * gdb.base/paginate-inferior-exit.exp: New file.
114 2014-07-14 Pedro Alves <palves@redhat.com>
117 * gdb.base/paginate-bg-execution.c: New file.
118 * gdb.base/paginate-bg-execution.exp: New file.
120 2014-07-14 Pedro Alves <palves@redhat.com>
123 * gdb.base/paginate-execution-startup.c: New file.
124 * gdb.base/paginate-execution-startup.exp: New file.
125 * lib/gdb.exp (pagination_prompt): New global.
126 (default_gdb_spawn): New procedure, factored out from
128 (default_gdb_start): Adjust to call default_gdb_spawn.
129 (gdb_spawn): New procedure.
131 2014-07-14 Pedro Alves <palves@redhat.com>
133 * lib/gdb.exp (gdb_assert): New procedure.
134 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
136 2014-07-14 Pedro Alves <palves@redhat.com>
138 * gdb.base/execution-termios.c: New file.
139 * gdb.base/execution-termios.exp: New file.
141 2014-07-14 Tom Tromey <tromey@redhat.com>
143 * gdb.cp/vla-cxx.cc: New file.
144 * gdb.cp/vla-cxx.exp: New file.
146 2014-07-14 Tom Tromey <tromey@redhat.com>
148 * gdb.reverse/rerun-prec.c: New file.
149 * gdb.reverse/rerun-prec.exp: New file.
151 2014-07-12 Maciej W. Rozycki <macro@mips.com>
152 Maciej W. Rozycki <macro@codesourcery.com>
154 * lib/gdb-utils.exp: New file.
155 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
156 inline `gdb_init_command' processing.
157 (gdb_start_cmd): Likewise.
158 * lib/mi-support.exp (mi_run_cmd): Likewise.
159 * README: Document `gdb_init_command' and `gdb_init_commands'.
161 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
163 Fix false FAIL running under a very long directory name.
164 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
165 and "set print elements 10000". Twice.
167 2014-07-11 Yao Qi <yao@codesourcery.com>
169 * gdb.base/exprs.exp: "set print symbol off".
171 2014-07-11 Pedro Alves <palves@redhat.com>
173 * gdb.threads/kill.c: New file.
174 * gdb.threads/kill.exp: New file.
176 2014-07-10 Yao Qi <yao@codesourcery.com>
178 * gdb.trace/tfile.c (write_basic_trace_file)
179 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
180 address written to trace file.
182 2014-07-09 Pedro Alves <palves@redhat.com>
184 * gdb.base/attach-wait-input.exp: New file.
185 * gdb.base/attach-wait-input.c: New file.
187 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
189 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
190 setting up test structures.
191 (main): Call new test function.
192 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
193 test function, continue into test function and walk test
196 2014-07-02 Yao Qi <yao@codesourcery.com>
198 * gdb.trace/entry-values.c: Define labels 'foo_start' and
199 'bar_start' at the beginning of functions 'foo' and 'bar'
201 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
202 instead of 'foo' and 'bar'.
204 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
206 * gdb.btrace/segv.exp: New.
207 * gdb.btrace/segv.c: New.
209 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
211 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
214 2014-06-30 Mark Wielaard <mjw@redhat.com>
216 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
217 vulture, vilify, villar): New volatile array constants.
218 (vindictive, vegetation): New const volatile array constants.
219 * gdb.base/volatile.exp: Test volatile and const volatile array
222 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
224 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
225 target lacks support for awatch, rwatch, or hbreak.
227 2014-06-27 Yao Qi <yao@codesourcery.com>
229 * gdb.multi/dummy-frame-restore.exp: New.
230 * gdb.multi/dummy-frame-restore.c: New.
232 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
234 * gdb.btrace/gcore.exp: New.
236 2014-06-23 Pedro Alves <palves@redhat.com>
238 * gdb.base/watchpoint-reuse-slot.c: New file.
239 * gdb.base/watchpoint-reuse-slot.exp: New file.
241 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
243 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
244 progspace's filename in 'info', 'enable' and 'disable' command
247 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
249 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
250 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
251 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
253 2014-06-20 Gary Benson <gbenson@redhat.com>
255 * gdb.arch/i386-avx.exp: Fix include file location.
256 * gdb.arch/i386-sse.exp: Likewise.
258 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
260 * gdb.dlang/expression.exp: New file.
262 2014-06-19 Pedro Alves <palves@redhat.com>
264 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
266 (top level): ... here. Iterate running tests under different
267 scheduler-locking settings.
269 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
271 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
272 to DW_FORM_addr and use non-zero addresses.
274 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
277 * gdb.python/py-xmethods.cc: Add global function call counters and
278 increment them in their respective functions. Remove "cout"
280 * gdb.python/py-xmethods.exp: Make tests check the global function
281 call counters instead of depending on inferior IO.
283 2014-06-18 Don Breazeal <donb@codesourcery.com>
285 * gdb.base/foll-fork.exp (default_fork_parent_follow):
287 (explicit_fork_parent_follow): Deleted procedure.
288 (explicit_fork_child_follow): Deleted procedure.
289 (test_follow_fork): New procedure.
290 (do_fork_tests): Replace calls to deleted procedures with
291 calls to test_follow_fork and reset GDB for subsequent
294 2014-06-17 Yao Qi <yao@codesourcery.com>
296 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
299 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
301 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
302 Initialize ptr and S explicitly.
303 (skip_type_update_when_not_use_rtti_test): Likewise.
305 2014-06-16 Keith Seitz <keiths@redhat.com>
308 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
309 the inferior is started.
311 2014-06-16 Pedro Alves <palves@redhat.com>
313 * gdb.base/break-main-file-remove-fail.c: New file.
314 * gdb.base/break-main-file-remove-fail.exp: New file.
315 * gdb.base/break-unload-file.exp: Use build_executable instead of
317 (test_break): New parameter "initial_load". Handle it.
318 (top level): Add initial_load cmdline/file axis.
320 2014-06-12 Tom Tromey <tromey@redhat.com>
322 * gdb.base/completion.exp: Don't use directory name in test.
324 2014-06-09 Gary Benson <gbenson@redhat.com>
326 * gdb.base/sigall.c [Functions to send signals]: Reorder to
327 separate the always-available ANSI-standard signals from the
328 signals that require checking.
330 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
334 2014-06-07 Keith Seitz <keiths@redhat.com>
338 * gdb.cp/var-tag.cc: New file.
339 * gdb.cp/var-tag.exp: New file.
340 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
341 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
342 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
343 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
345 2014-06-06 Doug Evans <xdje42@gmail.com>
347 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
349 2014-06-06 Pedro Alves <palves@redhat.com>
351 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
352 in target debug output instead of looking at RSP packets,
353 disabling the test on any target that uses hardware stepping.
356 2014-06-06 Pedro Alves <palves@redhat.com>
358 * gdb.base/break-unload-file.exp: Fix typo.
360 2014-06-06 Yao Qi <yao@codesourcery.com>
362 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
363 from "jit_function" to "^jit_function".
365 2014-06-06 Yao Qi <yao@codesourcery.com>
367 * gdb.base/async.c (foo): Add one statement.
368 * gdb.base/async.exp: Get the next instruction address and
369 match the output of "nexti" by instruction address. Match
370 the hex address in the output of "finish".
372 2014-06-06 Gary Benson <gbenson@redhat.com>
374 * gdb.base/call-signals.c: Remove preprocessor conditionals
375 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
377 * gdb.base/sigall.c: Likewise.
378 * gdb.base/unwindonsignal.c: Likewise.
379 * gdb.reverse/sigall-reverse.c: Likewise.
381 2014-06-06 Yao Qi <yao@codesourcery.com>
383 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
384 readable, skip the test.
386 2014-06-06 Yao Qi <yao@codesourcery.com>
388 * gdb.threads/staticthreads.c (thread_function): Move the line
389 setting breakpoint on forward.
390 * gdb.threads/staticthreads.exp: Update comments.
392 2014-06-05 Ludovic Courtès <ludo@gnu.org>
394 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
395 "history-append! type error".
397 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
399 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
400 erroneous dprintf expected input.
402 2014-06-04 Doug Evans <xdje42@gmail.com>
404 * gdb.guile/scm-generics.exp: Delete.
406 2014-06-04 Doug Evans <xdje42@gmail.com>
408 * gdb.guile/scm-breakpoint.exp: Update.
409 Add tests for breakpoint registration.
411 2014-06-04 Tom Tromey <tromey@redhat.com>
413 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
415 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
416 inner_vla_struct, vla_union types. Initialize objects of those
417 types and compute their sizes.
419 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
420 Hui Zhu <hui@codesourcery.com>
422 * gdb.base/fileio.exp: Add test for shell not available as well as
424 * gdb.base/fileio.c (test_system): Check for shell twice.
426 2014-06-04 Yao Qi <yao@codesourcery.com>
428 * gdb.base/auto-connect-native-target.exp: Remove redundant
429 space from the regexp pattern.
431 2014-06-04 Yao Qi <yao@codesourcery.com>
433 * gdb.base/default.exp: Replace "child" with "native" in
436 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
438 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
439 * gdb.python/py-xmethods.exp: New tests to test xmethods.
440 * gdb.python/py-xmethods.py: Python script supporting the
441 new testcase and tests.
443 2014-06-03 Joel Brobecker <brobecker@adacore.com>
444 Pedro Alves <palves@redhat.com>
447 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
448 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
450 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
452 * gdb.base/subst.exp: Add tests to verify partial path matching
455 2014-06-03 Pedro Alves <palves@redhat.com>
457 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
458 target that doesn't use software single-stepping.
460 2014-06-03 Pedro Alves <palves@redhat.com>
463 * gdb.base/sss-bp-on-user-bp-2.c: New file.
464 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
466 2014-06-02 Doug Evans <xdje42@gmail.com>
468 * gdb.guile/scm-parameter.exp: New file.
470 2014-06-02 Doug Evans <xdje42@gmail.com>
472 * gdb.guile/scm-cmd.c: New file.
473 * gdb.guile/scm-cmd.exp: New file.
475 2014-06-02 Doug Evans <xdje42@gmail.com>
477 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
478 pretty-printer lookup.
479 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
480 (make-pp_s-printer): Call it.
481 (make-pretty-printer-from-dict): New function.
482 (lookup-pretty-printer-maker-from-dict): New function.
483 (*pretty-printer*): Simplify.
484 (make-objfile-pp_s-printer): New function.
485 (install-objfile-pretty-printers!): New function.
486 (make-progspace-pp_s-printer): New function.
487 (install-progspace-pretty-printers!): New function.
488 * gdb.guile/scm-progspace.c: New file.
489 * gdb.guile/scm-progspace.exp: New file.
491 2014-06-02 Pedro Alves <palves@redhat.com>
493 * gdb.base/dprintf-bp-same-addr.c: New file.
494 * gdb.base/dprintf-bp-same-addr.exp: New file.
496 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
498 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
499 * gdb.arch/powerpc-power.s: Likewise.
501 2014-06-02 Joel Brobecker <brobecker@adacore.com>
503 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
505 2014-06-01 Yao Qi <yao@codesourcery.com>
507 * gdb.base/watchpoint.exp (test_watch_location): Check null
508 pointer can be dereferenced. If not, do the test, otherwise
511 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
513 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
515 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
517 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
519 * gdb.arch/amd64-invalid-stack-middle.S: New file.
520 * gdb.arch/amd64-invalid-stack-middle.c: New file.
521 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
522 * gdb.arch/amd64-invalid-stack-top.c: New file.
523 * gdb.arch/amd64-invalid-stack-top.exp: New file.
525 2014-05-30 Pedro Alves <palves@redhat.com>
528 * gdb.base/sss-bp-on-user-bp.c: New file.
529 * gdb.base/sss-bp-on-user-bp.exp: New file.
531 2014-05-30 David Blaikie <dblaikie@gmail.com>
533 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
534 gnu_inline semantics via attribute.
535 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
536 source explicitly specifies the required semantics.
538 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
540 * gdb.reverse/sigall-reverse.exp: Fix a typo.
542 2014-05-29 Pedro Alves <palves@redhat.com>
543 Tom Tromey <tromey@redhat.com>
545 * gdb.base/async-shell.exp: Don't enable target-async.
547 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
549 (top level): Don't test with "target-async".
550 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
551 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
552 * gdb.base/inferior-died.exp: Don't enable target-async.
553 * gdb.base/interrupt-noterm.exp: Likewise.
554 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
555 * gdb.mi/mi-nonstop-exit.exp: Likewise.
556 * gdb.mi/mi-nonstop.exp: Likewise.
557 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
558 * gdb.mi/mi-nsintrall.exp: Likewise.
559 * gdb.mi/mi-nsmoribund.exp: Likewise.
560 * gdb.mi/mi-nsthrexec.exp: Likewise.
561 * gdb.mi/mi-watch-nonstop.exp: Likewise.
562 * gdb.multi/watchpoint-multi.exp: Adjust comment.
563 * gdb.python/py-evsignal.exp: Don't enable target-async.
564 * gdb.python/py-evthreads.exp: Likewise.
565 * gdb.python/py-prompt.exp: Likewise.
566 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
567 * gdb.server/solib-list.exp: Don't enable target-async.
568 * gdb.threads/thread-specific-bp.exp: Likewise.
569 * lib/mi-support.exp: Adjust to use mi-async.
571 2014-05-29 Pedro Alves <palves@redhat.com>
574 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
575 reason, even in sync mode.
577 2014-05-29 Pedro Alves <palves@redhat.com>
578 Hui Zhu <hui@codesourcery.com>
581 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
582 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
583 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
584 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
586 2014-05-28 Joel Brobecker <brobecker@adacore.com>
588 * config/monitor.exp (gdb_target_monitor): Replace use of
589 "set remotebaud" by "set serial baud".
591 2014-05-26 Andy Wingo <wingo@igalia.com>
593 * gdb.guile/scm-breakpoint.exp:
594 * gdb.guile/scm-gsmob.exp: Update to use plain old object
595 properties instead of gdb-object-properties.
597 2014-05-26 Yao Qi <yao@codesourcery.com>
599 * gdb.server/no-thread-db.exp: Specify source file name
600 explicitly when setting a breakpoint.
602 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
604 * gdb.btrace/vdso.c: New.
605 * gdb.btrace/vdso.exp: New.
607 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
609 * gdb.base/gcore.exp (capture_command_output): Move ...
610 * lib/gdb.exp (capture_command_output): ... here.
612 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
614 * gdb.btrace/data.exp: Test memory access during btrace replay.
616 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
618 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
620 2014-05-21 Pedro Alves <palves@redhat.com>
623 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
624 (top level): Test that output related to execution commands is
625 sent to the console with CLI commands, but not with MI commands.
626 Test that breakpoint events are always mirrored to the console.
627 Also expect the new source line to be output after a "next" in
628 async mode too. Make it a pass/fail test.
629 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
631 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
633 2014-05-21 Pedro Alves <palves@redhat.com>
635 * gdb.base/list.exp (build_pattern, test_list): New procedures.
636 Use them to test variations of "list" after reaching a breakpoint.
637 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
638 Test "list" with listsize 10 after reaching a breakpoint.
639 * gdb.python/python.exp (decode_line current location line
640 number): Adjust expected line number.
642 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
644 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
645 behavior for $args, pass it directly to "run".
647 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
649 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
652 2014-05-21 Pedro Alves <palves@redhat.com>
654 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
655 auto-connect-native-target off".
656 * gdb.base/auto-connect-native-target.c: New file.
657 * gdb.base/auto-connect-native-target.exp: New file.
659 2014-05-21 Pedro Alves <palves@redhat.com>
661 * gdb.base/default.exp: Test "target native" instead of "target
664 2014-05-21 Mark Wielaard <mjw@redhat.com>
666 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
668 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
670 Fix TLS access for -static -pthread.
671 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
672 <HAVE_TLS> (thread_function, main): Initialize it.
673 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
675 <$have_tls != "">: Check TLSVAR.
677 2014-05-21 Pedro Alves <palves@redhat.com>
679 * gdb.base/dcache-line-read-error.c: New.
680 * gdb.base/dcache-line-read-error.exp: New.
682 2014-05-20 Pedro Alves <palves@redhat.com>
684 * gdb.base/compare-sections.c: New file.
685 * gdb.base/compare-sections.exp: New file.
687 2014-05-20 Pedro Alves <palves@redhat.com>
689 * gdb.base/break-idempotent.c: New file.
690 * gdb.base/break-idempotent.exp: New file.
692 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
694 * gdb.btrace/nohist.exp: New.
696 2014-05-20 Yao Qi <yao@codesourcery.com>
698 * lib/gdb.exp (gdb_init): Set timeout if test file is under
699 gdb.reverse directory and gdb_reverse_timeout exists in board
701 * README: Document gdb_reverse_timeout.
703 2014-05-20 Yao Qi <yao@codesourcery.com>
705 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
706 'test_file_name'. Treat args as a string instead of a list.
707 (gdb_init): Rename argument 'args' by 'test_file_name'.
709 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
711 * gdb.arch/powerpc-power.exp: New file.
712 * gdb.arch/powerpc-power.s: New file.
714 2014-05-16 Doug Evans <dje@google.com>
716 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
717 * gdb.base/completion.exp: Check that all expected files exist
718 before doing file completion.
720 2014-05-16 Doug Evans <dje@google.com>
722 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
724 (do_syscall_tests_without_xml): Update.
726 2014-05-16 Pedro Alves <palves@redhat.com>
728 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
729 instead of "unknown output after running".
731 2014-05-16 Yao Qi <yao@codesourcery.com>
733 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
734 file1.txt from host at the end.
735 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
737 2014-05-15 Doug Evans <dje@google.com>
739 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
740 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
741 loading file. Add test for TU lookup.
743 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
745 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
746 calling "-exec-arguments" or "set args" before running the
749 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
751 * lib/mi-support.exp (mi_expect_stop): Expect message for
752 inferiors that exit with non-zero exit code.
754 2014-05-14 Yao Qi <yao@codesourcery.com>
756 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
757 match absolute path on remote host.
758 (test_file_list_exec_source_files): Remove "/" from the
761 2014-05-14 Yao Qi <yao@codesourcery.com>
763 * boards/local-remote-host-notty.exp (${board}_file): New
766 2014-05-07 Kyle McMartin <kyle@redhat.com>
768 Pushed by Joel Brobecker <brobecker@adacore.com>.
769 * gdb.arch/aarch64-atomic-inst.c: New file.
770 * gdb.arch/aarch64-atomic-inst.exp: New file.
772 2014-05-07 Yao Qi <yao@codesourcery.com>
774 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
775 in current context" too.
777 2014-05-05 Keith Seitz <keiths@redhat.com>
779 * gdb.linespec/ls-dollar.exp: Add test for linespec
780 file:convenience_variable.
782 2014-05-05 Yao Qi <yao@codesourcery.com>
784 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
785 traceframes into tfile and ctf trace files. Read data from
786 trace file and test collected data.
787 (gdb_collect_locals_test): Likewise.
788 (gdb_unavailable_registers_test): Likewise.
789 (gdb_unavailable_floats): Likewise.
790 (gdb_collect_globals_test): Likewise.
791 (top-level): Append "ctf" to trace_file_targets if GDB
794 2014-05-05 Yao Qi <yao@codesourcery.com>
796 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
798 (gdb_collect_args_test_1): ... it. New proc.
799 (gdb_collect_locals_test): Move some code to ...
800 (gdb_collect_locals_test_1): ... it. New proc.
801 (gdb_unavailable_registers_test): Move some code to ...
802 (gdb_unavailable_registers_test_1): ... it. New proc.
803 (gdb_unavailable_floats): Move some code to ...
804 (gdb_unavailable_floats_1): ... it. New proc.
806 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
808 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
809 probes to test for bitness recognition.
810 * gdb.arch/amd64-stap-optional-prefix.exp
811 (test_probe_value_without_reg): New procedure.
812 Add code to test for different kinds of bitness.
814 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
817 * gdb.arch/amd64-stap-optional-prefix.S: New file.
818 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
820 2014-05-01 Pedro Alves <palves@redhat.com>
822 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
823 gdb_file_cmd if no file is specified.
824 * boards/native-extended-gdbserver.exp (gdb_load): Use the
825 last_loaded_file to set the remote exec-file.
827 2014-05-01 Pedro Alves <palves@redhat.com>
829 * boards/local-remote-host.exp: New file.
831 2014-05-01 Pedro Alves <palves@redhat.com>
833 * boards/local-remote-host.exp: Rename to ...
834 * boards/local-remote-host-notty.exp: ... this.
836 2014-04-28 Joel Brobecker <brobecker@adacore.com>
838 * gdb.ada/dyn_arrayidx: New testcase.
840 2014-04-26 Yao Qi <yao@codesourcery.com>
842 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
843 and compute the length of function main. Save it in
845 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
846 (top-level): Use gdb_compile to compile objects into
847 executable and restart GDB. Remove invocation to
850 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
851 Pedro Alves <palves@redhat.com>
854 * gdb.multi/multi-attach.c: New file.
855 * gdb.multi/multi-attach.exp: New file.
857 2014-04-25 Pedro Alves <palves@redhat.com>
859 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
861 (top level): Test that "set remote conditional-breakpoints-packet
862 off" works as intended.
863 * gdb.base/dprintf.exp: Test that "set remote
864 breakpoint-commands-packet off" works as intended.
865 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
867 (top level): Call it.
868 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
869 remote fast-tracepoints-packet off" works as intended.
870 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
871 * lib/gdb.exp (gdb_is_target_remote): ... here.
873 2014-04-24 David Blaikie <dblaikie@gmail.com>
875 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
876 ensure clang would not discard them.
877 * gdb.base/gdbvars.c: Ditto.
878 * gdb.base/memattr.c: Ditto.
879 * gdb.base/whatis.c: Ditto.
880 * gdb.python/py-prettyprint.c: Ditto.
881 * gdb.trace/actions.c: Ditto.
882 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
883 ensure clang would not discard it.
885 2014-04-24 David Blaikie <dblaikie@gmail.com>
887 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
888 clang to emit the full definition of type required by the test
889 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
891 2014-04-24 David Blaikie <dblaikie@gmail.com>
893 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
894 coax Clang into emitting the definition of the type.
895 * gdb.cp/pr10728-x.h (y): Ditto.
896 * gdb.cp/pr10728-y.cc (y): Ditto.
898 2014-04-24 David Blaikie <dblaikie@gmail.com>
900 * gdb.base/label.exp: XFAIL label related tests under Clang.
901 * gdb.cp/cplabel.exp: Ditto.
902 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
903 under Clang those using labels.
905 2014-04-25 Yao Qi <yao@codesourcery.com>
907 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
909 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
910 partial_label and double_label.
912 2014-04-24 David Blaikie <dblaikie@gmail.com>
914 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
916 2014-04-24 David Blaikie <dblaikie@gmail.com>
918 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
919 of the function to work across GCC and Clang.
920 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
921 pointer types (const void ** const V void **).
923 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
924 Walfred Tedeschi <walfred.tedeschi@intel.com>
926 * Makefile.in (EXECUTABLES): Added i386-avx512.
927 * gdb.arch/i386-avx512.c: New file.
928 * gdb.arch/i386-avx512.exp: Likewise.
930 2014-04-23 Keith Seitz <keiths@redhat.com>
932 * lib/mi-support.exp (mi_list_breakpoints): Delete.
933 (mi_make_breakpoint_table): New procedure.
934 (mi_create_breakpoint): Use mi_make_breakpoint
935 and return the result.
936 (mi_make_breakpoint): New procedure.
937 (mi_build_kv_pairs): New procedure.
939 * gdb.mi/mi-break.exp: Remove unused globals,
940 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
942 * gdb.mi/mi-dprintf.exp: Use variable to track command
944 Update all callers of mi_create_breakpoint and use
945 mi_make_breakpoint_table.
946 Remove any unused global variables.
947 * gdb.mi/mi-nonstop.exp: Likewise.
948 * gdb.mi/mi-nsintrall.exp: Likewise.
949 * gdb.mi/mi-nsmoribund.exp: Likewise.
950 * gdb.mi/mi-nsthrexec.exp: Likewise.
951 * gdb.mi/mi-reverse.exp: Likewise.
952 * gdb.mi/mi-simplerun.exp: Likewise.
953 * gdb.mi/mi-stepn.exp: Likewise.
954 * gdb.mi/mi-syn-frame.exp: Likewise.
955 * gdb.mi/mi-until.exp: Likewise.
956 * gdb.mi/mi-var-cp.exp: Likewise.
957 * gdb.mi/mi-var-display.exp: Likewise.
958 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
959 * gdb.mi/mi2-var-child.exp: Likewise.
960 * gdb.mi/mi-vla-c99.exp: Likewise.
961 * lib/mi-support.exp: Likewise.
963 From Ian Lance Taylor <iant@cygnus.com>:
964 * lib/gdb.exp (parse_args): New procedure.
966 2014-04-23 Pedro Alves <palves@redhat.com>
968 * gdb.base/break-unload-file.c: New file.
969 * gdb.base/break-unload-file.exp: New file.
970 * gdb.base/sym-file-lib.c (baz): New function.
971 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
973 (load): Store the segment's mapped size.
974 (unload): New function.
975 (unload_shlib): New function.
976 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
977 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
978 set a breakpoint at baz, and call it.
979 * gdb.base/sym-file.exp: New tests for stale breakpoint
982 2014-04-23 Pedro Alves <palves@redhat.com>
984 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
985 * gdb.base/hbreak-in-shr-unsupported.c: New file.
986 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
987 * gdb.base/hbreak-unmapped.c: New file.
988 * gdb.base/hbreak-unmapped.exp: New file.
989 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
990 * lib/gdb.exp (gdb_is_target_remote): ... here.
992 2014-04-22 Pedro Alves <palves@redhat.com>
994 * gdb.base/consecutive-step-over.c: New file.
995 * gdb.base/consecutive-step-over.exp: New file.
997 2014-04-22 Pedro Alves <palves@redhat.com>
999 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
1000 instead of send_gdb/gdb_expect.
1002 2014-04-22 Yao Qi <yao@codesourcery.com>
1004 * lib/trace-support.exp (generate_tracefile): New procedure.
1005 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
1007 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
1008 if generate_tracefile returns 1.
1010 2014-04-18 Tom Tromey <palves@redhat.com>
1011 Pedro alves <tromey@redhat.com>
1014 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
1015 with a backtrace limit.
1016 * gdb.python/py-frame-inline.exp: Test running to an inline
1017 function with a backtrace limit, and printing the newest frame.
1018 * gdb.python/py-frame-inline.c (main): Call f.
1020 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1022 * gdb.java/jnpe.exp: Drop srcdir from untested path.
1024 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1026 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
1027 Drop prefix from unsupported source file path.
1029 2014-04-17 Yao Qi <yao@codesourcery.com>
1031 * lib/gdb.exp (with_target_charset): New proc.
1032 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
1033 with_target_charset.
1034 (test_print_strings): Likewise.
1035 (test_repeat_bytes): Likewise.
1036 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
1039 2014-04-16 Keith Seitz <keiths@redhat.com>
1042 * gdb.dwarf2/corrupt.c: New file.
1043 * gdb.dwarf2/corrupt.exp: New file.
1045 2014-04-16 Keith Seitz <keiths@redhat.com>
1048 * gdb.cp/namelessclass.cc: New file.
1049 * gdb.cp/namelessclass.exp: New file.
1050 * gdb.cp/namelessclass.S: New file.
1052 2014-04-16 Doug Evans <dje@google.com>
1054 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
1056 (gdbserver_default_get_comm_port): New function.
1057 (gdbserver_start): Check if board file provided
1058 "gdbserver,get_comm_port" and use it if so.
1059 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
1060 (gdb,socketport): Set to "stdio".
1061 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
1062 (stdio_gdbserver_template): Delete.
1063 (${board}_get_remote_address): Update.
1064 (${board}_build_remote_cmd): Delete.
1065 (${board}_get_comm_port): New function.
1066 (${board}_spawn): Update.
1067 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
1069 (${board}_get_remote_address): Update.
1070 (${board}_get_comm_port): New function.
1072 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
1074 * gdb.base/memattr.exp: Improve regexps to handle memory regions
1075 appearing in any order.
1077 2014-04-15 Doug Evans <dje@google.com>
1079 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
1080 uninitialized value of "description".
1082 2014-04-15 Keith Seitz <keiths@redhat.com>
1084 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
1085 Remove unused globals.
1086 (test_running_the_program): Likewise.
1087 (test_controlled_execution): Likewise.
1088 (test_controlling_breakpoints): Likewise.
1089 (test_program_termination): Likewise.
1091 2014-04-15 Keith Seitz <keiths@redhat.com>
1093 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
1095 (test_rbreak_creation_and_listing): Likewise.
1096 (test_ignore_count): Likewise.
1097 (test_error): Likewise.
1099 2014-04-15 Pedro Alves <palves@redhat.com>
1101 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
1102 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
1104 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1105 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1106 to sym-file-loader.c.
1107 (struct library): Forward declare.
1108 (load_shlib, lookup_function): Change prototypes.
1109 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1110 (translate_offset): Remove declarations.
1111 (get_text_addr): New declaration.
1112 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
1113 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
1115 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1116 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1117 here from sym-file-loader.h.
1118 (struct library): New structure.
1119 (load_shlib, lookup_function): Change prototypes and adjust to
1120 work with a struct library.
1121 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1122 (translate_offset): Make static.
1123 (get_text_addr): New function.
1124 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
1126 2014-04-15 Pedro Alves <palves@redhat.com>
1128 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
1130 2014-04-15 Pedro Alves <palves@redhat.com>
1132 * gdb.base/sym-file-loader.c: Include <limits.h>.
1133 (SELF_LINK): New define.
1134 (get_origin): New function.
1135 (load_shlib): Use it.
1136 * gdb.base/sym-file.exp: Don't early return if the target is
1137 remote. Use runto_main, and issue fail is that fails. Use
1139 (shlib_name): Delete.
1140 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
1142 2014-04-15 Pedro Alves <palves@redhat.com>
1144 * gdb.base/sym-file.exp: Remove regex characters from test
1145 message. Don't refer to breakpoint numbers in test messages.
1147 2014-04-14 Keith Seitz <keiths@redhat.com>
1150 * gdb.cp/var-tag.cc: New file.
1151 * gdb.cp/var-tag.exp: New file.
1152 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1153 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1154 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1155 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1157 2014-04-14 Tom Tromey <tromey@redhat.com>
1159 * gdb.cp/classes.exp (test_enums): Handle underlying type.
1160 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
1162 * gdb.cp/enum-class.exp: New file.
1163 * gdb.cp/enum-class.cc: New file.
1165 2014-04-14 Tom Tromey <tromey@redhat.com>
1167 * gdb.dwarf2/enum-type.exp: New file.
1169 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1171 * gdb.mi/mi-vla-c99.exp: New file.
1172 * gdb.mi/vla.c: New file.
1174 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1176 * gdb.base/vla-datatypes.c: New file.
1177 * gdb.base/vla-datatypes.exp: New file.
1179 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1181 * gdb.base/vla-ptr.c: New file.
1182 * gdb.base/vla-ptr.exp: New file.
1184 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1186 * gdb.dwarf2/count.exp: New file.
1188 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1190 * gdb.base/vla-sideeffect.c: New file.
1191 * gdb.base/vla-sideeffect.exp: New file.
1193 2014-04-14 David Blaikie <dblaikie@gmail.com>
1195 * gdb.mi/non-stop.c: Add return value for non-void function return
1197 * gdb.threads/staticthreads.c: Ditto.
1199 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
1200 Doug Evans <xdje42@gmail.com>
1202 * gdb.guile/scm-value.c: Improve test case.
1203 * gdb.guile/scm-value.exp: Add new test.
1205 2014-04-11 David Blaikie <dblaikie@gmail.com>
1207 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
1208 override Clang's default.
1210 2014-04-11 Joel Brobecker <brobecker@adacore.com>
1212 Revert the following changes (regressions):
1214 * gdb.base/vla-sideeffect.c: New file.
1215 * gdb.base/vla-sideeffect.exp: New file.
1217 * gdb.dwarf2/count.exp: New file.
1219 * gdb.base/vla-multi.c: New file.
1220 * gdb.base/vla-multi.exp: New file.
1222 * gdb.base/vla-ptr.c: New file.
1223 * gdb.base/vla-ptr.exp: New file.
1225 * gdb.base/vla-datatypes.c: New file.
1226 * gdb.base/vla-datatypes.exp: New file.
1228 * gdb.mi/mi-vla-c99.exp: New file.
1229 * gdb.mi/vla.c: New file.
1231 2014-04-11 Keith Seitz <keiths@redhat.com>
1234 * gdb.cp/cpsizeof.exp: New file.
1235 * gdb.cp/cpsizeof.cc: New file.
1237 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1239 * gdb.mi/mi-vla-c99.exp: New file.
1240 * gdb.mi/vla.c: New file.
1242 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1244 * gdb.base/vla-datatypes.c: New file.
1245 * gdb.base/vla-datatypes.exp: New file.
1247 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1249 * gdb.base/vla-ptr.c: New file.
1250 * gdb.base/vla-ptr.exp: New file.
1252 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1254 * gdb.base/vla-multi.c: New file.
1255 * gdb.base/vla-multi.exp: New file.
1257 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1259 * gdb.dwarf2/count.exp: New file.
1261 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1263 * gdb.base/vla-sideeffect.c: New file.
1264 * gdb.base/vla-sideeffect.exp: New file.
1266 2014-04-11 Yao Qi <yao@codesourcery.com>
1268 * gdb.base/completion.exp: Check file exists before running tests
1271 2014-04-10 Pedro Alves <palves@redhat.com>
1273 * gdb.base/cond-eval-mode.c: New file.
1274 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
1275 prepare_for_testing to build the new file. Check result of
1277 (test_break, test_watch): New procedures.
1278 (top level): Use them.
1280 2014-04-08 Pierre Muller <muller@sourceware.org>
1282 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
1283 Ctrl-V use for mingw hosts.
1285 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
1287 * gdb.python/py-value.c: Improve test case.
1288 * gdb.python/py-value.exp: Add new test.
1290 2014-04-07 David Blaikie <dblaikie@gmail.com>
1292 * lib/compiler.c: Identify the clang compiler.
1293 * lib/compiler.cc: Ditto.
1295 2014-04-03 Yao Qi <yao@codesourcery.com>
1297 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
1299 2014-04-01 Anton Blanchard <anton@samba.org>
1301 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
1304 2014-04-01 Anton Blanchard <anton@samba.org>
1306 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
1307 prepare_for_testing.
1309 2014-04-01 Anton Blanchard <anton@samba.org>
1311 * gdb.arch/ppc64-atomic-inst.c: Remove.
1312 * gdb.arch/ppc64-atomic-inst.S: New file.
1313 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
1315 2014-03-31 Doug Evans <dje@google.com>
1317 * gdb.base/print-symbol-loading-lib.c: New file.
1318 * gdb.base/print-symbol-loading-main.c: New file.
1319 * gdb.base/print-symbol-loading.exp: New file.
1321 2014-03-31 Yao Qi <yao@codesourcery.com>
1323 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
1325 2014-03-28 Joel Brobecker <brobecker@adacore.com>
1327 * gdb.ada/mi_dyn_arr: New testcase.
1329 2014-03-27 Doug Evans <dje@google.com>
1331 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
1333 2014-03-27 Yao Qi <yao@codesourcery.com>
1335 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
1336 if target is nios2-*-*.
1338 2014-03-26 Yao Qi <yao@codesourcery.com>
1340 * lib/gdb.exp (readline_is_used): New proc.
1341 * gdb.base/completion.exp: Move tests on command complete up.
1342 Skip the rest of tests if readline is not used.
1343 * gdb.ada/complete.exp: Skp the test if readline is not
1345 * gdb.base/filesym.exp: Likewise.
1346 * gdb.base/macscp.exp: Likewise.
1347 * gdb.base/readline-ask.exp: Likewise.
1348 * gdb.base/readline.exp: Likewise.
1349 * gdb.python/py-cmd.exp: Likewise.
1350 * gdb.trace/tfile.exp: Likewise.
1352 2014-03-26 Yao Qi <yao@codesourcery.com>
1354 * gdb.base/macscp.exp: Fix code format issues.
1356 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
1358 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
1359 * gdb.asm/powerpc64le.inc: New file.
1361 2014-03-25 Pedro Alves <palves@redhat.com>
1362 Doug Evans <dje@google.com>
1364 * gdb.base/source-execution.c: New file.
1365 * gdb.base/source-execution.exp: New file.
1366 * gdb.base/source-execution.gdb: New file.
1368 2014-03-24 Doug Evans <dje@google.com>
1370 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
1373 2014-03-24 Hui Zhu <hui@codesourcery.com>
1374 Pedro Alves <palves@redhat.com>
1376 PR breakpoints/16101
1377 * gdb.base/dprintf.exp: Use unsupported rather than changing the
1378 test pass/fail messages. Detect missing support for dprintf when
1379 breakpoints are actually inserted.
1380 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
1381 breakpoints are actually inserted.
1382 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
1385 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1387 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
1389 2014-03-22 Doug Evans <xdje42@gmail.com>
1391 * gdb.python/python.exp (python not supported): Verify multi-line
1392 python command issues an error.
1393 * gdb.guile/guile.exp (guile not supported): Verify multi-line
1394 guile command issues an error.
1396 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
1398 * gdb.threads/thread-specific.exp: Handle the lack of usable
1399 $this_breakpoint and $this_thread.
1401 2014-03-21 Hui Zhu <hui@codesourcery.com>
1403 * gdb.base/attach.exp (do_command_attach_tests): New.
1405 2014-03-20 Tom Tromey <tromey@redhat.com>
1406 Pedro Alves <palves@redhat.com>
1409 * gdb.base/condbreak-call-false.c: New file.
1410 * gdb.base/condbreak-call-false.exp: New file.
1412 2014-03-20 Pedro Alves <palves@redhat.com>
1414 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
1416 (block_signals, unblock_signals): Delete.
1417 (child_function_2, main): Remove references to deleted variable
1420 2014-03-20 Pedro Alves <palves@redhat.com>
1422 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
1423 Use pthread_kill to signal thread 2.
1424 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1425 Adjust to make the test send itself a signal rather than using the
1426 host's "kill" command.
1428 2014-03-20 Pedro Alves <palves@redhat.com>
1430 * gdb.threads/multiple-step-overs.c: New file.
1431 * gdb.threads/multiple-step-overs.exp: New file.
1432 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1433 Adjust expected infrun debug output.
1435 2014-03-20 Pedro Alves <palves@redhat.com>
1437 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
1438 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
1440 2014-03-20 Pedro Alves <palves@redhat.com>
1443 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
1444 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
1445 of gdb_test_multiple.
1446 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
1447 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
1449 2014-03-20 Pedro Alves <palves@redhat.com>
1451 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
1452 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
1454 2014-03-19 Pedro Alves <palves@redhat.com>
1456 * gdb.base/async.exp: Remove early return.
1458 2014-03-19 Pedro Alves <palves@redhat.com>
1460 * gdb.base/async.exp (step& tests): Pass explicit test messages.
1462 2014-03-19 Pedro Alves <palves@redhat.com>
1464 * gdb.base/async.exp (test_background): Expect \r\n after
1465 "completed." in the fail pattern.
1467 2014-03-19 Pedro Alves <palves@redhat.com>
1469 * gdb.base/async.exp (test_background): New procedure.
1470 Use it for all background execution command tests.
1472 2014-03-19 Pedro Alves <palves@redhat.com>
1474 * gdb.base/async.exp: Use prepare_for_testing.
1476 2014-03-19 Pedro Alves <palves@redhat.com>
1478 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
1481 2014-03-19 Pedro Alves <palves@redhat.com>
1483 * gdb.base/async.c (main): Add "jump here" and "until here" line
1485 * gdb.base/async.exp (jump_here): New global.
1486 (jump& test): Use it.
1487 (until_here): New global.
1488 (until& test): Use it.
1490 2014-03-19 Pedro Alves <palves@redhat.com>
1492 * gdb.base/async.exp: Don't frob gdb_protocol.
1494 2014-03-18 Doug Evans <xdje42@gmail.com>
1496 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
1497 Fix spelling of exec-done-display.
1499 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1502 * gdb.base/gdb-sigterm.c: New file.
1503 * gdb.base/gdb-sigterm.exp: New file.
1505 2014-03-18 Pedro Alves <palves@redhat.com>
1508 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
1509 * lib/mi-support.exp (mi_expect_stop): Add special handling for
1512 2014-03-17 Joel Brobecker <brobecker@adacore.com>
1514 * gdb.ada/pckd_arr_ren: New testcase.
1516 2014-03-13 Doug Evans <xdje42@gmail.com>
1519 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
1520 collect after discarding symbols.
1522 2014-03-13 Ludovic Courtès <ludo@gnu.org>
1523 Doug Evans <xdje42@gmail.com>
1525 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
1526 to history survives a gc.
1528 2014-03-13 Pedro Alves <palves@redhat.com>
1530 * gdb.base/default.exp: Don't test "target procfs".
1532 2014-03-13 Pedro Alves <palves@redhat.com>
1534 * gdb.base/default.exp: Update "target child" and "target procfs"
1535 tests to not expect "Unix".
1537 2014-03-12 Tom Tromey <tromey@redhat.com>
1539 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
1540 New procs. Add target-async tests.
1541 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
1542 Add target-async tests.
1544 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1546 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
1547 'func_start' and 'func_end' for the beginning and end of the
1548 function code, respectively.
1549 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
1550 'func_end' instead of 'func' and 'main'.
1552 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1554 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
1555 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
1556 generate the debug info assembler source.
1558 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1560 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
1561 * gdb.dwarf2/arr-subrange.exp: Likewise.
1562 * gdb.dwarf2/dwz.exp: Likewise.
1563 * gdb.dwarf2/method-ptr.exp: Likewise.
1564 * gdb.dwarf2/missing-sig-type.exp: Likewise.
1565 * gdb.dwarf2/subrange.exp: Likewise.
1566 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
1567 * gdb.dwarf2/implptrpiece.exp: Likewise.
1568 * gdb.dwarf2/nostaticblock.exp: Likewise.
1570 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1572 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
1573 directory to absolute path name arguments.
1575 2014-03-10 Joel Brobecker <brobecker@adacore.com>
1577 * gdb.ada/tagged_access: New testcase.
1579 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
1581 * gdb.btrace/data.exp: Update expected output.
1583 2014-03-06 Yao Qi <yao@codesourcery.com>
1585 * gdb.trace/pr16508.exp: New file.
1587 2014-03-05 Pedro Alves <palves@redhat.com>
1590 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
1592 (top level): Adjust to use it. Add tests that exercise breakpoint
1593 interaction with the code-cache.
1595 2014-02-26 Ludovic Courtès <ludo@gnu.org>
1597 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
1598 test for 'history-append!'.
1600 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1602 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
1603 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
1604 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
1605 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
1606 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
1607 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
1609 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1611 * testsuite/gdb.python/py-pp-re-notag.c: New file.
1612 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
1613 * testsuite/gdb.python/py-pp-re-notag.p: New file.
1615 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1617 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
1619 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1621 * gdb.dwarf2/arr-stride.c: New file.
1622 * gdb.dwarf2/arr-stride.exp: New file.
1624 2014-02-26 Pedro Alves <palves@redhat.com>
1626 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
1627 that won't ever trigger. Make sure that GDB reports the correct
1628 breakpoint that caused the stop.
1630 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1633 * gdb.base/auto-load-script: New file.
1634 * gdb.base/auto-load.c: New file.
1635 * gdb.base/auto-load.exp: New file.
1638 * gdb.base/auto-load.exp: Fix out-of-srctree run.
1640 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1642 Fix dw2-icycle.exp -fsanitize=address GDB crash.
1643 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
1645 2014-02-24 Doug Evans <dje@google.com>
1647 * lib/gdb.exp (run_on_host): Log error output if program fails.
1649 2014-02-21 Pedro Alves <palves@redhat.com>
1651 * gdb.threads/step-after-sr-lock.c: Rename to ...
1652 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
1653 * gdb.threads/step-after-sr-lock.exp: Rename to ...
1654 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1657 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1660 * gdb.arch/amd64-stap-special-operands.exp: New file.
1661 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
1662 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
1663 * gdb.arch/amd64-stap-triplet.S: Likewise.
1664 * gdb.arch/amd64-stap-triplet.c: Likewise.
1666 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1668 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
1669 in .section pseudo-op.
1671 2014-02-20 lin zuojian <manjian2006@gmail.com>
1672 Joel Brobecker <brobecker@adacore.com>
1673 Doug Evans <xdje42@gmail.com>
1676 * gdb.dwarf2/dw2-icycle.S: New file.
1677 * gdb.dwarf2/dw2-icycle.c: New file.
1678 * gdb.dwarf2/dw2-icycle.exp: New file.
1680 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1682 * gdb.python/py-value-cc.cc: Improve test case to enable testing
1683 operations on gdb.Value objects.
1684 * gdb.python/py-value-cc.exp: Add new test to test operations on
1687 2014-02-18 Doug Evans <dje@google.com>
1689 * Makefile.in (TESTS): New variable.
1690 (expanded_tests, expanded_tests_or_none): New variables
1691 (check-single): Pass $(expanded_tests_or_none) to runtest.
1692 (check-parallel): Only run tests in $(TESTS) if non-empty.
1693 (check/no-matching-tests-found): New rule.
1694 * README: Document TESTS makefile variable.
1696 2014-02-18 Doug Evans <dje@google.com>
1698 * Makefile.in (check-parallel): rm -rf outputs temp.
1700 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1702 Fix "ERROR: no fileid for" in the testsuite.
1703 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
1705 2014-02-12 Doug Evans <dje@google.com>
1707 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
1708 (MISCELLANEOUS): New variable.
1709 (clean): rm -rf $(MISCELLANEOUS).
1710 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
1711 dwp live in the same directory as symlinks, with each symlink pointed
1712 to a differently named file in a different directory.
1714 2014-02-11 Doug Evans <dje@google.com>
1716 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
1717 of Tcl file commands.
1719 2014-02-10 Mark Kettenis <kettenis@gnu.org>
1721 * gdb.threads/step-after-sr-lock.exp: Avoid executing
1724 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1726 * gdb.ada/tick_length_array_enum_idx: New testcase.
1728 2014-02-10 Doug Evans <xdje42@gmail.com>
1730 * configure.ac (AC_OUTPUT): Add gdb.guile.
1731 * configure: Regenerate.
1732 * lib/gdb-guile.exp: New file.
1733 * lib/gdb.exp (get_target_charset): New function.
1734 * gdb.base/help.exp: Update expected output from "apropos apropos".
1735 * gdb.guile/Makefile.in: New file.
1736 * gdb.guile/guile.exp: New file.
1737 * gdb.guile/scm-arch.c: New file.
1738 * gdb.guile/scm-arch.exp: New file.
1739 * gdb.guile/scm-block.c: New file.
1740 * gdb.guile/scm-block.exp: New file.
1741 * gdb.guile/scm-breakpoint.c: New file.
1742 * gdb.guile/scm-breakpoint.exp: New file.
1743 * gdb.guile/scm-disasm.c: New file.
1744 * gdb.guile/scm-disasm.exp: New file.
1745 * gdb.guile/scm-equal.c: New file.
1746 * gdb.guile/scm-equal.exp: New file.
1747 * gdb.guile/scm-error.exp: New file.
1748 * gdb.guile/scm-error.scm: New file.
1749 * gdb.guile/scm-frame-args.c: New file.
1750 * gdb.guile/scm-frame-args.exp: New file.
1751 * gdb.guile/scm-frame-args.scm: New file.
1752 * gdb.guile/scm-frame-inline.c: New file.
1753 * gdb.guile/scm-frame-inline.exp: New file.
1754 * gdb.guile/scm-frame.c: New file.
1755 * gdb.guile/scm-frame.exp: New file.
1756 * gdb.guile/scm-generics.exp: New file.
1757 * gdb.guile/scm-gsmob.exp: New file.
1758 * gdb.guile/scm-iterator.c: New file.
1759 * gdb.guile/scm-iterator.exp: New file.
1760 * gdb.guile/scm-math.c: New file.
1761 * gdb.guile/scm-math.exp: New file.
1762 * gdb.guile/scm-objfile-script-gdb.in: New file.
1763 * gdb.guile/scm-objfile-script.c: New file.
1764 * gdb.guile/scm-objfile-script.exp: New file.
1765 * gdb.guile/scm-objfile.c: New file.
1766 * gdb.guile/scm-objfile.exp: New file.
1767 * gdb.guile/scm-ports.exp: New file.
1768 * gdb.guile/scm-pretty-print.c: New file.
1769 * gdb.guile/scm-pretty-print.exp: New file.
1770 * gdb.guile/scm-pretty-print.scm: New file.
1771 * gdb.guile/scm-section-script.c: New file.
1772 * gdb.guile/scm-section-script.exp: New file.
1773 * gdb.guile/scm-section-script.scm: New file.
1774 * gdb.guile/scm-symbol.c: New file.
1775 * gdb.guile/scm-symbol.exp: New file.
1776 * gdb.guile/scm-symtab-2.c: New file.
1777 * gdb.guile/scm-symtab.c: New file.
1778 * gdb.guile/scm-symtab.exp: New file.
1779 * gdb.guile/scm-type.c: New file.
1780 * gdb.guile/scm-type.exp: New file.
1781 * gdb.guile/scm-value-cc.cc: New file.
1782 * gdb.guile/scm-value-cc.exp: New file.
1783 * gdb.guile/scm-value.c: New file.
1784 * gdb.guile/scm-value.exp: New file.
1785 * gdb.guile/source2.scm: New file.
1786 * gdb.guile/types-module.cc: New file.
1787 * gdb.guile/types-module.exp: New file.
1789 2014-02-10 Yao Qi <yao@codesourcery.com>
1792 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
1793 * configure: Regenerated.
1794 * Makefile.in: New file.
1796 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1798 * gdb.python/py-framefilter.exp: Fix typo.
1800 2014-02-08 Yao Qi <yao@codesourcery.com>
1802 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
1803 that no =breakpoint-modified is emitted when breakpoints are
1804 modified through MI commands.
1806 2014-02-07 Pedro Alves <pedro@codesourcery.com>
1807 Pedro Alves <palves@redhat.com>
1809 * gdb.threads/step-after-sr-lock.c: New file.
1810 * gdb.threads/step-after-sr-lock.exp: New file.
1812 2014-02-07 Pedro Alves <palves@redhat.com>
1814 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
1816 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1818 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
1819 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
1821 2014-02-06 Doug Evans <xdje42@gmail.com>
1823 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
1826 * gdb.gdb/python-interrupts.exp: New file.
1828 2014-02-05 Yao Qi <yao@codesourcery.com>
1830 * gdb.trace/report.exp (use_collected_data): Test the output
1831 of "info threads" and "info inferiors".
1833 2014-02-05 Yao Qi <yao@codesourcery.com>
1837 2013-05-24 Yao Qi <yao@codesourcery.com>
1839 * gdb.trace/tfile.exp: Test inferior and thread.
1841 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1843 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
1845 * gdb.base/step-bt.c: Call hello via function pointer to make
1846 sure its first instruction is executed on powerpc64le-linux.
1848 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1850 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
1852 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1854 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
1855 of the test patterns for use on little-endian systems.
1857 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1859 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
1860 (decimal_vector): Fix for little-endian.
1862 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
1864 * gdb.arch/sparc-sysstep.exp: New file.
1865 * gdb.arch/sparc-sysstep.c: Likewise.
1867 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
1869 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1871 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
1873 2014-01-23 Tom Tromey <tromey@redhat.com>
1875 * gdb.ada/array_char_idx: New testcase.
1877 2014-01-23 Tom Tromey <tromey@redhat.com>
1880 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
1881 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
1884 2014-01-23 Tom Tromey <tromey@redhat.com>
1887 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
1888 string from an inferior frame.
1889 * gdb.python/py-framefilter-mi.exp: Update.
1891 2014-01-22 Doug Evans <dje@google.com>
1893 * gdb.server/server-mon.exp: Add tests for "set debug-format".
1895 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1897 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
1899 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1901 * gdb.trace/entry-values.exp: Remove excess space character from
1902 regex patterns. Handle s390 call instruction.
1904 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1906 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
1907 define "*_start" label. Make "name" static.
1908 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
1909 ${name} by references to ${name}_start.
1911 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1913 * gdb.base/info-macros.exp: Remove "debug" from the compile
1916 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1918 * gdb.dlang/demangle.exp: New file.
1920 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1922 * gdb.dlang/primitive-types.exp: New file.
1924 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1926 * configure.ac: Create gdb.dlang/Makefile.
1927 * configure: Regenerate.
1928 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
1929 * gdb.dlang/Makefile.in: New file.
1930 * lib/d-support.exp: New file.
1931 * lib/gdb.exp (skip_d_tests): New proc.
1933 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1935 * gdb.btrace/delta.exp: Check reverse stepi.
1936 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
1937 * gdb.btrace/finish.exp: New.
1938 * gdb.btrace/next.exp: New.
1939 * gdb.btrace/nexti.exp: New.
1940 * gdb.btrace/record_goto.c: Add comments.
1941 * gdb.btrace/step.exp: New.
1942 * gdb.btrace/stepi.exp: New.
1943 * gdb.btrace/multi-thread-step.c: New.
1944 * gdb.btrace/multi-thread-step.exp: New.
1945 * gdb.btrace/rn-dl-bind.c: New.
1946 * gdb.btrace/rn-dl-bind.exp: New.
1947 * gdb.btrace/data.c: New.
1948 * gdb.btrace/data.exp: New.
1949 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1951 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1953 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
1954 * gdb.btrace/exception.exp: Update.
1955 * gdb.btrace/instruction_history.exp: Update.
1956 * gdb.btrace/record_goto.exp: Update.
1957 * gdb.btrace/tailcall.exp: Update.
1958 * gdb.btrace/unknown_functions.exp: Update.
1959 * gdb.btrace/delta.exp: New.
1961 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1963 * gdb.btrace/record_goto.exp: Add backtrace test.
1964 * gdb.btrace/tailcall.exp: Add backtrace test.
1966 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1968 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
1969 * gdb.btrace/record_goto.c: New.
1970 * gdb.btrace/record_goto.exp: New.
1971 * gdb.btrace/x86-record_goto.S: New.
1973 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1975 * gdb.btrace/function_call_history.exp: Update tests.
1976 * gdb.btrace/instruction_history.exp: Update tests.
1978 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1980 * gdb.btrace/function_call_history.exp: Fix expected field
1981 order for "record function-call-history".
1982 Add new tests for "record function-call-history /c".
1983 * gdb.btrace/exception.cc: New.
1984 * gdb.btrace/exception.exp: New.
1985 * gdb.btrace/tailcall.exp: New.
1986 * gdb.btrace/x86-tailcall.S: New.
1987 * gdb.btrace/x86-tailcall.c: New.
1988 * gdb.btrace/unknown_functions.c: New.
1989 * gdb.btrace/unknown_functions.exp: New.
1990 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1992 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1994 * gdb.btrace/instruction_history.exp: Update.
1995 * gdb.btrace/function_call_history.exp: Update.
1997 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1999 * gdb.btrace/function_call_history.exp: Fix expected function
2001 * gdb.btrace/instruction_history.exp: Initialize traced.
2002 Remove traced_functions.
2004 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2006 * gdb.btrace/function_call_history.exp: Update
2007 * gdb.btrace/instruction_history.exp: Update.
2009 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2011 * gdb.btrace/enable.exp: Update expected text.
2013 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
2015 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
2018 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
2020 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
2022 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2024 * lib/gdb.exp (supports_process_record): Return true for
2025 arm*-linux*. (supports_reverse): Likewise.
2027 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
2031 * gdb.python/py-type.c: Enhance test case.
2032 * gdb.python/py-value-cc.cc: Likewise
2033 * gdb.python/py-type.exp: Add new tests.
2034 * gdb.python/py-value-cc.exp: Likewise
2036 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2037 Pedro Alves <palves@redhat.com>
2039 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
2041 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
2042 references to ${name}_start by references to ${name}.
2044 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2046 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
2048 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2050 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
2052 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
2053 Pedro Alves <palves@redhat.com>
2055 * gdb.mi/mi-info-os.exp: Connect to the target with
2058 2014-01-08 Pedro Alves <palves@redhat.com>
2060 * gdb.threads/reconnect-signal.c: New file.
2061 * gdb.threads/reconnect-signal.exp: New file.
2063 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2065 * gdb.base/source-dir.exp: New file.
2067 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2069 * gdb.ada/mi_interface: New testcase.
2071 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2073 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
2074 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
2075 gdb.ada/pp-rec-component/pck.ads: New files.
2077 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2079 * gdb.python/py-pp-integral.c: New file.
2080 * gdb.python/py-pp-integral.py: New file.
2081 * gdb.python/py-pp-integral.exp: New file.
2083 For older changes see ChangeLog-1993-2013.
2089 ;; version-control: never
2092 Copyright 2014 Free Software Foundation, Inc.
2093 Copying and distribution of this file, with or without modification,
2094 are permitted provided the copyright notice and this notice are preserved.