1 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3 * gdb.compile/compile.exp (pointer to jit function): New test.
5 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
7 * lib/gdb.exp (supports_process_record): Return true for
9 (supports_reverse): Likewise.
11 2015-01-15 Don Breazeal <donb@codesourcery.com>
13 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
14 instead of checking whether the target board is remote and
15 use spawn_wait_for_attach instead of exec/sleep.
16 * gdb.base/attach-twice.exp: Likewise.
18 2015-01-15 Joel Brobecker <brobecker@adacore.com>
20 * gdb.ada/var_arr_attrs: New testcase.
22 2015-01-14 Pedro Alves <palves@redhat.com>
23 Joel Brobecker <brobecker@adacore.com>
26 * gdb.base/bp-cmds-execution-x-script.c: New file.
27 * gdb.base/bp-cmds-execution-x-script.exp: New file.
28 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
30 2015-01-14 Pedro Alves <palves@redhat.com>
33 * gdb.base/batch-preserve-term-settings.c: New file.
34 * gdb.base/batch-preserve-term-settings.exp: New file.
36 2015-01-13 Doug Evans <dje@google.com>
38 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
41 2015-01-13 Joel Brobecker <brobecker@adacore.com>
43 * Makefile.in (clean mostlyclean): Do not delete *.py.
45 2015-01-13 Joel Brobecker <brobecker@adacore.com>
47 * gdb.python/py-lookup-type.exp: New file.
49 2015-01-12 Pedro Alves <palves@redhat.com>
51 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
52 restore GDBFLAGS before returning.
54 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
56 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
57 is_amd64_regs_target and is_x86_like_target.
59 2015-01-11 Doug Evans <xdje42@gmail.com>
61 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
62 is given without an explicit form.
63 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
65 * gdb.dwarf/corrupt.exp: Ditto.
66 * gdb.dwarf2/enum-type.exp: Ditto.
67 * gdb.trace/entry-values.exp: Ditto.
68 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
70 2015-01-11 Doug Evans <xdje42@gmail.com>
73 * gdb.base/maint.exp: Remove references to "maint demangle".
74 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
75 Add tests for explicitly specifying language to demangle.
76 * gdb.dlang/demangle.exp: Ditto.
78 2015-01-09 Pedro Alves <palves@redhat.com>
80 * gdb.threads/non-stop-fair-events.c: New file.
81 * gdb.threads/non-stop-fair-events.exp: New file.
83 2015-01-09 Pedro Alves <palves@redhat.com>
85 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
86 the global scope. Set a breakpoint after all threads are started
87 rather than stepping over two source lines. Expect the prompt.
88 * gdb.base/watch_thread_num.c (threads_started_barrier): New
91 (main): Use threads_started_barrier to wait for all threads to
92 start. Main thread no longer calls thread_function. Exit after
95 (thread_function): Wait on threads_started_barrier barrier. Call
96 'loop' at each iteration.
97 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
98 threads have started, instead of hardcoding number of "next"
99 steps. Use an access watchpoint instead of a write watchpoint.
101 2015-01-09 Pedro Alves <palves@redhat.com>
103 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
104 (thread_func): Wait on barrier.
105 (main): Wait for all threads to start before stopping GDB.
106 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
108 (thread1_func, thread2_func): Wait on barrier.
109 (main): Wait for all threads to start before stopping GDB.
110 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
112 (thread1_func, thread2_func): Wait on barrier.
113 (main): Wait for all threads to start before stopping GDB.
115 2015-01-09 Pedro Alves <palves@redhat.com>
117 * gdb.threads/attach-many-short-lived-threads.c: New file.
118 * gdb.threads/attach-many-short-lived-threads.exp: New file.
120 2014-01-09 Pedro Alves <palves@redhat.com>
122 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
123 instead of to thread 2.
124 * gdb.threads/signal-command-multiple-signals-pending.c (main):
125 Add barrier around each pthread_create call instead of around all
127 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
128 Set a break on thread_function and have the child threads hit it
131 2015-01-09 Pedro Alves <palves@redhat.com>
133 * lib/gdb.exp (can_spawn_for_attach): New procedure.
134 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
136 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
137 checking whether the target board is remote.
138 * gdb.multi/multi-attach.exp: Likewise.
139 * gdb.python/py-sync-interp.exp: Likewise.
140 * gdb.server/ext-attach.exp: Likewise.
141 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
142 tests that need to attach, instead of checking whether the target
143 board is remote at the top of the file.
145 2015-01-08 Yao Qi <yao@codesourcery.com>
147 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
149 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
151 Fix testcase compilation.
152 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
154 2015-01-06 Joel Brobecker <brobecker@adacore.com>
156 * gdb.python/py-type.exp: Add a couple test about empty
157 array creation, and negative-length array creation.
159 2015-01-02 Doug Evans <xdje42@gmail.com>
161 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
163 2015-01-02 Doug Evans <dje@google.com>
165 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
167 2014-12-29 Yao Qi <yao@codesourcery.com>
169 * gdb.trace/entry-values.exp: Update comments. Rename variable
170 bar_call_foo to returned_from_foo.
172 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
175 * gdb.linespec/break-asm-file.c: New file.
176 * gdb.linespec/break-asm-file.exp: New file.
177 * gdb.linespec/break-asm-file0.s: New file.
178 * gdb.linespec/break-asm-file1.s: New file.
180 2014-12-18 Nigel Stephens <nigel@mips.com>
181 Maciej W. Rozycki <macro@codesourcery.com>
183 * gdb.base/float.exp: Handle the new output from "info float" on
186 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
188 Fix MinGW compilation.
189 * gdb.compile/compile-ops.exp: Update untested message if
190 !skip_compile_feature_tests.
191 * gdb.compile/compile-setjmp.exp: Likewise.
192 * gdb.compile/compile-tls.exp: Likewise.
193 * gdb.compile/compile.exp: Likewise.
194 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
195 supported on this host".
197 2014-12-16 Doug Evans <xdje42@gmail.com>
199 * boards/stabs.exp: New file.
201 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
203 * gdb.base/completion.exp: Adjust to format changes of "maint
204 print user-registers".
206 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
209 * gdb.arch/aarch64-fp.c: New file.
210 * gdb.arch/aarch64-fp.exp: New file.
212 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
214 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
215 r210637, r210913, r211666, r215400, r215817).
217 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
218 * dg-extract-results.py: New file.
219 * dg-extract-results.sh: Use it if the environment seems
222 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
224 * dg-extract-results.py (parse_run): Handle warnings that
225 are printed before a test harness is run.
227 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
229 * dg-extract-results.py (Named): Remove __cmp__ method.
230 (output_variation): Use a key to sort variation.harnesses.
232 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
234 * dg-extract-results.py: For Python 3, force sys.stdout to
235 handle surrogate escape sequences.
236 (safe_open): New function.
237 (output_segment, main): Use it.
239 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
241 * dg-extract-results.py (Prog.result_re): Include options
244 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
246 * dg-extract-results.py (output_variation): Always sort if
249 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
251 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
252 as long as we get pagination notifications.
254 2014-12-15 Jason Merrill <jason@redhat.com>
256 * Makefile.in (check-gdb.%): Restore.
257 * README: Mention it.
259 2014-12-13 Joel Brobecker <brobecker@adacore.com>
261 * gdb.ada/str_uninit: New testcase.
263 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
266 * gdb.base/vla-stub-define.c: New file.
267 * gdb.base/vla-stub.c: New file.
268 * gdb.base/vla-stub.exp: New file.
270 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
271 Jan Kratochvil <jan.kratochvil@redhat.com>
272 Tom Tromey <tromey@redhat.com>
274 * configure.ac: Add gdb.compile/.
275 * configure: Regenerate.
276 * gdb.compile/Makefile.in: New file.
277 * gdb.compile/compile-ops.exp: New file.
278 * gdb.compile/compile-ops.c: New file.
279 * gdb.compile/compile-tls.c: New file.
280 * gdb.compile/compile-tls.exp: New file.
281 * gdb.compile/compile-constvar.S: New file.
282 * gdb.compile/compile-constvar.c: New file.
283 * gdb.compile/compile-mod.c: New file.
284 * gdb.compile/compile-nodebug.c: New file.
285 * gdb.compile/compile-setjmp-mod.c: New file.
286 * gdb.compile/compile-setjmp.c: New file.
287 * gdb.compile/compile-setjmp.exp: New file.
288 * gdb.compile/compile-shlib.c: New file.
289 * gdb.compile/compile.c: New file.
290 * gdb.compile/compile.exp: New file.
291 * lib/gdb.exp (skip_compile_feature_tests): New proc.
293 2014-12-12 Tom Tromey <tromey@redhat.com>
295 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
296 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
298 2014-12-12 Doug Evans <dje@google.com>
300 * lib/gdb-python.exp (get_python_valueof): New function.
301 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
303 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
305 * gdb.base/completion.exp: Add test for completion of "info
308 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
310 * gdb.base/func-ptrs.c: New file.
311 * gdb.base/func-ptrs.exp: New file.
313 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
316 * gdb.base/dprintf-detach.c: New file.
317 * gdb.base/dprintf-detach.exp: New file.
319 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
321 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
322 * lib/gdb.exp (target_is_gdbserver): New procedure.
324 2014-12-08 Doug Evans <dje@google.com>
326 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
328 2014-12-05 Yao Qi <yao@codesourcery.com>
330 * gdb.guile/scm-error.exp: Remove the third argument to
332 * gdb.guile/scm-frame-args.exp: Likewise.
333 * gdb.guile/scm-section-script.exp: Likewise.
335 2014-12-05 Yao Qi <yao@codesourcery.com>
337 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
339 2014-12-04 Doug Evans <dje@google.com>
341 * gdb.python/py-objfile.exp: Add tests for
342 objfile.add_separate_debug_file.
344 2014-12-04 Doug Evans <dje@google.com>
346 * lib/gdb.exp (get_build_id): New function.
347 (build_id_debug_filename_get): Rewrite to use it.
348 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
350 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
352 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
353 `method(long)', not just 0x0.
354 * gdb.cp/nsalias.exp: Align code labels to 4.
355 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
356 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
357 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
358 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
359 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
360 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
362 2014-12-02 Doug Evans <dje@google.com>
365 * gdb.cp/anon-ns.cc: Move guts of this file to ...
366 * gdb.cp/anon-ns2.cc: ... here. New file.
367 * gdb.cp/anon-ns.exp: Update.
369 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
371 * gdb.python/py-events.py (inferior_call_handler): New.
372 (register_changed_handler, memory_changed_handler): New.
373 (test_events.invoke): Register new handlers.
374 * gdb.python/py-events.exp: Add tests for inferior call,
375 memory_changed and register_changed events.
377 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
379 * gdb.base/execl-update-breakpoints.exp: Specify the link address
380 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
381 if the linker doesn't understand this.
383 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
385 * gdb.python/python.exp: Change expected reply to help().
387 2014-12-01 Yao Qi <yao@codesourcery.com>
389 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
390 AC_CONFIG_SUBDIRS(gdb.gdbtk).
391 * configure: Re-generated.
393 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
395 * gdb.cp/chained-calls.cc: New file.
396 * gdb.cp/chained-calls.exp: New file.
397 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
399 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
401 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
402 * gdb.dwarf2/symtab-producer.exp: Same.
403 * gdb.gdb/python-interrupts.exp: Same.
404 * gdb.gdb/python-selftest.exp: Same.
405 * gdb.python/py-linetable.exp: Same.
406 * gdb.python/py-type.exp: Same.
407 * gdb.python/py-value-cc.exp: Same.
408 * gdb.python/py-value.exp: Same.
410 2014-11-28 Yao Qi <yao@codesourcery.com>
412 * gdb.base/break-probes.exp: Match library name prefixed with
415 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
417 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
418 test expected output. Add parentheses for the call to print.
419 Remove L suffix from integers.
421 2014-11-26 Doug Evans <dje@google.com>
423 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
425 2014-11-22 Yao Qi <yao@codesourcery.com>
427 * gdb.trace/entry-values.c: Remove asms.
428 (foo): Add foo_label.
429 (bar): Add bar_label.
430 * gdb.trace/entry-values.exp: Remove code computing foo's
431 length and bar's length.
432 (Dwarf::assemble): Invoke function_range for bar and use
433 MACRO_AT_func for foo.
435 2014-11-22 Yao Qi <yao@codesourcery.com>
437 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
438 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
439 Use .Lgcc43_procstart instead of gcc43.
441 2014-11-21 Joel Brobecker <brobecker@adacore.com>
443 * gdb.ada/n_arr_bound: New testcase.
445 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
448 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
449 test_catch_syscall_multi_arch.
450 (test_catch_syscall_multi_arch): New function.
452 2014-11-20 Doug Evans <xdje42@gmail.com>
454 * gdb.base/maint.exp: Update expected output.
456 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
458 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
459 4-byte instruction on S390.
461 2014-11-19 Joel Brobecker <brobecker@adacore.com>
463 * gdb.ada/arr_arr: New testcase.
465 2014-11-19 Joel Brobecker <brobecker@adacore.com>
467 * gdb.ada/pkd_arr_elem: New Testcase.
469 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
471 * gdb.reverse/break-precsave: Expect completion message for
473 * gdb.reverse/consecutive-precsave.exp: Likewise.
474 * gdb.reverse/finish-precsave.exp: Likewise.
475 * gdb.reverse/i386-precsave.exp: Likewise.
476 * gdb.reverse/machinestate-precsave.exp: Likewise.
477 * gdb.reverse/sigall-precsave.exp: Likewise.
478 * gdb.reverse/solib-precsave.exp: Likewise.
479 * gdb.reverse/step-precsave.exp: Likewise.
480 * gdb.reverse/until-precsave.exp: Likewise.
481 * gdb.reverse/watch-precsave.exp: Likewise.
483 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
485 * gdb.base/bp-permanent.c: Include unistd.h.
486 * gdb.python/py-framefilter-mi.c (main): Add return type.
487 * gdb.python/py-framefilter.c (main): Likewise.
488 * gdb.trace/actions-changed.c (main): Likewise.
490 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
492 * gdb.mi/until.c: Add eye-catchers.
493 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
496 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
498 * gdb.base/condbreak.exp: Drop references to removed non-prototype
499 function header variants in break1.c.
500 * gdb.base/ena-dis-br.exp: Likewise.
501 * gdb.base/hbreak2.exp: Likewise.
502 * gdb.reverse/until-precsave.exp: Drop references to removed
503 non-prototype function header variants in ur1.c.
504 * gdb.reverse/until-reverse.exp: Likewise.
506 2014-11-17 Petr Machata <pmachata@redhat.com>
508 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
509 ${_cu_offset_size} bytes abbrev offset.
511 2014-11-15 Doug Evans <xdje42@gmail.com>
514 * gdb.base/line-symtabs.exp: New file.
515 * gdb.base/line-symtabs.c: New file.
516 * gdb.base/line-symtabs.h: New file.
518 2014-11-14 Yao Qi <yao@codesourcery.com>
520 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
521 (func): Add label func_label.
522 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
523 Replace low_pc and high_pc with MACRO_AT_range.
524 Replace name, low_pc and high_pc with MACRO_AT_func.
526 2014-11-14 Yao Qi <yao@codesourcery.com>
528 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
529 Replace name, low_pc and high_pc with MACRO_AT_func.
531 2014-11-14 Yao Qi <yao@codesourcery.com>
533 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
534 produce debug information.
535 * gdb.dwarf2/implptr-optimized-out.S: Removed.
537 2014-11-14 Yao Qi <yao@codesourcery.com>
539 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
540 object and get function length.
541 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
543 (top-level): Replace gdb_compile and clean_restart with
545 * gdb.dwarf2/main.c (main): Add label main_label.
547 2014-11-14 Yao Qi <yao@codesourcery.com>
549 * lib/dwarf.exp (function_range): New procedure.
550 (Dwarf::_handle_macro_at_func): New procedure.
551 (Dwarf::_handle_macro_at_range): New procedure.
552 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
554 2014-11-14 Yao Qi <yao@codesourcery.com>
556 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
557 (_handle_attribute): New procedure.
559 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
561 * gdb.ada/cond_lang/foo.c (callme): Add return type.
562 * gdb.base/call-sc.c (zed): Likewise.
563 * gdb.base/checkpoint.c (main): Likewise.
564 * gdb.base/dump.c (main): Likewise.
565 * gdb.base/gcore.c (main): Likewise.
566 * gdb.base/huge.c (main): Likewise.
567 * gdb.base/multi-forks.c (main): Likewise.
568 * gdb.base/pr10179-a.c (main): Likewise.
569 * gdb.base/savedregs.c (main): Likewise.
570 * gdb.base/sigaltstack.c (main): Likewise.
571 * gdb.base/siginfo.c (main): Likewise.
572 * gdb.base/structs.c (zed): Likewise.
573 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
574 * gdb.mi/mi-syn-frame.c (main): Likewise.
575 * gdb.mi/until.c (foo, main): Likewise.
576 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
577 * gdb.base/solib-weak.c (foo): Declare.
578 * gdb.base/attach-twice.c: Include stdio.h.
579 * gdb.base/weaklib1.c: Likewise.
580 * gdb.base/weaklib2.c: Likewise.
581 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
582 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
584 * gdb.base/attach-pie-misread.c: Include stdlib.h.
585 * gdb.mi/mi-exit-code.c: Likewise.
586 * gdb.base/break-interp-lib.c: Include string.h.
587 * gdb.base/coremaker.c: Likewise.
588 * gdb.base/testenv.c: Likewise.
589 * gdb.python/py-finish-breakpoint.c: Likewise.
590 * gdb.base/inferior-died.c: Include sys/wait.h.
591 * gdb.base/fileio.c: Include time.h.
592 * gdb.base/async-shell.c: Include unistd.h.
593 * gdb.base/dprintf-non-stop.c: Likewise.
594 * gdb.base/info-os.c: Likewise.
595 * gdb.mi/mi-console.c: Likewise.
596 * gdb.mi/watch-nonstop.c: Likewise.
597 * gdb.python/py-events.c: Likewise.
598 * gdb.base/async.c (baz): Move up before its invocation.
599 * gdb.base/code_elim2.c (my_global_func): Likewise.
600 * gdb.base/skip-solib-lib.c (multiply): Likewise.
601 * gdb.base/advance.c (func2): Likewise.
603 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
605 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
607 * gdb.base/annota3.c: Likewise.
608 * gdb.base/async.c: Likewise.
609 * gdb.base/average.c: Likewise.
610 * gdb.base/call-ar-st.c: Likewise.
611 * gdb.base/call-rt-st.c: Likewise.
612 * gdb.base/call-sc.c: Likewise.
613 * gdb.base/call-strs.c: Likewise.
614 * gdb.base/ending-run.c: Likewise.
615 * gdb.base/execd-prog.c: Likewise.
616 * gdb.base/exprs.c: Likewise.
617 * gdb.base/foll-exec.c: Likewise.
618 * gdb.base/foll-fork.c: Likewise.
619 * gdb.base/foll-vfork.c: Likewise.
620 * gdb.base/funcargs.c: Likewise.
621 * gdb.base/gcore.c: Likewise.
622 * gdb.base/jump.c: Likewise.
623 * gdb.base/langs0.c: Likewise.
624 * gdb.base/langs1.c: Likewise.
625 * gdb.base/langs2.c: Likewise.
626 * gdb.base/mips_pro.c: Likewise.
627 * gdb.base/nodebug.c: Likewise.
628 * gdb.base/opaque0.c: Likewise.
629 * gdb.base/opaque1.c: Likewise.
630 * gdb.base/recurse.c: Likewise.
631 * gdb.base/run.c: Likewise.
632 * gdb.base/scope0.c: Likewise.
633 * gdb.base/scope1.c: Likewise.
634 * gdb.base/setshow.c: Likewise.
635 * gdb.base/setvar.c: Likewise.
636 * gdb.base/shmain.c: Likewise.
637 * gdb.base/shr1.c: Likewise.
638 * gdb.base/shr2.c: Likewise.
639 * gdb.base/sigall.c: Likewise.
640 * gdb.base/signals.c: Likewise.
641 * gdb.base/so-indr-cl.c: Likewise.
642 * gdb.base/solib2.c: Likewise.
643 * gdb.base/structs.c: Likewise.
644 * gdb.base/sum.c: Likewise.
645 * gdb.base/vforked-prog.c: Likewise.
646 * gdb.base/watchpoint.c: Likewise.
647 * gdb.reverse/shr2.c: Likewise.
648 * gdb.reverse/until-reverse.c: Likewise.
649 * gdb.reverse/ur1.c: Likewise.
650 * gdb.reverse/watch-reverse.c: Likewise.
652 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
654 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
656 * gdb.base/sepdebug.exp: Drop references to removed code.
658 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
660 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
661 variant. Preserve original line numbering.
662 * gdb.base/list1.c: Likewise.
664 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
666 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
668 * gdb.base/break1.c: Likewise.
669 * gdb.base/break.exp: Drop references to removed code.
671 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
673 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
676 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
678 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
680 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
682 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
683 logic into perform_all_tests() and invoke it with and without
684 function header prototypes.
685 (do_function_calls): Remove conditional XFAIL for PR 5318.
686 (rerun_and_prepare): Remove duplicate code.
687 (perform_all_tests): New. Main logic moved here.
689 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
691 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
692 code guarded by #ifdef NO_PROTOTYPES.
693 (t_double_many_args): Likewise.
694 (DEF_FUNC_MANY_ARGS_1): Likewise.
695 (DEF_FUNC_VALUES_1): Likewise.
696 (t_structs_ldc): Renamed from t_structs_fc in conditional code
697 guarded by #ifdef PROTOTYPES.
699 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
701 * gdb.mi/mi-console.c: Add eye-catcher.
702 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
703 instead of literal line number.
705 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
707 * gdb.base/shr2.c: Add eye-catcher.
708 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
711 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
713 * gdb.base/jump.c: Add eye-catchers.
714 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
717 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
719 * gdb.base/execd-prog.c: Add eye-catchers.
720 * gdb.base/foll-exec.c: Likewise.
721 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
724 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
726 * gdb.base/ending-run.c: Add eye-catchers.
727 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
728 literal line numbers.
730 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
732 * gdb.base/call-rt-st.c: Add eye-catchers.
733 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
734 literal line numbers.
736 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
738 * gdb.base/call-ar-st.c: Add eye-catchers.
739 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
740 literal line numbers.
742 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
744 * gdb.base/average.c: Add eye-catchers.
745 * gdb.base/sum.c: Likewise.
746 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
749 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
751 * gdb.base/solib1.c: Add eye-catchers.
752 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
753 literal line numbers.
755 2014-11-12 Pedro Alves <palves@redhat.com>
757 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
760 2014-11-12 Pedro Alves <palves@redhat.com>
762 * gdb.arch/i386-bp_permanent.c: New file.
763 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
764 (srcfile): Set to i386-bp_permanent.c.
765 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
766 that stepi does not execute the 'leave' instruction, instead of
767 testing it does execute.
768 * gdb.base/bp-permanent.c: New file.
769 * gdb.base/bp-permanent.exp: New file.
771 2014-11-10 Doug Evans <xdje42@gmail.com>
774 * gdb.base/symtab-search-order.exp: New file.
775 * gdb.base/symtab-search-order.c: New file.
776 * gdb.base/symtab-search-order-1.c: New file.
777 * gdb.base/symtab-search-order-shlib-1.c: New file.
779 2014-11-07 Pedro Alves <palves@redhat.com>
782 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
785 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
788 * gdb.cp/pr17494.cc: New file.
789 * gdb.cp/pr17494.exp: New file.
791 2014-11-02 Yao Qi <yao@codesourcery.com>
793 * gdb.python/python.exp: Get working directory and match the
794 output of "set extended-prompt \\w " with it.
796 2014-10-30 Doug Evans <dje@google.com>
798 * gdb.python/py-objfile.exp: Add tests for setting random attributes
800 * gdb.python/py-progspace.exp: Add tests for setting random attributes
803 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
805 * gdb.base/fullpath-expand.exp: Skip for a remote host.
806 * gdb.base/realname-expand.exp: Likewise.
807 * gdb.linespec/macro-relative.exp: Likewise.
809 2014-10-29 Pedro Alves <palves@redhat.com>
812 * gdb.threads/schedlock.c (some_function): New function.
813 (call_function): New global.
814 (MAYBE_CALL_SOME_FUNCTION): New macro.
815 (thread_function): Call it.
816 * gdb.threads/schedlock.exp (get_args): Add description parameter,
817 and use it instead of a global counter. Adjust all callers.
818 (get_current_thread): Use "find current thread" for test message
819 here rather than having all callers pass down the same string.
820 (goto_loop): New procedure, factored out from ...
821 (my_continue): ... this.
822 (step_ten_loops): Change parameter from test message to command to
824 (list_count): Delete global.
825 (check_result): New procedure, factored out from duplicate top
827 (continue tests): Wrap in with_test_prefix.
828 (test_step): New procedure, factored out from duplicate top level
830 (top level): Test "step" in combination with all scheduler-locking
831 modes. Test "next" in combination with all scheduler-locking
832 modes, and in combination with stepping over a function call or
834 * gdb.threads/next-bp-other-thread.c: New file.
835 * gdb.threads/next-bp-other-thread.exp: New file.
837 2014-10-29 Pedro Alves <palves@redhat.com>
840 * gdb.python/python.exp: Test a multi-line command that spawns
842 * gdb.base/multi-line-starts-subshell.exp: New file.
844 2014-10-29 Yao Qi <yao@codesourcery.com>
846 * gdb.base/fileio.exp: Make directories on host.
848 2014-10-29 Yao Qi <yao@codesourcery.com>
850 * gdb.base/fileio.c (test_write): Close the file.
852 2014-10-28 Pedro Alves <palves@redhat.com>
855 * gdb.base/sigstep.c (no_handler): New global.
856 (main): If 'no_handler is true, set the signal handlers to
858 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
859 with_sw_watch and no_handler parameters. Handle them.
860 (top level) <stepping over handler when stopped at a breakpoint
861 test>: Add a test axis for testing with a software watchpoint, and
862 another for testing with the signal handler set to SIG_IGN.
863 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
864 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
866 2014-10-28 Pedro Alves <palves@redhat.com>
869 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
870 * gdb.base/sigstep.exp (other_handler_location): New global.
871 (advance): Support stepping into the signal handler, and running
872 commands while in the handler.
873 (in_handler_map): New global.
874 (top level): In the advance test, add combinations for getting
875 into the handler with stepping commands, and for running commands
876 in the handler. Add comment descripting the advancei tests.
878 2014-10-28 Pedro Alves <palves@redhat.com>
880 * gdb.base/sigstep.exp: Use build_executable instead of
882 (top level): Move code that starts GDB, runs to main and creates a
884 (restart): ... this new procedure.
885 (top level): Move backtrace from signal handler test to ...
886 (validate_backtrace): ... this new procedure.
887 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
888 with_test_prefix. Always restart GDB.
889 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
890 with_test_prefix. Always restart GDB. No need to delete
891 breakpoints after the test.
892 (test_skip_handler): Remove prefix parameter.
893 (skip_over_handler, breakpoint_to_handler)
894 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
895 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
896 restart GDB. No need to delete breakpoints after the test.
897 (top level): Use foreach to call the test procedures with
900 2014-10-28 Pedro Alves <palves@redhat.com>
902 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
903 instead of GNATS numbers.
904 * gdb.base/sigbpt.exp: Likewise.
905 * gdb.base/siginfo.exp: Likewise.
906 * gdb.base/sigstep.exp: Likewise.
908 2014-10-27 Pedro Alves <palves@redhat.com>
910 * gdb.base/sigstep.c (dummy): New global.
911 (main): Issue a couple writes to the new global.
912 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
914 (skip_over_handler): Use test_skip_handler.
915 (top level): Call skip_over_handler for stepi and nexti too.
916 (breakpoint_over_handler): Use test_skip_handler.
917 (top level): Call breakpoint_over_handler for stepi and nexti too.
919 2014-10-27 Yao Qi <yao@codesourcery.com>
921 * gdb.trace/tfile.c (adjust_function_address)
922 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
925 2014-10-24 Don Breazeal <donb@codesourcery.com>
927 * gdb.base/foll-fork.exp (test_follow_fork,
928 catch_fork_child_follow): Check for updated fork messages emitted
930 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
931 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
932 vfork_and_exec_child_follow_through_step): Check for updated vfork
933 messages emitted from infrun.c.
935 2014-10-24 Pedro Alves <palves@redhat.com>
937 * gdb.base/corefile.exp: Remove references to ultrix.
938 * gdb.base/interrupt.exp: Likewise.
939 * gdb.base/whatis.exp: Likewise.
940 * gdb.gdb/selftest.exp: Likewise.
941 * gdb.threads/manythreads.exp: Likewise.
942 * gdb.threads/print-threads.exp: Likewise.
943 * gdb.threads/pthreads.exp:: Likewise.
944 * gdb.threads/schedlock.exp: Likewise.
946 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
948 * gdb.cp/non-trivial-retval.cc: Add a test case.
949 * gdb.cp/non-trivial-retval.exp: Add a test.
951 2014-10-20 Yao Qi <yao@codesourcery.com>
953 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
954 * gdb.python/py-objfile-script-gdb.py: New file.
955 * gdb.python/py-objfile-script.exp: Update reference to
956 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
957 of remote_download. Remove the dest file.
959 2014-10-20 Yao Qi <yao@codesourcery.com>
961 * gdb.base/checkpoint.exp: Don't remove file copied on host.
962 * gdb.base/step-line.exp: Likewise.
963 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
964 * gdb.dwarf2/dw2-basic.exp: Likewise.
965 * gdb.dwarf2/dw2-compressed.exp: Likewise.
966 * gdb.dwarf2/dw2-filename.exp: Likewise.
967 * gdb.dwarf2/dw2-intercu.exp: Likewise.
968 * gdb.dwarf2/dw2-intermix.exp: Likewise.
969 * gdb.dwarf2/dw2-producer.exp: Likewise.
970 * gdb.dwarf2/mac-fileno.exp: Likewise.
971 * gdb.python/py-frame-args.exp: Likewise.
972 * gdb.python/py-framefilter.exp: Likewise.
973 * gdb.python/py-mi.exp: Likewise.
974 * gdb.python/py-objfile-script.exp: Likewise
975 * gdb.python/py-pp-integral.exp: Likewise.
976 * gdb.python/py-pp-re-notag.exp: Likewise.
977 * gdb.python/py-prettyprint.exp: Likewise.
978 * gdb.python/py-section-script.exp: Likewise.
979 * gdb.python/py-typeprint.exp: Likewise.
980 * gdb.python/py-xmethods.exp: Likewise.
981 * gdb.stabs/weird.exp: Likewise.
982 * gdb.xml/tdesc-regs.exp: Likewise.
984 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
986 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
987 (out_cu): Use addr_len for the size of addresses.
988 (out_line): Likewise. Size DW_LNE_set_address instruction
989 according to addr_len.
990 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
991 (FUNC): Add START_INSNS to definition.
993 2014-10-18 Yao Qi <yao@codesourcery.com>
995 * gdb.base/argv0-symlink.exp: Check argv[0] value if
996 gdb_has_argv0 return true.
997 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
998 check [target_info exists noargs], check [gdb_has_argv0]
1000 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1001 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
1004 2014-10-17 Doug Evans <dje@google.com>
1006 * gdb.python/py-events.exp: Update expected output for clear_objfiles
1008 * gdb.python/py-events.py: Add clear_objfiles event.
1010 2014-10-17 Doug Evans <dje@google.com>
1012 * gdb.python/py-objfile.exp: Test progspace attribute.
1014 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
1016 * gdb.guile/scm-breakpoint.exp: Do not assume any
1017 directory separators when matching source file paths.
1018 * gdb.python/py-breakpoint.exp: Likewise.
1019 * gdb.reverse/break-precsave.exp: Likewise.
1020 * gdb.reverse/break-reverse.exp: Likewise.
1021 * gdb.reverse/consecutive-precsave.exp: Likewise.
1022 * gdb.reverse/finish-precsave.exp: Likewise.
1023 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
1024 * gdb.reverse/finish-reverse.exp: Likewise.
1025 * gdb.reverse/i386-precsave.exp: Likewise.
1026 * gdb.reverse/i387-env-reverse.exp: Likewise.
1027 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1028 * gdb.reverse/machinestate-precsave.exp: Likewise.
1029 * gdb.reverse/machinestate.exp: Likewise.
1030 * gdb.reverse/sigall-precsave.exp: Likewise.
1031 * gdb.reverse/solib-precsave.exp: Likewise.
1032 * gdb.reverse/step-precsave.exp: Likewise.
1033 * gdb.reverse/until-precsave.exp: Likewise.
1034 * gdb.reverse/watch-precsave.exp: Likewise.
1035 * gdb.reverse/watch-reverse.exp: Likewise.
1037 2014-10-17 Yao Qi <yao@codesourcery.com>
1039 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
1040 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
1042 2014-10-17 Pedro Alves <palves@redhat.com>
1045 * gdb.base/bg-execution-repeat.c: New file.
1046 * gdb.base/bg-execution-repeat.exp: New file.
1048 2014-10-17 Pedro Alves <palves@redhat.com>
1051 * gdb.base/continue-all-already-running.c: New file.
1052 * gdb.base/continue-all-already-running.exp: New file.
1054 2014-10-17 Pedro Alves <palves@redhat.com>
1057 * gdb.base/annota-input-while-running.c: New file.
1058 * gdb.base/annota-input-while-running.exp: New file.
1060 2014-10-17 Pedro Alves <palves@redhat.com>
1062 * gdb.base/callfuncs.exp: emove references to osf.
1063 * gdb.base/sigall.exp: Likewise.
1064 * gdb.gdb/selftest.exp: Likewise.
1065 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1066 * gdb.mi/non-stop.c: Likewise.
1067 * gdb.mi/pthreads.c: Likewise.
1068 * gdb.reverse/sigall-precsave.exp: Likewise.
1069 * gdb.reverse/sigall-reverse.exp: Likewise.
1070 * gdb.threads/pthreads.c: Likewise.
1071 * gdb.threads/pthreads.exp: Likewise.
1073 2014-10-17 Yao Qi <yao@codesourcery.com>
1075 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
1076 check 'target_info exists noargs'.
1077 (test_command_prompt_position): Likewise.
1078 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
1080 (progvar_simple_while_test): Likewise.
1081 (progvar_complex_if_while_test): Likewise.
1082 (if_while_breakpoint_command_test): Likewise.
1083 (infrun_breakpoint_command_test): Likewise.
1084 (breakpoint_command_test): Likewise.
1085 (watchpoint_command_test): Likewise.
1086 (bp_deleted_in_command_test): Likewise.
1087 (temporary_breakpoint_commands): Likewise.
1089 2014-10-16 Yao Qi <yao@codesourcery.com>
1091 * gdb.base/remotetimeout.exp: Remove noargs checking.
1093 2014-10-15 Pedro Alves <palves@redhat.com>
1096 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
1097 * gdb.base/breakpoint-in-ro-region.exp
1098 (probe_target_hardware_step): New procedure.
1099 (top level): Probe hardware stepping and hardware breakpoint
1100 support. Test stepping through a read-only region, with both
1101 "breakpoint auto-hw" on and off and both "always-inserted" on and
1104 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
1106 * gdb.dlang/demangle.exp: Update for demangling changes.
1108 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1110 * gdb.cp/non-trivial-retval.cc: Add new test cases.
1111 * gdb.cp/non-trivial-retval.exp: Add new tests.
1113 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1117 * gdb.cp/non-trivial-retval.cc: New file.
1118 * gdb.cp/non-trivial-retval.exp: New file.
1120 2014-10-15 Yao Qi <yao@codesourcery.com>
1122 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
1125 2014-10-15 Yao Qi <yao@codesourcery.com>
1127 * gdb.python/py-symbol.exp: Match file base name if host is
1128 remote, otherwise match file name with dir name.
1129 * gdb.python/py-symtab.exp: Likewise.
1130 * gdb.python/python.exp: Likewise.
1132 2014-10-15 Yao Qi <yao@codesourcery.com>
1134 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
1136 * gdb.python/py-symtab.exp: Likewise.
1137 * gdb.python/python.exp: Remove trailing ".*". Fix typo
1140 2014-10-14 Joel Brobecker <brobecker@adacore.com>
1142 * gdb.ada/addr_arith: New testcase.
1144 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
1146 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
1147 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
1148 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
1149 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
1151 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
1153 * gdb.arch/stap-eval-lang-ada.S: Likewise.
1154 * gdb.arch/stap-eval-lang-ada.c: Likewise.
1155 * gdb.arch/stap-eval-lang-ada.exp: New file.
1157 2014-10-14 Yao Qi <yao@codesourcery.com>
1159 * gdb.mi/mi-var-child.c (nothing1): New function.
1160 (nothing2): New function.
1161 (do_children_tests): Set function pointers by nothing1 and
1163 * gdb.mi/mi-var-child.exp: Step over new added statements.
1164 Update test to match the new output.
1165 * gdb.mi/var-cmd.c (nothing1): New function.
1166 (nothing2): New function.
1167 (do_children_tests): Set function pointers by nothing1 and
1169 * gdb.mi/mi-var-display.exp: Update test to match output.
1170 Step to the line specified by $line_dct_nothing.
1171 Increase the number of lines to step.
1173 2014-10-14 Yao Qi <yao@codesourcery.com>
1175 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
1177 * gdb.mi/mi2-var-child.exp: Likewise.
1179 2014-10-13 Doug Evans <dje@google.com>
1181 * gdb.python/py-objfile.exp: Change name of file name test.
1183 2014-10-13 Doug Evans <dje@google.com>
1185 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
1186 from the start of the CU.
1188 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1189 Yao Qi <yao@codesourcery.com>
1191 Fix "save breakpoints" for "catch" command.
1192 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
1193 Remove -nonewline. Match also the added "main" line.
1195 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1197 Fix "save breakpoints" for "disable $bpnum" command.
1198 * gdb.base/save-bp.c (main): Add label.
1199 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
1201 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1203 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
1205 2014-10-11 Yao Qi <yao@codesourcery.com>
1207 * gdb.server/server-kill.exp: Execute command
1208 "set remote trace-status-packet on" before "tstatus".
1210 2014-10-11 Yao Qi <yao@codesourcery.com>
1212 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
1213 (main): Call getppid.
1214 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
1215 and continue to it. Read variable "server_pid".
1217 2014-10-11 Yao Qi <yao@codesourcery.com>
1219 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
1221 2014-10-11 Yao Qi <yao@codesourcery.com>
1223 * gdb.threads/thread-find.exp: Don't execute command
1225 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
1226 * gdb.threads/linux-dp.exp: Don't check the condition
1227 $threads_created equals to zero.
1229 2014-10-10 Pedro Alves <palves@redhat.com>
1231 * gdb.base/bigcore.exp: Remove references to IRIX.
1232 * gdb.base/funcargs.exp: Likewise.
1233 * gdb.base/interrupt.exp: Likewise.
1234 * gdb.base/mips_pro.exp: Likewise.
1235 * gdb.base/nodebug.exp: Likewise.
1236 * gdb.base/setvar.exp: Likewise.
1237 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
1239 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1240 Pedro Alves <palves@redhat.com>
1243 * gdb.base/vdso-warning.c: New file.
1244 * gdb.base/vdso-warning.exp: New file.
1246 2014-10-02 Doug Evans <dje@google.com>
1248 * gdb.base/structs.c (main): Don't run forever.
1250 2014-10-02 Pedro Alves <palves@redhat.com>
1252 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
1253 (top level) <stop threads 1, stop threads 2>: Use it.
1255 2014-10-02 Pedro Alves <palves@redhat.com>
1257 * gdb.threads/break-while-running.exp (test): Add new
1258 'update_thread_list' argument. Skip "info threads" if false.
1259 (top level): Add new 'update_thread_list' axis.
1261 2014-10-02 Pedro Alves <palves@redhat.com>
1263 PR breakpoints/17431
1264 * gdb.base/execl-update-breakpoints.c: New file.
1265 * gdb.base/execl-update-breakpoints.exp: New file.
1267 2014-10-01 Pedro Alves <palves@redhat.com>
1269 * gdb.base/breakpoint-in-ro-region.c: New file.
1270 * gdb.base/breakpoint-in-ro-region.exp: New file.
1272 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
1274 * gdb.mi/mi-exit-code.exp: New file.
1275 * gdb.mi/mi-exit-code.c: New file.
1277 2014-09-30 Yao Qi <yao@codesourcery.com>
1279 * lib/prelink-support.exp (build_executable_own_libs): Error if
1280 the target isn't native.
1282 2014-09-30 Yao Qi <yao@codesourcery.com>
1284 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
1287 2014-09-22 Pedro Alves <palves@redhat.com>
1289 * gdb.threads/break-while-running.exp: New file.
1290 * gdb.threads/break-while-running.c: New file.
1292 2014-09-19 Yao Qi <yao@codesourcery.com>
1294 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
1295 Invoke test. Restart GDB with --readnow and invoke test again.
1297 2014-09-19 Yao Qi <yao@codesourcery.com>
1299 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
1300 proc set_breakpoint_on_gcd_function. Invoke
1301 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
1302 invoke set_breakpoint_on_gcd_function again.
1304 2014-09-18 Doug Evans <dje@google.com>
1306 * gdb.dwarf2/symtab-producer.exp: New file.
1308 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1310 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
1311 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
1312 * gdb.base/global-var-nested-by-dso.c: Likewise.
1313 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1315 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1316 Pedro Alves <palves@redhat.com>
1318 * gdb.base/watch-bitfields.exp: Pass string other than test file
1319 name to prepare_for_testing.
1320 (watch): New procedure.
1321 (expect_watchpoint): Use with_test_prefix.
1322 (top level): Factor out tests to ...
1323 (test_watch_location, test_regular_watch): ... these new
1324 procedures, and use with_test_prefix and gdb_continue_to_end.
1326 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
1328 PR breakpoints/12526
1329 * gdb.base/watch-bitfields.exp: New file.
1330 * gdb.base/watch-bitfields.c: New file.
1332 2014-09-16 Pedro Alves <palves@redhat.com>
1334 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
1335 software and hardware addresses, not software address against
1338 2014-09-16 Pedro Alves <palves@redhat.com>
1340 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
1341 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
1343 2014-09-16 Pedro Alves <palves@redhat.com>
1345 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
1347 * gdb.base/a2-run.exp: Remove all code guarded by istarget
1348 "*-*-vxworks*" throughout.
1349 * gdb.base/break.exp: Likewise.
1350 * gdb.base/default.exp: Likewise.
1351 * gdb.base/scope.exp: Likewise.
1352 * gdb.base/sepdebug.exp: Likewise.
1353 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
1355 * gdb.base/run.c: Likewise.
1356 * gdb.base/sepdebug.c: Likewise.
1357 * gdb.hp/gdb.aCC/run.c: Likewise.
1358 * gdb.reverse/until-reverse.c: Likewise.
1359 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
1361 2014-09-16 Yao Qi <yao@codesourcery.com>
1363 * boards/local-remote-host-native.exp: New file.
1365 2014-09-14 Doug Evans <xdje42@gmail.com>
1367 * gdb.threads/queue-signal.c (thread_count): New variable.
1368 (thread_count_mutex, thread_count_condvar): New variables.
1369 (incr_thread_count, wait_all_threads_running): New functions.
1370 (main): Wait for all threads to be in their thread functions.
1372 2014-09-13 Doug Evans <xdje42@gmail.com>
1374 * gdb.threads/queue-signal.c: New file.
1375 * gdb.threads/queue-signal.exp: New file.
1377 2014-09-13 Doug Evans <xdje42@gmail.com>
1379 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
1380 be consistent with what default_gdb_init uses.
1381 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
1382 the plain text of the prompt. Add some logging printfs.
1383 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
1385 2014-09-12 Pedro Alves <palves@redhat.com>
1387 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
1388 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
1389 * gdb.arch/i386-size-overlap.exp: Likewise.
1390 * gdb.arch/i386-size.exp: Likewise.
1391 * gdb.arch/i386-unwind.exp: Likewise.
1392 * gdb.base/a2-run.exp: Likewise.
1393 * gdb.base/break.exp: Likewise.
1394 * gdb.base/charset.exp: Likewise.
1395 * gdb.base/chng-syms.exp: Likewise.
1396 * gdb.base/commands.exp: Likewise.
1397 * gdb.base/dbx.exp: Likewise.
1398 * gdb.base/find.exp: Likewise.
1399 * gdb.base/funcargs.exp: Likewise.
1400 * gdb.base/jit-simple.exp: Likewise.
1401 * gdb.base/reread.exp: Likewise.
1402 * gdb.base/sepdebug.exp: Likewise.
1403 * gdb.base/step-bt.exp: Likewise.
1404 * gdb.cp/mb-inline.exp: Likewise.
1405 * gdb.cp/mb-templates.exp: Likewise.
1406 * gdb.objc/basicclass.exp: Likewise.
1407 * gdb.threads/killed.exp: Likewise.
1409 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1412 * gdb.arch/powerpc-stackless.S: New file.
1413 * gdb.arch/powerpc-stackless.exp: New file.
1415 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1417 * gdb.base/attach.c: Include unistd.h.
1418 (main): Call alarm. Add label postloop.
1419 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
1420 gdb_breakpoint, gdb_continue_to_breakpoint.
1421 (test_command_line_attach_run): Kill ${testpid} in one exit path.
1423 2014-09-11 Pedro Alves <palves@redhat.com>
1426 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
1427 * gdb.base/attach.exp (test_command_line_attach_run): New
1429 (top level): Call it.
1431 2014-09-11 Pedro Alves <palves@redhat.com>
1433 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
1434 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
1435 (do_command_attach_tests): Use spawn_wait_for_attach.
1436 * gdb.base/solib-overlap.exp: Likewise.
1437 * gdb.multi/multi-attach.exp: Likewise.
1438 * gdb.python/py-prompt.exp: Likewise.
1439 * gdb.python/py-sync-interp.exp: Likewise.
1440 * gdb.server/ext-attach.exp: Likewise.
1442 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
1444 * gdb.fortran/array-element.exp: Remove unexpected "continue"
1445 command in testcase. Simplify testcase.
1447 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1449 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
1451 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1453 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
1455 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1457 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
1459 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1461 * gdb.dwarf2/dynarr-ptr.c: New file.
1462 * gdb.dwarf2/dynarr-ptr.exp: New file.
1464 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1466 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
1467 of 30 rather than hardcoding 120 for a slow test case. Take the
1468 `gdb,timeout' target setting into account for this calculation.
1469 Don't extend the timeout for the test cases that don't need it.
1471 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1473 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
1474 a factor of 2 for a slow test case. Take the `gdb,timeout'
1475 target setting into account for this calculation.
1476 * gdb.reverse/until-precsave.exp: Increase the timeout by
1477 a factor of 15 and 3 respectively rather than adding 120
1478 for a pair of slow test cases. Take the `gdb,timeout'
1479 target setting into account for this calculation.
1481 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1483 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
1484 timeout, don't pass one down to gdb_expect.
1485 (gdb_expect): Rework timeout selection.
1487 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1489 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
1490 exception on timeout.
1491 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
1492 (gdbserver_start_extended): Catch any `gdbserver_start' error
1494 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
1495 * lib/mi-support.exp (mi_gdb_target_load): Catch any
1496 `gdbserver_gdb_load' error exceptions.
1498 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1500 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
1501 120 on waiting for the TCP socket to open.
1503 2014-09-09 Doug Evans <xdje42@gmail.com>
1505 * gdb.base/default.exp (show_conv_list): Add _caller_is,
1506 _caller_matches, _any_caller_is, _any_caller_matches.
1508 2014-09-09 Doug Evans <xdje42@gmail.com>
1510 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
1512 2014-09-09 Yao Qi <yao@codesourcery.com>
1514 * gdb.mi/mi-var-display.exp: Set print symbol off.
1516 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
1519 * gdb.base/commands.exp: Add tests to verify user-defined
1520 commands with empty bodies.
1521 * gdb.python/py-cmd.exp: Test that we don't show user-defined
1522 python commands in `show user command`.
1523 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
1524 scheme commands in `show user command`.
1526 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1529 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
1530 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
1531 * gdb.python/py-framefilter-invalidarg.exp: New file.
1532 * gdb.python/py-framefilter-invalidarg.py: New file.
1534 2014-09-06 Doug Evans <xdje42@gmail.com>
1537 * gdb.python/py-caller-is.c: New file.
1538 * gdb.python/py-caller-is.exp: New file.
1540 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
1543 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
1544 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
1546 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
1549 * gdb.fortran/print-formatted.exp: New file.
1550 * gdb.fortran/print-formatted.f90: Likewise.
1552 2014-09-03 Sasha Smundak <asmundak@google.com>
1554 * gdb.python/py-frame.exp: Test Frame.read_register.
1556 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
1559 * gdb.python/py-completion.exp: New file.
1560 * gdb.python/py-completion.py: Likewise.
1562 2014-08-28 Doug Evans <dje@google.com>
1564 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
1565 eax,etc. are live with values set by gdb and thus the compiler can't
1567 * gdb.arch/i386-pseudo.c (main): Ditto.
1569 2014-08-27 Doug Evans <dje@google.com>
1571 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
1573 2014-08-25 Doug Evans <dje@google.com>
1575 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
1578 2014-08-25 Doug Evans <dje@google.com>
1580 * gdb.threads/thread-execl.exp: #include <stdio.h>.
1582 2014-08-24 Yao Qi <yao@codesourcery.com>
1584 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
1586 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
1588 2014-08-22 Doug Evans <dje@google.com>
1591 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
1592 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
1593 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
1595 2014-08-22 Yao Qi <yao@codesourcery.com>
1597 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
1598 * gdb.python/py-finish-breakpoint2.exp: Likewise.
1599 * gdb.python/python.exp: Likewise. Use .py file on the host
1600 instead of the build.
1602 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1604 * gdb.threads/gcore-stale-thread.c: New file.
1605 * gdb.threads/gcore-stale-thread.exp: New file.
1607 2014-08-21 Pedro Alves <palves@redhat.com>
1609 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
1610 * gdb.base/gcore-relro-pie.exp: Likewise.
1611 * gdb.base/gcore-relro.exp: Likewise.
1612 * gdb.base/gcore.exp: Likewise.
1613 * gdb.base/print-symbol-loading.exp: Likewise.
1614 * gdb.threads/gcore-thread.exp: Likewise.
1615 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
1617 2014-08-20 Pedro Alves <palves@redhat.com>
1618 Jan Kratochvil <jan.kratochvil@redhat.com>
1620 * Makefile.in (EXTRA_RULES, CC): New variables, get from
1622 (EXPECT): Handle READ1 being set.
1623 (all): Depend on EXTRA_RULES.
1624 (check-read1, expect-read1, read1.so, read1): New rules.
1625 * README (Testsuite Parameters): Document the READ1 make variable.
1626 (Race detection): New section.
1627 * configure: Regenerate.
1628 * configure.ac: If build==host==target, and running under a
1629 GNU/glibc system, add read1 to the extra Makefile rules.
1630 (EXTRA_RULES): AC_SUBST it.
1631 * lib/read1.c: New file.
1633 2014-08-20 Joel Brobecker <brobecker@adacore.com>
1635 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
1636 the handling of variables declared as a typedef to an array
1637 which a DW_AT_data_location attribute.
1639 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
1640 Pedro Alves <palves@redhat.com>
1644 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
1647 2014-08-19 Pedro Alves <palves@redhat.com>
1649 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
1651 2014-08-19 Yao Qi <yao@codesourcery.com>
1653 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
1656 2014-08-18 David Blaikie <dblaikie@gmail.com>
1658 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
1660 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1662 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
1663 attribute in array range.
1665 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1667 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
1669 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1672 * gdb.cp/pr17132.cc: New file.
1673 * gdb.cp/pr17132.exp: New file.
1675 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1677 * gdb.python/py-xmethods.py (A_getarrayind)
1678 (E_method_char_worker.__call__, E_method_int_worker.__call__):
1679 Use 'print' with function call syntax.
1680 (E_method_matcher.match): Fix tab vs space indentation mixup.
1682 2014-08-15 Yao Qi <yao@codesourcery.com>
1684 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
1687 2014-08-15 Yao Qi <yao@codesourcery.com>
1689 * gdb.cp/casts.exp: Set print symbol off.
1690 * gdb.cp/class2.exp: Likewise.
1691 * gdb.cp/overload.exp: Likewise.
1692 * gdb.cp/templates.exp: Likewise.
1694 2014-08-11 Doug Evans <dje@google.com>
1696 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1697 (test_load_shlib): Update.
1699 2014-08-09 Yao Qi <yao@codesourcery.com>
1701 * gdb.base/display.exp: Invoke is_address_zero_readable.
1702 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
1703 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1704 * gdb.base/hbreak-unmapped.exp: Return if
1705 is_address_zero_readable returns true.
1706 * gdb.base/signest.exp: Likewise.
1707 * gdb.base/signull.exp: Likewise.
1708 * gdb.base/sigbpt.exp: Likewise.
1709 * gdb.guile/scm-disasm.exp: Do the test if
1710 is_address_zero_readable returns false.
1711 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
1712 * gdb.python/py-arch.exp: Likewise.
1713 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
1714 * lib/gdb.exp (is_address_zero_readable): New proc.
1716 2014-08-09 Yao Qi <yao@codesourcery.com>
1719 * gdb.mi/mi-var-display.exp: Make test messages unique.
1721 2014-08-04 Tom Tromey <tromey@redhat.com>
1723 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
1726 2014-08-04 Tom Tromey <tromey@redhat.com>
1728 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
1731 2014-08-01 Joel Brobecker <brobecker@adacore.com>
1733 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
1734 inner_vla_struct_object_size.
1735 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
1738 2014-07-30 Pedro Alves <palves@redhat.com>
1740 * gdb.threads/signal-command-handle-nopass.exp (test): Add
1743 2014-07-29 Yao Qi <yao@codesourcery.com>
1746 * gdb.base/until-nodebug.exp: New.
1748 2014-07-28 Doug Evans <xdje42@gmail.com>
1751 * gdb.guile/scm-parameter.exp: Add tests for trying to create
1752 previously existing parameter, and previously ambiguously spelled
1755 2014-07-28 Will Newton <will.newton@linaro.org>
1757 * gdb.base/varargs.exp: Remove KFAILs for ARM.
1759 2014-07-26 Ludovic Courtès <ludo@gnu.org>
1760 Doug Evans <xdje42@gmail.com>
1763 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
1765 2014-07-25 Pedro Alves <palves@redhat.com>
1767 * gdb.threads/signal-command-handle-nopass.c: New file.
1768 * gdb.threads/signal-command-handle-nopass.exp: New file.
1769 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
1770 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
1771 * gdb.threads/signal-delivered-right-thread.c: New file.
1772 * gdb.threads/signal-delivered-right-thread.exp: New file.
1774 2014-07-25 Pedro Alves <palves@redhat.com>
1776 * gdb.base/double-prompt-target-event-error.exp
1777 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
1779 (cancel_pagination_in_target_event): Rework double prompt
1781 * gdb.base/paginate-after-ctrl-c-running.exp
1782 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
1784 * gdb.base/paginate-bg-execution.exp
1785 (test_bg_execution_pagination_return)
1786 (test_bg_execution_pagination_cancel): Remove '-notransfer
1788 * gdb.base/paginate-execution-startup.exp
1789 (test_fg_execution_pagination_return)
1790 (test_fg_execution_pagination_cancel): Remove '-notransfer
1792 * gdb.base/paginate-inferior-exit.exp
1793 (test_paginate_inferior_exited): Remove '-notransfer <return>'
1795 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
1796 * lib/gdb.exp (pagination_prompt): Run text through
1798 (gdb_test_multiple): Match $pagination_prompt instead of
1800 (string_to_regexp): Move to lib/gdb-utils.exp.
1802 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1804 * gdb.arch/amd64-entry-value-paramref.S: New file.
1805 * gdb.arch/amd64-entry-value-paramref.cc: New file.
1806 * gdb.arch/amd64-entry-value-paramref.exp: New file.
1807 * gdb.arch/amd64-optimout-repeat.S: New file.
1808 * gdb.arch/amd64-optimout-repeat.c: New file.
1809 * gdb.arch/amd64-optimout-repeat.exp: New file.
1811 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1814 * gdb.base/statistics.exp: New file.
1816 2014-07-17 Doug Evans <dje@google.com>
1819 * gdb.base/maint.exp: Update testing of per-command stats.
1821 2014-07-16 Pedro Alves <palves@redhat.com>
1823 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
1824 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
1825 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
1826 (tfile_write_buf): New functions.
1827 (add_memory_block): Rewrite using the above.
1828 (adjust_function_address): New function.
1829 (FUNCTION_ADDRESS): New macro.
1830 (write_basic_trace_file): Remove short_x local, and use
1831 tfile_write_16. Change type of func_addr local to unsigned long
1832 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
1833 here. Cast argument of add_memory_block to char pointer.
1834 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
1835 (main): Remove parameters.
1836 * gdb.trace/tfile.exp: Remove nowarnings.
1838 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1840 * gdb.base/debug-expr.exp: Test string evaluation with
1841 "debug expression" on.
1843 2014-07-15 Pedro Alves <palves@redhat.com>
1845 * gdb.base/reread.exp: Use clean_restart.
1847 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1849 * gdb.arch/avr-flash-qualifer.c: New.
1850 * gdb.arch/avr-flash-qualifer.exp: New.
1852 2014-07-14 Pedro Alves <palves@redhat.com>
1854 * gdb.base/paginate-after-ctrl-c-running.c: New file.
1855 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
1857 2014-07-14 Pedro Alves <palves@redhat.com>
1859 * gdb.base/double-prompt-target-event-error.c: New file.
1860 * gdb.base/double-prompt-target-event-error.exp: New file.
1862 2014-07-14 Pedro Alves <palves@redhat.com>
1865 * gdb.base/paginate-inferior-exit.c: New file.
1866 * gdb.base/paginate-inferior-exit.exp: New file.
1868 2014-07-14 Pedro Alves <palves@redhat.com>
1871 * gdb.base/paginate-bg-execution.c: New file.
1872 * gdb.base/paginate-bg-execution.exp: New file.
1874 2014-07-14 Pedro Alves <palves@redhat.com>
1877 * gdb.base/paginate-execution-startup.c: New file.
1878 * gdb.base/paginate-execution-startup.exp: New file.
1879 * lib/gdb.exp (pagination_prompt): New global.
1880 (default_gdb_spawn): New procedure, factored out from
1882 (default_gdb_start): Adjust to call default_gdb_spawn.
1883 (gdb_spawn): New procedure.
1885 2014-07-14 Pedro Alves <palves@redhat.com>
1887 * lib/gdb.exp (gdb_assert): New procedure.
1888 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
1890 2014-07-14 Pedro Alves <palves@redhat.com>
1892 * gdb.base/execution-termios.c: New file.
1893 * gdb.base/execution-termios.exp: New file.
1895 2014-07-14 Tom Tromey <tromey@redhat.com>
1897 * gdb.cp/vla-cxx.cc: New file.
1898 * gdb.cp/vla-cxx.exp: New file.
1900 2014-07-14 Tom Tromey <tromey@redhat.com>
1902 * gdb.reverse/rerun-prec.c: New file.
1903 * gdb.reverse/rerun-prec.exp: New file.
1905 2014-07-12 Maciej W. Rozycki <macro@mips.com>
1906 Maciej W. Rozycki <macro@codesourcery.com>
1908 * lib/gdb-utils.exp: New file.
1909 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
1910 inline `gdb_init_command' processing.
1911 (gdb_start_cmd): Likewise.
1912 * lib/mi-support.exp (mi_run_cmd): Likewise.
1913 * README: Document `gdb_init_command' and `gdb_init_commands'.
1915 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1917 Fix false FAIL running under a very long directory name.
1918 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
1919 and "set print elements 10000". Twice.
1921 2014-07-11 Yao Qi <yao@codesourcery.com>
1923 * gdb.base/exprs.exp: "set print symbol off".
1925 2014-07-11 Pedro Alves <palves@redhat.com>
1927 * gdb.threads/kill.c: New file.
1928 * gdb.threads/kill.exp: New file.
1930 2014-07-10 Yao Qi <yao@codesourcery.com>
1932 * gdb.trace/tfile.c (write_basic_trace_file)
1933 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
1934 address written to trace file.
1936 2014-07-09 Pedro Alves <palves@redhat.com>
1938 * gdb.base/attach-wait-input.exp: New file.
1939 * gdb.base/attach-wait-input.c: New file.
1941 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1943 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
1944 setting up test structures.
1945 (main): Call new test function.
1946 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1947 test function, continue into test function and walk test
1950 2014-07-02 Yao Qi <yao@codesourcery.com>
1952 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1953 'bar_start' at the beginning of functions 'foo' and 'bar'
1955 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1956 instead of 'foo' and 'bar'.
1958 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1960 * gdb.btrace/segv.exp: New.
1961 * gdb.btrace/segv.c: New.
1963 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
1965 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1968 2014-06-30 Mark Wielaard <mjw@redhat.com>
1970 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1971 vulture, vilify, villar): New volatile array constants.
1972 (vindictive, vegetation): New const volatile array constants.
1973 * gdb.base/volatile.exp: Test volatile and const volatile array
1976 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1978 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1979 target lacks support for awatch, rwatch, or hbreak.
1981 2014-06-27 Yao Qi <yao@codesourcery.com>
1983 * gdb.multi/dummy-frame-restore.exp: New.
1984 * gdb.multi/dummy-frame-restore.c: New.
1986 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1988 * gdb.btrace/gcore.exp: New.
1990 2014-06-23 Pedro Alves <palves@redhat.com>
1992 * gdb.base/watchpoint-reuse-slot.c: New file.
1993 * gdb.base/watchpoint-reuse-slot.exp: New file.
1995 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1997 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1998 progspace's filename in 'info', 'enable' and 'disable' command
2001 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2003 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
2004 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2005 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
2007 2014-06-20 Gary Benson <gbenson@redhat.com>
2009 * gdb.arch/i386-avx.exp: Fix include file location.
2010 * gdb.arch/i386-sse.exp: Likewise.
2012 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
2014 * gdb.dlang/expression.exp: New file.
2016 2014-06-19 Pedro Alves <palves@redhat.com>
2018 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
2020 (top level): ... here. Iterate running tests under different
2021 scheduler-locking settings.
2023 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
2025 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
2026 to DW_FORM_addr and use non-zero addresses.
2028 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
2031 * gdb.python/py-xmethods.cc: Add global function call counters and
2032 increment them in their respective functions. Remove "cout"
2034 * gdb.python/py-xmethods.exp: Make tests check the global function
2035 call counters instead of depending on inferior IO.
2037 2014-06-18 Don Breazeal <donb@codesourcery.com>
2039 * gdb.base/foll-fork.exp (default_fork_parent_follow):
2041 (explicit_fork_parent_follow): Deleted procedure.
2042 (explicit_fork_child_follow): Deleted procedure.
2043 (test_follow_fork): New procedure.
2044 (do_fork_tests): Replace calls to deleted procedures with
2045 calls to test_follow_fork and reset GDB for subsequent
2048 2014-06-17 Yao Qi <yao@codesourcery.com>
2050 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
2053 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
2055 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
2056 Initialize ptr and S explicitly.
2057 (skip_type_update_when_not_use_rtti_test): Likewise.
2059 2014-06-16 Keith Seitz <keiths@redhat.com>
2062 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
2063 the inferior is started.
2065 2014-06-16 Pedro Alves <palves@redhat.com>
2067 * gdb.base/break-main-file-remove-fail.c: New file.
2068 * gdb.base/break-main-file-remove-fail.exp: New file.
2069 * gdb.base/break-unload-file.exp: Use build_executable instead of
2070 prepare_for_testing.
2071 (test_break): New parameter "initial_load". Handle it.
2072 (top level): Add initial_load cmdline/file axis.
2074 2014-06-12 Tom Tromey <tromey@redhat.com>
2076 * gdb.base/completion.exp: Don't use directory name in test.
2078 2014-06-09 Gary Benson <gbenson@redhat.com>
2080 * gdb.base/sigall.c [Functions to send signals]: Reorder to
2081 separate the always-available ANSI-standard signals from the
2082 signals that require checking.
2084 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
2088 2014-06-07 Keith Seitz <keiths@redhat.com>
2092 * gdb.cp/var-tag.cc: New file.
2093 * gdb.cp/var-tag.exp: New file.
2094 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2095 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2096 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2097 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2099 2014-06-06 Doug Evans <xdje42@gmail.com>
2101 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
2103 2014-06-06 Pedro Alves <palves@redhat.com>
2105 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
2106 in target debug output instead of looking at RSP packets,
2107 disabling the test on any target that uses hardware stepping.
2110 2014-06-06 Pedro Alves <palves@redhat.com>
2112 * gdb.base/break-unload-file.exp: Fix typo.
2114 2014-06-06 Yao Qi <yao@codesourcery.com>
2116 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
2117 from "jit_function" to "^jit_function".
2119 2014-06-06 Yao Qi <yao@codesourcery.com>
2121 * gdb.base/async.c (foo): Add one statement.
2122 * gdb.base/async.exp: Get the next instruction address and
2123 match the output of "nexti" by instruction address. Match
2124 the hex address in the output of "finish".
2126 2014-06-06 Gary Benson <gbenson@redhat.com>
2128 * gdb.base/call-signals.c: Remove preprocessor conditionals
2129 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
2130 SIGSEGV and SIGTERM.
2131 * gdb.base/sigall.c: Likewise.
2132 * gdb.base/unwindonsignal.c: Likewise.
2133 * gdb.reverse/sigall-reverse.c: Likewise.
2135 2014-06-06 Yao Qi <yao@codesourcery.com>
2137 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
2138 readable, skip the test.
2140 2014-06-06 Yao Qi <yao@codesourcery.com>
2142 * gdb.threads/staticthreads.c (thread_function): Move the line
2143 setting breakpoint on forward.
2144 * gdb.threads/staticthreads.exp: Update comments.
2146 2014-06-05 Ludovic Courtès <ludo@gnu.org>
2148 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
2149 "history-append! type error".
2151 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
2153 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
2154 erroneous dprintf expected input.
2156 2014-06-04 Doug Evans <xdje42@gmail.com>
2158 * gdb.guile/scm-generics.exp: Delete.
2160 2014-06-04 Doug Evans <xdje42@gmail.com>
2162 * gdb.guile/scm-breakpoint.exp: Update.
2163 Add tests for breakpoint registration.
2165 2014-06-04 Tom Tromey <tromey@redhat.com>
2167 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
2169 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
2170 inner_vla_struct, vla_union types. Initialize objects of those
2171 types and compute their sizes.
2173 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
2174 Hui Zhu <hui@codesourcery.com>
2176 * gdb.base/fileio.exp: Add test for shell not available as well as
2178 * gdb.base/fileio.c (test_system): Check for shell twice.
2180 2014-06-04 Yao Qi <yao@codesourcery.com>
2182 * gdb.base/auto-connect-native-target.exp: Remove redundant
2183 space from the regexp pattern.
2185 2014-06-04 Yao Qi <yao@codesourcery.com>
2187 * gdb.base/default.exp: Replace "child" with "native" in
2190 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
2192 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
2193 * gdb.python/py-xmethods.exp: New tests to test xmethods.
2194 * gdb.python/py-xmethods.py: Python script supporting the
2195 new testcase and tests.
2197 2014-06-03 Joel Brobecker <brobecker@adacore.com>
2198 Pedro Alves <palves@redhat.com>
2200 PR breakpoints/17000
2201 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
2202 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
2204 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
2206 * gdb.base/subst.exp: Add tests to verify partial path matching
2209 2014-06-03 Pedro Alves <palves@redhat.com>
2211 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
2212 target that doesn't use software single-stepping.
2214 2014-06-03 Pedro Alves <palves@redhat.com>
2216 PR breakpoints/17000
2217 * gdb.base/sss-bp-on-user-bp-2.c: New file.
2218 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
2220 2014-06-02 Doug Evans <xdje42@gmail.com>
2222 * gdb.guile/scm-parameter.exp: New file.
2224 2014-06-02 Doug Evans <xdje42@gmail.com>
2226 * gdb.guile/scm-cmd.c: New file.
2227 * gdb.guile/scm-cmd.exp: New file.
2229 2014-06-02 Doug Evans <xdje42@gmail.com>
2231 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
2232 pretty-printer lookup.
2233 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
2234 (make-pp_s-printer): Call it.
2235 (make-pretty-printer-from-dict): New function.
2236 (lookup-pretty-printer-maker-from-dict): New function.
2237 (*pretty-printer*): Simplify.
2238 (make-objfile-pp_s-printer): New function.
2239 (install-objfile-pretty-printers!): New function.
2240 (make-progspace-pp_s-printer): New function.
2241 (install-progspace-pretty-printers!): New function.
2242 * gdb.guile/scm-progspace.c: New file.
2243 * gdb.guile/scm-progspace.exp: New file.
2245 2014-06-02 Pedro Alves <palves@redhat.com>
2247 * gdb.base/dprintf-bp-same-addr.c: New file.
2248 * gdb.base/dprintf-bp-same-addr.exp: New file.
2250 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2252 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
2253 * gdb.arch/powerpc-power.s: Likewise.
2255 2014-06-02 Joel Brobecker <brobecker@adacore.com>
2257 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
2259 2014-06-01 Yao Qi <yao@codesourcery.com>
2261 * gdb.base/watchpoint.exp (test_watch_location): Check null
2262 pointer can be dereferenced. If not, do the test, otherwise
2265 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
2267 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
2269 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
2271 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
2273 * gdb.arch/amd64-invalid-stack-middle.S: New file.
2274 * gdb.arch/amd64-invalid-stack-middle.c: New file.
2275 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
2276 * gdb.arch/amd64-invalid-stack-top.c: New file.
2277 * gdb.arch/amd64-invalid-stack-top.exp: New file.
2279 2014-05-30 Pedro Alves <palves@redhat.com>
2281 PR breakpoints/17000
2282 * gdb.base/sss-bp-on-user-bp.c: New file.
2283 * gdb.base/sss-bp-on-user-bp.exp: New file.
2285 2014-05-30 David Blaikie <dblaikie@gmail.com>
2287 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
2288 gnu_inline semantics via attribute.
2289 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
2290 source explicitly specifies the required semantics.
2292 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
2294 * gdb.reverse/sigall-reverse.exp: Fix a typo.
2296 2014-05-29 Pedro Alves <palves@redhat.com>
2297 Tom Tromey <tromey@redhat.com>
2299 * gdb.base/async-shell.exp: Don't enable target-async.
2300 * gdb.base/async.exp
2301 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
2303 (top level): Don't test with "target-async".
2304 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
2305 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
2306 * gdb.base/inferior-died.exp: Don't enable target-async.
2307 * gdb.base/interrupt-noterm.exp: Likewise.
2308 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
2309 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2310 * gdb.mi/mi-nonstop.exp: Likewise.
2311 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2312 * gdb.mi/mi-nsintrall.exp: Likewise.
2313 * gdb.mi/mi-nsmoribund.exp: Likewise.
2314 * gdb.mi/mi-nsthrexec.exp: Likewise.
2315 * gdb.mi/mi-watch-nonstop.exp: Likewise.
2316 * gdb.multi/watchpoint-multi.exp: Adjust comment.
2317 * gdb.python/py-evsignal.exp: Don't enable target-async.
2318 * gdb.python/py-evthreads.exp: Likewise.
2319 * gdb.python/py-prompt.exp: Likewise.
2320 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
2321 * gdb.server/solib-list.exp: Don't enable target-async.
2322 * gdb.threads/thread-specific-bp.exp: Likewise.
2323 * lib/mi-support.exp: Adjust to use mi-async.
2325 2014-05-29 Pedro Alves <palves@redhat.com>
2328 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
2329 reason, even in sync mode.
2331 2014-05-29 Pedro Alves <palves@redhat.com>
2332 Hui Zhu <hui@codesourcery.com>
2335 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
2336 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
2337 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
2338 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
2340 2014-05-28 Joel Brobecker <brobecker@adacore.com>
2342 * config/monitor.exp (gdb_target_monitor): Replace use of
2343 "set remotebaud" by "set serial baud".
2345 2014-05-26 Andy Wingo <wingo@igalia.com>
2347 * gdb.guile/scm-breakpoint.exp:
2348 * gdb.guile/scm-gsmob.exp: Update to use plain old object
2349 properties instead of gdb-object-properties.
2351 2014-05-26 Yao Qi <yao@codesourcery.com>
2353 * gdb.server/no-thread-db.exp: Specify source file name
2354 explicitly when setting a breakpoint.
2356 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2358 * gdb.btrace/vdso.c: New.
2359 * gdb.btrace/vdso.exp: New.
2361 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2363 * gdb.base/gcore.exp (capture_command_output): Move ...
2364 * lib/gdb.exp (capture_command_output): ... here.
2366 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2368 * gdb.btrace/data.exp: Test memory access during btrace replay.
2370 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
2372 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
2374 2014-05-21 Pedro Alves <palves@redhat.com>
2377 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
2378 (top level): Test that output related to execution commands is
2379 sent to the console with CLI commands, but not with MI commands.
2380 Test that breakpoint events are always mirrored to the console.
2381 Also expect the new source line to be output after a "next" in
2382 async mode too. Make it a pass/fail test.
2383 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
2385 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
2387 2014-05-21 Pedro Alves <palves@redhat.com>
2389 * gdb.base/list.exp (build_pattern, test_list): New procedures.
2390 Use them to test variations of "list" after reaching a breakpoint.
2391 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
2392 Test "list" with listsize 10 after reaching a breakpoint.
2393 * gdb.python/python.exp (decode_line current location line
2394 number): Adjust expected line number.
2396 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
2398 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
2399 behavior for $args, pass it directly to "run".
2401 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
2403 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
2406 2014-05-21 Pedro Alves <palves@redhat.com>
2408 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
2409 auto-connect-native-target off".
2410 * gdb.base/auto-connect-native-target.c: New file.
2411 * gdb.base/auto-connect-native-target.exp: New file.
2413 2014-05-21 Pedro Alves <palves@redhat.com>
2415 * gdb.base/default.exp: Test "target native" instead of "target
2418 2014-05-21 Mark Wielaard <mjw@redhat.com>
2420 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2422 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2424 Fix TLS access for -static -pthread.
2425 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
2426 <HAVE_TLS> (thread_function, main): Initialize it.
2427 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
2429 <$have_tls != "">: Check TLSVAR.
2431 2014-05-21 Pedro Alves <palves@redhat.com>
2433 * gdb.base/dcache-line-read-error.c: New.
2434 * gdb.base/dcache-line-read-error.exp: New.
2436 2014-05-20 Pedro Alves <palves@redhat.com>
2438 * gdb.base/compare-sections.c: New file.
2439 * gdb.base/compare-sections.exp: New file.
2441 2014-05-20 Pedro Alves <palves@redhat.com>
2443 * gdb.base/break-idempotent.c: New file.
2444 * gdb.base/break-idempotent.exp: New file.
2446 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
2448 * gdb.btrace/nohist.exp: New.
2450 2014-05-20 Yao Qi <yao@codesourcery.com>
2452 * lib/gdb.exp (gdb_init): Set timeout if test file is under
2453 gdb.reverse directory and gdb_reverse_timeout exists in board
2455 * README: Document gdb_reverse_timeout.
2457 2014-05-20 Yao Qi <yao@codesourcery.com>
2459 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
2460 'test_file_name'. Treat args as a string instead of a list.
2461 (gdb_init): Rename argument 'args' by 'test_file_name'.
2463 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2465 * gdb.arch/powerpc-power.exp: New file.
2466 * gdb.arch/powerpc-power.s: New file.
2468 2014-05-16 Doug Evans <dje@google.com>
2470 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
2471 * gdb.base/completion.exp: Check that all expected files exist
2472 before doing file completion.
2474 2014-05-16 Doug Evans <dje@google.com>
2476 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
2478 (do_syscall_tests_without_xml): Update.
2480 2014-05-16 Pedro Alves <palves@redhat.com>
2482 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
2483 instead of "unknown output after running".
2485 2014-05-16 Yao Qi <yao@codesourcery.com>
2487 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
2488 file1.txt from host at the end.
2489 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2491 2014-05-15 Doug Evans <dje@google.com>
2493 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
2494 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
2495 loading file. Add test for TU lookup.
2497 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2499 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
2500 calling "-exec-arguments" or "set args" before running the
2503 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2505 * lib/mi-support.exp (mi_expect_stop): Expect message for
2506 inferiors that exit with non-zero exit code.
2508 2014-05-14 Yao Qi <yao@codesourcery.com>
2510 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
2511 match absolute path on remote host.
2512 (test_file_list_exec_source_files): Remove "/" from the
2515 2014-05-14 Yao Qi <yao@codesourcery.com>
2517 * boards/local-remote-host-notty.exp (${board}_file): New
2520 2014-05-07 Kyle McMartin <kyle@redhat.com>
2522 Pushed by Joel Brobecker <brobecker@adacore.com>.
2523 * gdb.arch/aarch64-atomic-inst.c: New file.
2524 * gdb.arch/aarch64-atomic-inst.exp: New file.
2526 2014-05-07 Yao Qi <yao@codesourcery.com>
2528 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
2529 in current context" too.
2531 2014-05-05 Keith Seitz <keiths@redhat.com>
2533 * gdb.linespec/ls-dollar.exp: Add test for linespec
2534 file:convenience_variable.
2536 2014-05-05 Yao Qi <yao@codesourcery.com>
2538 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
2539 traceframes into tfile and ctf trace files. Read data from
2540 trace file and test collected data.
2541 (gdb_collect_locals_test): Likewise.
2542 (gdb_unavailable_registers_test): Likewise.
2543 (gdb_unavailable_floats): Likewise.
2544 (gdb_collect_globals_test): Likewise.
2545 (top-level): Append "ctf" to trace_file_targets if GDB
2548 2014-05-05 Yao Qi <yao@codesourcery.com>
2550 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
2552 (gdb_collect_args_test_1): ... it. New proc.
2553 (gdb_collect_locals_test): Move some code to ...
2554 (gdb_collect_locals_test_1): ... it. New proc.
2555 (gdb_unavailable_registers_test): Move some code to ...
2556 (gdb_unavailable_registers_test_1): ... it. New proc.
2557 (gdb_unavailable_floats): Move some code to ...
2558 (gdb_unavailable_floats_1): ... it. New proc.
2560 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2562 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
2563 probes to test for bitness recognition.
2564 * gdb.arch/amd64-stap-optional-prefix.exp
2565 (test_probe_value_without_reg): New procedure.
2566 Add code to test for different kinds of bitness.
2568 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2570 PR breakpoints/16889
2571 * gdb.arch/amd64-stap-optional-prefix.S: New file.
2572 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2574 2014-05-01 Pedro Alves <palves@redhat.com>
2576 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
2577 gdb_file_cmd if no file is specified.
2578 * boards/native-extended-gdbserver.exp (gdb_load): Use the
2579 last_loaded_file to set the remote exec-file.
2581 2014-05-01 Pedro Alves <palves@redhat.com>
2583 * boards/local-remote-host.exp: New file.
2585 2014-05-01 Pedro Alves <palves@redhat.com>
2587 * boards/local-remote-host.exp: Rename to ...
2588 * boards/local-remote-host-notty.exp: ... this.
2590 2014-04-28 Joel Brobecker <brobecker@adacore.com>
2592 * gdb.ada/dyn_arrayidx: New testcase.
2594 2014-04-26 Yao Qi <yao@codesourcery.com>
2596 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
2597 and compute the length of function main. Save it in
2599 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
2600 (top-level): Use gdb_compile to compile objects into
2601 executable and restart GDB. Remove invocation to
2602 prepare_for_testing.
2604 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
2605 Pedro Alves <palves@redhat.com>
2608 * gdb.multi/multi-attach.c: New file.
2609 * gdb.multi/multi-attach.exp: New file.
2611 2014-04-25 Pedro Alves <palves@redhat.com>
2613 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
2615 (top level): Test that "set remote conditional-breakpoints-packet
2616 off" works as intended.
2617 * gdb.base/dprintf.exp: Test that "set remote
2618 breakpoint-commands-packet off" works as intended.
2619 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
2621 (top level): Call it.
2622 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
2623 remote fast-tracepoints-packet off" works as intended.
2624 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
2625 * lib/gdb.exp (gdb_is_target_remote): ... here.
2627 2014-04-24 David Blaikie <dblaikie@gmail.com>
2629 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
2630 ensure clang would not discard them.
2631 * gdb.base/gdbvars.c: Ditto.
2632 * gdb.base/memattr.c: Ditto.
2633 * gdb.base/whatis.c: Ditto.
2634 * gdb.python/py-prettyprint.c: Ditto.
2635 * gdb.trace/actions.c: Ditto.
2636 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
2637 ensure clang would not discard it.
2639 2014-04-24 David Blaikie <dblaikie@gmail.com>
2641 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
2642 clang to emit the full definition of type required by the test
2643 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
2645 2014-04-24 David Blaikie <dblaikie@gmail.com>
2647 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
2648 coax Clang into emitting the definition of the type.
2649 * gdb.cp/pr10728-x.h (y): Ditto.
2650 * gdb.cp/pr10728-y.cc (y): Ditto.
2652 2014-04-24 David Blaikie <dblaikie@gmail.com>
2654 * gdb.base/label.exp: XFAIL label related tests under Clang.
2655 * gdb.cp/cplabel.exp: Ditto.
2656 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
2657 under Clang those using labels.
2659 2014-04-25 Yao Qi <yao@codesourcery.com>
2661 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
2663 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
2664 partial_label and double_label.
2666 2014-04-24 David Blaikie <dblaikie@gmail.com>
2668 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
2670 2014-04-24 David Blaikie <dblaikie@gmail.com>
2672 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
2673 of the function to work across GCC and Clang.
2674 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
2675 pointer types (const void ** const V void **).
2677 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
2678 Walfred Tedeschi <walfred.tedeschi@intel.com>
2680 * Makefile.in (EXECUTABLES): Added i386-avx512.
2681 * gdb.arch/i386-avx512.c: New file.
2682 * gdb.arch/i386-avx512.exp: Likewise.
2684 2014-04-23 Keith Seitz <keiths@redhat.com>
2686 * lib/mi-support.exp (mi_list_breakpoints): Delete.
2687 (mi_make_breakpoint_table): New procedure.
2688 (mi_create_breakpoint): Use mi_make_breakpoint
2689 and return the result.
2690 (mi_make_breakpoint): New procedure.
2691 (mi_build_kv_pairs): New procedure.
2693 * gdb.mi/mi-break.exp: Remove unused globals,
2694 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
2695 All callers updated.
2696 * gdb.mi/mi-dprintf.exp: Use variable to track command
2698 Update all callers of mi_create_breakpoint and use
2699 mi_make_breakpoint_table.
2700 Remove any unused global variables.
2701 * gdb.mi/mi-nonstop.exp: Likewise.
2702 * gdb.mi/mi-nsintrall.exp: Likewise.
2703 * gdb.mi/mi-nsmoribund.exp: Likewise.
2704 * gdb.mi/mi-nsthrexec.exp: Likewise.
2705 * gdb.mi/mi-reverse.exp: Likewise.
2706 * gdb.mi/mi-simplerun.exp: Likewise.
2707 * gdb.mi/mi-stepn.exp: Likewise.
2708 * gdb.mi/mi-syn-frame.exp: Likewise.
2709 * gdb.mi/mi-until.exp: Likewise.
2710 * gdb.mi/mi-var-cp.exp: Likewise.
2711 * gdb.mi/mi-var-display.exp: Likewise.
2712 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2713 * gdb.mi/mi2-var-child.exp: Likewise.
2714 * gdb.mi/mi-vla-c99.exp: Likewise.
2715 * lib/mi-support.exp: Likewise.
2717 From Ian Lance Taylor <iant@cygnus.com>:
2718 * lib/gdb.exp (parse_args): New procedure.
2720 2014-04-23 Pedro Alves <palves@redhat.com>
2722 * gdb.base/break-unload-file.c: New file.
2723 * gdb.base/break-unload-file.exp: New file.
2724 * gdb.base/sym-file-lib.c (baz): New function.
2725 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
2727 (load): Store the segment's mapped size.
2728 (unload): New function.
2729 (unload_shlib): New function.
2730 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
2731 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
2732 set a breakpoint at baz, and call it.
2733 * gdb.base/sym-file.exp: New tests for stale breakpoint
2736 2014-04-23 Pedro Alves <palves@redhat.com>
2738 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
2739 * gdb.base/hbreak-in-shr-unsupported.c: New file.
2740 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
2741 * gdb.base/hbreak-unmapped.c: New file.
2742 * gdb.base/hbreak-unmapped.exp: New file.
2743 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
2744 * lib/gdb.exp (gdb_is_target_remote): ... here.
2746 2014-04-22 Pedro Alves <palves@redhat.com>
2748 * gdb.base/consecutive-step-over.c: New file.
2749 * gdb.base/consecutive-step-over.exp: New file.
2751 2014-04-22 Pedro Alves <palves@redhat.com>
2753 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
2754 instead of send_gdb/gdb_expect.
2756 2014-04-22 Yao Qi <yao@codesourcery.com>
2758 * lib/trace-support.exp (generate_tracefile): New procedure.
2759 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
2761 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
2762 if generate_tracefile returns 1.
2764 2014-04-18 Tom Tromey <palves@redhat.com>
2765 Pedro alves <tromey@redhat.com>
2768 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
2769 with a backtrace limit.
2770 * gdb.python/py-frame-inline.exp: Test running to an inline
2771 function with a backtrace limit, and printing the newest frame.
2772 * gdb.python/py-frame-inline.c (main): Call f.
2774 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2776 * gdb.java/jnpe.exp: Drop srcdir from untested path.
2778 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2780 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
2781 Drop prefix from unsupported source file path.
2783 2014-04-17 Yao Qi <yao@codesourcery.com>
2785 * lib/gdb.exp (with_target_charset): New proc.
2786 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
2787 with_target_charset.
2788 (test_print_strings): Likewise.
2789 (test_repeat_bytes): Likewise.
2790 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
2793 2014-04-16 Keith Seitz <keiths@redhat.com>
2796 * gdb.dwarf2/corrupt.c: New file.
2797 * gdb.dwarf2/corrupt.exp: New file.
2799 2014-04-16 Keith Seitz <keiths@redhat.com>
2802 * gdb.cp/namelessclass.cc: New file.
2803 * gdb.cp/namelessclass.exp: New file.
2804 * gdb.cp/namelessclass.S: New file.
2806 2014-04-16 Doug Evans <dje@google.com>
2808 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
2810 (gdbserver_default_get_comm_port): New function.
2811 (gdbserver_start): Check if board file provided
2812 "gdbserver,get_comm_port" and use it if so.
2813 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
2814 (gdb,socketport): Set to "stdio".
2815 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
2816 (stdio_gdbserver_template): Delete.
2817 (${board}_get_remote_address): Update.
2818 (${board}_build_remote_cmd): Delete.
2819 (${board}_get_comm_port): New function.
2820 (${board}_spawn): Update.
2821 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
2823 (${board}_get_remote_address): Update.
2824 (${board}_get_comm_port): New function.
2826 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
2828 * gdb.base/memattr.exp: Improve regexps to handle memory regions
2829 appearing in any order.
2831 2014-04-15 Doug Evans <dje@google.com>
2833 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
2834 uninitialized value of "description".
2836 2014-04-15 Keith Seitz <keiths@redhat.com>
2838 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
2839 Remove unused globals.
2840 (test_running_the_program): Likewise.
2841 (test_controlled_execution): Likewise.
2842 (test_controlling_breakpoints): Likewise.
2843 (test_program_termination): Likewise.
2845 2014-04-15 Keith Seitz <keiths@redhat.com>
2847 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
2849 (test_rbreak_creation_and_listing): Likewise.
2850 (test_ignore_count): Likewise.
2851 (test_error): Likewise.
2853 2014-04-15 Pedro Alves <palves@redhat.com>
2855 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
2856 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
2858 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2859 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2860 to sym-file-loader.c.
2861 (struct library): Forward declare.
2862 (load_shlib, lookup_function): Change prototypes.
2863 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2864 (translate_offset): Remove declarations.
2865 (get_text_addr): New declaration.
2866 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
2867 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
2869 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2870 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2871 here from sym-file-loader.h.
2872 (struct library): New structure.
2873 (load_shlib, lookup_function): Change prototypes and adjust to
2874 work with a struct library.
2875 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2876 (translate_offset): Make static.
2877 (get_text_addr): New function.
2878 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
2880 2014-04-15 Pedro Alves <palves@redhat.com>
2882 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
2884 2014-04-15 Pedro Alves <palves@redhat.com>
2886 * gdb.base/sym-file-loader.c: Include <limits.h>.
2887 (SELF_LINK): New define.
2888 (get_origin): New function.
2889 (load_shlib): Use it.
2890 * gdb.base/sym-file.exp: Don't early return if the target is
2891 remote. Use runto_main, and issue fail is that fails. Use
2893 (shlib_name): Delete.
2894 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
2896 2014-04-15 Pedro Alves <palves@redhat.com>
2898 * gdb.base/sym-file.exp: Remove regex characters from test
2899 message. Don't refer to breakpoint numbers in test messages.
2901 2014-04-14 Keith Seitz <keiths@redhat.com>
2904 * gdb.cp/var-tag.cc: New file.
2905 * gdb.cp/var-tag.exp: New file.
2906 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2907 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2908 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2909 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2911 2014-04-14 Tom Tromey <tromey@redhat.com>
2913 * gdb.cp/classes.exp (test_enums): Handle underlying type.
2914 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
2916 * gdb.cp/enum-class.exp: New file.
2917 * gdb.cp/enum-class.cc: New file.
2919 2014-04-14 Tom Tromey <tromey@redhat.com>
2921 * gdb.dwarf2/enum-type.exp: New file.
2923 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2925 * gdb.mi/mi-vla-c99.exp: New file.
2926 * gdb.mi/vla.c: New file.
2928 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2930 * gdb.base/vla-datatypes.c: New file.
2931 * gdb.base/vla-datatypes.exp: New file.
2933 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2935 * gdb.base/vla-ptr.c: New file.
2936 * gdb.base/vla-ptr.exp: New file.
2938 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2940 * gdb.dwarf2/count.exp: New file.
2942 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2944 * gdb.base/vla-sideeffect.c: New file.
2945 * gdb.base/vla-sideeffect.exp: New file.
2947 2014-04-14 David Blaikie <dblaikie@gmail.com>
2949 * gdb.mi/non-stop.c: Add return value for non-void function return
2951 * gdb.threads/staticthreads.c: Ditto.
2953 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2954 Doug Evans <xdje42@gmail.com>
2956 * gdb.guile/scm-value.c: Improve test case.
2957 * gdb.guile/scm-value.exp: Add new test.
2959 2014-04-11 David Blaikie <dblaikie@gmail.com>
2961 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2962 override Clang's default.
2964 2014-04-11 Joel Brobecker <brobecker@adacore.com>
2966 Revert the following changes (regressions):
2968 * gdb.base/vla-sideeffect.c: New file.
2969 * gdb.base/vla-sideeffect.exp: New file.
2971 * gdb.dwarf2/count.exp: New file.
2973 * gdb.base/vla-multi.c: New file.
2974 * gdb.base/vla-multi.exp: New file.
2976 * gdb.base/vla-ptr.c: New file.
2977 * gdb.base/vla-ptr.exp: New file.
2979 * gdb.base/vla-datatypes.c: New file.
2980 * gdb.base/vla-datatypes.exp: New file.
2982 * gdb.mi/mi-vla-c99.exp: New file.
2983 * gdb.mi/vla.c: New file.
2985 2014-04-11 Keith Seitz <keiths@redhat.com>
2988 * gdb.cp/cpsizeof.exp: New file.
2989 * gdb.cp/cpsizeof.cc: New file.
2991 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2993 * gdb.mi/mi-vla-c99.exp: New file.
2994 * gdb.mi/vla.c: New file.
2996 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2998 * gdb.base/vla-datatypes.c: New file.
2999 * gdb.base/vla-datatypes.exp: New file.
3001 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3003 * gdb.base/vla-ptr.c: New file.
3004 * gdb.base/vla-ptr.exp: New file.
3006 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3008 * gdb.base/vla-multi.c: New file.
3009 * gdb.base/vla-multi.exp: New file.
3011 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3013 * gdb.dwarf2/count.exp: New file.
3015 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3017 * gdb.base/vla-sideeffect.c: New file.
3018 * gdb.base/vla-sideeffect.exp: New file.
3020 2014-04-11 Yao Qi <yao@codesourcery.com>
3022 * gdb.base/completion.exp: Check file exists before running tests
3025 2014-04-10 Pedro Alves <palves@redhat.com>
3027 * gdb.base/cond-eval-mode.c: New file.
3028 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
3029 prepare_for_testing to build the new file. Check result of
3031 (test_break, test_watch): New procedures.
3032 (top level): Use them.
3034 2014-04-08 Pierre Muller <muller@sourceware.org>
3036 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
3037 Ctrl-V use for mingw hosts.
3039 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
3041 * gdb.python/py-value.c: Improve test case.
3042 * gdb.python/py-value.exp: Add new test.
3044 2014-04-07 David Blaikie <dblaikie@gmail.com>
3046 * lib/compiler.c: Identify the clang compiler.
3047 * lib/compiler.cc: Ditto.
3049 2014-04-03 Yao Qi <yao@codesourcery.com>
3051 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
3053 2014-04-01 Anton Blanchard <anton@samba.org>
3055 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
3058 2014-04-01 Anton Blanchard <anton@samba.org>
3060 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
3061 prepare_for_testing.
3063 2014-04-01 Anton Blanchard <anton@samba.org>
3065 * gdb.arch/ppc64-atomic-inst.c: Remove.
3066 * gdb.arch/ppc64-atomic-inst.S: New file.
3067 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
3069 2014-03-31 Doug Evans <dje@google.com>
3071 * gdb.base/print-symbol-loading-lib.c: New file.
3072 * gdb.base/print-symbol-loading-main.c: New file.
3073 * gdb.base/print-symbol-loading.exp: New file.
3075 2014-03-31 Yao Qi <yao@codesourcery.com>
3077 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
3079 2014-03-28 Joel Brobecker <brobecker@adacore.com>
3081 * gdb.ada/mi_dyn_arr: New testcase.
3083 2014-03-27 Doug Evans <dje@google.com>
3085 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
3087 2014-03-27 Yao Qi <yao@codesourcery.com>
3089 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
3090 if target is nios2-*-*.
3092 2014-03-26 Yao Qi <yao@codesourcery.com>
3094 * lib/gdb.exp (readline_is_used): New proc.
3095 * gdb.base/completion.exp: Move tests on command complete up.
3096 Skip the rest of tests if readline is not used.
3097 * gdb.ada/complete.exp: Skp the test if readline is not
3099 * gdb.base/filesym.exp: Likewise.
3100 * gdb.base/macscp.exp: Likewise.
3101 * gdb.base/readline-ask.exp: Likewise.
3102 * gdb.base/readline.exp: Likewise.
3103 * gdb.python/py-cmd.exp: Likewise.
3104 * gdb.trace/tfile.exp: Likewise.
3106 2014-03-26 Yao Qi <yao@codesourcery.com>
3108 * gdb.base/macscp.exp: Fix code format issues.
3110 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
3112 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
3113 * gdb.asm/powerpc64le.inc: New file.
3115 2014-03-25 Pedro Alves <palves@redhat.com>
3116 Doug Evans <dje@google.com>
3118 * gdb.base/source-execution.c: New file.
3119 * gdb.base/source-execution.exp: New file.
3120 * gdb.base/source-execution.gdb: New file.
3122 2014-03-24 Doug Evans <dje@google.com>
3124 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
3127 2014-03-24 Hui Zhu <hui@codesourcery.com>
3128 Pedro Alves <palves@redhat.com>
3130 PR breakpoints/16101
3131 * gdb.base/dprintf.exp: Use unsupported rather than changing the
3132 test pass/fail messages. Detect missing support for dprintf when
3133 breakpoints are actually inserted.
3134 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
3135 breakpoints are actually inserted.
3136 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
3139 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3141 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
3143 2014-03-22 Doug Evans <xdje42@gmail.com>
3145 * gdb.python/python.exp (python not supported): Verify multi-line
3146 python command issues an error.
3147 * gdb.guile/guile.exp (guile not supported): Verify multi-line
3148 guile command issues an error.
3150 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
3152 * gdb.threads/thread-specific.exp: Handle the lack of usable
3153 $this_breakpoint and $this_thread.
3155 2014-03-21 Hui Zhu <hui@codesourcery.com>
3157 * gdb.base/attach.exp (do_command_attach_tests): New.
3159 2014-03-20 Tom Tromey <tromey@redhat.com>
3160 Pedro Alves <palves@redhat.com>
3163 * gdb.base/condbreak-call-false.c: New file.
3164 * gdb.base/condbreak-call-false.exp: New file.
3166 2014-03-20 Pedro Alves <palves@redhat.com>
3168 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
3170 (block_signals, unblock_signals): Delete.
3171 (child_function_2, main): Remove references to deleted variable
3174 2014-03-20 Pedro Alves <palves@redhat.com>
3176 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
3177 Use pthread_kill to signal thread 2.
3178 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3179 Adjust to make the test send itself a signal rather than using the
3180 host's "kill" command.
3182 2014-03-20 Pedro Alves <palves@redhat.com>
3184 * gdb.threads/multiple-step-overs.c: New file.
3185 * gdb.threads/multiple-step-overs.exp: New file.
3186 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3187 Adjust expected infrun debug output.
3189 2014-03-20 Pedro Alves <palves@redhat.com>
3191 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
3192 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
3194 2014-03-20 Pedro Alves <palves@redhat.com>
3197 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
3198 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
3199 of gdb_test_multiple.
3200 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
3201 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
3203 2014-03-20 Pedro Alves <palves@redhat.com>
3205 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
3206 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
3208 2014-03-19 Pedro Alves <palves@redhat.com>
3210 * gdb.base/async.exp: Remove early return.
3212 2014-03-19 Pedro Alves <palves@redhat.com>
3214 * gdb.base/async.exp (step& tests): Pass explicit test messages.
3216 2014-03-19 Pedro Alves <palves@redhat.com>
3218 * gdb.base/async.exp (test_background): Expect \r\n after
3219 "completed." in the fail pattern.
3221 2014-03-19 Pedro Alves <palves@redhat.com>
3223 * gdb.base/async.exp (test_background): New procedure.
3224 Use it for all background execution command tests.
3226 2014-03-19 Pedro Alves <palves@redhat.com>
3228 * gdb.base/async.exp: Use prepare_for_testing.
3230 2014-03-19 Pedro Alves <palves@redhat.com>
3232 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
3235 2014-03-19 Pedro Alves <palves@redhat.com>
3237 * gdb.base/async.c (main): Add "jump here" and "until here" line
3239 * gdb.base/async.exp (jump_here): New global.
3240 (jump& test): Use it.
3241 (until_here): New global.
3242 (until& test): Use it.
3244 2014-03-19 Pedro Alves <palves@redhat.com>
3246 * gdb.base/async.exp: Don't frob gdb_protocol.
3248 2014-03-18 Doug Evans <xdje42@gmail.com>
3250 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
3251 Fix spelling of exec-done-display.
3253 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3256 * gdb.base/gdb-sigterm.c: New file.
3257 * gdb.base/gdb-sigterm.exp: New file.
3259 2014-03-18 Pedro Alves <palves@redhat.com>
3262 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
3263 * lib/mi-support.exp (mi_expect_stop): Add special handling for
3266 2014-03-17 Joel Brobecker <brobecker@adacore.com>
3268 * gdb.ada/pckd_arr_ren: New testcase.
3270 2014-03-13 Doug Evans <xdje42@gmail.com>
3273 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
3274 collect after discarding symbols.
3276 2014-03-13 Ludovic Courtès <ludo@gnu.org>
3277 Doug Evans <xdje42@gmail.com>
3279 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
3280 to history survives a gc.
3282 2014-03-13 Pedro Alves <palves@redhat.com>
3284 * gdb.base/default.exp: Don't test "target procfs".
3286 2014-03-13 Pedro Alves <palves@redhat.com>
3288 * gdb.base/default.exp: Update "target child" and "target procfs"
3289 tests to not expect "Unix".
3291 2014-03-12 Tom Tromey <tromey@redhat.com>
3293 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
3294 New procs. Add target-async tests.
3295 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
3296 Add target-async tests.
3298 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3300 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
3301 'func_start' and 'func_end' for the beginning and end of the
3302 function code, respectively.
3303 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
3304 'func_end' instead of 'func' and 'main'.
3306 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3308 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
3309 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
3310 generate the debug info assembler source.
3312 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3314 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
3315 * gdb.dwarf2/arr-subrange.exp: Likewise.
3316 * gdb.dwarf2/dwz.exp: Likewise.
3317 * gdb.dwarf2/method-ptr.exp: Likewise.
3318 * gdb.dwarf2/missing-sig-type.exp: Likewise.
3319 * gdb.dwarf2/subrange.exp: Likewise.
3320 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
3321 * gdb.dwarf2/implptrpiece.exp: Likewise.
3322 * gdb.dwarf2/nostaticblock.exp: Likewise.
3324 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3326 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
3327 directory to absolute path name arguments.
3329 2014-03-10 Joel Brobecker <brobecker@adacore.com>
3331 * gdb.ada/tagged_access: New testcase.
3333 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
3335 * gdb.btrace/data.exp: Update expected output.
3337 2014-03-06 Yao Qi <yao@codesourcery.com>
3339 * gdb.trace/pr16508.exp: New file.
3341 2014-03-05 Pedro Alves <palves@redhat.com>
3344 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
3346 (top level): Adjust to use it. Add tests that exercise breakpoint
3347 interaction with the code-cache.
3349 2014-02-26 Ludovic Courtès <ludo@gnu.org>
3351 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
3352 test for 'history-append!'.
3354 2014-02-26 Joel Brobecker <brobecker@adacore.com>
3356 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
3357 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
3358 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
3359 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
3360 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
3361 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
3363 2014-02-26 Joel Brobecker <brobecker@adacore.com>
3365 * testsuite/gdb.python/py-pp-re-notag.c: New file.
3366 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
3367 * testsuite/gdb.python/py-pp-re-notag.p: New file.
3369 2014-02-26 Joel Brobecker <brobecker@adacore.com>
3371 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
3373 2014-02-26 Joel Brobecker <brobecker@adacore.com>
3375 * gdb.dwarf2/arr-stride.c: New file.
3376 * gdb.dwarf2/arr-stride.exp: New file.
3378 2014-02-26 Pedro Alves <palves@redhat.com>
3380 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
3381 that won't ever trigger. Make sure that GDB reports the correct
3382 breakpoint that caused the stop.
3384 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3387 * gdb.base/auto-load-script: New file.
3388 * gdb.base/auto-load.c: New file.
3389 * gdb.base/auto-load.exp: New file.
3392 * gdb.base/auto-load.exp: Fix out-of-srctree run.
3394 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3396 Fix dw2-icycle.exp -fsanitize=address GDB crash.
3397 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
3399 2014-02-24 Doug Evans <dje@google.com>
3401 * lib/gdb.exp (run_on_host): Log error output if program fails.
3403 2014-02-21 Pedro Alves <palves@redhat.com>
3405 * gdb.threads/step-after-sr-lock.c: Rename to ...
3406 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
3407 * gdb.threads/step-after-sr-lock.exp: Rename to ...
3408 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3411 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
3414 * gdb.arch/amd64-stap-special-operands.exp: New file.
3415 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
3416 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
3417 * gdb.arch/amd64-stap-triplet.S: Likewise.
3418 * gdb.arch/amd64-stap-triplet.c: Likewise.
3420 2014-02-20 Joel Brobecker <brobecker@adacore.com>
3422 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
3423 in .section pseudo-op.
3425 2014-02-20 lin zuojian <manjian2006@gmail.com>
3426 Joel Brobecker <brobecker@adacore.com>
3427 Doug Evans <xdje42@gmail.com>
3430 * gdb.dwarf2/dw2-icycle.S: New file.
3431 * gdb.dwarf2/dw2-icycle.c: New file.
3432 * gdb.dwarf2/dw2-icycle.exp: New file.
3434 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
3436 * gdb.python/py-value-cc.cc: Improve test case to enable testing
3437 operations on gdb.Value objects.
3438 * gdb.python/py-value-cc.exp: Add new test to test operations on
3441 2014-02-18 Doug Evans <dje@google.com>
3443 * Makefile.in (TESTS): New variable.
3444 (expanded_tests, expanded_tests_or_none): New variables
3445 (check-single): Pass $(expanded_tests_or_none) to runtest.
3446 (check-parallel): Only run tests in $(TESTS) if non-empty.
3447 (check/no-matching-tests-found): New rule.
3448 * README: Document TESTS makefile variable.
3450 2014-02-18 Doug Evans <dje@google.com>
3452 * Makefile.in (check-parallel): rm -rf outputs temp.
3454 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3456 Fix "ERROR: no fileid for" in the testsuite.
3457 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
3459 2014-02-12 Doug Evans <dje@google.com>
3461 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
3462 (MISCELLANEOUS): New variable.
3463 (clean): rm -rf $(MISCELLANEOUS).
3464 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
3465 dwp live in the same directory as symlinks, with each symlink pointed
3466 to a differently named file in a different directory.
3468 2014-02-11 Doug Evans <dje@google.com>
3470 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
3471 of Tcl file commands.
3473 2014-02-10 Mark Kettenis <kettenis@gnu.org>
3475 * gdb.threads/step-after-sr-lock.exp: Avoid executing
3478 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3480 * gdb.ada/tick_length_array_enum_idx: New testcase.
3482 2014-02-10 Doug Evans <xdje42@gmail.com>
3484 * configure.ac (AC_OUTPUT): Add gdb.guile.
3485 * configure: Regenerate.
3486 * lib/gdb-guile.exp: New file.
3487 * lib/gdb.exp (get_target_charset): New function.
3488 * gdb.base/help.exp: Update expected output from "apropos apropos".
3489 * gdb.guile/Makefile.in: New file.
3490 * gdb.guile/guile.exp: New file.
3491 * gdb.guile/scm-arch.c: New file.
3492 * gdb.guile/scm-arch.exp: New file.
3493 * gdb.guile/scm-block.c: New file.
3494 * gdb.guile/scm-block.exp: New file.
3495 * gdb.guile/scm-breakpoint.c: New file.
3496 * gdb.guile/scm-breakpoint.exp: New file.
3497 * gdb.guile/scm-disasm.c: New file.
3498 * gdb.guile/scm-disasm.exp: New file.
3499 * gdb.guile/scm-equal.c: New file.
3500 * gdb.guile/scm-equal.exp: New file.
3501 * gdb.guile/scm-error.exp: New file.
3502 * gdb.guile/scm-error.scm: New file.
3503 * gdb.guile/scm-frame-args.c: New file.
3504 * gdb.guile/scm-frame-args.exp: New file.
3505 * gdb.guile/scm-frame-args.scm: New file.
3506 * gdb.guile/scm-frame-inline.c: New file.
3507 * gdb.guile/scm-frame-inline.exp: New file.
3508 * gdb.guile/scm-frame.c: New file.
3509 * gdb.guile/scm-frame.exp: New file.
3510 * gdb.guile/scm-generics.exp: New file.
3511 * gdb.guile/scm-gsmob.exp: New file.
3512 * gdb.guile/scm-iterator.c: New file.
3513 * gdb.guile/scm-iterator.exp: New file.
3514 * gdb.guile/scm-math.c: New file.
3515 * gdb.guile/scm-math.exp: New file.
3516 * gdb.guile/scm-objfile-script-gdb.in: New file.
3517 * gdb.guile/scm-objfile-script.c: New file.
3518 * gdb.guile/scm-objfile-script.exp: New file.
3519 * gdb.guile/scm-objfile.c: New file.
3520 * gdb.guile/scm-objfile.exp: New file.
3521 * gdb.guile/scm-ports.exp: New file.
3522 * gdb.guile/scm-pretty-print.c: New file.
3523 * gdb.guile/scm-pretty-print.exp: New file.
3524 * gdb.guile/scm-pretty-print.scm: New file.
3525 * gdb.guile/scm-section-script.c: New file.
3526 * gdb.guile/scm-section-script.exp: New file.
3527 * gdb.guile/scm-section-script.scm: New file.
3528 * gdb.guile/scm-symbol.c: New file.
3529 * gdb.guile/scm-symbol.exp: New file.
3530 * gdb.guile/scm-symtab-2.c: New file.
3531 * gdb.guile/scm-symtab.c: New file.
3532 * gdb.guile/scm-symtab.exp: New file.
3533 * gdb.guile/scm-type.c: New file.
3534 * gdb.guile/scm-type.exp: New file.
3535 * gdb.guile/scm-value-cc.cc: New file.
3536 * gdb.guile/scm-value-cc.exp: New file.
3537 * gdb.guile/scm-value.c: New file.
3538 * gdb.guile/scm-value.exp: New file.
3539 * gdb.guile/source2.scm: New file.
3540 * gdb.guile/types-module.cc: New file.
3541 * gdb.guile/types-module.exp: New file.
3543 2014-02-10 Yao Qi <yao@codesourcery.com>
3546 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
3547 * configure: Regenerated.
3548 * Makefile.in: New file.
3550 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3552 * gdb.python/py-framefilter.exp: Fix typo.
3554 2014-02-08 Yao Qi <yao@codesourcery.com>
3556 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
3557 that no =breakpoint-modified is emitted when breakpoints are
3558 modified through MI commands.
3560 2014-02-07 Pedro Alves <pedro@codesourcery.com>
3561 Pedro Alves <palves@redhat.com>
3563 * gdb.threads/step-after-sr-lock.c: New file.
3564 * gdb.threads/step-after-sr-lock.exp: New file.
3566 2014-02-07 Pedro Alves <palves@redhat.com>
3568 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
3570 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3572 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
3573 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
3575 2014-02-06 Doug Evans <xdje42@gmail.com>
3577 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
3580 * gdb.gdb/python-interrupts.exp: New file.
3582 2014-02-05 Yao Qi <yao@codesourcery.com>
3584 * gdb.trace/report.exp (use_collected_data): Test the output
3585 of "info threads" and "info inferiors".
3587 2014-02-05 Yao Qi <yao@codesourcery.com>
3591 2013-05-24 Yao Qi <yao@codesourcery.com>
3593 * gdb.trace/tfile.exp: Test inferior and thread.
3595 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3597 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
3599 * gdb.base/step-bt.c: Call hello via function pointer to make
3600 sure its first instruction is executed on powerpc64le-linux.
3602 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3604 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
3606 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3608 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
3609 of the test patterns for use on little-endian systems.
3611 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3613 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
3614 (decimal_vector): Fix for little-endian.
3616 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3618 * gdb.arch/sparc-sysstep.exp: New file.
3619 * gdb.arch/sparc-sysstep.c: Likewise.
3621 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
3623 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3625 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
3627 2014-01-23 Tom Tromey <tromey@redhat.com>
3629 * gdb.ada/array_char_idx: New testcase.
3631 2014-01-23 Tom Tromey <tromey@redhat.com>
3634 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
3635 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
3638 2014-01-23 Tom Tromey <tromey@redhat.com>
3641 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
3642 string from an inferior frame.
3643 * gdb.python/py-framefilter-mi.exp: Update.
3645 2014-01-22 Doug Evans <dje@google.com>
3647 * gdb.server/server-mon.exp: Add tests for "set debug-format".
3649 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3651 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
3653 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3655 * gdb.trace/entry-values.exp: Remove excess space character from
3656 regex patterns. Handle s390 call instruction.
3658 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3660 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
3661 define "*_start" label. Make "name" static.
3662 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
3663 ${name} by references to ${name}_start.
3665 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3667 * gdb.base/info-macros.exp: Remove "debug" from the compile
3670 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3672 * gdb.dlang/demangle.exp: New file.
3674 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3676 * gdb.dlang/primitive-types.exp: New file.
3678 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3680 * configure.ac: Create gdb.dlang/Makefile.
3681 * configure: Regenerate.
3682 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
3683 * gdb.dlang/Makefile.in: New file.
3684 * lib/d-support.exp: New file.
3685 * lib/gdb.exp (skip_d_tests): New proc.
3687 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3689 * gdb.btrace/delta.exp: Check reverse stepi.
3690 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
3691 * gdb.btrace/finish.exp: New.
3692 * gdb.btrace/next.exp: New.
3693 * gdb.btrace/nexti.exp: New.
3694 * gdb.btrace/record_goto.c: Add comments.
3695 * gdb.btrace/step.exp: New.
3696 * gdb.btrace/stepi.exp: New.
3697 * gdb.btrace/multi-thread-step.c: New.
3698 * gdb.btrace/multi-thread-step.exp: New.
3699 * gdb.btrace/rn-dl-bind.c: New.
3700 * gdb.btrace/rn-dl-bind.exp: New.
3701 * gdb.btrace/data.c: New.
3702 * gdb.btrace/data.exp: New.
3703 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3705 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3707 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
3708 * gdb.btrace/exception.exp: Update.
3709 * gdb.btrace/instruction_history.exp: Update.
3710 * gdb.btrace/record_goto.exp: Update.
3711 * gdb.btrace/tailcall.exp: Update.
3712 * gdb.btrace/unknown_functions.exp: Update.
3713 * gdb.btrace/delta.exp: New.
3715 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3717 * gdb.btrace/record_goto.exp: Add backtrace test.
3718 * gdb.btrace/tailcall.exp: Add backtrace test.
3720 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3722 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
3723 * gdb.btrace/record_goto.c: New.
3724 * gdb.btrace/record_goto.exp: New.
3725 * gdb.btrace/x86-record_goto.S: New.
3727 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3729 * gdb.btrace/function_call_history.exp: Update tests.
3730 * gdb.btrace/instruction_history.exp: Update tests.
3732 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3734 * gdb.btrace/function_call_history.exp: Fix expected field
3735 order for "record function-call-history".
3736 Add new tests for "record function-call-history /c".
3737 * gdb.btrace/exception.cc: New.
3738 * gdb.btrace/exception.exp: New.
3739 * gdb.btrace/tailcall.exp: New.
3740 * gdb.btrace/x86-tailcall.S: New.
3741 * gdb.btrace/x86-tailcall.c: New.
3742 * gdb.btrace/unknown_functions.c: New.
3743 * gdb.btrace/unknown_functions.exp: New.
3744 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3746 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3748 * gdb.btrace/instruction_history.exp: Update.
3749 * gdb.btrace/function_call_history.exp: Update.
3751 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3753 * gdb.btrace/function_call_history.exp: Fix expected function
3755 * gdb.btrace/instruction_history.exp: Initialize traced.
3756 Remove traced_functions.
3758 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3760 * gdb.btrace/function_call_history.exp: Update
3761 * gdb.btrace/instruction_history.exp: Update.
3763 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3765 * gdb.btrace/enable.exp: Update expected text.
3767 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
3769 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
3772 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
3774 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
3776 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3778 * lib/gdb.exp (supports_process_record): Return true for
3779 arm*-linux*. (supports_reverse): Likewise.
3781 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3785 * gdb.python/py-type.c: Enhance test case.
3786 * gdb.python/py-value-cc.cc: Likewise
3787 * gdb.python/py-type.exp: Add new tests.
3788 * gdb.python/py-value-cc.exp: Likewise
3790 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3791 Pedro Alves <palves@redhat.com>
3793 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
3795 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
3796 references to ${name}_start by references to ${name}.
3798 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3800 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
3802 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3804 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
3806 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
3807 Pedro Alves <palves@redhat.com>
3809 * gdb.mi/mi-info-os.exp: Connect to the target with
3812 2014-01-08 Pedro Alves <palves@redhat.com>
3814 * gdb.threads/reconnect-signal.c: New file.
3815 * gdb.threads/reconnect-signal.exp: New file.
3817 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3819 * gdb.base/source-dir.exp: New file.
3821 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3823 * gdb.ada/mi_interface: New testcase.
3825 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3827 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
3828 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
3829 gdb.ada/pp-rec-component/pck.ads: New files.
3831 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3833 * gdb.python/py-pp-integral.c: New file.
3834 * gdb.python/py-pp-integral.py: New file.
3835 * gdb.python/py-pp-integral.exp: New file.
3837 For older changes see ChangeLog-1993-2013.
3843 ;; version-control: never
3846 Copyright 2014-2015 Free Software Foundation, Inc.
3847 Copying and distribution of this file, with or without modification,
3848 are permitted provided the copyright notice and this notice are preserved.