1 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3 * gdb.btrace/buffer-size: New.
5 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7 * gdb.btrace/delta.exp: Update "info record" output.
8 * gdb.btrace/enable.exp: Update "info record" output.
9 * gdb.btrace/finish.exp: Update "info record" output.
10 * gdb.btrace/instruction_history.exp: Update "info record" output.
11 * gdb.btrace/next.exp: Update "info record" output.
12 * gdb.btrace/nexti.exp: Update "info record" output.
13 * gdb.btrace/step.exp: Update "info record" output.
14 * gdb.btrace/stepi.exp: Update "info record" output.
15 * gdb.btrace/nohist.exp: Update "info record" output.
17 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
20 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
22 2015-02-06 Pedro Alves <palves@redhat.com>
24 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
26 (seconds_left, again): New globals.
27 (main): Wait seconds_left in a 1-second sleep loop instead of
28 sleeping 180 seconds. If 'again' is set, reset the seconds
30 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
31 'again' in the inferior before detaching. Print the seconds left.
32 (options): New global.
33 (top level): Build program with -DTIMEOUT=$timeout.
35 2015-02-06 Pedro Alves <palves@redhat.com>
37 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
38 determine how many seconds to pass to 'alarm'.
39 * gdb.base/gdb-sigterm.exp (top level): Build program with
41 (do_test): Return success/failure indication. Add more verbose
42 logging. Don't fail if 200 single steps are seen. Instead, fail
43 when the test times out.
45 (top level): Break the testing loop if testing fails on any
46 iteration. Use gdb_assert.
48 2015-02-04 Don Breazeal <donb@codesourcery.com>
50 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
52 (ipc_cleanup): New function.
53 (main): Don't declare shmid, semid, and msqid. Add a call to
54 atexit so that we call ipc_cleanup on exit.
56 2015-02-04 Pedro Alves <palves@redhat.com>
58 * boards/native-extended-gdbserver.exp: Remove any target variant
59 specifications from the board name before clearing the isremote
62 2015-01-31 Doug Evans <xdje42@gmail.com>
64 * gdb.base/maint.exp <maint print type argc>: Update expected output.
66 2015-01-31 Gary Benson <gbenson@redhat.com>
68 * gdb.base/completion.exp: Disable completion limiting for
69 existing tests. Add new tests to check completion limiting.
70 * gdb.linespec/ls-errs.exp: Disable completion limiting.
72 2015-01-31 Doug Evans <xdje42@gmail.com>
74 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
76 2015-01-31 Doug Evans <xdje42@gmail.com>
78 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
79 entries. Duplicate file section script entries.
80 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
81 inlined entries. Add test for safe-path rejection.
82 * gdb.python/py-section-script.c: Add duplicate inlined section script
83 entries. Duplicate file section script entries.
84 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
85 inlined entries. Add test for safe-path rejection.
87 2015-01-29 Joel Brobecker <brobecker@adacore.com>
89 * gdb.ada/disc_arr_bound: New testcase.
91 2015-01-29 Joel Brobecker <brobecker@adacore.com>
93 * gdb.ada/mi_var_array: New testcase.
95 2015-01-27 Doug Evans <dje@google.com>
97 * gdb.python/py-objfile.exp: Add tests for objfile.username.
98 Add test for objfile.filename, objfile.username after objfile
101 2015-01-26 Joel Brobecker <brobecker@adacore.com>
103 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
104 the second test to print the name attribute of value
105 returned by the call to gdb.lookup_type, and adjust
106 the expected output accordingly.
108 2015-01-25 Mark Wielaard <mjw@redhat.com>
110 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
111 * gdb.base/disp-step-fork.c: Include unistd.h.
112 * gdb.base/siginfo-obj.c: Include stdio.h.
113 * gdb.base/siginfo-thread.c: Likewise.
114 * gdb.mi/non-stop.c: Include unistd.h.
115 * gdb.mi/nsthrexec.c: Include stdio.h.
116 * gdb.mi/pthreads.c: Include unistd.h.
117 * gdb.modula2/unbounded1.c (main): Declare returns int.
118 * gdb.reverse/consecutive-reverse.c: Likewise.
119 * gdb.threads/create-fail.c: Include unistd.h.
120 * gdb.threads/killed.c: Likewise.
121 * gdb.threads/linux-dp.c: Likewise.
122 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
123 * gdb.threads/non-ldr-exc-2.c: Likewise.
124 * gdb.threads/non-ldr-exc-3.c: Likewise.
125 * gdb.threads/non-ldr-exc-4.c: Likewise.
126 * gdb.threads/pthreads.c: Include unistd.h.
127 (main): Declare returns int.
128 * gdb.threads/tls-main.c (foo): New declaration.
129 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
131 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
133 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
134 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
136 2015-01-15 Mark Wielaard <mjw@redhat.com>
138 * gdb.base/noreturn-return.c: New file.
139 * gdb.base/noreturn-return.exp: New file.
140 * gdb.base/noreturn-finish.c: New file.
141 * gdb.base/noreturn-finish.exp: New file.
143 2015-01-23 Pedro Alves <palves@redhat.com>
145 * gdb.threads/continue-pending-after-query.c: New file.
146 * gdb.threads/continue-pending-after-query.exp: New file.
148 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
149 Simon Marchi <simon.marchi@ericsson.com>
151 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
152 * gdb.base/valgrind-db-attach.exp: Same.
153 * gdb.base/valgrind-infcall.exp: Same.
154 * lib/mi-support.exp (default_mi_gdb_start): Same.
155 * lib/prompt.exp (default_prompt_gdb_start): Same.
156 * lib/gdb.exp (default_gdb_spawn): Same.
160 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
162 * gdb.compile/compile.exp (pointer to jit function): New test.
164 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
166 * lib/gdb.exp (supports_process_record): Return true for
168 (supports_reverse): Likewise.
170 2015-01-15 Don Breazeal <donb@codesourcery.com>
172 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
173 instead of checking whether the target board is remote and
174 use spawn_wait_for_attach instead of exec/sleep.
175 * gdb.base/attach-twice.exp: Likewise.
177 2015-01-15 Joel Brobecker <brobecker@adacore.com>
179 * gdb.ada/var_arr_attrs: New testcase.
181 2015-01-14 Pedro Alves <palves@redhat.com>
182 Joel Brobecker <brobecker@adacore.com>
185 * gdb.base/bp-cmds-execution-x-script.c: New file.
186 * gdb.base/bp-cmds-execution-x-script.exp: New file.
187 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
189 2015-01-14 Pedro Alves <palves@redhat.com>
192 * gdb.base/batch-preserve-term-settings.c: New file.
193 * gdb.base/batch-preserve-term-settings.exp: New file.
195 2015-01-13 Doug Evans <dje@google.com>
197 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
200 2015-01-13 Joel Brobecker <brobecker@adacore.com>
202 * Makefile.in (clean mostlyclean): Do not delete *.py.
204 2015-01-13 Joel Brobecker <brobecker@adacore.com>
206 * gdb.python/py-lookup-type.exp: New file.
208 2015-01-12 Pedro Alves <palves@redhat.com>
210 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
211 restore GDBFLAGS before returning.
213 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
215 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
216 is_amd64_regs_target and is_x86_like_target.
218 2015-01-11 Doug Evans <xdje42@gmail.com>
220 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
221 is given without an explicit form.
222 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
224 * gdb.dwarf/corrupt.exp: Ditto.
225 * gdb.dwarf2/enum-type.exp: Ditto.
226 * gdb.trace/entry-values.exp: Ditto.
227 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
229 2015-01-11 Doug Evans <xdje42@gmail.com>
232 * gdb.base/maint.exp: Remove references to "maint demangle".
233 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
234 Add tests for explicitly specifying language to demangle.
235 * gdb.dlang/demangle.exp: Ditto.
237 2015-01-09 Pedro Alves <palves@redhat.com>
239 * gdb.threads/non-stop-fair-events.c: New file.
240 * gdb.threads/non-stop-fair-events.exp: New file.
242 2015-01-09 Pedro Alves <palves@redhat.com>
244 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
245 the global scope. Set a breakpoint after all threads are started
246 rather than stepping over two source lines. Expect the prompt.
247 * gdb.base/watch_thread_num.c (threads_started_barrier): New
250 (main): Use threads_started_barrier to wait for all threads to
251 start. Main thread no longer calls thread_function. Exit after
253 (loop): New function.
254 (thread_function): Wait on threads_started_barrier barrier. Call
255 'loop' at each iteration.
256 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
257 threads have started, instead of hardcoding number of "next"
258 steps. Use an access watchpoint instead of a write watchpoint.
260 2015-01-09 Pedro Alves <palves@redhat.com>
262 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
263 (thread_func): Wait on barrier.
264 (main): Wait for all threads to start before stopping GDB.
265 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
267 (thread1_func, thread2_func): Wait on barrier.
268 (main): Wait for all threads to start before stopping GDB.
269 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
271 (thread1_func, thread2_func): Wait on barrier.
272 (main): Wait for all threads to start before stopping GDB.
274 2015-01-09 Pedro Alves <palves@redhat.com>
276 * gdb.threads/attach-many-short-lived-threads.c: New file.
277 * gdb.threads/attach-many-short-lived-threads.exp: New file.
279 2014-01-09 Pedro Alves <palves@redhat.com>
281 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
282 instead of to thread 2.
283 * gdb.threads/signal-command-multiple-signals-pending.c (main):
284 Add barrier around each pthread_create call instead of around all
286 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
287 Set a break on thread_function and have the child threads hit it
290 2015-01-09 Pedro Alves <palves@redhat.com>
292 * lib/gdb.exp (can_spawn_for_attach): New procedure.
293 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
295 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
296 checking whether the target board is remote.
297 * gdb.multi/multi-attach.exp: Likewise.
298 * gdb.python/py-sync-interp.exp: Likewise.
299 * gdb.server/ext-attach.exp: Likewise.
300 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
301 tests that need to attach, instead of checking whether the target
302 board is remote at the top of the file.
304 2015-01-08 Yao Qi <yao@codesourcery.com>
306 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
308 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
310 Fix testcase compilation.
311 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
313 2015-01-06 Joel Brobecker <brobecker@adacore.com>
315 * gdb.python/py-type.exp: Add a couple test about empty
316 array creation, and negative-length array creation.
318 2015-01-02 Doug Evans <xdje42@gmail.com>
320 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
322 2015-01-02 Doug Evans <dje@google.com>
324 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
326 2014-12-29 Yao Qi <yao@codesourcery.com>
328 * gdb.trace/entry-values.exp: Update comments. Rename variable
329 bar_call_foo to returned_from_foo.
331 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
334 * gdb.linespec/break-asm-file.c: New file.
335 * gdb.linespec/break-asm-file.exp: New file.
336 * gdb.linespec/break-asm-file0.s: New file.
337 * gdb.linespec/break-asm-file1.s: New file.
339 2014-12-18 Nigel Stephens <nigel@mips.com>
340 Maciej W. Rozycki <macro@codesourcery.com>
342 * gdb.base/float.exp: Handle the new output from "info float" on
345 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
347 Fix MinGW compilation.
348 * gdb.compile/compile-ops.exp: Update untested message if
349 !skip_compile_feature_tests.
350 * gdb.compile/compile-setjmp.exp: Likewise.
351 * gdb.compile/compile-tls.exp: Likewise.
352 * gdb.compile/compile.exp: Likewise.
353 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
354 supported on this host".
356 2014-12-16 Doug Evans <xdje42@gmail.com>
358 * boards/stabs.exp: New file.
360 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
362 * gdb.base/completion.exp: Adjust to format changes of "maint
363 print user-registers".
365 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
368 * gdb.arch/aarch64-fp.c: New file.
369 * gdb.arch/aarch64-fp.exp: New file.
371 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
373 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
374 r210637, r210913, r211666, r215400, r215817).
376 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
377 * dg-extract-results.py: New file.
378 * dg-extract-results.sh: Use it if the environment seems
381 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
383 * dg-extract-results.py (parse_run): Handle warnings that
384 are printed before a test harness is run.
386 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
388 * dg-extract-results.py (Named): Remove __cmp__ method.
389 (output_variation): Use a key to sort variation.harnesses.
391 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
393 * dg-extract-results.py: For Python 3, force sys.stdout to
394 handle surrogate escape sequences.
395 (safe_open): New function.
396 (output_segment, main): Use it.
398 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
400 * dg-extract-results.py (Prog.result_re): Include options
403 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
405 * dg-extract-results.py (output_variation): Always sort if
408 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
410 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
411 as long as we get pagination notifications.
413 2014-12-15 Jason Merrill <jason@redhat.com>
415 * Makefile.in (check-gdb.%): Restore.
416 * README: Mention it.
418 2014-12-13 Joel Brobecker <brobecker@adacore.com>
420 * gdb.ada/str_uninit: New testcase.
422 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
425 * gdb.base/vla-stub-define.c: New file.
426 * gdb.base/vla-stub.c: New file.
427 * gdb.base/vla-stub.exp: New file.
429 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
430 Jan Kratochvil <jan.kratochvil@redhat.com>
431 Tom Tromey <tromey@redhat.com>
433 * configure.ac: Add gdb.compile/.
434 * configure: Regenerate.
435 * gdb.compile/Makefile.in: New file.
436 * gdb.compile/compile-ops.exp: New file.
437 * gdb.compile/compile-ops.c: New file.
438 * gdb.compile/compile-tls.c: New file.
439 * gdb.compile/compile-tls.exp: New file.
440 * gdb.compile/compile-constvar.S: New file.
441 * gdb.compile/compile-constvar.c: New file.
442 * gdb.compile/compile-mod.c: New file.
443 * gdb.compile/compile-nodebug.c: New file.
444 * gdb.compile/compile-setjmp-mod.c: New file.
445 * gdb.compile/compile-setjmp.c: New file.
446 * gdb.compile/compile-setjmp.exp: New file.
447 * gdb.compile/compile-shlib.c: New file.
448 * gdb.compile/compile.c: New file.
449 * gdb.compile/compile.exp: New file.
450 * lib/gdb.exp (skip_compile_feature_tests): New proc.
452 2014-12-12 Tom Tromey <tromey@redhat.com>
454 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
455 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
457 2014-12-12 Doug Evans <dje@google.com>
459 * lib/gdb-python.exp (get_python_valueof): New function.
460 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
462 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
464 * gdb.base/completion.exp: Add test for completion of "info
467 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
469 * gdb.base/func-ptrs.c: New file.
470 * gdb.base/func-ptrs.exp: New file.
472 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
475 * gdb.base/dprintf-detach.c: New file.
476 * gdb.base/dprintf-detach.exp: New file.
478 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
480 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
481 * lib/gdb.exp (target_is_gdbserver): New procedure.
483 2014-12-08 Doug Evans <dje@google.com>
485 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
487 2014-12-05 Yao Qi <yao@codesourcery.com>
489 * gdb.guile/scm-error.exp: Remove the third argument to
491 * gdb.guile/scm-frame-args.exp: Likewise.
492 * gdb.guile/scm-section-script.exp: Likewise.
494 2014-12-05 Yao Qi <yao@codesourcery.com>
496 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
498 2014-12-04 Doug Evans <dje@google.com>
500 * gdb.python/py-objfile.exp: Add tests for
501 objfile.add_separate_debug_file.
503 2014-12-04 Doug Evans <dje@google.com>
505 * lib/gdb.exp (get_build_id): New function.
506 (build_id_debug_filename_get): Rewrite to use it.
507 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
509 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
511 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
512 `method(long)', not just 0x0.
513 * gdb.cp/nsalias.exp: Align code labels to 4.
514 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
515 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
516 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
517 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
518 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
519 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
521 2014-12-02 Doug Evans <dje@google.com>
524 * gdb.cp/anon-ns.cc: Move guts of this file to ...
525 * gdb.cp/anon-ns2.cc: ... here. New file.
526 * gdb.cp/anon-ns.exp: Update.
528 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
530 * gdb.python/py-events.py (inferior_call_handler): New.
531 (register_changed_handler, memory_changed_handler): New.
532 (test_events.invoke): Register new handlers.
533 * gdb.python/py-events.exp: Add tests for inferior call,
534 memory_changed and register_changed events.
536 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
538 * gdb.base/execl-update-breakpoints.exp: Specify the link address
539 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
540 if the linker doesn't understand this.
542 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
544 * gdb.python/python.exp: Change expected reply to help().
546 2014-12-01 Yao Qi <yao@codesourcery.com>
548 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
549 AC_CONFIG_SUBDIRS(gdb.gdbtk).
550 * configure: Re-generated.
552 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
554 * gdb.cp/chained-calls.cc: New file.
555 * gdb.cp/chained-calls.exp: New file.
556 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
558 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
560 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
561 * gdb.dwarf2/symtab-producer.exp: Same.
562 * gdb.gdb/python-interrupts.exp: Same.
563 * gdb.gdb/python-selftest.exp: Same.
564 * gdb.python/py-linetable.exp: Same.
565 * gdb.python/py-type.exp: Same.
566 * gdb.python/py-value-cc.exp: Same.
567 * gdb.python/py-value.exp: Same.
569 2014-11-28 Yao Qi <yao@codesourcery.com>
571 * gdb.base/break-probes.exp: Match library name prefixed with
574 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
576 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
577 test expected output. Add parentheses for the call to print.
578 Remove L suffix from integers.
580 2014-11-26 Doug Evans <dje@google.com>
582 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
584 2014-11-22 Yao Qi <yao@codesourcery.com>
586 * gdb.trace/entry-values.c: Remove asms.
587 (foo): Add foo_label.
588 (bar): Add bar_label.
589 * gdb.trace/entry-values.exp: Remove code computing foo's
590 length and bar's length.
591 (Dwarf::assemble): Invoke function_range for bar and use
592 MACRO_AT_func for foo.
594 2014-11-22 Yao Qi <yao@codesourcery.com>
596 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
597 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
598 Use .Lgcc43_procstart instead of gcc43.
600 2014-11-21 Joel Brobecker <brobecker@adacore.com>
602 * gdb.ada/n_arr_bound: New testcase.
604 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
607 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
608 test_catch_syscall_multi_arch.
609 (test_catch_syscall_multi_arch): New function.
611 2014-11-20 Doug Evans <xdje42@gmail.com>
613 * gdb.base/maint.exp: Update expected output.
615 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
617 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
618 4-byte instruction on S390.
620 2014-11-19 Joel Brobecker <brobecker@adacore.com>
622 * gdb.ada/arr_arr: New testcase.
624 2014-11-19 Joel Brobecker <brobecker@adacore.com>
626 * gdb.ada/pkd_arr_elem: New Testcase.
628 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
630 * gdb.reverse/break-precsave: Expect completion message for
632 * gdb.reverse/consecutive-precsave.exp: Likewise.
633 * gdb.reverse/finish-precsave.exp: Likewise.
634 * gdb.reverse/i386-precsave.exp: Likewise.
635 * gdb.reverse/machinestate-precsave.exp: Likewise.
636 * gdb.reverse/sigall-precsave.exp: Likewise.
637 * gdb.reverse/solib-precsave.exp: Likewise.
638 * gdb.reverse/step-precsave.exp: Likewise.
639 * gdb.reverse/until-precsave.exp: Likewise.
640 * gdb.reverse/watch-precsave.exp: Likewise.
642 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
644 * gdb.base/bp-permanent.c: Include unistd.h.
645 * gdb.python/py-framefilter-mi.c (main): Add return type.
646 * gdb.python/py-framefilter.c (main): Likewise.
647 * gdb.trace/actions-changed.c (main): Likewise.
649 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
651 * gdb.mi/until.c: Add eye-catchers.
652 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
655 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
657 * gdb.base/condbreak.exp: Drop references to removed non-prototype
658 function header variants in break1.c.
659 * gdb.base/ena-dis-br.exp: Likewise.
660 * gdb.base/hbreak2.exp: Likewise.
661 * gdb.reverse/until-precsave.exp: Drop references to removed
662 non-prototype function header variants in ur1.c.
663 * gdb.reverse/until-reverse.exp: Likewise.
665 2014-11-17 Petr Machata <pmachata@redhat.com>
667 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
668 ${_cu_offset_size} bytes abbrev offset.
670 2014-11-15 Doug Evans <xdje42@gmail.com>
673 * gdb.base/line-symtabs.exp: New file.
674 * gdb.base/line-symtabs.c: New file.
675 * gdb.base/line-symtabs.h: New file.
677 2014-11-14 Yao Qi <yao@codesourcery.com>
679 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
680 (func): Add label func_label.
681 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
682 Replace low_pc and high_pc with MACRO_AT_range.
683 Replace name, low_pc and high_pc with MACRO_AT_func.
685 2014-11-14 Yao Qi <yao@codesourcery.com>
687 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
688 Replace name, low_pc and high_pc with MACRO_AT_func.
690 2014-11-14 Yao Qi <yao@codesourcery.com>
692 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
693 produce debug information.
694 * gdb.dwarf2/implptr-optimized-out.S: Removed.
696 2014-11-14 Yao Qi <yao@codesourcery.com>
698 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
699 object and get function length.
700 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
702 (top-level): Replace gdb_compile and clean_restart with
704 * gdb.dwarf2/main.c (main): Add label main_label.
706 2014-11-14 Yao Qi <yao@codesourcery.com>
708 * lib/dwarf.exp (function_range): New procedure.
709 (Dwarf::_handle_macro_at_func): New procedure.
710 (Dwarf::_handle_macro_at_range): New procedure.
711 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
713 2014-11-14 Yao Qi <yao@codesourcery.com>
715 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
716 (_handle_attribute): New procedure.
718 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
720 * gdb.ada/cond_lang/foo.c (callme): Add return type.
721 * gdb.base/call-sc.c (zed): Likewise.
722 * gdb.base/checkpoint.c (main): Likewise.
723 * gdb.base/dump.c (main): Likewise.
724 * gdb.base/gcore.c (main): Likewise.
725 * gdb.base/huge.c (main): Likewise.
726 * gdb.base/multi-forks.c (main): Likewise.
727 * gdb.base/pr10179-a.c (main): Likewise.
728 * gdb.base/savedregs.c (main): Likewise.
729 * gdb.base/sigaltstack.c (main): Likewise.
730 * gdb.base/siginfo.c (main): Likewise.
731 * gdb.base/structs.c (zed): Likewise.
732 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
733 * gdb.mi/mi-syn-frame.c (main): Likewise.
734 * gdb.mi/until.c (foo, main): Likewise.
735 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
736 * gdb.base/solib-weak.c (foo): Declare.
737 * gdb.base/attach-twice.c: Include stdio.h.
738 * gdb.base/weaklib1.c: Likewise.
739 * gdb.base/weaklib2.c: Likewise.
740 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
741 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
743 * gdb.base/attach-pie-misread.c: Include stdlib.h.
744 * gdb.mi/mi-exit-code.c: Likewise.
745 * gdb.base/break-interp-lib.c: Include string.h.
746 * gdb.base/coremaker.c: Likewise.
747 * gdb.base/testenv.c: Likewise.
748 * gdb.python/py-finish-breakpoint.c: Likewise.
749 * gdb.base/inferior-died.c: Include sys/wait.h.
750 * gdb.base/fileio.c: Include time.h.
751 * gdb.base/async-shell.c: Include unistd.h.
752 * gdb.base/dprintf-non-stop.c: Likewise.
753 * gdb.base/info-os.c: Likewise.
754 * gdb.mi/mi-console.c: Likewise.
755 * gdb.mi/watch-nonstop.c: Likewise.
756 * gdb.python/py-events.c: Likewise.
757 * gdb.base/async.c (baz): Move up before its invocation.
758 * gdb.base/code_elim2.c (my_global_func): Likewise.
759 * gdb.base/skip-solib-lib.c (multiply): Likewise.
760 * gdb.base/advance.c (func2): Likewise.
762 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
764 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
766 * gdb.base/annota3.c: Likewise.
767 * gdb.base/async.c: Likewise.
768 * gdb.base/average.c: Likewise.
769 * gdb.base/call-ar-st.c: Likewise.
770 * gdb.base/call-rt-st.c: Likewise.
771 * gdb.base/call-sc.c: Likewise.
772 * gdb.base/call-strs.c: Likewise.
773 * gdb.base/ending-run.c: Likewise.
774 * gdb.base/execd-prog.c: Likewise.
775 * gdb.base/exprs.c: Likewise.
776 * gdb.base/foll-exec.c: Likewise.
777 * gdb.base/foll-fork.c: Likewise.
778 * gdb.base/foll-vfork.c: Likewise.
779 * gdb.base/funcargs.c: Likewise.
780 * gdb.base/gcore.c: Likewise.
781 * gdb.base/jump.c: Likewise.
782 * gdb.base/langs0.c: Likewise.
783 * gdb.base/langs1.c: Likewise.
784 * gdb.base/langs2.c: Likewise.
785 * gdb.base/mips_pro.c: Likewise.
786 * gdb.base/nodebug.c: Likewise.
787 * gdb.base/opaque0.c: Likewise.
788 * gdb.base/opaque1.c: Likewise.
789 * gdb.base/recurse.c: Likewise.
790 * gdb.base/run.c: Likewise.
791 * gdb.base/scope0.c: Likewise.
792 * gdb.base/scope1.c: Likewise.
793 * gdb.base/setshow.c: Likewise.
794 * gdb.base/setvar.c: Likewise.
795 * gdb.base/shmain.c: Likewise.
796 * gdb.base/shr1.c: Likewise.
797 * gdb.base/shr2.c: Likewise.
798 * gdb.base/sigall.c: Likewise.
799 * gdb.base/signals.c: Likewise.
800 * gdb.base/so-indr-cl.c: Likewise.
801 * gdb.base/solib2.c: Likewise.
802 * gdb.base/structs.c: Likewise.
803 * gdb.base/sum.c: Likewise.
804 * gdb.base/vforked-prog.c: Likewise.
805 * gdb.base/watchpoint.c: Likewise.
806 * gdb.reverse/shr2.c: Likewise.
807 * gdb.reverse/until-reverse.c: Likewise.
808 * gdb.reverse/ur1.c: Likewise.
809 * gdb.reverse/watch-reverse.c: Likewise.
811 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
813 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
815 * gdb.base/sepdebug.exp: Drop references to removed code.
817 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
819 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
820 variant. Preserve original line numbering.
821 * gdb.base/list1.c: Likewise.
823 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
825 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
827 * gdb.base/break1.c: Likewise.
828 * gdb.base/break.exp: Drop references to removed code.
830 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
832 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
835 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
837 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
839 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
841 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
842 logic into perform_all_tests() and invoke it with and without
843 function header prototypes.
844 (do_function_calls): Remove conditional XFAIL for PR 5318.
845 (rerun_and_prepare): Remove duplicate code.
846 (perform_all_tests): New. Main logic moved here.
848 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
850 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
851 code guarded by #ifdef NO_PROTOTYPES.
852 (t_double_many_args): Likewise.
853 (DEF_FUNC_MANY_ARGS_1): Likewise.
854 (DEF_FUNC_VALUES_1): Likewise.
855 (t_structs_ldc): Renamed from t_structs_fc in conditional code
856 guarded by #ifdef PROTOTYPES.
858 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
860 * gdb.mi/mi-console.c: Add eye-catcher.
861 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
862 instead of literal line number.
864 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
866 * gdb.base/shr2.c: Add eye-catcher.
867 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
870 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
872 * gdb.base/jump.c: Add eye-catchers.
873 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
876 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
878 * gdb.base/execd-prog.c: Add eye-catchers.
879 * gdb.base/foll-exec.c: Likewise.
880 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
883 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
885 * gdb.base/ending-run.c: Add eye-catchers.
886 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
887 literal line numbers.
889 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
891 * gdb.base/call-rt-st.c: Add eye-catchers.
892 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
893 literal line numbers.
895 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
897 * gdb.base/call-ar-st.c: Add eye-catchers.
898 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
899 literal line numbers.
901 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
903 * gdb.base/average.c: Add eye-catchers.
904 * gdb.base/sum.c: Likewise.
905 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
908 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
910 * gdb.base/solib1.c: Add eye-catchers.
911 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
912 literal line numbers.
914 2014-11-12 Pedro Alves <palves@redhat.com>
916 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
919 2014-11-12 Pedro Alves <palves@redhat.com>
921 * gdb.arch/i386-bp_permanent.c: New file.
922 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
923 (srcfile): Set to i386-bp_permanent.c.
924 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
925 that stepi does not execute the 'leave' instruction, instead of
926 testing it does execute.
927 * gdb.base/bp-permanent.c: New file.
928 * gdb.base/bp-permanent.exp: New file.
930 2014-11-10 Doug Evans <xdje42@gmail.com>
933 * gdb.base/symtab-search-order.exp: New file.
934 * gdb.base/symtab-search-order.c: New file.
935 * gdb.base/symtab-search-order-1.c: New file.
936 * gdb.base/symtab-search-order-shlib-1.c: New file.
938 2014-11-07 Pedro Alves <palves@redhat.com>
941 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
944 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
947 * gdb.cp/pr17494.cc: New file.
948 * gdb.cp/pr17494.exp: New file.
950 2014-11-02 Yao Qi <yao@codesourcery.com>
952 * gdb.python/python.exp: Get working directory and match the
953 output of "set extended-prompt \\w " with it.
955 2014-10-30 Doug Evans <dje@google.com>
957 * gdb.python/py-objfile.exp: Add tests for setting random attributes
959 * gdb.python/py-progspace.exp: Add tests for setting random attributes
962 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
964 * gdb.base/fullpath-expand.exp: Skip for a remote host.
965 * gdb.base/realname-expand.exp: Likewise.
966 * gdb.linespec/macro-relative.exp: Likewise.
968 2014-10-29 Pedro Alves <palves@redhat.com>
971 * gdb.threads/schedlock.c (some_function): New function.
972 (call_function): New global.
973 (MAYBE_CALL_SOME_FUNCTION): New macro.
974 (thread_function): Call it.
975 * gdb.threads/schedlock.exp (get_args): Add description parameter,
976 and use it instead of a global counter. Adjust all callers.
977 (get_current_thread): Use "find current thread" for test message
978 here rather than having all callers pass down the same string.
979 (goto_loop): New procedure, factored out from ...
980 (my_continue): ... this.
981 (step_ten_loops): Change parameter from test message to command to
983 (list_count): Delete global.
984 (check_result): New procedure, factored out from duplicate top
986 (continue tests): Wrap in with_test_prefix.
987 (test_step): New procedure, factored out from duplicate top level
989 (top level): Test "step" in combination with all scheduler-locking
990 modes. Test "next" in combination with all scheduler-locking
991 modes, and in combination with stepping over a function call or
993 * gdb.threads/next-bp-other-thread.c: New file.
994 * gdb.threads/next-bp-other-thread.exp: New file.
996 2014-10-29 Pedro Alves <palves@redhat.com>
999 * gdb.python/python.exp: Test a multi-line command that spawns
1001 * gdb.base/multi-line-starts-subshell.exp: New file.
1003 2014-10-29 Yao Qi <yao@codesourcery.com>
1005 * gdb.base/fileio.exp: Make directories on host.
1007 2014-10-29 Yao Qi <yao@codesourcery.com>
1009 * gdb.base/fileio.c (test_write): Close the file.
1011 2014-10-28 Pedro Alves <palves@redhat.com>
1014 * gdb.base/sigstep.c (no_handler): New global.
1015 (main): If 'no_handler is true, set the signal handlers to
1017 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
1018 with_sw_watch and no_handler parameters. Handle them.
1019 (top level) <stepping over handler when stopped at a breakpoint
1020 test>: Add a test axis for testing with a software watchpoint, and
1021 another for testing with the signal handler set to SIG_IGN.
1022 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
1023 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
1025 2014-10-28 Pedro Alves <palves@redhat.com>
1028 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
1029 * gdb.base/sigstep.exp (other_handler_location): New global.
1030 (advance): Support stepping into the signal handler, and running
1031 commands while in the handler.
1032 (in_handler_map): New global.
1033 (top level): In the advance test, add combinations for getting
1034 into the handler with stepping commands, and for running commands
1035 in the handler. Add comment descripting the advancei tests.
1037 2014-10-28 Pedro Alves <palves@redhat.com>
1039 * gdb.base/sigstep.exp: Use build_executable instead of
1040 prepare_for_testing.
1041 (top level): Move code that starts GDB, runs to main and creates a
1043 (restart): ... this new procedure.
1044 (top level): Move backtrace from signal handler test to ...
1045 (validate_backtrace): ... this new procedure.
1046 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
1047 with_test_prefix. Always restart GDB.
1048 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
1049 with_test_prefix. Always restart GDB. No need to delete
1050 breakpoints after the test.
1051 (test_skip_handler): Remove prefix parameter.
1052 (skip_over_handler, breakpoint_to_handler)
1053 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
1054 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
1055 restart GDB. No need to delete breakpoints after the test.
1056 (top level): Use foreach to call the test procedures with
1059 2014-10-28 Pedro Alves <palves@redhat.com>
1061 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
1062 instead of GNATS numbers.
1063 * gdb.base/sigbpt.exp: Likewise.
1064 * gdb.base/siginfo.exp: Likewise.
1065 * gdb.base/sigstep.exp: Likewise.
1067 2014-10-27 Pedro Alves <palves@redhat.com>
1069 * gdb.base/sigstep.c (dummy): New global.
1070 (main): Issue a couple writes to the new global.
1071 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
1073 (skip_over_handler): Use test_skip_handler.
1074 (top level): Call skip_over_handler for stepi and nexti too.
1075 (breakpoint_over_handler): Use test_skip_handler.
1076 (top level): Call breakpoint_over_handler for stepi and nexti too.
1078 2014-10-27 Yao Qi <yao@codesourcery.com>
1080 * gdb.trace/tfile.c (adjust_function_address)
1081 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
1082 function descriptor.
1084 2014-10-24 Don Breazeal <donb@codesourcery.com>
1086 * gdb.base/foll-fork.exp (test_follow_fork,
1087 catch_fork_child_follow): Check for updated fork messages emitted
1089 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
1090 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
1091 vfork_and_exec_child_follow_through_step): Check for updated vfork
1092 messages emitted from infrun.c.
1094 2014-10-24 Pedro Alves <palves@redhat.com>
1096 * gdb.base/corefile.exp: Remove references to ultrix.
1097 * gdb.base/interrupt.exp: Likewise.
1098 * gdb.base/whatis.exp: Likewise.
1099 * gdb.gdb/selftest.exp: Likewise.
1100 * gdb.threads/manythreads.exp: Likewise.
1101 * gdb.threads/print-threads.exp: Likewise.
1102 * gdb.threads/pthreads.exp:: Likewise.
1103 * gdb.threads/schedlock.exp: Likewise.
1105 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
1107 * gdb.cp/non-trivial-retval.cc: Add a test case.
1108 * gdb.cp/non-trivial-retval.exp: Add a test.
1110 2014-10-20 Yao Qi <yao@codesourcery.com>
1112 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
1113 * gdb.python/py-objfile-script-gdb.py: New file.
1114 * gdb.python/py-objfile-script.exp: Update reference to
1115 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
1116 of remote_download. Remove the dest file.
1118 2014-10-20 Yao Qi <yao@codesourcery.com>
1120 * gdb.base/checkpoint.exp: Don't remove file copied on host.
1121 * gdb.base/step-line.exp: Likewise.
1122 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1123 * gdb.dwarf2/dw2-basic.exp: Likewise.
1124 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1125 * gdb.dwarf2/dw2-filename.exp: Likewise.
1126 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1127 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1128 * gdb.dwarf2/dw2-producer.exp: Likewise.
1129 * gdb.dwarf2/mac-fileno.exp: Likewise.
1130 * gdb.python/py-frame-args.exp: Likewise.
1131 * gdb.python/py-framefilter.exp: Likewise.
1132 * gdb.python/py-mi.exp: Likewise.
1133 * gdb.python/py-objfile-script.exp: Likewise
1134 * gdb.python/py-pp-integral.exp: Likewise.
1135 * gdb.python/py-pp-re-notag.exp: Likewise.
1136 * gdb.python/py-prettyprint.exp: Likewise.
1137 * gdb.python/py-section-script.exp: Likewise.
1138 * gdb.python/py-typeprint.exp: Likewise.
1139 * gdb.python/py-xmethods.exp: Likewise.
1140 * gdb.stabs/weird.exp: Likewise.
1141 * gdb.xml/tdesc-regs.exp: Likewise.
1143 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
1145 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
1146 (out_cu): Use addr_len for the size of addresses.
1147 (out_line): Likewise. Size DW_LNE_set_address instruction
1148 according to addr_len.
1149 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
1150 (FUNC): Add START_INSNS to definition.
1152 2014-10-18 Yao Qi <yao@codesourcery.com>
1154 * gdb.base/argv0-symlink.exp: Check argv[0] value if
1155 gdb_has_argv0 return true.
1156 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
1157 check [target_info exists noargs], check [gdb_has_argv0]
1159 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1160 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
1163 2014-10-17 Doug Evans <dje@google.com>
1165 * gdb.python/py-events.exp: Update expected output for clear_objfiles
1167 * gdb.python/py-events.py: Add clear_objfiles event.
1169 2014-10-17 Doug Evans <dje@google.com>
1171 * gdb.python/py-objfile.exp: Test progspace attribute.
1173 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
1175 * gdb.guile/scm-breakpoint.exp: Do not assume any
1176 directory separators when matching source file paths.
1177 * gdb.python/py-breakpoint.exp: Likewise.
1178 * gdb.reverse/break-precsave.exp: Likewise.
1179 * gdb.reverse/break-reverse.exp: Likewise.
1180 * gdb.reverse/consecutive-precsave.exp: Likewise.
1181 * gdb.reverse/finish-precsave.exp: Likewise.
1182 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
1183 * gdb.reverse/finish-reverse.exp: Likewise.
1184 * gdb.reverse/i386-precsave.exp: Likewise.
1185 * gdb.reverse/i387-env-reverse.exp: Likewise.
1186 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1187 * gdb.reverse/machinestate-precsave.exp: Likewise.
1188 * gdb.reverse/machinestate.exp: Likewise.
1189 * gdb.reverse/sigall-precsave.exp: Likewise.
1190 * gdb.reverse/solib-precsave.exp: Likewise.
1191 * gdb.reverse/step-precsave.exp: Likewise.
1192 * gdb.reverse/until-precsave.exp: Likewise.
1193 * gdb.reverse/watch-precsave.exp: Likewise.
1194 * gdb.reverse/watch-reverse.exp: Likewise.
1196 2014-10-17 Yao Qi <yao@codesourcery.com>
1198 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
1199 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
1201 2014-10-17 Pedro Alves <palves@redhat.com>
1204 * gdb.base/bg-execution-repeat.c: New file.
1205 * gdb.base/bg-execution-repeat.exp: New file.
1207 2014-10-17 Pedro Alves <palves@redhat.com>
1210 * gdb.base/continue-all-already-running.c: New file.
1211 * gdb.base/continue-all-already-running.exp: New file.
1213 2014-10-17 Pedro Alves <palves@redhat.com>
1216 * gdb.base/annota-input-while-running.c: New file.
1217 * gdb.base/annota-input-while-running.exp: New file.
1219 2014-10-17 Pedro Alves <palves@redhat.com>
1221 * gdb.base/callfuncs.exp: emove references to osf.
1222 * gdb.base/sigall.exp: Likewise.
1223 * gdb.gdb/selftest.exp: Likewise.
1224 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1225 * gdb.mi/non-stop.c: Likewise.
1226 * gdb.mi/pthreads.c: Likewise.
1227 * gdb.reverse/sigall-precsave.exp: Likewise.
1228 * gdb.reverse/sigall-reverse.exp: Likewise.
1229 * gdb.threads/pthreads.c: Likewise.
1230 * gdb.threads/pthreads.exp: Likewise.
1232 2014-10-17 Yao Qi <yao@codesourcery.com>
1234 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
1235 check 'target_info exists noargs'.
1236 (test_command_prompt_position): Likewise.
1237 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
1239 (progvar_simple_while_test): Likewise.
1240 (progvar_complex_if_while_test): Likewise.
1241 (if_while_breakpoint_command_test): Likewise.
1242 (infrun_breakpoint_command_test): Likewise.
1243 (breakpoint_command_test): Likewise.
1244 (watchpoint_command_test): Likewise.
1245 (bp_deleted_in_command_test): Likewise.
1246 (temporary_breakpoint_commands): Likewise.
1248 2014-10-16 Yao Qi <yao@codesourcery.com>
1250 * gdb.base/remotetimeout.exp: Remove noargs checking.
1252 2014-10-15 Pedro Alves <palves@redhat.com>
1255 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
1256 * gdb.base/breakpoint-in-ro-region.exp
1257 (probe_target_hardware_step): New procedure.
1258 (top level): Probe hardware stepping and hardware breakpoint
1259 support. Test stepping through a read-only region, with both
1260 "breakpoint auto-hw" on and off and both "always-inserted" on and
1263 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
1265 * gdb.dlang/demangle.exp: Update for demangling changes.
1267 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1269 * gdb.cp/non-trivial-retval.cc: Add new test cases.
1270 * gdb.cp/non-trivial-retval.exp: Add new tests.
1272 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1276 * gdb.cp/non-trivial-retval.cc: New file.
1277 * gdb.cp/non-trivial-retval.exp: New file.
1279 2014-10-15 Yao Qi <yao@codesourcery.com>
1281 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
1284 2014-10-15 Yao Qi <yao@codesourcery.com>
1286 * gdb.python/py-symbol.exp: Match file base name if host is
1287 remote, otherwise match file name with dir name.
1288 * gdb.python/py-symtab.exp: Likewise.
1289 * gdb.python/python.exp: Likewise.
1291 2014-10-15 Yao Qi <yao@codesourcery.com>
1293 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
1295 * gdb.python/py-symtab.exp: Likewise.
1296 * gdb.python/python.exp: Remove trailing ".*". Fix typo
1299 2014-10-14 Joel Brobecker <brobecker@adacore.com>
1301 * gdb.ada/addr_arith: New testcase.
1303 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
1305 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
1306 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
1307 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
1308 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
1310 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
1312 * gdb.arch/stap-eval-lang-ada.S: Likewise.
1313 * gdb.arch/stap-eval-lang-ada.c: Likewise.
1314 * gdb.arch/stap-eval-lang-ada.exp: New file.
1316 2014-10-14 Yao Qi <yao@codesourcery.com>
1318 * gdb.mi/mi-var-child.c (nothing1): New function.
1319 (nothing2): New function.
1320 (do_children_tests): Set function pointers by nothing1 and
1322 * gdb.mi/mi-var-child.exp: Step over new added statements.
1323 Update test to match the new output.
1324 * gdb.mi/var-cmd.c (nothing1): New function.
1325 (nothing2): New function.
1326 (do_children_tests): Set function pointers by nothing1 and
1328 * gdb.mi/mi-var-display.exp: Update test to match output.
1329 Step to the line specified by $line_dct_nothing.
1330 Increase the number of lines to step.
1332 2014-10-14 Yao Qi <yao@codesourcery.com>
1334 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
1336 * gdb.mi/mi2-var-child.exp: Likewise.
1338 2014-10-13 Doug Evans <dje@google.com>
1340 * gdb.python/py-objfile.exp: Change name of file name test.
1342 2014-10-13 Doug Evans <dje@google.com>
1344 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
1345 from the start of the CU.
1347 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1348 Yao Qi <yao@codesourcery.com>
1350 Fix "save breakpoints" for "catch" command.
1351 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
1352 Remove -nonewline. Match also the added "main" line.
1354 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1356 Fix "save breakpoints" for "disable $bpnum" command.
1357 * gdb.base/save-bp.c (main): Add label.
1358 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
1360 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1362 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
1364 2014-10-11 Yao Qi <yao@codesourcery.com>
1366 * gdb.server/server-kill.exp: Execute command
1367 "set remote trace-status-packet on" before "tstatus".
1369 2014-10-11 Yao Qi <yao@codesourcery.com>
1371 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
1372 (main): Call getppid.
1373 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
1374 and continue to it. Read variable "server_pid".
1376 2014-10-11 Yao Qi <yao@codesourcery.com>
1378 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
1380 2014-10-11 Yao Qi <yao@codesourcery.com>
1382 * gdb.threads/thread-find.exp: Don't execute command
1384 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
1385 * gdb.threads/linux-dp.exp: Don't check the condition
1386 $threads_created equals to zero.
1388 2014-10-10 Pedro Alves <palves@redhat.com>
1390 * gdb.base/bigcore.exp: Remove references to IRIX.
1391 * gdb.base/funcargs.exp: Likewise.
1392 * gdb.base/interrupt.exp: Likewise.
1393 * gdb.base/mips_pro.exp: Likewise.
1394 * gdb.base/nodebug.exp: Likewise.
1395 * gdb.base/setvar.exp: Likewise.
1396 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
1398 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1399 Pedro Alves <palves@redhat.com>
1402 * gdb.base/vdso-warning.c: New file.
1403 * gdb.base/vdso-warning.exp: New file.
1405 2014-10-02 Doug Evans <dje@google.com>
1407 * gdb.base/structs.c (main): Don't run forever.
1409 2014-10-02 Pedro Alves <palves@redhat.com>
1411 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
1412 (top level) <stop threads 1, stop threads 2>: Use it.
1414 2014-10-02 Pedro Alves <palves@redhat.com>
1416 * gdb.threads/break-while-running.exp (test): Add new
1417 'update_thread_list' argument. Skip "info threads" if false.
1418 (top level): Add new 'update_thread_list' axis.
1420 2014-10-02 Pedro Alves <palves@redhat.com>
1422 PR breakpoints/17431
1423 * gdb.base/execl-update-breakpoints.c: New file.
1424 * gdb.base/execl-update-breakpoints.exp: New file.
1426 2014-10-01 Pedro Alves <palves@redhat.com>
1428 * gdb.base/breakpoint-in-ro-region.c: New file.
1429 * gdb.base/breakpoint-in-ro-region.exp: New file.
1431 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
1433 * gdb.mi/mi-exit-code.exp: New file.
1434 * gdb.mi/mi-exit-code.c: New file.
1436 2014-09-30 Yao Qi <yao@codesourcery.com>
1438 * lib/prelink-support.exp (build_executable_own_libs): Error if
1439 the target isn't native.
1441 2014-09-30 Yao Qi <yao@codesourcery.com>
1443 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
1446 2014-09-22 Pedro Alves <palves@redhat.com>
1448 * gdb.threads/break-while-running.exp: New file.
1449 * gdb.threads/break-while-running.c: New file.
1451 2014-09-19 Yao Qi <yao@codesourcery.com>
1453 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
1454 Invoke test. Restart GDB with --readnow and invoke test again.
1456 2014-09-19 Yao Qi <yao@codesourcery.com>
1458 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
1459 proc set_breakpoint_on_gcd_function. Invoke
1460 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
1461 invoke set_breakpoint_on_gcd_function again.
1463 2014-09-18 Doug Evans <dje@google.com>
1465 * gdb.dwarf2/symtab-producer.exp: New file.
1467 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1469 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
1470 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
1471 * gdb.base/global-var-nested-by-dso.c: Likewise.
1472 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1474 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1475 Pedro Alves <palves@redhat.com>
1477 * gdb.base/watch-bitfields.exp: Pass string other than test file
1478 name to prepare_for_testing.
1479 (watch): New procedure.
1480 (expect_watchpoint): Use with_test_prefix.
1481 (top level): Factor out tests to ...
1482 (test_watch_location, test_regular_watch): ... these new
1483 procedures, and use with_test_prefix and gdb_continue_to_end.
1485 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
1487 PR breakpoints/12526
1488 * gdb.base/watch-bitfields.exp: New file.
1489 * gdb.base/watch-bitfields.c: New file.
1491 2014-09-16 Pedro Alves <palves@redhat.com>
1493 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
1494 software and hardware addresses, not software address against
1497 2014-09-16 Pedro Alves <palves@redhat.com>
1499 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
1500 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
1502 2014-09-16 Pedro Alves <palves@redhat.com>
1504 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
1506 * gdb.base/a2-run.exp: Remove all code guarded by istarget
1507 "*-*-vxworks*" throughout.
1508 * gdb.base/break.exp: Likewise.
1509 * gdb.base/default.exp: Likewise.
1510 * gdb.base/scope.exp: Likewise.
1511 * gdb.base/sepdebug.exp: Likewise.
1512 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
1514 * gdb.base/run.c: Likewise.
1515 * gdb.base/sepdebug.c: Likewise.
1516 * gdb.hp/gdb.aCC/run.c: Likewise.
1517 * gdb.reverse/until-reverse.c: Likewise.
1518 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
1520 2014-09-16 Yao Qi <yao@codesourcery.com>
1522 * boards/local-remote-host-native.exp: New file.
1524 2014-09-14 Doug Evans <xdje42@gmail.com>
1526 * gdb.threads/queue-signal.c (thread_count): New variable.
1527 (thread_count_mutex, thread_count_condvar): New variables.
1528 (incr_thread_count, wait_all_threads_running): New functions.
1529 (main): Wait for all threads to be in their thread functions.
1531 2014-09-13 Doug Evans <xdje42@gmail.com>
1533 * gdb.threads/queue-signal.c: New file.
1534 * gdb.threads/queue-signal.exp: New file.
1536 2014-09-13 Doug Evans <xdje42@gmail.com>
1538 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
1539 be consistent with what default_gdb_init uses.
1540 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
1541 the plain text of the prompt. Add some logging printfs.
1542 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
1544 2014-09-12 Pedro Alves <palves@redhat.com>
1546 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
1547 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
1548 * gdb.arch/i386-size-overlap.exp: Likewise.
1549 * gdb.arch/i386-size.exp: Likewise.
1550 * gdb.arch/i386-unwind.exp: Likewise.
1551 * gdb.base/a2-run.exp: Likewise.
1552 * gdb.base/break.exp: Likewise.
1553 * gdb.base/charset.exp: Likewise.
1554 * gdb.base/chng-syms.exp: Likewise.
1555 * gdb.base/commands.exp: Likewise.
1556 * gdb.base/dbx.exp: Likewise.
1557 * gdb.base/find.exp: Likewise.
1558 * gdb.base/funcargs.exp: Likewise.
1559 * gdb.base/jit-simple.exp: Likewise.
1560 * gdb.base/reread.exp: Likewise.
1561 * gdb.base/sepdebug.exp: Likewise.
1562 * gdb.base/step-bt.exp: Likewise.
1563 * gdb.cp/mb-inline.exp: Likewise.
1564 * gdb.cp/mb-templates.exp: Likewise.
1565 * gdb.objc/basicclass.exp: Likewise.
1566 * gdb.threads/killed.exp: Likewise.
1568 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1571 * gdb.arch/powerpc-stackless.S: New file.
1572 * gdb.arch/powerpc-stackless.exp: New file.
1574 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1576 * gdb.base/attach.c: Include unistd.h.
1577 (main): Call alarm. Add label postloop.
1578 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
1579 gdb_breakpoint, gdb_continue_to_breakpoint.
1580 (test_command_line_attach_run): Kill ${testpid} in one exit path.
1582 2014-09-11 Pedro Alves <palves@redhat.com>
1585 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
1586 * gdb.base/attach.exp (test_command_line_attach_run): New
1588 (top level): Call it.
1590 2014-09-11 Pedro Alves <palves@redhat.com>
1592 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
1593 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
1594 (do_command_attach_tests): Use spawn_wait_for_attach.
1595 * gdb.base/solib-overlap.exp: Likewise.
1596 * gdb.multi/multi-attach.exp: Likewise.
1597 * gdb.python/py-prompt.exp: Likewise.
1598 * gdb.python/py-sync-interp.exp: Likewise.
1599 * gdb.server/ext-attach.exp: Likewise.
1601 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
1603 * gdb.fortran/array-element.exp: Remove unexpected "continue"
1604 command in testcase. Simplify testcase.
1606 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1608 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
1610 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1612 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
1614 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1616 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
1618 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1620 * gdb.dwarf2/dynarr-ptr.c: New file.
1621 * gdb.dwarf2/dynarr-ptr.exp: New file.
1623 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1625 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
1626 of 30 rather than hardcoding 120 for a slow test case. Take the
1627 `gdb,timeout' target setting into account for this calculation.
1628 Don't extend the timeout for the test cases that don't need it.
1630 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1632 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
1633 a factor of 2 for a slow test case. Take the `gdb,timeout'
1634 target setting into account for this calculation.
1635 * gdb.reverse/until-precsave.exp: Increase the timeout by
1636 a factor of 15 and 3 respectively rather than adding 120
1637 for a pair of slow test cases. Take the `gdb,timeout'
1638 target setting into account for this calculation.
1640 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1642 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
1643 timeout, don't pass one down to gdb_expect.
1644 (gdb_expect): Rework timeout selection.
1646 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1648 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
1649 exception on timeout.
1650 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
1651 (gdbserver_start_extended): Catch any `gdbserver_start' error
1653 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
1654 * lib/mi-support.exp (mi_gdb_target_load): Catch any
1655 `gdbserver_gdb_load' error exceptions.
1657 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1659 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
1660 120 on waiting for the TCP socket to open.
1662 2014-09-09 Doug Evans <xdje42@gmail.com>
1664 * gdb.base/default.exp (show_conv_list): Add _caller_is,
1665 _caller_matches, _any_caller_is, _any_caller_matches.
1667 2014-09-09 Doug Evans <xdje42@gmail.com>
1669 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
1671 2014-09-09 Yao Qi <yao@codesourcery.com>
1673 * gdb.mi/mi-var-display.exp: Set print symbol off.
1675 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
1678 * gdb.base/commands.exp: Add tests to verify user-defined
1679 commands with empty bodies.
1680 * gdb.python/py-cmd.exp: Test that we don't show user-defined
1681 python commands in `show user command`.
1682 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
1683 scheme commands in `show user command`.
1685 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1688 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
1689 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
1690 * gdb.python/py-framefilter-invalidarg.exp: New file.
1691 * gdb.python/py-framefilter-invalidarg.py: New file.
1693 2014-09-06 Doug Evans <xdje42@gmail.com>
1696 * gdb.python/py-caller-is.c: New file.
1697 * gdb.python/py-caller-is.exp: New file.
1699 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
1702 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
1703 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
1705 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
1708 * gdb.fortran/print-formatted.exp: New file.
1709 * gdb.fortran/print-formatted.f90: Likewise.
1711 2014-09-03 Sasha Smundak <asmundak@google.com>
1713 * gdb.python/py-frame.exp: Test Frame.read_register.
1715 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
1718 * gdb.python/py-completion.exp: New file.
1719 * gdb.python/py-completion.py: Likewise.
1721 2014-08-28 Doug Evans <dje@google.com>
1723 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
1724 eax,etc. are live with values set by gdb and thus the compiler can't
1726 * gdb.arch/i386-pseudo.c (main): Ditto.
1728 2014-08-27 Doug Evans <dje@google.com>
1730 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
1732 2014-08-25 Doug Evans <dje@google.com>
1734 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
1737 2014-08-25 Doug Evans <dje@google.com>
1739 * gdb.threads/thread-execl.exp: #include <stdio.h>.
1741 2014-08-24 Yao Qi <yao@codesourcery.com>
1743 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
1745 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
1747 2014-08-22 Doug Evans <dje@google.com>
1750 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
1751 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
1752 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
1754 2014-08-22 Yao Qi <yao@codesourcery.com>
1756 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
1757 * gdb.python/py-finish-breakpoint2.exp: Likewise.
1758 * gdb.python/python.exp: Likewise. Use .py file on the host
1759 instead of the build.
1761 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1763 * gdb.threads/gcore-stale-thread.c: New file.
1764 * gdb.threads/gcore-stale-thread.exp: New file.
1766 2014-08-21 Pedro Alves <palves@redhat.com>
1768 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
1769 * gdb.base/gcore-relro-pie.exp: Likewise.
1770 * gdb.base/gcore-relro.exp: Likewise.
1771 * gdb.base/gcore.exp: Likewise.
1772 * gdb.base/print-symbol-loading.exp: Likewise.
1773 * gdb.threads/gcore-thread.exp: Likewise.
1774 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
1776 2014-08-20 Pedro Alves <palves@redhat.com>
1777 Jan Kratochvil <jan.kratochvil@redhat.com>
1779 * Makefile.in (EXTRA_RULES, CC): New variables, get from
1781 (EXPECT): Handle READ1 being set.
1782 (all): Depend on EXTRA_RULES.
1783 (check-read1, expect-read1, read1.so, read1): New rules.
1784 * README (Testsuite Parameters): Document the READ1 make variable.
1785 (Race detection): New section.
1786 * configure: Regenerate.
1787 * configure.ac: If build==host==target, and running under a
1788 GNU/glibc system, add read1 to the extra Makefile rules.
1789 (EXTRA_RULES): AC_SUBST it.
1790 * lib/read1.c: New file.
1792 2014-08-20 Joel Brobecker <brobecker@adacore.com>
1794 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
1795 the handling of variables declared as a typedef to an array
1796 which a DW_AT_data_location attribute.
1798 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
1799 Pedro Alves <palves@redhat.com>
1803 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
1806 2014-08-19 Pedro Alves <palves@redhat.com>
1808 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
1810 2014-08-19 Yao Qi <yao@codesourcery.com>
1812 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
1815 2014-08-18 David Blaikie <dblaikie@gmail.com>
1817 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
1819 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1821 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
1822 attribute in array range.
1824 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1826 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
1828 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1831 * gdb.cp/pr17132.cc: New file.
1832 * gdb.cp/pr17132.exp: New file.
1834 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1836 * gdb.python/py-xmethods.py (A_getarrayind)
1837 (E_method_char_worker.__call__, E_method_int_worker.__call__):
1838 Use 'print' with function call syntax.
1839 (E_method_matcher.match): Fix tab vs space indentation mixup.
1841 2014-08-15 Yao Qi <yao@codesourcery.com>
1843 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
1846 2014-08-15 Yao Qi <yao@codesourcery.com>
1848 * gdb.cp/casts.exp: Set print symbol off.
1849 * gdb.cp/class2.exp: Likewise.
1850 * gdb.cp/overload.exp: Likewise.
1851 * gdb.cp/templates.exp: Likewise.
1853 2014-08-11 Doug Evans <dje@google.com>
1855 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1856 (test_load_shlib): Update.
1858 2014-08-09 Yao Qi <yao@codesourcery.com>
1860 * gdb.base/display.exp: Invoke is_address_zero_readable.
1861 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
1862 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1863 * gdb.base/hbreak-unmapped.exp: Return if
1864 is_address_zero_readable returns true.
1865 * gdb.base/signest.exp: Likewise.
1866 * gdb.base/signull.exp: Likewise.
1867 * gdb.base/sigbpt.exp: Likewise.
1868 * gdb.guile/scm-disasm.exp: Do the test if
1869 is_address_zero_readable returns false.
1870 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
1871 * gdb.python/py-arch.exp: Likewise.
1872 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
1873 * lib/gdb.exp (is_address_zero_readable): New proc.
1875 2014-08-09 Yao Qi <yao@codesourcery.com>
1878 * gdb.mi/mi-var-display.exp: Make test messages unique.
1880 2014-08-04 Tom Tromey <tromey@redhat.com>
1882 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
1885 2014-08-04 Tom Tromey <tromey@redhat.com>
1887 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
1890 2014-08-01 Joel Brobecker <brobecker@adacore.com>
1892 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
1893 inner_vla_struct_object_size.
1894 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
1897 2014-07-30 Pedro Alves <palves@redhat.com>
1899 * gdb.threads/signal-command-handle-nopass.exp (test): Add
1902 2014-07-29 Yao Qi <yao@codesourcery.com>
1905 * gdb.base/until-nodebug.exp: New.
1907 2014-07-28 Doug Evans <xdje42@gmail.com>
1910 * gdb.guile/scm-parameter.exp: Add tests for trying to create
1911 previously existing parameter, and previously ambiguously spelled
1914 2014-07-28 Will Newton <will.newton@linaro.org>
1916 * gdb.base/varargs.exp: Remove KFAILs for ARM.
1918 2014-07-26 Ludovic Courtès <ludo@gnu.org>
1919 Doug Evans <xdje42@gmail.com>
1922 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
1924 2014-07-25 Pedro Alves <palves@redhat.com>
1926 * gdb.threads/signal-command-handle-nopass.c: New file.
1927 * gdb.threads/signal-command-handle-nopass.exp: New file.
1928 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
1929 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
1930 * gdb.threads/signal-delivered-right-thread.c: New file.
1931 * gdb.threads/signal-delivered-right-thread.exp: New file.
1933 2014-07-25 Pedro Alves <palves@redhat.com>
1935 * gdb.base/double-prompt-target-event-error.exp
1936 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
1938 (cancel_pagination_in_target_event): Rework double prompt
1940 * gdb.base/paginate-after-ctrl-c-running.exp
1941 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
1943 * gdb.base/paginate-bg-execution.exp
1944 (test_bg_execution_pagination_return)
1945 (test_bg_execution_pagination_cancel): Remove '-notransfer
1947 * gdb.base/paginate-execution-startup.exp
1948 (test_fg_execution_pagination_return)
1949 (test_fg_execution_pagination_cancel): Remove '-notransfer
1951 * gdb.base/paginate-inferior-exit.exp
1952 (test_paginate_inferior_exited): Remove '-notransfer <return>'
1954 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
1955 * lib/gdb.exp (pagination_prompt): Run text through
1957 (gdb_test_multiple): Match $pagination_prompt instead of
1959 (string_to_regexp): Move to lib/gdb-utils.exp.
1961 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1963 * gdb.arch/amd64-entry-value-paramref.S: New file.
1964 * gdb.arch/amd64-entry-value-paramref.cc: New file.
1965 * gdb.arch/amd64-entry-value-paramref.exp: New file.
1966 * gdb.arch/amd64-optimout-repeat.S: New file.
1967 * gdb.arch/amd64-optimout-repeat.c: New file.
1968 * gdb.arch/amd64-optimout-repeat.exp: New file.
1970 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1973 * gdb.base/statistics.exp: New file.
1975 2014-07-17 Doug Evans <dje@google.com>
1978 * gdb.base/maint.exp: Update testing of per-command stats.
1980 2014-07-16 Pedro Alves <palves@redhat.com>
1982 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
1983 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
1984 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
1985 (tfile_write_buf): New functions.
1986 (add_memory_block): Rewrite using the above.
1987 (adjust_function_address): New function.
1988 (FUNCTION_ADDRESS): New macro.
1989 (write_basic_trace_file): Remove short_x local, and use
1990 tfile_write_16. Change type of func_addr local to unsigned long
1991 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
1992 here. Cast argument of add_memory_block to char pointer.
1993 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
1994 (main): Remove parameters.
1995 * gdb.trace/tfile.exp: Remove nowarnings.
1997 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1999 * gdb.base/debug-expr.exp: Test string evaluation with
2000 "debug expression" on.
2002 2014-07-15 Pedro Alves <palves@redhat.com>
2004 * gdb.base/reread.exp: Use clean_restart.
2006 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
2008 * gdb.arch/avr-flash-qualifer.c: New.
2009 * gdb.arch/avr-flash-qualifer.exp: New.
2011 2014-07-14 Pedro Alves <palves@redhat.com>
2013 * gdb.base/paginate-after-ctrl-c-running.c: New file.
2014 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
2016 2014-07-14 Pedro Alves <palves@redhat.com>
2018 * gdb.base/double-prompt-target-event-error.c: New file.
2019 * gdb.base/double-prompt-target-event-error.exp: New file.
2021 2014-07-14 Pedro Alves <palves@redhat.com>
2024 * gdb.base/paginate-inferior-exit.c: New file.
2025 * gdb.base/paginate-inferior-exit.exp: New file.
2027 2014-07-14 Pedro Alves <palves@redhat.com>
2030 * gdb.base/paginate-bg-execution.c: New file.
2031 * gdb.base/paginate-bg-execution.exp: New file.
2033 2014-07-14 Pedro Alves <palves@redhat.com>
2036 * gdb.base/paginate-execution-startup.c: New file.
2037 * gdb.base/paginate-execution-startup.exp: New file.
2038 * lib/gdb.exp (pagination_prompt): New global.
2039 (default_gdb_spawn): New procedure, factored out from
2041 (default_gdb_start): Adjust to call default_gdb_spawn.
2042 (gdb_spawn): New procedure.
2044 2014-07-14 Pedro Alves <palves@redhat.com>
2046 * lib/gdb.exp (gdb_assert): New procedure.
2047 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
2049 2014-07-14 Pedro Alves <palves@redhat.com>
2051 * gdb.base/execution-termios.c: New file.
2052 * gdb.base/execution-termios.exp: New file.
2054 2014-07-14 Tom Tromey <tromey@redhat.com>
2056 * gdb.cp/vla-cxx.cc: New file.
2057 * gdb.cp/vla-cxx.exp: New file.
2059 2014-07-14 Tom Tromey <tromey@redhat.com>
2061 * gdb.reverse/rerun-prec.c: New file.
2062 * gdb.reverse/rerun-prec.exp: New file.
2064 2014-07-12 Maciej W. Rozycki <macro@mips.com>
2065 Maciej W. Rozycki <macro@codesourcery.com>
2067 * lib/gdb-utils.exp: New file.
2068 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
2069 inline `gdb_init_command' processing.
2070 (gdb_start_cmd): Likewise.
2071 * lib/mi-support.exp (mi_run_cmd): Likewise.
2072 * README: Document `gdb_init_command' and `gdb_init_commands'.
2074 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2076 Fix false FAIL running under a very long directory name.
2077 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
2078 and "set print elements 10000". Twice.
2080 2014-07-11 Yao Qi <yao@codesourcery.com>
2082 * gdb.base/exprs.exp: "set print symbol off".
2084 2014-07-11 Pedro Alves <palves@redhat.com>
2086 * gdb.threads/kill.c: New file.
2087 * gdb.threads/kill.exp: New file.
2089 2014-07-10 Yao Qi <yao@codesourcery.com>
2091 * gdb.trace/tfile.c (write_basic_trace_file)
2092 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
2093 address written to trace file.
2095 2014-07-09 Pedro Alves <palves@redhat.com>
2097 * gdb.base/attach-wait-input.exp: New file.
2098 * gdb.base/attach-wait-input.c: New file.
2100 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2102 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
2103 setting up test structures.
2104 (main): Call new test function.
2105 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
2106 test function, continue into test function and walk test
2109 2014-07-02 Yao Qi <yao@codesourcery.com>
2111 * gdb.trace/entry-values.c: Define labels 'foo_start' and
2112 'bar_start' at the beginning of functions 'foo' and 'bar'
2114 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
2115 instead of 'foo' and 'bar'.
2117 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
2119 * gdb.btrace/segv.exp: New.
2120 * gdb.btrace/segv.c: New.
2122 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
2124 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
2127 2014-06-30 Mark Wielaard <mjw@redhat.com>
2129 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
2130 vulture, vilify, villar): New volatile array constants.
2131 (vindictive, vegetation): New const volatile array constants.
2132 * gdb.base/volatile.exp: Test volatile and const volatile array
2135 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2137 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
2138 target lacks support for awatch, rwatch, or hbreak.
2140 2014-06-27 Yao Qi <yao@codesourcery.com>
2142 * gdb.multi/dummy-frame-restore.exp: New.
2143 * gdb.multi/dummy-frame-restore.c: New.
2145 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2147 * gdb.btrace/gcore.exp: New.
2149 2014-06-23 Pedro Alves <palves@redhat.com>
2151 * gdb.base/watchpoint-reuse-slot.c: New file.
2152 * gdb.base/watchpoint-reuse-slot.exp: New file.
2154 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
2156 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
2157 progspace's filename in 'info', 'enable' and 'disable' command
2160 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2162 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
2163 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2164 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
2166 2014-06-20 Gary Benson <gbenson@redhat.com>
2168 * gdb.arch/i386-avx.exp: Fix include file location.
2169 * gdb.arch/i386-sse.exp: Likewise.
2171 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
2173 * gdb.dlang/expression.exp: New file.
2175 2014-06-19 Pedro Alves <palves@redhat.com>
2177 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
2179 (top level): ... here. Iterate running tests under different
2180 scheduler-locking settings.
2182 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
2184 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
2185 to DW_FORM_addr and use non-zero addresses.
2187 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
2190 * gdb.python/py-xmethods.cc: Add global function call counters and
2191 increment them in their respective functions. Remove "cout"
2193 * gdb.python/py-xmethods.exp: Make tests check the global function
2194 call counters instead of depending on inferior IO.
2196 2014-06-18 Don Breazeal <donb@codesourcery.com>
2198 * gdb.base/foll-fork.exp (default_fork_parent_follow):
2200 (explicit_fork_parent_follow): Deleted procedure.
2201 (explicit_fork_child_follow): Deleted procedure.
2202 (test_follow_fork): New procedure.
2203 (do_fork_tests): Replace calls to deleted procedures with
2204 calls to test_follow_fork and reset GDB for subsequent
2207 2014-06-17 Yao Qi <yao@codesourcery.com>
2209 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
2212 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
2214 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
2215 Initialize ptr and S explicitly.
2216 (skip_type_update_when_not_use_rtti_test): Likewise.
2218 2014-06-16 Keith Seitz <keiths@redhat.com>
2221 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
2222 the inferior is started.
2224 2014-06-16 Pedro Alves <palves@redhat.com>
2226 * gdb.base/break-main-file-remove-fail.c: New file.
2227 * gdb.base/break-main-file-remove-fail.exp: New file.
2228 * gdb.base/break-unload-file.exp: Use build_executable instead of
2229 prepare_for_testing.
2230 (test_break): New parameter "initial_load". Handle it.
2231 (top level): Add initial_load cmdline/file axis.
2233 2014-06-12 Tom Tromey <tromey@redhat.com>
2235 * gdb.base/completion.exp: Don't use directory name in test.
2237 2014-06-09 Gary Benson <gbenson@redhat.com>
2239 * gdb.base/sigall.c [Functions to send signals]: Reorder to
2240 separate the always-available ANSI-standard signals from the
2241 signals that require checking.
2243 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
2247 2014-06-07 Keith Seitz <keiths@redhat.com>
2251 * gdb.cp/var-tag.cc: New file.
2252 * gdb.cp/var-tag.exp: New file.
2253 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2254 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2255 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2256 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2258 2014-06-06 Doug Evans <xdje42@gmail.com>
2260 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
2262 2014-06-06 Pedro Alves <palves@redhat.com>
2264 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
2265 in target debug output instead of looking at RSP packets,
2266 disabling the test on any target that uses hardware stepping.
2269 2014-06-06 Pedro Alves <palves@redhat.com>
2271 * gdb.base/break-unload-file.exp: Fix typo.
2273 2014-06-06 Yao Qi <yao@codesourcery.com>
2275 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
2276 from "jit_function" to "^jit_function".
2278 2014-06-06 Yao Qi <yao@codesourcery.com>
2280 * gdb.base/async.c (foo): Add one statement.
2281 * gdb.base/async.exp: Get the next instruction address and
2282 match the output of "nexti" by instruction address. Match
2283 the hex address in the output of "finish".
2285 2014-06-06 Gary Benson <gbenson@redhat.com>
2287 * gdb.base/call-signals.c: Remove preprocessor conditionals
2288 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
2289 SIGSEGV and SIGTERM.
2290 * gdb.base/sigall.c: Likewise.
2291 * gdb.base/unwindonsignal.c: Likewise.
2292 * gdb.reverse/sigall-reverse.c: Likewise.
2294 2014-06-06 Yao Qi <yao@codesourcery.com>
2296 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
2297 readable, skip the test.
2299 2014-06-06 Yao Qi <yao@codesourcery.com>
2301 * gdb.threads/staticthreads.c (thread_function): Move the line
2302 setting breakpoint on forward.
2303 * gdb.threads/staticthreads.exp: Update comments.
2305 2014-06-05 Ludovic Courtès <ludo@gnu.org>
2307 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
2308 "history-append! type error".
2310 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
2312 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
2313 erroneous dprintf expected input.
2315 2014-06-04 Doug Evans <xdje42@gmail.com>
2317 * gdb.guile/scm-generics.exp: Delete.
2319 2014-06-04 Doug Evans <xdje42@gmail.com>
2321 * gdb.guile/scm-breakpoint.exp: Update.
2322 Add tests for breakpoint registration.
2324 2014-06-04 Tom Tromey <tromey@redhat.com>
2326 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
2328 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
2329 inner_vla_struct, vla_union types. Initialize objects of those
2330 types and compute their sizes.
2332 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
2333 Hui Zhu <hui@codesourcery.com>
2335 * gdb.base/fileio.exp: Add test for shell not available as well as
2337 * gdb.base/fileio.c (test_system): Check for shell twice.
2339 2014-06-04 Yao Qi <yao@codesourcery.com>
2341 * gdb.base/auto-connect-native-target.exp: Remove redundant
2342 space from the regexp pattern.
2344 2014-06-04 Yao Qi <yao@codesourcery.com>
2346 * gdb.base/default.exp: Replace "child" with "native" in
2349 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
2351 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
2352 * gdb.python/py-xmethods.exp: New tests to test xmethods.
2353 * gdb.python/py-xmethods.py: Python script supporting the
2354 new testcase and tests.
2356 2014-06-03 Joel Brobecker <brobecker@adacore.com>
2357 Pedro Alves <palves@redhat.com>
2359 PR breakpoints/17000
2360 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
2361 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
2363 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
2365 * gdb.base/subst.exp: Add tests to verify partial path matching
2368 2014-06-03 Pedro Alves <palves@redhat.com>
2370 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
2371 target that doesn't use software single-stepping.
2373 2014-06-03 Pedro Alves <palves@redhat.com>
2375 PR breakpoints/17000
2376 * gdb.base/sss-bp-on-user-bp-2.c: New file.
2377 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
2379 2014-06-02 Doug Evans <xdje42@gmail.com>
2381 * gdb.guile/scm-parameter.exp: New file.
2383 2014-06-02 Doug Evans <xdje42@gmail.com>
2385 * gdb.guile/scm-cmd.c: New file.
2386 * gdb.guile/scm-cmd.exp: New file.
2388 2014-06-02 Doug Evans <xdje42@gmail.com>
2390 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
2391 pretty-printer lookup.
2392 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
2393 (make-pp_s-printer): Call it.
2394 (make-pretty-printer-from-dict): New function.
2395 (lookup-pretty-printer-maker-from-dict): New function.
2396 (*pretty-printer*): Simplify.
2397 (make-objfile-pp_s-printer): New function.
2398 (install-objfile-pretty-printers!): New function.
2399 (make-progspace-pp_s-printer): New function.
2400 (install-progspace-pretty-printers!): New function.
2401 * gdb.guile/scm-progspace.c: New file.
2402 * gdb.guile/scm-progspace.exp: New file.
2404 2014-06-02 Pedro Alves <palves@redhat.com>
2406 * gdb.base/dprintf-bp-same-addr.c: New file.
2407 * gdb.base/dprintf-bp-same-addr.exp: New file.
2409 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2411 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
2412 * gdb.arch/powerpc-power.s: Likewise.
2414 2014-06-02 Joel Brobecker <brobecker@adacore.com>
2416 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
2418 2014-06-01 Yao Qi <yao@codesourcery.com>
2420 * gdb.base/watchpoint.exp (test_watch_location): Check null
2421 pointer can be dereferenced. If not, do the test, otherwise
2424 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
2426 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
2428 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
2430 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
2432 * gdb.arch/amd64-invalid-stack-middle.S: New file.
2433 * gdb.arch/amd64-invalid-stack-middle.c: New file.
2434 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
2435 * gdb.arch/amd64-invalid-stack-top.c: New file.
2436 * gdb.arch/amd64-invalid-stack-top.exp: New file.
2438 2014-05-30 Pedro Alves <palves@redhat.com>
2440 PR breakpoints/17000
2441 * gdb.base/sss-bp-on-user-bp.c: New file.
2442 * gdb.base/sss-bp-on-user-bp.exp: New file.
2444 2014-05-30 David Blaikie <dblaikie@gmail.com>
2446 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
2447 gnu_inline semantics via attribute.
2448 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
2449 source explicitly specifies the required semantics.
2451 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
2453 * gdb.reverse/sigall-reverse.exp: Fix a typo.
2455 2014-05-29 Pedro Alves <palves@redhat.com>
2456 Tom Tromey <tromey@redhat.com>
2458 * gdb.base/async-shell.exp: Don't enable target-async.
2459 * gdb.base/async.exp
2460 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
2462 (top level): Don't test with "target-async".
2463 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
2464 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
2465 * gdb.base/inferior-died.exp: Don't enable target-async.
2466 * gdb.base/interrupt-noterm.exp: Likewise.
2467 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
2468 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2469 * gdb.mi/mi-nonstop.exp: Likewise.
2470 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2471 * gdb.mi/mi-nsintrall.exp: Likewise.
2472 * gdb.mi/mi-nsmoribund.exp: Likewise.
2473 * gdb.mi/mi-nsthrexec.exp: Likewise.
2474 * gdb.mi/mi-watch-nonstop.exp: Likewise.
2475 * gdb.multi/watchpoint-multi.exp: Adjust comment.
2476 * gdb.python/py-evsignal.exp: Don't enable target-async.
2477 * gdb.python/py-evthreads.exp: Likewise.
2478 * gdb.python/py-prompt.exp: Likewise.
2479 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
2480 * gdb.server/solib-list.exp: Don't enable target-async.
2481 * gdb.threads/thread-specific-bp.exp: Likewise.
2482 * lib/mi-support.exp: Adjust to use mi-async.
2484 2014-05-29 Pedro Alves <palves@redhat.com>
2487 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
2488 reason, even in sync mode.
2490 2014-05-29 Pedro Alves <palves@redhat.com>
2491 Hui Zhu <hui@codesourcery.com>
2494 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
2495 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
2496 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
2497 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
2499 2014-05-28 Joel Brobecker <brobecker@adacore.com>
2501 * config/monitor.exp (gdb_target_monitor): Replace use of
2502 "set remotebaud" by "set serial baud".
2504 2014-05-26 Andy Wingo <wingo@igalia.com>
2506 * gdb.guile/scm-breakpoint.exp:
2507 * gdb.guile/scm-gsmob.exp: Update to use plain old object
2508 properties instead of gdb-object-properties.
2510 2014-05-26 Yao Qi <yao@codesourcery.com>
2512 * gdb.server/no-thread-db.exp: Specify source file name
2513 explicitly when setting a breakpoint.
2515 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2517 * gdb.btrace/vdso.c: New.
2518 * gdb.btrace/vdso.exp: New.
2520 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2522 * gdb.base/gcore.exp (capture_command_output): Move ...
2523 * lib/gdb.exp (capture_command_output): ... here.
2525 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2527 * gdb.btrace/data.exp: Test memory access during btrace replay.
2529 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
2531 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
2533 2014-05-21 Pedro Alves <palves@redhat.com>
2536 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
2537 (top level): Test that output related to execution commands is
2538 sent to the console with CLI commands, but not with MI commands.
2539 Test that breakpoint events are always mirrored to the console.
2540 Also expect the new source line to be output after a "next" in
2541 async mode too. Make it a pass/fail test.
2542 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
2544 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
2546 2014-05-21 Pedro Alves <palves@redhat.com>
2548 * gdb.base/list.exp (build_pattern, test_list): New procedures.
2549 Use them to test variations of "list" after reaching a breakpoint.
2550 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
2551 Test "list" with listsize 10 after reaching a breakpoint.
2552 * gdb.python/python.exp (decode_line current location line
2553 number): Adjust expected line number.
2555 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
2557 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
2558 behavior for $args, pass it directly to "run".
2560 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
2562 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
2565 2014-05-21 Pedro Alves <palves@redhat.com>
2567 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
2568 auto-connect-native-target off".
2569 * gdb.base/auto-connect-native-target.c: New file.
2570 * gdb.base/auto-connect-native-target.exp: New file.
2572 2014-05-21 Pedro Alves <palves@redhat.com>
2574 * gdb.base/default.exp: Test "target native" instead of "target
2577 2014-05-21 Mark Wielaard <mjw@redhat.com>
2579 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2581 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2583 Fix TLS access for -static -pthread.
2584 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
2585 <HAVE_TLS> (thread_function, main): Initialize it.
2586 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
2588 <$have_tls != "">: Check TLSVAR.
2590 2014-05-21 Pedro Alves <palves@redhat.com>
2592 * gdb.base/dcache-line-read-error.c: New.
2593 * gdb.base/dcache-line-read-error.exp: New.
2595 2014-05-20 Pedro Alves <palves@redhat.com>
2597 * gdb.base/compare-sections.c: New file.
2598 * gdb.base/compare-sections.exp: New file.
2600 2014-05-20 Pedro Alves <palves@redhat.com>
2602 * gdb.base/break-idempotent.c: New file.
2603 * gdb.base/break-idempotent.exp: New file.
2605 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
2607 * gdb.btrace/nohist.exp: New.
2609 2014-05-20 Yao Qi <yao@codesourcery.com>
2611 * lib/gdb.exp (gdb_init): Set timeout if test file is under
2612 gdb.reverse directory and gdb_reverse_timeout exists in board
2614 * README: Document gdb_reverse_timeout.
2616 2014-05-20 Yao Qi <yao@codesourcery.com>
2618 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
2619 'test_file_name'. Treat args as a string instead of a list.
2620 (gdb_init): Rename argument 'args' by 'test_file_name'.
2622 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2624 * gdb.arch/powerpc-power.exp: New file.
2625 * gdb.arch/powerpc-power.s: New file.
2627 2014-05-16 Doug Evans <dje@google.com>
2629 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
2630 * gdb.base/completion.exp: Check that all expected files exist
2631 before doing file completion.
2633 2014-05-16 Doug Evans <dje@google.com>
2635 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
2637 (do_syscall_tests_without_xml): Update.
2639 2014-05-16 Pedro Alves <palves@redhat.com>
2641 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
2642 instead of "unknown output after running".
2644 2014-05-16 Yao Qi <yao@codesourcery.com>
2646 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
2647 file1.txt from host at the end.
2648 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2650 2014-05-15 Doug Evans <dje@google.com>
2652 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
2653 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
2654 loading file. Add test for TU lookup.
2656 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2658 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
2659 calling "-exec-arguments" or "set args" before running the
2662 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2664 * lib/mi-support.exp (mi_expect_stop): Expect message for
2665 inferiors that exit with non-zero exit code.
2667 2014-05-14 Yao Qi <yao@codesourcery.com>
2669 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
2670 match absolute path on remote host.
2671 (test_file_list_exec_source_files): Remove "/" from the
2674 2014-05-14 Yao Qi <yao@codesourcery.com>
2676 * boards/local-remote-host-notty.exp (${board}_file): New
2679 2014-05-07 Kyle McMartin <kyle@redhat.com>
2681 Pushed by Joel Brobecker <brobecker@adacore.com>.
2682 * gdb.arch/aarch64-atomic-inst.c: New file.
2683 * gdb.arch/aarch64-atomic-inst.exp: New file.
2685 2014-05-07 Yao Qi <yao@codesourcery.com>
2687 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
2688 in current context" too.
2690 2014-05-05 Keith Seitz <keiths@redhat.com>
2692 * gdb.linespec/ls-dollar.exp: Add test for linespec
2693 file:convenience_variable.
2695 2014-05-05 Yao Qi <yao@codesourcery.com>
2697 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
2698 traceframes into tfile and ctf trace files. Read data from
2699 trace file and test collected data.
2700 (gdb_collect_locals_test): Likewise.
2701 (gdb_unavailable_registers_test): Likewise.
2702 (gdb_unavailable_floats): Likewise.
2703 (gdb_collect_globals_test): Likewise.
2704 (top-level): Append "ctf" to trace_file_targets if GDB
2707 2014-05-05 Yao Qi <yao@codesourcery.com>
2709 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
2711 (gdb_collect_args_test_1): ... it. New proc.
2712 (gdb_collect_locals_test): Move some code to ...
2713 (gdb_collect_locals_test_1): ... it. New proc.
2714 (gdb_unavailable_registers_test): Move some code to ...
2715 (gdb_unavailable_registers_test_1): ... it. New proc.
2716 (gdb_unavailable_floats): Move some code to ...
2717 (gdb_unavailable_floats_1): ... it. New proc.
2719 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2721 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
2722 probes to test for bitness recognition.
2723 * gdb.arch/amd64-stap-optional-prefix.exp
2724 (test_probe_value_without_reg): New procedure.
2725 Add code to test for different kinds of bitness.
2727 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2729 PR breakpoints/16889
2730 * gdb.arch/amd64-stap-optional-prefix.S: New file.
2731 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2733 2014-05-01 Pedro Alves <palves@redhat.com>
2735 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
2736 gdb_file_cmd if no file is specified.
2737 * boards/native-extended-gdbserver.exp (gdb_load): Use the
2738 last_loaded_file to set the remote exec-file.
2740 2014-05-01 Pedro Alves <palves@redhat.com>
2742 * boards/local-remote-host.exp: New file.
2744 2014-05-01 Pedro Alves <palves@redhat.com>
2746 * boards/local-remote-host.exp: Rename to ...
2747 * boards/local-remote-host-notty.exp: ... this.
2749 2014-04-28 Joel Brobecker <brobecker@adacore.com>
2751 * gdb.ada/dyn_arrayidx: New testcase.
2753 2014-04-26 Yao Qi <yao@codesourcery.com>
2755 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
2756 and compute the length of function main. Save it in
2758 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
2759 (top-level): Use gdb_compile to compile objects into
2760 executable and restart GDB. Remove invocation to
2761 prepare_for_testing.
2763 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
2764 Pedro Alves <palves@redhat.com>
2767 * gdb.multi/multi-attach.c: New file.
2768 * gdb.multi/multi-attach.exp: New file.
2770 2014-04-25 Pedro Alves <palves@redhat.com>
2772 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
2774 (top level): Test that "set remote conditional-breakpoints-packet
2775 off" works as intended.
2776 * gdb.base/dprintf.exp: Test that "set remote
2777 breakpoint-commands-packet off" works as intended.
2778 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
2780 (top level): Call it.
2781 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
2782 remote fast-tracepoints-packet off" works as intended.
2783 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
2784 * lib/gdb.exp (gdb_is_target_remote): ... here.
2786 2014-04-24 David Blaikie <dblaikie@gmail.com>
2788 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
2789 ensure clang would not discard them.
2790 * gdb.base/gdbvars.c: Ditto.
2791 * gdb.base/memattr.c: Ditto.
2792 * gdb.base/whatis.c: Ditto.
2793 * gdb.python/py-prettyprint.c: Ditto.
2794 * gdb.trace/actions.c: Ditto.
2795 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
2796 ensure clang would not discard it.
2798 2014-04-24 David Blaikie <dblaikie@gmail.com>
2800 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
2801 clang to emit the full definition of type required by the test
2802 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
2804 2014-04-24 David Blaikie <dblaikie@gmail.com>
2806 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
2807 coax Clang into emitting the definition of the type.
2808 * gdb.cp/pr10728-x.h (y): Ditto.
2809 * gdb.cp/pr10728-y.cc (y): Ditto.
2811 2014-04-24 David Blaikie <dblaikie@gmail.com>
2813 * gdb.base/label.exp: XFAIL label related tests under Clang.
2814 * gdb.cp/cplabel.exp: Ditto.
2815 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
2816 under Clang those using labels.
2818 2014-04-25 Yao Qi <yao@codesourcery.com>
2820 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
2822 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
2823 partial_label and double_label.
2825 2014-04-24 David Blaikie <dblaikie@gmail.com>
2827 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
2829 2014-04-24 David Blaikie <dblaikie@gmail.com>
2831 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
2832 of the function to work across GCC and Clang.
2833 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
2834 pointer types (const void ** const V void **).
2836 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
2837 Walfred Tedeschi <walfred.tedeschi@intel.com>
2839 * Makefile.in (EXECUTABLES): Added i386-avx512.
2840 * gdb.arch/i386-avx512.c: New file.
2841 * gdb.arch/i386-avx512.exp: Likewise.
2843 2014-04-23 Keith Seitz <keiths@redhat.com>
2845 * lib/mi-support.exp (mi_list_breakpoints): Delete.
2846 (mi_make_breakpoint_table): New procedure.
2847 (mi_create_breakpoint): Use mi_make_breakpoint
2848 and return the result.
2849 (mi_make_breakpoint): New procedure.
2850 (mi_build_kv_pairs): New procedure.
2852 * gdb.mi/mi-break.exp: Remove unused globals,
2853 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
2854 All callers updated.
2855 * gdb.mi/mi-dprintf.exp: Use variable to track command
2857 Update all callers of mi_create_breakpoint and use
2858 mi_make_breakpoint_table.
2859 Remove any unused global variables.
2860 * gdb.mi/mi-nonstop.exp: Likewise.
2861 * gdb.mi/mi-nsintrall.exp: Likewise.
2862 * gdb.mi/mi-nsmoribund.exp: Likewise.
2863 * gdb.mi/mi-nsthrexec.exp: Likewise.
2864 * gdb.mi/mi-reverse.exp: Likewise.
2865 * gdb.mi/mi-simplerun.exp: Likewise.
2866 * gdb.mi/mi-stepn.exp: Likewise.
2867 * gdb.mi/mi-syn-frame.exp: Likewise.
2868 * gdb.mi/mi-until.exp: Likewise.
2869 * gdb.mi/mi-var-cp.exp: Likewise.
2870 * gdb.mi/mi-var-display.exp: Likewise.
2871 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2872 * gdb.mi/mi2-var-child.exp: Likewise.
2873 * gdb.mi/mi-vla-c99.exp: Likewise.
2874 * lib/mi-support.exp: Likewise.
2876 From Ian Lance Taylor <iant@cygnus.com>:
2877 * lib/gdb.exp (parse_args): New procedure.
2879 2014-04-23 Pedro Alves <palves@redhat.com>
2881 * gdb.base/break-unload-file.c: New file.
2882 * gdb.base/break-unload-file.exp: New file.
2883 * gdb.base/sym-file-lib.c (baz): New function.
2884 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
2886 (load): Store the segment's mapped size.
2887 (unload): New function.
2888 (unload_shlib): New function.
2889 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
2890 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
2891 set a breakpoint at baz, and call it.
2892 * gdb.base/sym-file.exp: New tests for stale breakpoint
2895 2014-04-23 Pedro Alves <palves@redhat.com>
2897 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
2898 * gdb.base/hbreak-in-shr-unsupported.c: New file.
2899 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
2900 * gdb.base/hbreak-unmapped.c: New file.
2901 * gdb.base/hbreak-unmapped.exp: New file.
2902 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
2903 * lib/gdb.exp (gdb_is_target_remote): ... here.
2905 2014-04-22 Pedro Alves <palves@redhat.com>
2907 * gdb.base/consecutive-step-over.c: New file.
2908 * gdb.base/consecutive-step-over.exp: New file.
2910 2014-04-22 Pedro Alves <palves@redhat.com>
2912 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
2913 instead of send_gdb/gdb_expect.
2915 2014-04-22 Yao Qi <yao@codesourcery.com>
2917 * lib/trace-support.exp (generate_tracefile): New procedure.
2918 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
2920 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
2921 if generate_tracefile returns 1.
2923 2014-04-18 Tom Tromey <palves@redhat.com>
2924 Pedro alves <tromey@redhat.com>
2927 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
2928 with a backtrace limit.
2929 * gdb.python/py-frame-inline.exp: Test running to an inline
2930 function with a backtrace limit, and printing the newest frame.
2931 * gdb.python/py-frame-inline.c (main): Call f.
2933 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2935 * gdb.java/jnpe.exp: Drop srcdir from untested path.
2937 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2939 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
2940 Drop prefix from unsupported source file path.
2942 2014-04-17 Yao Qi <yao@codesourcery.com>
2944 * lib/gdb.exp (with_target_charset): New proc.
2945 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
2946 with_target_charset.
2947 (test_print_strings): Likewise.
2948 (test_repeat_bytes): Likewise.
2949 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
2952 2014-04-16 Keith Seitz <keiths@redhat.com>
2955 * gdb.dwarf2/corrupt.c: New file.
2956 * gdb.dwarf2/corrupt.exp: New file.
2958 2014-04-16 Keith Seitz <keiths@redhat.com>
2961 * gdb.cp/namelessclass.cc: New file.
2962 * gdb.cp/namelessclass.exp: New file.
2963 * gdb.cp/namelessclass.S: New file.
2965 2014-04-16 Doug Evans <dje@google.com>
2967 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
2969 (gdbserver_default_get_comm_port): New function.
2970 (gdbserver_start): Check if board file provided
2971 "gdbserver,get_comm_port" and use it if so.
2972 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
2973 (gdb,socketport): Set to "stdio".
2974 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
2975 (stdio_gdbserver_template): Delete.
2976 (${board}_get_remote_address): Update.
2977 (${board}_build_remote_cmd): Delete.
2978 (${board}_get_comm_port): New function.
2979 (${board}_spawn): Update.
2980 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
2982 (${board}_get_remote_address): Update.
2983 (${board}_get_comm_port): New function.
2985 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
2987 * gdb.base/memattr.exp: Improve regexps to handle memory regions
2988 appearing in any order.
2990 2014-04-15 Doug Evans <dje@google.com>
2992 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
2993 uninitialized value of "description".
2995 2014-04-15 Keith Seitz <keiths@redhat.com>
2997 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
2998 Remove unused globals.
2999 (test_running_the_program): Likewise.
3000 (test_controlled_execution): Likewise.
3001 (test_controlling_breakpoints): Likewise.
3002 (test_program_termination): Likewise.
3004 2014-04-15 Keith Seitz <keiths@redhat.com>
3006 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
3008 (test_rbreak_creation_and_listing): Likewise.
3009 (test_ignore_count): Likewise.
3010 (test_error): Likewise.
3012 2014-04-15 Pedro Alves <palves@redhat.com>
3014 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
3015 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
3017 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3018 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3019 to sym-file-loader.c.
3020 (struct library): Forward declare.
3021 (load_shlib, lookup_function): Change prototypes.
3022 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3023 (translate_offset): Remove declarations.
3024 (get_text_addr): New declaration.
3025 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
3026 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
3028 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3029 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3030 here from sym-file-loader.h.
3031 (struct library): New structure.
3032 (load_shlib, lookup_function): Change prototypes and adjust to
3033 work with a struct library.
3034 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3035 (translate_offset): Make static.
3036 (get_text_addr): New function.
3037 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
3039 2014-04-15 Pedro Alves <palves@redhat.com>
3041 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
3043 2014-04-15 Pedro Alves <palves@redhat.com>
3045 * gdb.base/sym-file-loader.c: Include <limits.h>.
3046 (SELF_LINK): New define.
3047 (get_origin): New function.
3048 (load_shlib): Use it.
3049 * gdb.base/sym-file.exp: Don't early return if the target is
3050 remote. Use runto_main, and issue fail is that fails. Use
3052 (shlib_name): Delete.
3053 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
3055 2014-04-15 Pedro Alves <palves@redhat.com>
3057 * gdb.base/sym-file.exp: Remove regex characters from test
3058 message. Don't refer to breakpoint numbers in test messages.
3060 2014-04-14 Keith Seitz <keiths@redhat.com>
3063 * gdb.cp/var-tag.cc: New file.
3064 * gdb.cp/var-tag.exp: New file.
3065 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3066 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3067 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3068 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3070 2014-04-14 Tom Tromey <tromey@redhat.com>
3072 * gdb.cp/classes.exp (test_enums): Handle underlying type.
3073 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
3075 * gdb.cp/enum-class.exp: New file.
3076 * gdb.cp/enum-class.cc: New file.
3078 2014-04-14 Tom Tromey <tromey@redhat.com>
3080 * gdb.dwarf2/enum-type.exp: New file.
3082 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3084 * gdb.mi/mi-vla-c99.exp: New file.
3085 * gdb.mi/vla.c: New file.
3087 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3089 * gdb.base/vla-datatypes.c: New file.
3090 * gdb.base/vla-datatypes.exp: New file.
3092 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3094 * gdb.base/vla-ptr.c: New file.
3095 * gdb.base/vla-ptr.exp: New file.
3097 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3099 * gdb.dwarf2/count.exp: New file.
3101 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3103 * gdb.base/vla-sideeffect.c: New file.
3104 * gdb.base/vla-sideeffect.exp: New file.
3106 2014-04-14 David Blaikie <dblaikie@gmail.com>
3108 * gdb.mi/non-stop.c: Add return value for non-void function return
3110 * gdb.threads/staticthreads.c: Ditto.
3112 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
3113 Doug Evans <xdje42@gmail.com>
3115 * gdb.guile/scm-value.c: Improve test case.
3116 * gdb.guile/scm-value.exp: Add new test.
3118 2014-04-11 David Blaikie <dblaikie@gmail.com>
3120 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
3121 override Clang's default.
3123 2014-04-11 Joel Brobecker <brobecker@adacore.com>
3125 Revert the following changes (regressions):
3127 * gdb.base/vla-sideeffect.c: New file.
3128 * gdb.base/vla-sideeffect.exp: New file.
3130 * gdb.dwarf2/count.exp: New file.
3132 * gdb.base/vla-multi.c: New file.
3133 * gdb.base/vla-multi.exp: New file.
3135 * gdb.base/vla-ptr.c: New file.
3136 * gdb.base/vla-ptr.exp: New file.
3138 * gdb.base/vla-datatypes.c: New file.
3139 * gdb.base/vla-datatypes.exp: New file.
3141 * gdb.mi/mi-vla-c99.exp: New file.
3142 * gdb.mi/vla.c: New file.
3144 2014-04-11 Keith Seitz <keiths@redhat.com>
3147 * gdb.cp/cpsizeof.exp: New file.
3148 * gdb.cp/cpsizeof.cc: New file.
3150 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3152 * gdb.mi/mi-vla-c99.exp: New file.
3153 * gdb.mi/vla.c: New file.
3155 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3157 * gdb.base/vla-datatypes.c: New file.
3158 * gdb.base/vla-datatypes.exp: New file.
3160 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3162 * gdb.base/vla-ptr.c: New file.
3163 * gdb.base/vla-ptr.exp: New file.
3165 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3167 * gdb.base/vla-multi.c: New file.
3168 * gdb.base/vla-multi.exp: New file.
3170 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3172 * gdb.dwarf2/count.exp: New file.
3174 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3176 * gdb.base/vla-sideeffect.c: New file.
3177 * gdb.base/vla-sideeffect.exp: New file.
3179 2014-04-11 Yao Qi <yao@codesourcery.com>
3181 * gdb.base/completion.exp: Check file exists before running tests
3184 2014-04-10 Pedro Alves <palves@redhat.com>
3186 * gdb.base/cond-eval-mode.c: New file.
3187 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
3188 prepare_for_testing to build the new file. Check result of
3190 (test_break, test_watch): New procedures.
3191 (top level): Use them.
3193 2014-04-08 Pierre Muller <muller@sourceware.org>
3195 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
3196 Ctrl-V use for mingw hosts.
3198 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
3200 * gdb.python/py-value.c: Improve test case.
3201 * gdb.python/py-value.exp: Add new test.
3203 2014-04-07 David Blaikie <dblaikie@gmail.com>
3205 * lib/compiler.c: Identify the clang compiler.
3206 * lib/compiler.cc: Ditto.
3208 2014-04-03 Yao Qi <yao@codesourcery.com>
3210 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
3212 2014-04-01 Anton Blanchard <anton@samba.org>
3214 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
3217 2014-04-01 Anton Blanchard <anton@samba.org>
3219 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
3220 prepare_for_testing.
3222 2014-04-01 Anton Blanchard <anton@samba.org>
3224 * gdb.arch/ppc64-atomic-inst.c: Remove.
3225 * gdb.arch/ppc64-atomic-inst.S: New file.
3226 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
3228 2014-03-31 Doug Evans <dje@google.com>
3230 * gdb.base/print-symbol-loading-lib.c: New file.
3231 * gdb.base/print-symbol-loading-main.c: New file.
3232 * gdb.base/print-symbol-loading.exp: New file.
3234 2014-03-31 Yao Qi <yao@codesourcery.com>
3236 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
3238 2014-03-28 Joel Brobecker <brobecker@adacore.com>
3240 * gdb.ada/mi_dyn_arr: New testcase.
3242 2014-03-27 Doug Evans <dje@google.com>
3244 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
3246 2014-03-27 Yao Qi <yao@codesourcery.com>
3248 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
3249 if target is nios2-*-*.
3251 2014-03-26 Yao Qi <yao@codesourcery.com>
3253 * lib/gdb.exp (readline_is_used): New proc.
3254 * gdb.base/completion.exp: Move tests on command complete up.
3255 Skip the rest of tests if readline is not used.
3256 * gdb.ada/complete.exp: Skp the test if readline is not
3258 * gdb.base/filesym.exp: Likewise.
3259 * gdb.base/macscp.exp: Likewise.
3260 * gdb.base/readline-ask.exp: Likewise.
3261 * gdb.base/readline.exp: Likewise.
3262 * gdb.python/py-cmd.exp: Likewise.
3263 * gdb.trace/tfile.exp: Likewise.
3265 2014-03-26 Yao Qi <yao@codesourcery.com>
3267 * gdb.base/macscp.exp: Fix code format issues.
3269 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
3271 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
3272 * gdb.asm/powerpc64le.inc: New file.
3274 2014-03-25 Pedro Alves <palves@redhat.com>
3275 Doug Evans <dje@google.com>
3277 * gdb.base/source-execution.c: New file.
3278 * gdb.base/source-execution.exp: New file.
3279 * gdb.base/source-execution.gdb: New file.
3281 2014-03-24 Doug Evans <dje@google.com>
3283 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
3286 2014-03-24 Hui Zhu <hui@codesourcery.com>
3287 Pedro Alves <palves@redhat.com>
3289 PR breakpoints/16101
3290 * gdb.base/dprintf.exp: Use unsupported rather than changing the
3291 test pass/fail messages. Detect missing support for dprintf when
3292 breakpoints are actually inserted.
3293 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
3294 breakpoints are actually inserted.
3295 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
3298 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3300 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
3302 2014-03-22 Doug Evans <xdje42@gmail.com>
3304 * gdb.python/python.exp (python not supported): Verify multi-line
3305 python command issues an error.
3306 * gdb.guile/guile.exp (guile not supported): Verify multi-line
3307 guile command issues an error.
3309 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
3311 * gdb.threads/thread-specific.exp: Handle the lack of usable
3312 $this_breakpoint and $this_thread.
3314 2014-03-21 Hui Zhu <hui@codesourcery.com>
3316 * gdb.base/attach.exp (do_command_attach_tests): New.
3318 2014-03-20 Tom Tromey <tromey@redhat.com>
3319 Pedro Alves <palves@redhat.com>
3322 * gdb.base/condbreak-call-false.c: New file.
3323 * gdb.base/condbreak-call-false.exp: New file.
3325 2014-03-20 Pedro Alves <palves@redhat.com>
3327 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
3329 (block_signals, unblock_signals): Delete.
3330 (child_function_2, main): Remove references to deleted variable
3333 2014-03-20 Pedro Alves <palves@redhat.com>
3335 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
3336 Use pthread_kill to signal thread 2.
3337 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3338 Adjust to make the test send itself a signal rather than using the
3339 host's "kill" command.
3341 2014-03-20 Pedro Alves <palves@redhat.com>
3343 * gdb.threads/multiple-step-overs.c: New file.
3344 * gdb.threads/multiple-step-overs.exp: New file.
3345 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3346 Adjust expected infrun debug output.
3348 2014-03-20 Pedro Alves <palves@redhat.com>
3350 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
3351 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
3353 2014-03-20 Pedro Alves <palves@redhat.com>
3356 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
3357 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
3358 of gdb_test_multiple.
3359 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
3360 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
3362 2014-03-20 Pedro Alves <palves@redhat.com>
3364 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
3365 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
3367 2014-03-19 Pedro Alves <palves@redhat.com>
3369 * gdb.base/async.exp: Remove early return.
3371 2014-03-19 Pedro Alves <palves@redhat.com>
3373 * gdb.base/async.exp (step& tests): Pass explicit test messages.
3375 2014-03-19 Pedro Alves <palves@redhat.com>
3377 * gdb.base/async.exp (test_background): Expect \r\n after
3378 "completed." in the fail pattern.
3380 2014-03-19 Pedro Alves <palves@redhat.com>
3382 * gdb.base/async.exp (test_background): New procedure.
3383 Use it for all background execution command tests.
3385 2014-03-19 Pedro Alves <palves@redhat.com>
3387 * gdb.base/async.exp: Use prepare_for_testing.
3389 2014-03-19 Pedro Alves <palves@redhat.com>
3391 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
3394 2014-03-19 Pedro Alves <palves@redhat.com>
3396 * gdb.base/async.c (main): Add "jump here" and "until here" line
3398 * gdb.base/async.exp (jump_here): New global.
3399 (jump& test): Use it.
3400 (until_here): New global.
3401 (until& test): Use it.
3403 2014-03-19 Pedro Alves <palves@redhat.com>
3405 * gdb.base/async.exp: Don't frob gdb_protocol.
3407 2014-03-18 Doug Evans <xdje42@gmail.com>
3409 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
3410 Fix spelling of exec-done-display.
3412 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3415 * gdb.base/gdb-sigterm.c: New file.
3416 * gdb.base/gdb-sigterm.exp: New file.
3418 2014-03-18 Pedro Alves <palves@redhat.com>
3421 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
3422 * lib/mi-support.exp (mi_expect_stop): Add special handling for
3425 2014-03-17 Joel Brobecker <brobecker@adacore.com>
3427 * gdb.ada/pckd_arr_ren: New testcase.
3429 2014-03-13 Doug Evans <xdje42@gmail.com>
3432 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
3433 collect after discarding symbols.
3435 2014-03-13 Ludovic Courtès <ludo@gnu.org>
3436 Doug Evans <xdje42@gmail.com>
3438 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
3439 to history survives a gc.
3441 2014-03-13 Pedro Alves <palves@redhat.com>
3443 * gdb.base/default.exp: Don't test "target procfs".
3445 2014-03-13 Pedro Alves <palves@redhat.com>
3447 * gdb.base/default.exp: Update "target child" and "target procfs"
3448 tests to not expect "Unix".
3450 2014-03-12 Tom Tromey <tromey@redhat.com>
3452 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
3453 New procs. Add target-async tests.
3454 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
3455 Add target-async tests.
3457 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3459 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
3460 'func_start' and 'func_end' for the beginning and end of the
3461 function code, respectively.
3462 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
3463 'func_end' instead of 'func' and 'main'.
3465 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3467 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
3468 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
3469 generate the debug info assembler source.
3471 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3473 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
3474 * gdb.dwarf2/arr-subrange.exp: Likewise.
3475 * gdb.dwarf2/dwz.exp: Likewise.
3476 * gdb.dwarf2/method-ptr.exp: Likewise.
3477 * gdb.dwarf2/missing-sig-type.exp: Likewise.
3478 * gdb.dwarf2/subrange.exp: Likewise.
3479 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
3480 * gdb.dwarf2/implptrpiece.exp: Likewise.
3481 * gdb.dwarf2/nostaticblock.exp: Likewise.
3483 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3485 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
3486 directory to absolute path name arguments.
3488 2014-03-10 Joel Brobecker <brobecker@adacore.com>
3490 * gdb.ada/tagged_access: New testcase.
3492 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
3494 * gdb.btrace/data.exp: Update expected output.
3496 2014-03-06 Yao Qi <yao@codesourcery.com>
3498 * gdb.trace/pr16508.exp: New file.
3500 2014-03-05 Pedro Alves <palves@redhat.com>
3503 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
3505 (top level): Adjust to use it. Add tests that exercise breakpoint
3506 interaction with the code-cache.
3508 2014-02-26 Ludovic Courtès <ludo@gnu.org>
3510 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
3511 test for 'history-append!'.
3513 2014-02-26 Joel Brobecker <brobecker@adacore.com>
3515 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
3516 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
3517 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
3518 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
3519 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
3520 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
3522 2014-02-26 Joel Brobecker <brobecker@adacore.com>
3524 * testsuite/gdb.python/py-pp-re-notag.c: New file.
3525 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
3526 * testsuite/gdb.python/py-pp-re-notag.p: New file.
3528 2014-02-26 Joel Brobecker <brobecker@adacore.com>
3530 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
3532 2014-02-26 Joel Brobecker <brobecker@adacore.com>
3534 * gdb.dwarf2/arr-stride.c: New file.
3535 * gdb.dwarf2/arr-stride.exp: New file.
3537 2014-02-26 Pedro Alves <palves@redhat.com>
3539 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
3540 that won't ever trigger. Make sure that GDB reports the correct
3541 breakpoint that caused the stop.
3543 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3546 * gdb.base/auto-load-script: New file.
3547 * gdb.base/auto-load.c: New file.
3548 * gdb.base/auto-load.exp: New file.
3551 * gdb.base/auto-load.exp: Fix out-of-srctree run.
3553 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3555 Fix dw2-icycle.exp -fsanitize=address GDB crash.
3556 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
3558 2014-02-24 Doug Evans <dje@google.com>
3560 * lib/gdb.exp (run_on_host): Log error output if program fails.
3562 2014-02-21 Pedro Alves <palves@redhat.com>
3564 * gdb.threads/step-after-sr-lock.c: Rename to ...
3565 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
3566 * gdb.threads/step-after-sr-lock.exp: Rename to ...
3567 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3570 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
3573 * gdb.arch/amd64-stap-special-operands.exp: New file.
3574 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
3575 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
3576 * gdb.arch/amd64-stap-triplet.S: Likewise.
3577 * gdb.arch/amd64-stap-triplet.c: Likewise.
3579 2014-02-20 Joel Brobecker <brobecker@adacore.com>
3581 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
3582 in .section pseudo-op.
3584 2014-02-20 lin zuojian <manjian2006@gmail.com>
3585 Joel Brobecker <brobecker@adacore.com>
3586 Doug Evans <xdje42@gmail.com>
3589 * gdb.dwarf2/dw2-icycle.S: New file.
3590 * gdb.dwarf2/dw2-icycle.c: New file.
3591 * gdb.dwarf2/dw2-icycle.exp: New file.
3593 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
3595 * gdb.python/py-value-cc.cc: Improve test case to enable testing
3596 operations on gdb.Value objects.
3597 * gdb.python/py-value-cc.exp: Add new test to test operations on
3600 2014-02-18 Doug Evans <dje@google.com>
3602 * Makefile.in (TESTS): New variable.
3603 (expanded_tests, expanded_tests_or_none): New variables
3604 (check-single): Pass $(expanded_tests_or_none) to runtest.
3605 (check-parallel): Only run tests in $(TESTS) if non-empty.
3606 (check/no-matching-tests-found): New rule.
3607 * README: Document TESTS makefile variable.
3609 2014-02-18 Doug Evans <dje@google.com>
3611 * Makefile.in (check-parallel): rm -rf outputs temp.
3613 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3615 Fix "ERROR: no fileid for" in the testsuite.
3616 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
3618 2014-02-12 Doug Evans <dje@google.com>
3620 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
3621 (MISCELLANEOUS): New variable.
3622 (clean): rm -rf $(MISCELLANEOUS).
3623 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
3624 dwp live in the same directory as symlinks, with each symlink pointed
3625 to a differently named file in a different directory.
3627 2014-02-11 Doug Evans <dje@google.com>
3629 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
3630 of Tcl file commands.
3632 2014-02-10 Mark Kettenis <kettenis@gnu.org>
3634 * gdb.threads/step-after-sr-lock.exp: Avoid executing
3637 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3639 * gdb.ada/tick_length_array_enum_idx: New testcase.
3641 2014-02-10 Doug Evans <xdje42@gmail.com>
3643 * configure.ac (AC_OUTPUT): Add gdb.guile.
3644 * configure: Regenerate.
3645 * lib/gdb-guile.exp: New file.
3646 * lib/gdb.exp (get_target_charset): New function.
3647 * gdb.base/help.exp: Update expected output from "apropos apropos".
3648 * gdb.guile/Makefile.in: New file.
3649 * gdb.guile/guile.exp: New file.
3650 * gdb.guile/scm-arch.c: New file.
3651 * gdb.guile/scm-arch.exp: New file.
3652 * gdb.guile/scm-block.c: New file.
3653 * gdb.guile/scm-block.exp: New file.
3654 * gdb.guile/scm-breakpoint.c: New file.
3655 * gdb.guile/scm-breakpoint.exp: New file.
3656 * gdb.guile/scm-disasm.c: New file.
3657 * gdb.guile/scm-disasm.exp: New file.
3658 * gdb.guile/scm-equal.c: New file.
3659 * gdb.guile/scm-equal.exp: New file.
3660 * gdb.guile/scm-error.exp: New file.
3661 * gdb.guile/scm-error.scm: New file.
3662 * gdb.guile/scm-frame-args.c: New file.
3663 * gdb.guile/scm-frame-args.exp: New file.
3664 * gdb.guile/scm-frame-args.scm: New file.
3665 * gdb.guile/scm-frame-inline.c: New file.
3666 * gdb.guile/scm-frame-inline.exp: New file.
3667 * gdb.guile/scm-frame.c: New file.
3668 * gdb.guile/scm-frame.exp: New file.
3669 * gdb.guile/scm-generics.exp: New file.
3670 * gdb.guile/scm-gsmob.exp: New file.
3671 * gdb.guile/scm-iterator.c: New file.
3672 * gdb.guile/scm-iterator.exp: New file.
3673 * gdb.guile/scm-math.c: New file.
3674 * gdb.guile/scm-math.exp: New file.
3675 * gdb.guile/scm-objfile-script-gdb.in: New file.
3676 * gdb.guile/scm-objfile-script.c: New file.
3677 * gdb.guile/scm-objfile-script.exp: New file.
3678 * gdb.guile/scm-objfile.c: New file.
3679 * gdb.guile/scm-objfile.exp: New file.
3680 * gdb.guile/scm-ports.exp: New file.
3681 * gdb.guile/scm-pretty-print.c: New file.
3682 * gdb.guile/scm-pretty-print.exp: New file.
3683 * gdb.guile/scm-pretty-print.scm: New file.
3684 * gdb.guile/scm-section-script.c: New file.
3685 * gdb.guile/scm-section-script.exp: New file.
3686 * gdb.guile/scm-section-script.scm: New file.
3687 * gdb.guile/scm-symbol.c: New file.
3688 * gdb.guile/scm-symbol.exp: New file.
3689 * gdb.guile/scm-symtab-2.c: New file.
3690 * gdb.guile/scm-symtab.c: New file.
3691 * gdb.guile/scm-symtab.exp: New file.
3692 * gdb.guile/scm-type.c: New file.
3693 * gdb.guile/scm-type.exp: New file.
3694 * gdb.guile/scm-value-cc.cc: New file.
3695 * gdb.guile/scm-value-cc.exp: New file.
3696 * gdb.guile/scm-value.c: New file.
3697 * gdb.guile/scm-value.exp: New file.
3698 * gdb.guile/source2.scm: New file.
3699 * gdb.guile/types-module.cc: New file.
3700 * gdb.guile/types-module.exp: New file.
3702 2014-02-10 Yao Qi <yao@codesourcery.com>
3705 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
3706 * configure: Regenerated.
3707 * Makefile.in: New file.
3709 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3711 * gdb.python/py-framefilter.exp: Fix typo.
3713 2014-02-08 Yao Qi <yao@codesourcery.com>
3715 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
3716 that no =breakpoint-modified is emitted when breakpoints are
3717 modified through MI commands.
3719 2014-02-07 Pedro Alves <pedro@codesourcery.com>
3720 Pedro Alves <palves@redhat.com>
3722 * gdb.threads/step-after-sr-lock.c: New file.
3723 * gdb.threads/step-after-sr-lock.exp: New file.
3725 2014-02-07 Pedro Alves <palves@redhat.com>
3727 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
3729 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3731 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
3732 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
3734 2014-02-06 Doug Evans <xdje42@gmail.com>
3736 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
3739 * gdb.gdb/python-interrupts.exp: New file.
3741 2014-02-05 Yao Qi <yao@codesourcery.com>
3743 * gdb.trace/report.exp (use_collected_data): Test the output
3744 of "info threads" and "info inferiors".
3746 2014-02-05 Yao Qi <yao@codesourcery.com>
3750 2013-05-24 Yao Qi <yao@codesourcery.com>
3752 * gdb.trace/tfile.exp: Test inferior and thread.
3754 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3756 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
3758 * gdb.base/step-bt.c: Call hello via function pointer to make
3759 sure its first instruction is executed on powerpc64le-linux.
3761 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3763 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
3765 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3767 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
3768 of the test patterns for use on little-endian systems.
3770 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3772 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
3773 (decimal_vector): Fix for little-endian.
3775 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3777 * gdb.arch/sparc-sysstep.exp: New file.
3778 * gdb.arch/sparc-sysstep.c: Likewise.
3780 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
3782 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3784 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
3786 2014-01-23 Tom Tromey <tromey@redhat.com>
3788 * gdb.ada/array_char_idx: New testcase.
3790 2014-01-23 Tom Tromey <tromey@redhat.com>
3793 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
3794 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
3797 2014-01-23 Tom Tromey <tromey@redhat.com>
3800 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
3801 string from an inferior frame.
3802 * gdb.python/py-framefilter-mi.exp: Update.
3804 2014-01-22 Doug Evans <dje@google.com>
3806 * gdb.server/server-mon.exp: Add tests for "set debug-format".
3808 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3810 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
3812 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3814 * gdb.trace/entry-values.exp: Remove excess space character from
3815 regex patterns. Handle s390 call instruction.
3817 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3819 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
3820 define "*_start" label. Make "name" static.
3821 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
3822 ${name} by references to ${name}_start.
3824 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3826 * gdb.base/info-macros.exp: Remove "debug" from the compile
3829 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3831 * gdb.dlang/demangle.exp: New file.
3833 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3835 * gdb.dlang/primitive-types.exp: New file.
3837 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3839 * configure.ac: Create gdb.dlang/Makefile.
3840 * configure: Regenerate.
3841 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
3842 * gdb.dlang/Makefile.in: New file.
3843 * lib/d-support.exp: New file.
3844 * lib/gdb.exp (skip_d_tests): New proc.
3846 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3848 * gdb.btrace/delta.exp: Check reverse stepi.
3849 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
3850 * gdb.btrace/finish.exp: New.
3851 * gdb.btrace/next.exp: New.
3852 * gdb.btrace/nexti.exp: New.
3853 * gdb.btrace/record_goto.c: Add comments.
3854 * gdb.btrace/step.exp: New.
3855 * gdb.btrace/stepi.exp: New.
3856 * gdb.btrace/multi-thread-step.c: New.
3857 * gdb.btrace/multi-thread-step.exp: New.
3858 * gdb.btrace/rn-dl-bind.c: New.
3859 * gdb.btrace/rn-dl-bind.exp: New.
3860 * gdb.btrace/data.c: New.
3861 * gdb.btrace/data.exp: New.
3862 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3864 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3866 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
3867 * gdb.btrace/exception.exp: Update.
3868 * gdb.btrace/instruction_history.exp: Update.
3869 * gdb.btrace/record_goto.exp: Update.
3870 * gdb.btrace/tailcall.exp: Update.
3871 * gdb.btrace/unknown_functions.exp: Update.
3872 * gdb.btrace/delta.exp: New.
3874 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3876 * gdb.btrace/record_goto.exp: Add backtrace test.
3877 * gdb.btrace/tailcall.exp: Add backtrace test.
3879 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3881 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
3882 * gdb.btrace/record_goto.c: New.
3883 * gdb.btrace/record_goto.exp: New.
3884 * gdb.btrace/x86-record_goto.S: New.
3886 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3888 * gdb.btrace/function_call_history.exp: Update tests.
3889 * gdb.btrace/instruction_history.exp: Update tests.
3891 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3893 * gdb.btrace/function_call_history.exp: Fix expected field
3894 order for "record function-call-history".
3895 Add new tests for "record function-call-history /c".
3896 * gdb.btrace/exception.cc: New.
3897 * gdb.btrace/exception.exp: New.
3898 * gdb.btrace/tailcall.exp: New.
3899 * gdb.btrace/x86-tailcall.S: New.
3900 * gdb.btrace/x86-tailcall.c: New.
3901 * gdb.btrace/unknown_functions.c: New.
3902 * gdb.btrace/unknown_functions.exp: New.
3903 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3905 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3907 * gdb.btrace/instruction_history.exp: Update.
3908 * gdb.btrace/function_call_history.exp: Update.
3910 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3912 * gdb.btrace/function_call_history.exp: Fix expected function
3914 * gdb.btrace/instruction_history.exp: Initialize traced.
3915 Remove traced_functions.
3917 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3919 * gdb.btrace/function_call_history.exp: Update
3920 * gdb.btrace/instruction_history.exp: Update.
3922 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3924 * gdb.btrace/enable.exp: Update expected text.
3926 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
3928 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
3931 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
3933 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
3935 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3937 * lib/gdb.exp (supports_process_record): Return true for
3938 arm*-linux*. (supports_reverse): Likewise.
3940 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3944 * gdb.python/py-type.c: Enhance test case.
3945 * gdb.python/py-value-cc.cc: Likewise
3946 * gdb.python/py-type.exp: Add new tests.
3947 * gdb.python/py-value-cc.exp: Likewise
3949 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3950 Pedro Alves <palves@redhat.com>
3952 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
3954 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
3955 references to ${name}_start by references to ${name}.
3957 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3959 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
3961 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3963 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
3965 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
3966 Pedro Alves <palves@redhat.com>
3968 * gdb.mi/mi-info-os.exp: Connect to the target with
3971 2014-01-08 Pedro Alves <palves@redhat.com>
3973 * gdb.threads/reconnect-signal.c: New file.
3974 * gdb.threads/reconnect-signal.exp: New file.
3976 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3978 * gdb.base/source-dir.exp: New file.
3980 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3982 * gdb.ada/mi_interface: New testcase.
3984 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3986 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
3987 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
3988 gdb.ada/pp-rec-component/pck.ads: New files.
3990 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3992 * gdb.python/py-pp-integral.c: New file.
3993 * gdb.python/py-pp-integral.py: New file.
3994 * gdb.python/py-pp-integral.exp: New file.
3996 For older changes see ChangeLog-1993-2013.
4002 ;; version-control: never
4005 Copyright 2014-2015 Free Software Foundation, Inc.
4006 Copying and distribution of this file, with or without modification,
4007 are permitted provided the copyright notice and this notice are preserved.