1 2014-08-22 Doug Evans <dje@google.com>
4 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
8 2014-08-22 Yao Qi <yao@codesourcery.com>
10 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
11 * gdb.python/py-finish-breakpoint2.exp: Likewise.
12 * gdb.python/python.exp: Likewise. Use .py file on the host
15 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17 * gdb.threads/gcore-stale-thread.c: New file.
18 * gdb.threads/gcore-stale-thread.exp: New file.
20 2014-08-21 Pedro Alves <palves@redhat.com>
22 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
23 * gdb.base/gcore-relro-pie.exp: Likewise.
24 * gdb.base/gcore-relro.exp: Likewise.
25 * gdb.base/gcore.exp: Likewise.
26 * gdb.base/print-symbol-loading.exp: Likewise.
27 * gdb.threads/gcore-thread.exp: Likewise.
28 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
30 2014-08-20 Pedro Alves <palves@redhat.com>
31 Jan Kratochvil <jan.kratochvil@redhat.com>
33 * Makefile.in (EXTRA_RULES, CC): New variables, get from
35 (EXPECT): Handle READ1 being set.
36 (all): Depend on EXTRA_RULES.
37 (check-read1, expect-read1, read1.so, read1): New rules.
38 * README (Testsuite Parameters): Document the READ1 make variable.
39 (Race detection): New section.
40 * configure: Regenerate.
41 * configure.ac: If build==host==target, and running under a
42 GNU/glibc system, add read1 to the extra Makefile rules.
43 (EXTRA_RULES): AC_SUBST it.
44 * lib/read1.c: New file.
46 2014-08-20 Joel Brobecker <brobecker@adacore.com>
48 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
49 the handling of variables declared as a typedef to an array
50 which a DW_AT_data_location attribute.
52 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
53 Pedro Alves <palves@redhat.com>
57 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
60 2014-08-19 Pedro Alves <palves@redhat.com>
62 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
64 2014-08-19 Yao Qi <yao@codesourcery.com>
66 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
69 2014-08-18 David Blaikie <dblaikie@gmail.com>
71 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
73 2014-08-18 Joel Brobecker <brobecker@adacore.com>
75 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
76 attribute in array range.
78 2014-08-18 Joel Brobecker <brobecker@adacore.com>
80 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
82 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
85 * gdb.cp/pr17132.cc: New file.
86 * gdb.cp/pr17132.exp: New file.
88 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
90 * gdb.python/py-xmethods.py (A_getarrayind)
91 (E_method_char_worker.__call__, E_method_int_worker.__call__):
92 Use 'print' with function call syntax.
93 (E_method_matcher.match): Fix tab vs space indentation mixup.
95 2014-08-15 Yao Qi <yao@codesourcery.com>
97 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
100 2014-08-15 Yao Qi <yao@codesourcery.com>
102 * gdb.cp/casts.exp: Set print symbol off.
103 * gdb.cp/class2.exp: Likewise.
104 * gdb.cp/overload.exp: Likewise.
105 * gdb.cp/templates.exp: Likewise.
107 2014-08-11 Doug Evans <dje@google.com>
109 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
110 (test_load_shlib): Update.
112 2014-08-09 Yao Qi <yao@codesourcery.com>
114 * gdb.base/display.exp: Invoke is_address_zero_readable.
115 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
116 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
117 * gdb.base/hbreak-unmapped.exp: Return if
118 is_address_zero_readable returns true.
119 * gdb.base/signest.exp: Likewise.
120 * gdb.base/signull.exp: Likewise.
121 * gdb.base/sigbpt.exp: Likewise.
122 * gdb.guile/scm-disasm.exp: Do the test if
123 is_address_zero_readable returns false.
124 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
125 * gdb.python/py-arch.exp: Likewise.
126 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
127 * lib/gdb.exp (is_address_zero_readable): New proc.
129 2014-08-09 Yao Qi <yao@codesourcery.com>
132 * gdb.mi/mi-var-display.exp: Make test messages unique.
134 2014-08-04 Tom Tromey <tromey@redhat.com>
136 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
139 2014-08-04 Tom Tromey <tromey@redhat.com>
141 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
144 2014-08-01 Joel Brobecker <brobecker@adacore.com>
146 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
147 inner_vla_struct_object_size.
148 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
151 2014-07-30 Pedro Alves <palves@redhat.com>
153 * gdb.threads/signal-command-handle-nopass.exp (test): Add
156 2014-07-29 Yao Qi <yao@codesourcery.com>
159 * gdb.base/until-nodebug.exp: New.
161 2014-07-28 Doug Evans <xdje42@gmail.com>
164 * gdb.guile/scm-parameter.exp: Add tests for trying to create
165 previously existing parameter, and previously ambiguously spelled
168 2014-07-28 Will Newton <will.newton@linaro.org>
170 * gdb.base/varargs.exp: Remove KFAILs for ARM.
172 2014-07-26 Ludovic Courtès <ludo@gnu.org>
173 Doug Evans <xdje42@gmail.com>
176 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
178 2014-07-25 Pedro Alves <palves@redhat.com>
180 * gdb.threads/signal-command-handle-nopass.c: New file.
181 * gdb.threads/signal-command-handle-nopass.exp: New file.
182 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
183 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
184 * gdb.threads/signal-delivered-right-thread.c: New file.
185 * gdb.threads/signal-delivered-right-thread.exp: New file.
187 2014-07-25 Pedro Alves <palves@redhat.com>
189 * gdb.base/double-prompt-target-event-error.exp
190 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
192 (cancel_pagination_in_target_event): Rework double prompt
194 * gdb.base/paginate-after-ctrl-c-running.exp
195 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
197 * gdb.base/paginate-bg-execution.exp
198 (test_bg_execution_pagination_return)
199 (test_bg_execution_pagination_cancel): Remove '-notransfer
201 * gdb.base/paginate-execution-startup.exp
202 (test_fg_execution_pagination_return)
203 (test_fg_execution_pagination_cancel): Remove '-notransfer
205 * gdb.base/paginate-inferior-exit.exp
206 (test_paginate_inferior_exited): Remove '-notransfer <return>'
208 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
209 * lib/gdb.exp (pagination_prompt): Run text through
211 (gdb_test_multiple): Match $pagination_prompt instead of
213 (string_to_regexp): Move to lib/gdb-utils.exp.
215 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
217 * gdb.arch/amd64-entry-value-paramref.S: New file.
218 * gdb.arch/amd64-entry-value-paramref.cc: New file.
219 * gdb.arch/amd64-entry-value-paramref.exp: New file.
220 * gdb.arch/amd64-optimout-repeat.S: New file.
221 * gdb.arch/amd64-optimout-repeat.c: New file.
222 * gdb.arch/amd64-optimout-repeat.exp: New file.
224 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
227 * gdb.base/statistics.exp: New file.
229 2014-07-17 Doug Evans <dje@google.com>
232 * gdb.base/maint.exp: Update testing of per-command stats.
234 2014-07-16 Pedro Alves <palves@redhat.com>
236 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
237 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
238 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
239 (tfile_write_buf): New functions.
240 (add_memory_block): Rewrite using the above.
241 (adjust_function_address): New function.
242 (FUNCTION_ADDRESS): New macro.
243 (write_basic_trace_file): Remove short_x local, and use
244 tfile_write_16. Change type of func_addr local to unsigned long
245 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
246 here. Cast argument of add_memory_block to char pointer.
247 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
248 (main): Remove parameters.
249 * gdb.trace/tfile.exp: Remove nowarnings.
251 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
253 * gdb.base/debug-expr.exp: Test string evaluation with
254 "debug expression" on.
256 2014-07-15 Pedro Alves <palves@redhat.com>
258 * gdb.base/reread.exp: Use clean_restart.
260 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
262 * gdb.arch/avr-flash-qualifer.c: New.
263 * gdb.arch/avr-flash-qualifer.exp: New.
265 2014-07-14 Pedro Alves <palves@redhat.com>
267 * gdb.base/paginate-after-ctrl-c-running.c: New file.
268 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
270 2014-07-14 Pedro Alves <palves@redhat.com>
272 * gdb.base/double-prompt-target-event-error.c: New file.
273 * gdb.base/double-prompt-target-event-error.exp: New file.
275 2014-07-14 Pedro Alves <palves@redhat.com>
278 * gdb.base/paginate-inferior-exit.c: New file.
279 * gdb.base/paginate-inferior-exit.exp: New file.
281 2014-07-14 Pedro Alves <palves@redhat.com>
284 * gdb.base/paginate-bg-execution.c: New file.
285 * gdb.base/paginate-bg-execution.exp: New file.
287 2014-07-14 Pedro Alves <palves@redhat.com>
290 * gdb.base/paginate-execution-startup.c: New file.
291 * gdb.base/paginate-execution-startup.exp: New file.
292 * lib/gdb.exp (pagination_prompt): New global.
293 (default_gdb_spawn): New procedure, factored out from
295 (default_gdb_start): Adjust to call default_gdb_spawn.
296 (gdb_spawn): New procedure.
298 2014-07-14 Pedro Alves <palves@redhat.com>
300 * lib/gdb.exp (gdb_assert): New procedure.
301 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
303 2014-07-14 Pedro Alves <palves@redhat.com>
305 * gdb.base/execution-termios.c: New file.
306 * gdb.base/execution-termios.exp: New file.
308 2014-07-14 Tom Tromey <tromey@redhat.com>
310 * gdb.cp/vla-cxx.cc: New file.
311 * gdb.cp/vla-cxx.exp: New file.
313 2014-07-14 Tom Tromey <tromey@redhat.com>
315 * gdb.reverse/rerun-prec.c: New file.
316 * gdb.reverse/rerun-prec.exp: New file.
318 2014-07-12 Maciej W. Rozycki <macro@mips.com>
319 Maciej W. Rozycki <macro@codesourcery.com>
321 * lib/gdb-utils.exp: New file.
322 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
323 inline `gdb_init_command' processing.
324 (gdb_start_cmd): Likewise.
325 * lib/mi-support.exp (mi_run_cmd): Likewise.
326 * README: Document `gdb_init_command' and `gdb_init_commands'.
328 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
330 Fix false FAIL running under a very long directory name.
331 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
332 and "set print elements 10000". Twice.
334 2014-07-11 Yao Qi <yao@codesourcery.com>
336 * gdb.base/exprs.exp: "set print symbol off".
338 2014-07-11 Pedro Alves <palves@redhat.com>
340 * gdb.threads/kill.c: New file.
341 * gdb.threads/kill.exp: New file.
343 2014-07-10 Yao Qi <yao@codesourcery.com>
345 * gdb.trace/tfile.c (write_basic_trace_file)
346 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
347 address written to trace file.
349 2014-07-09 Pedro Alves <palves@redhat.com>
351 * gdb.base/attach-wait-input.exp: New file.
352 * gdb.base/attach-wait-input.c: New file.
354 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
356 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
357 setting up test structures.
358 (main): Call new test function.
359 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
360 test function, continue into test function and walk test
363 2014-07-02 Yao Qi <yao@codesourcery.com>
365 * gdb.trace/entry-values.c: Define labels 'foo_start' and
366 'bar_start' at the beginning of functions 'foo' and 'bar'
368 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
369 instead of 'foo' and 'bar'.
371 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
373 * gdb.btrace/segv.exp: New.
374 * gdb.btrace/segv.c: New.
376 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
378 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
381 2014-06-30 Mark Wielaard <mjw@redhat.com>
383 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
384 vulture, vilify, villar): New volatile array constants.
385 (vindictive, vegetation): New const volatile array constants.
386 * gdb.base/volatile.exp: Test volatile and const volatile array
389 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
391 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
392 target lacks support for awatch, rwatch, or hbreak.
394 2014-06-27 Yao Qi <yao@codesourcery.com>
396 * gdb.multi/dummy-frame-restore.exp: New.
397 * gdb.multi/dummy-frame-restore.c: New.
399 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
401 * gdb.btrace/gcore.exp: New.
403 2014-06-23 Pedro Alves <palves@redhat.com>
405 * gdb.base/watchpoint-reuse-slot.c: New file.
406 * gdb.base/watchpoint-reuse-slot.exp: New file.
408 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
410 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
411 progspace's filename in 'info', 'enable' and 'disable' command
414 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
416 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
417 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
418 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
420 2014-06-20 Gary Benson <gbenson@redhat.com>
422 * gdb.arch/i386-avx.exp: Fix include file location.
423 * gdb.arch/i386-sse.exp: Likewise.
425 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
427 * gdb.dlang/expression.exp: New file.
429 2014-06-19 Pedro Alves <palves@redhat.com>
431 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
433 (top level): ... here. Iterate running tests under different
434 scheduler-locking settings.
436 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
438 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
439 to DW_FORM_addr and use non-zero addresses.
441 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
444 * gdb.python/py-xmethods.cc: Add global function call counters and
445 increment them in their respective functions. Remove "cout"
447 * gdb.python/py-xmethods.exp: Make tests check the global function
448 call counters instead of depending on inferior IO.
450 2014-06-18 Don Breazeal <donb@codesourcery.com>
452 * gdb.base/foll-fork.exp (default_fork_parent_follow):
454 (explicit_fork_parent_follow): Deleted procedure.
455 (explicit_fork_child_follow): Deleted procedure.
456 (test_follow_fork): New procedure.
457 (do_fork_tests): Replace calls to deleted procedures with
458 calls to test_follow_fork and reset GDB for subsequent
461 2014-06-17 Yao Qi <yao@codesourcery.com>
463 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
466 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
468 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
469 Initialize ptr and S explicitly.
470 (skip_type_update_when_not_use_rtti_test): Likewise.
472 2014-06-16 Keith Seitz <keiths@redhat.com>
475 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
476 the inferior is started.
478 2014-06-16 Pedro Alves <palves@redhat.com>
480 * gdb.base/break-main-file-remove-fail.c: New file.
481 * gdb.base/break-main-file-remove-fail.exp: New file.
482 * gdb.base/break-unload-file.exp: Use build_executable instead of
484 (test_break): New parameter "initial_load". Handle it.
485 (top level): Add initial_load cmdline/file axis.
487 2014-06-12 Tom Tromey <tromey@redhat.com>
489 * gdb.base/completion.exp: Don't use directory name in test.
491 2014-06-09 Gary Benson <gbenson@redhat.com>
493 * gdb.base/sigall.c [Functions to send signals]: Reorder to
494 separate the always-available ANSI-standard signals from the
495 signals that require checking.
497 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
501 2014-06-07 Keith Seitz <keiths@redhat.com>
505 * gdb.cp/var-tag.cc: New file.
506 * gdb.cp/var-tag.exp: New file.
507 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
508 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
509 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
510 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
512 2014-06-06 Doug Evans <xdje42@gmail.com>
514 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
516 2014-06-06 Pedro Alves <palves@redhat.com>
518 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
519 in target debug output instead of looking at RSP packets,
520 disabling the test on any target that uses hardware stepping.
523 2014-06-06 Pedro Alves <palves@redhat.com>
525 * gdb.base/break-unload-file.exp: Fix typo.
527 2014-06-06 Yao Qi <yao@codesourcery.com>
529 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
530 from "jit_function" to "^jit_function".
532 2014-06-06 Yao Qi <yao@codesourcery.com>
534 * gdb.base/async.c (foo): Add one statement.
535 * gdb.base/async.exp: Get the next instruction address and
536 match the output of "nexti" by instruction address. Match
537 the hex address in the output of "finish".
539 2014-06-06 Gary Benson <gbenson@redhat.com>
541 * gdb.base/call-signals.c: Remove preprocessor conditionals
542 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
544 * gdb.base/sigall.c: Likewise.
545 * gdb.base/unwindonsignal.c: Likewise.
546 * gdb.reverse/sigall-reverse.c: Likewise.
548 2014-06-06 Yao Qi <yao@codesourcery.com>
550 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
551 readable, skip the test.
553 2014-06-06 Yao Qi <yao@codesourcery.com>
555 * gdb.threads/staticthreads.c (thread_function): Move the line
556 setting breakpoint on forward.
557 * gdb.threads/staticthreads.exp: Update comments.
559 2014-06-05 Ludovic Courtès <ludo@gnu.org>
561 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
562 "history-append! type error".
564 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
566 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
567 erroneous dprintf expected input.
569 2014-06-04 Doug Evans <xdje42@gmail.com>
571 * gdb.guile/scm-generics.exp: Delete.
573 2014-06-04 Doug Evans <xdje42@gmail.com>
575 * gdb.guile/scm-breakpoint.exp: Update.
576 Add tests for breakpoint registration.
578 2014-06-04 Tom Tromey <tromey@redhat.com>
580 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
582 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
583 inner_vla_struct, vla_union types. Initialize objects of those
584 types and compute their sizes.
586 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
587 Hui Zhu <hui@codesourcery.com>
589 * gdb.base/fileio.exp: Add test for shell not available as well as
591 * gdb.base/fileio.c (test_system): Check for shell twice.
593 2014-06-04 Yao Qi <yao@codesourcery.com>
595 * gdb.base/auto-connect-native-target.exp: Remove redundant
596 space from the regexp pattern.
598 2014-06-04 Yao Qi <yao@codesourcery.com>
600 * gdb.base/default.exp: Replace "child" with "native" in
603 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
605 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
606 * gdb.python/py-xmethods.exp: New tests to test xmethods.
607 * gdb.python/py-xmethods.py: Python script supporting the
608 new testcase and tests.
610 2014-06-03 Joel Brobecker <brobecker@adacore.com>
611 Pedro Alves <palves@redhat.com>
614 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
615 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
617 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
619 * gdb.base/subst.exp: Add tests to verify partial path matching
622 2014-06-03 Pedro Alves <palves@redhat.com>
624 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
625 target that doesn't use software single-stepping.
627 2014-06-03 Pedro Alves <palves@redhat.com>
630 * gdb.base/sss-bp-on-user-bp-2.c: New file.
631 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
633 2014-06-02 Doug Evans <xdje42@gmail.com>
635 * gdb.guile/scm-parameter.exp: New file.
637 2014-06-02 Doug Evans <xdje42@gmail.com>
639 * gdb.guile/scm-cmd.c: New file.
640 * gdb.guile/scm-cmd.exp: New file.
642 2014-06-02 Doug Evans <xdje42@gmail.com>
644 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
645 pretty-printer lookup.
646 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
647 (make-pp_s-printer): Call it.
648 (make-pretty-printer-from-dict): New function.
649 (lookup-pretty-printer-maker-from-dict): New function.
650 (*pretty-printer*): Simplify.
651 (make-objfile-pp_s-printer): New function.
652 (install-objfile-pretty-printers!): New function.
653 (make-progspace-pp_s-printer): New function.
654 (install-progspace-pretty-printers!): New function.
655 * gdb.guile/scm-progspace.c: New file.
656 * gdb.guile/scm-progspace.exp: New file.
658 2014-06-02 Pedro Alves <palves@redhat.com>
660 * gdb.base/dprintf-bp-same-addr.c: New file.
661 * gdb.base/dprintf-bp-same-addr.exp: New file.
663 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
665 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
666 * gdb.arch/powerpc-power.s: Likewise.
668 2014-06-02 Joel Brobecker <brobecker@adacore.com>
670 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
672 2014-06-01 Yao Qi <yao@codesourcery.com>
674 * gdb.base/watchpoint.exp (test_watch_location): Check null
675 pointer can be dereferenced. If not, do the test, otherwise
678 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
680 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
682 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
684 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
686 * gdb.arch/amd64-invalid-stack-middle.S: New file.
687 * gdb.arch/amd64-invalid-stack-middle.c: New file.
688 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
689 * gdb.arch/amd64-invalid-stack-top.c: New file.
690 * gdb.arch/amd64-invalid-stack-top.exp: New file.
692 2014-05-30 Pedro Alves <palves@redhat.com>
695 * gdb.base/sss-bp-on-user-bp.c: New file.
696 * gdb.base/sss-bp-on-user-bp.exp: New file.
698 2014-05-30 David Blaikie <dblaikie@gmail.com>
700 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
701 gnu_inline semantics via attribute.
702 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
703 source explicitly specifies the required semantics.
705 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
707 * gdb.reverse/sigall-reverse.exp: Fix a typo.
709 2014-05-29 Pedro Alves <palves@redhat.com>
710 Tom Tromey <tromey@redhat.com>
712 * gdb.base/async-shell.exp: Don't enable target-async.
714 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
716 (top level): Don't test with "target-async".
717 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
718 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
719 * gdb.base/inferior-died.exp: Don't enable target-async.
720 * gdb.base/interrupt-noterm.exp: Likewise.
721 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
722 * gdb.mi/mi-nonstop-exit.exp: Likewise.
723 * gdb.mi/mi-nonstop.exp: Likewise.
724 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
725 * gdb.mi/mi-nsintrall.exp: Likewise.
726 * gdb.mi/mi-nsmoribund.exp: Likewise.
727 * gdb.mi/mi-nsthrexec.exp: Likewise.
728 * gdb.mi/mi-watch-nonstop.exp: Likewise.
729 * gdb.multi/watchpoint-multi.exp: Adjust comment.
730 * gdb.python/py-evsignal.exp: Don't enable target-async.
731 * gdb.python/py-evthreads.exp: Likewise.
732 * gdb.python/py-prompt.exp: Likewise.
733 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
734 * gdb.server/solib-list.exp: Don't enable target-async.
735 * gdb.threads/thread-specific-bp.exp: Likewise.
736 * lib/mi-support.exp: Adjust to use mi-async.
738 2014-05-29 Pedro Alves <palves@redhat.com>
741 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
742 reason, even in sync mode.
744 2014-05-29 Pedro Alves <palves@redhat.com>
745 Hui Zhu <hui@codesourcery.com>
748 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
749 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
750 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
751 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
753 2014-05-28 Joel Brobecker <brobecker@adacore.com>
755 * config/monitor.exp (gdb_target_monitor): Replace use of
756 "set remotebaud" by "set serial baud".
758 2014-05-26 Andy Wingo <wingo@igalia.com>
760 * gdb.guile/scm-breakpoint.exp:
761 * gdb.guile/scm-gsmob.exp: Update to use plain old object
762 properties instead of gdb-object-properties.
764 2014-05-26 Yao Qi <yao@codesourcery.com>
766 * gdb.server/no-thread-db.exp: Specify source file name
767 explicitly when setting a breakpoint.
769 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
771 * gdb.btrace/vdso.c: New.
772 * gdb.btrace/vdso.exp: New.
774 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
776 * gdb.base/gcore.exp (capture_command_output): Move ...
777 * lib/gdb.exp (capture_command_output): ... here.
779 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
781 * gdb.btrace/data.exp: Test memory access during btrace replay.
783 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
785 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
787 2014-05-21 Pedro Alves <palves@redhat.com>
790 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
791 (top level): Test that output related to execution commands is
792 sent to the console with CLI commands, but not with MI commands.
793 Test that breakpoint events are always mirrored to the console.
794 Also expect the new source line to be output after a "next" in
795 async mode too. Make it a pass/fail test.
796 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
798 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
800 2014-05-21 Pedro Alves <palves@redhat.com>
802 * gdb.base/list.exp (build_pattern, test_list): New procedures.
803 Use them to test variations of "list" after reaching a breakpoint.
804 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
805 Test "list" with listsize 10 after reaching a breakpoint.
806 * gdb.python/python.exp (decode_line current location line
807 number): Adjust expected line number.
809 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
811 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
812 behavior for $args, pass it directly to "run".
814 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
816 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
819 2014-05-21 Pedro Alves <palves@redhat.com>
821 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
822 auto-connect-native-target off".
823 * gdb.base/auto-connect-native-target.c: New file.
824 * gdb.base/auto-connect-native-target.exp: New file.
826 2014-05-21 Pedro Alves <palves@redhat.com>
828 * gdb.base/default.exp: Test "target native" instead of "target
831 2014-05-21 Mark Wielaard <mjw@redhat.com>
833 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
835 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
837 Fix TLS access for -static -pthread.
838 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
839 <HAVE_TLS> (thread_function, main): Initialize it.
840 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
842 <$have_tls != "">: Check TLSVAR.
844 2014-05-21 Pedro Alves <palves@redhat.com>
846 * gdb.base/dcache-line-read-error.c: New.
847 * gdb.base/dcache-line-read-error.exp: New.
849 2014-05-20 Pedro Alves <palves@redhat.com>
851 * gdb.base/compare-sections.c: New file.
852 * gdb.base/compare-sections.exp: New file.
854 2014-05-20 Pedro Alves <palves@redhat.com>
856 * gdb.base/break-idempotent.c: New file.
857 * gdb.base/break-idempotent.exp: New file.
859 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
861 * gdb.btrace/nohist.exp: New.
863 2014-05-20 Yao Qi <yao@codesourcery.com>
865 * lib/gdb.exp (gdb_init): Set timeout if test file is under
866 gdb.reverse directory and gdb_reverse_timeout exists in board
868 * README: Document gdb_reverse_timeout.
870 2014-05-20 Yao Qi <yao@codesourcery.com>
872 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
873 'test_file_name'. Treat args as a string instead of a list.
874 (gdb_init): Rename argument 'args' by 'test_file_name'.
876 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
878 * gdb.arch/powerpc-power.exp: New file.
879 * gdb.arch/powerpc-power.s: New file.
881 2014-05-16 Doug Evans <dje@google.com>
883 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
884 * gdb.base/completion.exp: Check that all expected files exist
885 before doing file completion.
887 2014-05-16 Doug Evans <dje@google.com>
889 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
891 (do_syscall_tests_without_xml): Update.
893 2014-05-16 Pedro Alves <palves@redhat.com>
895 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
896 instead of "unknown output after running".
898 2014-05-16 Yao Qi <yao@codesourcery.com>
900 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
901 file1.txt from host at the end.
902 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
904 2014-05-15 Doug Evans <dje@google.com>
906 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
907 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
908 loading file. Add test for TU lookup.
910 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
912 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
913 calling "-exec-arguments" or "set args" before running the
916 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
918 * lib/mi-support.exp (mi_expect_stop): Expect message for
919 inferiors that exit with non-zero exit code.
921 2014-05-14 Yao Qi <yao@codesourcery.com>
923 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
924 match absolute path on remote host.
925 (test_file_list_exec_source_files): Remove "/" from the
928 2014-05-14 Yao Qi <yao@codesourcery.com>
930 * boards/local-remote-host-notty.exp (${board}_file): New
933 2014-05-07 Kyle McMartin <kyle@redhat.com>
935 Pushed by Joel Brobecker <brobecker@adacore.com>.
936 * gdb.arch/aarch64-atomic-inst.c: New file.
937 * gdb.arch/aarch64-atomic-inst.exp: New file.
939 2014-05-07 Yao Qi <yao@codesourcery.com>
941 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
942 in current context" too.
944 2014-05-05 Keith Seitz <keiths@redhat.com>
946 * gdb.linespec/ls-dollar.exp: Add test for linespec
947 file:convenience_variable.
949 2014-05-05 Yao Qi <yao@codesourcery.com>
951 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
952 traceframes into tfile and ctf trace files. Read data from
953 trace file and test collected data.
954 (gdb_collect_locals_test): Likewise.
955 (gdb_unavailable_registers_test): Likewise.
956 (gdb_unavailable_floats): Likewise.
957 (gdb_collect_globals_test): Likewise.
958 (top-level): Append "ctf" to trace_file_targets if GDB
961 2014-05-05 Yao Qi <yao@codesourcery.com>
963 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
965 (gdb_collect_args_test_1): ... it. New proc.
966 (gdb_collect_locals_test): Move some code to ...
967 (gdb_collect_locals_test_1): ... it. New proc.
968 (gdb_unavailable_registers_test): Move some code to ...
969 (gdb_unavailable_registers_test_1): ... it. New proc.
970 (gdb_unavailable_floats): Move some code to ...
971 (gdb_unavailable_floats_1): ... it. New proc.
973 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
975 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
976 probes to test for bitness recognition.
977 * gdb.arch/amd64-stap-optional-prefix.exp
978 (test_probe_value_without_reg): New procedure.
979 Add code to test for different kinds of bitness.
981 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
984 * gdb.arch/amd64-stap-optional-prefix.S: New file.
985 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
987 2014-05-01 Pedro Alves <palves@redhat.com>
989 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
990 gdb_file_cmd if no file is specified.
991 * boards/native-extended-gdbserver.exp (gdb_load): Use the
992 last_loaded_file to set the remote exec-file.
994 2014-05-01 Pedro Alves <palves@redhat.com>
996 * boards/local-remote-host.exp: New file.
998 2014-05-01 Pedro Alves <palves@redhat.com>
1000 * boards/local-remote-host.exp: Rename to ...
1001 * boards/local-remote-host-notty.exp: ... this.
1003 2014-04-28 Joel Brobecker <brobecker@adacore.com>
1005 * gdb.ada/dyn_arrayidx: New testcase.
1007 2014-04-26 Yao Qi <yao@codesourcery.com>
1009 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
1010 and compute the length of function main. Save it in
1012 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
1013 (top-level): Use gdb_compile to compile objects into
1014 executable and restart GDB. Remove invocation to
1015 prepare_for_testing.
1017 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
1018 Pedro Alves <palves@redhat.com>
1021 * gdb.multi/multi-attach.c: New file.
1022 * gdb.multi/multi-attach.exp: New file.
1024 2014-04-25 Pedro Alves <palves@redhat.com>
1026 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
1028 (top level): Test that "set remote conditional-breakpoints-packet
1029 off" works as intended.
1030 * gdb.base/dprintf.exp: Test that "set remote
1031 breakpoint-commands-packet off" works as intended.
1032 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
1034 (top level): Call it.
1035 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
1036 remote fast-tracepoints-packet off" works as intended.
1037 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
1038 * lib/gdb.exp (gdb_is_target_remote): ... here.
1040 2014-04-24 David Blaikie <dblaikie@gmail.com>
1042 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
1043 ensure clang would not discard them.
1044 * gdb.base/gdbvars.c: Ditto.
1045 * gdb.base/memattr.c: Ditto.
1046 * gdb.base/whatis.c: Ditto.
1047 * gdb.python/py-prettyprint.c: Ditto.
1048 * gdb.trace/actions.c: Ditto.
1049 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
1050 ensure clang would not discard it.
1052 2014-04-24 David Blaikie <dblaikie@gmail.com>
1054 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
1055 clang to emit the full definition of type required by the test
1056 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
1058 2014-04-24 David Blaikie <dblaikie@gmail.com>
1060 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
1061 coax Clang into emitting the definition of the type.
1062 * gdb.cp/pr10728-x.h (y): Ditto.
1063 * gdb.cp/pr10728-y.cc (y): Ditto.
1065 2014-04-24 David Blaikie <dblaikie@gmail.com>
1067 * gdb.base/label.exp: XFAIL label related tests under Clang.
1068 * gdb.cp/cplabel.exp: Ditto.
1069 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
1070 under Clang those using labels.
1072 2014-04-25 Yao Qi <yao@codesourcery.com>
1074 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
1076 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
1077 partial_label and double_label.
1079 2014-04-24 David Blaikie <dblaikie@gmail.com>
1081 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
1083 2014-04-24 David Blaikie <dblaikie@gmail.com>
1085 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
1086 of the function to work across GCC and Clang.
1087 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
1088 pointer types (const void ** const V void **).
1090 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
1091 Walfred Tedeschi <walfred.tedeschi@intel.com>
1093 * Makefile.in (EXECUTABLES): Added i386-avx512.
1094 * gdb.arch/i386-avx512.c: New file.
1095 * gdb.arch/i386-avx512.exp: Likewise.
1097 2014-04-23 Keith Seitz <keiths@redhat.com>
1099 * lib/mi-support.exp (mi_list_breakpoints): Delete.
1100 (mi_make_breakpoint_table): New procedure.
1101 (mi_create_breakpoint): Use mi_make_breakpoint
1102 and return the result.
1103 (mi_make_breakpoint): New procedure.
1104 (mi_build_kv_pairs): New procedure.
1106 * gdb.mi/mi-break.exp: Remove unused globals,
1107 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
1108 All callers updated.
1109 * gdb.mi/mi-dprintf.exp: Use variable to track command
1111 Update all callers of mi_create_breakpoint and use
1112 mi_make_breakpoint_table.
1113 Remove any unused global variables.
1114 * gdb.mi/mi-nonstop.exp: Likewise.
1115 * gdb.mi/mi-nsintrall.exp: Likewise.
1116 * gdb.mi/mi-nsmoribund.exp: Likewise.
1117 * gdb.mi/mi-nsthrexec.exp: Likewise.
1118 * gdb.mi/mi-reverse.exp: Likewise.
1119 * gdb.mi/mi-simplerun.exp: Likewise.
1120 * gdb.mi/mi-stepn.exp: Likewise.
1121 * gdb.mi/mi-syn-frame.exp: Likewise.
1122 * gdb.mi/mi-until.exp: Likewise.
1123 * gdb.mi/mi-var-cp.exp: Likewise.
1124 * gdb.mi/mi-var-display.exp: Likewise.
1125 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1126 * gdb.mi/mi2-var-child.exp: Likewise.
1127 * gdb.mi/mi-vla-c99.exp: Likewise.
1128 * lib/mi-support.exp: Likewise.
1130 From Ian Lance Taylor <iant@cygnus.com>:
1131 * lib/gdb.exp (parse_args): New procedure.
1133 2014-04-23 Pedro Alves <palves@redhat.com>
1135 * gdb.base/break-unload-file.c: New file.
1136 * gdb.base/break-unload-file.exp: New file.
1137 * gdb.base/sym-file-lib.c (baz): New function.
1138 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
1140 (load): Store the segment's mapped size.
1141 (unload): New function.
1142 (unload_shlib): New function.
1143 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
1144 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
1145 set a breakpoint at baz, and call it.
1146 * gdb.base/sym-file.exp: New tests for stale breakpoint
1149 2014-04-23 Pedro Alves <palves@redhat.com>
1151 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
1152 * gdb.base/hbreak-in-shr-unsupported.c: New file.
1153 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
1154 * gdb.base/hbreak-unmapped.c: New file.
1155 * gdb.base/hbreak-unmapped.exp: New file.
1156 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
1157 * lib/gdb.exp (gdb_is_target_remote): ... here.
1159 2014-04-22 Pedro Alves <palves@redhat.com>
1161 * gdb.base/consecutive-step-over.c: New file.
1162 * gdb.base/consecutive-step-over.exp: New file.
1164 2014-04-22 Pedro Alves <palves@redhat.com>
1166 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
1167 instead of send_gdb/gdb_expect.
1169 2014-04-22 Yao Qi <yao@codesourcery.com>
1171 * lib/trace-support.exp (generate_tracefile): New procedure.
1172 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
1174 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
1175 if generate_tracefile returns 1.
1177 2014-04-18 Tom Tromey <palves@redhat.com>
1178 Pedro alves <tromey@redhat.com>
1181 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
1182 with a backtrace limit.
1183 * gdb.python/py-frame-inline.exp: Test running to an inline
1184 function with a backtrace limit, and printing the newest frame.
1185 * gdb.python/py-frame-inline.c (main): Call f.
1187 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1189 * gdb.java/jnpe.exp: Drop srcdir from untested path.
1191 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1193 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
1194 Drop prefix from unsupported source file path.
1196 2014-04-17 Yao Qi <yao@codesourcery.com>
1198 * lib/gdb.exp (with_target_charset): New proc.
1199 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
1200 with_target_charset.
1201 (test_print_strings): Likewise.
1202 (test_repeat_bytes): Likewise.
1203 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
1206 2014-04-16 Keith Seitz <keiths@redhat.com>
1209 * gdb.dwarf2/corrupt.c: New file.
1210 * gdb.dwarf2/corrupt.exp: New file.
1212 2014-04-16 Keith Seitz <keiths@redhat.com>
1215 * gdb.cp/namelessclass.cc: New file.
1216 * gdb.cp/namelessclass.exp: New file.
1217 * gdb.cp/namelessclass.S: New file.
1219 2014-04-16 Doug Evans <dje@google.com>
1221 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
1223 (gdbserver_default_get_comm_port): New function.
1224 (gdbserver_start): Check if board file provided
1225 "gdbserver,get_comm_port" and use it if so.
1226 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
1227 (gdb,socketport): Set to "stdio".
1228 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
1229 (stdio_gdbserver_template): Delete.
1230 (${board}_get_remote_address): Update.
1231 (${board}_build_remote_cmd): Delete.
1232 (${board}_get_comm_port): New function.
1233 (${board}_spawn): Update.
1234 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
1236 (${board}_get_remote_address): Update.
1237 (${board}_get_comm_port): New function.
1239 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
1241 * gdb.base/memattr.exp: Improve regexps to handle memory regions
1242 appearing in any order.
1244 2014-04-15 Doug Evans <dje@google.com>
1246 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
1247 uninitialized value of "description".
1249 2014-04-15 Keith Seitz <keiths@redhat.com>
1251 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
1252 Remove unused globals.
1253 (test_running_the_program): Likewise.
1254 (test_controlled_execution): Likewise.
1255 (test_controlling_breakpoints): Likewise.
1256 (test_program_termination): Likewise.
1258 2014-04-15 Keith Seitz <keiths@redhat.com>
1260 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
1262 (test_rbreak_creation_and_listing): Likewise.
1263 (test_ignore_count): Likewise.
1264 (test_error): Likewise.
1266 2014-04-15 Pedro Alves <palves@redhat.com>
1268 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
1269 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
1271 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1272 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1273 to sym-file-loader.c.
1274 (struct library): Forward declare.
1275 (load_shlib, lookup_function): Change prototypes.
1276 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1277 (translate_offset): Remove declarations.
1278 (get_text_addr): New declaration.
1279 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
1280 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
1282 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1283 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1284 here from sym-file-loader.h.
1285 (struct library): New structure.
1286 (load_shlib, lookup_function): Change prototypes and adjust to
1287 work with a struct library.
1288 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1289 (translate_offset): Make static.
1290 (get_text_addr): New function.
1291 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
1293 2014-04-15 Pedro Alves <palves@redhat.com>
1295 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
1297 2014-04-15 Pedro Alves <palves@redhat.com>
1299 * gdb.base/sym-file-loader.c: Include <limits.h>.
1300 (SELF_LINK): New define.
1301 (get_origin): New function.
1302 (load_shlib): Use it.
1303 * gdb.base/sym-file.exp: Don't early return if the target is
1304 remote. Use runto_main, and issue fail is that fails. Use
1306 (shlib_name): Delete.
1307 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
1309 2014-04-15 Pedro Alves <palves@redhat.com>
1311 * gdb.base/sym-file.exp: Remove regex characters from test
1312 message. Don't refer to breakpoint numbers in test messages.
1314 2014-04-14 Keith Seitz <keiths@redhat.com>
1317 * gdb.cp/var-tag.cc: New file.
1318 * gdb.cp/var-tag.exp: New file.
1319 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1320 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1321 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1322 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1324 2014-04-14 Tom Tromey <tromey@redhat.com>
1326 * gdb.cp/classes.exp (test_enums): Handle underlying type.
1327 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
1329 * gdb.cp/enum-class.exp: New file.
1330 * gdb.cp/enum-class.cc: New file.
1332 2014-04-14 Tom Tromey <tromey@redhat.com>
1334 * gdb.dwarf2/enum-type.exp: New file.
1336 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1338 * gdb.mi/mi-vla-c99.exp: New file.
1339 * gdb.mi/vla.c: New file.
1341 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1343 * gdb.base/vla-datatypes.c: New file.
1344 * gdb.base/vla-datatypes.exp: New file.
1346 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1348 * gdb.base/vla-ptr.c: New file.
1349 * gdb.base/vla-ptr.exp: New file.
1351 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1353 * gdb.dwarf2/count.exp: New file.
1355 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1357 * gdb.base/vla-sideeffect.c: New file.
1358 * gdb.base/vla-sideeffect.exp: New file.
1360 2014-04-14 David Blaikie <dblaikie@gmail.com>
1362 * gdb.mi/non-stop.c: Add return value for non-void function return
1364 * gdb.threads/staticthreads.c: Ditto.
1366 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
1367 Doug Evans <xdje42@gmail.com>
1369 * gdb.guile/scm-value.c: Improve test case.
1370 * gdb.guile/scm-value.exp: Add new test.
1372 2014-04-11 David Blaikie <dblaikie@gmail.com>
1374 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
1375 override Clang's default.
1377 2014-04-11 Joel Brobecker <brobecker@adacore.com>
1379 Revert the following changes (regressions):
1381 * gdb.base/vla-sideeffect.c: New file.
1382 * gdb.base/vla-sideeffect.exp: New file.
1384 * gdb.dwarf2/count.exp: New file.
1386 * gdb.base/vla-multi.c: New file.
1387 * gdb.base/vla-multi.exp: New file.
1389 * gdb.base/vla-ptr.c: New file.
1390 * gdb.base/vla-ptr.exp: New file.
1392 * gdb.base/vla-datatypes.c: New file.
1393 * gdb.base/vla-datatypes.exp: New file.
1395 * gdb.mi/mi-vla-c99.exp: New file.
1396 * gdb.mi/vla.c: New file.
1398 2014-04-11 Keith Seitz <keiths@redhat.com>
1401 * gdb.cp/cpsizeof.exp: New file.
1402 * gdb.cp/cpsizeof.cc: New file.
1404 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1406 * gdb.mi/mi-vla-c99.exp: New file.
1407 * gdb.mi/vla.c: New file.
1409 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1411 * gdb.base/vla-datatypes.c: New file.
1412 * gdb.base/vla-datatypes.exp: New file.
1414 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1416 * gdb.base/vla-ptr.c: New file.
1417 * gdb.base/vla-ptr.exp: New file.
1419 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1421 * gdb.base/vla-multi.c: New file.
1422 * gdb.base/vla-multi.exp: New file.
1424 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1426 * gdb.dwarf2/count.exp: New file.
1428 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1430 * gdb.base/vla-sideeffect.c: New file.
1431 * gdb.base/vla-sideeffect.exp: New file.
1433 2014-04-11 Yao Qi <yao@codesourcery.com>
1435 * gdb.base/completion.exp: Check file exists before running tests
1438 2014-04-10 Pedro Alves <palves@redhat.com>
1440 * gdb.base/cond-eval-mode.c: New file.
1441 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
1442 prepare_for_testing to build the new file. Check result of
1444 (test_break, test_watch): New procedures.
1445 (top level): Use them.
1447 2014-04-08 Pierre Muller <muller@sourceware.org>
1449 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
1450 Ctrl-V use for mingw hosts.
1452 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
1454 * gdb.python/py-value.c: Improve test case.
1455 * gdb.python/py-value.exp: Add new test.
1457 2014-04-07 David Blaikie <dblaikie@gmail.com>
1459 * lib/compiler.c: Identify the clang compiler.
1460 * lib/compiler.cc: Ditto.
1462 2014-04-03 Yao Qi <yao@codesourcery.com>
1464 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
1466 2014-04-01 Anton Blanchard <anton@samba.org>
1468 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
1471 2014-04-01 Anton Blanchard <anton@samba.org>
1473 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
1474 prepare_for_testing.
1476 2014-04-01 Anton Blanchard <anton@samba.org>
1478 * gdb.arch/ppc64-atomic-inst.c: Remove.
1479 * gdb.arch/ppc64-atomic-inst.S: New file.
1480 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
1482 2014-03-31 Doug Evans <dje@google.com>
1484 * gdb.base/print-symbol-loading-lib.c: New file.
1485 * gdb.base/print-symbol-loading-main.c: New file.
1486 * gdb.base/print-symbol-loading.exp: New file.
1488 2014-03-31 Yao Qi <yao@codesourcery.com>
1490 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
1492 2014-03-28 Joel Brobecker <brobecker@adacore.com>
1494 * gdb.ada/mi_dyn_arr: New testcase.
1496 2014-03-27 Doug Evans <dje@google.com>
1498 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
1500 2014-03-27 Yao Qi <yao@codesourcery.com>
1502 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
1503 if target is nios2-*-*.
1505 2014-03-26 Yao Qi <yao@codesourcery.com>
1507 * lib/gdb.exp (readline_is_used): New proc.
1508 * gdb.base/completion.exp: Move tests on command complete up.
1509 Skip the rest of tests if readline is not used.
1510 * gdb.ada/complete.exp: Skp the test if readline is not
1512 * gdb.base/filesym.exp: Likewise.
1513 * gdb.base/macscp.exp: Likewise.
1514 * gdb.base/readline-ask.exp: Likewise.
1515 * gdb.base/readline.exp: Likewise.
1516 * gdb.python/py-cmd.exp: Likewise.
1517 * gdb.trace/tfile.exp: Likewise.
1519 2014-03-26 Yao Qi <yao@codesourcery.com>
1521 * gdb.base/macscp.exp: Fix code format issues.
1523 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
1525 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
1526 * gdb.asm/powerpc64le.inc: New file.
1528 2014-03-25 Pedro Alves <palves@redhat.com>
1529 Doug Evans <dje@google.com>
1531 * gdb.base/source-execution.c: New file.
1532 * gdb.base/source-execution.exp: New file.
1533 * gdb.base/source-execution.gdb: New file.
1535 2014-03-24 Doug Evans <dje@google.com>
1537 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
1540 2014-03-24 Hui Zhu <hui@codesourcery.com>
1541 Pedro Alves <palves@redhat.com>
1543 PR breakpoints/16101
1544 * gdb.base/dprintf.exp: Use unsupported rather than changing the
1545 test pass/fail messages. Detect missing support for dprintf when
1546 breakpoints are actually inserted.
1547 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
1548 breakpoints are actually inserted.
1549 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
1552 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1554 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
1556 2014-03-22 Doug Evans <xdje42@gmail.com>
1558 * gdb.python/python.exp (python not supported): Verify multi-line
1559 python command issues an error.
1560 * gdb.guile/guile.exp (guile not supported): Verify multi-line
1561 guile command issues an error.
1563 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
1565 * gdb.threads/thread-specific.exp: Handle the lack of usable
1566 $this_breakpoint and $this_thread.
1568 2014-03-21 Hui Zhu <hui@codesourcery.com>
1570 * gdb.base/attach.exp (do_command_attach_tests): New.
1572 2014-03-20 Tom Tromey <tromey@redhat.com>
1573 Pedro Alves <palves@redhat.com>
1576 * gdb.base/condbreak-call-false.c: New file.
1577 * gdb.base/condbreak-call-false.exp: New file.
1579 2014-03-20 Pedro Alves <palves@redhat.com>
1581 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
1583 (block_signals, unblock_signals): Delete.
1584 (child_function_2, main): Remove references to deleted variable
1587 2014-03-20 Pedro Alves <palves@redhat.com>
1589 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
1590 Use pthread_kill to signal thread 2.
1591 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1592 Adjust to make the test send itself a signal rather than using the
1593 host's "kill" command.
1595 2014-03-20 Pedro Alves <palves@redhat.com>
1597 * gdb.threads/multiple-step-overs.c: New file.
1598 * gdb.threads/multiple-step-overs.exp: New file.
1599 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1600 Adjust expected infrun debug output.
1602 2014-03-20 Pedro Alves <palves@redhat.com>
1604 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
1605 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
1607 2014-03-20 Pedro Alves <palves@redhat.com>
1610 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
1611 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
1612 of gdb_test_multiple.
1613 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
1614 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
1616 2014-03-20 Pedro Alves <palves@redhat.com>
1618 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
1619 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
1621 2014-03-19 Pedro Alves <palves@redhat.com>
1623 * gdb.base/async.exp: Remove early return.
1625 2014-03-19 Pedro Alves <palves@redhat.com>
1627 * gdb.base/async.exp (step& tests): Pass explicit test messages.
1629 2014-03-19 Pedro Alves <palves@redhat.com>
1631 * gdb.base/async.exp (test_background): Expect \r\n after
1632 "completed." in the fail pattern.
1634 2014-03-19 Pedro Alves <palves@redhat.com>
1636 * gdb.base/async.exp (test_background): New procedure.
1637 Use it for all background execution command tests.
1639 2014-03-19 Pedro Alves <palves@redhat.com>
1641 * gdb.base/async.exp: Use prepare_for_testing.
1643 2014-03-19 Pedro Alves <palves@redhat.com>
1645 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
1648 2014-03-19 Pedro Alves <palves@redhat.com>
1650 * gdb.base/async.c (main): Add "jump here" and "until here" line
1652 * gdb.base/async.exp (jump_here): New global.
1653 (jump& test): Use it.
1654 (until_here): New global.
1655 (until& test): Use it.
1657 2014-03-19 Pedro Alves <palves@redhat.com>
1659 * gdb.base/async.exp: Don't frob gdb_protocol.
1661 2014-03-18 Doug Evans <xdje42@gmail.com>
1663 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
1664 Fix spelling of exec-done-display.
1666 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1669 * gdb.base/gdb-sigterm.c: New file.
1670 * gdb.base/gdb-sigterm.exp: New file.
1672 2014-03-18 Pedro Alves <palves@redhat.com>
1675 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
1676 * lib/mi-support.exp (mi_expect_stop): Add special handling for
1679 2014-03-17 Joel Brobecker <brobecker@adacore.com>
1681 * gdb.ada/pckd_arr_ren: New testcase.
1683 2014-03-13 Doug Evans <xdje42@gmail.com>
1686 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
1687 collect after discarding symbols.
1689 2014-03-13 Ludovic Courtès <ludo@gnu.org>
1690 Doug Evans <xdje42@gmail.com>
1692 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
1693 to history survives a gc.
1695 2014-03-13 Pedro Alves <palves@redhat.com>
1697 * gdb.base/default.exp: Don't test "target procfs".
1699 2014-03-13 Pedro Alves <palves@redhat.com>
1701 * gdb.base/default.exp: Update "target child" and "target procfs"
1702 tests to not expect "Unix".
1704 2014-03-12 Tom Tromey <tromey@redhat.com>
1706 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
1707 New procs. Add target-async tests.
1708 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
1709 Add target-async tests.
1711 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1713 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
1714 'func_start' and 'func_end' for the beginning and end of the
1715 function code, respectively.
1716 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
1717 'func_end' instead of 'func' and 'main'.
1719 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1721 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
1722 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
1723 generate the debug info assembler source.
1725 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1727 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
1728 * gdb.dwarf2/arr-subrange.exp: Likewise.
1729 * gdb.dwarf2/dwz.exp: Likewise.
1730 * gdb.dwarf2/method-ptr.exp: Likewise.
1731 * gdb.dwarf2/missing-sig-type.exp: Likewise.
1732 * gdb.dwarf2/subrange.exp: Likewise.
1733 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
1734 * gdb.dwarf2/implptrpiece.exp: Likewise.
1735 * gdb.dwarf2/nostaticblock.exp: Likewise.
1737 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1739 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
1740 directory to absolute path name arguments.
1742 2014-03-10 Joel Brobecker <brobecker@adacore.com>
1744 * gdb.ada/tagged_access: New testcase.
1746 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
1748 * gdb.btrace/data.exp: Update expected output.
1750 2014-03-06 Yao Qi <yao@codesourcery.com>
1752 * gdb.trace/pr16508.exp: New file.
1754 2014-03-05 Pedro Alves <palves@redhat.com>
1757 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
1759 (top level): Adjust to use it. Add tests that exercise breakpoint
1760 interaction with the code-cache.
1762 2014-02-26 Ludovic Courtès <ludo@gnu.org>
1764 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
1765 test for 'history-append!'.
1767 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1769 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
1770 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
1771 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
1772 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
1773 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
1774 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
1776 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1778 * testsuite/gdb.python/py-pp-re-notag.c: New file.
1779 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
1780 * testsuite/gdb.python/py-pp-re-notag.p: New file.
1782 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1784 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
1786 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1788 * gdb.dwarf2/arr-stride.c: New file.
1789 * gdb.dwarf2/arr-stride.exp: New file.
1791 2014-02-26 Pedro Alves <palves@redhat.com>
1793 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
1794 that won't ever trigger. Make sure that GDB reports the correct
1795 breakpoint that caused the stop.
1797 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1800 * gdb.base/auto-load-script: New file.
1801 * gdb.base/auto-load.c: New file.
1802 * gdb.base/auto-load.exp: New file.
1805 * gdb.base/auto-load.exp: Fix out-of-srctree run.
1807 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1809 Fix dw2-icycle.exp -fsanitize=address GDB crash.
1810 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
1812 2014-02-24 Doug Evans <dje@google.com>
1814 * lib/gdb.exp (run_on_host): Log error output if program fails.
1816 2014-02-21 Pedro Alves <palves@redhat.com>
1818 * gdb.threads/step-after-sr-lock.c: Rename to ...
1819 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
1820 * gdb.threads/step-after-sr-lock.exp: Rename to ...
1821 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1824 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1827 * gdb.arch/amd64-stap-special-operands.exp: New file.
1828 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
1829 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
1830 * gdb.arch/amd64-stap-triplet.S: Likewise.
1831 * gdb.arch/amd64-stap-triplet.c: Likewise.
1833 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1835 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
1836 in .section pseudo-op.
1838 2014-02-20 lin zuojian <manjian2006@gmail.com>
1839 Joel Brobecker <brobecker@adacore.com>
1840 Doug Evans <xdje42@gmail.com>
1843 * gdb.dwarf2/dw2-icycle.S: New file.
1844 * gdb.dwarf2/dw2-icycle.c: New file.
1845 * gdb.dwarf2/dw2-icycle.exp: New file.
1847 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1849 * gdb.python/py-value-cc.cc: Improve test case to enable testing
1850 operations on gdb.Value objects.
1851 * gdb.python/py-value-cc.exp: Add new test to test operations on
1854 2014-02-18 Doug Evans <dje@google.com>
1856 * Makefile.in (TESTS): New variable.
1857 (expanded_tests, expanded_tests_or_none): New variables
1858 (check-single): Pass $(expanded_tests_or_none) to runtest.
1859 (check-parallel): Only run tests in $(TESTS) if non-empty.
1860 (check/no-matching-tests-found): New rule.
1861 * README: Document TESTS makefile variable.
1863 2014-02-18 Doug Evans <dje@google.com>
1865 * Makefile.in (check-parallel): rm -rf outputs temp.
1867 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1869 Fix "ERROR: no fileid for" in the testsuite.
1870 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
1872 2014-02-12 Doug Evans <dje@google.com>
1874 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
1875 (MISCELLANEOUS): New variable.
1876 (clean): rm -rf $(MISCELLANEOUS).
1877 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
1878 dwp live in the same directory as symlinks, with each symlink pointed
1879 to a differently named file in a different directory.
1881 2014-02-11 Doug Evans <dje@google.com>
1883 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
1884 of Tcl file commands.
1886 2014-02-10 Mark Kettenis <kettenis@gnu.org>
1888 * gdb.threads/step-after-sr-lock.exp: Avoid executing
1891 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1893 * gdb.ada/tick_length_array_enum_idx: New testcase.
1895 2014-02-10 Doug Evans <xdje42@gmail.com>
1897 * configure.ac (AC_OUTPUT): Add gdb.guile.
1898 * configure: Regenerate.
1899 * lib/gdb-guile.exp: New file.
1900 * lib/gdb.exp (get_target_charset): New function.
1901 * gdb.base/help.exp: Update expected output from "apropos apropos".
1902 * gdb.guile/Makefile.in: New file.
1903 * gdb.guile/guile.exp: New file.
1904 * gdb.guile/scm-arch.c: New file.
1905 * gdb.guile/scm-arch.exp: New file.
1906 * gdb.guile/scm-block.c: New file.
1907 * gdb.guile/scm-block.exp: New file.
1908 * gdb.guile/scm-breakpoint.c: New file.
1909 * gdb.guile/scm-breakpoint.exp: New file.
1910 * gdb.guile/scm-disasm.c: New file.
1911 * gdb.guile/scm-disasm.exp: New file.
1912 * gdb.guile/scm-equal.c: New file.
1913 * gdb.guile/scm-equal.exp: New file.
1914 * gdb.guile/scm-error.exp: New file.
1915 * gdb.guile/scm-error.scm: New file.
1916 * gdb.guile/scm-frame-args.c: New file.
1917 * gdb.guile/scm-frame-args.exp: New file.
1918 * gdb.guile/scm-frame-args.scm: New file.
1919 * gdb.guile/scm-frame-inline.c: New file.
1920 * gdb.guile/scm-frame-inline.exp: New file.
1921 * gdb.guile/scm-frame.c: New file.
1922 * gdb.guile/scm-frame.exp: New file.
1923 * gdb.guile/scm-generics.exp: New file.
1924 * gdb.guile/scm-gsmob.exp: New file.
1925 * gdb.guile/scm-iterator.c: New file.
1926 * gdb.guile/scm-iterator.exp: New file.
1927 * gdb.guile/scm-math.c: New file.
1928 * gdb.guile/scm-math.exp: New file.
1929 * gdb.guile/scm-objfile-script-gdb.in: New file.
1930 * gdb.guile/scm-objfile-script.c: New file.
1931 * gdb.guile/scm-objfile-script.exp: New file.
1932 * gdb.guile/scm-objfile.c: New file.
1933 * gdb.guile/scm-objfile.exp: New file.
1934 * gdb.guile/scm-ports.exp: New file.
1935 * gdb.guile/scm-pretty-print.c: New file.
1936 * gdb.guile/scm-pretty-print.exp: New file.
1937 * gdb.guile/scm-pretty-print.scm: New file.
1938 * gdb.guile/scm-section-script.c: New file.
1939 * gdb.guile/scm-section-script.exp: New file.
1940 * gdb.guile/scm-section-script.scm: New file.
1941 * gdb.guile/scm-symbol.c: New file.
1942 * gdb.guile/scm-symbol.exp: New file.
1943 * gdb.guile/scm-symtab-2.c: New file.
1944 * gdb.guile/scm-symtab.c: New file.
1945 * gdb.guile/scm-symtab.exp: New file.
1946 * gdb.guile/scm-type.c: New file.
1947 * gdb.guile/scm-type.exp: New file.
1948 * gdb.guile/scm-value-cc.cc: New file.
1949 * gdb.guile/scm-value-cc.exp: New file.
1950 * gdb.guile/scm-value.c: New file.
1951 * gdb.guile/scm-value.exp: New file.
1952 * gdb.guile/source2.scm: New file.
1953 * gdb.guile/types-module.cc: New file.
1954 * gdb.guile/types-module.exp: New file.
1956 2014-02-10 Yao Qi <yao@codesourcery.com>
1959 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
1960 * configure: Regenerated.
1961 * Makefile.in: New file.
1963 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1965 * gdb.python/py-framefilter.exp: Fix typo.
1967 2014-02-08 Yao Qi <yao@codesourcery.com>
1969 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
1970 that no =breakpoint-modified is emitted when breakpoints are
1971 modified through MI commands.
1973 2014-02-07 Pedro Alves <pedro@codesourcery.com>
1974 Pedro Alves <palves@redhat.com>
1976 * gdb.threads/step-after-sr-lock.c: New file.
1977 * gdb.threads/step-after-sr-lock.exp: New file.
1979 2014-02-07 Pedro Alves <palves@redhat.com>
1981 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
1983 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1985 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
1986 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
1988 2014-02-06 Doug Evans <xdje42@gmail.com>
1990 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
1993 * gdb.gdb/python-interrupts.exp: New file.
1995 2014-02-05 Yao Qi <yao@codesourcery.com>
1997 * gdb.trace/report.exp (use_collected_data): Test the output
1998 of "info threads" and "info inferiors".
2000 2014-02-05 Yao Qi <yao@codesourcery.com>
2004 2013-05-24 Yao Qi <yao@codesourcery.com>
2006 * gdb.trace/tfile.exp: Test inferior and thread.
2008 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2010 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
2012 * gdb.base/step-bt.c: Call hello via function pointer to make
2013 sure its first instruction is executed on powerpc64le-linux.
2015 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2017 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
2019 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2021 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
2022 of the test patterns for use on little-endian systems.
2024 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2026 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
2027 (decimal_vector): Fix for little-endian.
2029 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2031 * gdb.arch/sparc-sysstep.exp: New file.
2032 * gdb.arch/sparc-sysstep.c: Likewise.
2034 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
2036 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2038 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
2040 2014-01-23 Tom Tromey <tromey@redhat.com>
2042 * gdb.ada/array_char_idx: New testcase.
2044 2014-01-23 Tom Tromey <tromey@redhat.com>
2047 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
2048 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
2051 2014-01-23 Tom Tromey <tromey@redhat.com>
2054 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
2055 string from an inferior frame.
2056 * gdb.python/py-framefilter-mi.exp: Update.
2058 2014-01-22 Doug Evans <dje@google.com>
2060 * gdb.server/server-mon.exp: Add tests for "set debug-format".
2062 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2064 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
2066 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2068 * gdb.trace/entry-values.exp: Remove excess space character from
2069 regex patterns. Handle s390 call instruction.
2071 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2073 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
2074 define "*_start" label. Make "name" static.
2075 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
2076 ${name} by references to ${name}_start.
2078 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2080 * gdb.base/info-macros.exp: Remove "debug" from the compile
2083 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2085 * gdb.dlang/demangle.exp: New file.
2087 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2089 * gdb.dlang/primitive-types.exp: New file.
2091 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2093 * configure.ac: Create gdb.dlang/Makefile.
2094 * configure: Regenerate.
2095 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
2096 * gdb.dlang/Makefile.in: New file.
2097 * lib/d-support.exp: New file.
2098 * lib/gdb.exp (skip_d_tests): New proc.
2100 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2102 * gdb.btrace/delta.exp: Check reverse stepi.
2103 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
2104 * gdb.btrace/finish.exp: New.
2105 * gdb.btrace/next.exp: New.
2106 * gdb.btrace/nexti.exp: New.
2107 * gdb.btrace/record_goto.c: Add comments.
2108 * gdb.btrace/step.exp: New.
2109 * gdb.btrace/stepi.exp: New.
2110 * gdb.btrace/multi-thread-step.c: New.
2111 * gdb.btrace/multi-thread-step.exp: New.
2112 * gdb.btrace/rn-dl-bind.c: New.
2113 * gdb.btrace/rn-dl-bind.exp: New.
2114 * gdb.btrace/data.c: New.
2115 * gdb.btrace/data.exp: New.
2116 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2118 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2120 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
2121 * gdb.btrace/exception.exp: Update.
2122 * gdb.btrace/instruction_history.exp: Update.
2123 * gdb.btrace/record_goto.exp: Update.
2124 * gdb.btrace/tailcall.exp: Update.
2125 * gdb.btrace/unknown_functions.exp: Update.
2126 * gdb.btrace/delta.exp: New.
2128 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2130 * gdb.btrace/record_goto.exp: Add backtrace test.
2131 * gdb.btrace/tailcall.exp: Add backtrace test.
2133 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2135 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
2136 * gdb.btrace/record_goto.c: New.
2137 * gdb.btrace/record_goto.exp: New.
2138 * gdb.btrace/x86-record_goto.S: New.
2140 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2142 * gdb.btrace/function_call_history.exp: Update tests.
2143 * gdb.btrace/instruction_history.exp: Update tests.
2145 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2147 * gdb.btrace/function_call_history.exp: Fix expected field
2148 order for "record function-call-history".
2149 Add new tests for "record function-call-history /c".
2150 * gdb.btrace/exception.cc: New.
2151 * gdb.btrace/exception.exp: New.
2152 * gdb.btrace/tailcall.exp: New.
2153 * gdb.btrace/x86-tailcall.S: New.
2154 * gdb.btrace/x86-tailcall.c: New.
2155 * gdb.btrace/unknown_functions.c: New.
2156 * gdb.btrace/unknown_functions.exp: New.
2157 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2159 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2161 * gdb.btrace/instruction_history.exp: Update.
2162 * gdb.btrace/function_call_history.exp: Update.
2164 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2166 * gdb.btrace/function_call_history.exp: Fix expected function
2168 * gdb.btrace/instruction_history.exp: Initialize traced.
2169 Remove traced_functions.
2171 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2173 * gdb.btrace/function_call_history.exp: Update
2174 * gdb.btrace/instruction_history.exp: Update.
2176 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2178 * gdb.btrace/enable.exp: Update expected text.
2180 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
2182 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
2185 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
2187 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
2189 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2191 * lib/gdb.exp (supports_process_record): Return true for
2192 arm*-linux*. (supports_reverse): Likewise.
2194 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
2198 * gdb.python/py-type.c: Enhance test case.
2199 * gdb.python/py-value-cc.cc: Likewise
2200 * gdb.python/py-type.exp: Add new tests.
2201 * gdb.python/py-value-cc.exp: Likewise
2203 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2204 Pedro Alves <palves@redhat.com>
2206 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
2208 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
2209 references to ${name}_start by references to ${name}.
2211 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2213 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
2215 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2217 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
2219 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
2220 Pedro Alves <palves@redhat.com>
2222 * gdb.mi/mi-info-os.exp: Connect to the target with
2225 2014-01-08 Pedro Alves <palves@redhat.com>
2227 * gdb.threads/reconnect-signal.c: New file.
2228 * gdb.threads/reconnect-signal.exp: New file.
2230 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2232 * gdb.base/source-dir.exp: New file.
2234 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2236 * gdb.ada/mi_interface: New testcase.
2238 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2240 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
2241 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
2242 gdb.ada/pp-rec-component/pck.ads: New files.
2244 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2246 * gdb.python/py-pp-integral.c: New file.
2247 * gdb.python/py-pp-integral.py: New file.
2248 * gdb.python/py-pp-integral.exp: New file.
2250 For older changes see ChangeLog-1993-2013.
2256 ;; version-control: never
2259 Copyright 2014 Free Software Foundation, Inc.
2260 Copying and distribution of this file, with or without modification,
2261 are permitted provided the copyright notice and this notice are preserved.