Fix test names starting with uppercase in gdb.arch/ppc64-atomic-inst.exp
[binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2
3 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
4 uppercase.
5
6 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7
8 * gdb.dwarf2/formdata16.c: New file.
9 * gdb.dwarf2/formdata16.exp: New file.
10 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
11
12 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13
14 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
15 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
16 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
17 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
18 DW_AT_GNU_*.
19
20 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
21
22 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
23
24 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
25
26 PR gdb/21164
27 * gdb.base/maint.exp: Add testcases for when the commands do
28 not have arguments.
29
30 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
31
32 * gdb.cp/chained-calls.exp: Use p instead of P.
33
34 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
35
36 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
37 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
38
39 2017-02-14 Tom Tromey <tom@tromey.com>
40
41 PR python/13598:
42 * gdb.python/py-events.exp: Add before_prompt event tests.
43
44 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
45
46 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
47
48 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
49
50 * gdb.linespec/explicit.c (my_unique_function_name): New function.
51 (main): Call my_unique_function_name.
52 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
53 completion of patterns with a single match.
54 Add missing -re switches to gdb_test_multiple calls.
55
56 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
57
58 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
59 return if core file is not recognized.
60
61 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
62
63 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
64 and extra UIs.
65
66 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
67
68 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
69 proc_with_prefix.
70
71 2017-02-10 Tom Tromey <tom@tromey.com>
72
73 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
74
75 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
76
77 PR gdb/21122
78 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
79
80 2017-02-08 Jerome Guitton <guitton@adacore.com>
81
82 * gdb.base/define.exp: Add test for command abbreviations
83 in define.
84
85 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
86
87 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
88 * gdb.reverse/insn-reverse-x86.c: New file.
89
90 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
91
92 PR tdep/20936
93 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
94
95 2017-02-03 Tom Tromey <tom@tromey.com>
96
97 PR rust/21097:
98 * gdb.rust/simple.exp: Add new tests.
99
100 2017-02-02 Pedro Alves <palves@redhat.com>
101
102 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
103 tests.
104
105 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
106
107 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
108 taking a 2-byte value out of a 4-byte DWARF implicit value on
109 big-endian targets.
110 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
111 logic. Add test cases for DW_OP_implicit.
112
113 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
114
115 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
116
117 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
118
119 * gdb.btrace/enable.exp: Call gdb_exit before
120 skip_gdbserver_tests.
121
122 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
123
124 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
125 GDBFLAGS.
126
127 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
128
129 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
130 the test is skipped.
131 * gdb.btrace/data.exp: Likewise.
132 * gdb.btrace/delta.exp: Likewise.
133 * gdb.btrace/dlopen.exp: Likewise.
134 * gdb.btrace/enable-running.exp: Likewise.
135 * gdb.btrace/enable.exp: Likewise.
136 * gdb.btrace/exception.exp: Likewise.
137 * gdb.btrace/function_call_history.exp: Likewise.
138 * gdb.btrace/gcore.exp: Likewise.
139 * gdb.btrace/instruction_history.exp: Likewise.
140 * gdb.btrace/multi-thread-step.exp: Likewise.
141 * gdb.btrace/nohist.exp: Likewise.
142 * gdb.btrace/non-stop.exp: Likewise.
143 * gdb.btrace/reconnect.exp: Likewise.
144 * gdb.btrace/record_goto-step.exp: Likewise.
145 * gdb.btrace/record_goto.exp: Likewise.
146 * gdb.btrace/rn-dl-bind.exp: Likewise.
147 * gdb.btrace/segv.exp: Likewise.
148 * gdb.btrace/step.exp: Likewise.
149 * gdb.btrace/stepi.exp: Likewise.
150 * gdb.btrace/tailcall-only.exp: Likewise.
151 * gdb.btrace/tailcall.exp: Likewise.
152 * gdb.btrace/tsx.exp: Likewise.
153 * gdb.btrace/unknown_functions.exp: Likewise.
154 * gdb.btrace/vdso.exp: Likewise.
155
156 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
157
158 * gdb.btrace/enable-running.c: New.
159 * gdb.btrace/enable-running.exp: New.
160
161 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
162
163 * gdb.arch/amd64-gs_base.c: New file.
164 * gdb.arch/amd64-gs_base.exp: New file.
165
166 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
167
168 * lib/memory.exp: Remove spurious empty newlines.
169
170 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
171
172 * gdb.python/py-bad-printers.exp: Load python file using "source".
173 * gdb.python/py-events.exp: Likewise.
174 * gdb.python/py-evsignal.exp: Likewise.
175 * gdb.python/py-evthreads.exp: Likewise.
176 * gdb.python/py-frame-args.exp: Likewise.
177 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
178 * gdb.python/py-framefilter-mi.exp: Likewise.
179 * gdb.python/py-framefilter.exp: Likewise.
180 * gdb.python/py-mi.exp: Likewise.
181 * gdb.python/py-pp-maint.exp: Likewise.
182 * gdb.python/py-pp-registration.exp: Likewise.
183 * gdb.python/py-prettyprint.exp: Likewise.
184 (run_lang_tests): Likewise.
185 * gdb.python/py-typeprint.exp: Likewise.
186
187 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
188
189 * lib/memory.exp: New file.
190 * lib/gdb.exp: Load memory.exp.
191 * gdb.base/memattr.exp (delete_memory): Move proc to
192 lib/memory.exp and rename to delete_memory_regions.
193 Replace delete_memory with delete_memory_regions.
194 Cleanup memory regions before tests.
195 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
196 before tests.
197
198 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
199
200 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
201 files.
202 (initialize): New function conditionally defined.
203 (testcases): Move within conditional block.
204 (main): Call initialize.
205 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
206 of gdb.reverse/insn-reverse.c.
207 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
208 gdb.reverse/insn-reverse.c.
209
210 2017-01-26 Yao Qi <yao.qi@linaro.org>
211
212 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
213 disassemble on address 0.
214
215 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
216 Yao Qi <yao.qi@linaro.org>
217
218 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
219 * gdb.dwarf2/implptr-64bit.S: Remove.
220 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
221 variables in caller's context. Add DW_OP_implicit_value.
222
223 2017-01-25 Yao Qi <yao.qi@linaro.org>
224
225 * lib/dwarf.exp (Dwarf::_location): Handle
226 DW_OP_GNU_implicit_pointer with proper size.
227
228 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
229
230 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
231 and add untested calls.
232
233 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
234
235 * gdb.python/python.exp: Check line number against what GDB thinks
236 the line number is for func1.
237
238 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
239
240 * gdb.dlang/debug-expr.exp: New file.
241
242 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
243
244 Fix test names for the following files:
245
246 * gdb.ada/exec_changed.exp
247 * gdb.ada/info_types.exp
248 * gdb.arch/aarch64-atomic-inst.exp
249 * gdb.arch/aarch64-fp.exp
250 * gdb.arch/altivec-abi.exp
251 * gdb.arch/altivec-regs.exp
252 * gdb.arch/amd64-byte.exp
253 * gdb.arch/amd64-disp-step.exp
254 * gdb.arch/amd64-dword.exp
255 * gdb.arch/amd64-entry-value-inline.exp
256 * gdb.arch/amd64-entry-value-param.exp
257 * gdb.arch/amd64-entry-value-paramref.exp
258 * gdb.arch/amd64-entry-value.exp
259 * gdb.arch/amd64-i386-address.exp
260 * gdb.arch/amd64-invalid-stack-middle.exp
261 * gdb.arch/amd64-invalid-stack-top.exp
262 * gdb.arch/amd64-optimout-repeat.exp
263 * gdb.arch/amd64-prologue-skip.exp
264 * gdb.arch/amd64-prologue-xmm.exp
265 * gdb.arch/amd64-stap-special-operands.exp
266 * gdb.arch/amd64-stap-wrong-subexp.exp
267 * gdb.arch/amd64-tailcall-cxx.exp
268 * gdb.arch/amd64-tailcall-noret.exp
269 * gdb.arch/amd64-tailcall-ret.exp
270 * gdb.arch/amd64-tailcall-self.exp
271 * gdb.arch/amd64-word.exp
272 * gdb.arch/arm-bl-branch-dest.exp
273 * gdb.arch/arm-disp-step.exp
274 * gdb.arch/arm-neon.exp
275 * gdb.arch/arm-single-step-kernel-helper.exp
276 * gdb.arch/avr-flash-qualifier.exp
277 * gdb.arch/disp-step-insn-reloc.exp
278 * gdb.arch/e500-abi.exp
279 * gdb.arch/e500-regs.exp
280 * gdb.arch/ftrace-insn-reloc.exp
281 * gdb.arch/i386-avx512.exp
282 * gdb.arch/i386-bp_permanent.exp
283 * gdb.arch/i386-byte.exp
284 * gdb.arch/i386-cfi-notcurrent.exp
285 * gdb.arch/i386-disp-step.exp
286 * gdb.arch/i386-dr3-watch.exp
287 * gdb.arch/i386-float.exp
288 * gdb.arch/i386-gnu-cfi.exp
289 * gdb.arch/i386-mpx-map.exp
290 * gdb.arch/i386-mpx-sigsegv.exp
291 * gdb.arch/i386-mpx-simple_segv.exp
292 * gdb.arch/i386-mpx.exp
293 * gdb.arch/i386-permbkpt.exp
294 * gdb.arch/i386-prologue.exp
295 * gdb.arch/i386-signal.exp
296 * gdb.arch/i386-size-overlap.exp
297 * gdb.arch/i386-unwind.exp
298 * gdb.arch/i386-word.exp
299 * gdb.arch/mips-fcr.exp
300 * gdb.arch/powerpc-d128-regs.exp
301 * gdb.arch/powerpc-stackless.exp
302 * gdb.arch/ppc64-atomic-inst.exp
303 * gdb.arch/s390-stackless.exp
304 * gdb.arch/s390-tdbregs.exp
305 * gdb.arch/s390-vregs.exp
306 * gdb.arch/sparc-sysstep.exp
307 * gdb.arch/thumb-bx-pc.exp
308 * gdb.arch/thumb-singlestep.exp
309 * gdb.arch/thumb2-it.exp
310 * gdb.arch/vsx-regs.exp
311 * gdb.asm/asm-source.exp
312 * gdb.base/a2-run.exp
313 * gdb.base/advance.exp
314 * gdb.base/all-bin.exp
315 * gdb.base/anon.exp
316 * gdb.base/args.exp
317 * gdb.base/arithmet.exp
318 * gdb.base/async-shell.exp
319 * gdb.base/async.exp
320 * gdb.base/attach-pie-noexec.exp
321 * gdb.base/attach-twice.exp
322 * gdb.base/auto-load.exp
323 * gdb.base/bang.exp
324 * gdb.base/bitfields.exp
325 * gdb.base/break-always.exp
326 * gdb.base/break-caller-line.exp
327 * gdb.base/break-entry.exp
328 * gdb.base/break-inline.exp
329 * gdb.base/break-on-linker-gcd-function.exp
330 * gdb.base/break-probes.exp
331 * gdb.base/break.exp
332 * gdb.base/breakpoint-shadow.exp
333 * gdb.base/call-ar-st.exp
334 * gdb.base/call-sc.exp
335 * gdb.base/call-signal-resume.exp
336 * gdb.base/call-strs.exp
337 * gdb.base/callfuncs.exp
338 * gdb.base/catch-fork-static.exp
339 * gdb.base/catch-gdb-caused-signals.exp
340 * gdb.base/catch-load.exp
341 * gdb.base/catch-signal-fork.exp
342 * gdb.base/catch-signal.exp
343 * gdb.base/catch-syscall.exp
344 * gdb.base/charset.exp
345 * gdb.base/checkpoint.exp
346 * gdb.base/chng-syms.exp
347 * gdb.base/code-expr.exp
348 * gdb.base/code_elim.exp
349 * gdb.base/commands.exp
350 * gdb.base/completion.exp
351 * gdb.base/complex.exp
352 * gdb.base/cond-expr.exp
353 * gdb.base/condbreak.exp
354 * gdb.base/consecutive.exp
355 * gdb.base/continue-all-already-running.exp
356 * gdb.base/coredump-filter.exp
357 * gdb.base/corefile.exp
358 * gdb.base/dbx.exp
359 * gdb.base/debug-expr.exp
360 * gdb.base/define.exp
361 * gdb.base/del.exp
362 * gdb.base/disabled-location.exp
363 * gdb.base/disasm-end-cu.exp
364 * gdb.base/disasm-optim.exp
365 * gdb.base/display.exp
366 * gdb.base/duplicate-bp.exp
367 * gdb.base/ena-dis-br.exp
368 * gdb.base/ending-run.exp
369 * gdb.base/enumval.exp
370 * gdb.base/environ.exp
371 * gdb.base/eu-strip-infcall.exp
372 * gdb.base/eval-avoid-side-effects.exp
373 * gdb.base/eval-skip.exp
374 * gdb.base/exitsignal.exp
375 * gdb.base/expand-psymtabs.exp
376 * gdb.base/filesym.exp
377 * gdb.base/find-unmapped.exp
378 * gdb.base/finish.exp
379 * gdb.base/float.exp
380 * gdb.base/foll-exec-mode.exp
381 * gdb.base/foll-exec.exp
382 * gdb.base/foll-fork.exp
383 * gdb.base/fortran-sym-case.exp
384 * gdb.base/freebpcmd.exp
385 * gdb.base/func-ptr.exp
386 * gdb.base/func-ptrs.exp
387 * gdb.base/funcargs.exp
388 * gdb.base/gcore-buffer-overflow.exp
389 * gdb.base/gcore-relro-pie.exp
390 * gdb.base/gcore-relro.exp
391 * gdb.base/gcore.exp
392 * gdb.base/gdb1090.exp
393 * gdb.base/gdb11530.exp
394 * gdb.base/gdb11531.exp
395 * gdb.base/gdb1821.exp
396 * gdb.base/gdbindex-stabs.exp
397 * gdb.base/gdbvars.exp
398 * gdb.base/hbreak.exp
399 * gdb.base/hbreak2.exp
400 * gdb.base/included.exp
401 * gdb.base/infcall-input.exp
402 * gdb.base/inferior-died.exp
403 * gdb.base/infnan.exp
404 * gdb.base/info-macros.exp
405 * gdb.base/info-os.exp
406 * gdb.base/info-proc.exp
407 * gdb.base/info-shared.exp
408 * gdb.base/info-target.exp
409 * gdb.base/infoline.exp
410 * gdb.base/interp.exp
411 * gdb.base/interrupt.exp
412 * gdb.base/jit-reader.exp
413 * gdb.base/jit-simple.exp
414 * gdb.base/kill-after-signal.exp
415 * gdb.base/kill-detach-inferiors-cmd.exp
416 * gdb.base/label.exp
417 * gdb.base/langs.exp
418 * gdb.base/ldbl_e308.exp
419 * gdb.base/line-symtabs.exp
420 * gdb.base/linespecs.exp
421 * gdb.base/list.exp
422 * gdb.base/long_long.exp
423 * gdb.base/longest-types.exp
424 * gdb.base/maint.exp
425 * gdb.base/max-value-size.exp
426 * gdb.base/memattr.exp
427 * gdb.base/mips_pro.exp
428 * gdb.base/morestack.exp
429 * gdb.base/moribund-step.exp
430 * gdb.base/multi-forks.exp
431 * gdb.base/nested-addr.exp
432 * gdb.base/nextoverexit.exp
433 * gdb.base/noreturn-finish.exp
434 * gdb.base/noreturn-return.exp
435 * gdb.base/nostdlib.exp
436 * gdb.base/offsets.exp
437 * gdb.base/opaque.exp
438 * gdb.base/pc-fp.exp
439 * gdb.base/permissions.exp
440 * gdb.base/print-symbol-loading.exp
441 * gdb.base/prologue-include.exp
442 * gdb.base/psymtab.exp
443 * gdb.base/ptype.exp
444 * gdb.base/random-signal.exp
445 * gdb.base/randomize.exp
446 * gdb.base/range-stepping.exp
447 * gdb.base/readline-ask.exp
448 * gdb.base/recpar.exp
449 * gdb.base/recurse.exp
450 * gdb.base/relational.exp
451 * gdb.base/restore.exp
452 * gdb.base/return-nodebug.exp
453 * gdb.base/return.exp
454 * gdb.base/run-after-attach.exp
455 * gdb.base/save-bp.exp
456 * gdb.base/scope.exp
457 * gdb.base/sect-cmd.exp
458 * gdb.base/set-lang-auto.exp
459 * gdb.base/set-noassign.exp
460 * gdb.base/setvar.exp
461 * gdb.base/sigall.exp
462 * gdb.base/sigbpt.exp
463 * gdb.base/siginfo-addr.exp
464 * gdb.base/siginfo-infcall.exp
465 * gdb.base/siginfo-obj.exp
466 * gdb.base/siginfo.exp
467 * gdb.base/signals-state-child.exp
468 * gdb.base/signest.exp
469 * gdb.base/sigstep.exp
470 * gdb.base/sizeof.exp
471 * gdb.base/skip.exp
472 * gdb.base/solib-corrupted.exp
473 * gdb.base/solib-nodir.exp
474 * gdb.base/solib-search.exp
475 * gdb.base/stack-checking.exp
476 * gdb.base/stale-infcall.exp
477 * gdb.base/stap-probe.exp
478 * gdb.base/start.exp
479 * gdb.base/step-break.exp
480 * gdb.base/step-bt.exp
481 * gdb.base/step-line.exp
482 * gdb.base/step-over-exit.exp
483 * gdb.base/step-over-syscall.exp
484 * gdb.base/step-resume-infcall.exp
485 * gdb.base/step-test.exp
486 * gdb.base/store.exp
487 * gdb.base/structs3.exp
488 * gdb.base/sym-file.exp
489 * gdb.base/symbol-without-target_section.exp
490 * gdb.base/term.exp
491 * gdb.base/testenv.exp
492 * gdb.base/ui-redirect.exp
493 * gdb.base/until.exp
494 * gdb.base/unwindonsignal.exp
495 * gdb.base/value-double-free.exp
496 * gdb.base/vla-datatypes.exp
497 * gdb.base/vla-ptr.exp
498 * gdb.base/vla-sideeffect.exp
499 * gdb.base/volatile.exp
500 * gdb.base/watch-cond-infcall.exp
501 * gdb.base/watch-cond.exp
502 * gdb.base/watch-non-mem.exp
503 * gdb.base/watch-read.exp
504 * gdb.base/watch-vfork.exp
505 * gdb.base/watchpoint-cond-gone.exp
506 * gdb.base/watchpoint-delete.exp
507 * gdb.base/watchpoint-hw-hit-once.exp
508 * gdb.base/watchpoint-hw.exp
509 * gdb.base/watchpoint-stops-at-right-insn.exp
510 * gdb.base/watchpoints.exp
511 * gdb.base/wchar.exp
512 * gdb.base/whatis-exp.exp
513 * gdb.btrace/buffer-size.exp
514 * gdb.btrace/data.exp
515 * gdb.btrace/delta.exp
516 * gdb.btrace/dlopen.exp
517 * gdb.btrace/enable.exp
518 * gdb.btrace/exception.exp
519 * gdb.btrace/function_call_history.exp
520 * gdb.btrace/gcore.exp
521 * gdb.btrace/instruction_history.exp
522 * gdb.btrace/nohist.exp
523 * gdb.btrace/reconnect.exp
524 * gdb.btrace/record_goto-step.exp
525 * gdb.btrace/record_goto.exp
526 * gdb.btrace/rn-dl-bind.exp
527 * gdb.btrace/segv.exp
528 * gdb.btrace/step.exp
529 * gdb.btrace/stepi.exp
530 * gdb.btrace/tailcall-only.exp
531 * gdb.btrace/tailcall.exp
532 * gdb.btrace/tsx.exp
533 * gdb.btrace/unknown_functions.exp
534 * gdb.btrace/vdso.exp
535 * gdb.compile/compile-ifunc.exp
536 * gdb.compile/compile-ops.exp
537 * gdb.compile/compile-print.exp
538 * gdb.compile/compile-setjmp.exp
539 * gdb.cp/abstract-origin.exp
540 * gdb.cp/ambiguous.exp
541 * gdb.cp/annota2.exp
542 * gdb.cp/annota3.exp
543 * gdb.cp/anon-ns.exp
544 * gdb.cp/anon-struct.exp
545 * gdb.cp/anon-union.exp
546 * gdb.cp/arg-reference.exp
547 * gdb.cp/baseenum.exp
548 * gdb.cp/bool.exp
549 * gdb.cp/breakpoint.exp
550 * gdb.cp/bs15503.exp
551 * gdb.cp/call-c.exp
552 * gdb.cp/casts.exp
553 * gdb.cp/chained-calls.exp
554 * gdb.cp/class2.exp
555 * gdb.cp/classes.exp
556 * gdb.cp/cmpd-minsyms.exp
557 * gdb.cp/converts.exp
558 * gdb.cp/cp-relocate.exp
559 * gdb.cp/cpcompletion.exp
560 * gdb.cp/cpexprs.exp
561 * gdb.cp/cplabel.exp
562 * gdb.cp/cplusfuncs.exp
563 * gdb.cp/cpsizeof.exp
564 * gdb.cp/ctti.exp
565 * gdb.cp/derivation.exp
566 * gdb.cp/destrprint.exp
567 * gdb.cp/dispcxx.exp
568 * gdb.cp/enum-class.exp
569 * gdb.cp/exception.exp
570 * gdb.cp/exceptprint.exp
571 * gdb.cp/expand-psymtabs-cxx.exp
572 * gdb.cp/expand-sals.exp
573 * gdb.cp/extern-c.exp
574 * gdb.cp/filename.exp
575 * gdb.cp/formatted-ref.exp
576 * gdb.cp/fpointer.exp
577 * gdb.cp/gdb1355.exp
578 * gdb.cp/gdb2495.exp
579 * gdb.cp/hang.exp
580 * gdb.cp/impl-this.exp
581 * gdb.cp/infcall-dlopen.exp
582 * gdb.cp/inherit.exp
583 * gdb.cp/iostream.exp
584 * gdb.cp/koenig.exp
585 * gdb.cp/local.exp
586 * gdb.cp/m-data.exp
587 * gdb.cp/m-static.exp
588 * gdb.cp/mb-ctor.exp
589 * gdb.cp/mb-inline.exp
590 * gdb.cp/mb-templates.exp
591 * gdb.cp/member-name.exp
592 * gdb.cp/member-ptr.exp
593 * gdb.cp/meth-typedefs.exp
594 * gdb.cp/method.exp
595 * gdb.cp/method2.exp
596 * gdb.cp/minsym-fallback.exp
597 * gdb.cp/misc.exp
598 * gdb.cp/namelessclass.exp
599 * gdb.cp/namespace-enum.exp
600 * gdb.cp/namespace-nested-import.exp
601 * gdb.cp/namespace.exp
602 * gdb.cp/nextoverthrow.exp
603 * gdb.cp/no-dmgl-verbose.exp
604 * gdb.cp/non-trivial-retval.exp
605 * gdb.cp/noparam.exp
606 * gdb.cp/nsdecl.exp
607 * gdb.cp/nsimport.exp
608 * gdb.cp/nsnested.exp
609 * gdb.cp/nsnoimports.exp
610 * gdb.cp/nsrecurs.exp
611 * gdb.cp/nsstress.exp
612 * gdb.cp/nsusing.exp
613 * gdb.cp/operator.exp
614 * gdb.cp/oranking.exp
615 * gdb.cp/overload-const.exp
616 * gdb.cp/overload.exp
617 * gdb.cp/ovldbreak.exp
618 * gdb.cp/ovsrch.exp
619 * gdb.cp/paren-type.exp
620 * gdb.cp/parse-lang.exp
621 * gdb.cp/pass-by-ref.exp
622 * gdb.cp/pr-1023.exp
623 * gdb.cp/pr-1210.exp
624 * gdb.cp/pr-574.exp
625 * gdb.cp/pr10687.exp
626 * gdb.cp/pr12028.exp
627 * gdb.cp/pr17132.exp
628 * gdb.cp/pr17494.exp
629 * gdb.cp/pr9067.exp
630 * gdb.cp/pr9167.exp
631 * gdb.cp/pr9631.exp
632 * gdb.cp/printmethod.exp
633 * gdb.cp/psmang.exp
634 * gdb.cp/psymtab-parameter.exp
635 * gdb.cp/ptype-cv-cp.exp
636 * gdb.cp/ptype-flags.exp
637 * gdb.cp/re-set-overloaded.exp
638 * gdb.cp/ref-types.exp
639 * gdb.cp/rtti.exp
640 * gdb.cp/scope-err.exp
641 * gdb.cp/shadow.exp
642 * gdb.cp/smartp.exp
643 * gdb.cp/static-method.exp
644 * gdb.cp/static-print-quit.exp
645 * gdb.cp/temargs.exp
646 * gdb.cp/templates.exp
647 * gdb.cp/try_catch.exp
648 * gdb.cp/typedef-operator.exp
649 * gdb.cp/typeid.exp
650 * gdb.cp/userdef.exp
651 * gdb.cp/using-crash.exp
652 * gdb.cp/var-tag.exp
653 * gdb.cp/virtbase.exp
654 * gdb.cp/virtfunc.exp
655 * gdb.cp/virtfunc2.exp
656 * gdb.cp/vla-cxx.exp
657 * gdb.disasm/t01_mov.exp
658 * gdb.disasm/t02_mova.exp
659 * gdb.disasm/t03_add.exp
660 * gdb.disasm/t04_sub.exp
661 * gdb.disasm/t05_cmp.exp
662 * gdb.disasm/t06_ari2.exp
663 * gdb.disasm/t07_ari3.exp
664 * gdb.disasm/t08_or.exp
665 * gdb.disasm/t09_xor.exp
666 * gdb.disasm/t10_and.exp
667 * gdb.disasm/t11_logs.exp
668 * gdb.disasm/t12_bit.exp
669 * gdb.disasm/t13_otr.exp
670 * gdb.dlang/circular.exp
671 * gdb.dwarf2/arr-stride.exp
672 * gdb.dwarf2/arr-subrange.exp
673 * gdb.dwarf2/atomic-type.exp
674 * gdb.dwarf2/bad-regnum.exp
675 * gdb.dwarf2/bitfield-parent-optimized-out.exp
676 * gdb.dwarf2/callframecfa.exp
677 * gdb.dwarf2/clztest.exp
678 * gdb.dwarf2/corrupt.exp
679 * gdb.dwarf2/data-loc.exp
680 * gdb.dwarf2/dup-psym.exp
681 * gdb.dwarf2/dw2-anon-mptr.exp
682 * gdb.dwarf2/dw2-anonymous-func.exp
683 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
684 * gdb.dwarf2/dw2-bad-unresolved.exp
685 * gdb.dwarf2/dw2-basic.exp
686 * gdb.dwarf2/dw2-canonicalize-type.exp
687 * gdb.dwarf2/dw2-case-insensitive.exp
688 * gdb.dwarf2/dw2-common-block.exp
689 * gdb.dwarf2/dw2-compdir-oldgcc.exp
690 * gdb.dwarf2/dw2-compressed.exp
691 * gdb.dwarf2/dw2-const.exp
692 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
693 * gdb.dwarf2/dw2-cu-size.exp
694 * gdb.dwarf2/dw2-dup-frame.exp
695 * gdb.dwarf2/dw2-entry-value.exp
696 * gdb.dwarf2/dw2-icycle.exp
697 * gdb.dwarf2/dw2-ifort-parameter.exp
698 * gdb.dwarf2/dw2-inline-break.exp
699 * gdb.dwarf2/dw2-inline-param.exp
700 * gdb.dwarf2/dw2-intercu.exp
701 * gdb.dwarf2/dw2-intermix.exp
702 * gdb.dwarf2/dw2-lexical-block-bare.exp
703 * gdb.dwarf2/dw2-linkage-name-trust.exp
704 * gdb.dwarf2/dw2-minsym-in-cu.exp
705 * gdb.dwarf2/dw2-noloc.exp
706 * gdb.dwarf2/dw2-op-call.exp
707 * gdb.dwarf2/dw2-op-out-param.exp
708 * gdb.dwarf2/dw2-opt-structptr.exp
709 * gdb.dwarf2/dw2-param-error.exp
710 * gdb.dwarf2/dw2-producer.exp
711 * gdb.dwarf2/dw2-ranges-base.exp
712 * gdb.dwarf2/dw2-ref-missing-frame.exp
713 * gdb.dwarf2/dw2-reg-undefined.exp
714 * gdb.dwarf2/dw2-regno-invalid.exp
715 * gdb.dwarf2/dw2-restore.exp
716 * gdb.dwarf2/dw2-restrict.exp
717 * gdb.dwarf2/dw2-single-line-discriminators.exp
718 * gdb.dwarf2/dw2-strp.exp
719 * gdb.dwarf2/dw2-undefined-ret-addr.exp
720 * gdb.dwarf2/dw2-unresolved.exp
721 * gdb.dwarf2/dw2-var-zero-addr.exp
722 * gdb.dwarf2/dw4-sig-types.exp
723 * gdb.dwarf2/dwz.exp
724 * gdb.dwarf2/dynarr-ptr.exp
725 * gdb.dwarf2/enum-type.exp
726 * gdb.dwarf2/gdb-index.exp
727 * gdb.dwarf2/implptr-64bit.exp
728 * gdb.dwarf2/implptr-optimized-out.exp
729 * gdb.dwarf2/implptr.exp
730 * gdb.dwarf2/implref-array.exp
731 * gdb.dwarf2/implref-const.exp
732 * gdb.dwarf2/implref-global.exp
733 * gdb.dwarf2/implref-struct.exp
734 * gdb.dwarf2/mac-fileno.exp
735 * gdb.dwarf2/main-subprogram.exp
736 * gdb.dwarf2/member-ptr-forwardref.exp
737 * gdb.dwarf2/method-ptr.exp
738 * gdb.dwarf2/missing-sig-type.exp
739 * gdb.dwarf2/nonvar-access.exp
740 * gdb.dwarf2/opaque-type-lookup.exp
741 * gdb.dwarf2/pieces-optimized-out.exp
742 * gdb.dwarf2/pieces.exp
743 * gdb.dwarf2/pr10770.exp
744 * gdb.dwarf2/pr13961.exp
745 * gdb.dwarf2/staticvirtual.exp
746 * gdb.dwarf2/subrange.exp
747 * gdb.dwarf2/symtab-producer.exp
748 * gdb.dwarf2/trace-crash.exp
749 * gdb.dwarf2/typeddwarf.exp
750 * gdb.dwarf2/valop.exp
751 * gdb.dwarf2/watch-notconst.exp
752 * gdb.fortran/array-element.exp
753 * gdb.fortran/charset.exp
754 * gdb.fortran/common-block.exp
755 * gdb.fortran/complex.exp
756 * gdb.fortran/derived-type-function.exp
757 * gdb.fortran/derived-type.exp
758 * gdb.fortran/logical.exp
759 * gdb.fortran/module.exp
760 * gdb.fortran/multi-dim.exp
761 * gdb.fortran/nested-funcs.exp
762 * gdb.fortran/print-formatted.exp
763 * gdb.fortran/subarray.exp
764 * gdb.fortran/vla-alloc-assoc.exp
765 * gdb.fortran/vla-datatypes.exp
766 * gdb.fortran/vla-history.exp
767 * gdb.fortran/vla-ptr-info.exp
768 * gdb.fortran/vla-ptype-sub.exp
769 * gdb.fortran/vla-ptype.exp
770 * gdb.fortran/vla-sizeof.exp
771 * gdb.fortran/vla-type.exp
772 * gdb.fortran/vla-value-sub-arbitrary.exp
773 * gdb.fortran/vla-value-sub-finish.exp
774 * gdb.fortran/vla-value-sub.exp
775 * gdb.fortran/vla-value.exp
776 * gdb.fortran/whatis_type.exp
777 * gdb.go/chan.exp
778 * gdb.go/handcall.exp
779 * gdb.go/hello.exp
780 * gdb.go/integers.exp
781 * gdb.go/methods.exp
782 * gdb.go/package.exp
783 * gdb.go/strings.exp
784 * gdb.go/types.exp
785 * gdb.go/unsafe.exp
786 * gdb.guile/scm-arch.exp
787 * gdb.guile/scm-block.exp
788 * gdb.guile/scm-breakpoint.exp
789 * gdb.guile/scm-cmd.exp
790 * gdb.guile/scm-disasm.exp
791 * gdb.guile/scm-equal.exp
792 * gdb.guile/scm-frame-args.exp
793 * gdb.guile/scm-frame-inline.exp
794 * gdb.guile/scm-frame.exp
795 * gdb.guile/scm-iterator.exp
796 * gdb.guile/scm-math.exp
797 * gdb.guile/scm-objfile.exp
798 * gdb.guile/scm-ports.exp
799 * gdb.guile/scm-symbol.exp
800 * gdb.guile/scm-symtab.exp
801 * gdb.guile/scm-value-cc.exp
802 * gdb.guile/types-module.exp
803 * gdb.linespec/break-ask.exp
804 * gdb.linespec/cpexplicit.exp
805 * gdb.linespec/explicit.exp
806 * gdb.linespec/keywords.exp
807 * gdb.linespec/linespec.exp
808 * gdb.linespec/ls-dollar.exp
809 * gdb.linespec/ls-errs.exp
810 * gdb.linespec/skip-two.exp
811 * gdb.linespec/thread.exp
812 * gdb.mi/mi-async.exp
813 * gdb.mi/mi-basics.exp
814 * gdb.mi/mi-break.exp
815 * gdb.mi/mi-catch-load.exp
816 * gdb.mi/mi-cli.exp
817 * gdb.mi/mi-cmd-param-changed.exp
818 * gdb.mi/mi-console.exp
819 * gdb.mi/mi-detach.exp
820 * gdb.mi/mi-disassemble.exp
821 * gdb.mi/mi-eval.exp
822 * gdb.mi/mi-file-transfer.exp
823 * gdb.mi/mi-file.exp
824 * gdb.mi/mi-fill-memory.exp
825 * gdb.mi/mi-inheritance-syntax-error.exp
826 * gdb.mi/mi-linespec-err-cp.exp
827 * gdb.mi/mi-logging.exp
828 * gdb.mi/mi-memory-changed.exp
829 * gdb.mi/mi-read-memory.exp
830 * gdb.mi/mi-record-changed.exp
831 * gdb.mi/mi-reg-undefined.exp
832 * gdb.mi/mi-regs.exp
833 * gdb.mi/mi-return.exp
834 * gdb.mi/mi-reverse.exp
835 * gdb.mi/mi-simplerun.exp
836 * gdb.mi/mi-solib.exp
837 * gdb.mi/mi-stack.exp
838 * gdb.mi/mi-stepi.exp
839 * gdb.mi/mi-syn-frame.exp
840 * gdb.mi/mi-until.exp
841 * gdb.mi/mi-var-block.exp
842 * gdb.mi/mi-var-child.exp
843 * gdb.mi/mi-var-cmd.exp
844 * gdb.mi/mi-var-cp.exp
845 * gdb.mi/mi-var-display.exp
846 * gdb.mi/mi-var-invalidate.exp
847 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
848 * gdb.mi/mi-vla-fortran.exp
849 * gdb.mi/mi-watch.exp
850 * gdb.mi/mi2-var-child.exp
851 * gdb.mi/user-selected-context-sync.exp
852 * gdb.modula2/unbounded-array.exp
853 * gdb.multi/dummy-frame-restore.exp
854 * gdb.multi/multi-arch-exec.exp
855 * gdb.multi/multi-arch.exp
856 * gdb.multi/tids.exp
857 * gdb.multi/watchpoint-multi.exp
858 * gdb.opencl/callfuncs.exp
859 * gdb.opencl/convs_casts.exp
860 * gdb.opencl/datatypes.exp
861 * gdb.opencl/operators.exp
862 * gdb.opencl/vec_comps.exp
863 * gdb.opt/clobbered-registers-O2.exp
864 * gdb.opt/inline-break.exp
865 * gdb.opt/inline-bt.exp
866 * gdb.opt/inline-cmds.exp
867 * gdb.opt/inline-locals.exp
868 * gdb.pascal/case-insensitive-symbols.exp
869 * gdb.pascal/floats.exp
870 * gdb.pascal/gdb11492.exp
871 * gdb.python/lib-types.exp
872 * gdb.python/py-arch.exp
873 * gdb.python/py-as-string.exp
874 * gdb.python/py-bad-printers.exp
875 * gdb.python/py-block.exp
876 * gdb.python/py-breakpoint-create-fail.exp
877 * gdb.python/py-breakpoint.exp
878 * gdb.python/py-caller-is.exp
879 * gdb.python/py-cmd.exp
880 * gdb.python/py-explore-cc.exp
881 * gdb.python/py-explore.exp
882 * gdb.python/py-finish-breakpoint.exp
883 * gdb.python/py-finish-breakpoint2.exp
884 * gdb.python/py-frame-args.exp
885 * gdb.python/py-frame-inline.exp
886 * gdb.python/py-frame.exp
887 * gdb.python/py-framefilter-mi.exp
888 * gdb.python/py-infthread.exp
889 * gdb.python/py-lazy-string.exp
890 * gdb.python/py-linetable.exp
891 * gdb.python/py-mi-events.exp
892 * gdb.python/py-mi-objfile.exp
893 * gdb.python/py-mi.exp
894 * gdb.python/py-objfile.exp
895 * gdb.python/py-pp-integral.exp
896 * gdb.python/py-pp-maint.exp
897 * gdb.python/py-pp-re-notag.exp
898 * gdb.python/py-pp-registration.exp
899 * gdb.python/py-recurse-unwind.exp
900 * gdb.python/py-strfns.exp
901 * gdb.python/py-symbol.exp
902 * gdb.python/py-symtab.exp
903 * gdb.python/py-sync-interp.exp
904 * gdb.python/py-typeprint.exp
905 * gdb.python/py-unwind-maint.exp
906 * gdb.python/py-unwind.exp
907 * gdb.python/py-value-cc.exp
908 * gdb.python/py-xmethods.exp
909 * gdb.reverse/amd64-tailcall-reverse.exp
910 * gdb.reverse/break-precsave.exp
911 * gdb.reverse/break-reverse.exp
912 * gdb.reverse/consecutive-precsave.exp
913 * gdb.reverse/consecutive-reverse.exp
914 * gdb.reverse/finish-precsave.exp
915 * gdb.reverse/finish-reverse-bkpt.exp
916 * gdb.reverse/finish-reverse.exp
917 * gdb.reverse/fstatat-reverse.exp
918 * gdb.reverse/getresuid-reverse.exp
919 * gdb.reverse/i386-precsave.exp
920 * gdb.reverse/i386-reverse.exp
921 * gdb.reverse/i386-sse-reverse.exp
922 * gdb.reverse/i387-env-reverse.exp
923 * gdb.reverse/i387-stack-reverse.exp
924 * gdb.reverse/insn-reverse.exp
925 * gdb.reverse/machinestate-precsave.exp
926 * gdb.reverse/machinestate.exp
927 * gdb.reverse/next-reverse-bkpt-over-sr.exp
928 * gdb.reverse/pipe-reverse.exp
929 * gdb.reverse/readv-reverse.exp
930 * gdb.reverse/recvmsg-reverse.exp
931 * gdb.reverse/rerun-prec.exp
932 * gdb.reverse/s390-mvcle.exp
933 * gdb.reverse/step-precsave.exp
934 * gdb.reverse/step-reverse.exp
935 * gdb.reverse/time-reverse.exp
936 * gdb.reverse/until-precsave.exp
937 * gdb.reverse/until-reverse.exp
938 * gdb.reverse/waitpid-reverse.exp
939 * gdb.reverse/watch-precsave.exp
940 * gdb.reverse/watch-reverse.exp
941 * gdb.rust/generics.exp
942 * gdb.rust/methods.exp
943 * gdb.rust/modules.exp
944 * gdb.rust/simple.exp
945 * gdb.server/connect-with-no-symbol-file.exp
946 * gdb.server/ext-attach.exp
947 * gdb.server/ext-restart.exp
948 * gdb.server/ext-wrapper.exp
949 * gdb.server/file-transfer.exp
950 * gdb.server/server-exec-info.exp
951 * gdb.server/server-kill.exp
952 * gdb.server/server-mon.exp
953 * gdb.server/wrapper.exp
954 * gdb.stabs/exclfwd.exp
955 * gdb.stabs/gdb11479.exp
956 * gdb.threads/clone-new-thread-event.exp
957 * gdb.threads/corethreads.exp
958 * gdb.threads/current-lwp-dead.exp
959 * gdb.threads/dlopen-libpthread.exp
960 * gdb.threads/gcore-thread.exp
961 * gdb.threads/sigstep-threads.exp
962 * gdb.threads/watchpoint-fork.exp
963 * gdb.trace/actions-changed.exp
964 * gdb.trace/backtrace.exp
965 * gdb.trace/change-loc.exp
966 * gdb.trace/circ.exp
967 * gdb.trace/collection.exp
968 * gdb.trace/disconnected-tracing.exp
969 * gdb.trace/ftrace.exp
970 * gdb.trace/mi-trace-frame-collected.exp
971 * gdb.trace/mi-trace-unavailable.exp
972 * gdb.trace/mi-traceframe-changed.exp
973 * gdb.trace/mi-tsv-changed.exp
974 * gdb.trace/no-attach-trace.exp
975 * gdb.trace/passc-dyn.exp
976 * gdb.trace/qtro.exp
977 * gdb.trace/range-stepping.exp
978 * gdb.trace/read-memory.exp
979 * gdb.trace/save-trace.exp
980 * gdb.trace/signal.exp
981 * gdb.trace/status-stop.exp
982 * gdb.trace/tfile.exp
983 * gdb.trace/trace-break.exp
984 * gdb.trace/trace-buffer-size.exp
985 * gdb.trace/trace-condition.exp
986 * gdb.trace/tracefile-pseudo-reg.exp
987 * gdb.trace/tstatus.exp
988 * gdb.trace/unavailable.exp
989 * gdb.trace/while-dyn.exp
990 * gdb.trace/while-stepping.exp
991
992 2016-12-22 Doug Evans <xdje42@gmail.com>
993
994 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
995 and msymbols.
996
997 2016-12-19 Yao Qi <yao.qi@linaro.org>
998
999 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
1000 (test_with_self): Don't call do_steps_and_nexts, and remove
1001 code about stepping into xmalloc.
1002
1003 2016-12-09 Yao Qi <yao.qi@linaro.org>
1004
1005 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
1006
1007 2016-12-09 Yao Qi <yao.qi@linaro.org>
1008
1009 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
1010
1011 2016-12-09 Pedro Alves <palves@redhat.com>
1012
1013 * gdb.base/all-architectures-0.exp: New file.
1014 * gdb.base/all-architectures-1.exp: New file.
1015 * gdb.base/all-architectures-2.exp: New file.
1016 * gdb.base/all-architectures-3.exp: New file.
1017 * gdb.base/all-architectures-4.exp: New file.
1018 * gdb.base/all-architectures-5.exp: New file.
1019 * gdb.base/all-architectures-6.exp: New file.
1020 * gdb.base/all-architectures-7.exp: New file.
1021 * gdb.base/all-architectures.exp.in: New file.
1022
1023 2016-12-09 Yao Qi <yao.qi@linaro.org>
1024
1025 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
1026
1027 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
1028
1029 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
1030 possible.
1031 Remove useless pattern-matching code.
1032
1033 2016-12-02 Pedro Alves <palves@redhat.com>
1034
1035 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
1036 procedure.
1037 (top level): Call it.
1038
1039 2016-12-02 Pedro Alves <palves@redhat.com>
1040
1041 * gdb.base/commands.exp (user_defined_command_args_stack_test):
1042 New procedure.
1043 (top level): Call it.
1044
1045 2016-12-02 Pedro Alves <palves@redhat.com>
1046
1047 PR cli/20559
1048 * gdb.base/commands.exp (user_defined_command_args_eval): New
1049 procedure.
1050 (top level): Call it.
1051
1052 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
1053
1054 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
1055 timeout handling.
1056
1057 2016-12-02 Tom Tromey <tom@tromey.com>
1058
1059 * gdb.dwarf2/main-subprogram.c: New file.
1060 * gdb.dwarf2/main-subprogram.exp: New file.
1061
1062 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1063
1064 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
1065 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
1066 gdb_test_no_output for a couple of cases.
1067 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
1068
1069 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1070
1071 Fix test names and standardize compilation error messages throughout
1072 the following files:
1073
1074 * gdb.ada/start.exp
1075 * gdb.arch/alpha-step.exp
1076 * gdb.arch/e500-prologue.exp
1077 * gdb.arch/ftrace-insn-reloc.exp
1078 * gdb.arch/gdb1291.exp
1079 * gdb.arch/gdb1431.exp
1080 * gdb.arch/gdb1558.exp
1081 * gdb.arch/i386-dr3-watch.exp
1082 * gdb.arch/i386-sse-stack-align.exp
1083 * gdb.arch/ia64-breakpoint-shadow.exp
1084 * gdb.arch/pa-nullify.exp
1085 * gdb.arch/powerpc-aix-prologue.exp
1086 * gdb.arch/thumb-bx-pc.exp
1087 * gdb.base/annota1.exp
1088 * gdb.base/annota3.exp
1089 * gdb.base/arrayidx.exp
1090 * gdb.base/assign.exp
1091 * gdb.base/attach.exp
1092 * gdb.base/auxv.exp
1093 * gdb.base/bang.exp
1094 * gdb.base/bfp-test.exp
1095 * gdb.base/bigcore.exp
1096 * gdb.base/bitfields2.exp
1097 * gdb.base/break-fun-addr.exp
1098 * gdb.base/break-probes.exp
1099 * gdb.base/call-rt-st.exp
1100 * gdb.base/callexit.exp
1101 * gdb.base/catch-fork-kill.exp
1102 * gdb.base/charset.exp
1103 * gdb.base/checkpoint.exp
1104 * gdb.base/comprdebug.exp
1105 * gdb.base/constvars.exp
1106 * gdb.base/coredump-filter.exp
1107 * gdb.base/cursal.exp
1108 * gdb.base/cvexpr.exp
1109 * gdb.base/detach.exp
1110 * gdb.base/display.exp
1111 * gdb.base/dmsym.exp
1112 * gdb.base/dprintf-pending.exp
1113 * gdb.base/dso2dso.exp
1114 * gdb.base/dtrace-probe.exp
1115 * gdb.base/dump.exp
1116 * gdb.base/enum_cond.exp
1117 * gdb.base/exe-lock.exp
1118 * gdb.base/exec-invalid-sysroot.exp
1119 * gdb.base/execl-update-breakpoints.exp
1120 * gdb.base/exprs.exp
1121 * gdb.base/fileio.exp
1122 * gdb.base/find.exp
1123 * gdb.base/finish.exp
1124 * gdb.base/fixsection.exp
1125 * gdb.base/foll-vfork.exp
1126 * gdb.base/frame-args.exp
1127 * gdb.base/gcore.exp
1128 * gdb.base/gdb1250.exp
1129 * gdb.base/global-var-nested-by-dso.exp
1130 * gdb.base/gnu-ifunc.exp
1131 * gdb.base/hashline1.exp
1132 * gdb.base/hashline2.exp
1133 * gdb.base/hashline3.exp
1134 * gdb.base/hbreak-in-shr-unsupported.exp
1135 * gdb.base/huge.exp
1136 * gdb.base/infcall-input.exp
1137 * gdb.base/info-fun.exp
1138 * gdb.base/info-shared.exp
1139 * gdb.base/jit-simple.exp
1140 * gdb.base/jit-so.exp
1141 * gdb.base/jit.exp
1142 * gdb.base/jump.exp
1143 * gdb.base/label.exp
1144 * gdb.base/lineinc.exp
1145 * gdb.base/logical.exp
1146 * gdb.base/longjmp.exp
1147 * gdb.base/macscp.exp
1148 * gdb.base/miscexprs.exp
1149 * gdb.base/new-ui-echo.exp
1150 * gdb.base/new-ui-pending-input.exp
1151 * gdb.base/new-ui.exp
1152 * gdb.base/nodebug.exp
1153 * gdb.base/nofield.exp
1154 * gdb.base/offsets.exp
1155 * gdb.base/overlays.exp
1156 * gdb.base/pending.exp
1157 * gdb.base/pointers.exp
1158 * gdb.base/pr11022.exp
1159 * gdb.base/printcmds.exp
1160 * gdb.base/prologue.exp
1161 * gdb.base/ptr-typedef.exp
1162 * gdb.base/realname-expand.exp
1163 * gdb.base/relativedebug.exp
1164 * gdb.base/relocate.exp
1165 * gdb.base/remote.exp
1166 * gdb.base/reread.exp
1167 * gdb.base/return2.exp
1168 * gdb.base/savedregs.exp
1169 * gdb.base/sep.exp
1170 * gdb.base/sepdebug.exp
1171 * gdb.base/sepsymtab.exp
1172 * gdb.base/set-inferior-tty.exp
1173 * gdb.base/setshow.exp
1174 * gdb.base/shlib-call.exp
1175 * gdb.base/sigaltstack.exp
1176 * gdb.base/siginfo-addr.exp
1177 * gdb.base/signals.exp
1178 * gdb.base/signull.exp
1179 * gdb.base/sigrepeat.exp
1180 * gdb.base/so-impl-ld.exp
1181 * gdb.base/solib-display.exp
1182 * gdb.base/solib-overlap.exp
1183 * gdb.base/solib-search.exp
1184 * gdb.base/solib-symbol.exp
1185 * gdb.base/structs.exp
1186 * gdb.base/structs2.exp
1187 * gdb.base/symtab-search-order.exp
1188 * gdb.base/twice.exp
1189 * gdb.base/unload.exp
1190 * gdb.base/varargs.exp
1191 * gdb.base/watchpoint-solib.exp
1192 * gdb.base/watchpoint.exp
1193 * gdb.base/whatis.exp
1194 * gdb.base/wrong_frame_bt_full.exp
1195 * gdb.btrace/dlopen.exp
1196 * gdb.cell/ea-standalone.exp
1197 * gdb.cell/ea-test.exp
1198 * gdb.cp/dispcxx.exp
1199 * gdb.cp/gdb2384.exp
1200 * gdb.cp/method2.exp
1201 * gdb.cp/nextoverthrow.exp
1202 * gdb.cp/pr10728.exp
1203 * gdb.disasm/am33.exp
1204 * gdb.disasm/h8300s.exp
1205 * gdb.disasm/mn10300.exp
1206 * gdb.disasm/sh3.exp
1207 * gdb.dwarf2/dw2-dir-file-name.exp
1208 * gdb.fortran/complex.exp
1209 * gdb.fortran/library-module.exp
1210 * gdb.guile/scm-pretty-print.exp
1211 * gdb.guile/scm-symbol.exp
1212 * gdb.guile/scm-type.exp
1213 * gdb.guile/scm-value.exp
1214 * gdb.linespec/linespec.exp
1215 * gdb.mi/gdb701.exp
1216 * gdb.mi/gdb792.exp
1217 * gdb.mi/mi-breakpoint-changed.exp
1218 * gdb.mi/mi-dprintf-pending.exp
1219 * gdb.mi/mi-dprintf.exp
1220 * gdb.mi/mi-exit-code.exp
1221 * gdb.mi/mi-pending.exp
1222 * gdb.mi/mi-solib.exp
1223 * gdb.mi/new-ui-mi-sync.exp
1224 * gdb.mi/pr11022.exp
1225 * gdb.mi/user-selected-context-sync.exp
1226 * gdb.opt/solib-intra-step.exp
1227 * gdb.python/py-events.exp
1228 * gdb.python/py-finish-breakpoint.exp
1229 * gdb.python/py-mi.exp
1230 * gdb.python/py-prettyprint.exp
1231 * gdb.python/py-shared.exp
1232 * gdb.python/py-symbol.exp
1233 * gdb.python/py-template.exp
1234 * gdb.python/py-type.exp
1235 * gdb.python/py-value.exp
1236 * gdb.reverse/solib-precsave.exp
1237 * gdb.reverse/solib-reverse.exp
1238 * gdb.server/solib-list.exp
1239 * gdb.stabs/weird.exp
1240 * gdb.threads/reconnect-signal.exp
1241 * gdb.threads/stepi-random-signal.exp
1242 * gdb.trace/actions.exp
1243 * gdb.trace/ax.exp
1244 * gdb.trace/backtrace.exp
1245 * gdb.trace/change-loc.exp
1246 * gdb.trace/deltrace.exp
1247 * gdb.trace/ftrace-lock.exp
1248 * gdb.trace/ftrace.exp
1249 * gdb.trace/infotrace.exp
1250 * gdb.trace/mi-tracepoint-changed.exp
1251 * gdb.trace/packetlen.exp
1252 * gdb.trace/passcount.exp
1253 * gdb.trace/pending.exp
1254 * gdb.trace/range-stepping.exp
1255 * gdb.trace/report.exp
1256 * gdb.trace/stap-trace.exp
1257 * gdb.trace/tfind.exp
1258 * gdb.trace/trace-break.exp
1259 * gdb.trace/trace-condition.exp
1260 * gdb.trace/trace-enable-disable.exp
1261 * gdb.trace/trace-mt.exp
1262 * gdb.trace/tracecmd.exp
1263 * gdb.trace/tspeed.exp
1264 * gdb.trace/tsv.exp
1265 * lib/perftest.exp
1266
1267 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1268
1269 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
1270 with gdb_test_no_output.
1271 Use command as test name.
1272
1273 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1274
1275 Fix test names starting with uppercase throughout the files.
1276
1277 * gdb.ada/assign_1.exp
1278 * gdb.ada/boolean_expr.exp
1279 * gdb.base/arrayidx.exp
1280 * gdb.base/del.exp
1281 * gdb.base/gcore-buffer-overflow.exp
1282 * gdb.base/testenv.exp
1283 * gdb.compile/compile.exp
1284 * gdb.python/py-framefilter-invalidarg.exp
1285 * gdb.python/py-framefilter.exp
1286
1287 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1288
1289 Fix test names starting with uppercase throughout the files.
1290
1291 * gdb.ada/array_return.exp
1292 * gdb.ada/expr_delims.exp
1293 * gdb.ada/mi_dyn_arr.exp
1294 * gdb.ada/mi_interface.exp
1295 * gdb.ada/mi_var_array.exp
1296 * gdb.ada/watch_arg.exp
1297 * gdb.arch/alpha-step.exp
1298 * gdb.arch/altivec-regs.exp
1299 * gdb.arch/e500-regs.exp
1300 * gdb.arch/powerpc-d128-regs.exp
1301 * gdb.base/arrayidx.exp
1302 * gdb.base/break.exp
1303 * gdb.base/checkpoint.exp
1304 * gdb.base/debug-expr.exp
1305 * gdb.base/dmsym.exp
1306 * gdb.base/radix.exp
1307 * gdb.base/sepdebug.exp
1308 * gdb.base/testenv.exp
1309 * gdb.base/watch_thread_num.exp
1310 * gdb.base/watchpoint-cond-gone.exp
1311 * gdb.cell/break.exp
1312 * gdb.cell/ea-cache.exp
1313 * gdb.compile/compile.exp
1314 * gdb.cp/gdb2495.exp
1315 * gdb.gdb/selftest.exp
1316 * gdb.gdb/xfullpath.exp
1317 * gdb.go/hello.exp
1318 * gdb.go/integers.exp
1319 * gdb.objc/basicclass.exp
1320 * gdb.pascal/hello.exp
1321 * gdb.pascal/integers.exp
1322 * gdb.python/py-breakpoint.exp
1323 * gdb.python/py-cmd.exp
1324 * gdb.python/py-linetable.exp
1325 * gdb.python/py-xmethods.exp
1326 * gdb.python/python.exp
1327 * gdb.reverse/consecutive-precsave.exp
1328 * gdb.reverse/finish-precsave.exp
1329 * gdb.reverse/i386-precsave.exp
1330 * gdb.reverse/machinestate-precsave.exp
1331 * gdb.reverse/sigall-precsave.exp
1332 * gdb.reverse/solib-precsave.exp
1333 * gdb.reverse/step-precsave.exp
1334 * gdb.reverse/until-precsave.exp
1335 * gdb.reverse/watch-precsave.exp
1336 * gdb.threads/leader-exit.exp
1337 * gdb.threads/pthreads.exp
1338 * gdb.threads/wp-replication.exp
1339 * gdb.trace/actions.exp
1340 * gdb.trace/mi-tsv-changed.exp
1341 * gdb.trace/tsv.exp
1342
1343 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1344
1345 Fix test names starting with uppercase throughout the files.
1346
1347 * gdb.arch/i386-bp_permanent.exp
1348 * gdb.arch/i386-gnu-cfi.exp
1349 * gdb.base/disasm-end-cu.exp
1350 * gdb.base/macscp.exp
1351 * gdb.base/pending.exp
1352 * gdb.base/watch_thread_num.exp
1353 * gdb.cp/exception.exp
1354 * gdb.cp/gdb2495.exp
1355 * gdb.cp/local.exp
1356 * gdb.python/py-evsignal.exp
1357 * gdb.python/python.exp
1358 * gdb.trace/tracecmd.exp
1359
1360 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1361
1362 Fix test names starting with uppercase throughout the files.
1363
1364 * gdb.base/charset.exp
1365 * gdb.base/eval.exp
1366 * gdb.base/multi-forks.exp
1367 * gdb.guile/scm-progspace.exp
1368 * gdb.opencl/datatypes.exp
1369 * gdb.python/py-block.exp
1370 * gdb.python/py-function.exp
1371 * gdb.python/py-symbol.exp
1372 * gdb.python/py-symtab.exp
1373 * gdb.python/py-xmethods.exp
1374 * gdb.reverse/break-precsave.exp
1375 * gdb.reverse/break-reverse.exp
1376 * gdb.reverse/consecutive-precsave.exp
1377 * gdb.reverse/consecutive-reverse.exp
1378 * gdb.reverse/finish-precsave.exp
1379 * gdb.reverse/finish-reverse-bkpt.exp
1380 * gdb.reverse/finish-reverse.exp
1381 * gdb.reverse/fstatat-reverse.exp
1382 * gdb.reverse/getresuid-reverse.exp
1383 * gdb.reverse/i386-precsave.exp
1384 * gdb.reverse/i386-reverse.exp
1385 * gdb.reverse/i386-sse-reverse.exp
1386 * gdb.reverse/i387-stack-reverse.exp
1387 * gdb.reverse/insn-reverse.exp
1388 * gdb.reverse/machinestate-precsave.exp
1389 * gdb.reverse/machinestate.exp
1390 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1391 * gdb.reverse/pipe-reverse.exp
1392 * gdb.reverse/readv-reverse.exp
1393 * gdb.reverse/recvmsg-reverse.exp
1394 * gdb.reverse/rerun-prec.exp
1395 * gdb.reverse/s390-mvcle.exp
1396 * gdb.reverse/sigall-precsave.exp
1397 * gdb.reverse/sigall-reverse.exp
1398 * gdb.reverse/solib-precsave.exp
1399 * gdb.reverse/solib-reverse.exp
1400 * gdb.reverse/step-precsave.exp
1401 * gdb.reverse/step-reverse.exp
1402 * gdb.reverse/time-reverse.exp
1403 * gdb.reverse/until-precsave.exp
1404 * gdb.reverse/until-reverse.exp
1405 * gdb.reverse/waitpid-reverse.exp
1406 * gdb.reverse/watch-precsave.exp
1407 * gdb.reverse/watch-reverse.exp
1408
1409 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1410
1411 Fix test names starting with uppercase throughout the files.
1412
1413 * gdb.arch/i386-mpx-simple_segv.exp
1414 * gdb.arch/i386-mpx.exp
1415 * gdb.arch/i386-permbkpt.exp
1416 * gdb.arch/pa-nullify.exp
1417 * gdb.arch/powerpc-d128-regs.exp
1418 * gdb.arch/vsx-regs.exp
1419 * gdb.base/bfp-test.exp
1420 * gdb.base/break.exp
1421 * gdb.base/breakpoint-shadow.exp
1422 * gdb.base/callfuncs.exp
1423 * gdb.base/charset.exp
1424 * gdb.base/commands.exp
1425 * gdb.base/completion.exp
1426 * gdb.base/dfp-test.exp
1427 * gdb.base/echo.exp
1428 * gdb.base/ending-run.exp
1429 * gdb.base/eval.exp
1430 * gdb.base/expand-psymtabs.exp
1431 * gdb.base/float128.exp
1432 * gdb.base/floatn.exp
1433 * gdb.base/foll-exec-mode.exp
1434 * gdb.base/gdb1056.exp
1435 * gdb.base/gdb11531.exp
1436 * gdb.base/kill-after-signal.exp
1437 * gdb.base/multi-forks.exp
1438 * gdb.base/overlays.exp
1439 * gdb.base/pending.exp
1440 * gdb.base/sepdebug.exp
1441 * gdb.base/testenv.exp
1442 * gdb.base/valgrind-db-attach.exp
1443 * gdb.base/watch_thread_num.exp
1444 * gdb.base/watchpoint-cond-gone.exp
1445 * gdb.base/watchpoint.exp
1446 * gdb.base/watchpoints.exp
1447 * gdb.cp/arg-reference.exp
1448 * gdb.cp/baseenum.exp
1449 * gdb.cp/operator.exp
1450 * gdb.cp/shadow.exp
1451 * gdb.dwarf2/dw2-op-out-param.exp
1452 * gdb.dwarf2/dw2-reg-undefined.exp
1453 * gdb.go/chan.exp
1454 * gdb.go/hello.exp
1455 * gdb.go/integers.exp
1456 * gdb.go/methods.exp
1457 * gdb.go/package.exp
1458 * gdb.guile/scm-parameter.exp
1459 * gdb.guile/scm-progspace.exp
1460 * gdb.guile/scm-value.exp
1461 * gdb.mi/mi-pending.exp
1462 * gdb.mi/user-selected-context-sync.exp
1463 * gdb.multi/multi-attach.exp
1464 * gdb.multi/tids.exp
1465 * gdb.opt/clobbered-registers-O2.exp
1466 * gdb.pascal/floats.exp
1467 * gdb.pascal/integers.exp
1468 * gdb.python/py-block.exp
1469 * gdb.python/py-events.exp
1470 * gdb.python/py-parameter.exp
1471 * gdb.python/py-symbol.exp
1472 * gdb.python/py-symtab.exp
1473 * gdb.python/py-type.exp
1474 * gdb.python/py-value.exp
1475 * gdb.python/py-xmethods.exp
1476 * gdb.python/python.exp
1477 * gdb.reverse/break-precsave.exp
1478 * gdb.reverse/consecutive-precsave.exp
1479 * gdb.reverse/finish-precsave.exp
1480 * gdb.reverse/i386-precsave.exp
1481 * gdb.reverse/machinestate-precsave.exp
1482 * gdb.reverse/sigall-precsave.exp
1483 * gdb.reverse/solib-precsave.exp
1484 * gdb.reverse/step-precsave.exp
1485 * gdb.reverse/until-precsave.exp
1486 * gdb.reverse/watch-precsave.exp
1487 * gdb.server/ext-attach.exp
1488 * gdb.server/ext-restart.exp
1489 * gdb.server/ext-run.exp
1490 * gdb.server/ext-wrapper.exp
1491 * gdb.stabs/gdb11479.exp
1492 * gdb.stabs/weird.exp
1493 * gdb.threads/attach-many-short-lived-threads.exp
1494 * gdb.threads/kill.exp
1495 * gdb.threads/watchpoint-fork.exp
1496
1497 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1498
1499 Fix test names starting with uppercase throughout all the files below.
1500
1501 * gdb.ada/array_return.exp
1502 * gdb.ada/catch_ex.exp
1503 * gdb.ada/info_exc.exp
1504 * gdb.ada/mi_catch_ex.exp
1505 * gdb.ada/mi_dyn_arr.exp
1506 * gdb.ada/mi_ex_cond.exp
1507 * gdb.ada/mi_exc_info.exp
1508 * gdb.ada/mi_interface.exp
1509 * gdb.ada/mi_task_arg.exp
1510 * gdb.ada/mi_task_info.exp
1511 * gdb.ada/mi_var_array.exp
1512 * gdb.arch/alpha-step.exp
1513 * gdb.arch/amd64-disp-step.exp
1514 * gdb.arch/arm-disp-step.exp
1515 * gdb.arch/disp-step-insn-reloc.exp
1516 * gdb.arch/e500-prologue.exp
1517 * gdb.arch/ftrace-insn-reloc.exp
1518 * gdb.arch/gdb1558.exp
1519 * gdb.arch/i386-bp_permanent.exp
1520 * gdb.arch/i386-disp-step.exp
1521 * gdb.arch/i386-float.exp
1522 * gdb.arch/i386-gnu-cfi.exp
1523 * gdb.arch/ia64-breakpoint-shadow.exp
1524 * gdb.arch/mips16-thunks.exp
1525 * gdb.arch/pa-nullify.exp
1526 * gdb.arch/powerpc-aix-prologue.exp
1527 * gdb.arch/powerpc-power.exp
1528 * gdb.arch/ppc-dfp.exp
1529 * gdb.arch/s390-tdbregs.exp
1530 * gdb.arch/spu-info.exp
1531 * gdb.arch/spu-ls.exp
1532 * gdb.arch/thumb-bx-pc.exp
1533 * gdb.base/advance.exp
1534 * gdb.base/annota-input-while-running.exp
1535 * gdb.base/arrayidx.exp
1536 * gdb.base/asmlabel.exp
1537 * gdb.base/async.exp
1538 * gdb.base/attach-wait-input.exp
1539 * gdb.base/auto-connect-native-target.exp
1540 * gdb.base/batch-preserve-term-settings.exp
1541 * gdb.base/bfp-test.exp
1542 * gdb.base/bigcore.exp
1543 * gdb.base/bp-permanent.exp
1544 * gdb.base/break-always.exp
1545 * gdb.base/break-fun-addr.exp
1546 * gdb.base/break-idempotent.exp
1547 * gdb.base/break-main-file-remove-fail.exp
1548 * gdb.base/break-probes.exp
1549 * gdb.base/break-unload-file.exp
1550 * gdb.base/break.exp
1551 * gdb.base/call-ar-st.exp
1552 * gdb.base/call-rt-st.exp
1553 * gdb.base/call-sc.exp
1554 * gdb.base/call-signal-resume.exp
1555 * gdb.base/call-strs.exp
1556 * gdb.base/callexit.exp
1557 * gdb.base/callfuncs.exp
1558 * gdb.base/catch-gdb-caused-signals.exp
1559 * gdb.base/catch-signal-siginfo-cond.exp
1560 * gdb.base/catch-syscall.exp
1561 * gdb.base/compare-sections.exp
1562 * gdb.base/cond-eval-mode.exp
1563 * gdb.base/condbreak-call-false.exp
1564 * gdb.base/consecutive-step-over.exp
1565 * gdb.base/cursal.exp
1566 * gdb.base/disabled-location.exp
1567 * gdb.base/disasm-end-cu.exp
1568 * gdb.base/display.exp
1569 * gdb.base/double-prompt-target-event-error.exp
1570 * gdb.base/dprintf-bp-same-addr.exp
1571 * gdb.base/dprintf-detach.exp
1572 * gdb.base/dprintf-next.exp
1573 * gdb.base/dprintf-non-stop.exp
1574 * gdb.base/dprintf-pending.exp
1575 * gdb.base/dso2dso.exp
1576 * gdb.base/ending-run.exp
1577 * gdb.base/enum_cond.exp
1578 * gdb.base/examine-backward.exp
1579 * gdb.base/exe-lock.exp
1580 * gdb.base/exec-invalid-sysroot.exp
1581 * gdb.base/execl-update-breakpoints.exp
1582 * gdb.base/execution-termios.exp
1583 * gdb.base/fileio.exp
1584 * gdb.base/fixsection.exp
1585 * gdb.base/foll-exec-mode.exp
1586 * gdb.base/foll-exec.exp
1587 * gdb.base/fork-running-state.exp
1588 * gdb.base/frame-args.exp
1589 * gdb.base/fullpath-expand.exp
1590 * gdb.base/func-ptr.exp
1591 * gdb.base/gcore-relro-pie.exp
1592 * gdb.base/gdb1090.exp
1593 * gdb.base/gdb1555.exp
1594 * gdb.base/global-var-nested-by-dso.exp
1595 * gdb.base/gnu-ifunc.exp
1596 * gdb.base/hbreak-in-shr-unsupported.exp
1597 * gdb.base/hbreak-unmapped.exp
1598 * gdb.base/hook-stop.exp
1599 * gdb.base/infcall-input.exp
1600 * gdb.base/info-fun.exp
1601 * gdb.base/info-shared.exp
1602 * gdb.base/interrupt-noterm.exp
1603 * gdb.base/jit-so.exp
1604 * gdb.base/jit.exp
1605 * gdb.base/line-symtabs.exp
1606 * gdb.base/list.exp
1607 * gdb.base/longjmp.exp
1608 * gdb.base/macscp.exp
1609 * gdb.base/max-value-size.exp
1610 * gdb.base/nodebug.exp
1611 * gdb.base/nofield.exp
1612 * gdb.base/overlays.exp
1613 * gdb.base/paginate-after-ctrl-c-running.exp
1614 * gdb.base/paginate-bg-execution.exp
1615 * gdb.base/paginate-inferior-exit.exp
1616 * gdb.base/pending.exp
1617 * gdb.base/pr11022.exp
1618 * gdb.base/printcmds.exp
1619 * gdb.base/ptr-typedef.exp
1620 * gdb.base/ptype.exp
1621 * gdb.base/randomize.exp
1622 * gdb.base/range-stepping.exp
1623 * gdb.base/realname-expand.exp
1624 * gdb.base/relativedebug.exp
1625 * gdb.base/remote.exp
1626 * gdb.base/savedregs.exp
1627 * gdb.base/sepdebug.exp
1628 * gdb.base/set-noassign.exp
1629 * gdb.base/shlib-call.exp
1630 * gdb.base/shreloc.exp
1631 * gdb.base/sigaltstack.exp
1632 * gdb.base/sigbpt.exp
1633 * gdb.base/siginfo-addr.exp
1634 * gdb.base/siginfo-obj.exp
1635 * gdb.base/siginfo-thread.exp
1636 * gdb.base/signest.exp
1637 * gdb.base/signull.exp
1638 * gdb.base/sigrepeat.exp
1639 * gdb.base/skip.exp
1640 * gdb.base/so-impl-ld.exp
1641 * gdb.base/solib-corrupted.exp
1642 * gdb.base/solib-disc.exp
1643 * gdb.base/solib-display.exp
1644 * gdb.base/solib-overlap.exp
1645 * gdb.base/solib-search.exp
1646 * gdb.base/solib-symbol.exp
1647 * gdb.base/source-execution.exp
1648 * gdb.base/sss-bp-on-user-bp-2.exp
1649 * gdb.base/sss-bp-on-user-bp.exp
1650 * gdb.base/stack-checking.exp
1651 * gdb.base/stale-infcall.exp
1652 * gdb.base/step-break.exp
1653 * gdb.base/step-line.exp
1654 * gdb.base/step-over-exit.exp
1655 * gdb.base/step-test.exp
1656 * gdb.base/structs.exp
1657 * gdb.base/sym-file.exp
1658 * gdb.base/symtab-search-order.exp
1659 * gdb.base/term.exp
1660 * gdb.base/type-opaque.exp
1661 * gdb.base/unload.exp
1662 * gdb.base/until-nodebug.exp
1663 * gdb.base/until.exp
1664 * gdb.base/unwindonsignal.exp
1665 * gdb.base/watch-cond.exp
1666 * gdb.base/watch-non-mem.exp
1667 * gdb.base/watch_thread_num.exp
1668 * gdb.base/watchpoint-reuse-slot.exp
1669 * gdb.base/watchpoint-solib.exp
1670 * gdb.base/watchpoint.exp
1671 * gdb.btrace/dlopen.exp
1672 * gdb.cell/arch.exp
1673 * gdb.cell/break.exp
1674 * gdb.cell/bt.exp
1675 * gdb.cell/core.exp
1676 * gdb.cell/data.exp
1677 * gdb.cell/dwarfaddr.exp
1678 * gdb.cell/ea-cache.exp
1679 * gdb.cell/ea-standalone.exp
1680 * gdb.cell/ea-test.exp
1681 * gdb.cell/f-regs.exp
1682 * gdb.cell/fork.exp
1683 * gdb.cell/gcore.exp
1684 * gdb.cell/mem-access.exp
1685 * gdb.cell/ptype.exp
1686 * gdb.cell/registers.exp
1687 * gdb.cell/sizeof.exp
1688 * gdb.cell/solib-symbol.exp
1689 * gdb.cell/solib.exp
1690 * gdb.compile/compile-tls.exp
1691 * gdb.cp/exception.exp
1692 * gdb.cp/gdb2495.exp
1693 * gdb.cp/local.exp
1694 * gdb.cp/mb-inline.exp
1695 * gdb.cp/mb-templates.exp
1696 * gdb.cp/pr10687.exp
1697 * gdb.cp/pr9167.exp
1698 * gdb.cp/scope-err.exp
1699 * gdb.cp/templates.exp
1700 * gdb.cp/virtfunc.exp
1701 * gdb.dwarf2/dw2-dir-file-name.exp
1702 * gdb.dwarf2/dw2-single-line-discriminators.exp
1703 * gdb.fortran/complex.exp
1704 * gdb.fortran/library-module.exp
1705 * gdb.guile/guile.exp
1706 * gdb.guile/scm-cmd.exp
1707 * gdb.guile/scm-frame-inline.exp
1708 * gdb.guile/scm-objfile.exp
1709 * gdb.guile/scm-pretty-print.exp
1710 * gdb.guile/scm-symbol.exp
1711 * gdb.guile/scm-type.exp
1712 * gdb.guile/scm-value.exp
1713 * gdb.linespec/keywords.exp
1714 * gdb.linespec/ls-errs.exp
1715 * gdb.linespec/macro-relative.exp
1716 * gdb.linespec/thread.exp
1717 * gdb.mi/mi-breakpoint-changed.exp
1718 * gdb.mi/mi-dprintf-pending.exp
1719 * gdb.mi/mi-fullname-deleted.exp
1720 * gdb.mi/mi-logging.exp
1721 * gdb.mi/mi-pending.exp
1722 * gdb.mi/mi-solib.exp
1723 * gdb.mi/new-ui-mi-sync.exp
1724 * gdb.mi/user-selected-context-sync.exp
1725 * gdb.multi/dummy-frame-restore.exp
1726 * gdb.multi/multi-arch-exec.exp
1727 * gdb.multi/remove-inferiors.exp
1728 * gdb.multi/watchpoint-multi-exit.exp
1729 * gdb.opt/solib-intra-step.exp
1730 * gdb.perf/backtrace.exp
1731 * gdb.perf/single-step.exp
1732 * gdb.perf/skip-command.exp
1733 * gdb.perf/skip-prologue.exp
1734 * gdb.perf/solib.exp
1735 * gdb.python/lib-types.exp
1736 * gdb.python/py-as-string.exp
1737 * gdb.python/py-bad-printers.exp
1738 * gdb.python/py-block.exp
1739 * gdb.python/py-breakpoint.exp
1740 * gdb.python/py-cmd.exp
1741 * gdb.python/py-events.exp
1742 * gdb.python/py-evthreads.exp
1743 * gdb.python/py-finish-breakpoint.exp
1744 * gdb.python/py-finish-breakpoint2.exp
1745 * gdb.python/py-frame-inline.exp
1746 * gdb.python/py-frame.exp
1747 * gdb.python/py-inferior.exp
1748 * gdb.python/py-infthread.exp
1749 * gdb.python/py-mi.exp
1750 * gdb.python/py-objfile.exp
1751 * gdb.python/py-pp-maint.exp
1752 * gdb.python/py-pp-registration.exp
1753 * gdb.python/py-prettyprint.exp
1754 * gdb.python/py-recurse-unwind.exp
1755 * gdb.python/py-shared.exp
1756 * gdb.python/py-symbol.exp
1757 * gdb.python/py-symtab.exp
1758 * gdb.python/py-template.exp
1759 * gdb.python/py-type.exp
1760 * gdb.python/py-unwind-maint.exp
1761 * gdb.python/py-unwind.exp
1762 * gdb.python/py-value.exp
1763 * gdb.python/python.exp
1764 * gdb.reverse/finish-reverse-bkpt.exp
1765 * gdb.reverse/insn-reverse.exp
1766 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1767 * gdb.reverse/solib-precsave.exp
1768 * gdb.reverse/solib-reverse.exp
1769 * gdb.stabs/gdb11479.exp
1770 * gdb.stabs/weird.exp
1771 * gdb.threads/fork-child-threads.exp
1772 * gdb.threads/fork-plus-threads.exp
1773 * gdb.threads/fork-thread-pending.exp
1774 * gdb.threads/forking-threads-plus-breakpoint.exp
1775 * gdb.threads/hand-call-in-threads.exp
1776 * gdb.threads/interrupted-hand-call.exp
1777 * gdb.threads/linux-dp.exp
1778 * gdb.threads/local-watch-wrong-thread.exp
1779 * gdb.threads/next-while-other-thread-longjmps.exp
1780 * gdb.threads/non-ldr-exit.exp
1781 * gdb.threads/pending-step.exp
1782 * gdb.threads/print-threads.exp
1783 * gdb.threads/process-dies-while-detaching.exp
1784 * gdb.threads/process-dies-while-handling-bp.exp
1785 * gdb.threads/pthreads.exp
1786 * gdb.threads/queue-signal.exp
1787 * gdb.threads/reconnect-signal.exp
1788 * gdb.threads/signal-command-handle-nopass.exp
1789 * gdb.threads/signal-command-multiple-signals-pending.exp
1790 * gdb.threads/signal-delivered-right-thread.exp
1791 * gdb.threads/signal-sigtrap.exp
1792 * gdb.threads/sigthread.exp
1793 * gdb.threads/staticthreads.exp
1794 * gdb.threads/stepi-random-signal.exp
1795 * gdb.threads/thread-unwindonsignal.exp
1796 * gdb.threads/thread_check.exp
1797 * gdb.threads/thread_events.exp
1798 * gdb.threads/tid-reuse.exp
1799 * gdb.threads/tls-nodebug.exp
1800 * gdb.threads/tls-shared.exp
1801 * gdb.threads/tls-so_extern.exp
1802 * gdb.threads/tls.exp
1803 * gdb.threads/wp-replication.exp
1804 * gdb.trace/actions-changed.exp
1805 * gdb.trace/actions.exp
1806 * gdb.trace/backtrace.exp
1807 * gdb.trace/change-loc.exp
1808 * gdb.trace/collection.exp
1809 * gdb.trace/deltrace.exp
1810 * gdb.trace/disconnected-tracing.exp
1811 * gdb.trace/entry-values.exp
1812 * gdb.trace/ftrace-lock.exp
1813 * gdb.trace/ftrace.exp
1814 * gdb.trace/infotrace.exp
1815 * gdb.trace/mi-trace-frame-collected.exp
1816 * gdb.trace/mi-trace-unavailable.exp
1817 * gdb.trace/mi-traceframe-changed.exp
1818 * gdb.trace/mi-tracepoint-changed.exp
1819 * gdb.trace/mi-tsv-changed.exp
1820 * gdb.trace/no-attach-trace.exp
1821 * gdb.trace/packetlen.exp
1822 * gdb.trace/passc-dyn.exp
1823 * gdb.trace/passcount.exp
1824 * gdb.trace/pending.exp
1825 * gdb.trace/pr16508.exp
1826 * gdb.trace/qtro.exp
1827 * gdb.trace/range-stepping.exp
1828 * gdb.trace/read-memory.exp
1829 * gdb.trace/report.exp
1830 * gdb.trace/save-trace.exp
1831 * gdb.trace/signal.exp
1832 * gdb.trace/stap-trace.exp
1833 * gdb.trace/status-stop.exp
1834 * gdb.trace/strace.exp
1835 * gdb.trace/tfile.exp
1836 * gdb.trace/tfind.exp
1837 * gdb.trace/trace-break.exp
1838 * gdb.trace/trace-condition.exp
1839 * gdb.trace/trace-enable-disable.exp
1840 * gdb.trace/trace-mt.exp
1841 * gdb.trace/tracecmd.exp
1842 * gdb.trace/tracefile-pseudo-reg.exp
1843 * gdb.trace/tspeed.exp
1844 * gdb.trace/tstatus.exp
1845 * gdb.trace/tsv.exp
1846 * gdb.trace/unavailable.exp
1847 * gdb.trace/while-dyn.exp
1848 * gdb.trace/while-stepping.exp
1849 * lib/gdb-guile.exp
1850 * lib/gdb.exp
1851 * lib/mi-support.exp
1852 * lib/pascal.exp
1853 * lib/perftest.exp
1854 * lib/prelink-support.exp
1855 * lib/selftest-support.exp
1856
1857 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
1858
1859 * Makefile.in: Include disable-implicit-rules.mk.
1860
1861 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1862
1863 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
1864 non-byte-aligned bit fields.
1865
1866 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1867
1868 PR gdb/12616
1869 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
1870 respects the DW_AT_data_bit_offset attribute.
1871
1872 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
1873
1874 * gdb.base/default.exp: Fix output of "set language".
1875
1876 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
1877
1878 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
1879 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
1880 make.
1881 * configure.ac: Remove checks for the make program.
1882 * configure: Re-generate.
1883
1884 2016-11-16 Kevin Buettner <kevinb@redhat.com>
1885
1886 * gdb.python/py-recurse-unwind.c (main): Add loop.
1887 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
1888 to read_register() and gdb.parse_and_eval(). Make each code
1889 call a separate case that can be individually tested.
1890 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
1891 proc. Call cont_and_backtrace for each of the code paths that
1892 we want to test in the unwinder.
1893
1894 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
1895
1896 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
1897 the definition of struct S.
1898
1899 2016-11-11 Catherine Moore <clm@codesourcery.com>
1900
1901 * gdb.base/dump.exp: Identify verilog format dump tests as such.
1902
1903 2016-11-09 Pedro Alves <palves@redhat.com>
1904
1905 * gdb.base/commands.exp (runto_or_return): New procedure.
1906 (gdbvar_simple_if_test, gdbvar_simple_while_test)
1907 (gdbvar_complex_if_while_test, progvar_simple_if_test)
1908 (progvar_simple_while_test, progvar_complex_if_while_test)
1909 (if_while_breakpoint_command_test)
1910 (infrun_breakpoint_command_test, breakpoint_command_test)
1911 (user_defined_command_test, watchpoint_command_test)
1912 (test_command_prompt_position, redefine_hook_test)
1913 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
1914 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
1915 multi_line_input and multi_line. Remove gdb_expect and
1916 gdb_stop_suppressing_tests uses.
1917 * lib/gdb.exp (valnum_re): New global.
1918 (multi_line_input): New procedure.
1919
1920 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
1921
1922 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
1923 Remove.
1924 (test_setup): Define with proc_with_prefix.
1925 (test_cli_inferior): Likewise.
1926 (test_cli_thread): Likewise.
1927 (test_cli_frame): Likewise.
1928 (test_cli_select_frame): Likewise.
1929 (test_cli_up_down): Likewise.
1930 (test_mi_thread_select): Likewise.
1931 (test_mi_stack_select_frame): Likewise.
1932 (test_cli_in_mi_inferior): Likewise.
1933 (test_cli_in_mi_thread): Likewise.
1934 (test_cli_in_mi_frame): Likewise.
1935 (top level): Do not use with_test_prefix_procname.
1936
1937 2016-11-09 Pedro Alves <palves@redhat.com>
1938
1939 * gdb.base/commands.exp (gdbvar_simple_if_test)
1940 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
1941 (progvar_simple_if_test, progvar_simple_while_test)
1942 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
1943 (infrun_breakpoint_command_test, breakpoint_command_test)
1944 (user_defined_command_test, watchpoint_command_test)
1945 (test_command_prompt_position, deprecated_command_test)
1946 (bp_deleted_in_command, temporary_breakpoint_commands)
1947 (stray_arg0_test, source_file_with_indented_comment)
1948 (recursive_source_test, if_commands_test)
1949 (error_clears_commands_left, redefine_hook_test)
1950 (redefine_backtrace_test): Use proc_with_prefix.
1951 * lib/gdb.exp (proc_with_prefix): New proc.
1952
1953 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
1954
1955 * gdb.base/tui-layout.c: New file.
1956 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
1957 disassembly window contains very long lines.
1958
1959 2016-11-08 Tom Tromey <tom@tromey.com>
1960
1961 * gdb.python/py-value.exp (test_value_creation): Make "long" test
1962 depend on Python 2.
1963
1964 2016-11-08 Tom Tromey <tom@tromey.com>
1965
1966 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
1967 New method.
1968
1969 2016-10-29 Manish Goregaokar <manish@mozilla.com>
1970
1971 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
1972
1973 2016-10-27 Manish Goregaokar <manish@mozilla.com>
1974
1975 * gdb.rust/simple.rs: Add test for univariant enums without
1976 discriminants and for encoded struct-like enums.
1977
1978 2016-10-28 Pedro Alves <palves@redhat.com>
1979
1980 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
1981 gdb_test_multiple, tighten regexps and match symtabs and line
1982 tables incrementally.
1983
1984 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
1985
1986 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
1987 general.
1988
1989 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
1990
1991 * gdb.base/exec-invalid-sysroot.exp: New file.
1992
1993 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1994
1995 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
1996
1997 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1998
1999 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
2000
2001 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
2002
2003 * gdb.base/killed-outside.exp: Remove $options from a call to
2004 `prepare_for_testing'.
2005
2006 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2007
2008 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2009 Change test message.
2010
2011 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2012
2013 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2014 Update comment.
2015
2016 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2017
2018 * gdb.trace/mi-trace-save.exp: New file.
2019
2020 2016-10-13 Yao Qi <yao.qi@linaro.org>
2021
2022 * gdb.base/code_elim.exp (get_var_address): Remove.
2023 * gdb.base/relocate.exp: Likewise.
2024 * gdb.base/shreloc.exp: Likewise.
2025 * lib/gdb.exp (get_var_address): New.
2026
2027 2016-10-13 Yao Qi <yao.qi@linaro.org>
2028
2029 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
2030 floating point tests if $skip_float_test is false.
2031
2032 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
2033
2034 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
2035 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
2036 argc values.
2037 Add 1 to argc so we guarantee distinct initial/modified argc values.
2038
2039 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2040
2041 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
2042
2043 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2044
2045 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
2046 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
2047 * gdb.arch/vsx-regs.exp: Likewise.
2048
2049 2016-10-07 Yao Qi <yao.qi@linaro.org>
2050
2051 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
2052
2053 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
2054
2055 * gdb.python/python.exp: Test decode_line("*0").
2056
2057 2016-10-06 Doug Evans <dje@google.com>
2058
2059 * gdb.python/py-value.exp (test_value_creation): Add test for large
2060 unsigned 64-bit value.
2061
2062 2016-10-06 Tom Tromey <tom@tromey.com>
2063
2064 * gdb.compile/compile.exp: Change java tests to rust.
2065 * gdb.base/setshow.exp: Change java tests to rust.
2066 * gdb.base/default.exp: Remove java from language list.
2067 * README (Examples): Update language example.
2068 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
2069 test.
2070 * lib/gdb.exp (skip_java_tests): Remove.
2071 * lib/java.exp: Remove.
2072 * gdb.java: Remove.
2073
2074 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2075
2076 * gdb.arch/mips-fcr.exp: New test.
2077 * gdb.arch/mips-fcr.c: Source for the new test.
2078
2079 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2080
2081 * gdb.base/solib-disc.exp: Use `standard_output_file'
2082 throughout.
2083
2084 2016-10-06 Pedro Alves <palves@redhat.com>
2085
2086 * gdb.base/jit-simple-dl.c: New file.
2087 * gdb.base/jit-simple-jit.c: New file, factored out from ...
2088 * gdb.base/jit-simple.c: ... this.
2089 * gdb.base/jit-simple.exp (jit_run): Delete.
2090 (build_jit): New proc.
2091 (jit_test_reread): Recompile either the main program or the shared
2092 library, depending on what is being tested. Skip changing address
2093 if caller wants to. Compare before/after addresses. If testing
2094 standalone, explicitly load the binary. Test "maint info
2095 breakpoints".
2096 (top level): Add "standalone vs shared lib" and "change address"
2097 vs "same address" axes.
2098
2099 2016-10-06 Pedro Alves <palves@redhat.com>
2100
2101 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
2102 call.
2103 (jit_run): Delete.
2104 (jit_test_reread): Use with_test_prefix. Reload the main binary
2105 explicitly. Compare the before/after addresses of the JIT
2106 descriptor.
2107
2108 2016-08-15 Doug Evans <dje@google.com>
2109
2110 * gdb.xml/extra-regs.xml: Update, end field now required, default type
2111 for single bitfields is bool.
2112 * gdb.xml/tdesc-regs.exp: Ditto.
2113
2114 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2115
2116 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
2117
2118 2016-10-05 Yao Qi <yao.qi@linaro.org>
2119
2120 * lib/gdb.exp (support_complex_tests): Return zero if
2121 gdb_skip_float_test return true.
2122
2123 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2124 Simon Marchi <simon.marchi@ericsson.com>
2125
2126 PR gdb/20487
2127 * gdb.mi/user-selected-context-sync.exp: New file.
2128 * gdb.mi/user-selected-context-sync.c: New file.
2129
2130 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2131 Simon Marchi <simon.marchi@ericsson.com>
2132
2133 PR gdb/20487
2134 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
2135 =thread-select-event check.
2136
2137 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
2138
2139 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
2140 the compulsory L operand changes.
2141 * gdb.arch/powerpc-power.s: Likewise.
2142
2143 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2144
2145 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
2146 * gdb.base/jit-attach-pie.c: New file.
2147 * gdb.base/jit-attach-pie.exp: New file.
2148
2149 2016-09-28 Pedro Alves <palves@redhat.com>
2150
2151 * gdb.base/infcall-input.c: New file.
2152 * gdb.base/infcall-input.exp: New file.
2153
2154 2016-09-22 Yao Qi <yao.qi@linaro.org>
2155
2156 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
2157 (gdb_exit): Rename it to ...
2158 (gdbserver_gdb_exit): ... Close GDBserver.
2159 (gdb_exit): New proc, call gdbserver_gdb_exit.
2160 (mi_gdb_exit): Likewise.
2161
2162 2016-09-22 Yao Qi <yao.qi@linaro.org>
2163
2164 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
2165 path.
2166 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
2167 Remove duplication.
2168
2169 2016-09-22 Yao Qi <yao.qi@linaro.org>
2170
2171 * lib/gdbserver-support.exp: Check the existence of
2172 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
2173
2174 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
2175
2176 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
2177
2178 2016-09-21 Tom Tromey <tom@tromey.com>
2179
2180 PR gdb/20604:
2181 * gdb.base/quit.exp: New file.
2182
2183 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
2184
2185 * .gitignore: New file.
2186
2187 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
2188
2189 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
2190 throughout.
2191
2192 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2193
2194 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
2195
2196 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2197
2198 * gdb.cp/casts.cc (decltype): Move it ...
2199 (main): ... with its call to ...
2200 * gdb.cp/casts03.cc: ... a new file.
2201 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
2202
2203 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2204
2205 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
2206
2207 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
2208
2209 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
2210 and sync up the test with tests in gas/testsuite/gas/ppc.
2211 * gdb.arch/powerpc-power.exp: Likewise.
2212
2213 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2214
2215 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
2216
2217 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
2218 Jan Kratochvil <jan.kratochvil@redhat.com>
2219
2220 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
2221 make m1's definition to be different from m2's. Use 'dummy' as an
2222 argument for probe 'two'.
2223
2224 2016-09-10 Jon Beniston <jon@beniston.com>
2225
2226 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
2227 for sim target.
2228
2229 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2230
2231 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
2232 variable declaration.
2233 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
2234 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
2235 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
2236 received HWCAP as its argument.
2237
2238 2016-09-06 Pedro Alves <palves@redhat.com>
2239
2240 * gdb.base/new-ui-pending-input.c: New file.
2241 * gdb.base/new-ui-pending-input.exp: New file.
2242 * gdb.exp (clear_gdb_spawn_id): New procedure.
2243 (with_spawn_id): Check whether gdb_spawn_id exists before
2244 referencing it. If gdb_spawn_id didn't exist on entry, clear it
2245 on exit.
2246
2247 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2248
2249 * gdb.base/float128.c: New file.
2250 * gdb.base/float128.exp: Likewise.
2251 * gdb.base/floatn.c: Likewise.
2252 * gdb.base/floatn.exp: Likewise.
2253
2254 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2255
2256 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
2257
2258 2016-09-05 Pedro Alves <palves@redhat.com>
2259
2260 PR backtrace/19927
2261 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
2262 unwinders are immediately called as side effect of "source" or
2263 "disable unwinder" commands.
2264 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
2265
2266 2016-09-02 Yao Qi <yao.qi@linaro.org>
2267
2268 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
2269 is true and $type is "float" or "double".
2270
2271 2016-09-02 Yao Qi <yao.qi@linaro.org>
2272
2273 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
2274 true.
2275 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
2276 * gdb.base/call-rt-st.exp: Likewise.
2277 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
2278 return value instead of gdb,skip_float_test.
2279 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
2280 (do_function_calls): Use its return value instead of
2281 gdb,skip_float_test.
2282 * gdb.base/finish.exp: Likewise.
2283 * gdb.base/funcargs.exp: Likewise.
2284 * gdb.base/return.exp: Likewise.
2285 * gdb.base/return2.exp: Likewise.
2286 * gdb.base/varargs.exp: Likewise.
2287 * lib/gdb.exp (gdb_skip_float_test): Change it to
2288 gdb_caching_proc. Detect the broken ptrace on arm-linux.
2289
2290 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2291
2292 * gdb.multi/tids.exp: Test "thread apply all".
2293
2294 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2295
2296 * gdb.base/default.exp (tty): Remove.
2297
2298 2016-08-24 Kevin Buettner <kevinb@redhat.com>
2299
2300 * gdb.python/py-recurse-unwind.c: New file.
2301 * gdb.python/py-recurse-unwind.py: New file.
2302 * gdb.python/py-recurse-unwind.exp: New file.
2303
2304 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
2305
2306 * gdb.base/set-inferior-tty.exp: New file.
2307 * gdb.base/set-inferior-tty.c: New file.
2308
2309 2016-08-23 Pedro Alves <palves@redhat.com>
2310
2311 PR gdb/20494
2312 * gdb.base/new-ui-echo.c: New file.
2313 * gdb.base/new-ui-echo.exp: New file.
2314
2315 2016-08-23 Yao Qi <yao.qi@linaro.org>
2316
2317 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
2318 gdbserver_spawn.
2319 * gdb.server/connect-without-multi-process.exp (do_test):
2320 Likewise.
2321
2322 2016-08-23 Yao Qi <yao.qi@linaro.org>
2323
2324 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
2325 standalone_txt. Delete gdb_txt and standalone_txt on host
2326 and target. Spawn the binary on target. Copy files from
2327 target to host.
2328
2329 2016-08-22 Pedro Alves <palves@redhat.com>
2330
2331 PR gdb/20505
2332 * gdb.base/vdso-warning.exp: Test core dumps too. Use
2333 with_test_prefix. Factor out bits to ...
2334 (test_no_vdso): ... this new procedure.
2335
2336 2016-08-19 Carl Love <cel@us.ibm.com>
2337
2338 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
2339 maintaining separate logic for constructing the output path.
2340 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2341 * gdb.arch/ppc-dfp.exp: Likewise.
2342 * gdb.arch/ppc-fp.exp: Likewise.
2343 * gdb.arch/vsx-regs.exp: Likewise.
2344 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
2345 binprefix for generating the additional binary files.
2346
2347 2016-08-19 Pedro Alves <palves@redhat.com>
2348
2349 * gdb.trace/mi-trace-frame-collected.exp
2350 (test_trace_frame_collected): On x32, expect two registers.
2351
2352 2016-08-18 Carl Love <cel@us.ibm.com>
2353
2354 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
2355 and sync up the test with tests in gas/testsuite/gas/ppc.
2356 * gdb.arch/powerpc-power.exp: Likewise.
2357
2358 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
2359
2360 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
2361 expected error message.
2362
2363 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
2364
2365 * gdb.multi/remove-inferiors.exp: New file.
2366 * gdb.multi/remove-inferiors.c: New file.
2367
2368 2016-08-12 Yao Qi <yao.qi@linaro.org>
2369
2370 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
2371 argument list.
2372
2373 2016-08-10 Pedro Alves <palves@redhat.com>
2374
2375 PR gdb/19187
2376 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
2377 setup_kfails.
2378
2379 2016-08-09 Pedro Alves <palves@redhat.com>
2380 Simon Marchi <simon.marchi@ericsson.com>
2381
2382 PR gdb/20418
2383 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
2384 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
2385
2386 2016-08-09 Pedro Alves <palves@redhat.com>
2387
2388 PR mi/20431
2389 * gdb.mi/mi-cmd-error.exp: New file.
2390
2391 2016-08-09 Pedro Alves <palves@redhat.com>
2392
2393 PR gdb/18653
2394 * gdb.base/signals-state-child.c: New file.
2395 * gdb.base/signals-state-child.exp: New file.
2396 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
2397
2398 2016-08-09 Pedro Alves <palves@redhat.com>
2399
2400 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
2401
2402 2016-08-03 Tom Tromey <tom@tromey.com>
2403
2404 PR python/18565:
2405 * gdb.python/py-frame-inline.exp: Add Frame.function test.
2406
2407 2016-08-01 Yao Qi <yao.qi@linaro.org>
2408
2409 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
2410 variable mode to "multi-process" if $multi_process is 1, otherwise
2411 set it to "single-process".
2412
2413 2016-08-01 Yao Qi <yao.qi@linaro.org>
2414
2415 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
2416 * gdb.cp/cpexprs.exp: Likewise.
2417 * gdb.cp/m-static.exp: Likewise.
2418
2419 2016-07-26 Tom Tromey <tom@tromey.com>
2420
2421 PR python/20190:
2422 * gdb.threads/tls.exp (check_thread_local): Add python symbol
2423 test.
2424
2425 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
2426
2427 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
2428 selecting assembly source files.
2429 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
2430 assembly source files.
2431 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
2432 assembly source files.
2433 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
2434 selecting assembly source files.
2435
2436 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
2437
2438 * gdb.base/new-ui.exp (do_test_invalid_args): New
2439 procedure.
2440
2441 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
2442
2443 * gdb.btrace/reconnect.c: New file.
2444 * gdb.btrace/reconnect.exp: New file.
2445
2446 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
2447
2448 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
2449 to test_catch_syscall_group.
2450 (test_catch_syscall_group): New.
2451
2452 2016-07-21 Tom Tromey <tom@tromey.com>
2453
2454 * gdb.rust/simple.rs (main): Use empty struct expression.
2455 * gdb.rust/simple.exp: Add tests for empty struct expression.
2456
2457 2016-07-21 Yao Qi <yao.qi@linaro.org>
2458
2459 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
2460 if gdb_skip_xml_test is true on some targets.
2461
2462 2016-07-21 Yao Qi <yao.qi@linaro.org>
2463
2464 * gdb.server/solib-list.exp: Unset last_loaded_file.
2465
2466 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2467
2468 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
2469 "step into captured_main (args)".
2470
2471 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2472
2473 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
2474
2475 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2476
2477 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
2478
2479 2016-07-19 Pedro Alves <palves@redhat.com>
2480
2481 * gdb.opt/inline-break.exp: Remove optimize=-O2.
2482 * gdb.opt/inline-bt.exp: Likewise.
2483 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
2484 additional_flags=-Winline.
2485 * gdb.opt/inline-locals.exp: Likewise.
2486 * gdb.opt/inline-markers.c (ATTR): Define.
2487 (inlined_fn): Use it.
2488
2489 2016-07-19 Yao Qi <yao.qi@linaro.org>
2490
2491 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
2492 (test_with_self): Remove some code. Remove argument executable.
2493 (top-level): Use do_self_tests.
2494
2495 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
2496 Don Breazeal <donb@codesourcery.com>
2497
2498 * gdb.base/maint.exp: Escape paths used in regular expressions.
2499 * gdb.stabs/weird.exp: Likewise.
2500
2501 2016-07-13 Tom Tromey <tom@tromey.com>
2502
2503 PR python/15620, PR python/18620:
2504 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
2505 (test_bkpt_events): New procs.
2506
2507 2016-07-13 Tom Tromey <tom@tromey.com>
2508
2509 PR python/17698:
2510 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
2511 test.
2512 (test_watchpoints): Likewise.
2513 (test_bkpt_pending): New proc.
2514
2515 2016-07-13 Tom Tromey <tom@tromey.com>
2516
2517 PR cli/18053:
2518 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
2519 completion test.
2520
2521 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2522
2523 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
2524 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
2525 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
2526 f_label.
2527 (g): Rename g_end_lbl to g_label.
2528 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
2529 low_pc and high_pc.
2530 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
2531
2532 2016-07-12 Tom Tromey <tom@tromey.com>
2533
2534 PR python/19293:
2535 * gdb.python/py-unwind-maint.exp: Update tests.
2536
2537 2016-07-12 Yao Qi <yao.qi@linaro.org>
2538
2539 * lib/selftest-support.exp (selftest_setup): Match the output
2540 when captured_main is inlined.
2541
2542 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
2543
2544 * gdb.fortran/derived-types.exp (result_line, result_line_2):
2545 New variables.
2546 (print this%a, print this%b, print this): New tests.
2547 * gdb.fortran/derived-types.f90 (this): New object and
2548 initialization.
2549
2550 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
2551
2552 * gdb.ada/arraydim.exp: Remove extra directory level in build
2553 directory.
2554
2555 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
2556
2557 * lib/ada.exp: Remove extra directory level in build directory.
2558 * gdb.ada/cond_lang.exp: Likewise.
2559 * gdb.ada/exec_changed.exp: Likewise.
2560 * gdb.ada/lang_switch.exp: Likewise.
2561
2562 2016-07-06 Manish Goregaokar <manish@mozilla.com>
2563
2564 * simple.rs: Add test for raw pointer subscripting.
2565 * simple.exp: Add test expectations.
2566
2567 2016-07-05 Yao Qi <yao.qi@linaro.org>
2568
2569 * gdb.mi/mi-reverse.exp: Match =record-started output.
2570
2571 2016-07-01 Pedro Alves <palves@redhat.com>
2572
2573 * gdb.base/jit-reader.exp (info_registers_current_frame): New
2574 procedure.
2575 (jit_reader_test): Test the jit reader's unwinder.
2576 * gdb.base/jithost.c (jit_function_00_code): New global.
2577 (main): Use memcpy to fill in the mmapped code, instead of poking
2578 bytes manually here.
2579 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
2580 value.
2581 (read_debug_info): Save the function's range.
2582 (read_sp): New function.
2583 (unwind_frame): Use it. Also unwind RBP.
2584 (get_frame_id): Use read_sp.
2585 (gdb_init_reader): Use calloc instead of malloc.
2586 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
2587 parameter. Use gdb_test_multiple.
2588
2589 2016-07-01 Pedro Alves <palves@redhat.com>
2590 Antoine Tremblay <antoine.tremblay@ericsson.com>
2591
2592 * gdb.threads/process-dies-while-detaching.c: New file.
2593 * gdb.threads/process-dies-while-detaching.exp: New file.
2594
2595 2016-07-01 Pedro Alves <palves@redhat.com>
2596
2597 * gdb.multi/watchpoint-multi-exit.c: New file.
2598 * gdb.multi/watchpoint-multi-exit.exp: New file.
2599
2600 2016-06-30 Pedro Alves <palves@redhat.com>
2601
2602 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
2603 unset inferior_spawn_id.
2604
2605 2016-06-30 Pedro Alves <palves@redhat.com>
2606
2607 * lib/mi-support.exp (default_mi_gdb_start): Declare global
2608 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
2609
2610 2016-06-29 Yao Qi <yao.qi@linaro.org>
2611
2612 * gdb.base/return.c: Add copyright header.
2613
2614 2016-06-29 Tom Tromey <tom@tromey.com>
2615
2616 PR python/20129:
2617 * gdb.python/py-framefilter.exp: Add tests for setting priority
2618 and disabling of non-existent frame filter.
2619
2620 2016-06-29 Yao Qi <yao.qi@linaro.org>
2621
2622 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
2623 0x0f07ff.
2624
2625 2016-06-28 Yao Qi <yao.qi@linaro.org>
2626
2627 * gdb.base/catch-syscall.exp: Remove check on isnative and target
2628 triplets. Start gdb, execute catch syscall, and continue. Check
2629 gdb's output to determine catch syscall is supported.
2630
2631 2016-06-27 Manish Goregaokar <manish@mozilla.com>
2632
2633 * gdb.rust/simple.rs: Add test for returning unit in a function.
2634 * gdb.rust/simple.exp: Add expectation for functions returning
2635 unit.
2636
2637 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
2638
2639 * gdb.python/py-breakpoint-create-fail.c,
2640 gdb.python/py-breakpoint-create-fail.exp,
2641 gdb.python/py-breakpoint-create-fail.py: New testcase.
2642
2643 2016-06-25 Manish Goregaokar <manish@mozilla.com>
2644
2645 PR gdb/20239
2646 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
2647 * gdb.rust/simple.exp: Add test expectations for new NonZero
2648 tests.
2649
2650 2016-06-24 David Taylor <dtaylor@emc.com>
2651
2652 * gdb.base/offsets.exp: New file.
2653 * gdb.base/offsets.c: New file.
2654
2655 2016-06-23 Tom Tromey <tom@tromey.com>
2656
2657 PR gdb/16483:
2658 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
2659 before any filters are loaded.
2660
2661 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
2662
2663 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
2664 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
2665 structs.
2666 * gdb.fortran/derived-type-function.exp: New file.
2667 * gdb.fortran/derived-type-function.f90: New file.
2668
2669
2670 2016-06-21 Pedro Alves <palves@redhat.com>
2671
2672 * gdb.base/new-ui.exp: New file.
2673 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
2674 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
2675 (with_spawn_id): New procedure.
2676
2677 2016-06-21 Pedro Alves <palves@redhat.com>
2678
2679 * gdb.mi/mi-exec-run.exp: New file.
2680
2681 2016-06-21 Pedro Alves <palves@redhat.com>
2682
2683 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
2684 breakpoint command's output on the main UI.
2685 (test_break): New procedure, factored out from calls in the top
2686 level.
2687 (top level): Use foreach_with_prefix to test MI as main UI and as
2688 separate UI.
2689
2690 2016-06-21 Pedro Alves <palves@redhat.com>
2691
2692 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
2693 (test_awatch_creation_and_listing)
2694 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
2695 Remove 'type' parameter.
2696 (test_watchpoint_all): New parameter mi_mode. Remove
2697 with_test_prefix.
2698 (top level): Use foreach_with_prefix, and add main/separate UI MI
2699 testing axis.
2700
2701 2016-06-21 Pedro Alves <palves@redhat.com>
2702
2703 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
2704 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
2705 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
2706 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
2707 (gdb_main_spawn_id, mi_spawn_id): Declare and
2708 comment.
2709 (mi_create_inferior_pty): New procedure,
2710 factored out from default_mi_gdb_start.
2711 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
2712 procedures.
2713 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
2714 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
2715 Use mi_create_inferior_pty.
2716 (mi_gdb_start): Use eval to pass down args list.
2717
2718 2016-06-21 Pedro Alves <palves@redhat.com>
2719
2720 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
2721 * gdb.opt/inline-cmds.exp: Add MI tests.
2722
2723 2016-06-21 Pedro Alves <palves@redhat.com>
2724
2725 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
2726
2727 2016-06-21 Pedro Alves <palves@redhat.com>
2728
2729 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
2730 (top level): Use it instead of mi_execute_to.
2731
2732 2016-06-21 Pedro Alves <palves@redhat.com>
2733
2734 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
2735 (cont_handler_str): New.
2736 (signal_stop_handler): Set stop_handler_str instead of printing to
2737 stdout.
2738 (continue_handler): Set cont_handler_str instead of printing to
2739 stdout.
2740 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
2741 mi_send_resuming_command. Print stop_handler_str and
2742 cont_handler_str instead of expecting the python events print
2743 directly.
2744
2745 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
2746
2747 * gdb.base/jit-reader.exp: New file.
2748 * gdb.base/jithost.c: New file.
2749 * gdb.base/jithost.h: New file.
2750 * gdb.base/jitreader.c : New file.
2751 * gdb.base/jit-protocol.h: New file.
2752
2753 2016-06-17 Yao Qi <yao.qi@linaro.org>
2754
2755 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
2756 parameters follow_fork and detach_on_fork. Set follow-fork-mode
2757 and detach-on-fork. Adjust tests.
2758 (top level): Invoke break_cond_on_syscall with combinations of
2759 syscall, follow-fork-mode and detach-on-fork.
2760
2761 2016-06-17 Yao Qi <yao.qi@linaro.org>
2762
2763 * gdb.base/step-over-exit.c: New.
2764 * gdb.base/step-over-exit.exp: New.
2765
2766 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
2767
2768 * gdb.base/float.exp: Add target check for nds32*-*-*.
2769 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
2770
2771 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
2772
2773 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
2774 for unsupported target features.
2775 * gdb.base/call-rt-st.exp: Likewise.
2776 * gdb.base/call-sc.exp: Likewise.
2777 * gdb.base/call-signal-resume.exp: Likewise.
2778 * gdb.base/call-strs.exp: Likewise.
2779 * gdb.base/callexit.exp: Likewise.
2780 * gdb.base/callfuncs.exp: Likewise.
2781 * gdb.base/nodebug.exp: Likewise.
2782 * gdb.base/printcmds.exp: Likewise.
2783 * gdb.base/ptype.exp: Likewise.
2784 * gdb.base/structs.exp: Likewise.
2785 * gdb.base/unwindonsignal.exp: Likewise.
2786 * gdb.cp/gdb2495.exp: Likewise.
2787 * gdb.cp/templates.exp: Likewise.
2788 * gdb.cp/virtfunc.exp: Likewise.
2789 * gdb.threads/hand-call-in-threads.exp: Likewise.
2790 * gdb.threads/interrupted-hand-call.exp: Likewise.
2791 * gdb.threads/thread-unwindonsignal.exp: Likewise.
2792
2793 2016-06-10 Tom Tromey <tom@tromey.com>
2794
2795 PR rust/20110:
2796 * gdb.rust/expr.exp: Add test for integer constant larger than
2797 i32.
2798
2799 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
2800
2801 * gdb.fortran/nested-funcs.exp: New.
2802 * gdb.fortran/nested-funcs.f90: New.
2803
2804 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
2805
2806 * gdb.base/examine-backward.c: New file.
2807 * gdb.base/examine-backward.exp: New file.
2808
2809 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
2810
2811 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
2812 matching.
2813
2814 2016-06-02 Tom Tromey <tom@tromey.com>
2815
2816 PR python/18984:
2817 * gdb.python/py-shared.exp: Add solib_name test.
2818
2819 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
2820
2821 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
2822
2823 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
2824
2825 PR c++/19893
2826 * gdb.dwarf2/implref.exp: Rename to...
2827 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
2828 * gdb.dwarf2/implref-array.c: New file.
2829 * gdb.dwarf2/implref-array.exp: Likewise.
2830 * gdb.dwarf2/implref-global.c: Likewise.
2831 * gdb.dwarf2/implref-global.exp: Likewise.
2832 * gdb.dwarf2/implref-struct.c: Likewise.
2833 * gdb.dwarf2/implref-struct.exp: Likewise.
2834
2835 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2836
2837 * gdb.trace/trace-condition.exp: Add 64bit tests.
2838
2839 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2840
2841 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
2842 bits types.
2843 (main): Adapt to 8 to 64 bits types.
2844 * gdb.trace/trace-condition.exp: Add new tests.
2845
2846 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2847
2848 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
2849
2850 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2851
2852 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
2853 Move condition tests...
2854 * gdb.trace/trace-condition.exp: Here.
2855
2856 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2857
2858 * gdb.trace/trace-condition.exp: Add counter-case tests.
2859
2860 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2861
2862 PR c++/15231
2863 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
2864 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
2865
2866 2016-05-27 Pedro Alves <palves@redhat.com>
2867
2868 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
2869 New procedure.
2870 (top level): Call it, and bail out of DejaGnu is known to be bad.
2871
2872 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
2873
2874 * gdb.base/whatis.c: Extend the test case.
2875 * gdb.base/whatis.exp: Add additional tests.
2876
2877 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2878
2879 * gdb.fortran/type.f90: Add pointer variable.
2880 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
2881
2882 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2883
2884 * gdb.fortran/vla-type.exp: Fix testcase name.
2885
2886 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2887
2888 * gdb.fortran/vla-type.exp: Access elements in nested structs.
2889
2890 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2891
2892 * gdb.fortran/type.f90: Add nested structures.
2893 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
2894 * gdb.fortran/derived-type.exp: Adapt expected output.
2895 * gdb.fortran/vla-type.exp: Adapt expected output.
2896
2897 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2898
2899 * gdb.fortran/whatis_type.exp: Adapt expected output.
2900
2901 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2902
2903 * gdb.fortran/print_type.exp: Fix expected output.
2904 * gdb.fortran/whatis_type.exp: Fix expected output.
2905
2906 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2907
2908 * gdb.fortran/whatis_type.exp: Use multi_line.
2909
2910 2016-05-24 Tom Tromey <tom@tromey.com>
2911
2912 PR python/17386:
2913 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
2914 use value as an index.
2915
2916 2016-05-23 Tom Tromey <tom@tromey.com>
2917
2918 PR python/17981:
2919 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
2920 no-breakpoint case.
2921
2922 2016-05-24 Pedro Alves <palves@redhat.com>
2923
2924 PR gdb/19828
2925 * gdb.threads/clone-attach-detach.c: New file.
2926 * gdb.threads/clone-attach-detach.exp: New file.
2927
2928 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
2929
2930 * gdb.base/annota-input-while-running.exp: Fix syntax error.
2931
2932 2016-05-23 Tom Tromey <tom@tromey.com>
2933
2934 PR python/19438, PR python/18393:
2935 * gdb.python/py-progspace.exp: Add "dir" test.
2936 * gdb.python/py-objfile.exp: Add "dir" test.
2937
2938 2016-05-23 Yao Qi <yao.qi@linaro.org>
2939
2940 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
2941 * gdb.arch/thumb2-it.exp: Likewise.
2942
2943 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
2944
2945 * gdb.mi/mi-threads-interrupt.c: New file.
2946 * gdb.mi/mi-threads-interrupt.exp: New file.
2947
2948 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
2949
2950 PR gdb/18077
2951 * gdb.mi/mi-async-run.exp: New file.
2952 * gdb.mi/mi-async-run.c: New file.
2953
2954 2016-05-17 Tom Tromey <tom@tromey.com>
2955 Manish Goregaokar <manishsmail@gmail.com>
2956
2957 * lib/rust-support.exp: New file.
2958 * lib/gdb.exp (skip_rust_tests): New proc.
2959 (build_executable_from_specs): Handle rust.
2960 * lib/future.exp (gdb_find_rustc): New proc.
2961 (gdb_default_target_compile): Handle rust.
2962 * gdb.rust/expr.exp: New file.
2963 * gdb.rust/generics.exp: New file.
2964 * gdb.rust/generics.rs: New file.
2965 * gdb.rust/methods.exp: New file.
2966 * gdb.rust/methods.rs: New file.
2967 * gdb.rust/modules.exp: New file.
2968 * gdb.rust/modules.rs: New file.
2969 * gdb.rust/simple.exp: New file.
2970 * gdb.rust/simple.rs: New file.
2971
2972 2016-05-17 Tom Tromey <tom@tromey.com>
2973
2974 * gdb.base/default.exp (set language): Add rust.
2975
2976 2016-05-17 Tom Tromey <tom@tromey.com>
2977
2978 * gdb.gdb/unittest.exp: New file.
2979
2980 2016-05-16 Yao Qi <yao.qi@linaro.org>
2981
2982 * gdb.base/batch-preserve-term-settings.exp: Remove variable
2983 shell_prompt. Update shell_prompt_re.
2984
2985 2016-05-12 Doug Evans <dje@google.com>
2986
2987 PR symtab/19999
2988 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
2989 $options when building executable.
2990 * gdb.dwarf2/fission-loclists-pie.S: New file.
2991 * gdb.dwarf2/fission-loclists-pie.exp: New file.
2992
2993 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
2994
2995 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
2996 of [is_remote target],
2997
2998 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
2999
3000 * lib/gdb.exp (use_gdb_stub): New procedure.
3001
3002 2016-05-03 Yunlian Jiang <yunlian@google.com>
3003 Doug Evans <dje@google.com>
3004
3005 PR symtab/19914
3006 * gdb.dwarf2/dwp-sepdebug.c: New file.
3007 * gdb.dwarf2/dwp-sepdebug.exp: New file.
3008
3009 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3010
3011 * gdb.base/detach.exp: Remove is_remote check.
3012
3013 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3014
3015 * gdb.base/annota-input-while-running.exp: Don't check for
3016 [is_remote target]. Enable annotations after running to main.
3017 Remove unused "set test..." line.
3018
3019 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3020
3021 * gdb.trace/trace-enable-disable.exp: New file.
3022 * gdb.trace/trace-enable-disable.c: New file.
3023
3024 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3025
3026 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
3027 use it in info sharedlibrary test.
3028 * gdb.trace/ftrace-lock.exp: Likewise.
3029 * gdb.trace/ftrace.exp: Likewise.
3030 * gdb.trace/range-stepping.exp: Likewise.
3031 * gdb.trace/trace-break.exp: Likewise.
3032 * gdb.trace/trace-condition.exp: Likewise.
3033 * gdb.trace/trace-mt.exp: Likewise.
3034
3035 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3036
3037 * lib/gdb.exp (gdb_load_shlibs): Rename to...
3038 (gdb_load_shlib): ... this.
3039 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
3040 gdb_load_shlib.
3041 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
3042 * gdb.base/ctxobj.exp: Likewise.
3043 * gdb.base/dprintf-pending.exp: Likewise.
3044 * gdb.base/dso2dso.exp: Likewise.
3045 * gdb.base/fixsection.exp: Likewise.
3046 * gdb.base/gcore-relro.exp: Likewise.
3047 * gdb.base/gdb1555.exp: Likewise.
3048 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3049 * gdb.base/gnu-ifunc.exp: Likewise.
3050 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
3051 * gdb.base/jit-so.exp (one_jit_test): Likewise.
3052 * gdb.base/pending.exp: Likewise.
3053 * gdb.base/print-file-var.exp: Likewise.
3054 * gdb.base/print-symbol-loading.exp: Likewise.
3055 * gdb.base/shlib-call.exp: Likewise.
3056 * gdb.base/shreloc.exp: Likewise.
3057 * gdb.base/so-impl-ld.exp: Likewise.
3058 * gdb.base/solib-disc.exp: Likewise.
3059 * gdb.base/solib-nodir.exp: Likewise.
3060 * gdb.base/solib-overlap.exp: Likewise.
3061 * gdb.base/solib-symbol.exp: Likewise.
3062 * gdb.base/solib-weak.exp (do_test): Likewise.
3063 * gdb.base/sym-file.exp: Likewise.
3064 * gdb.base/symtab-search-order.exp: Likewise.
3065 * gdb.base/type-opaque.exp: Likewise.
3066 * gdb.base/unload.exp: Likewise.
3067 * gdb.base/watchpoint-solib.exp: Likewise.
3068 * gdb.compile/compile.exp: Likewise.
3069 * gdb.cp/gdb2384.exp: Likewise.
3070 * gdb.cp/infcall-dlopen.exp: Likewise.
3071 * gdb.cp/re-set-overloaded.exp: Likewise.
3072 * gdb.fortran/library-module.exp: Likewise.
3073 * gdb.opt/solib-intra-step.exp: Likewise.
3074 * gdb.python/py-finish-breakpoint.exp: Likewise.
3075 * gdb.python/py-shared.exp: Likewise.
3076 * gdb.reverse/solib-precsave.exp: Likewise.
3077 * gdb.reverse/solib-reverse.exp: Likewise.
3078 * gdb.server/solib-list.exp: Likewise.
3079 * gdb.threads/dlopen-libpthread.exp: Likewise.
3080 * gdb.threads/tls-shared.exp: Likewise.
3081 * gdb.threads/tls-so_extern.exp: Likewise.
3082 * gdb.trace/change-loc.exp: Likewise.
3083 * gdb.trace/ftrace-lock.exp: Likewise.
3084 * gdb.trace/ftrace.exp: Likewise.
3085 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
3086 * gdb.trace/pending.exp: Likewise.
3087 * gdb.trace/range-stepping.exp: Likewise.
3088 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
3089 (strace_info_marker): Likewise.
3090 (strace_probe_marker): Likewise.
3091 (strace_trace_on_same_addr): Likewise.
3092 (strace_trace_on_diff_addr): Likewise.
3093 * gdb.trace/trace-break.exp: Likewise.
3094 * gdb.trace/trace-condition.exp: Likewise.
3095 * gdb.trace/trace-mt.exp: Likewise.
3096
3097 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3098
3099 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
3100 result of gdb_remote_download.
3101 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
3102 * gdb.base/dso2dso.exp: Likewise.
3103 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3104 * gdb.base/print-file-var.exp: Likewise.
3105 * gdb.base/shlib-call.exp: Likewise.
3106 * gdb.base/shreloc.exp: Likewise.
3107 * gdb.base/solib-overlap.exp: Likewise.
3108 * gdb.base/solib-weak.exp (do_test): Likewise.
3109 * gdb.base/unload.exp: Likewise.
3110
3111 2016-04-27 Yao Qi <yao.qi@linaro.org>
3112
3113 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
3114 exists.
3115
3116 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3117
3118 * vla-type.exp: Print structure from toplevel.
3119
3120 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3121
3122 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
3123 of dynamic types.
3124 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
3125 of dynamic types.
3126
3127 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3128
3129 * gdb.fortran/vla-type.f90: New file.
3130 * gdb.fortran/vla-type.exp: New file.
3131
3132 2016-04-25 Yao Qi <yao.qi@linaro.org>
3133
3134 * gdb.base/branch-to-self.c: New file.
3135 * gdb.base/branch-to-self.exp: New file.
3136
3137 2016-04-22 Yao Qi <yao.qi@linaro.org>
3138
3139 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
3140 more after $hex.
3141
3142 2016-04-22 Yao Qi <yao.qi@linaro.org>
3143
3144 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
3145 * gdb.base/annota3.exp: Likewise.
3146
3147 2016-04-22 Yao Qi <yao.qi@linaro.org>
3148
3149 * gdb.reverse/step-precsave.exp: Do one step and test program
3150 stops in "callee" and do multiple steps until program goes out
3151 of "callee".
3152 * gdb.reverse/step-reverse.exp: Likewise.
3153
3154 2016-04-22 Yao Qi <yao.qi@linaro.org>
3155
3156 * gdb.trace/signal.exp: Also pass if
3157 $tracepoint_hits($i) > $iterations.
3158
3159 2016-04-22 Yao Qi <yao.qi@linaro.org>
3160
3161 * gdb.trace/signal.c: New file.
3162 * gdb.trace/signal.exp: New file.
3163
3164 2016-04-19 Doug Evans <xdje42@gmail.com>
3165
3166 * gdb.base/bad-file.exp: New file.
3167
3168 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
3169
3170 * gdb.dwarf2/implref.exp: New file.
3171
3172 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3173
3174 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
3175 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
3176 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
3177 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
3178 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
3179 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
3180 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
3181 * lib/fortran.exp (fortran_int4): New procedure.
3182 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
3183 (fortran_logical4): Likewise.
3184
3185 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
3186
3187 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
3188
3189 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3190
3191 * lib/compiler.c: Add Intel specific preprocessor macros.
3192 * lib/compiler.cc: Likewise.
3193
3194 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
3195
3196 * gdb.server/connect-with-no-symbol-file.c: New file.
3197 * gdb.server/connect-with-no-symbol-file.exp: New file.
3198
3199 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3200
3201 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
3202
3203 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3204
3205 * boards/gdbserver-base.exp (${board}_download): Copy source file to
3206 standard output directory.
3207
3208 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
3209
3210 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
3211
3212 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
3213
3214 * gdb.btrace/instruction_history.c (loop): Add declaration.
3215
3216 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3217
3218 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
3219
3220 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
3221
3222 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
3223 parentheses to print.
3224 (continue_handler): Likewise.
3225
3226 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
3227
3228 * gdb.server/solib-list.exp: Remove is_remote check.
3229 Pass shlib= to gdb_compile. Don't link shared library with
3230 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
3231 Run binary filename through "readlink -f" on the target.
3232
3233 2016-04-08 Pedro Alves <palves@redhat.com>
3234
3235 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
3236 interpreter filename as argument to gdbserver_spawn.
3237 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3238 Return empty if $last_loaded_file does not exist.
3239
3240 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3241
3242 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
3243 * gdb.base/jit-main.c: Use exit after usage.
3244
3245 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3246
3247 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
3248 GDBHISTSIZE prior to the tests.
3249 * gdb.base/gdbinit-history.exp: Likewise.
3250
3251 2016-04-07 Pedro Alves <palves@redhat.com>
3252
3253 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
3254 instead of build_executable. Use gdb_load_shlibs.
3255
3256 2016-04-07 Yao Qi <yao.qi@linaro.org>
3257
3258 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
3259 Execute "si" command.
3260
3261 2016-04-07 Yao Qi <yao.qi@linaro.org>
3262
3263 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
3264 number instead of the comments on some line.
3265
3266 2016-04-06 Don Breazeal <donb@codesourcery.com>
3267
3268 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
3269 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
3270
3271 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
3272
3273 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
3274 standard_output_file. Remove unused binfile variable.
3275
3276 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
3277
3278 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
3279 * gdb.python/py-mi-objfile.exp: Match "list main" output
3280 in console format.
3281
3282 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
3283
3284 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
3285 absolute.
3286
3287 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3288
3289 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
3290 absolute.
3291 * gdb.trace/ftrace.exp: Likewise.
3292 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
3293 targets as well.
3294 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
3295 (gdb_load_shlibs): Copy libraries to test directory when testing
3296 natively. Only set solib-search-path if testing remotely.
3297 * lib/mi-support.exp (mi_load_shlibs): Likewise.
3298
3299 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3300
3301 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
3302 gdb_download. Use it even if the target is not remote.
3303 * gdb.base/jit.exp (compile_jit_test): Likewise.
3304 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
3305 output directory if the destination board is local, otherwise use
3306 the standard remote_download from DejaGnu.
3307 (gdb_download): Remove.
3308 (gdb_load_shlibs): Use gdb_remote_download instead of
3309 gdb_download.
3310 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3311 Use gdb_remote_download instead of gdb_download. Use it even if
3312 the target is not remote.
3313 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
3314 instead of gdb_download.
3315
3316 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
3317
3318 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
3319 (test_insert_delete_modify): Call mi_load_shlibs before trying to
3320 run.
3321
3322 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
3323
3324 PR gdb/19820
3325 * gdb.base/printcmds.exp: Add artificial arrays tests.
3326
3327 2016-03-31 Pedro Alves <palves@redhat.com>
3328
3329 PR gdb/19858
3330 * gdb.base/jit-main.c: Include unistd.h.
3331 (ATTACH): Define to 0 if not already defined.
3332 (wait_for_gdb, mypid): New globals.
3333 (WAIT_FOR_GDB): New macro.
3334 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
3335 some breakpoint locations.
3336 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
3337 New procedures.
3338 (one_jit_test): Add REATTACH parameter, and handle it. Use
3339 continue_to_test_location.
3340 (top level): Test attach, and adjusts calls to one_jit_test.
3341
3342 2016-03-31 Pedro Alves <palves@redhat.com>
3343
3344 PR gdb/19858
3345 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
3346 BINSUFFIX parameter, and handle it.
3347 (top level): Adjust calls compile_jit_test.
3348
3349 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
3350
3351 PR python/19743
3352 * gdb.python/py-mi-events-gdb.py: New file.
3353 * gdb.python/py-mi-events.c: New file.
3354 * gdb.python/py-mi-events.exp: New file.
3355
3356 2016-03-30 Yao Qi <yao.qi@linaro.org>
3357
3358 * gdb.reverse/until-precsave.exp: Match function name only.
3359 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
3360 Move malloc to a condition block.
3361 * gdb.reverse/until-reverse.exp: Match function name only.
3362
3363 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
3364
3365 * gdb.trace/ftrace.exp: Set arg0exp for s390.
3366 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
3367 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
3368 variable for GPR 0 instead of assuming it is register 0.
3369 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
3370 * lib/trace-support.exp: Add s390 registers.
3371
3372 2016-03-29 Yao Qi <yao.qi@linaro.org>
3373
3374 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
3375
3376 2016-03-24 Yao Qi <yao.qi@linaro.org>
3377
3378 * gdb.reverse/break-reverse.exp: Add quotation mark in the
3379 test message.
3380
3381 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3382
3383 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
3384 maintaining separate logic for constructing the output path.
3385
3386 2016-03-16 Don Breazeal <donb@codesourcery.com>
3387
3388 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
3389 Retry fork and waitpid on interrupted system call errors.
3390 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3391 Use with_timeout_factor to increase timeout by factor of 10.
3392
3393 2016-03-15 Don Breazeal <donb@codesourcery.com>
3394
3395 * gdb.cp/scope-err.cc: New test program.
3396 * gdb.cp/scope-err.exp: New test script.
3397 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
3398 lines and "set breakpoint here" comment.
3399 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
3400 Fixed some whitespace and format issues.
3401 * gdb.mi/mi-linespec-err-cp.cc: New test program.
3402 * gdb.mi/mi-linespec-err-cp.exp: New test script.
3403
3404 2016-03-15 Doug Evans <dje@google.com>
3405
3406 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
3407 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
3408 All callers updated. Add tests for enums, mixed flags register.
3409
3410 2016-03-15 Doug Evans <dje@google.com>
3411
3412 * gdb.base/skip.c (main): Call test_skip_file_and_function.
3413 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
3414
3415 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
3416
3417 * gdb.base/default.exp: Add $_as_string to the list of expected
3418 convenience functions.
3419
3420 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
3421
3422 * gdb.base/maint.exp: New tests for 'maint info line-table'.
3423
3424 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
3425
3426 * gdb.python/py-as-string.exp: New file.
3427 * gdb.python/py-as-string.c: New file.
3428
3429 2016-03-09 Pedro Alves <palves@redhat.com>
3430
3431 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
3432 signal" -> "Thread NN received signal" output change.
3433 * gdb.threads/ia64-sigill.exp: Likewise.
3434 * gdb.threads/linux-dp.exp: Likewise.
3435 * gdb.threads/manythreads.exp: Likewise.
3436 * gdb.threads/pending-step.exp: Likewise.
3437 * gdb.threads/print-threads.exp: Likewise.
3438 * gdb.threads/sigstep-threads.exp: Likewise.
3439 * gdb.threads/staticthreads.exp: Likewise.
3440 * gdb.threads/tls.exp: Likewise.
3441
3442 2016-03-09 Pedro Alves <palves@redhat.com>
3443
3444 * gdb.base/command-line-input.exp: New file.
3445
3446 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3447
3448 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
3449 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
3450 * gdb.trace/pending.exp: Accept leading dot before function name.
3451 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
3452 * lib/trace-support.exp: Set registers for ppc.
3453
3454 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3455
3456 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
3457 use it for disassembly; accept .main in addition to main in backtrace.
3458
3459 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
3460 Marcin Kościelnicki <koriakin@0x04.net>
3461
3462 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
3463 (gdb_recursion_test_ptr): New global variable.
3464 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
3465 gdb_recursion_test.
3466 (gdb_c_test): Ditto.
3467
3468 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3469
3470 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
3471 ordering.
3472
3473 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3474
3475 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
3476 (bar): Add bar_start_lbl label.
3477 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
3478 of foo/bar for emitting DWARF and tracing.
3479
3480 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
3481
3482 * analyze-racy-logs.py: Set executable bit.
3483
3484 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
3485
3486 * Makefile.in (DEFAULT_RACY_ITER): New variable.
3487 (CHECK_TARGET_TMP): Likewise.
3488 (check-single-racy): New rule.
3489 (check-parallel-racy): Likewise.
3490 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
3491 (do-check-parallel-racy): New rule.
3492 (check-racy/%.exp): Likewise.
3493 * README (Racy testcases): New section.
3494 * analyze-racy-logs.py: New file.
3495
3496 2016-03-03 Doug Evans <dje@google.com>
3497
3498 * gdb.base/skip.exp: Use with_test_prefix.
3499
3500 2016-03-03 Yao Qi <yao.qi@linaro.org>
3501
3502 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
3503 Invoke step_over_syscall "clone" and break_cond_on_syscall
3504 "clone".
3505 * gdb.base/step-over-clone.c: New file.
3506
3507 2016-03-03 Yao Qi <yao.qi@linaro.org>
3508
3509 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
3510 code format.
3511
3512 2016-03-03 Yao Qi <yao.qi@linaro.org>
3513
3514 * gdb.base/disp-step-fork.c: Rename to ...
3515 * gdb.base/step-over-fork.c: ... it. New file.
3516 * gdb.base/disp-step-vfork.c: Rename to ...
3517 * gdb.base/step-over-vfork.c: ... it. New file.
3518 * gdb.base/disp-step-syscall.exp: Rename to ...
3519 * gdb.base/step-over-syscall.exp: ... it. New file.
3520 (disp_step_cross_syscall): Rename to ...
3521 (step_over_syscall): ... it.
3522
3523 2016-03-03 Yao Qi <yao.qi@linaro.org>
3524
3525 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
3526 If target supports condition evaluation on target, invoke
3527 break_cond_on_syscall for fork and vfork.
3528
3529 2016-03-03 Yao Qi <yao.qi@linaro.org>
3530
3531 * gdb.base/disp-step-syscall.exp: Don't invoke
3532 support_displaced_stepping.
3533 (disp_step_cross_syscall): Test with displaced stepping off and
3534 on if supported.
3535
3536 2016-03-03 Yao Qi <yao.qi@linaro.org>
3537
3538 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
3539 proc.
3540 (setup): New proc.
3541 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
3542 and setup.
3543
3544 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3545
3546 * gdb.fortran/vla-history.exp: Remove breakpoint.
3547
3548 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3549
3550 * gdb.fortran/vla-history.exp: Lookup array elements and printing
3551 exceeds timeout.
3552
3553 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3554
3555 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
3556 breakpoint.
3557
3558 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3559
3560 * gdb.mi/vla.f90: Nullify pointer after declaration.
3561
3562 2016-03-01 Pedro Alves <palves@redhat.com>
3563
3564 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
3565
3566 2016-03-01 Pedro Alves <palves@redhat.com>
3567
3568 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
3569 before anything else.
3570 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
3571 _GNU_SOURCE here.
3572 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
3573 before anything else.
3574 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
3575
3576 2016-03-01 Pedro Alves <palves@redhat.com>
3577
3578 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
3579
3580 2016-03-01 Yao Qi <yao.qi@linaro.org>
3581
3582 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
3583 prepare_for_testing.
3584
3585 2016-03-01 Yao Qi <yao.qi@linaro.org>
3586
3587 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
3588
3589 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3590
3591 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
3592 manually constructing the output path.
3593
3594 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3595
3596 * gdb.arch/s390-stackless.S: New.
3597 * gdb.arch/s390-stackless.exp: New.
3598
3599 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
3600
3601 * gdb.dlang/circular.c: New file.
3602 * gdb.dlang/circular.exp: New file.
3603
3604 2016-02-26 Yao Qi <yao.qi@linaro.org>
3605
3606 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
3607 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
3608 (testcases): Update.
3609
3610 2016-02-26 Yao Qi <yao.qi@linaro.org>
3611
3612 * gdb.reverse/aarch64.c: Rename to ...
3613 * gdb.reverse/insn-reverse.c: ... it.
3614 * gdb.reverse/aarch64.exp: Rename to ...
3615 * gdb.reverse/insn-reverse.exp: ... it.
3616
3617 2016-02-26 Yao Qi <yao.qi@linaro.org>
3618
3619 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
3620 (testcase_ftype): New.
3621 (testcases): New array.
3622 (n_testcases): New.
3623 (main): Call each element in testcases.
3624 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
3625 (read_testcase): New.
3626 Do the tests in a loop.
3627
3628 2016-02-25 Yao Qi <yao.qi@linaro.org>
3629
3630 * gdb.base/branches.c: Remove.
3631
3632 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3633
3634 PR gdb/13808
3635 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
3636
3637 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3638
3639 * gdb.trace/ftrace.exp: Remove unnecessary target check.
3640
3641 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3642
3643 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
3644 change x86_64 call_insn to 'callq'.
3645
3646 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3647
3648 * gdb.trace/tfile-avx.c: Move to...
3649 * gdb.trace/tracefile-pseudo-reg.c: Here.
3650 * gdb.trace/tfile-avx.exp: Move to...
3651 * gdb.trace/tracefile-pseudo-reg.exp: Here.
3652
3653 2016-02-24 Gary Benson <gbenson@redhat.com>
3654
3655 * gdb.base/attach-pie-noexec.exp: Do not expect an error
3656 message on attach.
3657
3658 2016-02-23 Doug Evans <dje@google.com>
3659
3660 * gdb.base/skip.c (test_skip): New function.
3661 (end_test_skip_file_and_function): New function.
3662 (test_skip_file_and_function): New function.
3663 * gdb.base/skip1.c (test_skip): New function.
3664 (skip1_test_skip_file_and_function): New function.
3665 * gdb.base/skip.exp: Add tests for new skip options.
3666 * gdb.base/skip-solib.exp: Update expected output.
3667 * gdb.perf/skip-command.cc: New file.
3668 * gdb.perf/skip-command.exp: New file.
3669 * gdb.perf/skip-command.py: New file.
3670
3671 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
3672
3673 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
3674 info registers pattern.
3675
3676 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
3677
3678 * lib/future.exp: Add D support.
3679 (gdb_find_gdc): New proc.
3680 (gdb_default_target_compile): Add D support.
3681
3682 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
3683
3684 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
3685 user+system time.
3686 (trace_speed_test): Determine the iteration count for a time
3687 between 15..30 seconds.
3688
3689 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
3690
3691 * gdb.arch/i386-mpx-sigsegv.c: New file.
3692 * gdb.arch/i386-mpx-sigsegv.exp: New file.
3693 * gdb.arch/i386-mpx-simple_segv.c: New file.
3694 * gdb.arch/i386-mpx-simple_segv.exp: New file.
3695
3696 2016-02-18 Yao Qi <yao.qi@linaro.org>
3697
3698 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3699 Don't call setup_kfail.
3700
3701 2016-02-18 Yao Qi <yao.qi@linaro.org>
3702
3703 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3704 Set "set breakpoint condition-evaluation" per $cond_bp_target.
3705
3706 2016-02-16 Doug Evans <dje@google.com>
3707
3708 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
3709 * gdb.base/skip1.c: Ditto.
3710 * gdb.base/skip.exp: Whitespace cleanup.
3711
3712 2016-02-16 Don Breazeal <donb@codesourcery.com>
3713
3714 PR remote/19496
3715 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3716 Remove kfail for PR remote/19496.
3717
3718 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
3719
3720 * lib/gdb.exp (standard_temp_file): Return a path specific to
3721 the runtest invocation.
3722
3723 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
3724
3725 * gdb.trace/save-trace.exp: Change relative path to be in the
3726 standard output directory.
3727
3728 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3729
3730 * gdb.arch/i386-prologue.c: Add missing prototypes.
3731
3732 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3733
3734 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
3735 * gdb.arch/i386-prologue.exp: Likewise.
3736 * gdb.arch/i386-size.exp: Likewise.
3737
3738 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
3739
3740 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
3741 define object file path.
3742 * gdb.btrace/gcore.exp: Use standard_output_file to define core
3743 file path.
3744 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
3745 standard_output_file to define binfile.
3746
3747 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3748
3749 Fix compatibility with recent gfortran-5.3.1.
3750 * gdb.fortran/vla-history.exp (print vla1 allocated)
3751 (print vla2 allocated, print $2, print $3): Remove
3752 (print $4): Rename to ...
3753 (print $2): ... here.
3754 (print $9): Rename to ...
3755 (print $5): ... here.
3756 (print $10): Rename to ...
3757 (print $6): ... here.
3758 * gdb.fortran/vla.f90: Add pvla initialization.
3759
3760 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3761
3762 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
3763 New test.
3764 * gdb.fortran/vla-value-sub.exp: Likewise.
3765
3766 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
3767
3768 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
3769
3770 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
3771
3772 * i386-biarch-core.exp: Define corefile using
3773 standard_output_file.
3774
3775 2016-02-12 Yao Qi <yao.qi@linaro.org>
3776
3777 * gdb.arch/arm-single-step-kernel-helper.c: New.
3778 * gdb.arch/arm-single-step-kernel-helper.exp: New.
3779
3780 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
3781
3782 * gdb.btrace/tailcall-only.exp: New.
3783 * gdb.btrace/tailcall-only.c: New.
3784 * gdb.btrace/x86_64-tailcall-only.S: New.
3785 * gdb.btrace/i686-tailcall-only.S: New.
3786
3787 2016-02-11 Pedro Alves <palves@redhat.com>
3788
3789 * README (Parallel testing): Add missing double quotes.
3790
3791 2016-02-11 Pedro Alves <palves@redhat.com>
3792
3793 * README (Parallel testing): New section.
3794 (GDB_PARALLEL): Rewrite.
3795 (FORCE_PARALLEL): Document.
3796
3797 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
3798
3799 * gdb.trace/tfile-avx.c: New test.
3800 * gdb.trace/tfile-avx.exp: New test.
3801
3802 2016-02-09 Keith Seitz <keiths@redhat.com>
3803
3804 PR breakpoints/19546
3805 * gdb.base/infcall-exec.c: New file.
3806 * gdb.base/infcall-exec2.c: New file.
3807 * gdb.base/infcall-exec.exp: New file.
3808
3809 2016-02-09 Keith Seitz <keiths@redhat.com>
3810
3811 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
3812 (toplevel): Call test_bkpt_address.
3813
3814 2016-02-09 Keith Seitz <keiths@redhat.com>
3815
3816 PR python/19506
3817 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
3818 (toplevel): Call test_bkpt_address.
3819
3820 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
3821
3822 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
3823 to AC_OUTPUT.
3824 * configure: Regenerate.
3825
3826 2016-02-09 Pedro Alves <palves@redhat.com>
3827
3828 PR breakpoints/19548
3829 * gdb.base/execl-update-breakpoints.c (some_function): New
3830 function.
3831 (main): Call it.
3832 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
3833 Tighten expected GDB output.
3834
3835 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
3836
3837 * Makefile.in (ALL_SUBDIRS): Remove.
3838 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
3839 (distclean maintainer-clean realclean): Likewise.
3840 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
3841 * configure: Regenerate.
3842 * gdb.ada/Makefile.in: Delete.
3843 * gdb.arch/Makefile.in: Likewise.
3844 * gdb.asm/Makefile.in: Likewise.
3845 * gdb.base/Makefile.in: Likewise.
3846 * gdb.btrace/Makefile.in: Likewise.
3847 * gdb.cell/Makefile.in: Likewise.
3848 * gdb.compile/Makefile.in: Likewise.
3849 * gdb.cp/Makefile.in: Likewise.
3850 * gdb.disasm/Makefile.in: Likewise.
3851 * gdb.dlang/Makefile.in: Likewise.
3852 * gdb.dwarf2/Makefile.in: Likewise.
3853 * gdb.fortran/Makefile.in: Likewise.
3854 * gdb.gdb/Makefile.in: Likewise.
3855 * gdb.go/Makefile.in: Likewise.
3856 * gdb.guile/Makefile.in: Likewise.
3857 * gdb.java/Makefile.in: Likewise.
3858 * gdb.linespec/Makefile.in: Likewise.
3859 * gdb.mi/Makefile.in: Likewise.
3860 * gdb.modula2/Makefile.in: Likewise.
3861 * gdb.multi/Makefile.in: Likewise.
3862 * gdb.objc/Makefile.in: Likewise.
3863 * gdb.opencl/Makefile.in: Likewise.
3864 * gdb.opt/Makefile.in: Likewise.
3865 * gdb.pascal/Makefile.in: Likewise.
3866 * gdb.perf/Makefile.in: Likewise.
3867 * gdb.python/Makefile.in: Likewise.
3868 * gdb.reverse/Makefile.in: Likewise.
3869 * gdb.server/Makefile.in: Likewise.
3870 * gdb.stabs/Makefile.in: Likewise.
3871 * gdb.threads/Makefile.in: Likewise.
3872 * gdb.trace/Makefile.in: Likewise.
3873 * gdb.xml/Makefile.in: Likewise.
3874 * lib/gdb.exp (make_gdb_parallel_path): Add check for
3875 GDB_PARALLEL.
3876 (standard_output_file): Remove check for GDB_PARALLEL, always
3877 return path in outputs/$subdir/$testname.
3878
3879 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
3880
3881 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
3882 (site.exp): Assign abs_srcdir to tcl's srcdir.
3883
3884 2016-02-04 Yao Qi <yao.qi@linaro.org>
3885
3886 * gdb.base/foll-exec-mode.c: Include limits.h.
3887 (main): Add parameters argc and argv. Get directory from
3888 argv[0].
3889 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
3890 compilation.
3891 * gdb.base/foll-exec.c: Include limits.h.
3892 (main): Add parameters argc and argv.
3893 Get directory from argv[0].
3894 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
3895 Adjust tests on the number of lines as source code changed.
3896 * gdb.base/foll-vfork-exit.c: Include limits.h.
3897 (main): Add one line of statement before vfork.
3898 * gdb.base/foll-vfork.c: Include limits.h and string.h.
3899 (main): Add parameters argc and argv. Get directory from
3900 argv[0].
3901 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
3902 (setup_gdb): Set tbreak to skip some source lines.
3903 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
3904 (main): Add parameters argc and argv. Get directory from
3905 argv[0].
3906 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
3907 compilation.
3908 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
3909 (main): Add parameters argc and argv. Get directory from
3910 argv[0].
3911 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
3912 compilation.
3913
3914 2016-02-01 Doug Evans <dje@google.com>
3915
3916 * gdb.base/skip.exp: Clean up multiple references to same test name.
3917
3918 2016-02-01 Pedro Alves <palves@redhat.com>
3919
3920 PR remote/19496
3921 * gdb.threads/forking-threads-plus-breakpoint.exp
3922 (displaced_stepping_supported): New global.
3923 (probe_displaced_stepping_support): New procedure.
3924 (do_test): Add 'displaced' parameter, and use it.
3925 (top level): Check for displaced stepping support. Add displaced
3926 stepping on/off testing axis.
3927
3928 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
3929
3930 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
3931 pointer. Don't perform further tests on the unassociated pointer
3932 if the first test fails.
3933
3934 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
3935
3936 * gdb.base/max-value-size.c: New file.
3937 * gdb.base/max-value-size.exp: New file.
3938 * gdb.base/huge.exp: Disable max-value-size for this test.
3939
3940 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
3941
3942 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3943
3944 2016-01-28 Yao Qi <yao.qi@linaro.org>
3945
3946 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
3947
3948 2016-01-25 Pedro Alves <palves@redhat.com>
3949
3950 PR threads/19461
3951 * gdb.base/fork-running-state.c: New file.
3952 * gdb.base/fork-running-state.exp: New file.
3953
3954 2016-01-25 Pedro Alves <palves@redhat.com>
3955
3956 PR gdb/19494
3957 * gdb.base/catch-fork-kill.c: New file.
3958 * gdb.base/catch-fork-kill.exp: New file.
3959
3960 2016-01-25 Pedro Alves <palves@redhat.com>
3961
3962 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
3963 Delete, moved to lib/gdb.exp.
3964 * gdb.threads/forking-threads-plus-breakpoint.exp
3965 (foreach_with_prefix): Likewise.
3966 * gdb.threads/process-dies-while-handling-bp.exp
3967 (foreach_with_prefix): Likewise.
3968 * lib/gdb.exp (foreach_with_prefix): New procedure.
3969
3970 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
3971
3972 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
3973 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
3974
3975 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
3976
3977 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
3978 endian targets.
3979
3980 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3981 Pedro Alves <palves@redhat.com>
3982
3983 Fix testsuite compatibility with Guile.
3984 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
3985 number.
3986
3987 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3988
3989 Fix testsuite compatibility with Guile.
3990 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
3991 (thread 1): New test for backtrace through signal handler.
3992
3993 2016-01-22 Yao Qi <yao.qi@linaro.org>
3994
3995 PR testsuite/19491
3996 * gdb.base/multi-forks.c: Include
3997 ../lib/unbuffer_output.c
3998 (main): Call gdb_unbuffer_output.
3999
4000 2016-01-21 Doug Evans <dje@google.com>
4001
4002 * lib/ada.exp (gdb_compile_ada): Fix typo.
4003
4004 2016-01-21 Joel Brobecker <brobecker@adacore.com>
4005
4006 * gdb.base/break-fun-addr.exp: New file.
4007 * gdb.base/break-fun-addr1.c: New file.
4008 * gdb.base/break-fun-addr2.c: New file.
4009
4010 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
4011
4012 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
4013 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
4014 enum flag values.
4015
4016 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4017
4018 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
4019 when GDB can not set the vector return value. Add more comments
4020 for clarification.
4021
4022 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
4023
4024 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
4025 command.
4026
4027 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4028
4029 * Makefile.in (DO_RUNTEST): Add --status and update usages.
4030
4031 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4032
4033 * Makefile.in (check-single): Pass --status to runtest.
4034 (check/%.exp): Likewise.
4035
4036 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4037
4038 * Makefile.in (check-parallel): Propagate return code from make
4039 do-check-parallel.
4040
4041 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
4042
4043 * gdb.trace/ftrace.exp: Fix expected message on continue.
4044 * gdb.trace/pending.exp: Fix expected message on continue.
4045 * gdb.trace/trace-break.exp: Fix expected message on continue.
4046
4047 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
4048
4049 * lib/gdb.exp (gdb_test): Remove unused global references.
4050
4051 2016-01-18 Pedro Alves <palves@redhat.com>
4052
4053 * gdb.base/async-shell.exp: Adjust expected output.
4054 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
4055 * gdb.base/siginfo-thread.exp: Adjust expected output.
4056 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
4057 * gdb.java/jnpe.exp: Adjust expected output.
4058 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
4059 * gdb.threads/continue-pending-status.exp: Adjust expected output.
4060 * gdb.threads/leader-exit.exp: Adjust expected output.
4061 * gdb.threads/manythreads.exp: Adjust expected output.
4062 * gdb.threads/pthreads.exp: Adjust expected output.
4063 * gdb.threads/schedlock.exp: Adjust expected output.
4064 * gdb.threads/siginfo-threads.exp: Adjust expected output.
4065 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
4066 expected output.
4067 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
4068 output.
4069 * gdb.threads/sigthread.exp: Adjust expected output.
4070 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
4071
4072 2016-01-18 Yao Qi <yao.qi@linaro.org>
4073
4074 * gdb.guile/scm-section-script.c: Replace @progbits with
4075 %progbits.
4076 * gdb.python/py-section-script.c: Likewise.
4077
4078 2016-01-15 Pedro Alves <palves@redhat.com>
4079
4080 * gdb.multi/tids.exp: Test star wildcard ranges.
4081
4082 2016-01-15 Pedro Alves <palves@redhat.com>
4083
4084 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
4085 command from "thread apply" invocation.
4086 (thr_apply_info_thr_invalid): Default the expected output to the
4087 input tid list.
4088 (top level): Add tests that use convenience variables. Add tests
4089 for "thread apply" with a valid TID list, but missing the command.
4090
4091 2016-01-13 Pedro Alves <palves@redhat.com>
4092
4093 * gdb.base/default.exp: Expect $_gthread as well.
4094 * gdb.multi/tids.exp: Test $_gthread.
4095 * gdb.threads/thread-specific.exp: Test $_gthread.
4096
4097 2016-01-13 Pedro Alves <palves@redhat.com>
4098
4099 * gdb.multi/tids.exp: Test "info threads -gid".
4100
4101 2016-01-13 Pedro Alves <palves@redhat.com>
4102
4103 * gdb.multi/tids.exp: Test InferiorThread.global_num and
4104 Breakpoint.thread.
4105 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
4106
4107 2016-01-07 Pedro Alves <palves@redhat.com>
4108
4109 * gdb.base/break.exp: Adjust to output changes.
4110 * gdb.base/hbreak2.exp: Likewise.
4111 * gdb.base/sepdebug.exp: Likewise.
4112 * gdb.base/watch_thread_num.exp: Likewise.
4113 * gdb.linespec/keywords.exp: Likewise.
4114 * gdb.multi/info-threads.exp: Likewise.
4115 * gdb.threads/thread-find.exp: Likewise.
4116 * gdb.multi/tids.c: New file.
4117 * gdb.multi/tids.exp: New file.
4118
4119 2016-01-13 Pedro Alves <palves@redhat.com>
4120
4121 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
4122
4123 2016-01-13 Pedro Alves <palves@redhat.com>
4124
4125 * gdb.base/default.exp: Expect $_inferior as well.
4126 * gdb.multi/base.exp: Test $_inferior.
4127
4128 2016-01-13 Pedro Alves <palves@redhat.com>
4129
4130 PR breakpoints/19388
4131 * gdb.base/catch-signal-siginfo-cond.c: New file.
4132 * gdb.base/catch-signal-siginfo-cond.exp: New file.
4133
4134 2016-01-12 Josh Stone <jistone@redhat.com>
4135 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4136
4137 * gdb.base/catch-syscall.c (do_execve): New variable.
4138 (main): Conditionally trigger an execve.
4139 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
4140 (test_catch_syscall_execve): New, check entry/return across execve.
4141 (do_syscall_tests): Call test_catch_syscall_execve.
4142
4143 2016-01-12 Pedro Alves <palves@redhat.com>
4144
4145 * gdb.base/random-signal.exp (do_test): New procedure, with body
4146 of testcase moved in.
4147
4148 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4149 Pedro Alves <palves@redhat.com>
4150
4151 * gdb.base/funcargs.exp (finish from indirectly called function):
4152 Reintroduce the case for 'First'.
4153
4154 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4155 Pedro Alves <palves@redhat.com>
4156
4157 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
4158 (tcatch_vfork_then_child_follow_exec)
4159 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
4160 identification.
4161
4162 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4163
4164 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
4165 and repeats to unlimited.
4166 * gdb.python/py-value.exp: Likewise.
4167 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
4168 and repeats to unlimited.
4169
4170 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4171
4172 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
4173 and reordering the functions.
4174 * gdb.multi/hangout.c: Likewise.
4175 * gdb.multi/hello.c: Likewise.
4176
4177 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
4178
4179 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
4180 absolute.
4181 (SingleStatisticTestResult.report): Use dict.keys instead of
4182 dict.iterkeys.
4183
4184 2016-01-06 Pedro Alves <palves@redhat.com>
4185
4186 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
4187
4188 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
4189
4190 * gdb.btrace/dlopen.exp: New.
4191 * gdb.btrace/dlopen.c: New.
4192 * gdb.btrace/dlopen-dso.c: New.
4193
4194 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
4195
4196 * lib/gdb.exp (gdb_test): Update comments to clarify that the
4197 PATTERN argument is optional.
4198
4199 2015-12-24 Joel Brobecker <brobecker@adacore.com>
4200
4201 * lib/ada.exp (target_compile_ada_from_dir): New function.
4202 (gdb_compile_ada): Reimplement avoiding the use of project files.
4203 * gdb.ada/gnat_ada.gpr: Delete.
4204 * gdb.ada/cond_lang.exp: Adjust test to make path before
4205 filename optional.
4206 * gdb.ada/small_reg_param.exp: Likewise.
4207
4208 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
4209
4210 * gdb.base/foll-vork.exp: Remove HP-UX special case.
4211
4212 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
4213
4214 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
4215 case.
4216
4217 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
4218
4219 * gdb.base/break.exp: Remove dead code.
4220 * gdb.base/sepdebug.exp: Likewise.
4221
4222 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4223
4224 * gdb.asm/asm-source.exp: Remove HP-UX references.
4225 * gdb.base/annota1.exp: Likewise.
4226 * gdb.base/annota3.exp: Likewise.
4227 * gdb.base/attach.exp: Likewise.
4228 * gdb.base/bigcore.exp: Likewise.
4229 * gdb.base/break.exp: Likewise.
4230 * gdb.base/call-ar-st.exp: Likewise.
4231 * gdb.base/callfuncs.exp: Likewise.
4232 * gdb.base/catch-fork-static.exp: Likewise.
4233 * gdb.base/display.exp: Likewise.
4234 * gdb.base/foll-exec-mode.exp: Likewise.
4235 * gdb.base/foll-exec.exp: Likewise.
4236 * gdb.base/foll-fork.exp: Likewise.
4237 * gdb.base/foll-vfork.exp: Likewise.
4238 * gdb.base/funcargs.exp: Likewise.
4239 * gdb.base/hbreak2.exp: Likewise.
4240 * gdb.base/inferior-died.exp: Likewise.
4241 * gdb.base/interrupt.exp: Likewise.
4242 * gdb.base/multi-forks.exp: Likewise.
4243 * gdb.base/nodebug.exp: Likewise.
4244 * gdb.base/sepdebug.exp: Likewise.
4245 * gdb.base/solib1.c: Likewise.
4246 * gdb.base/step-test.exp: Likewise.
4247 * gdb.mi/non-stop.c: Likewise.
4248 * gdb.mi/pthreads.c: Likewise.
4249 * gdb.multi/bkpt-multi-exec.ex: Likewise.
4250 * gdb.threads/pthreads.c: Likewise.
4251 * gdb.threads/staticthreads.exp: Likewise.
4252 * lib/future.exp: Likewise.
4253 * lib/gdb.exp: Likewise.
4254 * gdb.base/so-indr-cl.c: Remove.
4255 * gdb.base/so-indr-cl.exp: Likewise.
4256 * gdb.base/solib.c: Likewise.
4257 * gdb.base/solib.exp: Likewise.
4258 * gdb.base/solib2.c: Likewise.
4259
4260 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4261
4262 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
4263 * gdb.base/call-ar-st.exp: Likewise.
4264 * gdb.base/callfuncs.exp: Likewise.
4265 * gdb.base/condbreak.exp: Likewise.
4266 * gdb.base/constvars.exp: Likewise.
4267 * gdb.base/hbreak2.exp: Likewise.
4268 * gdb.base/langs.exp: Likewise.
4269 * gdb.base/list.exp: Likewise.
4270 * gdb.base/long_long.exp: Likewise.
4271 * gdb.base/ptype.exp: Likewise.
4272 * gdb.base/scope.exp: Likewise.
4273 * gdb.base/signals.exp: Likewise.
4274 * gdb.base/so-impl-ld.exp: Likewise.
4275 * gdb.base/varargs.exp: Likewise.
4276 * gdb.base/volatile.exp: Likewise.
4277 * gdb.base/whatis.exp: Likewise.
4278 * gdb.cp/cplusfuncs.exp: Likewise.
4279 * gdb.cp/inherit.exp: Likewise.
4280 * gdb.cp/local.exp: Likewise.
4281 * gdb.cp/member-ptr.exp: Likewise.
4282 * gdb.cp/method.exp: Likewise.
4283 * gdb.cp/overload.exp: Likewise.
4284 * gdb.cp/templates.exp: Likewise.
4285 * gdb.stabs/weird.exp: Likewise.
4286 * lib/compiler.c: Likewise.
4287 * lib/compiler.cc: Likewise.
4288 * lib/cp-support.exp: Likewise.
4289 * lib/gdb.exp: Likewise.
4290
4291 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
4292
4293 * configure.ac: Remove HP-UX case.
4294 * configure: Regenerate.
4295
4296 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
4297
4298 * lib/gdb.exp (gdb_compile): Add function doc.
4299
4300 2015-12-17 Pedro Alves <palves@redhat.com>
4301
4302 PR threads/19354
4303 * gdb.multi/info-threads.exp: New file.
4304
4305 2015-12-15 Yao Qi <yao.qi@linaro.org>
4306
4307 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
4308 is aarch64*-*-*.
4309
4310 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4311
4312 * gdb.base/history-duplicates.exp: Skip if no readline support.
4313
4314 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4315
4316 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
4317
4318 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4319
4320 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
4321
4322 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4323
4324 * gdb.base/completion.exp: Skip tests that interrupt GDB with
4325 ctrl-C if nointerrupts target property is set.
4326 * gdb.base/double-prompt-target-event-error.exp: Likewise.
4327 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
4328 * gdb.base/paginate-bg-execution.exp: Likewise.
4329 * gdb.base/paginate-execution-startup.exp: Likewise.
4330 * gdb.base/random-signal.exp: Likewise.
4331 * gdb.base/range-stepping.exp: Likewise.
4332 * gdb.cp/annota2.exp: Likewise.
4333 * gdb.cp/annota3.exp: Likewise.
4334 * gdb.gdb/selftest.exp: Likewise.
4335 * gdb.threads/continue-pending-status.exp: Likewise.
4336 * gdb.threads/leader-exit.exp: Likewise.
4337 * gdb.threads/manythreads.exp: Likewise.
4338 * gdb.threads/pthreads.exp: Likewise.
4339 * gdb.threads/schedlock.exp: Likewise.
4340 * gdb.threads/sigthread.exp: Likewise.
4341
4342 2015-12-11 Don Breazeal <donb@codesourcery.com>
4343
4344 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
4345 remote.
4346 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
4347 * gdb.base/foll-exec.exp (main): Enable for target remote.
4348 * gdb.base/foll-fork.exp (main): Likewise.
4349 * gdb.base/foll-vfork.exp (main): Likewise.
4350 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
4351 (proc continue_to_exit_bp_loc): Use clean_restart.
4352 * gdb.base/pie-execl.exp (main): Disable for target remote.
4353 * gdb.base/watch-vfork.exp (main): Enable for target remote.
4354 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
4355 * gdb.threads/execl.exp (main): Likewise.
4356 * gdb.threads/fork-child-threads.exp (main): Likewise.
4357 * gdb.threads/fork-plus-threads.exp (main): Disable for target
4358 remote.
4359 * gdb.threads/fork-thread-pending.exp (main): Enable for target
4360 remote.
4361 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
4362 pid.tid style ptids, instead of just tid.
4363 * gdb.threads/thread-execl.exp (main): Enable for target remote.
4364 * gdb.threads/watchpoint-fork.exp (main): Likewise.
4365 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
4366 ptids, instead of just tid.
4367
4368 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4369
4370 * gdb.base/list.exp (test_list_forward): Add end of file error
4371 test.
4372 (test_repeat_list_command): Add end of file error test.
4373 (test_list_backwards): Add beginning of file error test.
4374
4375 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4376
4377 * gdb.base/list.exp (test_list_invalid_args): New function,
4378 defined, and called.
4379
4380 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4381
4382 * gdb.base/list.exp (test_list): Make test names unique.
4383
4384 2015-12-11 Yao Qi <yao.qi@linaro.org>
4385
4386 * gdb.base/coremaker2.c: Remove.
4387
4388 2015-12-10 Pedro Alves <palves@redhat.com>
4389
4390 * gdb.multi/base.exp: Remove stale "spaces" references.
4391
4392 2015-12-10 Pedro Alves <palves@redhat.com>
4393
4394 * gdb.multi/base.exp: Don't use nowarnings.
4395 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
4396 * gdb.multi/hangout.c: Include stdio.h.
4397 * gdb.multi/hello.c: Include stdlib.h.
4398 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
4399 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
4400 * gdb.multi/multi-arch.exp: Don't use nowarnings.
4401
4402 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
4403
4404 * gdb.dwarf2/dw2-ranges-base.c: New file.
4405 * gdb.dwarf2/dw2-ranges-base.exp: New file.
4406 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
4407 support additional line table, and debug ranges generation.
4408 (Dwarf::ranges): New function, generate .debug_ranges.
4409 (Dwarf::lines): Support generating simple line table programs.
4410 (Dwarf::assemble): Initialise new namespace variables.
4411
4412 2015-12-09 Kevin Buettner <kevinb@redhat.com>
4413
4414 * gdb.base/async.exp (proc test_background): Add case for
4415 asynchronous execution not supported.
4416
4417 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
4418
4419 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
4420 format and change test names to make them unique.
4421
4422 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
4423 Pedro Alves <pedro@redhat.com>
4424
4425 PR gdb/18702
4426 Add checking of floatformats setup on x86_64 hosts.
4427 * gdb.arch/i386-float.S (main): Load bigval and smallval.
4428 (smallval, bigval): New labels/constants.
4429 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
4430 float" after loading bigval and smallval.
4431
4432 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
4433
4434 * gdb.ada/fun_overload_menu.exp: New testcase.
4435 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
4436
4437 2015-12-04 Josh Stone <jistone@redhat.com>
4438
4439 * gdb.base/catch-fork-static.exp: New.
4440
4441 2015-12-03 Yao Qi <yao.qi@linaro.org>
4442
4443 * gdb.base/sizeof.c: Don't include stdio.h and
4444 ../lib/unbuffer_output.c.
4445 (main): New variable 'size' and 'value'. Remove printf and
4446 gdb_unbuffer_output. Assign return value to size and value.
4447 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
4448 at the beginning.
4449 (check_sizeof): Check the result by printing variable 'size'.
4450 (check_valueof): Check the result by printing variable 'value'.
4451
4452 2015-12-01 Yao Qi <yao.qi@linaro.org>
4453
4454 * gdb.base/disp-step-syscall.exp: Define syscall instruction
4455 for aarch64*-*-linux* target.
4456
4457 2015-11-30 Pedro Alves <palves@redhat.com>
4458
4459 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
4460
4461 2015-11-30 Pedro Alves <palves@redhat.com>
4462
4463 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
4464 Handle non-stop mode vCont replies.
4465
4466 2015-11-30 Pedro Alves <palves@redhat.com>
4467
4468 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
4469 prepare_for_testing. Start gdb with "set non-stop on" appended to
4470 GDBFLAGS. Lax expected stop output.
4471
4472 2015-11-27 Yao Qi <yao.qi@linaro.org>
4473
4474 * gdb.arch/arm-neon.exp: New.
4475 * gdb.arch/arm-neon.c: New.
4476
4477 2015-11-27 Yao Qi <yao.qi@linaro.org>
4478
4479 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
4480
4481 2015-11-27 Yao Qi <yao.qi@linaro.org>
4482
4483 * gdb.cp/annota2.exp: Allow multiple occurrences of the
4484 frames-invalid annotation.
4485
4486 2015-11-27 Yao Qi <yao.qi@linaro.org>
4487
4488 * gdb.cp/annota2.exp: Use ${frames_invalid}.
4489
4490 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
4491
4492 * gdb.threads/names.exp: New file.
4493 * gdb.threads/names.c: New file.
4494 * README: Mention gdb,no_thread_names.
4495
4496 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
4497
4498 PR 19297
4499 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
4500 support" error.
4501
4502 2015-11-24 Pedro Alves <palves@redhat.com>
4503
4504 PR 17539
4505 * gdb.base/display.exp: Expect displays to be sorted in ascending
4506 order. Use multi_line.
4507 * gdb.base/solib-display.exp: Likewise.
4508
4509 2015-11-24 Pedro Alves <palves@redhat.com>
4510
4511 PR 17539
4512 * gdb.base/display.exp: Expect displays to be sorted in ascending
4513 order. Use multi_line.
4514 * gdb.base/solib-display.exp: Likewise.
4515
4516 2015-11-24 Pedro Alves <palves@redhat.com>
4517
4518 PR 17539
4519 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
4520 threads in ascending order.
4521 * gdb.base/foll-fork.exp: Likewise.
4522 * gdb.base/foll-vfork.exp: Likewise.
4523 * gdb.base/multi-forks.exp: Likewise.
4524 * gdb.mi/mi-nonstop.exp: Likewise.
4525 * gdb.mi/mi-nsintrall.exp: Likewise.
4526 * gdb.multi/base.exp: Likewise.
4527 * gdb.multi/multi-arch.exp: Likewise.
4528 * gdb.python/py-inferior.exp: Likewise.
4529 * gdb.threads/break-while-running.exp: Likewise.
4530 * gdb.threads/execl.exp: Likewise.
4531 * gdb.threads/gcore-thread.exp: Likewise.
4532 * gdb.threads/info-threads-cur-sal.exp: Likewise.
4533 * gdb.threads/kill.exp: Likewise.
4534 * gdb.threads/linux-dp.exp: Likewise.
4535 * gdb.threads/multiple-step-overs.exp: Likewise.
4536 * gdb.threads/next-bp-other-thread.exp: Likewise.
4537 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
4538 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
4539 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
4540 * gdb.threads/thread-find.exp: Likewise.
4541 * gdb.threads/tls.exp: Likewise.
4542 * lib/mi-support.exp (mi_reverse_list): Delete.
4543 (mi_check_thread_states): No longer reverse list.
4544
4545 2015-11-24 Pedro Alves <palves@redhat.com>
4546
4547 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
4548 use lowercase.
4549
4550 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
4551
4552 * gdb.trace/actions.c: Include trace-common.h.
4553 (main): Add a location for a fast tracepoint.
4554 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
4555 the normal tracepoints.
4556 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
4557
4558 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
4559
4560 * save-trace.exp: Factor out code to these...
4561 (gdb_save_tracepoints): New.
4562 (gdb_load_tracepoints): New.
4563 (do_save_load_test): New.
4564
4565 2015-11-23 Kevin Buettner <kevinb@redhat.com>
4566
4567 * gdb.base/asmlabel.exp: New test.
4568 * gdb.base/asmlabel.c: New test case.
4569
4570 2015-11-23 Joel Brobecker <brobecker@adacore.com>
4571
4572 * gdb.base/wrong_frame_bt_full-main.c: New file.
4573 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
4574 * gdb.base/wrong_frame_bt_full.exp: New file.
4575
4576 2015-11-23 Joel Brobecker <brobecker@adacore.com>
4577
4578 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
4579
4580 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
4581
4582 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
4583 pstate register when comparing registers values in
4584 sparc64-*-linux-gnu targets to avoid spurious differences.
4585
4586 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
4587
4588 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
4589
4590 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
4591
4592 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
4593 as type argument to gdb_compile.
4594 * gdb.base/nested-subp2.exp: Likewise.
4595 * gdb.base/nested-subp3.exp: Likewise.
4596
4597 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
4598
4599 * lib/dwarf.exp (_note): Fix left shift of negative value.
4600 * gdb.trace/trace-condition.exp: Likewise.
4601
4602 2015-11-13 Yao Qi <yao.qi@linaro.org>
4603
4604 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
4605 comments about d10v.
4606 (test_scalar_returns): Likewise.
4607 * gdb.base/d10v.ld: Remove.
4608 * gdb.base/overlays.exp: Remove the target triplet checking for
4609 d10v-*-*.
4610 * gdb.base/structs.exp (test_struct_returns): Remove the
4611 comments about d10v.
4612 (test_struct_calls): Likewise.
4613
4614 2015-11-13 Yao Qi <yao.qi@linaro.org>
4615
4616 * gdb.base/gnu_vector.exp: Check the return value by "p res".
4617 * gdb.base/gnu_vector.c: Don't include stdio.h.
4618 (main): Don't print res and call add_some_intvecs.
4619
4620 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
4621
4622 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
4623 macro.
4624 (func5): Removed.
4625 (func4): Use FAST_TRACEPOINT_LABEL.
4626 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
4627 macro.
4628 (func): Removed.
4629 (thread_function): Use FAST_TRACEPOINT_LABEL.
4630 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
4631 (func): Remove.
4632 (marker): Use FAST_TRACEPOINT_LABEL.
4633 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
4634 (pendfunc1): Remove.
4635 (pendfunc): Use FAST_TRACEPOINT_LABEL.
4636 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
4637 (foo): Remove.
4638 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
4639 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
4640 macro.
4641 (func): Remove.
4642 (marker): Use FAST_TRACEPOINT_LABEL.
4643 * gdb.trace/trace-common.h: New header.
4644 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
4645 macro.
4646 (func): Remove.
4647 (marker): Use FAST_TRACEPOINT_LABEL.
4648 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
4649 (func): Remove.
4650 (thread_function): Use FAST_TRACEPOINT_LABEL.
4651
4652 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
4653
4654 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
4655 in front.
4656 * gdb.trace/change-loc.exp: Use global pcreg definition.
4657 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
4658 * gdb.trace/entry-values.exp: Use global spreg definition, add $
4659 in front.
4660 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
4661 * gdb.trace/pending.exp: Likewise.
4662 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
4663 * gdb.trace/trace-break.exp: Likewise.
4664 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
4665 in front.
4666 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
4667 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
4668 in front.
4669 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
4670
4671 2015-11-09 Joel Brobecker <brobecker@adacore.com>
4672
4673 * gdb.ada/fin_fun_out: New testcase.
4674
4675 2015-11-07 Kevin Buettner <kevinb@redhat.com>
4676
4677 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
4678 value associated with DW_AT_byte_size.
4679 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
4680 constants for DW_AT_byte_size, DW_AT_lower_bound, and
4681 DW_AT_upper_bound.
4682
4683 2015-11-07 Kevin Buettner <kevinb@redhat.com>
4684
4685 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
4686 (gdb_target_symbol_prefix_flags): Define in terms of _asm
4687 version.
4688 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
4689 gdb.dwarf2/dw2-canonicalize-type.exp,
4690 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
4691 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
4692 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
4693 provided by gdb_target_symbol_prefix_flags_asm.
4694 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
4695 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
4696 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
4697 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
4698 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
4699 macros where needed). Use this macro for symbols which require
4700 the prefix provided by SYMBOL_PREFIX.
4701
4702 2015-11-05 Kevin Buettner <kevinb@redhat.com>
4703
4704 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
4705 New procs.
4706 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
4707 representing expressions, of more than one list element.
4708 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
4709 to prepend linker symbol prefix to f.
4710 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
4711 table_1 and table_2.
4712 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
4713 Likewise, for f and g.
4714 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
4715 for ptr.
4716 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
4717 for main.
4718 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
4719 table_1_ptr and table_2_ptr.
4720
4721 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4722 Joel Brobecker <brobecker@adacore.com>
4723
4724 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
4725
4726 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
4727
4728 * gdb.reverse/s390-mvcle.c: New test.
4729 * gdb.reverse/s390-mvcle.exp: New file.
4730 * lib/gdb.exp: Enable reverse tests on s390*-linux.
4731
4732 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
4733
4734 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
4735
4736 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
4737
4738 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
4739 reaching marker2.
4740 * gdb.reverse/getresuid-reverse.exp: Likewise.
4741 * gdb.reverse/pipe-reverse.exp: Likewise.
4742 * gdb.reverse/readv-reverse.exp: Likewise.
4743 * gdb.reverse/recvmsg-reverse.exp: Likewise.
4744 * gdb.reverse/time-reverse.exp: Likewise.
4745 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
4746
4747 2015-10-30 Yao Qi <yao.qi@linaro.org>
4748
4749 * gdb.threads/wp-replication.c (watch_count_done): Remove.
4750 (empty_cycle): Remove.
4751 (main): Don't call empty_cycle. Don't use watch_count_done.
4752 * gdb.threads/wp-replication.exp: Don't set breakpoint on
4753 empty_cycle. Rewrite the code counting HW watchpoints.
4754
4755 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
4756
4757 * gdb.reverse/fstatat-reverse.c: New test.
4758 * gdb.reverse/fstatat-reverse.exp: New file.
4759 * gdb.reverse/getresuid-reverse.c: New test.
4760 * gdb.reverse/getresuid-reverse.exp: New file.
4761 * gdb.reverse/pipe-reverse.c: New test.
4762 * gdb.reverse/pipe-reverse.exp: New file.
4763 * gdb.reverse/readv-reverse.c: New test.
4764 * gdb.reverse/readv-reverse.exp: New file.
4765 * gdb.reverse/recvmsg-reverse.c: New test.
4766 * gdb.reverse/recvmsg-reverse.exp: New file.
4767 * gdb.reverse/time-reverse.c: New test.
4768 * gdb.reverse/time-reverse.exp: New file.
4769 * gdb.reverse/waitpid-reverse.c: New test.
4770 * gdb.reverse/waitpid-reverse.exp: New file.
4771
4772 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4773
4774 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
4775
4776 2015-10-26 Doug Evans <dje@google.com>
4777
4778 PR symtab/17391
4779 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
4780 * gdb.dwarf2/bad-regnum.c: New file.
4781 * gdb.dwarf2/bad-regnum.exp: New file.
4782
4783 2015-10-26 Doug Evans <dje@google.com>
4784
4785 PR python/18938
4786 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
4787 file.
4788
4789 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4790
4791 * gdb.compile/compile.exp (compile code globalvar): Update expectation
4792 for a change by "Mention language in compile error message".
4793
4794 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
4795
4796 PR python/18073
4797 * gdb.python/py-type.c (C::a_method): New.
4798 (C::a_const_method): New.
4799 (C::a_static_method): New.
4800 (a_function): New.
4801 * gdb.python/py-type.exp (test_fields): Test getting fields
4802 from function and method.
4803
4804 2015-10-21 Keven Boell <keven.boell@intel.com>
4805
4806 * gdb.fortran/vla-alloc-assoc.exp: New file.
4807 * gdb.fortran/vla-datatypes.exp: New file.
4808 * gdb.fortran/vla-datatypes.f90: New file.
4809 * gdb.fortran/vla-history.exp: New file.
4810 * gdb.fortran/vla-ptype-sub.exp: New file.
4811 * gdb.fortran/vla-ptype.exp: New file.
4812 * gdb.fortran/vla-sizeof.exp: New file.
4813 * gdb.fortran/vla-sub.f90: New file.
4814 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
4815 * gdb.fortran/vla-value-sub-finish.exp: New file.
4816 * gdb.fortran/vla-value-sub.exp: New file.
4817 * gdb.fortran/vla-value.exp: New file.
4818 * gdb.fortran/vla-ptr-info.exp: New file.
4819 * gdb.mi/mi-vla-fortran.exp: New file.
4820 * gdb.mi/vla.f90: New file.
4821
4822 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
4823
4824 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
4825 of hardwired timeout value.
4826
4827 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4828 Pedro Alves <palves@redhat.com>
4829
4830 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
4831 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
4832
4833 2015-10-19 Josh Stone <jistone@redhat.com>
4834
4835 * gdb.base/catch-syscall.c: Include <sched.h>.
4836 (unknown_syscall): New variable.
4837 (main): Trigger a vfork and an unknown syscall.
4838 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
4839 (unknown_syscall_number): Likewise.
4840 (check_call_to_syscall): Accept an optional syscall pattern.
4841 (check_return_from_syscall): Likewise.
4842 (check_continue): Likewise.
4843 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
4844 (test_catch_syscall_skipping_return): New test toggling off 'catch
4845 syscall' to step over the syscall return, then toggling back on.
4846 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
4847 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
4848 (do_syscall_tests): Call test_catch_syscall_without_args and
4849 test_catch_syscall_mid_vfork.
4850 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
4851 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
4852
4853 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
4854
4855 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
4856 print g_vE): Add new pass patterns.
4857 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
4858 print various symbol names for vptr fields.
4859
4860 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
4861
4862 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
4863 results.
4864
4865 2015-10-12 Yao Qi <yao.qi@linaro.org>
4866
4867 * gdb.arch/disp-step-insn-reloc.exp: New test case.
4868
4869 2015-10-12 Yao Qi <yao.qi@linaro.org>
4870
4871 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
4872 is aarch64*-*-linux*.
4873
4874 2015-10-12 Yao Qi <yao.qi@linaro.org>
4875
4876 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
4877 (can_relocate_bcond_true): ... it.
4878 (can_relocate_bcond_false): New function.
4879 (foo): Likewise.
4880 (can_relocate_bl): Likewise.
4881 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
4882 can_relocate_bl.
4883
4884 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
4885
4886 * gdb.base/nested-addr.c: New file.
4887 * gdb.base/nested-addr.exp: New testcase.
4888
4889 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
4890
4891 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
4892 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
4893 its output. Ignore the output of "record goto begin" and instead
4894 check that GDB is replaying.
4895
4896 2015-10-09 Pedro Alves <palves@redhat.com>
4897
4898 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
4899 (top level): Use it in the run with no args test.
4900
4901 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
4902
4903 * gdb.dlang/properties.exp: New file.
4904
4905 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
4906
4907 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
4908 whether or not address 0x1000 is mapped on the target.
4909
4910 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
4911
4912 * gdb.python/py-type.exp: Do not run tests if binaries fail to
4913 build.
4914
4915 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
4916
4917 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
4918 instruction-history test.
4919
4920 2015-09-28 Doug Evans <dje@google.com>
4921
4922 * gdb.base/gcore.c (array_func): Add reference to static_array.
4923
4924 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
4925
4926 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
4927 source line.
4928
4929 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
4930
4931 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
4932 short or char as base type.
4933
4934 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
4935
4936 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
4937 to allow any size enum.
4938
4939 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
4940
4941 * gdb.ada/array_ptr_renaming.exp: New testcase.
4942 * gdb.ada/array_ptr_renaming/foo.adb: New file.
4943 * gdb.ada/array_ptr_renaming/pack.ads: New file.
4944
4945 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
4946
4947 * gdb.trace/ftrace-lock.c: New file.
4948 * gdb.trace/ftrace-lock.exp: New file.
4949
4950 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
4951
4952 * gdb.arch/insn-reloc.c: New file.
4953 * gdb.arch/ftrace-insn-reloc.exp: New file.
4954
4955 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
4956
4957 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
4958 instruction.
4959 * gdb.trace/pendshr1.c (pendfunc): Likewise.
4960 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
4961 * gdb.trace/range-stepping.c: Likewise.
4962 * gdb.trace/trace-break.c: Likewise.
4963 * gdb.trace/trace-mt.c (thread_function): Likewise.
4964 * gdb.trace/ftrace.c (marker): Likewise.
4965 * gdb.trace/trace-condition.c (marker): Likewise.
4966 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
4967 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
4968 is_aarch64_target.
4969
4970 2015-09-18 Doug Evans <xdje42@gmail.com>
4971
4972 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
4973 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
4974
4975 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4976
4977 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
4978 the breakpoint.
4979
4980 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4981
4982 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
4983 the pending breakpoint. Remove timeout override for "Run till
4984 MI pending breakpoint on pendfunc3 on thread 2" test.
4985
4986 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4987
4988 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
4989 filename pattern.
4990
4991 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4992
4993 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
4994 in breakpoint filename pattern.
4995
4996 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4997
4998 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
4999
5000 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5001
5002 * gdb.linespec/explicit.exp: Check for readline support for
5003 tab-completion tests. Fix obvious typo.
5004
5005 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5006
5007 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
5008 and replay.
5009
5010 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5011
5012 * gdb.btrace/non-stop.c: New.
5013 * gdb.btrace/non-stop.exp: New.
5014
5015 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
5016 Yao Qi <yao.qi@linaro.org>
5017
5018 * gdb.trace/trace-condition.c: New file.
5019 * gdb.trace/trace-condition.exp: New file.
5020
5021 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
5022
5023 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
5024 for testing bytecode compilation.
5025
5026 2015-09-16 Pedro Alves <palves@redhat.com>
5027 Sandra Loosemore <sandra@codesourcery.com>
5028
5029 * gdb.threads/non-stop-fair-events.c (timeout): New global.
5030 (SECONDS): Redefine.
5031 (main): Call pthread_kill and alarm early.
5032 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
5033 support.
5034 (test): If the target can't hardware step and doesn't support
5035 displaced stepping, increase the timeout.
5036
5037 2015-09-16 Pedro Alves <palves@redhat.com>
5038
5039 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
5040 (enable_debug): New procedures.
5041 (test): Use them. Bail out if waiting for threads fails.
5042 (top level): Bail out if a test fails.
5043
5044 2015-09-16 Yao Qi <yao.qi@linaro.org>
5045
5046 * gdb.asm/asm-source.exp: Set asm-arch for
5047 aarch64*-*-* target.
5048 * gdb.asm/aarch64.inc: New file.
5049
5050 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
5051
5052 * gdb.ada/array_of_variable_length.exp: New testcase.
5053 * gdb.ada/array_of_variable_length/foo.adb: New file.
5054 * gdb.ada/array_of_variable_length/pck.adb: New file.
5055 * gdb.ada/array_of_variable_length/pck.ads: New file.
5056
5057 2015-09-15 Doug Evans <dje@google.com>
5058
5059 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
5060 of function static local variable.
5061
5062 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5063
5064 * gdb.threads/tls-so_extern.exp: New test file.
5065 * gdb.threads/tls-so_extern.c: New test file.
5066 * gdb.threads/tls-so_extern_main.c: New test file.
5067
5068 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5069
5070 * gdb.opt/solib-intra-step-lib.c: New file.
5071 * gdb.opt/solib-intra-step-main.c: New file.
5072 * gdb.opt/solib-intra-step.exp: New file.
5073
5074 2015-09-15 Pedro Alves <palves@redhat.com>
5075
5076 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
5077 gdb_continue_to_breakpoint instead of gdb_test_multiple.
5078
5079 2015-09-14 Pedro Alves <palves@redhat.com>
5080
5081 * gdb.base/hook-stop-continue.c: Delete.
5082 * gdb.base/hook-stop-continue.exp: Delete.
5083 * gdb.base/hook-stop-frame.c: Delete.
5084 * gdb.base/hook-stop-frame.exp: Delete.
5085 * gdb.base/hook-stop.c: New file.
5086 * gdb.base/hook-stop.exp: New file.
5087
5088 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
5089
5090 * gdb.ada/access_to_packed_array.exp: New testcase.
5091 * gdb.ada/access_to_packed_array/foo.adb: New file.
5092 * gdb.ada/access_to_packed_array/pack.adb: New file.
5093 * gdb.ada/access_to_packed_array/pack.ads: New file.
5094
5095 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
5096
5097 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
5098 buffer size test.
5099
5100 2015-09-11 Don Breazeal <donb@codesourcery.com>
5101
5102 * gdb.base/foll-exec.c: Add copyright header. Fix
5103 formatting issues.
5104 * gdb.base/foll-exec.exp (zap_session): Delete proc.
5105 (do_exec_tests): Use clean_restart in place of zap_session,
5106 and for test initialization. Fix formatting issues. Use
5107 fail in place of perror.
5108 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
5109 an expect statement to match an expression with output from
5110 the program under debug.
5111 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
5112 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
5113 * gdb.threads/non-ldr-exc-2.exp: Likewise.
5114 * gdb.threads/non-ldr-exc-3.exp: Likewise.
5115 * gdb.threads/non-ldr-exc-4.exp: Likewise.
5116
5117 2015-09-09 Doug Evans <dje@google.com>
5118
5119 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
5120
5121 2015-09-09 Doug Evans <dje@google.com>
5122
5123 * gdb.base/pie-execl.exp: Fix result test of build_executable.
5124
5125 2015-09-09 Doug Evans <dje@google.com>
5126
5127 * gdb.base/savedregs.exp: Fix typo.
5128
5129 2015-09-09 Pedro Alves <palves@redhat.com>
5130
5131 * gdb.mi/mi-cli.exp: Add CLI finish tests.
5132
5133 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
5134
5135 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
5136 command actually switches threads. Give up on remaining
5137 tests if target fails to stop at breakpoint.
5138
5139 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
5140
5141 * gdb.ada/funcall_char.exp: New testcase.
5142 * gdb.ada/funcall_char/foo.adb: New file.
5143
5144 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
5145
5146 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
5147 expected outputs. Add two testcases for completing ambiguous
5148 functions.
5149 * gdb.ada/complete/aux_pck.adb: New file.
5150 * gdb.ada/complete/aux_pck.ads: New file.
5151 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
5152 Ambiguous_Func functions.
5153 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
5154 * gdb.ada/complete/pck.adb: Likewise.
5155
5156 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
5157
5158 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
5159 failures to run the test program under GDB.
5160
5161 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
5162
5163 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
5164 to C.
5165
5166 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
5167
5168 * gdb.base/run-after-attach.exp: New test file.
5169 * gdb.base/run-after-attach.c: New test file.
5170
5171 2015-08-26 Don Breazeal <donb@codesourcery.com>
5172
5173 * gdb.base/foll-exec-2.c: New test program.
5174 * gdb.base/foll-exec-2.exp: New test.
5175
5176 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
5177
5178 * gdb.base/nested-subp1.exp: New file.
5179 * gdb.base/nested-subp1.c: New file.
5180 * gdb.base/nested-subp2.exp: New file.
5181 * gdb.base/nested-subp2.c: New file.
5182 * gdb.base/nested-subp3.exp: New file.
5183 * gdb.base/nested-subp3.c: New file.
5184
5185 2015-08-24 Pedro Alves <palves@redhat.com>
5186
5187 * gdb.server/connect-without-multi-process.c: New file.
5188 * gdb.server/connect-without-multi-process.exp: New file.
5189
5190 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5191
5192 * gdb.opt/inline-markers.c: Make z int.
5193
5194 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5195
5196 * gdb.opt/inline-markers.c: Make z volatile.
5197
5198 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5199
5200 * gdb.opt/inline-bt.c: New volatile global z.
5201 * gdb.opt/inline-cmds.c: Likewise.
5202 * gdb.opt/inline-locals.c: Likewise.
5203 * gdb.opt/inline-markers.c: New extern global z.
5204 (marker): Use z.
5205 (inline_fn): Likewise.
5206
5207 2015-08-24 Pedro Alves <palves@redhat.com>
5208
5209 * config/m32r-stub.exp: Remove file.
5210 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
5211 * gdb.base/call-rt-st.exp: Likewise.
5212 * gdb.base/call-strs.exp: Likewise.
5213 * gdb.base/default.exp: Remove references to h8300-*-hms and
5214 *-*-udi*.
5215 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
5216
5217 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5218
5219 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
5220 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
5221 and "return" use KFAIL when GDB can not read/write the vector
5222 return value.
5223
5224 2015-08-21 Gary Benson <gbenson@redhat.com>
5225
5226 * gdb.trace/pending.exp: Cope with remote transfer warnings.
5227
5228 2015-08-20 Pedro Alves <palves@redhat.com>
5229
5230 * gdb.server/solib-list.exp: No longer expect an interior stop in
5231 non-stop mode.
5232
5233 2015-08-20 Pedro Alves <palves@redhat.com>
5234
5235 * gdb.server/connect-stopped-target.c: New file.
5236 * gdb.server/connect-stopped-target.exp: New file.
5237
5238 2015-08-20 Pedro Alves <palves@redhat.com>
5239
5240 * gdb.dwarf2/comp-unit-lang.exp: New file.
5241 * gdb.dwarf2/comp-unit-lang.c: New file.
5242
5243 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
5244
5245 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
5246 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
5247
5248 2015-08-19 Kevin Buettner <kevinb@redhat.com>
5249
5250 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
5251 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
5252
5253 2015-08-18 Doug Evans <dje@google.com>
5254 Adrian Sendroiu <adrian.sendroiu@freescale.com>
5255
5256 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
5257 skip_python_tests. New arg prompt_regexp.
5258 (skip_python_tests): New function.
5259 * lib/mi-support.exp (mi_skip_python_tests): New function.
5260 * gdb.python/py-mi-objfile-gdb.py: New file.
5261 * gdb.python/py-mi-objfile.c: New file.
5262 * gdb.python/py-mi-objfile.exp: New file.
5263
5264 2015-08-17 Keith Seitz <keiths@redhat.com>
5265
5266 * gdb.linespec/explicit.exp: Move strace test from here ...
5267 * gdb.trace/strace.exp: ... to here.
5268
5269 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
5270
5271 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
5272 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
5273
5274 2015-08-14 Doug Evans <xdje42@gmail.com>
5275
5276 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
5277 inferior before selecting a new file.
5278
5279 2015-08-14 Doug Evans <xdje42@gmail.com>
5280
5281 * gdb.mi/mi-disassemble.exp: Update.
5282 * gdb.base/disasm-optim.S: New file.
5283 * gdb.base/disasm-optim.c: New file.
5284 * gdb.base/disasm-optim.h: New file.
5285 * gdb.base/disasm-optim.exp: New file.
5286
5287 2015-08-14 Keith Seitz <keiths@redhat.com>
5288
5289 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
5290 "evaluated-by".
5291
5292 2015-08-13 Joel Brobecker <brobecker@adacore.com>
5293
5294 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
5295
5296 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
5297
5298 * gdb.ada/fun_renaming.exp: New testcase.
5299 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
5300 * gdb.ada/fun_renaming/pack.adb: New file.
5301 * gdb.ada/fun_renaming/pack.ads: New file.
5302
5303 2015-08-12 Keith Seitz <keiths@redhat.com>
5304
5305 * gdb.base/dso2dso.exp: Pass basename of source file in call to
5306 gdb_get_line_number.
5307
5308 2015-08-12 Joel Brobecker <brobecker@adacore.com>
5309
5310 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
5311 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
5312 gdb.base/dso2dso.exp: New files.
5313
5314 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
5315 Pedro Alves <palves@redhat.com>
5316 Keith Seitz <keiths@redhat.com>
5317
5318 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
5319 GDBFLAGS.
5320
5321 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
5322
5323 * gdb.base/gdbhistsize-history.exp
5324 (test_histsize_history_setting): Use save_vars.
5325 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
5326 Use save_vars.
5327 (test_no_truncation_of_unlimited_history_file): Use save_vars.
5328 * gdb.base/readline.exp: Use save_vars.
5329
5330 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
5331
5332 * lib/gdb.exp (save_vars): New proc.
5333
5334 2015-08-11 Keith Seitz <keiths@redhat.com>
5335
5336 * gdb.base/help.exp: Update help_breakpoint_text.
5337
5338 2015-08-11 Keith Seitz <keiths@redhat.com>
5339
5340 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
5341 (at toplevel): Call test_explicit_breakpoints.
5342 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
5343 breakpoints.
5344 * lib/mi-support.exp (mi_make_breakpoint): Add support for
5345 breakpoint conditions, "-cond".
5346
5347 2015-08-11 Keith Seitz <keiths@redhat.com>
5348
5349 * gdb.linespec/3explicit.c: New file.
5350 * gdb.linespec/cpexplicit.cc: New file.
5351 * gdb.linespec/cpexplicit.exp: New file.
5352 * gdb.linespec/explicit.c: New file.
5353 * gdb.linespec/explicit.exp: New file.
5354 * gdb.linespec/explicit2.c: New file.
5355 * gdb.linespec/ls-errs.exp: Add explicit location tests.
5356 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
5357 before using in the matching pattern.
5358 Clarify that `prefix' is a regular expression.
5359
5360 2015-08-11 Keith Seitz <keiths@redhat.com>
5361
5362 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
5363 test.
5364 Add tests for missing ",FMT" and ",".
5365
5366 2015-08-10 Doug Evans <dje@google.com>
5367 Keith Seitz <keiths@redhat.com>
5368
5369 PR gdb/17960
5370 * gdb.base/completion.exp: Add location completer tests.
5371
5372 2015-08-07 Pedro Alves <palves@redhat.com>
5373
5374 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
5375 tests here.
5376 (top level): Run do_test with and without displaced stepping.
5377
5378 2015-08-07 Pedro Alves <palves@redhat.com>
5379
5380 * gdb.base/valgrind-disp-step.c: New file.
5381 * gdb.base/valgrind-disp-step.exp: New file.
5382
5383 2015-08-07 Pedro Alves <palves@redhat.com>
5384
5385 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
5386 Delete function.
5387 (main): Add alarm. Run an infinite loop instead of calling
5388 wait_threads.
5389 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
5390 comment.
5391 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
5392 Delete function.
5393 (main): Add alarm. Run an infinite loop instead of calling
5394 wait_threads.
5395 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
5396 comment.
5397
5398 2015-08-07 Pedro Alves <palves@redhat.com>
5399
5400 * gdb.base/checkpoint-ns.exp: New file.
5401 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
5402 standard_testfile.
5403
5404 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
5405
5406 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
5407 * gdb.btrace/instruction_history.exp: Update.
5408 * gdb.btrace/tsx.exp: New.
5409 * gdb.btrace/tsx.c: New.
5410
5411 2015-08-06 Pedro Alves <palves@redhat.com>
5412
5413 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
5414 increase timeout.
5415 * gdb.reverse/until-precsave.exp: Bump timeouts.
5416
5417 2015-08-06 Pedro Alves <palves@redhat.com>
5418
5419 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
5420
5421 2015-08-06 Pedro Alves <palves@redhat.com>
5422
5423 PR gdb/18749
5424 * gdb.threads/process-dies-while-handling-bp.c: New file.
5425 * gdb.threads/process-dies-while-handling-bp.exp: New file.
5426
5427 2015-08-06 Pedro Alves <palves@redhat.com>
5428
5429 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
5430 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
5431
5432 2015-08-05 Pedro Alves <palves@redhat.com>
5433
5434 * gdb.threads/next-while-other-thread-longjmps.c: New file.
5435 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
5436
5437 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
5438
5439 * gdb.base/bp-permanent.exp: Report test as unsupported if
5440 the target cannot stop at the permanent breakpoint.
5441
5442 2015-08-03 Doug Evans <dje@google.com>
5443
5444 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
5445 10000.
5446
5447 2015-08-03 Doug Evans <dje@google.com>
5448
5449 * Makefile.in (workers/%.worker, build-perf): New rule.
5450 (GDB_PERFTEST_MODE): New variable.
5451 (check-perf): Use it.
5452 (clean): Clean up gdb.perf parallel build subdirs.
5453 * lib/build-piece.exp: New file.
5454 * lib/gdb.exp (make_gdb_parallel_path): New function
5455 (standard_output_file, standard_temp_file): Call it.
5456 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5457 of $GDB_PARALLEL.
5458 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
5459
5460 2015-08-03 Doug Evans <dje@google.com>
5461
5462 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
5463 (LOG_FILE_NAME): New global.
5464 (TextReporter.__init__): Initialize self.txt_sum.
5465 (TextReporter.report): Add support for multiple data-points.
5466 Move report to perftest.sum, put raw data in perftest.log.
5467 (TextReporter.start): Open sum and log files.
5468 (TextReporter.end): Close sum and log files.
5469 * gdb.perf/lib/perftest/testresult.py
5470 (SingleStatisticTestResult.record): Handle multiple data-points.
5471
5472 2015-07-31 Pedro Alves <palves@redhat.com>
5473
5474 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
5475 Use spawn_id_get_pid. Wait for spawn id after eof. Use
5476 kill_wait_spawned_process instead of explicit "kill -9".
5477 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
5478 returning a spawn id instead of a pid. Use spawn_id_get_pid and
5479 kill_wait_spawned_process.
5480 * gdb.base/attach-twice.exp: Likewise.
5481 * gdb.base/attach.exp: Likewise.
5482 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
5483 gdb_test_multiple.
5484 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
5485 returning a spawn id instead of a pid. Use spawn_id_get_pid and
5486 kill_wait_spawned_process.
5487 * gdb.base/valgrind-infcall.exp: Likewise.
5488 * gdb.multi/multi-attach.exp: Likewise.
5489 * gdb.python/py-prompt.exp: Likewise.
5490 * gdb.python/py-sync-interp.exp: Likewise.
5491 * gdb.server/ext-attach.exp: Likewise.
5492 * gdb.threads/attach-into-signal.exp (corefunc): Use
5493 spawn_wait_for_attach, spawn_id_get_pid and
5494 kill_wait_spawned_process.
5495 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
5496 spawn_wait_for_attach returning a spawn id instead of a pid. Use
5497 spawn_id_get_pid and kill_wait_spawned_process.
5498 * gdb.threads/attach-stopped.exp (corefunc): Use
5499 spawn_wait_for_attach, spawn_id_get_pid and
5500 kill_wait_spawned_process.
5501 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
5502 Use spawn_id_get_pid. Wait for spawn id after eof. Use
5503 kill_wait_spawned_process instead of explicit "kill -9".
5504 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
5505 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
5506 (spawn_wait_for_attach): Use spawn instead of exec to spawn
5507 processes. Don't map cygwin/windows pids here. Now returns a
5508 spawn id list.
5509
5510 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5511
5512 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
5513 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
5514 correct patch.
5515
5516 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5517
5518 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
5519
5520 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5521
5522 Reapply:
5523 2014-05-21 Mark Wielaard <mjw@redhat.com>
5524
5525 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
5526
5527 2015-07-30 Pedro Alves <palves@redhat.com>
5528
5529 * linux-low.c (handle_extended_wait): Set the child's last
5530 reported status to TARGET_WAITKIND_STOPPED.
5531
5532 2015-07-30 Pedro Alves <palves@redhat.com>
5533
5534 PR threads/18600
5535 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
5536 only shows inferior 1.
5537
5538 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
5539 Pedro Alves <palves@redhat.com>
5540
5541 PR threads/18600
5542 * gdb.threads/fork-plus-threads.c: New file.
5543 * gdb.threads/fork-plus-threads.exp: New file.
5544
5545 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5546
5547 * gdb.base/batch-preserve-term-settings.exp
5548 (test_terminal_settings_preserved_after_cli_exit): Use
5549 send_quit_command.
5550
5551 2015-07-29 Pedro Alves <palves@redhat.com>
5552 Don Breazeal <donb@codesourcery.com>
5553
5554 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
5555 output from both inferior_spawn_id and gdb_spawn_id.
5556
5557 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
5558
5559 * gdb.threads/attach-into-signal.exp (corefunc): Use
5560 with_test_prefix on nested loops, uniquefying the test messages.
5561
5562 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
5563
5564 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
5565 commit.
5566
5567 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5568
5569 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
5570 New proc.
5571 (test_terminal_settings_preserved_after_sigterm): New test.
5572
5573 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5574
5575 * gdb.base/batch-preserve-term-settings.exp
5576 (test_terminal_settings_preserved_after_cli_exit): New test.
5577
5578 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5579
5580 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
5581 manipulation of saved_gdbflags.
5582 (test_terminal_settings_preserved): Remove global declaration of
5583 the unused variable pagination_prompt. Remove manipulation of
5584 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
5585 GDBFLAGS.
5586
5587 2015-07-29 Pedro Alves <palves@redhat.com>
5588
5589 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
5590
5591 2015-07-29 Pedro Alves <palves@redhat.com>
5592
5593 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
5594 at the top.
5595
5596 2015-07-29 Pedro Alves <palves@redhat.com>
5597
5598 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
5599 (main): Call gdb_unbuffer_output.
5600 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
5601 (main): Call gdb_unbuffer_output.
5602 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
5603 (main): Call gdb_unbuffer_output.
5604 * gdb.base/call-strs.exp: Adjust to step over the
5605 gdb_unbuffer_output call.
5606 * gdb.base/catch-gdb-caused-signals.c: Include
5607 "../lib/unbuffer_output.c".
5608 (main): Call gdb_unbuffer_output.
5609 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
5610 (main): Call gdb_unbuffer_output.
5611 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
5612 (main): Call gdb_unbuffer_output.
5613 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
5614 (main): Call gdb_unbuffer_output.
5615 * gdb.base/shlib-call.exp: Adjust to step over the
5616 gdb_unbuffer_output call.
5617 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
5618 (main): Call gdb_unbuffer_output.
5619 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
5620 (main): Call gdb_unbuffer_output.
5621 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
5622 (main): Rename to ...
5623 (test): ... this.
5624 (main): Reimplement.
5625 * gdb.base/varargs.exp: Run to test instead of to main.
5626 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
5627 (main): Call gdb_unbuffer_output.
5628
5629 2015-07-29 Pedro Alves <palves@redhat.com>
5630
5631 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
5632 factore out from mi_continue_dprintf. For call-style dprintfs,
5633 expect dprintf output out of $inferior_spawn_id.
5634 (mi_continue_dprintf): Use mi_expect_dprintf.
5635 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
5636 (main): Call gdb_unbuffer_output.
5637
5638 2015-07-29 Pedro Alves <palves@redhat.com>
5639
5640 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
5641 (default_mi_gdb_start): Set inferior_spawn_id instead of
5642 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
5643 gdb_spawn_id.
5644 (mi_gdb_test): Always expect inferior output from both
5645 $inferior_spawn_id and $gdb_spawn_id.
5646
5647 2015-07-29 Pedro Alves <palves@redhat.com>
5648
5649 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
5650 send_inferior and $inferior_spawn_id.
5651
5652 2015-07-29 Pedro Alves <palves@redhat.com>
5653
5654 * gdb.gdb/complaints.exp (test_initial_complaints)
5655 (test_serial_complaints, test_short_complaints): Use
5656 gdb_test_stdio.
5657 (test_empty_complaint): Handle $inferior_spawn_id !=
5658 $gdb_spawn_id.
5659
5660 2015-07-29 Pedro Alves <palves@redhat.com>
5661
5662 * gdb.base/varargs.exp: Use gdb_test_stdio.
5663
5664 2015-07-29 Pedro Alves <palves@redhat.com>
5665
5666 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
5667
5668 2015-07-29 Pedro Alves <palves@redhat.com>
5669
5670 * gdb.base/ending-run.exp: Use gdb_test_stdio.
5671
5672 2015-07-29 Pedro Alves <palves@redhat.com>
5673
5674 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
5675 parameter into two new parameters, "inf_result" and "gdb_result".
5676 Expect inferior output and gdb output from $inferior_spawn_id and
5677 $gdb_spawn_id, respectively. Adjust all callers.
5678
5679 2015-07-29 Pedro Alves <palves@redhat.com>
5680
5681 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
5682 of gdb_test_sequence.
5683
5684 2015-07-29 Pedro Alves <palves@redhat.com>
5685
5686 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
5687 (saw_spurious_output): Expect inferior output from
5688 $inferior_spawn_id. Use gdb_test_stdio.
5689
5690 2015-07-29 Pedro Alves <palves@redhat.com>
5691
5692 * gdb.base/dprintf.exp: Use standard_testfile. Change
5693 prepare_for_testing call.
5694 (srcfile): Don't set.
5695 (restart): New procedure.
5696 (test_dprintf): New procecure, use to continue over dprintfs.
5697 (test_call, test_agent): New procedures, tests moved here.
5698 Restart gdb and recreate dprintfs. Adjust expected output.
5699
5700 2015-07-29 Pedro Alves <palves@redhat.com>
5701
5702 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
5703
5704 2015-07-29 Pedro Alves <palves@redhat.com>
5705
5706 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
5707
5708 2015-07-29 Pedro Alves <palves@redhat.com>
5709
5710 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
5711 gdb_test_stdio.
5712
5713 2015-07-29 Pedro Alves <palves@redhat.com>
5714
5715 * lib/gdb.exp (gdb_test_stdio): New procedure.
5716
5717 2015-07-29 Pedro Alves <palves@redhat.com>
5718
5719 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
5720
5721 2015-07-29 Pedro Alves <palves@redhat.com>
5722
5723 * gdb.base/call-signal-resume.exp: Remove check for
5724 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
5725 * gdb.base/unwindonsignal.exp: Likewise.
5726 * gdb.base/call-signals.c (gen_signal): Remove printf call.
5727 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
5728
5729 2015-07-29 Pedro Alves <palves@redhat.com>
5730
5731 * gdb.base/siginfo-addr.c (pass): New function.
5732 (handler): Call it iff si_addr is correct.
5733 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
5734 Set a breakpoint at "pass" and continue to it.
5735
5736 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
5737
5738 * gdb.python/py-objfile.exp: Make some tests have unique names.
5739 * gdb.python/py-pp-registration.exp: Likewise.
5740
5741 2015-07-28 Pedro Alves <palves@redhat.com>
5742
5743 * gdb.server/server-exec-info.exp: Issue a "disconnect".
5744
5745 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
5746
5747 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
5748
5749 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
5750
5751 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
5752
5753 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
5754
5755 * gdb.base/gdb-sigterm-2.exp: New test.
5756
5757 2015-07-25 Doug Evans <xdje42@gmail.com>
5758
5759 Revert:
5760 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
5761 (workers/%.worker, build-perf): New rule.
5762 (GDB_PERFTEST_MODE): New variable.
5763 (check-perf): Use it.
5764 (clean): Clean up gdb.perf parallel build subdirs.
5765 * lib/build-piece.exp: New file.
5766 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
5767 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
5768 name.
5769 (standard_temp_file): Ditto.
5770 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5771 of $GDB_PARALLEL.
5772
5773 2015-07-24 Doug Evans <dje@google.com>
5774
5775 * gdb.perf/lib/perftest/utils.py: New file.
5776 * gdb.perf/gm-hello.cc: New file.
5777 * gdb.perf/gm-pervasive-typedef.cc: New file.
5778 * gdb.perf/gm-pervasive-typedef.h: New file.
5779 * gdb.perf/gm-std.cc: New file.
5780 * gdb.perf/gm-std.h: New file.
5781 * gdb.perf/gm-use-cerr.cc: New file.
5782 * gdb.perf/gm-utils.h: New file.
5783 * gdb.perf/gmonster-null-lookup.py: New file.
5784 * gdb.perf/gmonster-pervasive-typedef.py: New file.
5785 * gdb.perf/gmonster-print-cerr.py: New file.
5786 * gdb.perf/gmonster-ptype-string.py: New file.
5787 * gdb.perf/gmonster-runto-main.py: New file.
5788 * gdb.perf/gmonster-select-file.py: New file.
5789 * gdb.perf/gmonster1-null-lookup.exp: New file.
5790 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
5791 * gdb.perf/gmonster1-print-cerr.exp: New file.
5792 * gdb.perf/gmonster1-ptype-string.exp: New file.
5793 * gdb.perf/gmonster1-runto-main.exp: New file.
5794 * gdb.perf/gmonster1-select-file.exp: New file.
5795 * gdb.perf/gmonster1.cc: New file.
5796 * gdb.perf/gmonster1.exp: New file.
5797 * gdb.perf/gmonster2-null-lookup.exp: New file.
5798 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
5799 * gdb.perf/gmonster2-print-cerr.exp: New file.
5800 * gdb.perf/gmonster2-ptype-string.exp: New file.
5801 * gdb.perf/gmonster2-runto-main.exp: New file.
5802 * gdb.perf/gmonster2-select-file.exp: New file.
5803 * gdb.perf/gmonster2.cc: New file.
5804 * gdb.perf/gmonster2.exp: New file.
5805
5806 2015-07-24 Doug Evans <dje@google.com>
5807
5808 * gdb.perf/README: New file.
5809 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
5810 * lib/gen-perf-test.exp: New file.
5811
5812 2015-07-24 Doug Evans <dje@google.com>
5813
5814 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
5815 (PerfTest::startup): New function.
5816 (PerfTest::run): Return result of calling body.
5817 (PerfTest::assemble): Rewrite.
5818 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
5819 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
5820 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
5821 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
5822 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
5823
5824 2015-07-24 Doug Evans <dje@google.com>
5825
5826 * lib/gdb.exp (clean_restart): Make executable optional.
5827
5828 2015-07-24 Doug Evans <dje@google.com>
5829
5830 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
5831 compiler_info references.
5832 * gdb.cp/temargs.exp: Ditto.
5833 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
5834 (get_compiler_info): Early exit if already computed. Set compiler_info
5835 to "unknown" if there was a problem.
5836 (test_compiler_info): Add function comment. Call get_compiler_info.
5837
5838 2015-07-24 Doug Evans <dje@google.com>
5839
5840 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
5841 (workers/%.worker, build-perf): New rule.
5842 (GDB_PERFTEST_MODE): New variable.
5843 (check-perf): Use it.
5844 (clean): Clean up gdb.perf parallel build subdirs.
5845 * lib/build-piece.exp: New file.
5846 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
5847 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
5848 name.
5849 (standard_temp_file): Ditto.
5850 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5851 of $GDB_PARALLEL.
5852
5853 2015-07-24 Doug Evans <dje@google.com>
5854
5855 * lib/future.exp (gdb_default_target_compile): New option
5856 "early_flags".
5857 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
5858 --as-needed.
5859
5860 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
5861
5862 * gdb.base/catch-syscall.exp: Call gdb_exit before
5863 gdb_skip_xml_test.
5864
5865 2015-07-24 Pedro Alves <palves@redhat.com>
5866
5867 * gdb.python/py-events.exp: Accept output between the stop event
5868 and the prompt.
5869 * gdb.python/py-evsignal.exp: Likewise.
5870 * gdb.python/py-evthreads.exp: Likewise.
5871
5872 2015-07-24 Pedro Alves <palves@redhat.com>
5873
5874 PR gdb/18717
5875 * gdb.threads/non-ldr-exit.c: New file.
5876 * gdb.threads/non-ldr-exit.exp: New file.
5877
5878 2015-07-24 Yao Qi <yao.qi@linaro.org>
5879
5880 * gdb.server/ext-wrapper.exp: Test --wrapper option when
5881 restarting process.
5882
5883 2015-07-24 Yao Qi <yao.qi@linaro.org>
5884
5885 * gdb.server/ext-restart.exp: New file.
5886
5887 2015-07-24 Yao Qi <yao.qi@linaro.org>
5888
5889 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
5890 argument options.
5891 * gdb.server/ext-wrapper.exp: New file.
5892
5893 2015-07-23 Doug Evans <dje@google.com>
5894
5895 * gdb.dwarf2/dw2-dummy-cu.S: New file.
5896 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
5897
5898 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
5899
5900 * gdb.ada/var_arr_typedef.exp: New testcase.
5901 * gdb.ada/var_arr_typedef/pack.adb: New file.
5902 * gdb.ada/var_arr_typedef/pack.ads: New file.
5903 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
5904
5905 2015-07-20 Joel Brobecker <brobecker@adacore.com>
5906
5907 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
5908
5909 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5910
5911 * gdb.arch/i386-biarch-core.exp: Replace istarget
5912 by "complete set gnutarget". Remove expectation for the "core-file"
5913 command.
5914
5915 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5916
5917 Revert the previous commit:
5918 Tests for validate symbol file using build-id.
5919
5920 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
5921
5922 Tests for validate symbol file using build-id.
5923 * gdb.base/solib-mismatch-lib.c: New file.
5924 * gdb.base/solib-mismatch-libmod.c: New file.
5925 * gdb.base/solib-mismatch.c: New file.
5926 * gdb.base/solib-mismatch.exp: New file.
5927
5928 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
5929
5930 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
5931 nios2-*-linux*.
5932 * gdb.base/sigbpt.exp (stepi_out): Likewise.
5933 * gdb.base/siginfo.exp: Likewise.
5934 * gdb.base/sigstep.exp (advance, advancei): Likewise.
5935
5936 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
5937
5938 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
5939 Move it to ...
5940 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
5941 ... here.
5942 * gdb.trace/range-stepping.exp: Check that the target supports
5943 range stepping.
5944
5945 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5946
5947 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
5948
5949 2015-07-14 Pedro Alves <palves@redhat.com>
5950
5951 * gdb.base/killed-outside.exp: New file.
5952 * gdb.base/killed-outside.c: New file.
5953
5954 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5955
5956 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
5957 (n at main): New.
5958 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
5959
5960 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
5961
5962 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
5963 infcall tests instead of setting up for KFAIL.
5964
5965 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
5966
5967 * gdb.btrace/record_goto-step.exp: New.
5968
5969 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5970
5971 PR compile/18484
5972 * gdb.compile/compile.c (struct struct_type): Add volatile to
5973 selffield's type.
5974 * gdb.compile/compile.exp
5975 (compile code struct_object.selffield = &struct_object): Skip further
5976 struct_object tests if this one xfails.
5977
5978 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
5979
5980 PR exp/18617
5981 * gdb.trace/ax.exp: Add test.
5982
5983 2015-07-07 Yao Qi <yao.qi@linaro.org>
5984
5985 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
5986 instead of istarget "aarch64*-*-*".
5987 * gdb.arch/aarch64-fp.exp: Likewise.
5988 * gdb.base/float.exp: Likewise.
5989 * gdb.reverse/aarch64.exp: Likewise.
5990 * lib/gdb.exp (is_aarch64_target): New proc.
5991
5992 2015-07-07 Yao Qi <yao.qi@linaro.org>
5993
5994 * lib/gdb.exp (is_aarch32_target): New proc.
5995 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
5996 instead of "istarget "arm*-*-*"".
5997 * gdb.arch/arm-disp-step.exp: Likewise.
5998 * gdb.arch/thumb-bx-pc.exp: Likewise.
5999 * gdb.arch/thumb-prologue.exp: Likewise.
6000 * gdb.arch/thumb-singlestep.exp: Likewise.
6001 * gdb.base/disp-step-syscall.exp: Likewise.
6002 * gdb.base/float.exp: Likewise.
6003
6004 2015-07-07 Yao Qi <yao.qi@linaro.org>
6005
6006 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
6007 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
6008
6009 2015-07-07 Yao Qi <yao.qi@linaro.org>
6010
6011 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
6012 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
6013 if it exists.
6014 * gdb.multi/multi-arch.exp: Likewise.
6015
6016 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
6017
6018 * gdb.python/py-lazy-string.exp: Add missing parentheses to
6019 print.
6020
6021 2015-07-07 Yao Qi <yao.qi@linaro.org>
6022
6023 * gdb.arch/thumb-singlestep.exp: Do one more single step.
6024
6025 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
6026
6027 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
6028 '[' and ']' characters.
6029
6030 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
6031
6032 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
6033
6034 2015-06-29 Pedro Alves <palves@redhat.com>
6035
6036 PR threads/18127
6037 * gdb.threads/hand-call-new-thread.c: New file.
6038 * gdb.threads/hand-call-new-thread.c: New file.
6039
6040 2015-06-26 Keith Seitz <keiths@redhat.com>
6041 Doug Evans <dje@google.com>
6042
6043 PR 16253
6044 * gdb.cp/var-tag-2.cc: New file.
6045 * gdb.cp/var-tag-3.cc: New file.
6046 * gdb.cp/var-tag-4.cc: New file.
6047 * gdb.cp/var-tag.cc: New file.
6048 * gdb.cp/var-tag.exp: New file.
6049
6050 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6051
6052 * gdb.base/history-duplicates.exp: New test.
6053
6054 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6055
6056 * gdb.base/completion.exp: Test the completion of the "focus"
6057 command.
6058
6059 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6060
6061 * gdb.arch/amd64-prologue-skip.S: New file.
6062 * gdb.arch/amd64-prologue-skip.exp: New file.
6063
6064 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
6065
6066 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
6067 is_address_zero_readable check.
6068
6069 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
6070
6071 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
6072 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
6073
6074 2015-06-24 Yao Qi <yao.qi@linaro.org>
6075
6076 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
6077 linux targets.
6078
6079 2015-06-24 Yao Qi <yao.qi@linaro.org>
6080
6081 * lib/gdb.exp (supports_get_siginfo_type): New proc.
6082 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
6083 * gdb.base/siginfo-thread.exp: Likewise.
6084
6085 2015-06-22 Yao Qi <yao.qi@linaro.org>
6086
6087 * boards/remote-gdbserver-on-localhost.exp: Add comments.
6088
6089 2015-06-22 Yao Qi <yao.qi@linaro.org>
6090
6091 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
6092 aarch64*-*-*.
6093 (skip_hw_watchpoint_tests): Likewise.
6094
6095 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
6096
6097 * gdb.base/gdbinit-history.exp: Test the interaction between
6098 setting GDBHISTSIZE and setting the history size via .gdbinit.
6099
6100 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6101
6102 PR gdb/16999
6103 * gdb.base/gdbhistsize-history.exp: New test.
6104
6105 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6106
6107 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
6108 with GDBHISTSIZE.
6109 * gdb.base/readline.exp: Likewise.
6110
6111 2015-06-17 Yao Qi <yao.qi@linaro.org>
6112
6113 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
6114 line.
6115
6116 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6117
6118 * gdb.base/gdbinit-history.exp: Add test case to check that
6119 an unlimited history file does not get truncated on exit.
6120
6121 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6122
6123 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
6124 (VECTOR): New macro. Use it...
6125 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
6126 ...for these typedefs.
6127 (int8, char1, int1, double1): New typedefs.
6128 (struct just_int2, struct two_int2): New structures.
6129 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
6130 (add_structvecs, add_singlevecs): New functions.
6131 (main): Call add_some_intvecs twice.
6132 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
6133 the compile and exit upon failure. Try compiling for the "native"
6134 architecture. Test inferior function calls with vector arguments
6135 and vector return value handling with "finish" and "return".
6136
6137 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
6138
6139 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
6140 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
6141 PE file.
6142 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
6143
6144 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
6145
6146 PR breakpoints/16465
6147 * gdb.mi/mi-dprintf-pending.c: New file.
6148 * gdb.mi/mi-dprintf-pending.exp: New test.
6149 * gdb.mi/mi-dprintf-pendshr.c: New file.
6150
6151 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6152 Mircea Gherzan <mircea.gherzan@intel.com>
6153
6154 * gdb.arch/i386-mpx-map.c: New file.
6155 * gdb.arch/i386-mpx-map.exp: New File.
6156
6157 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6158
6159 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
6160 * gdb.arch/i386-mpx.exp: Indentation fixed.
6161
6162 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6163
6164 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
6165 function and improved indentation.
6166 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
6167 gdb_test_multiple. Added additional tests to skip the test.
6168
6169 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6170
6171 * gdb.arch/i386-avx512.c: Change path in include file.
6172 * gdb.arch/i386-avx512.exp: Change include dir path
6173 compilation flag.
6174 * gdb.arch/i386-mpx.c: Change path in include file.
6175 * gdb.arch/i386-mpx.exp: Change include dir path compilation
6176 flag.
6177
6178 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6179
6180 * gdb.compile/compile-print.exp (compile print *vararray@3)
6181 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
6182
6183 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6184
6185 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
6186 (do not keep jit in memory): ... this.
6187 (expect 5): Change it to ...
6188 (expect no 5): ... this.
6189
6190 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
6191
6192 PR gdb/15564
6193 * gdb.mi/mi-detach.exp: New file.
6194
6195 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6196
6197 PR symtab/18392
6198 * gdb.arch/amd64-tailcall-self.S: New file.
6199 * gdb.arch/amd64-tailcall-self.c: New file.
6200 * gdb.arch/amd64-tailcall-self.exp: New file.
6201
6202 2015-05-28 Don Breazeal <donb@codesourcery.com>
6203
6204 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
6205 tests for remote targets by checking is_target_gdbserver.
6206
6207 2015-05-27 Doug Evans <dje@google.com>
6208
6209 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
6210 * gdb.dwarf2/opaque-type-lookup.c: New file.
6211 * gdb.dwarf2/opaque-type-lookup.exp: New file.
6212
6213 2015-05-26 Doug Evans <dje@google.com>
6214
6215 * gdb.cp/iostream.cc: New file.
6216 * gdb.cp/iostream.exp: New file.
6217
6218 2015-05-26 Doug Evans <dje@google.com>
6219
6220 * gdb.dwarf2/dw2-op-call.exp: Update.
6221 * gdb.dwarf2/dw4-sig-types.exp: Update.
6222 * gdb.dwarf2/implptr.exp: Update.
6223 * gdb.mi/mi-cmd-param-changed.exp: Update.
6224
6225 2015-05-26 Doug Evans <dje@google.com>
6226
6227 * gdb.python/py-lazy-string.c: New file.
6228 * gdb.python/py-lazy-string.exp: New file.
6229 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
6230 (main): Update. Add estring3.
6231 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
6232 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
6233
6234 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6235 Yao Qi <yao.qi@linaro.org>
6236
6237 * gdb.reverse/aarch64.c: New.
6238 * gdb.reverse/aarch64.exp: New.
6239
6240 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6241
6242 * lib/gdb.exp (supports_process_record): Return true for
6243 aarch64*-linux*.
6244 (supports_reverse): Likewise.
6245
6246 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
6247
6248 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6249 Use with_test_prefix.
6250
6251 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
6252
6253 * gdb.base/completion.exp: Add test for completion of layout
6254 names.
6255
6256 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
6257
6258 * lib/gdb.exp (skip_tui_tests): New proc.
6259 * gdb.base/tui-layout.exp: Check skip_tui_tests.
6260
6261 2015-05-19 Pedro Alves <palves@redhat.com>
6262
6263 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6264 Save the whole env array instead of just HOME. Unset HISTSIZE in
6265 the environment while testing. Restore whole environment
6266 afterwards.
6267
6268 2015-05-16 Doug Evans <xdje42@gmail.com>
6269
6270 * gdb.guile/scm-ports.c: New file.
6271 * gdb.guile/scm-ports.exp: Add memory port tests.
6272
6273 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6274
6275 * gdb.compile/compile-print.c: New file.
6276 * gdb.compile/compile-print.exp: New file.
6277
6278 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6279
6280 * gdb.compile/compile-ops.exp: Cast param to void.
6281 * gdb.compile/compile.exp: Complete type for _gdb_expr.
6282 (compile code struct_object.selffield = &struct_object): Add xfail.
6283
6284 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6285
6286 * gdb.ada/arr_enum_with_gap: New testcase.
6287
6288 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6289
6290 * gdb.ada/byte_packed_arr: New testcase.
6291
6292 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6293
6294 * gdb.ada/pckd_neg: New testcase.
6295
6296 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
6297
6298 PR gdb/17820
6299 * gdb.base/gdbinit-history.exp: New test.
6300 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
6301 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
6302
6303 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
6304
6305 * gdb.python/py-xmethods.cc: Enhance test case.
6306 * gdb.python/py-xmethods.exp: New tests.
6307 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
6308 function.
6309 (B_indexoper): Likewise.
6310 (global_dm_list) : Add new xmethod worker functions.
6311
6312 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
6313
6314 * gdb.base/coredump-filter.exp: Correctly unset
6315 "coredump_var_addr" array.
6316
6317 2015-05-08 Pedro Alves <palves@redhat.com>
6318
6319 * gdb.server/non-existing-program.exp: Unset spawn_id.
6320
6321 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
6322
6323 PR python/18291
6324 * gdb.python/py-xmethods.exp: Add tests.
6325
6326 2015-05-08 Yao Qi <yao.qi@linaro.org>
6327
6328 PR gdb/18208
6329 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
6330 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
6331 function set_coredump_filter, and remove remote_exec call.
6332 Remove argument ipid. Callers update.
6333 (top level): Don't get inferior's PID.
6334
6335 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
6336
6337 * gdb.base/watch_thread_num.exp: Skip test on targets without
6338 access watchpoints.
6339
6340 2015-05-06 Pedro Alves <palves@redhat.com>
6341
6342 PR server/18081
6343 * gdb.server/non-existing-program.exp: New file.
6344
6345 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6346
6347 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
6348
6349 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6350
6351 * gdb.ada/out_of_line_in_inlined: New testcase.
6352
6353 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6354
6355 * gdb.ada/var_rec_arr: New testcase.
6356
6357 2015-04-30 Yao Qi <yao.qi@linaro.org>
6358
6359 * gdb.base/break-idempotent.exp: If
6360 skip_hw_watchpoint_multi_tests returns true, skip the tests
6361 on "rwatch" and "awatch".
6362
6363 2015-04-30 Yao Qi <yao.qi@linaro.org>
6364
6365 * gdb.base/relativedebug.exp: Invoke gdb command
6366 "info sharedlibrary", and if libc.so doesn't have debug info,
6367 skip the test.
6368
6369 2015-04-29 Doug Evans <dje@google.com>
6370
6371 * gdb.python/py-xmethods.exp: Add ptype tests.
6372 * gdb.python/py-xmethods.py (E_method_char_worker): Add
6373 get_result_type method.
6374
6375 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
6376
6377 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
6378 the target does not support hardware watchpoints.
6379
6380 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
6381
6382 * gdb.base/break-always.exp: Abort testing if writing to memory
6383 causes an error.
6384
6385 2015-04-28 Doug Evans <dje@google.com>
6386
6387 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
6388 * gdb.python/py-pp-registration.exp: ... here. New file.
6389 * gdb.python/py-pp-registration.c: New file.
6390 * gdb.python/py-pp-registration.py: New file.
6391
6392 2015-04-28 Doug Evans <dje@google.com>
6393
6394 * gdb.python/py-bad-printers.c: New file.
6395 * gdb.python/py-bad-printers.py: New file.
6396 * gdb.python/py-bad-printers.exp: New file.
6397
6398 2015-04-28 Sasha Smundak <asmundak@google.com>
6399
6400 * gdb.python/py-type.exp: New test.
6401
6402 2015-04-28 Andy Wingo <wingo@igalia.com>
6403
6404 * gdb.python/py-parameter.exp:
6405 * gdb.guile/scm-parameter.exp: Escape the path that we are
6406 matching against, as it might contain characters that are special
6407 to regular expressions.
6408
6409 2015-04-27 Joel Brobecker <brobecker@adacore.com>
6410
6411 * gdb.ada/rec_comp: New testcase.
6412
6413 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
6414
6415 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
6416 before using it.
6417
6418 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
6419
6420 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
6421 new tests for verilog output.
6422
6423 2015-04-24 Yao Qi <yao.qi@linaro.org>
6424
6425 * boards/remote-gdbserver-on-localhost.exp: New file.
6426
6427 2015-04-23 Pedro Alves <palves@redhat.com>
6428
6429 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
6430 $inferior_spawn_id instead of $inferior_spawn_id directly. On
6431 "end of file", remove $inferior_spawn_id from the indirect list.
6432
6433 2015-04-23 Pedro Alves <palves@redhat.com>
6434
6435 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
6436
6437 2015-04-23 Pedro Alves <palves@redhat.com>
6438
6439 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
6440 on $any_spawn_id instead of only on $gdb_spawn_id.
6441
6442 2015-04-21 Pierre Muller <muller@sourceware.org>
6443
6444 PR pascal/17815
6445 * lib/pascal.exp (gpc_compile): Add new option "class".
6446 (fpc_compile): Likewise.
6447 * gdb.pascal/case-insensitive-symbols.pas: New file.
6448 * gdb.pascal/case-insensitive-symbols.exp: New file.
6449
6450 2015-04-20 Gary Benson <gbenson@redhat.com>
6451
6452 * gdb.base/attach.exp: Fix three extended remote failures.
6453
6454 2015-04-17 Gary Benson <gbenson@redhat.com>
6455
6456 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
6457 the main executable over the remote protocol.
6458
6459 2015-04-16 Pedro Alves <palves@redhat.com>
6460
6461 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
6462 a new gdbserver if gdbserver_reconnect_p is set.
6463
6464 2015-04-16 Pedro Alves <palves@redhat.com>
6465
6466 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
6467 is set, don't exit gdbserver.
6468
6469 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6470
6471 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
6472 appropriate .insn, such that an older assembler can be used.
6473 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
6474 the z/Architecture instruction set on 31-bit targets as well.
6475
6476 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6477
6478 * gdb.go/handcall.exp: Remove all logic related to the first
6479 breakpoint and rely on go_runto_main instead.
6480 * gdb.go/strings.exp: Likewise.
6481 * gdb.go/unsafe.exp: Likewise.
6482 * gdb.go/hello.exp: Likewise. Also rename the remaining
6483 breakpoint marker to "breakpoint 1".
6484 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
6485 * gdb.go/strings.go: Likewise.
6486 * gdb.go/unsafe.go: Likewise.
6487 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
6488 "set breakpoint 2 here" and rename the remaining breakpoint marker
6489 to "breakpoint 1".
6490
6491 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
6492
6493 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
6494 if itertools.imap is not present.
6495 * gdb.python/py-objfile.exp: Add parentheses.
6496 * gdb.python/py-type.exp: Same.
6497 * gdb.python/py-unwind-maint.py: Same.
6498
6499 2015-04-15 Yao Qi <yao.qi@linaro.org>
6500
6501 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
6502 of ":$ptr_size" and set its form explicitly.
6503
6504 2015-04-15 Pedro Alves <palves@redhat.com>
6505 Yao Qi <yao.qi@linaro.org>
6506
6507 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
6508 timeout by factor of 4.
6509 (test_regular_watch): Likewise.
6510 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
6511 * gdb.reverse/sigall-reverse.exp: Likewise.
6512 * gdb.reverse/until-precsave.exp: Likewise.
6513 * lib/gdb.exp (with_timeout_factor): New proc.
6514 (gdb_expect): Move some code to ...
6515 (get_largest_timeout): ... here. New procedure.
6516
6517 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
6518
6519 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
6520
6521 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
6522
6523 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
6524 to write to the .text section.
6525
6526 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
6527
6528 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
6529 Handle the case of targets that do not provide PID information.
6530
6531 2015-04-13 Yao Qi <yao.qi@linaro.org>
6532
6533 * lib/gdbserver-support.exp (gdb_exit): Catch exception
6534 and use expect instead of gdb_expect.
6535
6536 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
6537
6538 * gdb.base/coredump-filter.exp: Rename variable "addr" to
6539 "coredump_var_addr" to avoid naming conflict with other testcases.
6540
6541 2015-04-10 Pedro Alves <palves@redhat.com>
6542
6543 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
6544 gdb_test_sequence and gdb_assert.
6545
6546 2015-04-10 Pedro Alves <palves@redhat.com>
6547
6548 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
6549 test messages that don't include the breakpoint address.
6550
6551 2015-04-10 Yao Qi <yao.qi@linaro.org>
6552
6553 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
6554 false for some offset and width combinations which aren't
6555 supported by linux kernel.
6556
6557 2015-04-10 Pedro Alves <palves@redhat.com>
6558
6559 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
6560 procedure, factored out from ...
6561 (top level): ... here. Add "set displaced-stepping" testing axis.
6562 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
6563 parameter "displaced". Use it.
6564 (top level): Use foreach and add "set displaced-stepping" testing
6565 axis.
6566
6567 2015-04-10 Pedro Alves <palves@redhat.com>
6568
6569 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
6570 Remove comment.
6571 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
6572 both the address of the instruction that triggers the watchpoint
6573 and the address of the instruction immediately after, and use
6574 those addresses for the test. Fix comment.
6575
6576 2015-04-10 Pedro Alves <palves@redhat.com>
6577
6578 * gdb.base/sigstep.exp (breakpoint_to_handler)
6579 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
6580 Test "backtrace" in handler.
6581 (breakpoint_over_handler): New parameter 'displaced'. Use it.
6582 (top level): Add new "displaced" test axis to
6583 breakpoint_to_handler, breakpoint_to_handler_entry and
6584 breakpoint_over_handler.
6585
6586 2015-04-10 Pedro Alves <palves@redhat.com>
6587
6588 PR gdb/18216
6589 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
6590
6591 2015-04-10 Yao Qi <yao.qi@linaro.org>
6592
6593 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
6594 (test_add_rn_pc): New function.
6595 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
6596 (top level): Invoke test_add_rn_pc.
6597
6598 2015-04-10 Pedro Alves <palves@redhat.com>
6599
6600 PR gdb/13858
6601 * gdb.base/step-over-no-symbols.exp: New file.
6602
6603 2015-04-09 Andy Wingo <wingo@igalia.com>
6604
6605 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
6606 after the Python tests.
6607
6608 2015-04-08 Keith Seitz <keiths@redhat.com>
6609
6610 PR python/16699
6611 * gdb.python/py-completion.exp: New tests for completion.
6612 * gdb.python/py-completion.py (CompleteLimit1): New class.
6613 (CompleteLimit2): Likewise.
6614 (CompleteLimit3): Likewise.
6615 (CompleteLimit4): Likewise.
6616 (CompleteLimit5): Likewise.
6617 (CompleteLimit6): Likewise.
6618 (CompleteLimit7): Likewise.
6619
6620 2015-04-08 Pedro Alves <palves@redhat.com>
6621
6622 PR gdb/18214
6623 PR gdb/18216
6624 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
6625 function.
6626 (main): Install it as SIGUSR1 handler.
6627 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
6628 parameter. Always use "setup" as prefix. Toggle "set
6629 displaced-stepping" off/on depending on global. Don't switch to
6630 thread 1 here.
6631 (top level): Add displaced stepping "off/on" test axis. Update
6632 "setup" calls. Wrap each subtest with with_test_prefix. Test
6633 continuing with a queued signal in each thread.
6634
6635 2015-04-08 Pedro Alves <palves@redhat.com>
6636
6637 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
6638 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
6639 gdb_breakpoint instead of gdb_test that doesn't expect anything.
6640 Return early if running to main fails.
6641 * gdb.trace/while-stepping.exp: Likewise.
6642
6643 2015-04-07 Pedro Alves <palves@redhat.com>
6644
6645 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
6646 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
6647 interact with inferior program.
6648
6649 2015-04-07 Pedro Alves <palves@redhat.com>
6650
6651 * lib/gdb.exp (inferior_spawn_id): New global.
6652 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
6653 spawn id after processing the user code.
6654 (default_gdb_start): Set inferior_spawn_id.
6655 (send_inferior): New procedure.
6656 * lib/gdbserver-support.exp (gdbserver_start): Set
6657 inferior_spawn_id.
6658 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
6659
6660 2015-04-07 Pedro Alves <palves@redhat.com>
6661
6662 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
6663 * lib/gdbserver-support.exp (gdbserver_start): Make
6664 $server_spawn_id global.
6665 (gdbserver_start): Don't wait for gdbserver's spawn id with
6666 expect_background.
6667 (close_gdbserver): New procedure.
6668 (gdb_exit): Rename the default version and reimplement.
6669
6670 2015-04-07 Pedro Alves <palves@redhat.com>
6671
6672 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
6673 append the substituted item, not the original item.
6674
6675 2015-04-07 Pedro Alves <palves@redhat.com>
6676
6677 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
6678 gdb_expect.
6679
6680 2015-04-07 Pedro Alves <palves@redhat.com>
6681
6682 * gdb.base/interrupt.exp: Don't handle the case of the inferior
6683 output appearing once only.
6684
6685 2015-04-07 Pedro Alves <palves@redhat.com>
6686
6687 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
6688 that doesn't expect anything. Return early if running to main
6689 fails.
6690
6691 2015-04-07 Yao Qi <yao.qi@linaro.org>
6692
6693 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
6694 (child_function): Call alarm.
6695 (main): Move call to alarm into the loop.
6696 * gdb.threads/non-stop-fair-events.exp: Build program with
6697 -DTIMEOUT=$timeout.
6698
6699 2015-04-06 Doug Evans <xdje42@gmail.com>
6700
6701 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
6702 Fix dest parameter to board_info.
6703 (fpc_compile): Ditto.
6704 (gdb_compile_pascal): Rename dest arg to destfile.
6705
6706 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
6707
6708 * gdb.ada/funcall_ref.exp: New file.
6709 * gdb.ada/funcall_ref/foo.adb: New file.
6710
6711 2015-04-02 Yao Qi <yao.qi@linaro.org>
6712
6713 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
6714 is remote.
6715
6716 2015-04-02 Gary Benson <gbenson@redhat.com>
6717
6718 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
6719
6720 2015-04-01 Sasha Smundak <asmundak@google.com>
6721
6722 * gdb.python/py-unwind-maint.c: New file.
6723 * gdb.python/py-unwind-maint.exp: New test.
6724 * gdb.python/py-unwind-maint.py: New file.
6725 * gdb.python/py-unwind.c: New file.
6726 * gdb.python/py-unwind.exp: New test.
6727 * gdb.python/py-unwind.py: New test.
6728
6729 2015-04-01 Pedro Alves <palves@redhat.com>
6730
6731 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
6732 to fail instead of non-existent $test.
6733
6734 2015-04-01 Pedro Alves <palves@redhat.com>
6735
6736 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
6737 GDBFLAGS if not empty.
6738
6739 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
6740
6741 * gdb.ada/complete.exp: Remove "multi_line".
6742 * gdb.ada/info_exc.exp: Remove "multi_line".
6743 * gdb.ada/packed_tagged.exp: Remove "multi_line".
6744 * gdb.ada/ptype_field.exp: Remove "multi_line".
6745 * gdb.ada/sym_print_name.exp: Remove "multi_line".
6746 * gdb.ada/tagged.exp: Remove "multi_line".
6747 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
6748 [multi_line ...]
6749 * gdb.btrace/delta.exp: Likewise.
6750 * gdb.btrace/exception.exp: Likewise.
6751 * gdb.btrace/function_call_history.exp: Likewise.
6752 * gdb.btrace/instruction_history.exp: Likewise.
6753 * gdb.btrace/nohist.exp: Likewise.
6754 * gdb.btrace/record_goto.exp: Likewise.
6755 * gdb.btrace/segv.exp: Likewise.
6756 * gdb.btrace/stepi.exp: Likewise.
6757 * gdb.btrace/tailcall.exp: Likewise.
6758 * gdb.btrace/unknown_functions.exp: Likewise.
6759 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
6760 * lib/gdb.exp: Add the "multi_line" helper.
6761
6762 2015-04-01 Pedro Alves <palves@redhat.com>
6763
6764 * gdb.threads/tid-reuse.c: New file.
6765 * gdb.threads/tid-reuse.exp: New file.
6766
6767 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
6768
6769 PR corefiles/16092
6770 * gdb.base/coredump-filter.c: New file.
6771 * gdb.base/coredump-filter.exp: Likewise.
6772
6773 2015-03-27 Petr Machata <pmachata@redhat.com>
6774
6775 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
6776 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
6777 (Dwarf::assemble): Initialize them.
6778 (Dwarf::lines): New function.
6779
6780 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
6781
6782 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
6783 SYMBOL_PREFIX for x86_64-*-cygwin.
6784
6785 2015-03-26 Andy Wingo <wingo@igalia.com>
6786
6787 PR symtab/18148
6788 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
6789 const_value but not a location.
6790 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
6791 location defined in non-main CUs are visible.
6792
6793 2015-03-26 Yao Qi <yao.qi@linaro.org>
6794
6795 PR testsuite/18139
6796 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
6797 Add a line number entry for the same line.
6798 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
6799 Add a line number entry for the same line.
6800
6801 2015-03-26 Yao Qi <yao.qi@linaro.org>
6802
6803 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
6804 .int 0.
6805 (func): Likewise. Add .Lfunc_1 label.
6806 Use .Lfunc_1 label.
6807 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
6808 .int 0.
6809 (func): Likewise.
6810 Use .Lfunc_1 label.
6811
6812 2015-03-26 Yao Qi <yao.qi@linaro.org>
6813
6814 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
6815 Call gdb_compile instead to compile each .s files without debug
6816 information.
6817
6818 2015-03-26 Yao Qi <yao.qi@linaro.org>
6819
6820 * gdb.base/savedregs.exp (process_saved_regs): Make
6821 "Saved registers:" optional in the pattern.
6822
6823 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
6824
6825 * gdb.btrace/next.exp: Merged into step.exp.
6826 * gdb.btrace/finish.exp: Merged into step.exp.
6827 * gdb.btrace/nexti.exp: Merged into stepi.exp.
6828 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
6829 "record goto" and checking the exact replay position.
6830 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
6831 check for "Recording format" in "info record" output.
6832 * gdb.btrace/record_goto.exp: Choose test file based on target.
6833 * gdb.btrace/x86-record_goto.S: Renamed into ...
6834 * gdb.btrace/x86_64-record_goto.S: ... this.
6835 * gdb.btrace/i686-record_goto.S: New.
6836 * gdb.btrace/x86-tailcall.S: Renamed into ...
6837 * gdb.btrace/x86_64-tailcall.S: ... this.
6838 * gdb.btrace/i686-tailcall.S: New.
6839 * gdb.btrace/x86-tailcall.c: Renamed into ...
6840 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
6841 separate statements. Update test.
6842 * gdb.btrace/delta.exp: Use record_goto.c as test file.
6843 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
6844 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
6845 * gdb.btrace/tailcall.exp: Choose test file based on target.
6846 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
6847
6848 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
6849
6850 * gdb.btrace/exception.exp: Increase BTS buffer size.
6851
6852 2015-03-24 Pedro Alves <palves@redhat.com>
6853
6854 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
6855
6856 2015-03-24 Pedro Alves <palves@redhat.com>
6857
6858 * gdb.threads/schedlock.exp (test_step): No longer expect that
6859 "set scheduler-locking step" with "next" over a function call runs
6860 threads unlocked.
6861
6862 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
6863
6864 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
6865
6866 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
6867
6868 PR breakpoints/16466
6869 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
6870 * gdb.mi/mi-pending.c (thread_func): New function.
6871 (int main): Add threading support required.
6872 * gdb.mi/mi-pending.exp: Add tests for this issue.
6873 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
6874 (pendfunc2): Remove stdio dependency.
6875 * gdb.mi/mi-pendshr2.c: New file.
6876
6877 2015-03-23 Keith Seitz <keiths@redhat.com>
6878
6879 * gdb.linespec/keywords.c: New file.
6880 * gdb.linespec/keywords.exp: New file.
6881
6882 2015-03-23 Keith Seitz <keiths@redhat.com>
6883
6884 PR gdb/18021
6885 * gdb.dwarf2/staticvirtual.exp: New test.
6886
6887 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6888
6889 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
6890 * README: Remove HP-UX and gdb.hp.
6891 (configuration):
6892 * configure: Regenerate.
6893 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
6894 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
6895 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
6896 gdb.hp/gdb.defects/Makefile.
6897 * gdb.hp/Makefile.in: File deleted.
6898 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
6899 * gdb.hp/gdb.aCC/optimize.c: File deleted.
6900 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
6901 * gdb.hp/gdb.aCC/run.c: File deleted.
6902 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
6903 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
6904 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
6905 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
6906 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
6907 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
6908 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
6909 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
6910 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
6911 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
6912 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
6913 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
6914 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
6915 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
6916 * gdb.hp/gdb.base-hp/reg.s: File deleted.
6917 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
6918 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
6919 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
6920 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
6921 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
6922 * gdb.hp/gdb.compat/Makefile.in: File deleted.
6923 * gdb.hp/gdb.compat/average.c: File deleted.
6924 * gdb.hp/gdb.compat/sum.c: File deleted.
6925 * gdb.hp/gdb.compat/xdb.c: File deleted.
6926 * gdb.hp/gdb.compat/xdb0.c: File deleted.
6927 * gdb.hp/gdb.compat/xdb0.h: File deleted.
6928 * gdb.hp/gdb.compat/xdb1.c: File deleted.
6929 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
6930 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
6931 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
6932 * gdb.hp/gdb.defects/Makefile.in: File deleted.
6933 * gdb.hp/gdb.defects/bs14602.c: File deleted.
6934 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
6935 * gdb.hp/gdb.defects/solib-d.c: File deleted.
6936 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
6937 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
6938 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
6939 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
6940 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
6941 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
6942 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
6943 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
6944 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
6945 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
6946 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
6947 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
6948 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
6949 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
6950 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
6951 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
6952 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
6953 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
6954 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
6955 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
6956 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
6957 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
6958 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
6959 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
6960 * gdb.hp/tools/odump: File deleted.
6961
6962 2015-03-19 Pedro Alves <palves@redhat.com>
6963
6964 * gdb.threads/continue-pending-status.exp (saw_thread_2)
6965 (saw_thread_3): New globals.
6966 (top level): Increment them when an event for the corresponding
6967 thread is seen.
6968 (no thread starvation): New test.
6969
6970 2015-03-19 Pedro Alves <palves@redhat.com>
6971
6972 * gdb.threads/continue-pending-status.c: New file.
6973 * gdb.threads/continue-pending-status.exp: New file.
6974
6975 2015-03-18 Pedro Alves <palves@redhat.com>
6976
6977 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
6978 Use gdb_is_target_remote instead of is_remote. Use
6979 gdb_test_multiple instead of gdb_expect. Exit early if
6980 gdb_test_multiple hits its internal matches. Tighten stepi tests
6981 expected output. Fail on exit with any signal, instead of just
6982 SIGILL.
6983
6984 2015-03-18 Yao Qi <yao.qi@linaro.org>
6985
6986 PR tdep/18107
6987 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
6988 variable.
6989 * gdb.base/catch-syscall.exp: Don't skip it on
6990 aarch64*-*-linux* target. Remove elements in all_syscalls.
6991 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
6992 target.
6993 (setup_all_syscalls): New proc.
6994
6995 2015-03-16 Yao Qi <yao.qi@linaro.org>
6996
6997 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
6998 (top level): Skip tests if valid_addr_p returns false for
6999 $cmd1 or $cmd2.
7000
7001 2015-03-11 Andy Wingo <wingo@igalia.com>
7002
7003 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
7004
7005 2015-03-11 Yao Qi <yao.qi@linaro.org>
7006
7007 * gdb.base/catch-syscall.exp: Fix typo in comments.
7008
7009 2015-03-11 Yao Qi <yao.qi@linaro.org>
7010
7011 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
7012
7013 2015-03-09 Pedro Alves <palves@redhat.com>
7014
7015 * dg-extract-results.py: Delete.
7016
7017 2015-03-09 Pedro Alves <palves@redhat.com>
7018
7019 Merge dg-extract-results.sh from GCC upstream (r218843).
7020
7021 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
7022 * dg-extract-results.sh: Use --text with grep to avoid issues with
7023 binary files. Fall back to cat -v, if that doesn't work.
7024
7025 2015-03-05 Pedro Alves <palves@redhat.com>
7026
7027 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
7028
7029 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
7030
7031 * lib/mi-support.exp (mi_expect_interrupt): Accept
7032 alternative event for when in all-stop mode.
7033
7034 2015-03-04 Pedro Alves <palves@redhat.com>
7035
7036 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
7037
7038 2015-03-04 Mark Kettenis <kettenis@gnu.org>
7039
7040 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
7041
7042 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7043
7044 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
7045 regexps for GDB's current line display, accept a hex address
7046 preceding the line number.
7047
7048 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7049
7050 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
7051 the 'arch1' variable for "s390*-linux*" targets.
7052
7053 2015-03-04 Pedro Alves <palves@redhat.com>
7054
7055 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
7056 (main): Pass missing retval argument to pthread_join call.
7057
7058 2015-03-02 Pedro Alves <palves@redhat.com>
7059
7060 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
7061 (top level): Call do_test with non-stop as well.
7062
7063 2015-03-02 Pedro Alves <palves@redhat.com>
7064
7065 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
7066 -1.
7067
7068 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
7069
7070 * gdb.arch/s390-vregs.exp: New test.
7071 * gdb.arch/s390-vregs.S: New file.
7072
7073 2015-02-27 Pedro Alves <palves@redhat.com>
7074
7075 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
7076 call to catch_command_errors.
7077 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
7078 catch_command_errors.
7079
7080 2015-02-27 Pedro Alves <palves@redhat.com>
7081
7082 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
7083 "true" for boolean result.
7084 * gdb.gdb/selftest.exp (test_with_self): Also accept full
7085 prototype of main.
7086
7087 2015-02-27 Pedro Alves <palves@redhat.com>
7088
7089 * lib/unbuffer_output.c: New file.
7090 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
7091 (main): Call gdb_unbuffer_output.
7092
7093 2015-02-27 Yao Qi <yao.qi@linaro.org>
7094
7095 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
7096 target.
7097
7098 2015-02-26 Doug Evans <dje@google.com>
7099
7100 * gdb.cp/class2.cc (Dbase, D): New classes.
7101 (main): New local delta.
7102 * gdb.cp/class2.exp: Test printing delta.
7103 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
7104 (dynbar): New global.
7105 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
7106
7107 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7108
7109 * gdb.compile/compile-ifunc.c: New file.
7110 * gdb.compile/compile-ifunc.exp: New file.
7111
7112 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
7113
7114 * gdb.base/structs.exp: Check for correct struct on finish.
7115
7116 2015-02-26 Yao Qi <yao.qi@linaro.org>
7117
7118 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
7119 is zero.
7120
7121 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7122
7123 * gdb.arch/cordic.ko.bz2: New file.
7124 * gdb.arch/cordic.ko.debug.bz2: New file.
7125 * gdb.arch/ppc64-symtab-cordic.exp: New file.
7126
7127 2015-02-25 Yao Qi <yao.qi@linaro.org>
7128
7129 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
7130 aarch64*-*-* target.
7131
7132 2015-02-23 Pedro Alves <palves@redhat.com>
7133
7134 * lib/gdb.exp (delete_breakpoints): Rewrite using
7135 gdb_test_multiple.
7136
7137 2015-02-23 Pedro Alves <palves@redhat.com>
7138
7139 * gdb.base/info-os.c: Include stdlib.h.
7140
7141 2015-02-22 Doug Evans <xdje42@gmail.com>
7142
7143 PR symtab/17855
7144 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
7145 is read after symbols have been re-read.
7146 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
7147 * gdb.ada/exec_changed/second.adb (Second): Ditto.
7148
7149 2015-02-21 Doug Evans <dje@google.com>
7150
7151 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
7152
7153 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7154
7155 PR corefiles/17808
7156 * gdb.arch/i386-biarch-core.core.bz2: New file.
7157 * gdb.arch/i386-biarch-core.exp: New file.
7158
7159 2015-02-21 Pedro Alves <palves@redhat.com>
7160
7161 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
7162 runto_main fails.
7163
7164 2015-02-20 Pedro Alves <palves@redhat.com>
7165
7166 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
7167 info probes.
7168
7169 2015-02-20 Pedro Alves <palves@redhat.com>
7170
7171 * gdb.threads/multi-create-ns-info-thr.exp: New file.
7172
7173 2015-02-20 Pedro Alves <palves@redhat.com>
7174
7175 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
7176 clean_restart before gdb_target_supports_trace.
7177
7178 2015-02-20 Pedro Alves <palves@redhat.com>
7179
7180 PR threads/18006
7181 * gdb.threads/clone-thread_db.c: New file.
7182 * gdb.threads/clone-thread_db.exp: New file.
7183
7184 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
7185
7186 PR breakpoints/16812
7187 * gdb.base/catch-gdb-caused-signals.c: New file.
7188 * gdb.base/catch-gdb-caused-signals.exp: New file.
7189
7190 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
7191
7192 * configure: Regenerated.
7193 * configure.ac: Use GDB_AC_TRANSFORM.
7194 * aclocal.m4: sinclude ../transform.m4.
7195
7196 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7197
7198 * lib/dtrace.exp: New file.
7199 * gdb.base/dtrace-probe.exp: Likewise.
7200 * gdb.base/dtrace-probe.d: Likewise.
7201 * gdb.base/dtrace-probe.c: Likewise.
7202 * lib/pdtrace.in: Likewise.
7203 * configure.ac: Output variables with the transformed names of
7204 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
7205 * configure: Regenerated.
7206
7207 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7208
7209 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
7210 expected message when trying to access $_probe_* convenience
7211 variables while not on a probe.
7212
7213 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7214
7215 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
7216
7217 2015-02-11 Pedro Alves <pedro@codesourcery.com>
7218
7219 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
7220 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
7221
7222 2015-02-10 Doug Evans <xdje42@gmail.com>
7223
7224 * lib/gdb.exp (gdb_load): Always return a result.
7225
7226 2015-02-10 Pedro Alves <palves@redhat.com>
7227
7228 * gdb.threads/signal-sigtrap.c: New file.
7229 * gdb.threads/signal-sigtrap.exp: New file.
7230
7231 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
7232
7233 * gdb.trace/no-attach-trace.c: New file.
7234 * gdb.trace/no-attach-trace.exp: New file.
7235
7236 2015-02-09 Mark Wielaard <mjw@redhat.com>
7237
7238 * gdb.dwarf2/atomic.c: New file.
7239 * gdb.dwarf2/atomic-type.exp: Likewise.
7240
7241 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7242
7243 * gdb.btrace/buffer-size.exp: Update "info record" output.
7244 * gdb.btrace/delta.exp: Update "info record" output.
7245 * gdb.btrace/enable.exp: Update "info record" output.
7246 * gdb.btrace/finish.exp: Update "info record" output.
7247 * gdb.btrace/instruction_history.exp: Update "info record" output.
7248 * gdb.btrace/next.exp: Update "info record" output.
7249 * gdb.btrace/nexti.exp: Update "info record" output.
7250 * gdb.btrace/step.exp: Update "info record" output.
7251 * gdb.btrace/stepi.exp: Update "info record" output.
7252 * gdb.btrace/nohist.exp: Update "info record" output.
7253
7254 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7255
7256 * gdb.btrace/buffer-size: New.
7257
7258 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7259
7260 * gdb.btrace/delta.exp: Update "info record" output.
7261 * gdb.btrace/enable.exp: Update "info record" output.
7262 * gdb.btrace/finish.exp: Update "info record" output.
7263 * gdb.btrace/instruction_history.exp: Update "info record" output.
7264 * gdb.btrace/next.exp: Update "info record" output.
7265 * gdb.btrace/nexti.exp: Update "info record" output.
7266 * gdb.btrace/step.exp: Update "info record" output.
7267 * gdb.btrace/stepi.exp: Update "info record" output.
7268 * gdb.btrace/nohist.exp: Update "info record" output.
7269
7270 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
7271
7272 PR gdb/15678
7273 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
7274
7275 2015-02-06 Pedro Alves <palves@redhat.com>
7276
7277 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
7278 macro.
7279 (seconds_left, again): New globals.
7280 (main): Wait seconds_left in a 1-second sleep loop instead of
7281 sleeping 180 seconds. If 'again' is set, reset the seconds
7282 counter.
7283 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
7284 'again' in the inferior before detaching. Print the seconds left.
7285 (options): New global.
7286 (top level): Build program with -DTIMEOUT=$timeout.
7287
7288 2015-02-06 Pedro Alves <palves@redhat.com>
7289
7290 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
7291 determine how many seconds to pass to 'alarm'.
7292 * gdb.base/gdb-sigterm.exp (top level): Build program with
7293 -DTIMEOUT=$timeout.
7294 (do_test): Return success/failure indication. Add more verbose
7295 logging. Don't fail if 200 single steps are seen. Instead, fail
7296 when the test times out.
7297 (passes): New global.
7298 (top level): Break the testing loop if testing fails on any
7299 iteration. Use gdb_assert.
7300
7301 2015-02-04 Don Breazeal <donb@codesourcery.com>
7302
7303 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
7304 and initialize them.
7305 (ipc_cleanup): New function.
7306 (main): Don't declare shmid, semid, and msqid. Add a call to
7307 atexit so that we call ipc_cleanup on exit.
7308
7309 2015-02-04 Pedro Alves <palves@redhat.com>
7310
7311 * boards/native-extended-gdbserver.exp: Remove any target variant
7312 specifications from the board name before clearing the isremote
7313 flag from board_info.
7314
7315 2015-01-31 Doug Evans <xdje42@gmail.com>
7316
7317 * gdb.base/maint.exp <maint print type argc>: Update expected output.
7318
7319 2015-01-31 Gary Benson <gbenson@redhat.com>
7320
7321 * gdb.base/completion.exp: Disable completion limiting for
7322 existing tests. Add new tests to check completion limiting.
7323 * gdb.linespec/ls-errs.exp: Disable completion limiting.
7324
7325 2015-01-31 Doug Evans <xdje42@gmail.com>
7326
7327 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
7328
7329 2015-01-31 Doug Evans <xdje42@gmail.com>
7330
7331 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
7332 entries. Duplicate file section script entries.
7333 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
7334 inlined entries. Add test for safe-path rejection.
7335 * gdb.python/py-section-script.c: Add duplicate inlined section script
7336 entries. Duplicate file section script entries.
7337 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
7338 inlined entries. Add test for safe-path rejection.
7339
7340 2015-01-29 Joel Brobecker <brobecker@adacore.com>
7341
7342 * gdb.ada/disc_arr_bound: New testcase.
7343
7344 2015-01-29 Joel Brobecker <brobecker@adacore.com>
7345
7346 * gdb.ada/mi_var_array: New testcase.
7347
7348 2015-01-27 Doug Evans <dje@google.com>
7349
7350 * gdb.python/py-objfile.exp: Add tests for objfile.username.
7351 Add test for objfile.filename, objfile.username after objfile
7352 has been unloaded.
7353
7354 2015-01-26 Joel Brobecker <brobecker@adacore.com>
7355
7356 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
7357 the second test to print the name attribute of value
7358 returned by the call to gdb.lookup_type, and adjust
7359 the expected output accordingly.
7360
7361 2015-01-25 Mark Wielaard <mjw@redhat.com>
7362
7363 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
7364 * gdb.base/disp-step-fork.c: Include unistd.h.
7365 * gdb.base/siginfo-obj.c: Include stdio.h.
7366 * gdb.base/siginfo-thread.c: Likewise.
7367 * gdb.mi/non-stop.c: Include unistd.h.
7368 * gdb.mi/nsthrexec.c: Include stdio.h.
7369 * gdb.mi/pthreads.c: Include unistd.h.
7370 * gdb.modula2/unbounded1.c (main): Declare returns int.
7371 * gdb.reverse/consecutive-reverse.c: Likewise.
7372 * gdb.threads/create-fail.c: Include unistd.h.
7373 * gdb.threads/killed.c: Likewise.
7374 * gdb.threads/linux-dp.c: Likewise.
7375 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
7376 * gdb.threads/non-ldr-exc-2.c: Likewise.
7377 * gdb.threads/non-ldr-exc-3.c: Likewise.
7378 * gdb.threads/non-ldr-exc-4.c: Likewise.
7379 * gdb.threads/pthreads.c: Include unistd.h.
7380 (main): Declare returns int.
7381 * gdb.threads/tls-main.c (foo): New declaration.
7382 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
7383
7384 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
7385
7386 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
7387 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
7388
7389 2015-01-15 Mark Wielaard <mjw@redhat.com>
7390
7391 * gdb.base/noreturn-return.c: New file.
7392 * gdb.base/noreturn-return.exp: New file.
7393 * gdb.base/noreturn-finish.c: New file.
7394 * gdb.base/noreturn-finish.exp: New file.
7395
7396 2015-01-23 Pedro Alves <palves@redhat.com>
7397
7398 * gdb.threads/continue-pending-after-query.c: New file.
7399 * gdb.threads/continue-pending-after-query.exp: New file.
7400
7401 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
7402 Simon Marchi <simon.marchi@ericsson.com>
7403
7404 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
7405 * gdb.base/valgrind-db-attach.exp: Same.
7406 * gdb.base/valgrind-infcall.exp: Same.
7407 * lib/mi-support.exp (default_mi_gdb_start): Same.
7408 * lib/prompt.exp (default_prompt_gdb_start): Same.
7409 * lib/gdb.exp (default_gdb_spawn): Same.
7410 (gdb_interact): New.
7411
7412
7413 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7414
7415 * gdb.compile/compile.exp (pointer to jit function): New test.
7416
7417 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
7418
7419 * lib/gdb.exp (supports_process_record): Return true for
7420 powerpc*-*-linux*.
7421 (supports_reverse): Likewise.
7422
7423 2015-01-15 Don Breazeal <donb@codesourcery.com>
7424
7425 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
7426 instead of checking whether the target board is remote and
7427 use spawn_wait_for_attach instead of exec/sleep.
7428 * gdb.base/attach-twice.exp: Likewise.
7429
7430 2015-01-15 Joel Brobecker <brobecker@adacore.com>
7431
7432 * gdb.ada/var_arr_attrs: New testcase.
7433
7434 2015-01-14 Pedro Alves <palves@redhat.com>
7435 Joel Brobecker <brobecker@adacore.com>
7436
7437 PR gdb/17525
7438 * gdb.base/bp-cmds-execution-x-script.c: New file.
7439 * gdb.base/bp-cmds-execution-x-script.exp: New file.
7440 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
7441
7442 2015-01-14 Pedro Alves <palves@redhat.com>
7443
7444 PR cli/17828
7445 * gdb.base/batch-preserve-term-settings.c: New file.
7446 * gdb.base/batch-preserve-term-settings.exp: New file.
7447
7448 2015-01-13 Doug Evans <dje@google.com>
7449
7450 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
7451 binary.
7452
7453 2015-01-13 Joel Brobecker <brobecker@adacore.com>
7454
7455 * Makefile.in (clean mostlyclean): Do not delete *.py.
7456
7457 2015-01-13 Joel Brobecker <brobecker@adacore.com>
7458
7459 * gdb.python/py-lookup-type.exp: New file.
7460
7461 2015-01-12 Pedro Alves <palves@redhat.com>
7462
7463 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
7464 restore GDBFLAGS before returning.
7465
7466 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7467
7468 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
7469 is_amd64_regs_target and is_x86_like_target.
7470
7471 2015-01-11 Doug Evans <xdje42@gmail.com>
7472
7473 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
7474 is given without an explicit form.
7475 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
7476 attributes.
7477 * gdb.dwarf/corrupt.exp: Ditto.
7478 * gdb.dwarf2/enum-type.exp: Ditto.
7479 * gdb.trace/entry-values.exp: Ditto.
7480 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
7481
7482 2015-01-11 Doug Evans <xdje42@gmail.com>
7483
7484 PR gdb/15830
7485 * gdb.base/maint.exp: Remove references to "maint demangle".
7486 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
7487 Add tests for explicitly specifying language to demangle.
7488 * gdb.dlang/demangle.exp: Ditto.
7489
7490 2015-01-09 Pedro Alves <palves@redhat.com>
7491
7492 * gdb.threads/non-stop-fair-events.c: New file.
7493 * gdb.threads/non-stop-fair-events.exp: New file.
7494
7495 2015-01-09 Pedro Alves <palves@redhat.com>
7496
7497 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
7498 the global scope. Set a breakpoint after all threads are started
7499 rather than stepping over two source lines. Expect the prompt.
7500 * gdb.base/watch_thread_num.c (threads_started_barrier): New
7501 global.
7502 (NUM): Now 15.
7503 (main): Use threads_started_barrier to wait for all threads to
7504 start. Main thread no longer calls thread_function. Exit after
7505 180 seconds.
7506 (loop): New function.
7507 (thread_function): Wait on threads_started_barrier barrier. Call
7508 'loop' at each iteration.
7509 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
7510 threads have started, instead of hardcoding number of "next"
7511 steps. Use an access watchpoint instead of a write watchpoint.
7512
7513 2015-01-09 Pedro Alves <palves@redhat.com>
7514
7515 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
7516 (thread_func): Wait on barrier.
7517 (main): Wait for all threads to start before stopping GDB.
7518 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
7519 global.
7520 (thread1_func, thread2_func): Wait on barrier.
7521 (main): Wait for all threads to start before stopping GDB.
7522 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
7523 New global.
7524 (thread1_func, thread2_func): Wait on barrier.
7525 (main): Wait for all threads to start before stopping GDB.
7526
7527 2015-01-09 Pedro Alves <palves@redhat.com>
7528
7529 * gdb.threads/attach-many-short-lived-threads.c: New file.
7530 * gdb.threads/attach-many-short-lived-threads.exp: New file.
7531
7532 2014-01-09 Pedro Alves <palves@redhat.com>
7533
7534 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
7535 instead of to thread 2.
7536 * gdb.threads/signal-command-multiple-signals-pending.c (main):
7537 Add barrier around each pthread_create call instead of around all
7538 calls.
7539 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
7540 Set a break on thread_function and have the child threads hit it
7541 one at at a time.
7542
7543 2015-01-09 Pedro Alves <palves@redhat.com>
7544
7545 * lib/gdb.exp (can_spawn_for_attach): New procedure.
7546 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
7547 false.
7548 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
7549 checking whether the target board is remote.
7550 * gdb.multi/multi-attach.exp: Likewise.
7551 * gdb.python/py-sync-interp.exp: Likewise.
7552 * gdb.server/ext-attach.exp: Likewise.
7553 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
7554 tests that need to attach, instead of checking whether the target
7555 board is remote at the top of the file.
7556
7557 2015-01-08 Yao Qi <yao@codesourcery.com>
7558
7559 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
7560
7561 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7562
7563 Fix testcase compilation.
7564 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
7565
7566 2015-01-06 Joel Brobecker <brobecker@adacore.com>
7567
7568 * gdb.python/py-type.exp: Add a couple test about empty
7569 array creation, and negative-length array creation.
7570
7571 2015-01-02 Doug Evans <xdje42@gmail.com>
7572
7573 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
7574
7575 2015-01-02 Doug Evans <dje@google.com>
7576
7577 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
7578
7579 2014-12-29 Yao Qi <yao@codesourcery.com>
7580
7581 * gdb.trace/entry-values.exp: Update comments. Rename variable
7582 bar_call_foo to returned_from_foo.
7583
7584 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
7585
7586 PR gdb/17394
7587 * gdb.linespec/break-asm-file.c: New file.
7588 * gdb.linespec/break-asm-file.exp: New file.
7589 * gdb.linespec/break-asm-file0.s: New file.
7590 * gdb.linespec/break-asm-file1.s: New file.
7591
7592 2014-12-18 Nigel Stephens <nigel@mips.com>
7593 Maciej W. Rozycki <macro@codesourcery.com>
7594
7595 * gdb.base/float.exp: Handle the new output from "info float" on
7596 MIPS targets.
7597
7598 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7599
7600 Fix MinGW compilation.
7601 * gdb.compile/compile-ops.exp: Update untested message if
7602 !skip_compile_feature_tests.
7603 * gdb.compile/compile-setjmp.exp: Likewise.
7604 * gdb.compile/compile-tls.exp: Likewise.
7605 * gdb.compile/compile.exp: Likewise.
7606 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
7607 supported on this host".
7608
7609 2014-12-16 Doug Evans <xdje42@gmail.com>
7610
7611 * boards/stabs.exp: New file.
7612
7613 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
7614
7615 * gdb.base/completion.exp: Adjust to format changes of "maint
7616 print user-registers".
7617
7618 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
7619
7620 PR server/17457
7621 * gdb.arch/aarch64-fp.c: New file.
7622 * gdb.arch/aarch64-fp.exp: New file.
7623
7624 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
7625
7626 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
7627 r210637, r210913, r211666, r215400, r215817).
7628
7629 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
7630 * dg-extract-results.py: New file.
7631 * dg-extract-results.sh: Use it if the environment seems
7632 suitable.
7633
7634 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
7635
7636 * dg-extract-results.py (parse_run): Handle warnings that
7637 are printed before a test harness is run.
7638
7639 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
7640
7641 * dg-extract-results.py (Named): Remove __cmp__ method.
7642 (output_variation): Use a key to sort variation.harnesses.
7643
7644 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
7645
7646 * dg-extract-results.py: For Python 3, force sys.stdout to
7647 handle surrogate escape sequences.
7648 (safe_open): New function.
7649 (output_segment, main): Use it.
7650
7651 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
7652
7653 * dg-extract-results.py (Prog.result_re): Include options
7654 in test name.
7655
7656 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
7657
7658 * dg-extract-results.py (output_variation): Always sort if
7659 do_sum.
7660
7661 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
7662
7663 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
7664 as long as we get pagination notifications.
7665
7666 2014-12-15 Jason Merrill <jason@redhat.com>
7667
7668 * Makefile.in (check-gdb.%): Restore.
7669 * README: Mention it.
7670
7671 2014-12-13 Joel Brobecker <brobecker@adacore.com>
7672
7673 * gdb.ada/str_uninit: New testcase.
7674
7675 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7676
7677 PR symtab/17642
7678 * gdb.base/vla-stub-define.c: New file.
7679 * gdb.base/vla-stub.c: New file.
7680 * gdb.base/vla-stub.exp: New file.
7681
7682 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
7683 Jan Kratochvil <jan.kratochvil@redhat.com>
7684 Tom Tromey <tromey@redhat.com>
7685
7686 * configure.ac: Add gdb.compile/.
7687 * configure: Regenerate.
7688 * gdb.compile/Makefile.in: New file.
7689 * gdb.compile/compile-ops.exp: New file.
7690 * gdb.compile/compile-ops.c: New file.
7691 * gdb.compile/compile-tls.c: New file.
7692 * gdb.compile/compile-tls.exp: New file.
7693 * gdb.compile/compile-constvar.S: New file.
7694 * gdb.compile/compile-constvar.c: New file.
7695 * gdb.compile/compile-mod.c: New file.
7696 * gdb.compile/compile-nodebug.c: New file.
7697 * gdb.compile/compile-setjmp-mod.c: New file.
7698 * gdb.compile/compile-setjmp.c: New file.
7699 * gdb.compile/compile-setjmp.exp: New file.
7700 * gdb.compile/compile-shlib.c: New file.
7701 * gdb.compile/compile.c: New file.
7702 * gdb.compile/compile.exp: New file.
7703 * lib/gdb.exp (skip_compile_feature_tests): New proc.
7704
7705 2014-12-12 Tom Tromey <tromey@redhat.com>
7706
7707 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
7708 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
7709
7710 2014-12-12 Doug Evans <dje@google.com>
7711
7712 * lib/gdb-python.exp (get_python_valueof): New function.
7713 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
7714
7715 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7716
7717 * gdb.base/completion.exp: Add test for completion of "info
7718 registers ".
7719
7720 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
7721
7722 * gdb.base/func-ptrs.c: New file.
7723 * gdb.base/func-ptrs.exp: New file.
7724
7725 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
7726
7727 PR breakpoints/17012
7728 * gdb.base/dprintf-detach.c: New file.
7729 * gdb.base/dprintf-detach.exp: New file.
7730
7731 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
7732
7733 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
7734 * lib/gdb.exp (target_is_gdbserver): New procedure.
7735
7736 2014-12-08 Doug Evans <dje@google.com>
7737
7738 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
7739
7740 2014-12-05 Yao Qi <yao@codesourcery.com>
7741
7742 * gdb.guile/scm-error.exp: Remove the third argument to
7743 gdb_remote_download.
7744 * gdb.guile/scm-frame-args.exp: Likewise.
7745 * gdb.guile/scm-section-script.exp: Likewise.
7746
7747 2014-12-05 Yao Qi <yao@codesourcery.com>
7748
7749 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
7750
7751 2014-12-04 Doug Evans <dje@google.com>
7752
7753 * gdb.python/py-objfile.exp: Add tests for
7754 objfile.add_separate_debug_file.
7755
7756 2014-12-04 Doug Evans <dje@google.com>
7757
7758 * lib/gdb.exp (get_build_id): New function.
7759 (build_id_debug_filename_get): Rewrite to use it.
7760 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
7761
7762 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
7763
7764 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
7765 `method(long)', not just 0x0.
7766 * gdb.cp/nsalias.exp: Align code labels to 4.
7767 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
7768 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
7769 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
7770 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
7771 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
7772 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
7773
7774 2014-12-02 Doug Evans <dje@google.com>
7775
7776 PR symtab/17602
7777 * gdb.cp/anon-ns.cc: Move guts of this file to ...
7778 * gdb.cp/anon-ns2.cc: ... here. New file.
7779 * gdb.cp/anon-ns.exp: Update.
7780
7781 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
7782
7783 * gdb.python/py-events.py (inferior_call_handler): New.
7784 (register_changed_handler, memory_changed_handler): New.
7785 (test_events.invoke): Register new handlers.
7786 * gdb.python/py-events.exp: Add tests for inferior call,
7787 memory_changed and register_changed events.
7788
7789 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
7790
7791 * gdb.base/execl-update-breakpoints.exp: Specify the link address
7792 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
7793 if the linker doesn't understand this.
7794
7795 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
7796
7797 * gdb.python/python.exp: Change expected reply to help().
7798
7799 2014-12-01 Yao Qi <yao@codesourcery.com>
7800
7801 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
7802 AC_CONFIG_SUBDIRS(gdb.gdbtk).
7803 * configure: Re-generated.
7804
7805 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
7806
7807 * gdb.cp/chained-calls.cc: New file.
7808 * gdb.cp/chained-calls.exp: New file.
7809 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
7810
7811 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
7812
7813 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
7814 * gdb.dwarf2/symtab-producer.exp: Same.
7815 * gdb.gdb/python-interrupts.exp: Same.
7816 * gdb.gdb/python-selftest.exp: Same.
7817 * gdb.python/py-linetable.exp: Same.
7818 * gdb.python/py-type.exp: Same.
7819 * gdb.python/py-value-cc.exp: Same.
7820 * gdb.python/py-value.exp: Same.
7821
7822 2014-11-28 Yao Qi <yao@codesourcery.com>
7823
7824 * gdb.base/break-probes.exp: Match library name prefixed with
7825 sysroot.
7826
7827 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
7828
7829 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
7830 test expected output. Add parentheses for the call to print.
7831 Remove L suffix from integers.
7832
7833 2014-11-26 Doug Evans <dje@google.com>
7834
7835 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
7836
7837 2014-11-22 Yao Qi <yao@codesourcery.com>
7838
7839 * gdb.trace/entry-values.c: Remove asms.
7840 (foo): Add foo_label.
7841 (bar): Add bar_label.
7842 * gdb.trace/entry-values.exp: Remove code computing foo's
7843 length and bar's length.
7844 (Dwarf::assemble): Invoke function_range for bar and use
7845 MACRO_AT_func for foo.
7846
7847 2014-11-22 Yao Qi <yao@codesourcery.com>
7848
7849 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
7850 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
7851 Use .Lgcc43_procstart instead of gcc43.
7852
7853 2014-11-21 Joel Brobecker <brobecker@adacore.com>
7854
7855 * gdb.ada/n_arr_bound: New testcase.
7856
7857 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
7858
7859 PR breakpoints/10737
7860 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
7861 test_catch_syscall_multi_arch.
7862 (test_catch_syscall_multi_arch): New function.
7863
7864 2014-11-20 Doug Evans <xdje42@gmail.com>
7865
7866 * gdb.base/maint.exp: Update expected output.
7867
7868 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7869
7870 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
7871 4-byte instruction on S390.
7872
7873 2014-11-19 Joel Brobecker <brobecker@adacore.com>
7874
7875 * gdb.ada/arr_arr: New testcase.
7876
7877 2014-11-19 Joel Brobecker <brobecker@adacore.com>
7878
7879 * gdb.ada/pkd_arr_elem: New Testcase.
7880
7881 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
7882
7883 * gdb.reverse/break-precsave: Expect completion message for
7884 core file reads.
7885 * gdb.reverse/consecutive-precsave.exp: Likewise.
7886 * gdb.reverse/finish-precsave.exp: Likewise.
7887 * gdb.reverse/i386-precsave.exp: Likewise.
7888 * gdb.reverse/machinestate-precsave.exp: Likewise.
7889 * gdb.reverse/sigall-precsave.exp: Likewise.
7890 * gdb.reverse/solib-precsave.exp: Likewise.
7891 * gdb.reverse/step-precsave.exp: Likewise.
7892 * gdb.reverse/until-precsave.exp: Likewise.
7893 * gdb.reverse/watch-precsave.exp: Likewise.
7894
7895 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7896
7897 * gdb.base/bp-permanent.c: Include unistd.h.
7898 * gdb.python/py-framefilter-mi.c (main): Add return type.
7899 * gdb.python/py-framefilter.c (main): Likewise.
7900 * gdb.trace/actions-changed.c (main): Likewise.
7901
7902 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7903
7904 * gdb.mi/until.c: Add eye-catchers.
7905 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
7906 line numbers.
7907
7908 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7909
7910 * gdb.base/condbreak.exp: Drop references to removed non-prototype
7911 function header variants in break1.c.
7912 * gdb.base/ena-dis-br.exp: Likewise.
7913 * gdb.base/hbreak2.exp: Likewise.
7914 * gdb.reverse/until-precsave.exp: Drop references to removed
7915 non-prototype function header variants in ur1.c.
7916 * gdb.reverse/until-reverse.exp: Likewise.
7917
7918 2014-11-17 Petr Machata <pmachata@redhat.com>
7919
7920 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
7921 ${_cu_offset_size} bytes abbrev offset.
7922
7923 2014-11-15 Doug Evans <xdje42@gmail.com>
7924
7925 PR symtab/17559
7926 * gdb.base/line-symtabs.exp: New file.
7927 * gdb.base/line-symtabs.c: New file.
7928 * gdb.base/line-symtabs.h: New file.
7929
7930 2014-11-14 Yao Qi <yao@codesourcery.com>
7931
7932 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
7933 (func): Add label func_label.
7934 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
7935 Replace low_pc and high_pc with MACRO_AT_range.
7936 Replace name, low_pc and high_pc with MACRO_AT_func.
7937
7938 2014-11-14 Yao Qi <yao@codesourcery.com>
7939
7940 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
7941 Replace name, low_pc and high_pc with MACRO_AT_func.
7942
7943 2014-11-14 Yao Qi <yao@codesourcery.com>
7944
7945 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
7946 produce debug information.
7947 * gdb.dwarf2/implptr-optimized-out.S: Removed.
7948
7949 2014-11-14 Yao Qi <yao@codesourcery.com>
7950
7951 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
7952 object and get function length.
7953 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
7954 with MACRO_AT_func.
7955 (top-level): Replace gdb_compile and clean_restart with
7956 prepare_for_testing.
7957 * gdb.dwarf2/main.c (main): Add label main_label.
7958
7959 2014-11-14 Yao Qi <yao@codesourcery.com>
7960
7961 * lib/dwarf.exp (function_range): New procedure.
7962 (Dwarf::_handle_macro_at_func): New procedure.
7963 (Dwarf::_handle_macro_at_range): New procedure.
7964 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
7965
7966 2014-11-14 Yao Qi <yao@codesourcery.com>
7967
7968 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
7969 (_handle_attribute): New procedure.
7970
7971 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7972
7973 * gdb.ada/cond_lang/foo.c (callme): Add return type.
7974 * gdb.base/call-sc.c (zed): Likewise.
7975 * gdb.base/checkpoint.c (main): Likewise.
7976 * gdb.base/dump.c (main): Likewise.
7977 * gdb.base/gcore.c (main): Likewise.
7978 * gdb.base/huge.c (main): Likewise.
7979 * gdb.base/multi-forks.c (main): Likewise.
7980 * gdb.base/pr10179-a.c (main): Likewise.
7981 * gdb.base/savedregs.c (main): Likewise.
7982 * gdb.base/sigaltstack.c (main): Likewise.
7983 * gdb.base/siginfo.c (main): Likewise.
7984 * gdb.base/structs.c (zed): Likewise.
7985 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
7986 * gdb.mi/mi-syn-frame.c (main): Likewise.
7987 * gdb.mi/until.c (foo, main): Likewise.
7988 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
7989 * gdb.base/solib-weak.c (foo): Declare.
7990 * gdb.base/attach-twice.c: Include stdio.h.
7991 * gdb.base/weaklib1.c: Likewise.
7992 * gdb.base/weaklib2.c: Likewise.
7993 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
7994 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
7995 unistd.h.
7996 * gdb.base/attach-pie-misread.c: Include stdlib.h.
7997 * gdb.mi/mi-exit-code.c: Likewise.
7998 * gdb.base/break-interp-lib.c: Include string.h.
7999 * gdb.base/coremaker.c: Likewise.
8000 * gdb.base/testenv.c: Likewise.
8001 * gdb.python/py-finish-breakpoint.c: Likewise.
8002 * gdb.base/inferior-died.c: Include sys/wait.h.
8003 * gdb.base/fileio.c: Include time.h.
8004 * gdb.base/async-shell.c: Include unistd.h.
8005 * gdb.base/dprintf-non-stop.c: Likewise.
8006 * gdb.base/info-os.c: Likewise.
8007 * gdb.mi/mi-console.c: Likewise.
8008 * gdb.mi/watch-nonstop.c: Likewise.
8009 * gdb.python/py-events.c: Likewise.
8010 * gdb.base/async.c (baz): Move up before its invocation.
8011 * gdb.base/code_elim2.c (my_global_func): Likewise.
8012 * gdb.base/skip-solib-lib.c (multiply): Likewise.
8013 * gdb.base/advance.c (func2): Likewise.
8014
8015 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8016
8017 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
8018 variant.
8019 * gdb.base/annota3.c: Likewise.
8020 * gdb.base/async.c: Likewise.
8021 * gdb.base/average.c: Likewise.
8022 * gdb.base/call-ar-st.c: Likewise.
8023 * gdb.base/call-rt-st.c: Likewise.
8024 * gdb.base/call-sc.c: Likewise.
8025 * gdb.base/call-strs.c: Likewise.
8026 * gdb.base/ending-run.c: Likewise.
8027 * gdb.base/execd-prog.c: Likewise.
8028 * gdb.base/exprs.c: Likewise.
8029 * gdb.base/foll-exec.c: Likewise.
8030 * gdb.base/foll-fork.c: Likewise.
8031 * gdb.base/foll-vfork.c: Likewise.
8032 * gdb.base/funcargs.c: Likewise.
8033 * gdb.base/gcore.c: Likewise.
8034 * gdb.base/jump.c: Likewise.
8035 * gdb.base/langs0.c: Likewise.
8036 * gdb.base/langs1.c: Likewise.
8037 * gdb.base/langs2.c: Likewise.
8038 * gdb.base/mips_pro.c: Likewise.
8039 * gdb.base/nodebug.c: Likewise.
8040 * gdb.base/opaque0.c: Likewise.
8041 * gdb.base/opaque1.c: Likewise.
8042 * gdb.base/recurse.c: Likewise.
8043 * gdb.base/run.c: Likewise.
8044 * gdb.base/scope0.c: Likewise.
8045 * gdb.base/scope1.c: Likewise.
8046 * gdb.base/setshow.c: Likewise.
8047 * gdb.base/setvar.c: Likewise.
8048 * gdb.base/shmain.c: Likewise.
8049 * gdb.base/shr1.c: Likewise.
8050 * gdb.base/shr2.c: Likewise.
8051 * gdb.base/sigall.c: Likewise.
8052 * gdb.base/signals.c: Likewise.
8053 * gdb.base/so-indr-cl.c: Likewise.
8054 * gdb.base/solib2.c: Likewise.
8055 * gdb.base/structs.c: Likewise.
8056 * gdb.base/sum.c: Likewise.
8057 * gdb.base/vforked-prog.c: Likewise.
8058 * gdb.base/watchpoint.c: Likewise.
8059 * gdb.reverse/shr2.c: Likewise.
8060 * gdb.reverse/until-reverse.c: Likewise.
8061 * gdb.reverse/ur1.c: Likewise.
8062 * gdb.reverse/watch-reverse.c: Likewise.
8063
8064 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8065
8066 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
8067 variant.
8068 * gdb.base/sepdebug.exp: Drop references to removed code.
8069
8070 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8071
8072 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
8073 variant. Preserve original line numbering.
8074 * gdb.base/list1.c: Likewise.
8075
8076 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8077
8078 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
8079 variant.
8080 * gdb.base/break1.c: Likewise.
8081 * gdb.base/break.exp: Drop references to removed code.
8082
8083 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8084
8085 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
8086 variant.
8087
8088 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8089
8090 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
8091
8092 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8093
8094 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
8095 logic into perform_all_tests() and invoke it with and without
8096 function header prototypes.
8097 (do_function_calls): Remove conditional XFAIL for PR 5318.
8098 (rerun_and_prepare): Remove duplicate code.
8099 (perform_all_tests): New. Main logic moved here.
8100
8101 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8102
8103 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
8104 code guarded by #ifdef NO_PROTOTYPES.
8105 (t_double_many_args): Likewise.
8106 (DEF_FUNC_MANY_ARGS_1): Likewise.
8107 (DEF_FUNC_VALUES_1): Likewise.
8108 (t_structs_ldc): Renamed from t_structs_fc in conditional code
8109 guarded by #ifdef PROTOTYPES.
8110
8111 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8112
8113 * gdb.mi/mi-console.c: Add eye-catcher.
8114 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
8115 instead of literal line number.
8116
8117 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8118
8119 * gdb.base/shr2.c: Add eye-catcher.
8120 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
8121 line number.
8122
8123 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8124
8125 * gdb.base/jump.c: Add eye-catchers.
8126 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
8127 numbers.
8128
8129 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8130
8131 * gdb.base/execd-prog.c: Add eye-catchers.
8132 * gdb.base/foll-exec.c: Likewise.
8133 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
8134 line numbers.
8135
8136 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8137
8138 * gdb.base/ending-run.c: Add eye-catchers.
8139 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
8140 literal line numbers.
8141
8142 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8143
8144 * gdb.base/call-rt-st.c: Add eye-catchers.
8145 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
8146 literal line numbers.
8147
8148 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8149
8150 * gdb.base/call-ar-st.c: Add eye-catchers.
8151 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
8152 literal line numbers.
8153
8154 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8155
8156 * gdb.base/average.c: Add eye-catchers.
8157 * gdb.base/sum.c: Likewise.
8158 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
8159 regexps dynamically.
8160
8161 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8162
8163 * gdb.base/solib1.c: Add eye-catchers.
8164 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
8165 literal line numbers.
8166
8167 2014-11-12 Pedro Alves <palves@redhat.com>
8168
8169 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
8170 leader has exited.
8171
8172 2014-11-12 Pedro Alves <palves@redhat.com>
8173
8174 * gdb.arch/i386-bp_permanent.c: New file.
8175 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
8176 (srcfile): Set to i386-bp_permanent.c.
8177 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
8178 that stepi does not execute the 'leave' instruction, instead of
8179 testing it does execute.
8180 * gdb.base/bp-permanent.c: New file.
8181 * gdb.base/bp-permanent.exp: New file.
8182
8183 2014-11-10 Doug Evans <xdje42@gmail.com>
8184
8185 PR symtab/17564
8186 * gdb.base/symtab-search-order.exp: New file.
8187 * gdb.base/symtab-search-order.c: New file.
8188 * gdb.base/symtab-search-order-1.c: New file.
8189 * gdb.base/symtab-search-order-shlib-1.c: New file.
8190
8191 2014-11-07 Pedro Alves <palves@redhat.com>
8192
8193 PR gdb/17511
8194 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
8195 i?86-*-linux*.
8196
8197 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
8198
8199 PR c++/17494
8200 * gdb.cp/pr17494.cc: New file.
8201 * gdb.cp/pr17494.exp: New file.
8202
8203 2014-11-02 Yao Qi <yao@codesourcery.com>
8204
8205 * gdb.python/python.exp: Get working directory and match the
8206 output of "set extended-prompt \\w " with it.
8207
8208 2014-10-30 Doug Evans <dje@google.com>
8209
8210 * gdb.python/py-objfile.exp: Add tests for setting random attributes
8211 in objfiles.
8212 * gdb.python/py-progspace.exp: Add tests for setting random attributes
8213 in progspaces.
8214
8215 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
8216
8217 * gdb.base/fullpath-expand.exp: Skip for a remote host.
8218 * gdb.base/realname-expand.exp: Likewise.
8219 * gdb.linespec/macro-relative.exp: Likewise.
8220
8221 2014-10-29 Pedro Alves <palves@redhat.com>
8222
8223 PR gdb/17408
8224 * gdb.threads/schedlock.c (some_function): New function.
8225 (call_function): New global.
8226 (MAYBE_CALL_SOME_FUNCTION): New macro.
8227 (thread_function): Call it.
8228 * gdb.threads/schedlock.exp (get_args): Add description parameter,
8229 and use it instead of a global counter. Adjust all callers.
8230 (get_current_thread): Use "find current thread" for test message
8231 here rather than having all callers pass down the same string.
8232 (goto_loop): New procedure, factored out from ...
8233 (my_continue): ... this.
8234 (step_ten_loops): Change parameter from test message to command to
8235 use. Adjust.
8236 (list_count): Delete global.
8237 (check_result): New procedure, factored out from duplicate top
8238 level code.
8239 (continue tests): Wrap in with_test_prefix.
8240 (test_step): New procedure, factored out from duplicate top level
8241 code.
8242 (top level): Test "step" in combination with all scheduler-locking
8243 modes. Test "next" in combination with all scheduler-locking
8244 modes, and in combination with stepping over a function call or
8245 not.
8246 * gdb.threads/next-bp-other-thread.c: New file.
8247 * gdb.threads/next-bp-other-thread.exp: New file.
8248
8249 2014-10-29 Pedro Alves <palves@redhat.com>
8250
8251 PR python/17372
8252 * gdb.python/python.exp: Test a multi-line command that spawns
8253 interactive Python.
8254 * gdb.base/multi-line-starts-subshell.exp: New file.
8255
8256 2014-10-29 Yao Qi <yao@codesourcery.com>
8257
8258 * gdb.base/fileio.exp: Make directories on host.
8259
8260 2014-10-29 Yao Qi <yao@codesourcery.com>
8261
8262 * gdb.base/fileio.c (test_write): Close the file.
8263
8264 2014-10-28 Pedro Alves <palves@redhat.com>
8265
8266 PR gdb/12623
8267 * gdb.base/sigstep.c (no_handler): New global.
8268 (main): If 'no_handler is true, set the signal handlers to
8269 SIG_IGN.
8270 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
8271 with_sw_watch and no_handler parameters. Handle them.
8272 (top level) <stepping over handler when stopped at a breakpoint
8273 test>: Add a test axis for testing with a software watchpoint, and
8274 another for testing with the signal handler set to SIG_IGN.
8275 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
8276 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
8277
8278 2014-10-28 Pedro Alves <palves@redhat.com>
8279
8280 PR gdb/17511
8281 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
8282 * gdb.base/sigstep.exp (other_handler_location): New global.
8283 (advance): Support stepping into the signal handler, and running
8284 commands while in the handler.
8285 (in_handler_map): New global.
8286 (top level): In the advance test, add combinations for getting
8287 into the handler with stepping commands, and for running commands
8288 in the handler. Add comment descripting the advancei tests.
8289
8290 2014-10-28 Pedro Alves <palves@redhat.com>
8291
8292 * gdb.base/sigstep.exp: Use build_executable instead of
8293 prepare_for_testing.
8294 (top level): Move code that starts GDB, runs to main and creates a
8295 display to ...
8296 (restart): ... this new procedure.
8297 (top level): Move backtrace from signal handler test to ...
8298 (validate_backtrace): ... this new procedure.
8299 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
8300 with_test_prefix. Always restart GDB.
8301 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
8302 with_test_prefix. Always restart GDB. No need to delete
8303 breakpoints after the test.
8304 (test_skip_handler): Remove prefix parameter.
8305 (skip_over_handler, breakpoint_to_handler)
8306 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
8307 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
8308 restart GDB. No need to delete breakpoints after the test.
8309 (top level): Use foreach to call the test procedures with
8310 different commands.
8311
8312 2014-10-28 Pedro Alves <palves@redhat.com>
8313
8314 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
8315 instead of GNATS numbers.
8316 * gdb.base/sigbpt.exp: Likewise.
8317 * gdb.base/siginfo.exp: Likewise.
8318 * gdb.base/sigstep.exp: Likewise.
8319
8320 2014-10-27 Pedro Alves <palves@redhat.com>
8321
8322 * gdb.base/sigstep.c (dummy): New global.
8323 (main): Issue a couple writes to the new global.
8324 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
8325 procedures.
8326 (skip_over_handler): Use test_skip_handler.
8327 (top level): Call skip_over_handler for stepi and nexti too.
8328 (breakpoint_over_handler): Use test_skip_handler.
8329 (top level): Call breakpoint_over_handler for stepi and nexti too.
8330
8331 2014-10-27 Yao Qi <yao@codesourcery.com>
8332
8333 * gdb.trace/tfile.c (adjust_function_address)
8334 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
8335 function descriptor.
8336
8337 2014-10-24 Don Breazeal <donb@codesourcery.com>
8338
8339 * gdb.base/foll-fork.exp (test_follow_fork,
8340 catch_fork_child_follow): Check for updated fork messages emitted
8341 from infrun.c.
8342 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
8343 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
8344 vfork_and_exec_child_follow_through_step): Check for updated vfork
8345 messages emitted from infrun.c.
8346
8347 2014-10-24 Pedro Alves <palves@redhat.com>
8348
8349 * gdb.base/corefile.exp: Remove references to ultrix.
8350 * gdb.base/interrupt.exp: Likewise.
8351 * gdb.base/whatis.exp: Likewise.
8352 * gdb.gdb/selftest.exp: Likewise.
8353 * gdb.threads/manythreads.exp: Likewise.
8354 * gdb.threads/print-threads.exp: Likewise.
8355 * gdb.threads/pthreads.exp:: Likewise.
8356 * gdb.threads/schedlock.exp: Likewise.
8357
8358 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
8359
8360 * gdb.cp/non-trivial-retval.cc: Add a test case.
8361 * gdb.cp/non-trivial-retval.exp: Add a test.
8362
8363 2014-10-20 Yao Qi <yao@codesourcery.com>
8364
8365 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
8366 * gdb.python/py-objfile-script-gdb.py: New file.
8367 * gdb.python/py-objfile-script.exp: Update reference to
8368 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
8369 of remote_download. Remove the dest file.
8370
8371 2014-10-20 Yao Qi <yao@codesourcery.com>
8372
8373 * gdb.base/checkpoint.exp: Don't remove file copied on host.
8374 * gdb.base/step-line.exp: Likewise.
8375 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
8376 * gdb.dwarf2/dw2-basic.exp: Likewise.
8377 * gdb.dwarf2/dw2-compressed.exp: Likewise.
8378 * gdb.dwarf2/dw2-filename.exp: Likewise.
8379 * gdb.dwarf2/dw2-intercu.exp: Likewise.
8380 * gdb.dwarf2/dw2-intermix.exp: Likewise.
8381 * gdb.dwarf2/dw2-producer.exp: Likewise.
8382 * gdb.dwarf2/mac-fileno.exp: Likewise.
8383 * gdb.python/py-frame-args.exp: Likewise.
8384 * gdb.python/py-framefilter.exp: Likewise.
8385 * gdb.python/py-mi.exp: Likewise.
8386 * gdb.python/py-objfile-script.exp: Likewise
8387 * gdb.python/py-pp-integral.exp: Likewise.
8388 * gdb.python/py-pp-re-notag.exp: Likewise.
8389 * gdb.python/py-prettyprint.exp: Likewise.
8390 * gdb.python/py-section-script.exp: Likewise.
8391 * gdb.python/py-typeprint.exp: Likewise.
8392 * gdb.python/py-xmethods.exp: Likewise.
8393 * gdb.stabs/weird.exp: Likewise.
8394 * gdb.xml/tdesc-regs.exp: Likewise.
8395
8396 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
8397
8398 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
8399 (out_cu): Use addr_len for the size of addresses.
8400 (out_line): Likewise. Size DW_LNE_set_address instruction
8401 according to addr_len.
8402 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
8403 (FUNC): Add START_INSNS to definition.
8404
8405 2014-10-18 Yao Qi <yao@codesourcery.com>
8406
8407 * gdb.base/argv0-symlink.exp: Check argv[0] value if
8408 gdb_has_argv0 return true.
8409 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
8410 check [target_info exists noargs], check [gdb_has_argv0]
8411 instead.
8412 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
8413 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
8414 procedures.
8415
8416 2014-10-17 Doug Evans <dje@google.com>
8417
8418 * gdb.python/py-events.exp: Update expected output for clear_objfiles
8419 event.
8420 * gdb.python/py-events.py: Add clear_objfiles event.
8421
8422 2014-10-17 Doug Evans <dje@google.com>
8423
8424 * gdb.python/py-objfile.exp: Test progspace attribute.
8425
8426 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
8427
8428 * gdb.guile/scm-breakpoint.exp: Do not assume any
8429 directory separators when matching source file paths.
8430 * gdb.python/py-breakpoint.exp: Likewise.
8431 * gdb.reverse/break-precsave.exp: Likewise.
8432 * gdb.reverse/break-reverse.exp: Likewise.
8433 * gdb.reverse/consecutive-precsave.exp: Likewise.
8434 * gdb.reverse/finish-precsave.exp: Likewise.
8435 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
8436 * gdb.reverse/finish-reverse.exp: Likewise.
8437 * gdb.reverse/i386-precsave.exp: Likewise.
8438 * gdb.reverse/i387-env-reverse.exp: Likewise.
8439 * gdb.reverse/i387-stack-reverse.exp: Likewise.
8440 * gdb.reverse/machinestate-precsave.exp: Likewise.
8441 * gdb.reverse/machinestate.exp: Likewise.
8442 * gdb.reverse/sigall-precsave.exp: Likewise.
8443 * gdb.reverse/solib-precsave.exp: Likewise.
8444 * gdb.reverse/step-precsave.exp: Likewise.
8445 * gdb.reverse/until-precsave.exp: Likewise.
8446 * gdb.reverse/watch-precsave.exp: Likewise.
8447 * gdb.reverse/watch-reverse.exp: Likewise.
8448
8449 2014-10-17 Yao Qi <yao@codesourcery.com>
8450
8451 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
8452 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
8453
8454 2014-10-17 Pedro Alves <palves@redhat.com>
8455
8456 PR gdb/17471
8457 * gdb.base/bg-execution-repeat.c: New file.
8458 * gdb.base/bg-execution-repeat.exp: New file.
8459
8460 2014-10-17 Pedro Alves <palves@redhat.com>
8461
8462 PR gdb/17300
8463 * gdb.base/continue-all-already-running.c: New file.
8464 * gdb.base/continue-all-already-running.exp: New file.
8465
8466 2014-10-17 Pedro Alves <palves@redhat.com>
8467
8468 PR gdb/17472
8469 * gdb.base/annota-input-while-running.c: New file.
8470 * gdb.base/annota-input-while-running.exp: New file.
8471
8472 2014-10-17 Pedro Alves <palves@redhat.com>
8473
8474 * gdb.base/callfuncs.exp: emove references to osf.
8475 * gdb.base/sigall.exp: Likewise.
8476 * gdb.gdb/selftest.exp: Likewise.
8477 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
8478 * gdb.mi/non-stop.c: Likewise.
8479 * gdb.mi/pthreads.c: Likewise.
8480 * gdb.reverse/sigall-precsave.exp: Likewise.
8481 * gdb.reverse/sigall-reverse.exp: Likewise.
8482 * gdb.threads/pthreads.c: Likewise.
8483 * gdb.threads/pthreads.exp: Likewise.
8484
8485 2014-10-17 Yao Qi <yao@codesourcery.com>
8486
8487 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
8488 check 'target_info exists noargs'.
8489 (test_command_prompt_position): Likewise.
8490 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
8491 Remove "set args".
8492 (progvar_simple_while_test): Likewise.
8493 (progvar_complex_if_while_test): Likewise.
8494 (if_while_breakpoint_command_test): Likewise.
8495 (infrun_breakpoint_command_test): Likewise.
8496 (breakpoint_command_test): Likewise.
8497 (watchpoint_command_test): Likewise.
8498 (bp_deleted_in_command_test): Likewise.
8499 (temporary_breakpoint_commands): Likewise.
8500
8501 2014-10-16 Yao Qi <yao@codesourcery.com>
8502
8503 * gdb.base/remotetimeout.exp: Remove noargs checking.
8504
8505 2014-10-15 Pedro Alves <palves@redhat.com>
8506
8507 PR breakpoints/9649
8508 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
8509 * gdb.base/breakpoint-in-ro-region.exp
8510 (probe_target_hardware_step): New procedure.
8511 (top level): Probe hardware stepping and hardware breakpoint
8512 support. Test stepping through a read-only region, with both
8513 "breakpoint auto-hw" on and off and both "always-inserted" on and
8514 off.
8515
8516 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
8517
8518 * gdb.dlang/demangle.exp: Update for demangling changes.
8519
8520 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
8521
8522 * gdb.cp/non-trivial-retval.cc: Add new test cases.
8523 * gdb.cp/non-trivial-retval.exp: Add new tests.
8524
8525 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
8526
8527 PR c++/13403
8528 PR c++/15154
8529 * gdb.cp/non-trivial-retval.cc: New file.
8530 * gdb.cp/non-trivial-retval.exp: New file.
8531
8532 2014-10-15 Yao Qi <yao@codesourcery.com>
8533
8534 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
8535 remote host.
8536
8537 2014-10-15 Yao Qi <yao@codesourcery.com>
8538
8539 * gdb.python/py-symbol.exp: Match file base name if host is
8540 remote, otherwise match file name with dir name.
8541 * gdb.python/py-symtab.exp: Likewise.
8542 * gdb.python/python.exp: Likewise.
8543
8544 2014-10-15 Yao Qi <yao@codesourcery.com>
8545
8546 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
8547 pattern.
8548 * gdb.python/py-symtab.exp: Likewise.
8549 * gdb.python/python.exp: Remove trailing ".*". Fix typo
8550 locationn.
8551
8552 2014-10-14 Joel Brobecker <brobecker@adacore.com>
8553
8554 * gdb.ada/addr_arith: New testcase.
8555
8556 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
8557
8558 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
8559 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
8560 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
8561 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
8562
8563 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
8564
8565 * gdb.arch/stap-eval-lang-ada.S: Likewise.
8566 * gdb.arch/stap-eval-lang-ada.c: Likewise.
8567 * gdb.arch/stap-eval-lang-ada.exp: New file.
8568
8569 2014-10-14 Yao Qi <yao@codesourcery.com>
8570
8571 * gdb.mi/mi-var-child.c (nothing1): New function.
8572 (nothing2): New function.
8573 (do_children_tests): Set function pointers by nothing1 and
8574 nothing2.
8575 * gdb.mi/mi-var-child.exp: Step over new added statements.
8576 Update test to match the new output.
8577 * gdb.mi/var-cmd.c (nothing1): New function.
8578 (nothing2): New function.
8579 (do_children_tests): Set function pointers by nothing1 and
8580 nothing2.
8581 * gdb.mi/mi-var-display.exp: Update test to match output.
8582 Step to the line specified by $line_dct_nothing.
8583 Increase the number of lines to step.
8584
8585 2014-10-14 Yao Qi <yao@codesourcery.com>
8586
8587 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
8588 tests.
8589 * gdb.mi/mi2-var-child.exp: Likewise.
8590
8591 2014-10-13 Doug Evans <dje@google.com>
8592
8593 * gdb.python/py-objfile.exp: Change name of file name test.
8594
8595 2014-10-13 Doug Evans <dje@google.com>
8596
8597 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
8598 from the start of the CU.
8599
8600 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8601 Yao Qi <yao@codesourcery.com>
8602
8603 Fix "save breakpoints" for "catch" command.
8604 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
8605 Remove -nonewline. Match also the added "main" line.
8606
8607 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8608
8609 Fix "save breakpoints" for "disable $bpnum" command.
8610 * gdb.base/save-bp.c (main): Add label.
8611 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
8612
8613 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8614
8615 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
8616
8617 2014-10-11 Yao Qi <yao@codesourcery.com>
8618
8619 * gdb.server/server-kill.exp: Execute command
8620 "set remote trace-status-packet on" before "tstatus".
8621
8622 2014-10-11 Yao Qi <yao@codesourcery.com>
8623
8624 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
8625 (main): Call getppid.
8626 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
8627 and continue to it. Read variable "server_pid".
8628
8629 2014-10-11 Yao Qi <yao@codesourcery.com>
8630
8631 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
8632
8633 2014-10-11 Yao Qi <yao@codesourcery.com>
8634
8635 * gdb.threads/thread-find.exp: Don't execute command
8636 "info threads".
8637 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
8638 * gdb.threads/linux-dp.exp: Don't check the condition
8639 $threads_created equals to zero.
8640
8641 2014-10-10 Pedro Alves <palves@redhat.com>
8642
8643 * gdb.base/bigcore.exp: Remove references to IRIX.
8644 * gdb.base/funcargs.exp: Likewise.
8645 * gdb.base/interrupt.exp: Likewise.
8646 * gdb.base/mips_pro.exp: Likewise.
8647 * gdb.base/nodebug.exp: Likewise.
8648 * gdb.base/setvar.exp: Likewise.
8649 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
8650
8651 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8652 Pedro Alves <palves@redhat.com>
8653
8654 PR symtab/14466
8655 * gdb.base/vdso-warning.c: New file.
8656 * gdb.base/vdso-warning.exp: New file.
8657
8658 2014-10-02 Doug Evans <dje@google.com>
8659
8660 * gdb.base/structs.c (main): Don't run forever.
8661
8662 2014-10-02 Pedro Alves <palves@redhat.com>
8663
8664 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
8665 (top level) <stop threads 1, stop threads 2>: Use it.
8666
8667 2014-10-02 Pedro Alves <palves@redhat.com>
8668
8669 * gdb.threads/break-while-running.exp (test): Add new
8670 'update_thread_list' argument. Skip "info threads" if false.
8671 (top level): Add new 'update_thread_list' axis.
8672
8673 2014-10-02 Pedro Alves <palves@redhat.com>
8674
8675 PR breakpoints/17431
8676 * gdb.base/execl-update-breakpoints.c: New file.
8677 * gdb.base/execl-update-breakpoints.exp: New file.
8678
8679 2014-10-01 Pedro Alves <palves@redhat.com>
8680
8681 * gdb.base/breakpoint-in-ro-region.c: New file.
8682 * gdb.base/breakpoint-in-ro-region.exp: New file.
8683
8684 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
8685
8686 * gdb.mi/mi-exit-code.exp: New file.
8687 * gdb.mi/mi-exit-code.c: New file.
8688
8689 2014-09-30 Yao Qi <yao@codesourcery.com>
8690
8691 * lib/prelink-support.exp (build_executable_own_libs): Error if
8692 the target isn't native.
8693
8694 2014-09-30 Yao Qi <yao@codesourcery.com>
8695
8696 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
8697 false.
8698
8699 2014-09-22 Pedro Alves <palves@redhat.com>
8700
8701 * gdb.threads/break-while-running.exp: New file.
8702 * gdb.threads/break-while-running.c: New file.
8703
8704 2014-09-19 Yao Qi <yao@codesourcery.com>
8705
8706 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
8707 Invoke test. Restart GDB with --readnow and invoke test again.
8708
8709 2014-09-19 Yao Qi <yao@codesourcery.com>
8710
8711 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
8712 proc set_breakpoint_on_gcd_function. Invoke
8713 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
8714 invoke set_breakpoint_on_gcd_function again.
8715
8716 2014-09-18 Doug Evans <dje@google.com>
8717
8718 * gdb.dwarf2/symtab-producer.exp: New file.
8719
8720 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
8721
8722 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
8723 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
8724 * gdb.base/global-var-nested-by-dso.c: Likewise.
8725 * gdb.base/global-var-nested-by-dso.exp: Likewise.
8726
8727 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
8728 Pedro Alves <palves@redhat.com>
8729
8730 * gdb.base/watch-bitfields.exp: Pass string other than test file
8731 name to prepare_for_testing.
8732 (watch): New procedure.
8733 (expect_watchpoint): Use with_test_prefix.
8734 (top level): Factor out tests to ...
8735 (test_watch_location, test_regular_watch): ... these new
8736 procedures, and use with_test_prefix and gdb_continue_to_end.
8737
8738 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
8739
8740 PR breakpoints/12526
8741 * gdb.base/watch-bitfields.exp: New file.
8742 * gdb.base/watch-bitfields.c: New file.
8743
8744 2014-09-16 Pedro Alves <palves@redhat.com>
8745
8746 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
8747 software and hardware addresses, not software address against
8748 itself.
8749
8750 2014-09-16 Pedro Alves <palves@redhat.com>
8751
8752 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
8753 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
8754
8755 2014-09-16 Pedro Alves <palves@redhat.com>
8756
8757 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
8758 files.
8759 * gdb.base/a2-run.exp: Remove all code guarded by istarget
8760 "*-*-vxworks*" throughout.
8761 * gdb.base/break.exp: Likewise.
8762 * gdb.base/default.exp: Likewise.
8763 * gdb.base/scope.exp: Likewise.
8764 * gdb.base/sepdebug.exp: Likewise.
8765 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
8766 throughout.
8767 * gdb.base/run.c: Likewise.
8768 * gdb.base/sepdebug.c: Likewise.
8769 * gdb.hp/gdb.aCC/run.c: Likewise.
8770 * gdb.reverse/until-reverse.c: Likewise.
8771 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
8772
8773 2014-09-16 Yao Qi <yao@codesourcery.com>
8774
8775 * boards/local-remote-host-native.exp: New file.
8776
8777 2014-09-14 Doug Evans <xdje42@gmail.com>
8778
8779 * gdb.threads/queue-signal.c (thread_count): New variable.
8780 (thread_count_mutex, thread_count_condvar): New variables.
8781 (incr_thread_count, wait_all_threads_running): New functions.
8782 (main): Wait for all threads to be in their thread functions.
8783
8784 2014-09-13 Doug Evans <xdje42@gmail.com>
8785
8786 * gdb.threads/queue-signal.c: New file.
8787 * gdb.threads/queue-signal.exp: New file.
8788
8789 2014-09-13 Doug Evans <xdje42@gmail.com>
8790
8791 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
8792 be consistent with what default_gdb_init uses.
8793 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
8794 the plain text of the prompt. Add some logging printfs.
8795 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
8796
8797 2014-09-12 Pedro Alves <palves@redhat.com>
8798
8799 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
8800 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
8801 * gdb.arch/i386-size-overlap.exp: Likewise.
8802 * gdb.arch/i386-size.exp: Likewise.
8803 * gdb.arch/i386-unwind.exp: Likewise.
8804 * gdb.base/a2-run.exp: Likewise.
8805 * gdb.base/break.exp: Likewise.
8806 * gdb.base/charset.exp: Likewise.
8807 * gdb.base/chng-syms.exp: Likewise.
8808 * gdb.base/commands.exp: Likewise.
8809 * gdb.base/dbx.exp: Likewise.
8810 * gdb.base/find.exp: Likewise.
8811 * gdb.base/funcargs.exp: Likewise.
8812 * gdb.base/jit-simple.exp: Likewise.
8813 * gdb.base/reread.exp: Likewise.
8814 * gdb.base/sepdebug.exp: Likewise.
8815 * gdb.base/step-bt.exp: Likewise.
8816 * gdb.cp/mb-inline.exp: Likewise.
8817 * gdb.cp/mb-templates.exp: Likewise.
8818 * gdb.objc/basicclass.exp: Likewise.
8819 * gdb.threads/killed.exp: Likewise.
8820
8821 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8822
8823 PR tdep/17379
8824 * gdb.arch/powerpc-stackless.S: New file.
8825 * gdb.arch/powerpc-stackless.exp: New file.
8826
8827 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8828
8829 * gdb.base/attach.c: Include unistd.h.
8830 (main): Call alarm. Add label postloop.
8831 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
8832 gdb_breakpoint, gdb_continue_to_breakpoint.
8833 (test_command_line_attach_run): Kill ${testpid} in one exit path.
8834
8835 2014-09-11 Pedro Alves <palves@redhat.com>
8836
8837 PR gdb/17347
8838 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
8839 * gdb.base/attach.exp (test_command_line_attach_run): New
8840 procedure.
8841 (top level): Call it.
8842
8843 2014-09-11 Pedro Alves <palves@redhat.com>
8844
8845 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
8846 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
8847 (do_command_attach_tests): Use spawn_wait_for_attach.
8848 * gdb.base/solib-overlap.exp: Likewise.
8849 * gdb.multi/multi-attach.exp: Likewise.
8850 * gdb.python/py-prompt.exp: Likewise.
8851 * gdb.python/py-sync-interp.exp: Likewise.
8852 * gdb.server/ext-attach.exp: Likewise.
8853
8854 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
8855
8856 * gdb.fortran/array-element.exp: Remove unexpected "continue"
8857 command in testcase. Simplify testcase.
8858
8859 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8860
8861 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
8862
8863 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8864
8865 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
8866
8867 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8868
8869 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
8870
8871 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8872
8873 * gdb.dwarf2/dynarr-ptr.c: New file.
8874 * gdb.dwarf2/dynarr-ptr.exp: New file.
8875
8876 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8877
8878 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
8879 of 30 rather than hardcoding 120 for a slow test case. Take the
8880 `gdb,timeout' target setting into account for this calculation.
8881 Don't extend the timeout for the test cases that don't need it.
8882
8883 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8884
8885 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
8886 a factor of 2 for a slow test case. Take the `gdb,timeout'
8887 target setting into account for this calculation.
8888 * gdb.reverse/until-precsave.exp: Increase the timeout by
8889 a factor of 15 and 3 respectively rather than adding 120
8890 for a pair of slow test cases. Take the `gdb,timeout'
8891 target setting into account for this calculation.
8892
8893 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8894
8895 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
8896 timeout, don't pass one down to gdb_expect.
8897 (gdb_expect): Rework timeout selection.
8898
8899 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8900
8901 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
8902 exception on timeout.
8903 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
8904 (gdbserver_start_extended): Catch any `gdbserver_start' error
8905 exceptions.
8906 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
8907 * lib/mi-support.exp (mi_gdb_target_load): Catch any
8908 `gdbserver_gdb_load' error exceptions.
8909
8910 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8911
8912 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
8913 120 on waiting for the TCP socket to open.
8914
8915 2014-09-09 Doug Evans <xdje42@gmail.com>
8916
8917 * gdb.base/default.exp (show_conv_list): Add _caller_is,
8918 _caller_matches, _any_caller_is, _any_caller_matches.
8919
8920 2014-09-09 Doug Evans <xdje42@gmail.com>
8921
8922 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
8923
8924 2014-09-09 Yao Qi <yao@codesourcery.com>
8925
8926 * gdb.mi/mi-var-display.exp: Set print symbol off.
8927
8928 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
8929
8930 PR gdb/17035
8931 * gdb.base/commands.exp: Add tests to verify user-defined
8932 commands with empty bodies.
8933 * gdb.python/py-cmd.exp: Test that we don't show user-defined
8934 python commands in `show user command`.
8935 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
8936 scheme commands in `show user command`.
8937
8938 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8939
8940 PR python/17355
8941 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
8942 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
8943 * gdb.python/py-framefilter-invalidarg.exp: New file.
8944 * gdb.python/py-framefilter-invalidarg.py: New file.
8945
8946 2014-09-06 Doug Evans <xdje42@gmail.com>
8947
8948 PR 15276
8949 * gdb.python/py-caller-is.c: New file.
8950 * gdb.python/py-caller-is.exp: New file.
8951
8952 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
8953
8954 PR gdb/17235
8955 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
8956 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
8957
8958 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
8959
8960 PR fortran/17237
8961 * gdb.fortran/print-formatted.exp: New file.
8962 * gdb.fortran/print-formatted.f90: Likewise.
8963
8964 2014-09-03 Sasha Smundak <asmundak@google.com>
8965
8966 * gdb.python/py-frame.exp: Test Frame.read_register.
8967
8968 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
8969
8970 PR python/16699
8971 * gdb.python/py-completion.exp: New file.
8972 * gdb.python/py-completion.py: Likewise.
8973
8974 2014-08-28 Doug Evans <dje@google.com>
8975
8976 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
8977 eax,etc. are live with values set by gdb and thus the compiler can't
8978 use them.
8979 * gdb.arch/i386-pseudo.c (main): Ditto.
8980
8981 2014-08-27 Doug Evans <dje@google.com>
8982
8983 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
8984
8985 2014-08-25 Doug Evans <dje@google.com>
8986
8987 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
8988 (main): Ditto.
8989
8990 2014-08-25 Doug Evans <dje@google.com>
8991
8992 * gdb.threads/thread-execl.exp: #include <stdio.h>.
8993
8994 2014-08-24 Yao Qi <yao@codesourcery.com>
8995
8996 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
8997 symbol off.
8998 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
8999
9000 2014-08-22 Doug Evans <dje@google.com>
9001
9002 PR 17276
9003 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
9004 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
9005 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
9006
9007 2014-08-22 Yao Qi <yao@codesourcery.com>
9008
9009 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
9010 * gdb.python/py-finish-breakpoint2.exp: Likewise.
9011 * gdb.python/python.exp: Likewise. Use .py file on the host
9012 instead of the build.
9013
9014 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9015
9016 * gdb.threads/gcore-stale-thread.c: New file.
9017 * gdb.threads/gcore-stale-thread.exp: New file.
9018
9019 2014-08-21 Pedro Alves <palves@redhat.com>
9020
9021 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
9022 * gdb.base/gcore-relro-pie.exp: Likewise.
9023 * gdb.base/gcore-relro.exp: Likewise.
9024 * gdb.base/gcore.exp: Likewise.
9025 * gdb.base/print-symbol-loading.exp: Likewise.
9026 * gdb.threads/gcore-thread.exp: Likewise.
9027 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
9028
9029 2014-08-20 Pedro Alves <palves@redhat.com>
9030 Jan Kratochvil <jan.kratochvil@redhat.com>
9031
9032 * Makefile.in (EXTRA_RULES, CC): New variables, get from
9033 configure.
9034 (EXPECT): Handle READ1 being set.
9035 (all): Depend on EXTRA_RULES.
9036 (check-read1, expect-read1, read1.so, read1): New rules.
9037 * README (Testsuite Parameters): Document the READ1 make variable.
9038 (Race detection): New section.
9039 * configure: Regenerate.
9040 * configure.ac: If build==host==target, and running under a
9041 GNU/glibc system, add read1 to the extra Makefile rules.
9042 (EXTRA_RULES): AC_SUBST it.
9043 * lib/read1.c: New file.
9044
9045 2014-08-20 Joel Brobecker <brobecker@adacore.com>
9046
9047 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
9048 the handling of variables declared as a typedef to an array
9049 which a DW_AT_data_location attribute.
9050
9051 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
9052 Pedro Alves <palves@redhat.com>
9053
9054 PR symtab/14604
9055 PR symtab/14605
9056 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
9057 gdb_test.
9058
9059 2014-08-19 Pedro Alves <palves@redhat.com>
9060
9061 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
9062
9063 2014-08-19 Yao Qi <yao@codesourcery.com>
9064
9065 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
9066 right line.
9067
9068 2014-08-18 David Blaikie <dblaikie@gmail.com>
9069
9070 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
9071
9072 2014-08-18 Joel Brobecker <brobecker@adacore.com>
9073
9074 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
9075 attribute in array range.
9076
9077 2014-08-18 Joel Brobecker <brobecker@adacore.com>
9078
9079 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
9080
9081 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9082
9083 PR c++/17132
9084 * gdb.cp/pr17132.cc: New file.
9085 * gdb.cp/pr17132.exp: New file.
9086
9087 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9088
9089 * gdb.python/py-xmethods.py (A_getarrayind)
9090 (E_method_char_worker.__call__, E_method_int_worker.__call__):
9091 Use 'print' with function call syntax.
9092 (E_method_matcher.match): Fix tab vs space indentation mixup.
9093
9094 2014-08-15 Yao Qi <yao@codesourcery.com>
9095
9096 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
9097 false.
9098
9099 2014-08-15 Yao Qi <yao@codesourcery.com>
9100
9101 * gdb.cp/casts.exp: Set print symbol off.
9102 * gdb.cp/class2.exp: Likewise.
9103 * gdb.cp/overload.exp: Likewise.
9104 * gdb.cp/templates.exp: Likewise.
9105
9106 2014-08-11 Doug Evans <dje@google.com>
9107
9108 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
9109 (test_load_shlib): Update.
9110
9111 2014-08-09 Yao Qi <yao@codesourcery.com>
9112
9113 * gdb.base/display.exp: Invoke is_address_zero_readable.
9114 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
9115 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
9116 * gdb.base/hbreak-unmapped.exp: Return if
9117 is_address_zero_readable returns true.
9118 * gdb.base/signest.exp: Likewise.
9119 * gdb.base/signull.exp: Likewise.
9120 * gdb.base/sigbpt.exp: Likewise.
9121 * gdb.guile/scm-disasm.exp: Do the test if
9122 is_address_zero_readable returns false.
9123 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
9124 * gdb.python/py-arch.exp: Likewise.
9125 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
9126 * lib/gdb.exp (is_address_zero_readable): New proc.
9127
9128 2014-08-09 Yao Qi <yao@codesourcery.com>
9129
9130 PR testsuite/13443
9131 * gdb.mi/mi-var-display.exp: Make test messages unique.
9132
9133 2014-08-04 Tom Tromey <tromey@redhat.com>
9134
9135 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
9136 target 0".
9137
9138 2014-08-04 Tom Tromey <tromey@redhat.com>
9139
9140 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
9141 "target_resume".
9142
9143 2014-08-01 Joel Brobecker <brobecker@adacore.com>
9144
9145 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
9146 inner_vla_struct_object_size.
9147 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
9148 as xfail.
9149
9150 2014-07-30 Pedro Alves <palves@redhat.com>
9151
9152 * gdb.threads/signal-command-handle-nopass.exp (test): Add
9153 comment.
9154
9155 2014-07-29 Yao Qi <yao@codesourcery.com>
9156
9157 PR gdb/17206
9158 * gdb.base/until-nodebug.exp: New.
9159
9160 2014-07-28 Doug Evans <xdje42@gmail.com>
9161
9162 PR guile/17203
9163 * gdb.guile/scm-parameter.exp: Add tests for trying to create
9164 previously existing parameter, and previously ambiguously spelled
9165 parameter.
9166
9167 2014-07-28 Will Newton <will.newton@linaro.org>
9168
9169 * gdb.base/varargs.exp: Remove KFAILs for ARM.
9170
9171 2014-07-26 Ludovic Courtès <ludo@gnu.org>
9172 Doug Evans <xdje42@gmail.com>
9173
9174 PR guile/17146
9175 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
9176
9177 2014-07-25 Pedro Alves <palves@redhat.com>
9178
9179 * gdb.threads/signal-command-handle-nopass.c: New file.
9180 * gdb.threads/signal-command-handle-nopass.exp: New file.
9181 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
9182 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
9183 * gdb.threads/signal-delivered-right-thread.c: New file.
9184 * gdb.threads/signal-delivered-right-thread.exp: New file.
9185
9186 2014-07-25 Pedro Alves <palves@redhat.com>
9187
9188 * gdb.base/double-prompt-target-event-error.exp
9189 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
9190 match.
9191 (cancel_pagination_in_target_event): Rework double prompt
9192 detection.
9193 * gdb.base/paginate-after-ctrl-c-running.exp
9194 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
9195 <return>' match.
9196 * gdb.base/paginate-bg-execution.exp
9197 (test_bg_execution_pagination_return)
9198 (test_bg_execution_pagination_cancel): Remove '-notransfer
9199 <return>' matches.
9200 * gdb.base/paginate-execution-startup.exp
9201 (test_fg_execution_pagination_return)
9202 (test_fg_execution_pagination_cancel): Remove '-notransfer
9203 <return>' matches.
9204 * gdb.base/paginate-inferior-exit.exp
9205 (test_paginate_inferior_exited): Remove '-notransfer <return>'
9206 match.
9207 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
9208 * lib/gdb.exp (pagination_prompt): Run text through
9209 string_to_regexp.
9210 (gdb_test_multiple): Match $pagination_prompt instead of
9211 "<return>".
9212 (string_to_regexp): Move to lib/gdb-utils.exp.
9213
9214 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9215
9216 * gdb.arch/amd64-entry-value-paramref.S: New file.
9217 * gdb.arch/amd64-entry-value-paramref.cc: New file.
9218 * gdb.arch/amd64-entry-value-paramref.exp: New file.
9219 * gdb.arch/amd64-optimout-repeat.S: New file.
9220 * gdb.arch/amd64-optimout-repeat.c: New file.
9221 * gdb.arch/amd64-optimout-repeat.exp: New file.
9222
9223 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9224
9225 PR gdb/17170
9226 * gdb.base/statistics.exp: New file.
9227
9228 2014-07-17 Doug Evans <dje@google.com>
9229
9230 PR gdb/17170
9231 * gdb.base/maint.exp: Update testing of per-command stats.
9232
9233 2014-07-16 Pedro Alves <palves@redhat.com>
9234
9235 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
9236 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
9237 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
9238 (tfile_write_buf): New functions.
9239 (add_memory_block): Rewrite using the above.
9240 (adjust_function_address): New function.
9241 (FUNCTION_ADDRESS): New macro.
9242 (write_basic_trace_file): Remove short_x local, and use
9243 tfile_write_16. Change type of func_addr local to unsigned long
9244 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
9245 here. Cast argument of add_memory_block to char pointer.
9246 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
9247 (main): Remove parameters.
9248 * gdb.trace/tfile.exp: Remove nowarnings.
9249
9250 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
9251
9252 * gdb.base/debug-expr.exp: Test string evaluation with
9253 "debug expression" on.
9254
9255 2014-07-15 Pedro Alves <palves@redhat.com>
9256
9257 * gdb.base/reread.exp: Use clean_restart.
9258
9259 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
9260
9261 * gdb.arch/avr-flash-qualifer.c: New.
9262 * gdb.arch/avr-flash-qualifer.exp: New.
9263
9264 2014-07-14 Pedro Alves <palves@redhat.com>
9265
9266 * gdb.base/paginate-after-ctrl-c-running.c: New file.
9267 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
9268
9269 2014-07-14 Pedro Alves <palves@redhat.com>
9270
9271 * gdb.base/double-prompt-target-event-error.c: New file.
9272 * gdb.base/double-prompt-target-event-error.exp: New file.
9273
9274 2014-07-14 Pedro Alves <palves@redhat.com>
9275
9276 PR gdb/17072
9277 * gdb.base/paginate-inferior-exit.c: New file.
9278 * gdb.base/paginate-inferior-exit.exp: New file.
9279
9280 2014-07-14 Pedro Alves <palves@redhat.com>
9281
9282 PR gdb/17072
9283 * gdb.base/paginate-bg-execution.c: New file.
9284 * gdb.base/paginate-bg-execution.exp: New file.
9285
9286 2014-07-14 Pedro Alves <palves@redhat.com>
9287
9288 PR gdb/17072
9289 * gdb.base/paginate-execution-startup.c: New file.
9290 * gdb.base/paginate-execution-startup.exp: New file.
9291 * lib/gdb.exp (pagination_prompt): New global.
9292 (default_gdb_spawn): New procedure, factored out from
9293 default_gdb_spawn.
9294 (default_gdb_start): Adjust to call default_gdb_spawn.
9295 (gdb_spawn): New procedure.
9296
9297 2014-07-14 Pedro Alves <palves@redhat.com>
9298
9299 * lib/gdb.exp (gdb_assert): New procedure.
9300 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
9301
9302 2014-07-14 Pedro Alves <palves@redhat.com>
9303
9304 * gdb.base/execution-termios.c: New file.
9305 * gdb.base/execution-termios.exp: New file.
9306
9307 2014-07-14 Tom Tromey <tromey@redhat.com>
9308
9309 * gdb.cp/vla-cxx.cc: New file.
9310 * gdb.cp/vla-cxx.exp: New file.
9311
9312 2014-07-14 Tom Tromey <tromey@redhat.com>
9313
9314 * gdb.reverse/rerun-prec.c: New file.
9315 * gdb.reverse/rerun-prec.exp: New file.
9316
9317 2014-07-12 Maciej W. Rozycki <macro@mips.com>
9318 Maciej W. Rozycki <macro@codesourcery.com>
9319
9320 * lib/gdb-utils.exp: New file.
9321 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
9322 inline `gdb_init_command' processing.
9323 (gdb_start_cmd): Likewise.
9324 * lib/mi-support.exp (mi_run_cmd): Likewise.
9325 * README: Document `gdb_init_command' and `gdb_init_commands'.
9326
9327 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9328
9329 Fix false FAIL running under a very long directory name.
9330 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
9331 and "set print elements 10000". Twice.
9332
9333 2014-07-11 Yao Qi <yao@codesourcery.com>
9334
9335 * gdb.base/exprs.exp: "set print symbol off".
9336
9337 2014-07-11 Pedro Alves <palves@redhat.com>
9338
9339 * gdb.threads/kill.c: New file.
9340 * gdb.threads/kill.exp: New file.
9341
9342 2014-07-10 Yao Qi <yao@codesourcery.com>
9343
9344 * gdb.trace/tfile.c (write_basic_trace_file)
9345 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
9346 address written to trace file.
9347
9348 2014-07-09 Pedro Alves <palves@redhat.com>
9349
9350 * gdb.base/attach-wait-input.exp: New file.
9351 * gdb.base/attach-wait-input.c: New file.
9352
9353 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
9354
9355 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
9356 setting up test structures.
9357 (main): Call new test function.
9358 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
9359 test function, continue into test function and walk test
9360 structures.
9361
9362 2014-07-02 Yao Qi <yao@codesourcery.com>
9363
9364 * gdb.trace/entry-values.c: Define labels 'foo_start' and
9365 'bar_start' at the beginning of functions 'foo' and 'bar'
9366 respectively.
9367 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
9368 instead of 'foo' and 'bar'.
9369
9370 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
9371
9372 * gdb.btrace/segv.exp: New.
9373 * gdb.btrace/segv.c: New.
9374
9375 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
9376
9377 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
9378 instruction.
9379
9380 2014-06-30 Mark Wielaard <mjw@redhat.com>
9381
9382 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
9383 vulture, vilify, villar): New volatile array constants.
9384 (vindictive, vegetation): New const volatile array constants.
9385 * gdb.base/volatile.exp: Test volatile and const volatile array
9386 types.
9387
9388 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9389
9390 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
9391 target lacks support for awatch, rwatch, or hbreak.
9392
9393 2014-06-27 Yao Qi <yao@codesourcery.com>
9394
9395 * gdb.multi/dummy-frame-restore.exp: New.
9396 * gdb.multi/dummy-frame-restore.c: New.
9397
9398 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
9399
9400 * gdb.btrace/gcore.exp: New.
9401
9402 2014-06-23 Pedro Alves <palves@redhat.com>
9403
9404 * gdb.base/watchpoint-reuse-slot.c: New file.
9405 * gdb.base/watchpoint-reuse-slot.exp: New file.
9406
9407 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
9408
9409 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
9410 progspace's filename in 'info', 'enable' and 'disable' command
9411 tests.
9412
9413 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9414
9415 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
9416 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
9417 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
9418
9419 2014-06-20 Gary Benson <gbenson@redhat.com>
9420
9421 * gdb.arch/i386-avx.exp: Fix include file location.
9422 * gdb.arch/i386-sse.exp: Likewise.
9423
9424 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
9425
9426 * gdb.dlang/expression.exp: New file.
9427
9428 2014-06-19 Pedro Alves <palves@redhat.com>
9429
9430 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
9431 out from ...
9432 (top level): ... here. Iterate running tests under different
9433 scheduler-locking settings.
9434
9435 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
9436
9437 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
9438 to DW_FORM_addr and use non-zero addresses.
9439
9440 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
9441
9442 PR gdb/17017
9443 * gdb.python/py-xmethods.cc: Add global function call counters and
9444 increment them in their respective functions. Remove "cout"
9445 statements.
9446 * gdb.python/py-xmethods.exp: Make tests check the global function
9447 call counters instead of depending on inferior IO.
9448
9449 2014-06-18 Don Breazeal <donb@codesourcery.com>
9450
9451 * gdb.base/foll-fork.exp (default_fork_parent_follow):
9452 Deleted procedure.
9453 (explicit_fork_parent_follow): Deleted procedure.
9454 (explicit_fork_child_follow): Deleted procedure.
9455 (test_follow_fork): New procedure.
9456 (do_fork_tests): Replace calls to deleted procedures with
9457 calls to test_follow_fork and reset GDB for subsequent
9458 procedure calls.
9459
9460 2014-06-17 Yao Qi <yao@codesourcery.com>
9461
9462 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
9463 CP1252.
9464
9465 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
9466
9467 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
9468 Initialize ptr and S explicitly.
9469 (skip_type_update_when_not_use_rtti_test): Likewise.
9470
9471 2014-06-16 Keith Seitz <keiths@redhat.com>
9472
9473 PR mi/15863
9474 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
9475 the inferior is started.
9476
9477 2014-06-16 Pedro Alves <palves@redhat.com>
9478
9479 * gdb.base/break-main-file-remove-fail.c: New file.
9480 * gdb.base/break-main-file-remove-fail.exp: New file.
9481 * gdb.base/break-unload-file.exp: Use build_executable instead of
9482 prepare_for_testing.
9483 (test_break): New parameter "initial_load". Handle it.
9484 (top level): Add initial_load cmdline/file axis.
9485
9486 2014-06-12 Tom Tromey <tromey@redhat.com>
9487
9488 * gdb.base/completion.exp: Don't use directory name in test.
9489
9490 2014-06-09 Gary Benson <gbenson@redhat.com>
9491
9492 * gdb.base/sigall.c [Functions to send signals]: Reorder to
9493 separate the always-available ANSI-standard signals from the
9494 signals that require checking.
9495 (main): Likewise.
9496 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
9497 Likewise.
9498 (main): Likewise.
9499
9500 2014-06-07 Keith Seitz <keiths@redhat.com>
9501
9502 Revert:
9503 PR c++/16253
9504 * gdb.cp/var-tag.cc: New file.
9505 * gdb.cp/var-tag.exp: New file.
9506 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
9507 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
9508 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9509 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9510
9511 2014-06-06 Doug Evans <xdje42@gmail.com>
9512
9513 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
9514
9515 2014-06-06 Pedro Alves <palves@redhat.com>
9516
9517 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
9518 in target debug output instead of looking at RSP packets,
9519 disabling the test on any target that uses hardware stepping.
9520 Update comments.
9521
9522 2014-06-06 Pedro Alves <palves@redhat.com>
9523
9524 * gdb.base/break-unload-file.exp: Fix typo.
9525
9526 2014-06-06 Yao Qi <yao@codesourcery.com>
9527
9528 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
9529 from "jit_function" to "^jit_function".
9530
9531 2014-06-06 Yao Qi <yao@codesourcery.com>
9532
9533 * gdb.base/async.c (foo): Add one statement.
9534 * gdb.base/async.exp: Get the next instruction address and
9535 match the output of "nexti" by instruction address. Match
9536 the hex address in the output of "finish".
9537
9538 2014-06-06 Gary Benson <gbenson@redhat.com>
9539
9540 * gdb.base/call-signals.c: Remove preprocessor conditionals
9541 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
9542 SIGSEGV and SIGTERM.
9543 * gdb.base/sigall.c: Likewise.
9544 * gdb.base/unwindonsignal.c: Likewise.
9545 * gdb.reverse/sigall-reverse.c: Likewise.
9546
9547 2014-06-06 Yao Qi <yao@codesourcery.com>
9548
9549 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
9550 readable, skip the test.
9551
9552 2014-06-06 Yao Qi <yao@codesourcery.com>
9553
9554 * gdb.threads/staticthreads.c (thread_function): Move the line
9555 setting breakpoint on forward.
9556 * gdb.threads/staticthreads.exp: Update comments.
9557
9558 2014-06-05 Ludovic Courtès <ludo@gnu.org>
9559
9560 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
9561 "history-append! type error".
9562
9563 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
9564
9565 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
9566 erroneous dprintf expected input.
9567
9568 2014-06-04 Doug Evans <xdje42@gmail.com>
9569
9570 * gdb.guile/scm-generics.exp: Delete.
9571
9572 2014-06-04 Doug Evans <xdje42@gmail.com>
9573
9574 * gdb.guile/scm-breakpoint.exp: Update.
9575 Add tests for breakpoint registration.
9576
9577 2014-06-04 Tom Tromey <tromey@redhat.com>
9578
9579 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
9580 VLA-in-union.
9581 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
9582 inner_vla_struct, vla_union types. Initialize objects of those
9583 types and compute their sizes.
9584
9585 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
9586 Hui Zhu <hui@codesourcery.com>
9587
9588 * gdb.base/fileio.exp: Add test for shell not available as well as
9589 available.
9590 * gdb.base/fileio.c (test_system): Check for shell twice.
9591
9592 2014-06-04 Yao Qi <yao@codesourcery.com>
9593
9594 * gdb.base/auto-connect-native-target.exp: Remove redundant
9595 space from the regexp pattern.
9596
9597 2014-06-04 Yao Qi <yao@codesourcery.com>
9598
9599 * gdb.base/default.exp: Replace "child" with "native" in
9600 regexp pattern.
9601
9602 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
9603
9604 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
9605 * gdb.python/py-xmethods.exp: New tests to test xmethods.
9606 * gdb.python/py-xmethods.py: Python script supporting the
9607 new testcase and tests.
9608
9609 2014-06-03 Joel Brobecker <brobecker@adacore.com>
9610 Pedro Alves <palves@redhat.com>
9611
9612 PR breakpoints/17000
9613 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
9614 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
9615
9616 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
9617
9618 * gdb.base/subst.exp: Add tests to verify partial path matching
9619 output.
9620
9621 2014-06-03 Pedro Alves <palves@redhat.com>
9622
9623 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
9624 target that doesn't use software single-stepping.
9625
9626 2014-06-03 Pedro Alves <palves@redhat.com>
9627
9628 PR breakpoints/17000
9629 * gdb.base/sss-bp-on-user-bp-2.c: New file.
9630 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
9631
9632 2014-06-02 Doug Evans <xdje42@gmail.com>
9633
9634 * gdb.guile/scm-parameter.exp: New file.
9635
9636 2014-06-02 Doug Evans <xdje42@gmail.com>
9637
9638 * gdb.guile/scm-cmd.c: New file.
9639 * gdb.guile/scm-cmd.exp: New file.
9640
9641 2014-06-02 Doug Evans <xdje42@gmail.com>
9642
9643 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
9644 pretty-printer lookup.
9645 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
9646 (make-pp_s-printer): Call it.
9647 (make-pretty-printer-from-dict): New function.
9648 (lookup-pretty-printer-maker-from-dict): New function.
9649 (*pretty-printer*): Simplify.
9650 (make-objfile-pp_s-printer): New function.
9651 (install-objfile-pretty-printers!): New function.
9652 (make-progspace-pp_s-printer): New function.
9653 (install-progspace-pretty-printers!): New function.
9654 * gdb.guile/scm-progspace.c: New file.
9655 * gdb.guile/scm-progspace.exp: New file.
9656
9657 2014-06-02 Pedro Alves <palves@redhat.com>
9658
9659 * gdb.base/dprintf-bp-same-addr.c: New file.
9660 * gdb.base/dprintf-bp-same-addr.exp: New file.
9661
9662 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9663
9664 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
9665 * gdb.arch/powerpc-power.s: Likewise.
9666
9667 2014-06-02 Joel Brobecker <brobecker@adacore.com>
9668
9669 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
9670
9671 2014-06-01 Yao Qi <yao@codesourcery.com>
9672
9673 * gdb.base/watchpoint.exp (test_watch_location): Check null
9674 pointer can be dereferenced. If not, do the test, otherwise
9675 skip it.
9676
9677 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
9678
9679 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
9680 results.
9681 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
9682
9683 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
9684
9685 * gdb.arch/amd64-invalid-stack-middle.S: New file.
9686 * gdb.arch/amd64-invalid-stack-middle.c: New file.
9687 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
9688 * gdb.arch/amd64-invalid-stack-top.c: New file.
9689 * gdb.arch/amd64-invalid-stack-top.exp: New file.
9690
9691 2014-05-30 Pedro Alves <palves@redhat.com>
9692
9693 PR breakpoints/17000
9694 * gdb.base/sss-bp-on-user-bp.c: New file.
9695 * gdb.base/sss-bp-on-user-bp.exp: New file.
9696
9697 2014-05-30 David Blaikie <dblaikie@gmail.com>
9698
9699 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
9700 gnu_inline semantics via attribute.
9701 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
9702 source explicitly specifies the required semantics.
9703
9704 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
9705
9706 * gdb.reverse/sigall-reverse.exp: Fix a typo.
9707
9708 2014-05-29 Pedro Alves <palves@redhat.com>
9709 Tom Tromey <tromey@redhat.com>
9710
9711 * gdb.base/async-shell.exp: Don't enable target-async.
9712 * gdb.base/async.exp
9713 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
9714 parameter. Adjust.
9715 (top level): Don't test with "target-async".
9716 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
9717 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
9718 * gdb.base/inferior-died.exp: Don't enable target-async.
9719 * gdb.base/interrupt-noterm.exp: Likewise.
9720 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
9721 * gdb.mi/mi-nonstop-exit.exp: Likewise.
9722 * gdb.mi/mi-nonstop.exp: Likewise.
9723 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
9724 * gdb.mi/mi-nsintrall.exp: Likewise.
9725 * gdb.mi/mi-nsmoribund.exp: Likewise.
9726 * gdb.mi/mi-nsthrexec.exp: Likewise.
9727 * gdb.mi/mi-watch-nonstop.exp: Likewise.
9728 * gdb.multi/watchpoint-multi.exp: Adjust comment.
9729 * gdb.python/py-evsignal.exp: Don't enable target-async.
9730 * gdb.python/py-evthreads.exp: Likewise.
9731 * gdb.python/py-prompt.exp: Likewise.
9732 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
9733 * gdb.server/solib-list.exp: Don't enable target-async.
9734 * gdb.threads/thread-specific-bp.exp: Likewise.
9735 * lib/mi-support.exp: Adjust to use mi-async.
9736
9737 2014-05-29 Pedro Alves <palves@redhat.com>
9738
9739 PR gdb/13860
9740 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
9741 reason, even in sync mode.
9742
9743 2014-05-29 Pedro Alves <palves@redhat.com>
9744 Hui Zhu <hui@codesourcery.com>
9745
9746 PR PR15693
9747 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
9748 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
9749 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
9750 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
9751
9752 2014-05-28 Joel Brobecker <brobecker@adacore.com>
9753
9754 * config/monitor.exp (gdb_target_monitor): Replace use of
9755 "set remotebaud" by "set serial baud".
9756
9757 2014-05-26 Andy Wingo <wingo@igalia.com>
9758
9759 * gdb.guile/scm-breakpoint.exp:
9760 * gdb.guile/scm-gsmob.exp: Update to use plain old object
9761 properties instead of gdb-object-properties.
9762
9763 2014-05-26 Yao Qi <yao@codesourcery.com>
9764
9765 * gdb.server/no-thread-db.exp: Specify source file name
9766 explicitly when setting a breakpoint.
9767
9768 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9769
9770 * gdb.btrace/vdso.c: New.
9771 * gdb.btrace/vdso.exp: New.
9772
9773 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9774
9775 * gdb.base/gcore.exp (capture_command_output): Move ...
9776 * lib/gdb.exp (capture_command_output): ... here.
9777
9778 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9779
9780 * gdb.btrace/data.exp: Test memory access during btrace replay.
9781
9782 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
9783
9784 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
9785
9786 2014-05-21 Pedro Alves <palves@redhat.com>
9787
9788 PR gdb/13860
9789 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
9790 (top level): Test that output related to execution commands is
9791 sent to the console with CLI commands, but not with MI commands.
9792 Test that breakpoint events are always mirrored to the console.
9793 Also expect the new source line to be output after a "next" in
9794 async mode too. Make it a pass/fail test.
9795 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
9796 output.
9797 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
9798
9799 2014-05-21 Pedro Alves <palves@redhat.com>
9800
9801 * gdb.base/list.exp (build_pattern, test_list): New procedures.
9802 Use them to test variations of "list" after reaching a breakpoint.
9803 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
9804 Test "list" with listsize 10 after reaching a breakpoint.
9805 * gdb.python/python.exp (decode_line current location line
9806 number): Adjust expected line number.
9807
9808 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
9809
9810 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
9811 behavior for $args, pass it directly to "run".
9812
9813 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
9814
9815 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
9816 30000 to 65536.
9817
9818 2014-05-21 Pedro Alves <palves@redhat.com>
9819
9820 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
9821 auto-connect-native-target off".
9822 * gdb.base/auto-connect-native-target.c: New file.
9823 * gdb.base/auto-connect-native-target.exp: New file.
9824
9825 2014-05-21 Pedro Alves <palves@redhat.com>
9826
9827 * gdb.base/default.exp: Test "target native" instead of "target
9828 child".
9829
9830 2014-05-21 Mark Wielaard <mjw@redhat.com>
9831
9832 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
9833
9834 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9835
9836 Fix TLS access for -static -pthread.
9837 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
9838 <HAVE_TLS> (thread_function, main): Initialize it.
9839 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
9840 Add clean_restart.
9841 <$have_tls != "">: Check TLSVAR.
9842
9843 2014-05-21 Pedro Alves <palves@redhat.com>
9844
9845 * gdb.base/dcache-line-read-error.c: New.
9846 * gdb.base/dcache-line-read-error.exp: New.
9847
9848 2014-05-20 Pedro Alves <palves@redhat.com>
9849
9850 * gdb.base/compare-sections.c: New file.
9851 * gdb.base/compare-sections.exp: New file.
9852
9853 2014-05-20 Pedro Alves <palves@redhat.com>
9854
9855 * gdb.base/break-idempotent.c: New file.
9856 * gdb.base/break-idempotent.exp: New file.
9857
9858 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
9859
9860 * gdb.btrace/nohist.exp: New.
9861
9862 2014-05-20 Yao Qi <yao@codesourcery.com>
9863
9864 * lib/gdb.exp (gdb_init): Set timeout if test file is under
9865 gdb.reverse directory and gdb_reverse_timeout exists in board
9866 setting.
9867 * README: Document gdb_reverse_timeout.
9868
9869 2014-05-20 Yao Qi <yao@codesourcery.com>
9870
9871 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
9872 'test_file_name'. Treat args as a string instead of a list.
9873 (gdb_init): Rename argument 'args' by 'test_file_name'.
9874
9875 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9876
9877 * gdb.arch/powerpc-power.exp: New file.
9878 * gdb.arch/powerpc-power.s: New file.
9879
9880 2014-05-16 Doug Evans <dje@google.com>
9881
9882 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
9883 * gdb.base/completion.exp: Check that all expected files exist
9884 before doing file completion.
9885
9886 2014-05-16 Doug Evans <dje@google.com>
9887
9888 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
9889 Update.
9890 (do_syscall_tests_without_xml): Update.
9891
9892 2014-05-16 Pedro Alves <palves@redhat.com>
9893
9894 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
9895 instead of "unknown output after running".
9896
9897 2014-05-16 Yao Qi <yao@codesourcery.com>
9898
9899 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
9900 file1.txt from host at the end.
9901 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
9902
9903 2014-05-15 Doug Evans <dje@google.com>
9904
9905 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
9906 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
9907 loading file. Add test for TU lookup.
9908
9909 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
9910
9911 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
9912 calling "-exec-arguments" or "set args" before running the
9913 inferior.
9914
9915 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
9916
9917 * lib/mi-support.exp (mi_expect_stop): Expect message for
9918 inferiors that exit with non-zero exit code.
9919
9920 2014-05-14 Yao Qi <yao@codesourcery.com>
9921
9922 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
9923 match absolute path on remote host.
9924 (test_file_list_exec_source_files): Remove "/" from the
9925 pattern.
9926
9927 2014-05-14 Yao Qi <yao@codesourcery.com>
9928
9929 * boards/local-remote-host-notty.exp (${board}_file): New
9930 proc.
9931
9932 2014-05-07 Kyle McMartin <kyle@redhat.com>
9933
9934 Pushed by Joel Brobecker <brobecker@adacore.com>.
9935 * gdb.arch/aarch64-atomic-inst.c: New file.
9936 * gdb.arch/aarch64-atomic-inst.exp: New file.
9937
9938 2014-05-07 Yao Qi <yao@codesourcery.com>
9939
9940 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
9941 in current context" too.
9942
9943 2014-05-05 Keith Seitz <keiths@redhat.com>
9944
9945 * gdb.linespec/ls-dollar.exp: Add test for linespec
9946 file:convenience_variable.
9947
9948 2014-05-05 Yao Qi <yao@codesourcery.com>
9949
9950 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
9951 traceframes into tfile and ctf trace files. Read data from
9952 trace file and test collected data.
9953 (gdb_collect_locals_test): Likewise.
9954 (gdb_unavailable_registers_test): Likewise.
9955 (gdb_unavailable_floats): Likewise.
9956 (gdb_collect_globals_test): Likewise.
9957 (top-level): Append "ctf" to trace_file_targets if GDB
9958 supports.
9959
9960 2014-05-05 Yao Qi <yao@codesourcery.com>
9961
9962 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
9963 code to ...
9964 (gdb_collect_args_test_1): ... it. New proc.
9965 (gdb_collect_locals_test): Move some code to ...
9966 (gdb_collect_locals_test_1): ... it. New proc.
9967 (gdb_unavailable_registers_test): Move some code to ...
9968 (gdb_unavailable_registers_test_1): ... it. New proc.
9969 (gdb_unavailable_floats): Move some code to ...
9970 (gdb_unavailable_floats_1): ... it. New proc.
9971
9972 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
9973
9974 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
9975 probes to test for bitness recognition.
9976 * gdb.arch/amd64-stap-optional-prefix.exp
9977 (test_probe_value_without_reg): New procedure.
9978 Add code to test for different kinds of bitness.
9979
9980 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
9981
9982 PR breakpoints/16889
9983 * gdb.arch/amd64-stap-optional-prefix.S: New file.
9984 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
9985
9986 2014-05-01 Pedro Alves <palves@redhat.com>
9987
9988 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
9989 gdb_file_cmd if no file is specified.
9990 * boards/native-extended-gdbserver.exp (gdb_load): Use the
9991 last_loaded_file to set the remote exec-file.
9992
9993 2014-05-01 Pedro Alves <palves@redhat.com>
9994
9995 * boards/local-remote-host.exp: New file.
9996
9997 2014-05-01 Pedro Alves <palves@redhat.com>
9998
9999 * boards/local-remote-host.exp: Rename to ...
10000 * boards/local-remote-host-notty.exp: ... this.
10001
10002 2014-04-28 Joel Brobecker <brobecker@adacore.com>
10003
10004 * gdb.ada/dyn_arrayidx: New testcase.
10005
10006 2014-04-26 Yao Qi <yao@codesourcery.com>
10007
10008 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
10009 and compute the length of function main. Save it in
10010 $main_length.
10011 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
10012 (top-level): Use gdb_compile to compile objects into
10013 executable and restart GDB. Remove invocation to
10014 prepare_for_testing.
10015
10016 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
10017 Pedro Alves <palves@redhat.com>
10018
10019 PR server/16255
10020 * gdb.multi/multi-attach.c: New file.
10021 * gdb.multi/multi-attach.exp: New file.
10022
10023 2014-04-25 Pedro Alves <palves@redhat.com>
10024
10025 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
10026 user.
10027 (top level): Test that "set remote conditional-breakpoints-packet
10028 off" works as intended.
10029 * gdb.base/dprintf.exp: Test that "set remote
10030 breakpoint-commands-packet off" works as intended.
10031 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
10032 New function.
10033 (top level): Call it.
10034 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
10035 remote fast-tracepoints-packet off" works as intended.
10036 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
10037 * lib/gdb.exp (gdb_is_target_remote): ... here.
10038
10039 2014-04-24 David Blaikie <dblaikie@gmail.com>
10040
10041 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
10042 ensure clang would not discard them.
10043 * gdb.base/gdbvars.c: Ditto.
10044 * gdb.base/memattr.c: Ditto.
10045 * gdb.base/whatis.c: Ditto.
10046 * gdb.python/py-prettyprint.c: Ditto.
10047 * gdb.trace/actions.c: Ditto.
10048 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
10049 ensure clang would not discard it.
10050
10051 2014-04-24 David Blaikie <dblaikie@gmail.com>
10052
10053 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
10054 clang to emit the full definition of type required by the test
10055 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
10056
10057 2014-04-24 David Blaikie <dblaikie@gmail.com>
10058
10059 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
10060 coax Clang into emitting the definition of the type.
10061 * gdb.cp/pr10728-x.h (y): Ditto.
10062 * gdb.cp/pr10728-y.cc (y): Ditto.
10063
10064 2014-04-24 David Blaikie <dblaikie@gmail.com>
10065
10066 * gdb.base/label.exp: XFAIL label related tests under Clang.
10067 * gdb.cp/cplabel.exp: Ditto.
10068 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
10069 under Clang those using labels.
10070
10071 2014-04-25 Yao Qi <yao@codesourcery.com>
10072
10073 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
10074 double_label.
10075 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
10076 partial_label and double_label.
10077
10078 2014-04-24 David Blaikie <dblaikie@gmail.com>
10079
10080 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
10081
10082 2014-04-24 David Blaikie <dblaikie@gmail.com>
10083
10084 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
10085 of the function to work across GCC and Clang.
10086 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
10087 pointer types (const void ** const V void **).
10088
10089 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
10090 Walfred Tedeschi <walfred.tedeschi@intel.com>
10091
10092 * Makefile.in (EXECUTABLES): Added i386-avx512.
10093 * gdb.arch/i386-avx512.c: New file.
10094 * gdb.arch/i386-avx512.exp: Likewise.
10095
10096 2014-04-23 Keith Seitz <keiths@redhat.com>
10097
10098 * lib/mi-support.exp (mi_list_breakpoints): Delete.
10099 (mi_make_breakpoint_table): New procedure.
10100 (mi_create_breakpoint): Use mi_make_breakpoint
10101 and return the result.
10102 (mi_make_breakpoint): New procedure.
10103 (mi_build_kv_pairs): New procedure.
10104
10105 * gdb.mi/mi-break.exp: Remove unused globals,
10106 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
10107 All callers updated.
10108 * gdb.mi/mi-dprintf.exp: Use variable to track command
10109 number.
10110 Update all callers of mi_create_breakpoint and use
10111 mi_make_breakpoint_table.
10112 Remove any unused global variables.
10113 * gdb.mi/mi-nonstop.exp: Likewise.
10114 * gdb.mi/mi-nsintrall.exp: Likewise.
10115 * gdb.mi/mi-nsmoribund.exp: Likewise.
10116 * gdb.mi/mi-nsthrexec.exp: Likewise.
10117 * gdb.mi/mi-reverse.exp: Likewise.
10118 * gdb.mi/mi-simplerun.exp: Likewise.
10119 * gdb.mi/mi-stepn.exp: Likewise.
10120 * gdb.mi/mi-syn-frame.exp: Likewise.
10121 * gdb.mi/mi-until.exp: Likewise.
10122 * gdb.mi/mi-var-cp.exp: Likewise.
10123 * gdb.mi/mi-var-display.exp: Likewise.
10124 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
10125 * gdb.mi/mi2-var-child.exp: Likewise.
10126 * gdb.mi/mi-vla-c99.exp: Likewise.
10127 * lib/mi-support.exp: Likewise.
10128
10129 From Ian Lance Taylor <iant@cygnus.com>:
10130 * lib/gdb.exp (parse_args): New procedure.
10131
10132 2014-04-23 Pedro Alves <palves@redhat.com>
10133
10134 * gdb.base/break-unload-file.c: New file.
10135 * gdb.base/break-unload-file.exp: New file.
10136 * gdb.base/sym-file-lib.c (baz): New function.
10137 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
10138 field.
10139 (load): Store the segment's mapped size.
10140 (unload): New function.
10141 (unload_shlib): New function.
10142 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
10143 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
10144 set a breakpoint at baz, and call it.
10145 * gdb.base/sym-file.exp: New tests for stale breakpoint
10146 instructions.
10147
10148 2014-04-23 Pedro Alves <palves@redhat.com>
10149
10150 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
10151 * gdb.base/hbreak-in-shr-unsupported.c: New file.
10152 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
10153 * gdb.base/hbreak-unmapped.c: New file.
10154 * gdb.base/hbreak-unmapped.exp: New file.
10155 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
10156 * lib/gdb.exp (gdb_is_target_remote): ... here.
10157
10158 2014-04-22 Pedro Alves <palves@redhat.com>
10159
10160 * gdb.base/consecutive-step-over.c: New file.
10161 * gdb.base/consecutive-step-over.exp: New file.
10162
10163 2014-04-22 Pedro Alves <palves@redhat.com>
10164
10165 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
10166 instead of send_gdb/gdb_expect.
10167
10168 2014-04-22 Yao Qi <yao@codesourcery.com>
10169
10170 * lib/trace-support.exp (generate_tracefile): New procedure.
10171 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
10172 return 0.
10173 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
10174 if generate_tracefile returns 1.
10175
10176 2014-04-18 Tom Tromey <palves@redhat.com>
10177 Pedro alves <tromey@redhat.com>
10178
10179 PR backtrace/15558
10180 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
10181 with a backtrace limit.
10182 * gdb.python/py-frame-inline.exp: Test running to an inline
10183 function with a backtrace limit, and printing the newest frame.
10184 * gdb.python/py-frame-inline.c (main): Call f.
10185
10186 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10187
10188 * gdb.java/jnpe.exp: Drop srcdir from untested path.
10189
10190 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10191
10192 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
10193 Drop prefix from unsupported source file path.
10194
10195 2014-04-17 Yao Qi <yao@codesourcery.com>
10196
10197 * lib/gdb.exp (with_target_charset): New proc.
10198 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
10199 with_target_charset.
10200 (test_print_strings): Likewise.
10201 (test_repeat_bytes): Likewise.
10202 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
10203 for some tests.
10204
10205 2014-04-16 Keith Seitz <keiths@redhat.com>
10206
10207 PR gdb/15827
10208 * gdb.dwarf2/corrupt.c: New file.
10209 * gdb.dwarf2/corrupt.exp: New file.
10210
10211 2014-04-16 Keith Seitz <keiths@redhat.com>
10212
10213 PR c++/16597
10214 * gdb.cp/namelessclass.cc: New file.
10215 * gdb.cp/namelessclass.exp: New file.
10216 * gdb.cp/namelessclass.S: New file.
10217
10218 2014-04-16 Doug Evans <dje@google.com>
10219
10220 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
10221 Add comment.
10222 (gdbserver_default_get_comm_port): New function.
10223 (gdbserver_start): Check if board file provided
10224 "gdbserver,get_comm_port" and use it if so.
10225 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
10226 (gdb,socketport): Set to "stdio".
10227 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
10228 (stdio_gdbserver_template): Delete.
10229 (${board}_get_remote_address): Update.
10230 (${board}_build_remote_cmd): Delete.
10231 (${board}_get_comm_port): New function.
10232 (${board}_spawn): Update.
10233 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
10234 Delete.
10235 (${board}_get_remote_address): Update.
10236 (${board}_get_comm_port): New function.
10237
10238 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
10239
10240 * gdb.base/memattr.exp: Improve regexps to handle memory regions
10241 appearing in any order.
10242
10243 2014-04-15 Doug Evans <dje@google.com>
10244
10245 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
10246 uninitialized value of "description".
10247
10248 2014-04-15 Keith Seitz <keiths@redhat.com>
10249
10250 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
10251 Remove unused globals.
10252 (test_running_the_program): Likewise.
10253 (test_controlled_execution): Likewise.
10254 (test_controlling_breakpoints): Likewise.
10255 (test_program_termination): Likewise.
10256
10257 2014-04-15 Keith Seitz <keiths@redhat.com>
10258
10259 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
10260 unused globals.
10261 (test_rbreak_creation_and_listing): Likewise.
10262 (test_ignore_count): Likewise.
10263 (test_error): Likewise.
10264
10265 2014-04-15 Pedro Alves <palves@redhat.com>
10266
10267 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
10268 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
10269 sym-file-loader.c.
10270 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10271 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10272 to sym-file-loader.c.
10273 (struct library): Forward declare.
10274 (load_shlib, lookup_function): Change prototypes.
10275 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10276 (translate_offset): Remove declarations.
10277 (get_text_addr): New declaration.
10278 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
10279 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
10280 sym-file-loader.h.
10281 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10282 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10283 here from sym-file-loader.h.
10284 (struct library): New structure.
10285 (load_shlib, lookup_function): Change prototypes and adjust to
10286 work with a struct library.
10287 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10288 (translate_offset): Make static.
10289 (get_text_addr): New function.
10290 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
10291
10292 2014-04-15 Pedro Alves <palves@redhat.com>
10293
10294 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
10295
10296 2014-04-15 Pedro Alves <palves@redhat.com>
10297
10298 * gdb.base/sym-file-loader.c: Include <limits.h>.
10299 (SELF_LINK): New define.
10300 (get_origin): New function.
10301 (load_shlib): Use it.
10302 * gdb.base/sym-file.exp: Don't early return if the target is
10303 remote. Use runto_main, and issue fail is that fails. Use
10304 gdb_load_shlibs.
10305 (shlib_name): Delete.
10306 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
10307
10308 2014-04-15 Pedro Alves <palves@redhat.com>
10309
10310 * gdb.base/sym-file.exp: Remove regex characters from test
10311 message. Don't refer to breakpoint numbers in test messages.
10312
10313 2014-04-14 Keith Seitz <keiths@redhat.com>
10314
10315 PR c++/16253
10316 * gdb.cp/var-tag.cc: New file.
10317 * gdb.cp/var-tag.exp: New file.
10318 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
10319 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
10320 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
10321 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
10322
10323 2014-04-14 Tom Tromey <tromey@redhat.com>
10324
10325 * gdb.cp/classes.exp (test_enums): Handle underlying type.
10326 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
10327 type.
10328 * gdb.cp/enum-class.exp: New file.
10329 * gdb.cp/enum-class.cc: New file.
10330
10331 2014-04-14 Tom Tromey <tromey@redhat.com>
10332
10333 * gdb.dwarf2/enum-type.exp: New file.
10334
10335 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10336
10337 * gdb.mi/mi-vla-c99.exp: New file.
10338 * gdb.mi/vla.c: New file.
10339
10340 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10341
10342 * gdb.base/vla-datatypes.c: New file.
10343 * gdb.base/vla-datatypes.exp: New file.
10344
10345 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10346
10347 * gdb.base/vla-ptr.c: New file.
10348 * gdb.base/vla-ptr.exp: New file.
10349
10350 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10351
10352 * gdb.dwarf2/count.exp: New file.
10353
10354 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10355
10356 * gdb.base/vla-sideeffect.c: New file.
10357 * gdb.base/vla-sideeffect.exp: New file.
10358
10359 2014-04-14 David Blaikie <dblaikie@gmail.com>
10360
10361 * gdb.mi/non-stop.c: Add return value for non-void function return
10362 statement.
10363 * gdb.threads/staticthreads.c: Ditto.
10364
10365 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
10366 Doug Evans <xdje42@gmail.com>
10367
10368 * gdb.guile/scm-value.c: Improve test case.
10369 * gdb.guile/scm-value.exp: Add new test.
10370
10371 2014-04-11 David Blaikie <dblaikie@gmail.com>
10372
10373 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
10374 override Clang's default.
10375
10376 2014-04-11 Joel Brobecker <brobecker@adacore.com>
10377
10378 Revert the following changes (regressions):
10379
10380 * gdb.base/vla-sideeffect.c: New file.
10381 * gdb.base/vla-sideeffect.exp: New file.
10382
10383 * gdb.dwarf2/count.exp: New file.
10384
10385 * gdb.base/vla-multi.c: New file.
10386 * gdb.base/vla-multi.exp: New file.
10387
10388 * gdb.base/vla-ptr.c: New file.
10389 * gdb.base/vla-ptr.exp: New file.
10390
10391 * gdb.base/vla-datatypes.c: New file.
10392 * gdb.base/vla-datatypes.exp: New file.
10393
10394 * gdb.mi/mi-vla-c99.exp: New file.
10395 * gdb.mi/vla.c: New file.
10396
10397 2014-04-11 Keith Seitz <keiths@redhat.com>
10398
10399 PR c++/16675
10400 * gdb.cp/cpsizeof.exp: New file.
10401 * gdb.cp/cpsizeof.cc: New file.
10402
10403 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10404
10405 * gdb.mi/mi-vla-c99.exp: New file.
10406 * gdb.mi/vla.c: New file.
10407
10408 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10409
10410 * gdb.base/vla-datatypes.c: New file.
10411 * gdb.base/vla-datatypes.exp: New file.
10412
10413 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10414
10415 * gdb.base/vla-ptr.c: New file.
10416 * gdb.base/vla-ptr.exp: New file.
10417
10418 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10419
10420 * gdb.base/vla-multi.c: New file.
10421 * gdb.base/vla-multi.exp: New file.
10422
10423 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10424
10425 * gdb.dwarf2/count.exp: New file.
10426
10427 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10428
10429 * gdb.base/vla-sideeffect.c: New file.
10430 * gdb.base/vla-sideeffect.exp: New file.
10431
10432 2014-04-11 Yao Qi <yao@codesourcery.com>
10433
10434 * gdb.base/completion.exp: Check file exists before running tests
10435 on file completion.
10436
10437 2014-04-10 Pedro Alves <palves@redhat.com>
10438
10439 * gdb.base/cond-eval-mode.c: New file.
10440 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
10441 prepare_for_testing to build the new file. Check result of
10442 runto_main.
10443 (test_break, test_watch): New procedures.
10444 (top level): Use them.
10445
10446 2014-04-08 Pierre Muller <muller@sourceware.org>
10447
10448 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
10449 Ctrl-V use for mingw hosts.
10450
10451 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
10452
10453 * gdb.python/py-value.c: Improve test case.
10454 * gdb.python/py-value.exp: Add new test.
10455
10456 2014-04-07 David Blaikie <dblaikie@gmail.com>
10457
10458 * lib/compiler.c: Identify the clang compiler.
10459 * lib/compiler.cc: Ditto.
10460
10461 2014-04-03 Yao Qi <yao@codesourcery.com>
10462
10463 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
10464
10465 2014-04-01 Anton Blanchard <anton@samba.org>
10466
10467 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
10468 messages unique.
10469
10470 2014-04-01 Anton Blanchard <anton@samba.org>
10471
10472 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
10473 prepare_for_testing.
10474
10475 2014-04-01 Anton Blanchard <anton@samba.org>
10476
10477 * gdb.arch/ppc64-atomic-inst.c: Remove.
10478 * gdb.arch/ppc64-atomic-inst.S: New file.
10479 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
10480
10481 2014-03-31 Doug Evans <dje@google.com>
10482
10483 * gdb.base/print-symbol-loading-lib.c: New file.
10484 * gdb.base/print-symbol-loading-main.c: New file.
10485 * gdb.base/print-symbol-loading.exp: New file.
10486
10487 2014-03-31 Yao Qi <yao@codesourcery.com>
10488
10489 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
10490
10491 2014-03-28 Joel Brobecker <brobecker@adacore.com>
10492
10493 * gdb.ada/mi_dyn_arr: New testcase.
10494
10495 2014-03-27 Doug Evans <dje@google.com>
10496
10497 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
10498
10499 2014-03-27 Yao Qi <yao@codesourcery.com>
10500
10501 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
10502 if target is nios2-*-*.
10503
10504 2014-03-26 Yao Qi <yao@codesourcery.com>
10505
10506 * lib/gdb.exp (readline_is_used): New proc.
10507 * gdb.base/completion.exp: Move tests on command complete up.
10508 Skip the rest of tests if readline is not used.
10509 * gdb.ada/complete.exp: Skp the test if readline is not
10510 used.
10511 * gdb.base/filesym.exp: Likewise.
10512 * gdb.base/macscp.exp: Likewise.
10513 * gdb.base/readline-ask.exp: Likewise.
10514 * gdb.base/readline.exp: Likewise.
10515 * gdb.python/py-cmd.exp: Likewise.
10516 * gdb.trace/tfile.exp: Likewise.
10517
10518 2014-03-26 Yao Qi <yao@codesourcery.com>
10519
10520 * gdb.base/macscp.exp: Fix code format issues.
10521
10522 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
10523
10524 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
10525 * gdb.asm/powerpc64le.inc: New file.
10526
10527 2014-03-25 Pedro Alves <palves@redhat.com>
10528 Doug Evans <dje@google.com>
10529
10530 * gdb.base/source-execution.c: New file.
10531 * gdb.base/source-execution.exp: New file.
10532 * gdb.base/source-execution.gdb: New file.
10533
10534 2014-03-24 Doug Evans <dje@google.com>
10535
10536 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
10537 using fission.
10538
10539 2014-03-24 Hui Zhu <hui@codesourcery.com>
10540 Pedro Alves <palves@redhat.com>
10541
10542 PR breakpoints/16101
10543 * gdb.base/dprintf.exp: Use unsupported rather than changing the
10544 test pass/fail messages. Detect missing support for dprintf when
10545 breakpoints are actually inserted.
10546 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
10547 breakpoints are actually inserted.
10548 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
10549 fails.
10550
10551 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10552
10553 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
10554
10555 2014-03-22 Doug Evans <xdje42@gmail.com>
10556
10557 * gdb.python/python.exp (python not supported): Verify multi-line
10558 python command issues an error.
10559 * gdb.guile/guile.exp (guile not supported): Verify multi-line
10560 guile command issues an error.
10561
10562 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
10563
10564 * gdb.threads/thread-specific.exp: Handle the lack of usable
10565 $this_breakpoint and $this_thread.
10566
10567 2014-03-21 Hui Zhu <hui@codesourcery.com>
10568
10569 * gdb.base/attach.exp (do_command_attach_tests): New.
10570
10571 2014-03-20 Tom Tromey <tromey@redhat.com>
10572 Pedro Alves <palves@redhat.com>
10573
10574 PR cli/15718
10575 * gdb.base/condbreak-call-false.c: New file.
10576 * gdb.base/condbreak-call-false.exp: New file.
10577
10578 2014-03-20 Pedro Alves <palves@redhat.com>
10579
10580 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
10581 Delete.
10582 (block_signals, unblock_signals): Delete.
10583 (child_function_2, main): Remove references to deleted variable
10584 and functions.
10585
10586 2014-03-20 Pedro Alves <palves@redhat.com>
10587
10588 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
10589 Use pthread_kill to signal thread 2.
10590 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10591 Adjust to make the test send itself a signal rather than using the
10592 host's "kill" command.
10593
10594 2014-03-20 Pedro Alves <palves@redhat.com>
10595
10596 * gdb.threads/multiple-step-overs.c: New file.
10597 * gdb.threads/multiple-step-overs.exp: New file.
10598 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10599 Adjust expected infrun debug output.
10600
10601 2014-03-20 Pedro Alves <palves@redhat.com>
10602
10603 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
10604 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
10605
10606 2014-03-20 Pedro Alves <palves@redhat.com>
10607
10608 PR breakpoints/7143
10609 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
10610 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
10611 of gdb_test_multiple.
10612 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
10613 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
10614
10615 2014-03-20 Pedro Alves <palves@redhat.com>
10616
10617 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
10618 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
10619
10620 2014-03-19 Pedro Alves <palves@redhat.com>
10621
10622 * gdb.base/async.exp: Remove early return.
10623
10624 2014-03-19 Pedro Alves <palves@redhat.com>
10625
10626 * gdb.base/async.exp (step& tests): Pass explicit test messages.
10627
10628 2014-03-19 Pedro Alves <palves@redhat.com>
10629
10630 * gdb.base/async.exp (test_background): Expect \r\n after
10631 "completed." in the fail pattern.
10632
10633 2014-03-19 Pedro Alves <palves@redhat.com>
10634
10635 * gdb.base/async.exp (test_background): New procedure.
10636 Use it for all background execution command tests.
10637
10638 2014-03-19 Pedro Alves <palves@redhat.com>
10639
10640 * gdb.base/async.exp: Use prepare_for_testing.
10641
10642 2014-03-19 Pedro Alves <palves@redhat.com>
10643
10644 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
10645 the same line.
10646
10647 2014-03-19 Pedro Alves <palves@redhat.com>
10648
10649 * gdb.base/async.c (main): Add "jump here" and "until here" line
10650 marker comments.
10651 * gdb.base/async.exp (jump_here): New global.
10652 (jump& test): Use it.
10653 (until_here): New global.
10654 (until& test): Use it.
10655
10656 2014-03-19 Pedro Alves <palves@redhat.com>
10657
10658 * gdb.base/async.exp: Don't frob gdb_protocol.
10659
10660 2014-03-18 Doug Evans <xdje42@gmail.com>
10661
10662 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
10663 Fix spelling of exec-done-display.
10664
10665 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
10666
10667 PR gdb/15358
10668 * gdb.base/gdb-sigterm.c: New file.
10669 * gdb.base/gdb-sigterm.exp: New file.
10670
10671 2014-03-18 Pedro Alves <palves@redhat.com>
10672
10673 PR gdb/13860
10674 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
10675 * lib/mi-support.exp (mi_expect_stop): Add special handling for
10676 solib-event.
10677
10678 2014-03-17 Joel Brobecker <brobecker@adacore.com>
10679
10680 * gdb.ada/pckd_arr_ren: New testcase.
10681
10682 2014-03-13 Doug Evans <xdje42@gmail.com>
10683
10684 PR guile/16612
10685 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
10686 collect after discarding symbols.
10687
10688 2014-03-13 Ludovic Courtès <ludo@gnu.org>
10689 Doug Evans <xdje42@gmail.com>
10690
10691 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
10692 to history survives a gc.
10693
10694 2014-03-13 Pedro Alves <palves@redhat.com>
10695
10696 * gdb.base/default.exp: Don't test "target procfs".
10697
10698 2014-03-13 Pedro Alves <palves@redhat.com>
10699
10700 * gdb.base/default.exp: Update "target child" and "target procfs"
10701 tests to not expect "Unix".
10702
10703 2014-03-12 Tom Tromey <tromey@redhat.com>
10704
10705 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
10706 New procs. Add target-async tests.
10707 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
10708 Add target-async tests.
10709
10710 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10711
10712 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
10713 'func_start' and 'func_end' for the beginning and end of the
10714 function code, respectively.
10715 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
10716 'func_end' instead of 'func' and 'main'.
10717
10718 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10719
10720 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
10721 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
10722 generate the debug info assembler source.
10723
10724 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10725
10726 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
10727 * gdb.dwarf2/arr-subrange.exp: Likewise.
10728 * gdb.dwarf2/dwz.exp: Likewise.
10729 * gdb.dwarf2/method-ptr.exp: Likewise.
10730 * gdb.dwarf2/missing-sig-type.exp: Likewise.
10731 * gdb.dwarf2/subrange.exp: Likewise.
10732 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
10733 * gdb.dwarf2/implptrpiece.exp: Likewise.
10734 * gdb.dwarf2/nostaticblock.exp: Likewise.
10735
10736 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10737
10738 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
10739 directory to absolute path name arguments.
10740
10741 2014-03-10 Joel Brobecker <brobecker@adacore.com>
10742
10743 * gdb.ada/tagged_access: New testcase.
10744
10745 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
10746
10747 * gdb.btrace/data.exp: Update expected output.
10748
10749 2014-03-06 Yao Qi <yao@codesourcery.com>
10750
10751 * gdb.trace/pr16508.exp: New file.
10752
10753 2014-03-05 Pedro Alves <palves@redhat.com>
10754
10755 PR gdb/16575
10756 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
10757 procedure.
10758 (top level): Adjust to use it. Add tests that exercise breakpoint
10759 interaction with the code-cache.
10760
10761 2014-02-26 Ludovic Courtès <ludo@gnu.org>
10762
10763 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
10764 test for 'history-append!'.
10765
10766 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10767
10768 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
10769 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
10770 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
10771 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
10772 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
10773 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
10774
10775 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10776
10777 * testsuite/gdb.python/py-pp-re-notag.c: New file.
10778 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
10779 * testsuite/gdb.python/py-pp-re-notag.p: New file.
10780
10781 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10782
10783 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
10784
10785 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10786
10787 * gdb.dwarf2/arr-stride.c: New file.
10788 * gdb.dwarf2/arr-stride.exp: New file.
10789
10790 2014-02-26 Pedro Alves <palves@redhat.com>
10791
10792 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
10793 that won't ever trigger. Make sure that GDB reports the correct
10794 breakpoint that caused the stop.
10795
10796 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10797
10798 PR gdb/16626
10799 * gdb.base/auto-load-script: New file.
10800 * gdb.base/auto-load.c: New file.
10801 * gdb.base/auto-load.exp: New file.
10802
10803 PR gdb/16626
10804 * gdb.base/auto-load.exp: Fix out-of-srctree run.
10805
10806 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10807
10808 Fix dw2-icycle.exp -fsanitize=address GDB crash.
10809 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
10810
10811 2014-02-24 Doug Evans <dje@google.com>
10812
10813 * lib/gdb.exp (run_on_host): Log error output if program fails.
10814
10815 2014-02-21 Pedro Alves <palves@redhat.com>
10816
10817 * gdb.threads/step-after-sr-lock.c: Rename to ...
10818 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
10819 * gdb.threads/step-after-sr-lock.exp: Rename to ...
10820 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10821 ... this.
10822
10823 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
10824
10825 PR tdep/16397
10826 * gdb.arch/amd64-stap-special-operands.exp: New file.
10827 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
10828 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
10829 * gdb.arch/amd64-stap-triplet.S: Likewise.
10830 * gdb.arch/amd64-stap-triplet.c: Likewise.
10831
10832 2014-02-20 Joel Brobecker <brobecker@adacore.com>
10833
10834 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
10835 in .section pseudo-op.
10836
10837 2014-02-20 lin zuojian <manjian2006@gmail.com>
10838 Joel Brobecker <brobecker@adacore.com>
10839 Doug Evans <xdje42@gmail.com>
10840
10841 PR symtab/16581
10842 * gdb.dwarf2/dw2-icycle.S: New file.
10843 * gdb.dwarf2/dw2-icycle.c: New file.
10844 * gdb.dwarf2/dw2-icycle.exp: New file.
10845
10846 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
10847
10848 * gdb.python/py-value-cc.cc: Improve test case to enable testing
10849 operations on gdb.Value objects.
10850 * gdb.python/py-value-cc.exp: Add new test to test operations on
10851 gdb.Value objects.
10852
10853 2014-02-18 Doug Evans <dje@google.com>
10854
10855 * Makefile.in (TESTS): New variable.
10856 (expanded_tests, expanded_tests_or_none): New variables
10857 (check-single): Pass $(expanded_tests_or_none) to runtest.
10858 (check-parallel): Only run tests in $(TESTS) if non-empty.
10859 (check/no-matching-tests-found): New rule.
10860 * README: Document TESTS makefile variable.
10861
10862 2014-02-18 Doug Evans <dje@google.com>
10863
10864 * Makefile.in (check-parallel): rm -rf outputs temp.
10865
10866 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10867
10868 Fix "ERROR: no fileid for" in the testsuite.
10869 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
10870
10871 2014-02-12 Doug Evans <dje@google.com>
10872
10873 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
10874 (MISCELLANEOUS): New variable.
10875 (clean): rm -rf $(MISCELLANEOUS).
10876 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
10877 dwp live in the same directory as symlinks, with each symlink pointed
10878 to a differently named file in a different directory.
10879
10880 2014-02-11 Doug Evans <dje@google.com>
10881
10882 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
10883 of Tcl file commands.
10884
10885 2014-02-10 Mark Kettenis <kettenis@gnu.org>
10886
10887 * gdb.threads/step-after-sr-lock.exp: Avoid executing
10888 "kill -SIGUSR1 -1".
10889
10890 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10891
10892 * gdb.ada/tick_length_array_enum_idx: New testcase.
10893
10894 2014-02-10 Doug Evans <xdje42@gmail.com>
10895
10896 * configure.ac (AC_OUTPUT): Add gdb.guile.
10897 * configure: Regenerate.
10898 * lib/gdb-guile.exp: New file.
10899 * lib/gdb.exp (get_target_charset): New function.
10900 * gdb.base/help.exp: Update expected output from "apropos apropos".
10901 * gdb.guile/Makefile.in: New file.
10902 * gdb.guile/guile.exp: New file.
10903 * gdb.guile/scm-arch.c: New file.
10904 * gdb.guile/scm-arch.exp: New file.
10905 * gdb.guile/scm-block.c: New file.
10906 * gdb.guile/scm-block.exp: New file.
10907 * gdb.guile/scm-breakpoint.c: New file.
10908 * gdb.guile/scm-breakpoint.exp: New file.
10909 * gdb.guile/scm-disasm.c: New file.
10910 * gdb.guile/scm-disasm.exp: New file.
10911 * gdb.guile/scm-equal.c: New file.
10912 * gdb.guile/scm-equal.exp: New file.
10913 * gdb.guile/scm-error.exp: New file.
10914 * gdb.guile/scm-error.scm: New file.
10915 * gdb.guile/scm-frame-args.c: New file.
10916 * gdb.guile/scm-frame-args.exp: New file.
10917 * gdb.guile/scm-frame-args.scm: New file.
10918 * gdb.guile/scm-frame-inline.c: New file.
10919 * gdb.guile/scm-frame-inline.exp: New file.
10920 * gdb.guile/scm-frame.c: New file.
10921 * gdb.guile/scm-frame.exp: New file.
10922 * gdb.guile/scm-generics.exp: New file.
10923 * gdb.guile/scm-gsmob.exp: New file.
10924 * gdb.guile/scm-iterator.c: New file.
10925 * gdb.guile/scm-iterator.exp: New file.
10926 * gdb.guile/scm-math.c: New file.
10927 * gdb.guile/scm-math.exp: New file.
10928 * gdb.guile/scm-objfile-script-gdb.in: New file.
10929 * gdb.guile/scm-objfile-script.c: New file.
10930 * gdb.guile/scm-objfile-script.exp: New file.
10931 * gdb.guile/scm-objfile.c: New file.
10932 * gdb.guile/scm-objfile.exp: New file.
10933 * gdb.guile/scm-ports.exp: New file.
10934 * gdb.guile/scm-pretty-print.c: New file.
10935 * gdb.guile/scm-pretty-print.exp: New file.
10936 * gdb.guile/scm-pretty-print.scm: New file.
10937 * gdb.guile/scm-section-script.c: New file.
10938 * gdb.guile/scm-section-script.exp: New file.
10939 * gdb.guile/scm-section-script.scm: New file.
10940 * gdb.guile/scm-symbol.c: New file.
10941 * gdb.guile/scm-symbol.exp: New file.
10942 * gdb.guile/scm-symtab-2.c: New file.
10943 * gdb.guile/scm-symtab.c: New file.
10944 * gdb.guile/scm-symtab.exp: New file.
10945 * gdb.guile/scm-type.c: New file.
10946 * gdb.guile/scm-type.exp: New file.
10947 * gdb.guile/scm-value-cc.cc: New file.
10948 * gdb.guile/scm-value-cc.exp: New file.
10949 * gdb.guile/scm-value.c: New file.
10950 * gdb.guile/scm-value.exp: New file.
10951 * gdb.guile/source2.scm: New file.
10952 * gdb.guile/types-module.cc: New file.
10953 * gdb.guile/types-module.exp: New file.
10954
10955 2014-02-10 Yao Qi <yao@codesourcery.com>
10956
10957 PR testsuite/16543
10958 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
10959 * configure: Regenerated.
10960 * Makefile.in: New file.
10961
10962 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
10963
10964 * gdb.python/py-framefilter.exp: Fix typo.
10965
10966 2014-02-08 Yao Qi <yao@codesourcery.com>
10967
10968 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
10969 that no =breakpoint-modified is emitted when breakpoints are
10970 modified through MI commands.
10971
10972 2014-02-07 Pedro Alves <pedro@codesourcery.com>
10973 Pedro Alves <palves@redhat.com>
10974
10975 * gdb.threads/step-after-sr-lock.c: New file.
10976 * gdb.threads/step-after-sr-lock.exp: New file.
10977
10978 2014-02-07 Pedro Alves <palves@redhat.com>
10979
10980 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
10981
10982 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10983
10984 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
10985 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
10986
10987 2014-02-06 Doug Evans <xdje42@gmail.com>
10988
10989 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
10990 output.
10991
10992 * gdb.gdb/python-interrupts.exp: New file.
10993
10994 2014-02-05 Yao Qi <yao@codesourcery.com>
10995
10996 * gdb.trace/report.exp (use_collected_data): Test the output
10997 of "info threads" and "info inferiors".
10998
10999 2014-02-05 Yao Qi <yao@codesourcery.com>
11000
11001 Revert this patch:
11002
11003 2013-05-24 Yao Qi <yao@codesourcery.com>
11004
11005 * gdb.trace/tfile.exp: Test inferior and thread.
11006
11007 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11008
11009 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
11010 on a function.
11011 * gdb.base/step-bt.c: Call hello via function pointer to make
11012 sure its first instruction is executed on powerpc64le-linux.
11013
11014 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11015
11016 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
11017
11018 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11019
11020 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
11021 of the test patterns for use on little-endian systems.
11022
11023 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11024
11025 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
11026 (decimal_vector): Fix for little-endian.
11027
11028 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
11029
11030 * gdb.arch/sparc-sysstep.exp: New file.
11031 * gdb.arch/sparc-sysstep.c: Likewise.
11032
11033 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
11034
11035 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11036
11037 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
11038
11039 2014-01-23 Tom Tromey <tromey@redhat.com>
11040
11041 * gdb.ada/array_char_idx: New testcase.
11042
11043 2014-01-23 Tom Tromey <tromey@redhat.com>
11044
11045 PR python/16487:
11046 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
11047 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
11048 classes.
11049
11050 2014-01-23 Tom Tromey <tromey@redhat.com>
11051
11052 PR python/16491:
11053 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
11054 string from an inferior frame.
11055 * gdb.python/py-framefilter-mi.exp: Update.
11056
11057 2014-01-22 Doug Evans <dje@google.com>
11058
11059 * gdb.server/server-mon.exp: Add tests for "set debug-format".
11060
11061 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11062
11063 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
11064
11065 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11066
11067 * gdb.trace/entry-values.exp: Remove excess space character from
11068 regex patterns. Handle s390 call instruction.
11069
11070 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11071
11072 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
11073 define "*_start" label. Make "name" static.
11074 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
11075 ${name} by references to ${name}_start.
11076
11077 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11078
11079 * gdb.base/info-macros.exp: Remove "debug" from the compile
11080 options.
11081
11082 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11083
11084 * gdb.dlang/demangle.exp: New file.
11085
11086 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11087
11088 * gdb.dlang/primitive-types.exp: New file.
11089
11090 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11091
11092 * configure.ac: Create gdb.dlang/Makefile.
11093 * configure: Regenerate.
11094 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
11095 * gdb.dlang/Makefile.in: New file.
11096 * lib/d-support.exp: New file.
11097 * lib/gdb.exp (skip_d_tests): New proc.
11098
11099 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11100
11101 * gdb.btrace/delta.exp: Check reverse stepi.
11102 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
11103 * gdb.btrace/finish.exp: New.
11104 * gdb.btrace/next.exp: New.
11105 * gdb.btrace/nexti.exp: New.
11106 * gdb.btrace/record_goto.c: Add comments.
11107 * gdb.btrace/step.exp: New.
11108 * gdb.btrace/stepi.exp: New.
11109 * gdb.btrace/multi-thread-step.c: New.
11110 * gdb.btrace/multi-thread-step.exp: New.
11111 * gdb.btrace/rn-dl-bind.c: New.
11112 * gdb.btrace/rn-dl-bind.exp: New.
11113 * gdb.btrace/data.c: New.
11114 * gdb.btrace/data.exp: New.
11115 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11116
11117 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11118
11119 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
11120 * gdb.btrace/exception.exp: Update.
11121 * gdb.btrace/instruction_history.exp: Update.
11122 * gdb.btrace/record_goto.exp: Update.
11123 * gdb.btrace/tailcall.exp: Update.
11124 * gdb.btrace/unknown_functions.exp: Update.
11125 * gdb.btrace/delta.exp: New.
11126
11127 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11128
11129 * gdb.btrace/record_goto.exp: Add backtrace test.
11130 * gdb.btrace/tailcall.exp: Add backtrace test.
11131
11132 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11133
11134 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
11135 * gdb.btrace/record_goto.c: New.
11136 * gdb.btrace/record_goto.exp: New.
11137 * gdb.btrace/x86-record_goto.S: New.
11138
11139 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11140
11141 * gdb.btrace/function_call_history.exp: Update tests.
11142 * gdb.btrace/instruction_history.exp: Update tests.
11143
11144 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11145
11146 * gdb.btrace/function_call_history.exp: Fix expected field
11147 order for "record function-call-history".
11148 Add new tests for "record function-call-history /c".
11149 * gdb.btrace/exception.cc: New.
11150 * gdb.btrace/exception.exp: New.
11151 * gdb.btrace/tailcall.exp: New.
11152 * gdb.btrace/x86-tailcall.S: New.
11153 * gdb.btrace/x86-tailcall.c: New.
11154 * gdb.btrace/unknown_functions.c: New.
11155 * gdb.btrace/unknown_functions.exp: New.
11156 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11157
11158 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11159
11160 * gdb.btrace/instruction_history.exp: Update.
11161 * gdb.btrace/function_call_history.exp: Update.
11162
11163 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11164
11165 * gdb.btrace/function_call_history.exp: Fix expected function
11166 trace.
11167 * gdb.btrace/instruction_history.exp: Initialize traced.
11168 Remove traced_functions.
11169
11170 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11171
11172 * gdb.btrace/function_call_history.exp: Update
11173 * gdb.btrace/instruction_history.exp: Update.
11174
11175 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11176
11177 * gdb.btrace/enable.exp: Update expected text.
11178
11179 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
11180
11181 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
11182 bytes.
11183
11184 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
11185
11186 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
11187
11188 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11189
11190 * lib/gdb.exp (supports_process_record): Return true for
11191 arm*-linux*. (supports_reverse): Likewise.
11192
11193 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
11194
11195 PR python/15464
11196 PR python/16113
11197 * gdb.python/py-type.c: Enhance test case.
11198 * gdb.python/py-value-cc.cc: Likewise
11199 * gdb.python/py-type.exp: Add new tests.
11200 * gdb.python/py-value-cc.exp: Likewise
11201
11202 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
11203 Pedro Alves <palves@redhat.com>
11204
11205 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
11206 Make "name" extern.
11207 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
11208 references to ${name}_start by references to ${name}.
11209
11210 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11211
11212 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
11213
11214 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11215
11216 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
11217
11218 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
11219 Pedro Alves <palves@redhat.com>
11220
11221 * gdb.mi/mi-info-os.exp: Connect to the target with
11222 mi_gdb_target_load.
11223
11224 2014-01-08 Pedro Alves <palves@redhat.com>
11225
11226 * gdb.threads/reconnect-signal.c: New file.
11227 * gdb.threads/reconnect-signal.exp: New file.
11228
11229 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11230
11231 * gdb.base/source-dir.exp: New file.
11232
11233 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11234
11235 * gdb.ada/mi_interface: New testcase.
11236
11237 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11238
11239 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
11240 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
11241 gdb.ada/pp-rec-component/pck.ads: New files.
11242
11243 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11244
11245 * gdb.python/py-pp-integral.c: New file.
11246 * gdb.python/py-pp-integral.py: New file.
11247 * gdb.python/py-pp-integral.exp: New file.
11248
11249 For older changes see ChangeLog-1993-2013.
11250 \f
11251 ;; Local Variables:
11252 ;; mode: change-log
11253 ;; left-margin: 8
11254 ;; fill-column: 74
11255 ;; version-control: never
11256 ;; End:
11257
11258 Copyright 2014-2017 Free Software Foundation, Inc.
11259 Copying and distribution of this file, with or without modification,
11260 are permitted provided the copyright notice and this notice are preserved.