1 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
2 Pedro Alves <palves@redhat.com>
6 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
9 2014-08-19 Pedro Alves <palves@redhat.com>
11 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
13 2014-08-19 Yao Qi <yao@codesourcery.com>
15 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
18 2014-08-18 David Blaikie <dblaikie@gmail.com>
20 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
22 2014-08-18 Joel Brobecker <brobecker@adacore.com>
24 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
25 attribute in array range.
27 2014-08-18 Joel Brobecker <brobecker@adacore.com>
29 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
31 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
34 * gdb.cp/pr17132.cc: New file.
35 * gdb.cp/pr17132.exp: New file.
37 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
39 * gdb.python/py-xmethods.py (A_getarrayind)
40 (E_method_char_worker.__call__, E_method_int_worker.__call__):
41 Use 'print' with function call syntax.
42 (E_method_matcher.match): Fix tab vs space indentation mixup.
44 2014-08-15 Yao Qi <yao@codesourcery.com>
46 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
49 2014-08-15 Yao Qi <yao@codesourcery.com>
51 * gdb.cp/casts.exp: Set print symbol off.
52 * gdb.cp/class2.exp: Likewise.
53 * gdb.cp/overload.exp: Likewise.
54 * gdb.cp/templates.exp: Likewise.
56 2014-08-11 Doug Evans <dje@google.com>
58 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
59 (test_load_shlib): Update.
61 2014-08-09 Yao Qi <yao@codesourcery.com>
63 * gdb.base/display.exp: Invoke is_address_zero_readable.
64 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
65 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
66 * gdb.base/hbreak-unmapped.exp: Return if
67 is_address_zero_readable returns true.
68 * gdb.base/signest.exp: Likewise.
69 * gdb.base/signull.exp: Likewise.
70 * gdb.base/sigbpt.exp: Likewise.
71 * gdb.guile/scm-disasm.exp: Do the test if
72 is_address_zero_readable returns false.
73 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
74 * gdb.python/py-arch.exp: Likewise.
75 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
76 * lib/gdb.exp (is_address_zero_readable): New proc.
78 2014-08-09 Yao Qi <yao@codesourcery.com>
81 * gdb.mi/mi-var-display.exp: Make test messages unique.
83 2014-08-04 Tom Tromey <tromey@redhat.com>
85 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
88 2014-08-04 Tom Tromey <tromey@redhat.com>
90 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
93 2014-08-01 Joel Brobecker <brobecker@adacore.com>
95 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
96 inner_vla_struct_object_size.
97 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
100 2014-07-30 Pedro Alves <palves@redhat.com>
102 * gdb.threads/signal-command-handle-nopass.exp (test): Add
105 2014-07-29 Yao Qi <yao@codesourcery.com>
108 * gdb.base/until-nodebug.exp: New.
110 2014-07-28 Doug Evans <xdje42@gmail.com>
113 * gdb.guile/scm-parameter.exp: Add tests for trying to create
114 previously existing parameter, and previously ambiguously spelled
117 2014-07-28 Will Newton <will.newton@linaro.org>
119 * gdb.base/varargs.exp: Remove KFAILs for ARM.
121 2014-07-26 Ludovic Courtès <ludo@gnu.org>
122 Doug Evans <xdje42@gmail.com>
125 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
127 2014-07-25 Pedro Alves <palves@redhat.com>
129 * gdb.threads/signal-command-handle-nopass.c: New file.
130 * gdb.threads/signal-command-handle-nopass.exp: New file.
131 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
132 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
133 * gdb.threads/signal-delivered-right-thread.c: New file.
134 * gdb.threads/signal-delivered-right-thread.exp: New file.
136 2014-07-25 Pedro Alves <palves@redhat.com>
138 * gdb.base/double-prompt-target-event-error.exp
139 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
141 (cancel_pagination_in_target_event): Rework double prompt
143 * gdb.base/paginate-after-ctrl-c-running.exp
144 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
146 * gdb.base/paginate-bg-execution.exp
147 (test_bg_execution_pagination_return)
148 (test_bg_execution_pagination_cancel): Remove '-notransfer
150 * gdb.base/paginate-execution-startup.exp
151 (test_fg_execution_pagination_return)
152 (test_fg_execution_pagination_cancel): Remove '-notransfer
154 * gdb.base/paginate-inferior-exit.exp
155 (test_paginate_inferior_exited): Remove '-notransfer <return>'
157 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
158 * lib/gdb.exp (pagination_prompt): Run text through
160 (gdb_test_multiple): Match $pagination_prompt instead of
162 (string_to_regexp): Move to lib/gdb-utils.exp.
164 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
166 * gdb.arch/amd64-entry-value-paramref.S: New file.
167 * gdb.arch/amd64-entry-value-paramref.cc: New file.
168 * gdb.arch/amd64-entry-value-paramref.exp: New file.
169 * gdb.arch/amd64-optimout-repeat.S: New file.
170 * gdb.arch/amd64-optimout-repeat.c: New file.
171 * gdb.arch/amd64-optimout-repeat.exp: New file.
173 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
176 * gdb.base/statistics.exp: New file.
178 2014-07-17 Doug Evans <dje@google.com>
181 * gdb.base/maint.exp: Update testing of per-command stats.
183 2014-07-16 Pedro Alves <palves@redhat.com>
185 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
186 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
187 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
188 (tfile_write_buf): New functions.
189 (add_memory_block): Rewrite using the above.
190 (adjust_function_address): New function.
191 (FUNCTION_ADDRESS): New macro.
192 (write_basic_trace_file): Remove short_x local, and use
193 tfile_write_16. Change type of func_addr local to unsigned long
194 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
195 here. Cast argument of add_memory_block to char pointer.
196 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
197 (main): Remove parameters.
198 * gdb.trace/tfile.exp: Remove nowarnings.
200 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
202 * gdb.base/debug-expr.exp: Test string evaluation with
203 "debug expression" on.
205 2014-07-15 Pedro Alves <palves@redhat.com>
207 * gdb.base/reread.exp: Use clean_restart.
209 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
211 * gdb.arch/avr-flash-qualifer.c: New.
212 * gdb.arch/avr-flash-qualifer.exp: New.
214 2014-07-14 Pedro Alves <palves@redhat.com>
216 * gdb.base/paginate-after-ctrl-c-running.c: New file.
217 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
219 2014-07-14 Pedro Alves <palves@redhat.com>
221 * gdb.base/double-prompt-target-event-error.c: New file.
222 * gdb.base/double-prompt-target-event-error.exp: New file.
224 2014-07-14 Pedro Alves <palves@redhat.com>
227 * gdb.base/paginate-inferior-exit.c: New file.
228 * gdb.base/paginate-inferior-exit.exp: New file.
230 2014-07-14 Pedro Alves <palves@redhat.com>
233 * gdb.base/paginate-bg-execution.c: New file.
234 * gdb.base/paginate-bg-execution.exp: New file.
236 2014-07-14 Pedro Alves <palves@redhat.com>
239 * gdb.base/paginate-execution-startup.c: New file.
240 * gdb.base/paginate-execution-startup.exp: New file.
241 * lib/gdb.exp (pagination_prompt): New global.
242 (default_gdb_spawn): New procedure, factored out from
244 (default_gdb_start): Adjust to call default_gdb_spawn.
245 (gdb_spawn): New procedure.
247 2014-07-14 Pedro Alves <palves@redhat.com>
249 * lib/gdb.exp (gdb_assert): New procedure.
250 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
252 2014-07-14 Pedro Alves <palves@redhat.com>
254 * gdb.base/execution-termios.c: New file.
255 * gdb.base/execution-termios.exp: New file.
257 2014-07-14 Tom Tromey <tromey@redhat.com>
259 * gdb.cp/vla-cxx.cc: New file.
260 * gdb.cp/vla-cxx.exp: New file.
262 2014-07-14 Tom Tromey <tromey@redhat.com>
264 * gdb.reverse/rerun-prec.c: New file.
265 * gdb.reverse/rerun-prec.exp: New file.
267 2014-07-12 Maciej W. Rozycki <macro@mips.com>
268 Maciej W. Rozycki <macro@codesourcery.com>
270 * lib/gdb-utils.exp: New file.
271 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
272 inline `gdb_init_command' processing.
273 (gdb_start_cmd): Likewise.
274 * lib/mi-support.exp (mi_run_cmd): Likewise.
275 * README: Document `gdb_init_command' and `gdb_init_commands'.
277 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
279 Fix false FAIL running under a very long directory name.
280 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
281 and "set print elements 10000". Twice.
283 2014-07-11 Yao Qi <yao@codesourcery.com>
285 * gdb.base/exprs.exp: "set print symbol off".
287 2014-07-11 Pedro Alves <palves@redhat.com>
289 * gdb.threads/kill.c: New file.
290 * gdb.threads/kill.exp: New file.
292 2014-07-10 Yao Qi <yao@codesourcery.com>
294 * gdb.trace/tfile.c (write_basic_trace_file)
295 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
296 address written to trace file.
298 2014-07-09 Pedro Alves <palves@redhat.com>
300 * gdb.base/attach-wait-input.exp: New file.
301 * gdb.base/attach-wait-input.c: New file.
303 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
305 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
306 setting up test structures.
307 (main): Call new test function.
308 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
309 test function, continue into test function and walk test
312 2014-07-02 Yao Qi <yao@codesourcery.com>
314 * gdb.trace/entry-values.c: Define labels 'foo_start' and
315 'bar_start' at the beginning of functions 'foo' and 'bar'
317 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
318 instead of 'foo' and 'bar'.
320 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
322 * gdb.btrace/segv.exp: New.
323 * gdb.btrace/segv.c: New.
325 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
327 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
330 2014-06-30 Mark Wielaard <mjw@redhat.com>
332 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
333 vulture, vilify, villar): New volatile array constants.
334 (vindictive, vegetation): New const volatile array constants.
335 * gdb.base/volatile.exp: Test volatile and const volatile array
338 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
340 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
341 target lacks support for awatch, rwatch, or hbreak.
343 2014-06-27 Yao Qi <yao@codesourcery.com>
345 * gdb.multi/dummy-frame-restore.exp: New.
346 * gdb.multi/dummy-frame-restore.c: New.
348 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
350 * gdb.btrace/gcore.exp: New.
352 2014-06-23 Pedro Alves <palves@redhat.com>
354 * gdb.base/watchpoint-reuse-slot.c: New file.
355 * gdb.base/watchpoint-reuse-slot.exp: New file.
357 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
359 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
360 progspace's filename in 'info', 'enable' and 'disable' command
363 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
365 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
366 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
367 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
369 2014-06-20 Gary Benson <gbenson@redhat.com>
371 * gdb.arch/i386-avx.exp: Fix include file location.
372 * gdb.arch/i386-sse.exp: Likewise.
374 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
376 * gdb.dlang/expression.exp: New file.
378 2014-06-19 Pedro Alves <palves@redhat.com>
380 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
382 (top level): ... here. Iterate running tests under different
383 scheduler-locking settings.
385 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
387 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
388 to DW_FORM_addr and use non-zero addresses.
390 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
393 * gdb.python/py-xmethods.cc: Add global function call counters and
394 increment them in their respective functions. Remove "cout"
396 * gdb.python/py-xmethods.exp: Make tests check the global function
397 call counters instead of depending on inferior IO.
399 2014-06-18 Don Breazeal <donb@codesourcery.com>
401 * gdb.base/foll-fork.exp (default_fork_parent_follow):
403 (explicit_fork_parent_follow): Deleted procedure.
404 (explicit_fork_child_follow): Deleted procedure.
405 (test_follow_fork): New procedure.
406 (do_fork_tests): Replace calls to deleted procedures with
407 calls to test_follow_fork and reset GDB for subsequent
410 2014-06-17 Yao Qi <yao@codesourcery.com>
412 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
415 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
417 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
418 Initialize ptr and S explicitly.
419 (skip_type_update_when_not_use_rtti_test): Likewise.
421 2014-06-16 Keith Seitz <keiths@redhat.com>
424 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
425 the inferior is started.
427 2014-06-16 Pedro Alves <palves@redhat.com>
429 * gdb.base/break-main-file-remove-fail.c: New file.
430 * gdb.base/break-main-file-remove-fail.exp: New file.
431 * gdb.base/break-unload-file.exp: Use build_executable instead of
433 (test_break): New parameter "initial_load". Handle it.
434 (top level): Add initial_load cmdline/file axis.
436 2014-06-12 Tom Tromey <tromey@redhat.com>
438 * gdb.base/completion.exp: Don't use directory name in test.
440 2014-06-09 Gary Benson <gbenson@redhat.com>
442 * gdb.base/sigall.c [Functions to send signals]: Reorder to
443 separate the always-available ANSI-standard signals from the
444 signals that require checking.
446 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
450 2014-06-07 Keith Seitz <keiths@redhat.com>
454 * gdb.cp/var-tag.cc: New file.
455 * gdb.cp/var-tag.exp: New file.
456 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
457 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
458 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
459 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
461 2014-06-06 Doug Evans <xdje42@gmail.com>
463 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
465 2014-06-06 Pedro Alves <palves@redhat.com>
467 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
468 in target debug output instead of looking at RSP packets,
469 disabling the test on any target that uses hardware stepping.
472 2014-06-06 Pedro Alves <palves@redhat.com>
474 * gdb.base/break-unload-file.exp: Fix typo.
476 2014-06-06 Yao Qi <yao@codesourcery.com>
478 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
479 from "jit_function" to "^jit_function".
481 2014-06-06 Yao Qi <yao@codesourcery.com>
483 * gdb.base/async.c (foo): Add one statement.
484 * gdb.base/async.exp: Get the next instruction address and
485 match the output of "nexti" by instruction address. Match
486 the hex address in the output of "finish".
488 2014-06-06 Gary Benson <gbenson@redhat.com>
490 * gdb.base/call-signals.c: Remove preprocessor conditionals
491 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
493 * gdb.base/sigall.c: Likewise.
494 * gdb.base/unwindonsignal.c: Likewise.
495 * gdb.reverse/sigall-reverse.c: Likewise.
497 2014-06-06 Yao Qi <yao@codesourcery.com>
499 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
500 readable, skip the test.
502 2014-06-06 Yao Qi <yao@codesourcery.com>
504 * gdb.threads/staticthreads.c (thread_function): Move the line
505 setting breakpoint on forward.
506 * gdb.threads/staticthreads.exp: Update comments.
508 2014-06-05 Ludovic Courtès <ludo@gnu.org>
510 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
511 "history-append! type error".
513 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
515 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
516 erroneous dprintf expected input.
518 2014-06-04 Doug Evans <xdje42@gmail.com>
520 * gdb.guile/scm-generics.exp: Delete.
522 2014-06-04 Doug Evans <xdje42@gmail.com>
524 * gdb.guile/scm-breakpoint.exp: Update.
525 Add tests for breakpoint registration.
527 2014-06-04 Tom Tromey <tromey@redhat.com>
529 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
531 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
532 inner_vla_struct, vla_union types. Initialize objects of those
533 types and compute their sizes.
535 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
536 Hui Zhu <hui@codesourcery.com>
538 * gdb.base/fileio.exp: Add test for shell not available as well as
540 * gdb.base/fileio.c (test_system): Check for shell twice.
542 2014-06-04 Yao Qi <yao@codesourcery.com>
544 * gdb.base/auto-connect-native-target.exp: Remove redundant
545 space from the regexp pattern.
547 2014-06-04 Yao Qi <yao@codesourcery.com>
549 * gdb.base/default.exp: Replace "child" with "native" in
552 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
554 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
555 * gdb.python/py-xmethods.exp: New tests to test xmethods.
556 * gdb.python/py-xmethods.py: Python script supporting the
557 new testcase and tests.
559 2014-06-03 Joel Brobecker <brobecker@adacore.com>
560 Pedro Alves <palves@redhat.com>
563 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
564 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
566 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
568 * gdb.base/subst.exp: Add tests to verify partial path matching
571 2014-06-03 Pedro Alves <palves@redhat.com>
573 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
574 target that doesn't use software single-stepping.
576 2014-06-03 Pedro Alves <palves@redhat.com>
579 * gdb.base/sss-bp-on-user-bp-2.c: New file.
580 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
582 2014-06-02 Doug Evans <xdje42@gmail.com>
584 * gdb.guile/scm-parameter.exp: New file.
586 2014-06-02 Doug Evans <xdje42@gmail.com>
588 * gdb.guile/scm-cmd.c: New file.
589 * gdb.guile/scm-cmd.exp: New file.
591 2014-06-02 Doug Evans <xdje42@gmail.com>
593 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
594 pretty-printer lookup.
595 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
596 (make-pp_s-printer): Call it.
597 (make-pretty-printer-from-dict): New function.
598 (lookup-pretty-printer-maker-from-dict): New function.
599 (*pretty-printer*): Simplify.
600 (make-objfile-pp_s-printer): New function.
601 (install-objfile-pretty-printers!): New function.
602 (make-progspace-pp_s-printer): New function.
603 (install-progspace-pretty-printers!): New function.
604 * gdb.guile/scm-progspace.c: New file.
605 * gdb.guile/scm-progspace.exp: New file.
607 2014-06-02 Pedro Alves <palves@redhat.com>
609 * gdb.base/dprintf-bp-same-addr.c: New file.
610 * gdb.base/dprintf-bp-same-addr.exp: New file.
612 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
614 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
615 * gdb.arch/powerpc-power.s: Likewise.
617 2014-06-02 Joel Brobecker <brobecker@adacore.com>
619 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
621 2014-06-01 Yao Qi <yao@codesourcery.com>
623 * gdb.base/watchpoint.exp (test_watch_location): Check null
624 pointer can be dereferenced. If not, do the test, otherwise
627 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
629 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
631 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
633 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
635 * gdb.arch/amd64-invalid-stack-middle.S: New file.
636 * gdb.arch/amd64-invalid-stack-middle.c: New file.
637 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
638 * gdb.arch/amd64-invalid-stack-top.c: New file.
639 * gdb.arch/amd64-invalid-stack-top.exp: New file.
641 2014-05-30 Pedro Alves <palves@redhat.com>
644 * gdb.base/sss-bp-on-user-bp.c: New file.
645 * gdb.base/sss-bp-on-user-bp.exp: New file.
647 2014-05-30 David Blaikie <dblaikie@gmail.com>
649 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
650 gnu_inline semantics via attribute.
651 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
652 source explicitly specifies the required semantics.
654 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
656 * gdb.reverse/sigall-reverse.exp: Fix a typo.
658 2014-05-29 Pedro Alves <palves@redhat.com>
659 Tom Tromey <tromey@redhat.com>
661 * gdb.base/async-shell.exp: Don't enable target-async.
663 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
665 (top level): Don't test with "target-async".
666 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
667 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
668 * gdb.base/inferior-died.exp: Don't enable target-async.
669 * gdb.base/interrupt-noterm.exp: Likewise.
670 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
671 * gdb.mi/mi-nonstop-exit.exp: Likewise.
672 * gdb.mi/mi-nonstop.exp: Likewise.
673 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
674 * gdb.mi/mi-nsintrall.exp: Likewise.
675 * gdb.mi/mi-nsmoribund.exp: Likewise.
676 * gdb.mi/mi-nsthrexec.exp: Likewise.
677 * gdb.mi/mi-watch-nonstop.exp: Likewise.
678 * gdb.multi/watchpoint-multi.exp: Adjust comment.
679 * gdb.python/py-evsignal.exp: Don't enable target-async.
680 * gdb.python/py-evthreads.exp: Likewise.
681 * gdb.python/py-prompt.exp: Likewise.
682 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
683 * gdb.server/solib-list.exp: Don't enable target-async.
684 * gdb.threads/thread-specific-bp.exp: Likewise.
685 * lib/mi-support.exp: Adjust to use mi-async.
687 2014-05-29 Pedro Alves <palves@redhat.com>
690 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
691 reason, even in sync mode.
693 2014-05-29 Pedro Alves <palves@redhat.com>
694 Hui Zhu <hui@codesourcery.com>
697 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
698 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
699 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
700 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
702 2014-05-28 Joel Brobecker <brobecker@adacore.com>
704 * config/monitor.exp (gdb_target_monitor): Replace use of
705 "set remotebaud" by "set serial baud".
707 2014-05-26 Andy Wingo <wingo@igalia.com>
709 * gdb.guile/scm-breakpoint.exp:
710 * gdb.guile/scm-gsmob.exp: Update to use plain old object
711 properties instead of gdb-object-properties.
713 2014-05-26 Yao Qi <yao@codesourcery.com>
715 * gdb.server/no-thread-db.exp: Specify source file name
716 explicitly when setting a breakpoint.
718 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
720 * gdb.btrace/vdso.c: New.
721 * gdb.btrace/vdso.exp: New.
723 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
725 * gdb.base/gcore.exp (capture_command_output): Move ...
726 * lib/gdb.exp (capture_command_output): ... here.
728 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
730 * gdb.btrace/data.exp: Test memory access during btrace replay.
732 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
734 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
736 2014-05-21 Pedro Alves <palves@redhat.com>
739 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
740 (top level): Test that output related to execution commands is
741 sent to the console with CLI commands, but not with MI commands.
742 Test that breakpoint events are always mirrored to the console.
743 Also expect the new source line to be output after a "next" in
744 async mode too. Make it a pass/fail test.
745 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
747 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
749 2014-05-21 Pedro Alves <palves@redhat.com>
751 * gdb.base/list.exp (build_pattern, test_list): New procedures.
752 Use them to test variations of "list" after reaching a breakpoint.
753 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
754 Test "list" with listsize 10 after reaching a breakpoint.
755 * gdb.python/python.exp (decode_line current location line
756 number): Adjust expected line number.
758 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
760 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
761 behavior for $args, pass it directly to "run".
763 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
765 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
768 2014-05-21 Pedro Alves <palves@redhat.com>
770 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
771 auto-connect-native-target off".
772 * gdb.base/auto-connect-native-target.c: New file.
773 * gdb.base/auto-connect-native-target.exp: New file.
775 2014-05-21 Pedro Alves <palves@redhat.com>
777 * gdb.base/default.exp: Test "target native" instead of "target
780 2014-05-21 Mark Wielaard <mjw@redhat.com>
782 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
784 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
786 Fix TLS access for -static -pthread.
787 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
788 <HAVE_TLS> (thread_function, main): Initialize it.
789 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
791 <$have_tls != "">: Check TLSVAR.
793 2014-05-21 Pedro Alves <palves@redhat.com>
795 * gdb.base/dcache-line-read-error.c: New.
796 * gdb.base/dcache-line-read-error.exp: New.
798 2014-05-20 Pedro Alves <palves@redhat.com>
800 * gdb.base/compare-sections.c: New file.
801 * gdb.base/compare-sections.exp: New file.
803 2014-05-20 Pedro Alves <palves@redhat.com>
805 * gdb.base/break-idempotent.c: New file.
806 * gdb.base/break-idempotent.exp: New file.
808 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
810 * gdb.btrace/nohist.exp: New.
812 2014-05-20 Yao Qi <yao@codesourcery.com>
814 * lib/gdb.exp (gdb_init): Set timeout if test file is under
815 gdb.reverse directory and gdb_reverse_timeout exists in board
817 * README: Document gdb_reverse_timeout.
819 2014-05-20 Yao Qi <yao@codesourcery.com>
821 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
822 'test_file_name'. Treat args as a string instead of a list.
823 (gdb_init): Rename argument 'args' by 'test_file_name'.
825 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
827 * gdb.arch/powerpc-power.exp: New file.
828 * gdb.arch/powerpc-power.s: New file.
830 2014-05-16 Doug Evans <dje@google.com>
832 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
833 * gdb.base/completion.exp: Check that all expected files exist
834 before doing file completion.
836 2014-05-16 Doug Evans <dje@google.com>
838 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
840 (do_syscall_tests_without_xml): Update.
842 2014-05-16 Pedro Alves <palves@redhat.com>
844 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
845 instead of "unknown output after running".
847 2014-05-16 Yao Qi <yao@codesourcery.com>
849 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
850 file1.txt from host at the end.
851 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
853 2014-05-15 Doug Evans <dje@google.com>
855 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
856 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
857 loading file. Add test for TU lookup.
859 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
861 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
862 calling "-exec-arguments" or "set args" before running the
865 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
867 * lib/mi-support.exp (mi_expect_stop): Expect message for
868 inferiors that exit with non-zero exit code.
870 2014-05-14 Yao Qi <yao@codesourcery.com>
872 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
873 match absolute path on remote host.
874 (test_file_list_exec_source_files): Remove "/" from the
877 2014-05-14 Yao Qi <yao@codesourcery.com>
879 * boards/local-remote-host-notty.exp (${board}_file): New
882 2014-05-07 Kyle McMartin <kyle@redhat.com>
884 Pushed by Joel Brobecker <brobecker@adacore.com>.
885 * gdb.arch/aarch64-atomic-inst.c: New file.
886 * gdb.arch/aarch64-atomic-inst.exp: New file.
888 2014-05-07 Yao Qi <yao@codesourcery.com>
890 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
891 in current context" too.
893 2014-05-05 Keith Seitz <keiths@redhat.com>
895 * gdb.linespec/ls-dollar.exp: Add test for linespec
896 file:convenience_variable.
898 2014-05-05 Yao Qi <yao@codesourcery.com>
900 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
901 traceframes into tfile and ctf trace files. Read data from
902 trace file and test collected data.
903 (gdb_collect_locals_test): Likewise.
904 (gdb_unavailable_registers_test): Likewise.
905 (gdb_unavailable_floats): Likewise.
906 (gdb_collect_globals_test): Likewise.
907 (top-level): Append "ctf" to trace_file_targets if GDB
910 2014-05-05 Yao Qi <yao@codesourcery.com>
912 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
914 (gdb_collect_args_test_1): ... it. New proc.
915 (gdb_collect_locals_test): Move some code to ...
916 (gdb_collect_locals_test_1): ... it. New proc.
917 (gdb_unavailable_registers_test): Move some code to ...
918 (gdb_unavailable_registers_test_1): ... it. New proc.
919 (gdb_unavailable_floats): Move some code to ...
920 (gdb_unavailable_floats_1): ... it. New proc.
922 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
924 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
925 probes to test for bitness recognition.
926 * gdb.arch/amd64-stap-optional-prefix.exp
927 (test_probe_value_without_reg): New procedure.
928 Add code to test for different kinds of bitness.
930 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
933 * gdb.arch/amd64-stap-optional-prefix.S: New file.
934 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
936 2014-05-01 Pedro Alves <palves@redhat.com>
938 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
939 gdb_file_cmd if no file is specified.
940 * boards/native-extended-gdbserver.exp (gdb_load): Use the
941 last_loaded_file to set the remote exec-file.
943 2014-05-01 Pedro Alves <palves@redhat.com>
945 * boards/local-remote-host.exp: New file.
947 2014-05-01 Pedro Alves <palves@redhat.com>
949 * boards/local-remote-host.exp: Rename to ...
950 * boards/local-remote-host-notty.exp: ... this.
952 2014-04-28 Joel Brobecker <brobecker@adacore.com>
954 * gdb.ada/dyn_arrayidx: New testcase.
956 2014-04-26 Yao Qi <yao@codesourcery.com>
958 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
959 and compute the length of function main. Save it in
961 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
962 (top-level): Use gdb_compile to compile objects into
963 executable and restart GDB. Remove invocation to
966 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
967 Pedro Alves <palves@redhat.com>
970 * gdb.multi/multi-attach.c: New file.
971 * gdb.multi/multi-attach.exp: New file.
973 2014-04-25 Pedro Alves <palves@redhat.com>
975 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
977 (top level): Test that "set remote conditional-breakpoints-packet
978 off" works as intended.
979 * gdb.base/dprintf.exp: Test that "set remote
980 breakpoint-commands-packet off" works as intended.
981 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
983 (top level): Call it.
984 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
985 remote fast-tracepoints-packet off" works as intended.
986 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
987 * lib/gdb.exp (gdb_is_target_remote): ... here.
989 2014-04-24 David Blaikie <dblaikie@gmail.com>
991 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
992 ensure clang would not discard them.
993 * gdb.base/gdbvars.c: Ditto.
994 * gdb.base/memattr.c: Ditto.
995 * gdb.base/whatis.c: Ditto.
996 * gdb.python/py-prettyprint.c: Ditto.
997 * gdb.trace/actions.c: Ditto.
998 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
999 ensure clang would not discard it.
1001 2014-04-24 David Blaikie <dblaikie@gmail.com>
1003 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
1004 clang to emit the full definition of type required by the test
1005 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
1007 2014-04-24 David Blaikie <dblaikie@gmail.com>
1009 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
1010 coax Clang into emitting the definition of the type.
1011 * gdb.cp/pr10728-x.h (y): Ditto.
1012 * gdb.cp/pr10728-y.cc (y): Ditto.
1014 2014-04-24 David Blaikie <dblaikie@gmail.com>
1016 * gdb.base/label.exp: XFAIL label related tests under Clang.
1017 * gdb.cp/cplabel.exp: Ditto.
1018 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
1019 under Clang those using labels.
1021 2014-04-25 Yao Qi <yao@codesourcery.com>
1023 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
1025 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
1026 partial_label and double_label.
1028 2014-04-24 David Blaikie <dblaikie@gmail.com>
1030 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
1032 2014-04-24 David Blaikie <dblaikie@gmail.com>
1034 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
1035 of the function to work across GCC and Clang.
1036 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
1037 pointer types (const void ** const V void **).
1039 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
1040 Walfred Tedeschi <walfred.tedeschi@intel.com>
1042 * Makefile.in (EXECUTABLES): Added i386-avx512.
1043 * gdb.arch/i386-avx512.c: New file.
1044 * gdb.arch/i386-avx512.exp: Likewise.
1046 2014-04-23 Keith Seitz <keiths@redhat.com>
1048 * lib/mi-support.exp (mi_list_breakpoints): Delete.
1049 (mi_make_breakpoint_table): New procedure.
1050 (mi_create_breakpoint): Use mi_make_breakpoint
1051 and return the result.
1052 (mi_make_breakpoint): New procedure.
1053 (mi_build_kv_pairs): New procedure.
1055 * gdb.mi/mi-break.exp: Remove unused globals,
1056 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
1057 All callers updated.
1058 * gdb.mi/mi-dprintf.exp: Use variable to track command
1060 Update all callers of mi_create_breakpoint and use
1061 mi_make_breakpoint_table.
1062 Remove any unused global variables.
1063 * gdb.mi/mi-nonstop.exp: Likewise.
1064 * gdb.mi/mi-nsintrall.exp: Likewise.
1065 * gdb.mi/mi-nsmoribund.exp: Likewise.
1066 * gdb.mi/mi-nsthrexec.exp: Likewise.
1067 * gdb.mi/mi-reverse.exp: Likewise.
1068 * gdb.mi/mi-simplerun.exp: Likewise.
1069 * gdb.mi/mi-stepn.exp: Likewise.
1070 * gdb.mi/mi-syn-frame.exp: Likewise.
1071 * gdb.mi/mi-until.exp: Likewise.
1072 * gdb.mi/mi-var-cp.exp: Likewise.
1073 * gdb.mi/mi-var-display.exp: Likewise.
1074 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1075 * gdb.mi/mi2-var-child.exp: Likewise.
1076 * gdb.mi/mi-vla-c99.exp: Likewise.
1077 * lib/mi-support.exp: Likewise.
1079 From Ian Lance Taylor <iant@cygnus.com>:
1080 * lib/gdb.exp (parse_args): New procedure.
1082 2014-04-23 Pedro Alves <palves@redhat.com>
1084 * gdb.base/break-unload-file.c: New file.
1085 * gdb.base/break-unload-file.exp: New file.
1086 * gdb.base/sym-file-lib.c (baz): New function.
1087 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
1089 (load): Store the segment's mapped size.
1090 (unload): New function.
1091 (unload_shlib): New function.
1092 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
1093 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
1094 set a breakpoint at baz, and call it.
1095 * gdb.base/sym-file.exp: New tests for stale breakpoint
1098 2014-04-23 Pedro Alves <palves@redhat.com>
1100 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
1101 * gdb.base/hbreak-in-shr-unsupported.c: New file.
1102 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
1103 * gdb.base/hbreak-unmapped.c: New file.
1104 * gdb.base/hbreak-unmapped.exp: New file.
1105 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
1106 * lib/gdb.exp (gdb_is_target_remote): ... here.
1108 2014-04-22 Pedro Alves <palves@redhat.com>
1110 * gdb.base/consecutive-step-over.c: New file.
1111 * gdb.base/consecutive-step-over.exp: New file.
1113 2014-04-22 Pedro Alves <palves@redhat.com>
1115 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
1116 instead of send_gdb/gdb_expect.
1118 2014-04-22 Yao Qi <yao@codesourcery.com>
1120 * lib/trace-support.exp (generate_tracefile): New procedure.
1121 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
1123 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
1124 if generate_tracefile returns 1.
1126 2014-04-18 Tom Tromey <palves@redhat.com>
1127 Pedro alves <tromey@redhat.com>
1130 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
1131 with a backtrace limit.
1132 * gdb.python/py-frame-inline.exp: Test running to an inline
1133 function with a backtrace limit, and printing the newest frame.
1134 * gdb.python/py-frame-inline.c (main): Call f.
1136 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1138 * gdb.java/jnpe.exp: Drop srcdir from untested path.
1140 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1142 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
1143 Drop prefix from unsupported source file path.
1145 2014-04-17 Yao Qi <yao@codesourcery.com>
1147 * lib/gdb.exp (with_target_charset): New proc.
1148 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
1149 with_target_charset.
1150 (test_print_strings): Likewise.
1151 (test_repeat_bytes): Likewise.
1152 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
1155 2014-04-16 Keith Seitz <keiths@redhat.com>
1158 * gdb.dwarf2/corrupt.c: New file.
1159 * gdb.dwarf2/corrupt.exp: New file.
1161 2014-04-16 Keith Seitz <keiths@redhat.com>
1164 * gdb.cp/namelessclass.cc: New file.
1165 * gdb.cp/namelessclass.exp: New file.
1166 * gdb.cp/namelessclass.S: New file.
1168 2014-04-16 Doug Evans <dje@google.com>
1170 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
1172 (gdbserver_default_get_comm_port): New function.
1173 (gdbserver_start): Check if board file provided
1174 "gdbserver,get_comm_port" and use it if so.
1175 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
1176 (gdb,socketport): Set to "stdio".
1177 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
1178 (stdio_gdbserver_template): Delete.
1179 (${board}_get_remote_address): Update.
1180 (${board}_build_remote_cmd): Delete.
1181 (${board}_get_comm_port): New function.
1182 (${board}_spawn): Update.
1183 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
1185 (${board}_get_remote_address): Update.
1186 (${board}_get_comm_port): New function.
1188 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
1190 * gdb.base/memattr.exp: Improve regexps to handle memory regions
1191 appearing in any order.
1193 2014-04-15 Doug Evans <dje@google.com>
1195 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
1196 uninitialized value of "description".
1198 2014-04-15 Keith Seitz <keiths@redhat.com>
1200 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
1201 Remove unused globals.
1202 (test_running_the_program): Likewise.
1203 (test_controlled_execution): Likewise.
1204 (test_controlling_breakpoints): Likewise.
1205 (test_program_termination): Likewise.
1207 2014-04-15 Keith Seitz <keiths@redhat.com>
1209 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
1211 (test_rbreak_creation_and_listing): Likewise.
1212 (test_ignore_count): Likewise.
1213 (test_error): Likewise.
1215 2014-04-15 Pedro Alves <palves@redhat.com>
1217 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
1218 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
1220 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1221 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1222 to sym-file-loader.c.
1223 (struct library): Forward declare.
1224 (load_shlib, lookup_function): Change prototypes.
1225 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1226 (translate_offset): Remove declarations.
1227 (get_text_addr): New declaration.
1228 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
1229 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
1231 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1232 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1233 here from sym-file-loader.h.
1234 (struct library): New structure.
1235 (load_shlib, lookup_function): Change prototypes and adjust to
1236 work with a struct library.
1237 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1238 (translate_offset): Make static.
1239 (get_text_addr): New function.
1240 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
1242 2014-04-15 Pedro Alves <palves@redhat.com>
1244 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
1246 2014-04-15 Pedro Alves <palves@redhat.com>
1248 * gdb.base/sym-file-loader.c: Include <limits.h>.
1249 (SELF_LINK): New define.
1250 (get_origin): New function.
1251 (load_shlib): Use it.
1252 * gdb.base/sym-file.exp: Don't early return if the target is
1253 remote. Use runto_main, and issue fail is that fails. Use
1255 (shlib_name): Delete.
1256 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
1258 2014-04-15 Pedro Alves <palves@redhat.com>
1260 * gdb.base/sym-file.exp: Remove regex characters from test
1261 message. Don't refer to breakpoint numbers in test messages.
1263 2014-04-14 Keith Seitz <keiths@redhat.com>
1266 * gdb.cp/var-tag.cc: New file.
1267 * gdb.cp/var-tag.exp: New file.
1268 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1269 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1270 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1271 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1273 2014-04-14 Tom Tromey <tromey@redhat.com>
1275 * gdb.cp/classes.exp (test_enums): Handle underlying type.
1276 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
1278 * gdb.cp/enum-class.exp: New file.
1279 * gdb.cp/enum-class.cc: New file.
1281 2014-04-14 Tom Tromey <tromey@redhat.com>
1283 * gdb.dwarf2/enum-type.exp: New file.
1285 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1287 * gdb.mi/mi-vla-c99.exp: New file.
1288 * gdb.mi/vla.c: New file.
1290 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1292 * gdb.base/vla-datatypes.c: New file.
1293 * gdb.base/vla-datatypes.exp: New file.
1295 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1297 * gdb.base/vla-ptr.c: New file.
1298 * gdb.base/vla-ptr.exp: New file.
1300 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1302 * gdb.dwarf2/count.exp: New file.
1304 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1306 * gdb.base/vla-sideeffect.c: New file.
1307 * gdb.base/vla-sideeffect.exp: New file.
1309 2014-04-14 David Blaikie <dblaikie@gmail.com>
1311 * gdb.mi/non-stop.c: Add return value for non-void function return
1313 * gdb.threads/staticthreads.c: Ditto.
1315 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
1316 Doug Evans <xdje42@gmail.com>
1318 * gdb.guile/scm-value.c: Improve test case.
1319 * gdb.guile/scm-value.exp: Add new test.
1321 2014-04-11 David Blaikie <dblaikie@gmail.com>
1323 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
1324 override Clang's default.
1326 2014-04-11 Joel Brobecker <brobecker@adacore.com>
1328 Revert the following changes (regressions):
1330 * gdb.base/vla-sideeffect.c: New file.
1331 * gdb.base/vla-sideeffect.exp: New file.
1333 * gdb.dwarf2/count.exp: New file.
1335 * gdb.base/vla-multi.c: New file.
1336 * gdb.base/vla-multi.exp: New file.
1338 * gdb.base/vla-ptr.c: New file.
1339 * gdb.base/vla-ptr.exp: New file.
1341 * gdb.base/vla-datatypes.c: New file.
1342 * gdb.base/vla-datatypes.exp: New file.
1344 * gdb.mi/mi-vla-c99.exp: New file.
1345 * gdb.mi/vla.c: New file.
1347 2014-04-11 Keith Seitz <keiths@redhat.com>
1350 * gdb.cp/cpsizeof.exp: New file.
1351 * gdb.cp/cpsizeof.cc: New file.
1353 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1355 * gdb.mi/mi-vla-c99.exp: New file.
1356 * gdb.mi/vla.c: New file.
1358 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1360 * gdb.base/vla-datatypes.c: New file.
1361 * gdb.base/vla-datatypes.exp: New file.
1363 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1365 * gdb.base/vla-ptr.c: New file.
1366 * gdb.base/vla-ptr.exp: New file.
1368 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1370 * gdb.base/vla-multi.c: New file.
1371 * gdb.base/vla-multi.exp: New file.
1373 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1375 * gdb.dwarf2/count.exp: New file.
1377 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1379 * gdb.base/vla-sideeffect.c: New file.
1380 * gdb.base/vla-sideeffect.exp: New file.
1382 2014-04-11 Yao Qi <yao@codesourcery.com>
1384 * gdb.base/completion.exp: Check file exists before running tests
1387 2014-04-10 Pedro Alves <palves@redhat.com>
1389 * gdb.base/cond-eval-mode.c: New file.
1390 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
1391 prepare_for_testing to build the new file. Check result of
1393 (test_break, test_watch): New procedures.
1394 (top level): Use them.
1396 2014-04-08 Pierre Muller <muller@sourceware.org>
1398 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
1399 Ctrl-V use for mingw hosts.
1401 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
1403 * gdb.python/py-value.c: Improve test case.
1404 * gdb.python/py-value.exp: Add new test.
1406 2014-04-07 David Blaikie <dblaikie@gmail.com>
1408 * lib/compiler.c: Identify the clang compiler.
1409 * lib/compiler.cc: Ditto.
1411 2014-04-03 Yao Qi <yao@codesourcery.com>
1413 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
1415 2014-04-01 Anton Blanchard <anton@samba.org>
1417 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
1420 2014-04-01 Anton Blanchard <anton@samba.org>
1422 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
1423 prepare_for_testing.
1425 2014-04-01 Anton Blanchard <anton@samba.org>
1427 * gdb.arch/ppc64-atomic-inst.c: Remove.
1428 * gdb.arch/ppc64-atomic-inst.S: New file.
1429 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
1431 2014-03-31 Doug Evans <dje@google.com>
1433 * gdb.base/print-symbol-loading-lib.c: New file.
1434 * gdb.base/print-symbol-loading-main.c: New file.
1435 * gdb.base/print-symbol-loading.exp: New file.
1437 2014-03-31 Yao Qi <yao@codesourcery.com>
1439 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
1441 2014-03-28 Joel Brobecker <brobecker@adacore.com>
1443 * gdb.ada/mi_dyn_arr: New testcase.
1445 2014-03-27 Doug Evans <dje@google.com>
1447 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
1449 2014-03-27 Yao Qi <yao@codesourcery.com>
1451 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
1452 if target is nios2-*-*.
1454 2014-03-26 Yao Qi <yao@codesourcery.com>
1456 * lib/gdb.exp (readline_is_used): New proc.
1457 * gdb.base/completion.exp: Move tests on command complete up.
1458 Skip the rest of tests if readline is not used.
1459 * gdb.ada/complete.exp: Skp the test if readline is not
1461 * gdb.base/filesym.exp: Likewise.
1462 * gdb.base/macscp.exp: Likewise.
1463 * gdb.base/readline-ask.exp: Likewise.
1464 * gdb.base/readline.exp: Likewise.
1465 * gdb.python/py-cmd.exp: Likewise.
1466 * gdb.trace/tfile.exp: Likewise.
1468 2014-03-26 Yao Qi <yao@codesourcery.com>
1470 * gdb.base/macscp.exp: Fix code format issues.
1472 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
1474 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
1475 * gdb.asm/powerpc64le.inc: New file.
1477 2014-03-25 Pedro Alves <palves@redhat.com>
1478 Doug Evans <dje@google.com>
1480 * gdb.base/source-execution.c: New file.
1481 * gdb.base/source-execution.exp: New file.
1482 * gdb.base/source-execution.gdb: New file.
1484 2014-03-24 Doug Evans <dje@google.com>
1486 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
1489 2014-03-24 Hui Zhu <hui@codesourcery.com>
1490 Pedro Alves <palves@redhat.com>
1492 PR breakpoints/16101
1493 * gdb.base/dprintf.exp: Use unsupported rather than changing the
1494 test pass/fail messages. Detect missing support for dprintf when
1495 breakpoints are actually inserted.
1496 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
1497 breakpoints are actually inserted.
1498 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
1501 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1503 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
1505 2014-03-22 Doug Evans <xdje42@gmail.com>
1507 * gdb.python/python.exp (python not supported): Verify multi-line
1508 python command issues an error.
1509 * gdb.guile/guile.exp (guile not supported): Verify multi-line
1510 guile command issues an error.
1512 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
1514 * gdb.threads/thread-specific.exp: Handle the lack of usable
1515 $this_breakpoint and $this_thread.
1517 2014-03-21 Hui Zhu <hui@codesourcery.com>
1519 * gdb.base/attach.exp (do_command_attach_tests): New.
1521 2014-03-20 Tom Tromey <tromey@redhat.com>
1522 Pedro Alves <palves@redhat.com>
1525 * gdb.base/condbreak-call-false.c: New file.
1526 * gdb.base/condbreak-call-false.exp: New file.
1528 2014-03-20 Pedro Alves <palves@redhat.com>
1530 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
1532 (block_signals, unblock_signals): Delete.
1533 (child_function_2, main): Remove references to deleted variable
1536 2014-03-20 Pedro Alves <palves@redhat.com>
1538 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
1539 Use pthread_kill to signal thread 2.
1540 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1541 Adjust to make the test send itself a signal rather than using the
1542 host's "kill" command.
1544 2014-03-20 Pedro Alves <palves@redhat.com>
1546 * gdb.threads/multiple-step-overs.c: New file.
1547 * gdb.threads/multiple-step-overs.exp: New file.
1548 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1549 Adjust expected infrun debug output.
1551 2014-03-20 Pedro Alves <palves@redhat.com>
1553 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
1554 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
1556 2014-03-20 Pedro Alves <palves@redhat.com>
1559 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
1560 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
1561 of gdb_test_multiple.
1562 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
1563 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
1565 2014-03-20 Pedro Alves <palves@redhat.com>
1567 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
1568 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
1570 2014-03-19 Pedro Alves <palves@redhat.com>
1572 * gdb.base/async.exp: Remove early return.
1574 2014-03-19 Pedro Alves <palves@redhat.com>
1576 * gdb.base/async.exp (step& tests): Pass explicit test messages.
1578 2014-03-19 Pedro Alves <palves@redhat.com>
1580 * gdb.base/async.exp (test_background): Expect \r\n after
1581 "completed." in the fail pattern.
1583 2014-03-19 Pedro Alves <palves@redhat.com>
1585 * gdb.base/async.exp (test_background): New procedure.
1586 Use it for all background execution command tests.
1588 2014-03-19 Pedro Alves <palves@redhat.com>
1590 * gdb.base/async.exp: Use prepare_for_testing.
1592 2014-03-19 Pedro Alves <palves@redhat.com>
1594 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
1597 2014-03-19 Pedro Alves <palves@redhat.com>
1599 * gdb.base/async.c (main): Add "jump here" and "until here" line
1601 * gdb.base/async.exp (jump_here): New global.
1602 (jump& test): Use it.
1603 (until_here): New global.
1604 (until& test): Use it.
1606 2014-03-19 Pedro Alves <palves@redhat.com>
1608 * gdb.base/async.exp: Don't frob gdb_protocol.
1610 2014-03-18 Doug Evans <xdje42@gmail.com>
1612 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
1613 Fix spelling of exec-done-display.
1615 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1618 * gdb.base/gdb-sigterm.c: New file.
1619 * gdb.base/gdb-sigterm.exp: New file.
1621 2014-03-18 Pedro Alves <palves@redhat.com>
1624 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
1625 * lib/mi-support.exp (mi_expect_stop): Add special handling for
1628 2014-03-17 Joel Brobecker <brobecker@adacore.com>
1630 * gdb.ada/pckd_arr_ren: New testcase.
1632 2014-03-13 Doug Evans <xdje42@gmail.com>
1635 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
1636 collect after discarding symbols.
1638 2014-03-13 Ludovic Courtès <ludo@gnu.org>
1639 Doug Evans <xdje42@gmail.com>
1641 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
1642 to history survives a gc.
1644 2014-03-13 Pedro Alves <palves@redhat.com>
1646 * gdb.base/default.exp: Don't test "target procfs".
1648 2014-03-13 Pedro Alves <palves@redhat.com>
1650 * gdb.base/default.exp: Update "target child" and "target procfs"
1651 tests to not expect "Unix".
1653 2014-03-12 Tom Tromey <tromey@redhat.com>
1655 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
1656 New procs. Add target-async tests.
1657 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
1658 Add target-async tests.
1660 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1662 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
1663 'func_start' and 'func_end' for the beginning and end of the
1664 function code, respectively.
1665 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
1666 'func_end' instead of 'func' and 'main'.
1668 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1670 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
1671 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
1672 generate the debug info assembler source.
1674 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1676 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
1677 * gdb.dwarf2/arr-subrange.exp: Likewise.
1678 * gdb.dwarf2/dwz.exp: Likewise.
1679 * gdb.dwarf2/method-ptr.exp: Likewise.
1680 * gdb.dwarf2/missing-sig-type.exp: Likewise.
1681 * gdb.dwarf2/subrange.exp: Likewise.
1682 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
1683 * gdb.dwarf2/implptrpiece.exp: Likewise.
1684 * gdb.dwarf2/nostaticblock.exp: Likewise.
1686 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1688 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
1689 directory to absolute path name arguments.
1691 2014-03-10 Joel Brobecker <brobecker@adacore.com>
1693 * gdb.ada/tagged_access: New testcase.
1695 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
1697 * gdb.btrace/data.exp: Update expected output.
1699 2014-03-06 Yao Qi <yao@codesourcery.com>
1701 * gdb.trace/pr16508.exp: New file.
1703 2014-03-05 Pedro Alves <palves@redhat.com>
1706 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
1708 (top level): Adjust to use it. Add tests that exercise breakpoint
1709 interaction with the code-cache.
1711 2014-02-26 Ludovic Courtès <ludo@gnu.org>
1713 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
1714 test for 'history-append!'.
1716 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1718 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
1719 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
1720 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
1721 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
1722 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
1723 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
1725 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1727 * testsuite/gdb.python/py-pp-re-notag.c: New file.
1728 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
1729 * testsuite/gdb.python/py-pp-re-notag.p: New file.
1731 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1733 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
1735 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1737 * gdb.dwarf2/arr-stride.c: New file.
1738 * gdb.dwarf2/arr-stride.exp: New file.
1740 2014-02-26 Pedro Alves <palves@redhat.com>
1742 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
1743 that won't ever trigger. Make sure that GDB reports the correct
1744 breakpoint that caused the stop.
1746 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1749 * gdb.base/auto-load-script: New file.
1750 * gdb.base/auto-load.c: New file.
1751 * gdb.base/auto-load.exp: New file.
1754 * gdb.base/auto-load.exp: Fix out-of-srctree run.
1756 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1758 Fix dw2-icycle.exp -fsanitize=address GDB crash.
1759 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
1761 2014-02-24 Doug Evans <dje@google.com>
1763 * lib/gdb.exp (run_on_host): Log error output if program fails.
1765 2014-02-21 Pedro Alves <palves@redhat.com>
1767 * gdb.threads/step-after-sr-lock.c: Rename to ...
1768 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
1769 * gdb.threads/step-after-sr-lock.exp: Rename to ...
1770 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1773 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1776 * gdb.arch/amd64-stap-special-operands.exp: New file.
1777 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
1778 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
1779 * gdb.arch/amd64-stap-triplet.S: Likewise.
1780 * gdb.arch/amd64-stap-triplet.c: Likewise.
1782 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1784 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
1785 in .section pseudo-op.
1787 2014-02-20 lin zuojian <manjian2006@gmail.com>
1788 Joel Brobecker <brobecker@adacore.com>
1789 Doug Evans <xdje42@gmail.com>
1792 * gdb.dwarf2/dw2-icycle.S: New file.
1793 * gdb.dwarf2/dw2-icycle.c: New file.
1794 * gdb.dwarf2/dw2-icycle.exp: New file.
1796 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1798 * gdb.python/py-value-cc.cc: Improve test case to enable testing
1799 operations on gdb.Value objects.
1800 * gdb.python/py-value-cc.exp: Add new test to test operations on
1803 2014-02-18 Doug Evans <dje@google.com>
1805 * Makefile.in (TESTS): New variable.
1806 (expanded_tests, expanded_tests_or_none): New variables
1807 (check-single): Pass $(expanded_tests_or_none) to runtest.
1808 (check-parallel): Only run tests in $(TESTS) if non-empty.
1809 (check/no-matching-tests-found): New rule.
1810 * README: Document TESTS makefile variable.
1812 2014-02-18 Doug Evans <dje@google.com>
1814 * Makefile.in (check-parallel): rm -rf outputs temp.
1816 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1818 Fix "ERROR: no fileid for" in the testsuite.
1819 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
1821 2014-02-12 Doug Evans <dje@google.com>
1823 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
1824 (MISCELLANEOUS): New variable.
1825 (clean): rm -rf $(MISCELLANEOUS).
1826 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
1827 dwp live in the same directory as symlinks, with each symlink pointed
1828 to a differently named file in a different directory.
1830 2014-02-11 Doug Evans <dje@google.com>
1832 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
1833 of Tcl file commands.
1835 2014-02-10 Mark Kettenis <kettenis@gnu.org>
1837 * gdb.threads/step-after-sr-lock.exp: Avoid executing
1840 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1842 * gdb.ada/tick_length_array_enum_idx: New testcase.
1844 2014-02-10 Doug Evans <xdje42@gmail.com>
1846 * configure.ac (AC_OUTPUT): Add gdb.guile.
1847 * configure: Regenerate.
1848 * lib/gdb-guile.exp: New file.
1849 * lib/gdb.exp (get_target_charset): New function.
1850 * gdb.base/help.exp: Update expected output from "apropos apropos".
1851 * gdb.guile/Makefile.in: New file.
1852 * gdb.guile/guile.exp: New file.
1853 * gdb.guile/scm-arch.c: New file.
1854 * gdb.guile/scm-arch.exp: New file.
1855 * gdb.guile/scm-block.c: New file.
1856 * gdb.guile/scm-block.exp: New file.
1857 * gdb.guile/scm-breakpoint.c: New file.
1858 * gdb.guile/scm-breakpoint.exp: New file.
1859 * gdb.guile/scm-disasm.c: New file.
1860 * gdb.guile/scm-disasm.exp: New file.
1861 * gdb.guile/scm-equal.c: New file.
1862 * gdb.guile/scm-equal.exp: New file.
1863 * gdb.guile/scm-error.exp: New file.
1864 * gdb.guile/scm-error.scm: New file.
1865 * gdb.guile/scm-frame-args.c: New file.
1866 * gdb.guile/scm-frame-args.exp: New file.
1867 * gdb.guile/scm-frame-args.scm: New file.
1868 * gdb.guile/scm-frame-inline.c: New file.
1869 * gdb.guile/scm-frame-inline.exp: New file.
1870 * gdb.guile/scm-frame.c: New file.
1871 * gdb.guile/scm-frame.exp: New file.
1872 * gdb.guile/scm-generics.exp: New file.
1873 * gdb.guile/scm-gsmob.exp: New file.
1874 * gdb.guile/scm-iterator.c: New file.
1875 * gdb.guile/scm-iterator.exp: New file.
1876 * gdb.guile/scm-math.c: New file.
1877 * gdb.guile/scm-math.exp: New file.
1878 * gdb.guile/scm-objfile-script-gdb.in: New file.
1879 * gdb.guile/scm-objfile-script.c: New file.
1880 * gdb.guile/scm-objfile-script.exp: New file.
1881 * gdb.guile/scm-objfile.c: New file.
1882 * gdb.guile/scm-objfile.exp: New file.
1883 * gdb.guile/scm-ports.exp: New file.
1884 * gdb.guile/scm-pretty-print.c: New file.
1885 * gdb.guile/scm-pretty-print.exp: New file.
1886 * gdb.guile/scm-pretty-print.scm: New file.
1887 * gdb.guile/scm-section-script.c: New file.
1888 * gdb.guile/scm-section-script.exp: New file.
1889 * gdb.guile/scm-section-script.scm: New file.
1890 * gdb.guile/scm-symbol.c: New file.
1891 * gdb.guile/scm-symbol.exp: New file.
1892 * gdb.guile/scm-symtab-2.c: New file.
1893 * gdb.guile/scm-symtab.c: New file.
1894 * gdb.guile/scm-symtab.exp: New file.
1895 * gdb.guile/scm-type.c: New file.
1896 * gdb.guile/scm-type.exp: New file.
1897 * gdb.guile/scm-value-cc.cc: New file.
1898 * gdb.guile/scm-value-cc.exp: New file.
1899 * gdb.guile/scm-value.c: New file.
1900 * gdb.guile/scm-value.exp: New file.
1901 * gdb.guile/source2.scm: New file.
1902 * gdb.guile/types-module.cc: New file.
1903 * gdb.guile/types-module.exp: New file.
1905 2014-02-10 Yao Qi <yao@codesourcery.com>
1908 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
1909 * configure: Regenerated.
1910 * Makefile.in: New file.
1912 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1914 * gdb.python/py-framefilter.exp: Fix typo.
1916 2014-02-08 Yao Qi <yao@codesourcery.com>
1918 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
1919 that no =breakpoint-modified is emitted when breakpoints are
1920 modified through MI commands.
1922 2014-02-07 Pedro Alves <pedro@codesourcery.com>
1923 Pedro Alves <palves@redhat.com>
1925 * gdb.threads/step-after-sr-lock.c: New file.
1926 * gdb.threads/step-after-sr-lock.exp: New file.
1928 2014-02-07 Pedro Alves <palves@redhat.com>
1930 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
1932 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1934 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
1935 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
1937 2014-02-06 Doug Evans <xdje42@gmail.com>
1939 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
1942 * gdb.gdb/python-interrupts.exp: New file.
1944 2014-02-05 Yao Qi <yao@codesourcery.com>
1946 * gdb.trace/report.exp (use_collected_data): Test the output
1947 of "info threads" and "info inferiors".
1949 2014-02-05 Yao Qi <yao@codesourcery.com>
1953 2013-05-24 Yao Qi <yao@codesourcery.com>
1955 * gdb.trace/tfile.exp: Test inferior and thread.
1957 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1959 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
1961 * gdb.base/step-bt.c: Call hello via function pointer to make
1962 sure its first instruction is executed on powerpc64le-linux.
1964 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1966 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
1968 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1970 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
1971 of the test patterns for use on little-endian systems.
1973 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1975 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
1976 (decimal_vector): Fix for little-endian.
1978 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
1980 * gdb.arch/sparc-sysstep.exp: New file.
1981 * gdb.arch/sparc-sysstep.c: Likewise.
1983 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
1985 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1987 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
1989 2014-01-23 Tom Tromey <tromey@redhat.com>
1991 * gdb.ada/array_char_idx: New testcase.
1993 2014-01-23 Tom Tromey <tromey@redhat.com>
1996 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
1997 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
2000 2014-01-23 Tom Tromey <tromey@redhat.com>
2003 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
2004 string from an inferior frame.
2005 * gdb.python/py-framefilter-mi.exp: Update.
2007 2014-01-22 Doug Evans <dje@google.com>
2009 * gdb.server/server-mon.exp: Add tests for "set debug-format".
2011 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2013 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
2015 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2017 * gdb.trace/entry-values.exp: Remove excess space character from
2018 regex patterns. Handle s390 call instruction.
2020 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2022 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
2023 define "*_start" label. Make "name" static.
2024 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
2025 ${name} by references to ${name}_start.
2027 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2029 * gdb.base/info-macros.exp: Remove "debug" from the compile
2032 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2034 * gdb.dlang/demangle.exp: New file.
2036 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2038 * gdb.dlang/primitive-types.exp: New file.
2040 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2042 * configure.ac: Create gdb.dlang/Makefile.
2043 * configure: Regenerate.
2044 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
2045 * gdb.dlang/Makefile.in: New file.
2046 * lib/d-support.exp: New file.
2047 * lib/gdb.exp (skip_d_tests): New proc.
2049 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2051 * gdb.btrace/delta.exp: Check reverse stepi.
2052 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
2053 * gdb.btrace/finish.exp: New.
2054 * gdb.btrace/next.exp: New.
2055 * gdb.btrace/nexti.exp: New.
2056 * gdb.btrace/record_goto.c: Add comments.
2057 * gdb.btrace/step.exp: New.
2058 * gdb.btrace/stepi.exp: New.
2059 * gdb.btrace/multi-thread-step.c: New.
2060 * gdb.btrace/multi-thread-step.exp: New.
2061 * gdb.btrace/rn-dl-bind.c: New.
2062 * gdb.btrace/rn-dl-bind.exp: New.
2063 * gdb.btrace/data.c: New.
2064 * gdb.btrace/data.exp: New.
2065 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2067 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2069 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
2070 * gdb.btrace/exception.exp: Update.
2071 * gdb.btrace/instruction_history.exp: Update.
2072 * gdb.btrace/record_goto.exp: Update.
2073 * gdb.btrace/tailcall.exp: Update.
2074 * gdb.btrace/unknown_functions.exp: Update.
2075 * gdb.btrace/delta.exp: New.
2077 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2079 * gdb.btrace/record_goto.exp: Add backtrace test.
2080 * gdb.btrace/tailcall.exp: Add backtrace test.
2082 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2084 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
2085 * gdb.btrace/record_goto.c: New.
2086 * gdb.btrace/record_goto.exp: New.
2087 * gdb.btrace/x86-record_goto.S: New.
2089 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2091 * gdb.btrace/function_call_history.exp: Update tests.
2092 * gdb.btrace/instruction_history.exp: Update tests.
2094 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2096 * gdb.btrace/function_call_history.exp: Fix expected field
2097 order for "record function-call-history".
2098 Add new tests for "record function-call-history /c".
2099 * gdb.btrace/exception.cc: New.
2100 * gdb.btrace/exception.exp: New.
2101 * gdb.btrace/tailcall.exp: New.
2102 * gdb.btrace/x86-tailcall.S: New.
2103 * gdb.btrace/x86-tailcall.c: New.
2104 * gdb.btrace/unknown_functions.c: New.
2105 * gdb.btrace/unknown_functions.exp: New.
2106 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2108 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2110 * gdb.btrace/instruction_history.exp: Update.
2111 * gdb.btrace/function_call_history.exp: Update.
2113 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2115 * gdb.btrace/function_call_history.exp: Fix expected function
2117 * gdb.btrace/instruction_history.exp: Initialize traced.
2118 Remove traced_functions.
2120 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2122 * gdb.btrace/function_call_history.exp: Update
2123 * gdb.btrace/instruction_history.exp: Update.
2125 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2127 * gdb.btrace/enable.exp: Update expected text.
2129 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
2131 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
2134 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
2136 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
2138 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2140 * lib/gdb.exp (supports_process_record): Return true for
2141 arm*-linux*. (supports_reverse): Likewise.
2143 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
2147 * gdb.python/py-type.c: Enhance test case.
2148 * gdb.python/py-value-cc.cc: Likewise
2149 * gdb.python/py-type.exp: Add new tests.
2150 * gdb.python/py-value-cc.exp: Likewise
2152 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2153 Pedro Alves <palves@redhat.com>
2155 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
2157 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
2158 references to ${name}_start by references to ${name}.
2160 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2162 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
2164 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2166 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
2168 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
2169 Pedro Alves <palves@redhat.com>
2171 * gdb.mi/mi-info-os.exp: Connect to the target with
2174 2014-01-08 Pedro Alves <palves@redhat.com>
2176 * gdb.threads/reconnect-signal.c: New file.
2177 * gdb.threads/reconnect-signal.exp: New file.
2179 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2181 * gdb.base/source-dir.exp: New file.
2183 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2185 * gdb.ada/mi_interface: New testcase.
2187 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2189 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
2190 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
2191 gdb.ada/pp-rec-component/pck.ads: New files.
2193 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2195 * gdb.python/py-pp-integral.c: New file.
2196 * gdb.python/py-pp-integral.py: New file.
2197 * gdb.python/py-pp-integral.exp: New file.
2199 For older changes see ChangeLog-1993-2013.
2205 ;; version-control: never
2208 Copyright 2014 Free Software Foundation, Inc.
2209 Copying and distribution of this file, with or without modification,
2210 are permitted provided the copyright notice and this notice are preserved.