gdb.base/skip.exp: Use with_test_prefix.
[binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2016-03-03 Doug Evans <dje@google.com>
2
3 * gdb.base/skip.exp: Use with_test_prefix.
4
5 2016-03-03 Yao Qi <yao.qi@linaro.org>
6
7 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
8 Invoke step_over_syscall "clone" and break_cond_on_syscall
9 "clone".
10 * gdb.base/step-over-clone.c: New file.
11
12 2016-03-03 Yao Qi <yao.qi@linaro.org>
13
14 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
15 code format.
16
17 2016-03-03 Yao Qi <yao.qi@linaro.org>
18
19 * gdb.base/disp-step-fork.c: Rename to ...
20 * gdb.base/step-over-fork.c: ... it. New file.
21 * gdb.base/disp-step-vfork.c: Rename to ...
22 * gdb.base/step-over-vfork.c: ... it. New file.
23 * gdb.base/disp-step-syscall.exp: Rename to ...
24 * gdb.base/step-over-syscall.exp: ... it. New file.
25 (disp_step_cross_syscall): Rename to ...
26 (step_over_syscall): ... it.
27
28 2016-03-03 Yao Qi <yao.qi@linaro.org>
29
30 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
31 If target supports condition evaluation on target, invoke
32 break_cond_on_syscall for fork and vfork.
33
34 2016-03-03 Yao Qi <yao.qi@linaro.org>
35
36 * gdb.base/disp-step-syscall.exp: Don't invoke
37 support_displaced_stepping.
38 (disp_step_cross_syscall): Test with displaced stepping off and
39 on if supported.
40
41 2016-03-03 Yao Qi <yao.qi@linaro.org>
42
43 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
44 proc.
45 (setup): New proc.
46 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
47 and setup.
48
49 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
50
51 * gdb.fortran/vla-history.exp: Remove breakpoint.
52
53 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
54
55 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
56
57 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
58
59 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
60
61 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
62
63 * gdb.mi/vla.f90: Nullify pointer after declaration.
64
65 2016-03-01 Pedro Alves <palves@redhat.com>
66
67 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
68
69 2016-03-01 Pedro Alves <palves@redhat.com>
70
71 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
72 before anything else.
73 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
74 _GNU_SOURCE here.
75 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
76 before anything else.
77 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
78
79 2016-03-01 Pedro Alves <palves@redhat.com>
80
81 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
82
83 2016-03-01 Yao Qi <yao.qi@linaro.org>
84
85 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
86 prepare_for_testing.
87
88 2016-03-01 Yao Qi <yao.qi@linaro.org>
89
90 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
91
92 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
93
94 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
95 manually constructing the output path.
96
97 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
98
99 * gdb.arch/s390-stackless.S: New.
100 * gdb.arch/s390-stackless.exp: New.
101
102 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
103
104 * gdb.dlang/circular.c: New file.
105 * gdb.dlang/circular.exp: New file.
106
107 2016-02-26 Yao Qi <yao.qi@linaro.org>
108
109 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
110 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
111 (testcases): Update.
112
113 2016-02-26 Yao Qi <yao.qi@linaro.org>
114
115 * gdb.reverse/aarch64.c: Rename to ...
116 * gdb.reverse/insn-reverse.c: ... it.
117 * gdb.reverse/aarch64.exp: Rename to ...
118 * gdb.reverse/insn-reverse.exp: ... it.
119
120 2016-02-26 Yao Qi <yao.qi@linaro.org>
121
122 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
123 (testcase_ftype): New.
124 (testcases): New array.
125 (n_testcases): New.
126 (main): Call each element in testcases.
127 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
128 (read_testcase): New.
129 Do the tests in a loop.
130
131 2016-02-25 Yao Qi <yao.qi@linaro.org>
132
133 * gdb.base/branches.c: Remove.
134
135 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
136
137 PR gdb/13808
138 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
139
140 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
141
142 * gdb.trace/ftrace.exp: Remove unnecessary target check.
143
144 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
145
146 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
147 change x86_64 call_insn to 'callq'.
148
149 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
150
151 * gdb.trace/tfile-avx.c: Move to...
152 * gdb.trace/tracefile-pseudo-reg.c: Here.
153 * gdb.trace/tfile-avx.exp: Move to...
154 * gdb.trace/tracefile-pseudo-reg.exp: Here.
155
156 2016-02-24 Gary Benson <gbenson@redhat.com>
157
158 * gdb.base/attach-pie-noexec.exp: Do not expect an error
159 message on attach.
160
161 2016-02-23 Doug Evans <dje@google.com>
162
163 * gdb.base/skip.c (test_skip): New function.
164 (end_test_skip_file_and_function): New function.
165 (test_skip_file_and_function): New function.
166 * gdb.base/skip1.c (test_skip): New function.
167 (skip1_test_skip_file_and_function): New function.
168 * gdb.base/skip.exp: Add tests for new skip options.
169 * gdb.base/skip-solib.exp: Update expected output.
170 * gdb.perf/skip-command.cc: New file.
171 * gdb.perf/skip-command.exp: New file.
172 * gdb.perf/skip-command.py: New file.
173
174 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
175
176 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
177 info registers pattern.
178
179 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
180
181 * lib/future.exp: Add D support.
182 (gdb_find_gdc): New proc.
183 (gdb_default_target_compile): Add D support.
184
185 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
186
187 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
188 user+system time.
189 (trace_speed_test): Determine the iteration count for a time
190 between 15..30 seconds.
191
192 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
193
194 * gdb.arch/i386-mpx-sigsegv.c: New file.
195 * gdb.arch/i386-mpx-sigsegv.exp: New file.
196 * gdb.arch/i386-mpx-simple_segv.c: New file.
197 * gdb.arch/i386-mpx-simple_segv.exp: New file.
198
199 2016-02-18 Yao Qi <yao.qi@linaro.org>
200
201 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
202 Don't call setup_kfail.
203
204 2016-02-18 Yao Qi <yao.qi@linaro.org>
205
206 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
207 Set "set breakpoint condition-evaluation" per $cond_bp_target.
208
209 2016-02-16 Doug Evans <dje@google.com>
210
211 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
212 * gdb.base/skip1.c: Ditto.
213 * gdb.base/skip.exp: Whitespace cleanup.
214
215 2016-02-16 Don Breazeal <donb@codesourcery.com>
216
217 PR remote/19496
218 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
219 Remove kfail for PR remote/19496.
220
221 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
222
223 * lib/gdb.exp (standard_temp_file): Return a path specific to
224 the runtest invocation.
225
226 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
227
228 * gdb.trace/save-trace.exp: Change relative path to be in the
229 standard output directory.
230
231 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
232
233 * gdb.arch/i386-prologue.c: Add missing prototypes.
234
235 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
236
237 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
238 * gdb.arch/i386-prologue.exp: Likewise.
239 * gdb.arch/i386-size.exp: Likewise.
240
241 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
242
243 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
244 define object file path.
245 * gdb.btrace/gcore.exp: Use standard_output_file to define core
246 file path.
247 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
248 standard_output_file to define binfile.
249
250 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
251
252 Fix compatibility with recent gfortran-5.3.1.
253 * gdb.fortran/vla-history.exp (print vla1 allocated)
254 (print vla2 allocated, print $2, print $3): Remove
255 (print $4): Rename to ...
256 (print $2): ... here.
257 (print $9): Rename to ...
258 (print $5): ... here.
259 (print $10): Rename to ...
260 (print $6): ... here.
261 * gdb.fortran/vla.f90: Add pvla initialization.
262
263 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
264
265 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
266 New test.
267 * gdb.fortran/vla-value-sub.exp: Likewise.
268
269 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
270
271 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
272
273 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
274
275 * i386-biarch-core.exp: Define corefile using
276 standard_output_file.
277
278 2016-02-12 Yao Qi <yao.qi@linaro.org>
279
280 * gdb.arch/arm-single-step-kernel-helper.c: New.
281 * gdb.arch/arm-single-step-kernel-helper.exp: New.
282
283 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
284
285 * gdb.btrace/tailcall-only.exp: New.
286 * gdb.btrace/tailcall-only.c: New.
287 * gdb.btrace/x86_64-tailcall-only.S: New.
288 * gdb.btrace/i686-tailcall-only.S: New.
289
290 2016-02-11 Pedro Alves <palves@redhat.com>
291
292 * README (Parallel testing): Add missing double quotes.
293
294 2016-02-11 Pedro Alves <palves@redhat.com>
295
296 * README (Parallel testing): New section.
297 (GDB_PARALLEL): Rewrite.
298 (FORCE_PARALLEL): Document.
299
300 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
301
302 * gdb.trace/tfile-avx.c: New test.
303 * gdb.trace/tfile-avx.exp: New test.
304
305 2016-02-09 Keith Seitz <keiths@redhat.com>
306
307 PR breakpoints/19546
308 * gdb.base/infcall-exec.c: New file.
309 * gdb.base/infcall-exec2.c: New file.
310 * gdb.base/infcall-exec.exp: New file.
311
312 2016-02-09 Keith Seitz <keiths@redhat.com>
313
314 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
315 (toplevel): Call test_bkpt_address.
316
317 2016-02-09 Keith Seitz <keiths@redhat.com>
318
319 PR python/19506
320 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
321 (toplevel): Call test_bkpt_address.
322
323 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
324
325 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
326 to AC_OUTPUT.
327 * configure: Regenerate.
328
329 2016-02-09 Pedro Alves <palves@redhat.com>
330
331 PR breakpoints/19548
332 * gdb.base/execl-update-breakpoints.c (some_function): New
333 function.
334 (main): Call it.
335 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
336 Tighten expected GDB output.
337
338 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
339
340 * Makefile.in (ALL_SUBDIRS): Remove.
341 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
342 (distclean maintainer-clean realclean): Likewise.
343 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
344 * configure: Regenerate.
345 * gdb.ada/Makefile.in: Delete.
346 * gdb.arch/Makefile.in: Likewise.
347 * gdb.asm/Makefile.in: Likewise.
348 * gdb.base/Makefile.in: Likewise.
349 * gdb.btrace/Makefile.in: Likewise.
350 * gdb.cell/Makefile.in: Likewise.
351 * gdb.compile/Makefile.in: Likewise.
352 * gdb.cp/Makefile.in: Likewise.
353 * gdb.disasm/Makefile.in: Likewise.
354 * gdb.dlang/Makefile.in: Likewise.
355 * gdb.dwarf2/Makefile.in: Likewise.
356 * gdb.fortran/Makefile.in: Likewise.
357 * gdb.gdb/Makefile.in: Likewise.
358 * gdb.go/Makefile.in: Likewise.
359 * gdb.guile/Makefile.in: Likewise.
360 * gdb.java/Makefile.in: Likewise.
361 * gdb.linespec/Makefile.in: Likewise.
362 * gdb.mi/Makefile.in: Likewise.
363 * gdb.modula2/Makefile.in: Likewise.
364 * gdb.multi/Makefile.in: Likewise.
365 * gdb.objc/Makefile.in: Likewise.
366 * gdb.opencl/Makefile.in: Likewise.
367 * gdb.opt/Makefile.in: Likewise.
368 * gdb.pascal/Makefile.in: Likewise.
369 * gdb.perf/Makefile.in: Likewise.
370 * gdb.python/Makefile.in: Likewise.
371 * gdb.reverse/Makefile.in: Likewise.
372 * gdb.server/Makefile.in: Likewise.
373 * gdb.stabs/Makefile.in: Likewise.
374 * gdb.threads/Makefile.in: Likewise.
375 * gdb.trace/Makefile.in: Likewise.
376 * gdb.xml/Makefile.in: Likewise.
377 * lib/gdb.exp (make_gdb_parallel_path): Add check for
378 GDB_PARALLEL.
379 (standard_output_file): Remove check for GDB_PARALLEL, always
380 return path in outputs/$subdir/$testname.
381
382 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
383
384 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
385 (site.exp): Assign abs_srcdir to tcl's srcdir.
386
387 2016-02-04 Yao Qi <yao.qi@linaro.org>
388
389 * gdb.base/foll-exec-mode.c: Include limits.h.
390 (main): Add parameters argc and argv. Get directory from
391 argv[0].
392 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
393 compilation.
394 * gdb.base/foll-exec.c: Include limits.h.
395 (main): Add parameters argc and argv.
396 Get directory from argv[0].
397 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
398 Adjust tests on the number of lines as source code changed.
399 * gdb.base/foll-vfork-exit.c: Include limits.h.
400 (main): Add one line of statement before vfork.
401 * gdb.base/foll-vfork.c: Include limits.h and string.h.
402 (main): Add parameters argc and argv. Get directory from
403 argv[0].
404 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
405 (setup_gdb): Set tbreak to skip some source lines.
406 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
407 (main): Add parameters argc and argv. Get directory from
408 argv[0].
409 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
410 compilation.
411 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
412 (main): Add parameters argc and argv. Get directory from
413 argv[0].
414 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
415 compilation.
416
417 2016-02-01 Doug Evans <dje@google.com>
418
419 * gdb.base/skip.exp: Clean up multiple references to same test name.
420
421 2016-02-01 Pedro Alves <palves@redhat.com>
422
423 PR remote/19496
424 * gdb.threads/forking-threads-plus-breakpoint.exp
425 (displaced_stepping_supported): New global.
426 (probe_displaced_stepping_support): New procedure.
427 (do_test): Add 'displaced' parameter, and use it.
428 (top level): Check for displaced stepping support. Add displaced
429 stepping on/off testing axis.
430
431 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
432
433 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
434 pointer. Don't perform further tests on the unassociated pointer
435 if the first test fails.
436
437 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
438
439 * gdb.base/max-value-size.c: New file.
440 * gdb.base/max-value-size.exp: New file.
441 * gdb.base/huge.exp: Disable max-value-size for this test.
442
443 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
444
445 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
446
447 2016-01-28 Yao Qi <yao.qi@linaro.org>
448
449 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
450
451 2016-01-25 Pedro Alves <palves@redhat.com>
452
453 PR threads/19461
454 * gdb.base/fork-running-state.c: New file.
455 * gdb.base/fork-running-state.exp: New file.
456
457 2016-01-25 Pedro Alves <palves@redhat.com>
458
459 PR gdb/19494
460 * gdb.base/catch-fork-kill.c: New file.
461 * gdb.base/catch-fork-kill.exp: New file.
462
463 2016-01-25 Pedro Alves <palves@redhat.com>
464
465 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
466 Delete, moved to lib/gdb.exp.
467 * gdb.threads/forking-threads-plus-breakpoint.exp
468 (foreach_with_prefix): Likewise.
469 * gdb.threads/process-dies-while-handling-bp.exp
470 (foreach_with_prefix): Likewise.
471 * lib/gdb.exp (foreach_with_prefix): New procedure.
472
473 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
474
475 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
476 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
477
478 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
479
480 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
481 endian targets.
482
483 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
484 Pedro Alves <palves@redhat.com>
485
486 Fix testsuite compatibility with Guile.
487 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
488 number.
489
490 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
491
492 Fix testsuite compatibility with Guile.
493 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
494 (thread 1): New test for backtrace through signal handler.
495
496 2016-01-22 Yao Qi <yao.qi@linaro.org>
497
498 PR testsuite/19491
499 * gdb.base/multi-forks.c: Include
500 ../lib/unbuffer_output.c
501 (main): Call gdb_unbuffer_output.
502
503 2016-01-21 Doug Evans <dje@google.com>
504
505 * lib/ada.exp (gdb_compile_ada): Fix typo.
506
507 2016-01-21 Joel Brobecker <brobecker@adacore.com>
508
509 * gdb.base/break-fun-addr.exp: New file.
510 * gdb.base/break-fun-addr1.c: New file.
511 * gdb.base/break-fun-addr2.c: New file.
512
513 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
514
515 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
516 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
517 enum flag values.
518
519 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
520
521 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
522 when GDB can not set the vector return value. Add more comments
523 for clarification.
524
525 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
526
527 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
528 command.
529
530 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
531
532 * Makefile.in (DO_RUNTEST): Add --status and update usages.
533
534 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
535
536 * Makefile.in (check-single): Pass --status to runtest.
537 (check/%.exp): Likewise.
538
539 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
540
541 * Makefile.in (check-parallel): Propagate return code from make
542 do-check-parallel.
543
544 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
545
546 * gdb.trace/ftrace.exp: Fix expected message on continue.
547 * gdb.trace/pending.exp: Fix expected message on continue.
548 * gdb.trace/trace-break.exp: Fix expected message on continue.
549
550 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
551
552 * lib/gdb.exp (gdb_test): Remove unused global references.
553
554 2016-01-18 Pedro Alves <palves@redhat.com>
555
556 * gdb.base/async-shell.exp: Adjust expected output.
557 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
558 * gdb.base/siginfo-thread.exp: Adjust expected output.
559 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
560 * gdb.java/jnpe.exp: Adjust expected output.
561 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
562 * gdb.threads/continue-pending-status.exp: Adjust expected output.
563 * gdb.threads/leader-exit.exp: Adjust expected output.
564 * gdb.threads/manythreads.exp: Adjust expected output.
565 * gdb.threads/pthreads.exp: Adjust expected output.
566 * gdb.threads/schedlock.exp: Adjust expected output.
567 * gdb.threads/siginfo-threads.exp: Adjust expected output.
568 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
569 expected output.
570 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
571 output.
572 * gdb.threads/sigthread.exp: Adjust expected output.
573 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
574
575 2016-01-18 Yao Qi <yao.qi@linaro.org>
576
577 * gdb.guile/scm-section-script.c: Replace @progbits with
578 %progbits.
579 * gdb.python/py-section-script.c: Likewise.
580
581 2016-01-15 Pedro Alves <palves@redhat.com>
582
583 * gdb.multi/tids.exp: Test star wildcard ranges.
584
585 2016-01-15 Pedro Alves <palves@redhat.com>
586
587 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
588 command from "thread apply" invocation.
589 (thr_apply_info_thr_invalid): Default the expected output to the
590 input tid list.
591 (top level): Add tests that use convenience variables. Add tests
592 for "thread apply" with a valid TID list, but missing the command.
593
594 2016-01-13 Pedro Alves <palves@redhat.com>
595
596 * gdb.base/default.exp: Expect $_gthread as well.
597 * gdb.multi/tids.exp: Test $_gthread.
598 * gdb.threads/thread-specific.exp: Test $_gthread.
599
600 2016-01-13 Pedro Alves <palves@redhat.com>
601
602 * gdb.multi/tids.exp: Test "info threads -gid".
603
604 2016-01-13 Pedro Alves <palves@redhat.com>
605
606 * gdb.multi/tids.exp: Test InferiorThread.global_num and
607 Breakpoint.thread.
608 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
609
610 2016-01-07 Pedro Alves <palves@redhat.com>
611
612 * gdb.base/break.exp: Adjust to output changes.
613 * gdb.base/hbreak2.exp: Likewise.
614 * gdb.base/sepdebug.exp: Likewise.
615 * gdb.base/watch_thread_num.exp: Likewise.
616 * gdb.linespec/keywords.exp: Likewise.
617 * gdb.multi/info-threads.exp: Likewise.
618 * gdb.threads/thread-find.exp: Likewise.
619 * gdb.multi/tids.c: New file.
620 * gdb.multi/tids.exp: New file.
621
622 2016-01-13 Pedro Alves <palves@redhat.com>
623
624 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
625
626 2016-01-13 Pedro Alves <palves@redhat.com>
627
628 * gdb.base/default.exp: Expect $_inferior as well.
629 * gdb.multi/base.exp: Test $_inferior.
630
631 2016-01-13 Pedro Alves <palves@redhat.com>
632
633 PR breakpoints/19388
634 * gdb.base/catch-signal-siginfo-cond.c: New file.
635 * gdb.base/catch-signal-siginfo-cond.exp: New file.
636
637 2016-01-12 Josh Stone <jistone@redhat.com>
638 Philippe Waroquiers <philippe.waroquiers@skynet.be>
639
640 * gdb.base/catch-syscall.c (do_execve): New variable.
641 (main): Conditionally trigger an execve.
642 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
643 (test_catch_syscall_execve): New, check entry/return across execve.
644 (do_syscall_tests): Call test_catch_syscall_execve.
645
646 2016-01-12 Pedro Alves <palves@redhat.com>
647
648 * gdb.base/random-signal.exp (do_test): New procedure, with body
649 of testcase moved in.
650
651 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
652 Pedro Alves <palves@redhat.com>
653
654 * gdb.base/funcargs.exp (finish from indirectly called function):
655 Reintroduce the case for 'First'.
656
657 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
658 Pedro Alves <palves@redhat.com>
659
660 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
661 (tcatch_vfork_then_child_follow_exec)
662 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
663 identification.
664
665 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
666
667 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
668 and repeats to unlimited.
669 * gdb.python/py-value.exp: Likewise.
670 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
671 and repeats to unlimited.
672
673 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
674
675 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
676 and reordering the functions.
677 * gdb.multi/hangout.c: Likewise.
678 * gdb.multi/hello.c: Likewise.
679
680 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
681
682 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
683 absolute.
684 (SingleStatisticTestResult.report): Use dict.keys instead of
685 dict.iterkeys.
686
687 2016-01-06 Pedro Alves <palves@redhat.com>
688
689 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
690
691 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
692
693 * gdb.btrace/dlopen.exp: New.
694 * gdb.btrace/dlopen.c: New.
695 * gdb.btrace/dlopen-dso.c: New.
696
697 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
698
699 * lib/gdb.exp (gdb_test): Update comments to clarify that the
700 PATTERN argument is optional.
701
702 2015-12-24 Joel Brobecker <brobecker@adacore.com>
703
704 * lib/ada.exp (target_compile_ada_from_dir): New function.
705 (gdb_compile_ada): Reimplement avoiding the use of project files.
706 * gdb.ada/gnat_ada.gpr: Delete.
707 * gdb.ada/cond_lang.exp: Adjust test to make path before
708 filename optional.
709 * gdb.ada/small_reg_param.exp: Likewise.
710
711 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
712
713 * gdb.base/foll-vork.exp: Remove HP-UX special case.
714
715 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
716
717 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
718 case.
719
720 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
721
722 * gdb.base/break.exp: Remove dead code.
723 * gdb.base/sepdebug.exp: Likewise.
724
725 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
726
727 * gdb.asm/asm-source.exp: Remove HP-UX references.
728 * gdb.base/annota1.exp: Likewise.
729 * gdb.base/annota3.exp: Likewise.
730 * gdb.base/attach.exp: Likewise.
731 * gdb.base/bigcore.exp: Likewise.
732 * gdb.base/break.exp: Likewise.
733 * gdb.base/call-ar-st.exp: Likewise.
734 * gdb.base/callfuncs.exp: Likewise.
735 * gdb.base/catch-fork-static.exp: Likewise.
736 * gdb.base/display.exp: Likewise.
737 * gdb.base/foll-exec-mode.exp: Likewise.
738 * gdb.base/foll-exec.exp: Likewise.
739 * gdb.base/foll-fork.exp: Likewise.
740 * gdb.base/foll-vfork.exp: Likewise.
741 * gdb.base/funcargs.exp: Likewise.
742 * gdb.base/hbreak2.exp: Likewise.
743 * gdb.base/inferior-died.exp: Likewise.
744 * gdb.base/interrupt.exp: Likewise.
745 * gdb.base/multi-forks.exp: Likewise.
746 * gdb.base/nodebug.exp: Likewise.
747 * gdb.base/sepdebug.exp: Likewise.
748 * gdb.base/solib1.c: Likewise.
749 * gdb.base/step-test.exp: Likewise.
750 * gdb.mi/non-stop.c: Likewise.
751 * gdb.mi/pthreads.c: Likewise.
752 * gdb.multi/bkpt-multi-exec.ex: Likewise.
753 * gdb.threads/pthreads.c: Likewise.
754 * gdb.threads/staticthreads.exp: Likewise.
755 * lib/future.exp: Likewise.
756 * lib/gdb.exp: Likewise.
757 * gdb.base/so-indr-cl.c: Remove.
758 * gdb.base/so-indr-cl.exp: Likewise.
759 * gdb.base/solib.c: Likewise.
760 * gdb.base/solib.exp: Likewise.
761 * gdb.base/solib2.c: Likewise.
762
763 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
764
765 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
766 * gdb.base/call-ar-st.exp: Likewise.
767 * gdb.base/callfuncs.exp: Likewise.
768 * gdb.base/condbreak.exp: Likewise.
769 * gdb.base/constvars.exp: Likewise.
770 * gdb.base/hbreak2.exp: Likewise.
771 * gdb.base/langs.exp: Likewise.
772 * gdb.base/list.exp: Likewise.
773 * gdb.base/long_long.exp: Likewise.
774 * gdb.base/ptype.exp: Likewise.
775 * gdb.base/scope.exp: Likewise.
776 * gdb.base/signals.exp: Likewise.
777 * gdb.base/so-impl-ld.exp: Likewise.
778 * gdb.base/varargs.exp: Likewise.
779 * gdb.base/volatile.exp: Likewise.
780 * gdb.base/whatis.exp: Likewise.
781 * gdb.cp/cplusfuncs.exp: Likewise.
782 * gdb.cp/inherit.exp: Likewise.
783 * gdb.cp/local.exp: Likewise.
784 * gdb.cp/member-ptr.exp: Likewise.
785 * gdb.cp/method.exp: Likewise.
786 * gdb.cp/overload.exp: Likewise.
787 * gdb.cp/templates.exp: Likewise.
788 * gdb.stabs/weird.exp: Likewise.
789 * lib/compiler.c: Likewise.
790 * lib/compiler.cc: Likewise.
791 * lib/cp-support.exp: Likewise.
792 * lib/gdb.exp: Likewise.
793
794 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
795
796 * configure.ac: Remove HP-UX case.
797 * configure: Regenerate.
798
799 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
800
801 * lib/gdb.exp (gdb_compile): Add function doc.
802
803 2015-12-17 Pedro Alves <palves@redhat.com>
804
805 PR threads/19354
806 * gdb.multi/info-threads.exp: New file.
807
808 2015-12-15 Yao Qi <yao.qi@linaro.org>
809
810 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
811 is aarch64*-*-*.
812
813 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
814
815 * gdb.base/history-duplicates.exp: Skip if no readline support.
816
817 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
818
819 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
820
821 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
822
823 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
824
825 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
826
827 * gdb.base/completion.exp: Skip tests that interrupt GDB with
828 ctrl-C if nointerrupts target property is set.
829 * gdb.base/double-prompt-target-event-error.exp: Likewise.
830 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
831 * gdb.base/paginate-bg-execution.exp: Likewise.
832 * gdb.base/paginate-execution-startup.exp: Likewise.
833 * gdb.base/random-signal.exp: Likewise.
834 * gdb.base/range-stepping.exp: Likewise.
835 * gdb.cp/annota2.exp: Likewise.
836 * gdb.cp/annota3.exp: Likewise.
837 * gdb.gdb/selftest.exp: Likewise.
838 * gdb.threads/continue-pending-status.exp: Likewise.
839 * gdb.threads/leader-exit.exp: Likewise.
840 * gdb.threads/manythreads.exp: Likewise.
841 * gdb.threads/pthreads.exp: Likewise.
842 * gdb.threads/schedlock.exp: Likewise.
843 * gdb.threads/sigthread.exp: Likewise.
844
845 2015-12-11 Don Breazeal <donb@codesourcery.com>
846
847 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
848 remote.
849 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
850 * gdb.base/foll-exec.exp (main): Enable for target remote.
851 * gdb.base/foll-fork.exp (main): Likewise.
852 * gdb.base/foll-vfork.exp (main): Likewise.
853 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
854 (proc continue_to_exit_bp_loc): Use clean_restart.
855 * gdb.base/pie-execl.exp (main): Disable for target remote.
856 * gdb.base/watch-vfork.exp (main): Enable for target remote.
857 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
858 * gdb.threads/execl.exp (main): Likewise.
859 * gdb.threads/fork-child-threads.exp (main): Likewise.
860 * gdb.threads/fork-plus-threads.exp (main): Disable for target
861 remote.
862 * gdb.threads/fork-thread-pending.exp (main): Enable for target
863 remote.
864 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
865 pid.tid style ptids, instead of just tid.
866 * gdb.threads/thread-execl.exp (main): Enable for target remote.
867 * gdb.threads/watchpoint-fork.exp (main): Likewise.
868 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
869 ptids, instead of just tid.
870
871 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
872
873 * gdb.base/list.exp (test_list_forward): Add end of file error
874 test.
875 (test_repeat_list_command): Add end of file error test.
876 (test_list_backwards): Add beginning of file error test.
877
878 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
879
880 * gdb.base/list.exp (test_list_invalid_args): New function,
881 defined, and called.
882
883 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
884
885 * gdb.base/list.exp (test_list): Make test names unique.
886
887 2015-12-11 Yao Qi <yao.qi@linaro.org>
888
889 * gdb.base/coremaker2.c: Remove.
890
891 2015-12-10 Pedro Alves <palves@redhat.com>
892
893 * gdb.multi/base.exp: Remove stale "spaces" references.
894
895 2015-12-10 Pedro Alves <palves@redhat.com>
896
897 * gdb.multi/base.exp: Don't use nowarnings.
898 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
899 * gdb.multi/hangout.c: Include stdio.h.
900 * gdb.multi/hello.c: Include stdlib.h.
901 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
902 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
903 * gdb.multi/multi-arch.exp: Don't use nowarnings.
904
905 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
906
907 * gdb.dwarf2/dw2-ranges-base.c: New file.
908 * gdb.dwarf2/dw2-ranges-base.exp: New file.
909 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
910 support additional line table, and debug ranges generation.
911 (Dwarf::ranges): New function, generate .debug_ranges.
912 (Dwarf::lines): Support generating simple line table programs.
913 (Dwarf::assemble): Initialise new namespace variables.
914
915 2015-12-09 Kevin Buettner <kevinb@redhat.com>
916
917 * gdb.base/async.exp (proc test_background): Add case for
918 asynchronous execution not supported.
919
920 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
921
922 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
923 format and change test names to make them unique.
924
925 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
926 Pedro Alves <pedro@redhat.com>
927
928 PR gdb/18702
929 Add checking of floatformats setup on x86_64 hosts.
930 * gdb.arch/i386-float.S (main): Load bigval and smallval.
931 (smallval, bigval): New labels/constants.
932 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
933 float" after loading bigval and smallval.
934
935 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
936
937 * gdb.ada/fun_overload_menu.exp: New testcase.
938 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
939
940 2015-12-04 Josh Stone <jistone@redhat.com>
941
942 * gdb.base/catch-fork-static.exp: New.
943
944 2015-12-03 Yao Qi <yao.qi@linaro.org>
945
946 * gdb.base/sizeof.c: Don't include stdio.h and
947 ../lib/unbuffer_output.c.
948 (main): New variable 'size' and 'value'. Remove printf and
949 gdb_unbuffer_output. Assign return value to size and value.
950 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
951 at the beginning.
952 (check_sizeof): Check the result by printing variable 'size'.
953 (check_valueof): Check the result by printing variable 'value'.
954
955 2015-12-01 Yao Qi <yao.qi@linaro.org>
956
957 * gdb.base/disp-step-syscall.exp: Define syscall instruction
958 for aarch64*-*-linux* target.
959
960 2015-11-30 Pedro Alves <palves@redhat.com>
961
962 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
963
964 2015-11-30 Pedro Alves <palves@redhat.com>
965
966 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
967 Handle non-stop mode vCont replies.
968
969 2015-11-30 Pedro Alves <palves@redhat.com>
970
971 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
972 prepare_for_testing. Start gdb with "set non-stop on" appended to
973 GDBFLAGS. Lax expected stop output.
974
975 2015-11-27 Yao Qi <yao.qi@linaro.org>
976
977 * gdb.arch/arm-neon.exp: New.
978 * gdb.arch/arm-neon.c: New.
979
980 2015-11-27 Yao Qi <yao.qi@linaro.org>
981
982 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
983
984 2015-11-27 Yao Qi <yao.qi@linaro.org>
985
986 * gdb.cp/annota2.exp: Allow multiple occurrences of the
987 frames-invalid annotation.
988
989 2015-11-27 Yao Qi <yao.qi@linaro.org>
990
991 * gdb.cp/annota2.exp: Use ${frames_invalid}.
992
993 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
994
995 * gdb.threads/names.exp: New file.
996 * gdb.threads/names.c: New file.
997 * README: Mention gdb,no_thread_names.
998
999 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1000
1001 PR 19297
1002 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1003 support" error.
1004
1005 2015-11-24 Pedro Alves <palves@redhat.com>
1006
1007 PR 17539
1008 * gdb.base/display.exp: Expect displays to be sorted in ascending
1009 order. Use multi_line.
1010 * gdb.base/solib-display.exp: Likewise.
1011
1012 2015-11-24 Pedro Alves <palves@redhat.com>
1013
1014 PR 17539
1015 * gdb.base/display.exp: Expect displays to be sorted in ascending
1016 order. Use multi_line.
1017 * gdb.base/solib-display.exp: Likewise.
1018
1019 2015-11-24 Pedro Alves <palves@redhat.com>
1020
1021 PR 17539
1022 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1023 threads in ascending order.
1024 * gdb.base/foll-fork.exp: Likewise.
1025 * gdb.base/foll-vfork.exp: Likewise.
1026 * gdb.base/multi-forks.exp: Likewise.
1027 * gdb.mi/mi-nonstop.exp: Likewise.
1028 * gdb.mi/mi-nsintrall.exp: Likewise.
1029 * gdb.multi/base.exp: Likewise.
1030 * gdb.multi/multi-arch.exp: Likewise.
1031 * gdb.python/py-inferior.exp: Likewise.
1032 * gdb.threads/break-while-running.exp: Likewise.
1033 * gdb.threads/execl.exp: Likewise.
1034 * gdb.threads/gcore-thread.exp: Likewise.
1035 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1036 * gdb.threads/kill.exp: Likewise.
1037 * gdb.threads/linux-dp.exp: Likewise.
1038 * gdb.threads/multiple-step-overs.exp: Likewise.
1039 * gdb.threads/next-bp-other-thread.exp: Likewise.
1040 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1041 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1042 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1043 * gdb.threads/thread-find.exp: Likewise.
1044 * gdb.threads/tls.exp: Likewise.
1045 * lib/mi-support.exp (mi_reverse_list): Delete.
1046 (mi_check_thread_states): No longer reverse list.
1047
1048 2015-11-24 Pedro Alves <palves@redhat.com>
1049
1050 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1051 use lowercase.
1052
1053 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1054
1055 * gdb.trace/actions.c: Include trace-common.h.
1056 (main): Add a location for a fast tracepoint.
1057 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1058 the normal tracepoints.
1059 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1060
1061 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1062
1063 * save-trace.exp: Factor out code to these...
1064 (gdb_save_tracepoints): New.
1065 (gdb_load_tracepoints): New.
1066 (do_save_load_test): New.
1067
1068 2015-11-23 Kevin Buettner <kevinb@redhat.com>
1069
1070 * gdb.base/asmlabel.exp: New test.
1071 * gdb.base/asmlabel.c: New test case.
1072
1073 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1074
1075 * gdb.base/wrong_frame_bt_full-main.c: New file.
1076 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1077 * gdb.base/wrong_frame_bt_full.exp: New file.
1078
1079 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1080
1081 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1082
1083 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1084
1085 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
1086 pstate register when comparing registers values in
1087 sparc64-*-linux-gnu targets to avoid spurious differences.
1088
1089 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1090
1091 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
1092
1093 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1094
1095 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1096 as type argument to gdb_compile.
1097 * gdb.base/nested-subp2.exp: Likewise.
1098 * gdb.base/nested-subp3.exp: Likewise.
1099
1100 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1101
1102 * lib/dwarf.exp (_note): Fix left shift of negative value.
1103 * gdb.trace/trace-condition.exp: Likewise.
1104
1105 2015-11-13 Yao Qi <yao.qi@linaro.org>
1106
1107 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1108 comments about d10v.
1109 (test_scalar_returns): Likewise.
1110 * gdb.base/d10v.ld: Remove.
1111 * gdb.base/overlays.exp: Remove the target triplet checking for
1112 d10v-*-*.
1113 * gdb.base/structs.exp (test_struct_returns): Remove the
1114 comments about d10v.
1115 (test_struct_calls): Likewise.
1116
1117 2015-11-13 Yao Qi <yao.qi@linaro.org>
1118
1119 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1120 * gdb.base/gnu_vector.c: Don't include stdio.h.
1121 (main): Don't print res and call add_some_intvecs.
1122
1123 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1124
1125 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1126 macro.
1127 (func5): Removed.
1128 (func4): Use FAST_TRACEPOINT_LABEL.
1129 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1130 macro.
1131 (func): Removed.
1132 (thread_function): Use FAST_TRACEPOINT_LABEL.
1133 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1134 (func): Remove.
1135 (marker): Use FAST_TRACEPOINT_LABEL.
1136 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1137 (pendfunc1): Remove.
1138 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1139 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1140 (foo): Remove.
1141 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1142 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1143 macro.
1144 (func): Remove.
1145 (marker): Use FAST_TRACEPOINT_LABEL.
1146 * gdb.trace/trace-common.h: New header.
1147 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1148 macro.
1149 (func): Remove.
1150 (marker): Use FAST_TRACEPOINT_LABEL.
1151 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1152 (func): Remove.
1153 (thread_function): Use FAST_TRACEPOINT_LABEL.
1154
1155 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
1156
1157 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1158 in front.
1159 * gdb.trace/change-loc.exp: Use global pcreg definition.
1160 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1161 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1162 in front.
1163 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1164 * gdb.trace/pending.exp: Likewise.
1165 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1166 * gdb.trace/trace-break.exp: Likewise.
1167 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1168 in front.
1169 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1170 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1171 in front.
1172 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1173
1174 2015-11-09 Joel Brobecker <brobecker@adacore.com>
1175
1176 * gdb.ada/fin_fun_out: New testcase.
1177
1178 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1179
1180 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1181 value associated with DW_AT_byte_size.
1182 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1183 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1184 DW_AT_upper_bound.
1185
1186 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1187
1188 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1189 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1190 version.
1191 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1192 gdb.dwarf2/dw2-canonicalize-type.exp,
1193 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1194 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1195 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1196 provided by gdb_target_symbol_prefix_flags_asm.
1197 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1198 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1199 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1200 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1201 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1202 macros where needed). Use this macro for symbols which require
1203 the prefix provided by SYMBOL_PREFIX.
1204
1205 2015-11-05 Kevin Buettner <kevinb@redhat.com>
1206
1207 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1208 New procs.
1209 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1210 representing expressions, of more than one list element.
1211 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1212 to prepend linker symbol prefix to f.
1213 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1214 table_1 and table_2.
1215 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1216 Likewise, for f and g.
1217 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1218 for ptr.
1219 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1220 for main.
1221 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1222 table_1_ptr and table_2_ptr.
1223
1224 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1225 Joel Brobecker <brobecker@adacore.com>
1226
1227 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1228
1229 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
1230
1231 * gdb.reverse/s390-mvcle.c: New test.
1232 * gdb.reverse/s390-mvcle.exp: New file.
1233 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1234
1235 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1236
1237 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1238
1239 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1240
1241 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1242 reaching marker2.
1243 * gdb.reverse/getresuid-reverse.exp: Likewise.
1244 * gdb.reverse/pipe-reverse.exp: Likewise.
1245 * gdb.reverse/readv-reverse.exp: Likewise.
1246 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1247 * gdb.reverse/time-reverse.exp: Likewise.
1248 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1249
1250 2015-10-30 Yao Qi <yao.qi@linaro.org>
1251
1252 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1253 (empty_cycle): Remove.
1254 (main): Don't call empty_cycle. Don't use watch_count_done.
1255 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1256 empty_cycle. Rewrite the code counting HW watchpoints.
1257
1258 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
1259
1260 * gdb.reverse/fstatat-reverse.c: New test.
1261 * gdb.reverse/fstatat-reverse.exp: New file.
1262 * gdb.reverse/getresuid-reverse.c: New test.
1263 * gdb.reverse/getresuid-reverse.exp: New file.
1264 * gdb.reverse/pipe-reverse.c: New test.
1265 * gdb.reverse/pipe-reverse.exp: New file.
1266 * gdb.reverse/readv-reverse.c: New test.
1267 * gdb.reverse/readv-reverse.exp: New file.
1268 * gdb.reverse/recvmsg-reverse.c: New test.
1269 * gdb.reverse/recvmsg-reverse.exp: New file.
1270 * gdb.reverse/time-reverse.c: New test.
1271 * gdb.reverse/time-reverse.exp: New file.
1272 * gdb.reverse/waitpid-reverse.c: New test.
1273 * gdb.reverse/waitpid-reverse.exp: New file.
1274
1275 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1276
1277 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1278
1279 2015-10-26 Doug Evans <dje@google.com>
1280
1281 PR symtab/17391
1282 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1283 * gdb.dwarf2/bad-regnum.c: New file.
1284 * gdb.dwarf2/bad-regnum.exp: New file.
1285
1286 2015-10-26 Doug Evans <dje@google.com>
1287
1288 PR python/18938
1289 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1290 file.
1291
1292 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1293
1294 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1295 for a change by "Mention language in compile error message".
1296
1297 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1298
1299 PR python/18073
1300 * gdb.python/py-type.c (C::a_method): New.
1301 (C::a_const_method): New.
1302 (C::a_static_method): New.
1303 (a_function): New.
1304 * gdb.python/py-type.exp (test_fields): Test getting fields
1305 from function and method.
1306
1307 2015-10-21 Keven Boell <keven.boell@intel.com>
1308
1309 * gdb.fortran/vla-alloc-assoc.exp: New file.
1310 * gdb.fortran/vla-datatypes.exp: New file.
1311 * gdb.fortran/vla-datatypes.f90: New file.
1312 * gdb.fortran/vla-history.exp: New file.
1313 * gdb.fortran/vla-ptype-sub.exp: New file.
1314 * gdb.fortran/vla-ptype.exp: New file.
1315 * gdb.fortran/vla-sizeof.exp: New file.
1316 * gdb.fortran/vla-sub.f90: New file.
1317 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1318 * gdb.fortran/vla-value-sub-finish.exp: New file.
1319 * gdb.fortran/vla-value-sub.exp: New file.
1320 * gdb.fortran/vla-value.exp: New file.
1321 * gdb.fortran/vla-ptr-info.exp: New file.
1322 * gdb.mi/mi-vla-fortran.exp: New file.
1323 * gdb.mi/vla.f90: New file.
1324
1325 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1326
1327 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1328 of hardwired timeout value.
1329
1330 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1331 Pedro Alves <palves@redhat.com>
1332
1333 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1334 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1335
1336 2015-10-19 Josh Stone <jistone@redhat.com>
1337
1338 * gdb.base/catch-syscall.c: Include <sched.h>.
1339 (unknown_syscall): New variable.
1340 (main): Trigger a vfork and an unknown syscall.
1341 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1342 (unknown_syscall_number): Likewise.
1343 (check_call_to_syscall): Accept an optional syscall pattern.
1344 (check_return_from_syscall): Likewise.
1345 (check_continue): Likewise.
1346 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1347 (test_catch_syscall_skipping_return): New test toggling off 'catch
1348 syscall' to step over the syscall return, then toggling back on.
1349 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1350 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1351 (do_syscall_tests): Call test_catch_syscall_without_args and
1352 test_catch_syscall_mid_vfork.
1353 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1354 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1355
1356 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
1357
1358 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1359 print g_vE): Add new pass patterns.
1360 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1361 print various symbol names for vptr fields.
1362
1363 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1364
1365 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1366 results.
1367
1368 2015-10-12 Yao Qi <yao.qi@linaro.org>
1369
1370 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1371
1372 2015-10-12 Yao Qi <yao.qi@linaro.org>
1373
1374 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1375 is aarch64*-*-linux*.
1376
1377 2015-10-12 Yao Qi <yao.qi@linaro.org>
1378
1379 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1380 (can_relocate_bcond_true): ... it.
1381 (can_relocate_bcond_false): New function.
1382 (foo): Likewise.
1383 (can_relocate_bl): Likewise.
1384 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1385 can_relocate_bl.
1386
1387 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1388
1389 * gdb.base/nested-addr.c: New file.
1390 * gdb.base/nested-addr.exp: New testcase.
1391
1392 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1393
1394 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1395 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1396 its output. Ignore the output of "record goto begin" and instead
1397 check that GDB is replaying.
1398
1399 2015-10-09 Pedro Alves <palves@redhat.com>
1400
1401 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1402 (top level): Use it in the run with no args test.
1403
1404 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1405
1406 * gdb.dlang/properties.exp: New file.
1407
1408 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1409
1410 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1411 whether or not address 0x1000 is mapped on the target.
1412
1413 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1414
1415 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1416 build.
1417
1418 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1419
1420 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1421 instruction-history test.
1422
1423 2015-09-28 Doug Evans <dje@google.com>
1424
1425 * gdb.base/gcore.c (array_func): Add reference to static_array.
1426
1427 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1428
1429 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1430 source line.
1431
1432 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1433
1434 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1435 short or char as base type.
1436
1437 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1438
1439 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1440 to allow any size enum.
1441
1442 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1443
1444 * gdb.ada/array_ptr_renaming.exp: New testcase.
1445 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1446 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1447
1448 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1449
1450 * gdb.trace/ftrace-lock.c: New file.
1451 * gdb.trace/ftrace-lock.exp: New file.
1452
1453 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1454
1455 * gdb.arch/insn-reloc.c: New file.
1456 * gdb.arch/ftrace-insn-reloc.exp: New file.
1457
1458 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1459
1460 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1461 instruction.
1462 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1463 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1464 * gdb.trace/range-stepping.c: Likewise.
1465 * gdb.trace/trace-break.c: Likewise.
1466 * gdb.trace/trace-mt.c (thread_function): Likewise.
1467 * gdb.trace/ftrace.c (marker): Likewise.
1468 * gdb.trace/trace-condition.c (marker): Likewise.
1469 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1470 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1471 is_aarch64_target.
1472
1473 2015-09-18 Doug Evans <xdje42@gmail.com>
1474
1475 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1476 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1477
1478 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1479
1480 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1481 the breakpoint.
1482
1483 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1484
1485 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1486 the pending breakpoint. Remove timeout override for "Run till
1487 MI pending breakpoint on pendfunc3 on thread 2" test.
1488
1489 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1490
1491 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1492 filename pattern.
1493
1494 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1495
1496 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1497 in breakpoint filename pattern.
1498
1499 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1500
1501 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1502
1503 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1504
1505 * gdb.linespec/explicit.exp: Check for readline support for
1506 tab-completion tests. Fix obvious typo.
1507
1508 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1509
1510 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1511 and replay.
1512
1513 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1514
1515 * gdb.btrace/non-stop.c: New.
1516 * gdb.btrace/non-stop.exp: New.
1517
1518 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1519 Yao Qi <yao.qi@linaro.org>
1520
1521 * gdb.trace/trace-condition.c: New file.
1522 * gdb.trace/trace-condition.exp: New file.
1523
1524 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
1525
1526 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1527 for testing bytecode compilation.
1528
1529 2015-09-16 Pedro Alves <palves@redhat.com>
1530 Sandra Loosemore <sandra@codesourcery.com>
1531
1532 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1533 (SECONDS): Redefine.
1534 (main): Call pthread_kill and alarm early.
1535 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1536 support.
1537 (test): If the target can't hardware step and doesn't support
1538 displaced stepping, increase the timeout.
1539
1540 2015-09-16 Pedro Alves <palves@redhat.com>
1541
1542 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1543 (enable_debug): New procedures.
1544 (test): Use them. Bail out if waiting for threads fails.
1545 (top level): Bail out if a test fails.
1546
1547 2015-09-16 Yao Qi <yao.qi@linaro.org>
1548
1549 * gdb.asm/asm-source.exp: Set asm-arch for
1550 aarch64*-*-* target.
1551 * gdb.asm/aarch64.inc: New file.
1552
1553 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1554
1555 * gdb.ada/array_of_variable_length.exp: New testcase.
1556 * gdb.ada/array_of_variable_length/foo.adb: New file.
1557 * gdb.ada/array_of_variable_length/pck.adb: New file.
1558 * gdb.ada/array_of_variable_length/pck.ads: New file.
1559
1560 2015-09-15 Doug Evans <dje@google.com>
1561
1562 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1563 of function static local variable.
1564
1565 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1566
1567 * gdb.threads/tls-so_extern.exp: New test file.
1568 * gdb.threads/tls-so_extern.c: New test file.
1569 * gdb.threads/tls-so_extern_main.c: New test file.
1570
1571 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1572
1573 * gdb.opt/solib-intra-step-lib.c: New file.
1574 * gdb.opt/solib-intra-step-main.c: New file.
1575 * gdb.opt/solib-intra-step.exp: New file.
1576
1577 2015-09-15 Pedro Alves <palves@redhat.com>
1578
1579 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1580 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1581
1582 2015-09-14 Pedro Alves <palves@redhat.com>
1583
1584 * gdb.base/hook-stop-continue.c: Delete.
1585 * gdb.base/hook-stop-continue.exp: Delete.
1586 * gdb.base/hook-stop-frame.c: Delete.
1587 * gdb.base/hook-stop-frame.exp: Delete.
1588 * gdb.base/hook-stop.c: New file.
1589 * gdb.base/hook-stop.exp: New file.
1590
1591 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1592
1593 * gdb.ada/access_to_packed_array.exp: New testcase.
1594 * gdb.ada/access_to_packed_array/foo.adb: New file.
1595 * gdb.ada/access_to_packed_array/pack.adb: New file.
1596 * gdb.ada/access_to_packed_array/pack.ads: New file.
1597
1598 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1599
1600 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1601 buffer size test.
1602
1603 2015-09-11 Don Breazeal <donb@codesourcery.com>
1604
1605 * gdb.base/foll-exec.c: Add copyright header. Fix
1606 formatting issues.
1607 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1608 (do_exec_tests): Use clean_restart in place of zap_session,
1609 and for test initialization. Fix formatting issues. Use
1610 fail in place of perror.
1611 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1612 an expect statement to match an expression with output from
1613 the program under debug.
1614 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1615 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1616 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1617 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1618 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1619
1620 2015-09-09 Doug Evans <dje@google.com>
1621
1622 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1623
1624 2015-09-09 Doug Evans <dje@google.com>
1625
1626 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1627
1628 2015-09-09 Doug Evans <dje@google.com>
1629
1630 * gdb.base/savedregs.exp: Fix typo.
1631
1632 2015-09-09 Pedro Alves <palves@redhat.com>
1633
1634 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1635
1636 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1637
1638 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1639 command actually switches threads. Give up on remaining
1640 tests if target fails to stop at breakpoint.
1641
1642 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1643
1644 * gdb.ada/funcall_char.exp: New testcase.
1645 * gdb.ada/funcall_char/foo.adb: New file.
1646
1647 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1648
1649 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1650 expected outputs. Add two testcases for completing ambiguous
1651 functions.
1652 * gdb.ada/complete/aux_pck.adb: New file.
1653 * gdb.ada/complete/aux_pck.ads: New file.
1654 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1655 Ambiguous_Func functions.
1656 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1657 * gdb.ada/complete/pck.adb: Likewise.
1658
1659 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1660
1661 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1662 failures to run the test program under GDB.
1663
1664 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
1665
1666 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1667 to C.
1668
1669 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1670
1671 * gdb.base/run-after-attach.exp: New test file.
1672 * gdb.base/run-after-attach.c: New test file.
1673
1674 2015-08-26 Don Breazeal <donb@codesourcery.com>
1675
1676 * gdb.base/foll-exec-2.c: New test program.
1677 * gdb.base/foll-exec-2.exp: New test.
1678
1679 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1680
1681 * gdb.base/nested-subp1.exp: New file.
1682 * gdb.base/nested-subp1.c: New file.
1683 * gdb.base/nested-subp2.exp: New file.
1684 * gdb.base/nested-subp2.c: New file.
1685 * gdb.base/nested-subp3.exp: New file.
1686 * gdb.base/nested-subp3.c: New file.
1687
1688 2015-08-24 Pedro Alves <palves@redhat.com>
1689
1690 * gdb.server/connect-without-multi-process.c: New file.
1691 * gdb.server/connect-without-multi-process.exp: New file.
1692
1693 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1694
1695 * gdb.opt/inline-markers.c: Make z int.
1696
1697 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1698
1699 * gdb.opt/inline-markers.c: Make z volatile.
1700
1701 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1702
1703 * gdb.opt/inline-bt.c: New volatile global z.
1704 * gdb.opt/inline-cmds.c: Likewise.
1705 * gdb.opt/inline-locals.c: Likewise.
1706 * gdb.opt/inline-markers.c: New extern global z.
1707 (marker): Use z.
1708 (inline_fn): Likewise.
1709
1710 2015-08-24 Pedro Alves <palves@redhat.com>
1711
1712 * config/m32r-stub.exp: Remove file.
1713 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1714 * gdb.base/call-rt-st.exp: Likewise.
1715 * gdb.base/call-strs.exp: Likewise.
1716 * gdb.base/default.exp: Remove references to h8300-*-hms and
1717 *-*-udi*.
1718 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1719
1720 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1721
1722 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1723 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1724 and "return" use KFAIL when GDB can not read/write the vector
1725 return value.
1726
1727 2015-08-21 Gary Benson <gbenson@redhat.com>
1728
1729 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1730
1731 2015-08-20 Pedro Alves <palves@redhat.com>
1732
1733 * gdb.server/solib-list.exp: No longer expect an interior stop in
1734 non-stop mode.
1735
1736 2015-08-20 Pedro Alves <palves@redhat.com>
1737
1738 * gdb.server/connect-stopped-target.c: New file.
1739 * gdb.server/connect-stopped-target.exp: New file.
1740
1741 2015-08-20 Pedro Alves <palves@redhat.com>
1742
1743 * gdb.dwarf2/comp-unit-lang.exp: New file.
1744 * gdb.dwarf2/comp-unit-lang.c: New file.
1745
1746 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1747
1748 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1749 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1750
1751 2015-08-19 Kevin Buettner <kevinb@redhat.com>
1752
1753 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1754 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1755
1756 2015-08-18 Doug Evans <dje@google.com>
1757 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1758
1759 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1760 skip_python_tests. New arg prompt_regexp.
1761 (skip_python_tests): New function.
1762 * lib/mi-support.exp (mi_skip_python_tests): New function.
1763 * gdb.python/py-mi-objfile-gdb.py: New file.
1764 * gdb.python/py-mi-objfile.c: New file.
1765 * gdb.python/py-mi-objfile.exp: New file.
1766
1767 2015-08-17 Keith Seitz <keiths@redhat.com>
1768
1769 * gdb.linespec/explicit.exp: Move strace test from here ...
1770 * gdb.trace/strace.exp: ... to here.
1771
1772 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1773
1774 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1775 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1776
1777 2015-08-14 Doug Evans <xdje42@gmail.com>
1778
1779 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
1780 inferior before selecting a new file.
1781
1782 2015-08-14 Doug Evans <xdje42@gmail.com>
1783
1784 * gdb.mi/mi-disassemble.exp: Update.
1785 * gdb.base/disasm-optim.S: New file.
1786 * gdb.base/disasm-optim.c: New file.
1787 * gdb.base/disasm-optim.h: New file.
1788 * gdb.base/disasm-optim.exp: New file.
1789
1790 2015-08-14 Keith Seitz <keiths@redhat.com>
1791
1792 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
1793 "evaluated-by".
1794
1795 2015-08-13 Joel Brobecker <brobecker@adacore.com>
1796
1797 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
1798
1799 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
1800
1801 * gdb.ada/fun_renaming.exp: New testcase.
1802 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
1803 * gdb.ada/fun_renaming/pack.adb: New file.
1804 * gdb.ada/fun_renaming/pack.ads: New file.
1805
1806 2015-08-12 Keith Seitz <keiths@redhat.com>
1807
1808 * gdb.base/dso2dso.exp: Pass basename of source file in call to
1809 gdb_get_line_number.
1810
1811 2015-08-12 Joel Brobecker <brobecker@adacore.com>
1812
1813 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
1814 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
1815 gdb.base/dso2dso.exp: New files.
1816
1817 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
1818 Pedro Alves <palves@redhat.com>
1819 Keith Seitz <keiths@redhat.com>
1820
1821 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
1822 GDBFLAGS.
1823
1824 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1825
1826 * gdb.base/gdbhistsize-history.exp
1827 (test_histsize_history_setting): Use save_vars.
1828 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1829 Use save_vars.
1830 (test_no_truncation_of_unlimited_history_file): Use save_vars.
1831 * gdb.base/readline.exp: Use save_vars.
1832
1833 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1834
1835 * lib/gdb.exp (save_vars): New proc.
1836
1837 2015-08-11 Keith Seitz <keiths@redhat.com>
1838
1839 * gdb.base/help.exp: Update help_breakpoint_text.
1840
1841 2015-08-11 Keith Seitz <keiths@redhat.com>
1842
1843 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
1844 (at toplevel): Call test_explicit_breakpoints.
1845 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
1846 breakpoints.
1847 * lib/mi-support.exp (mi_make_breakpoint): Add support for
1848 breakpoint conditions, "-cond".
1849
1850 2015-08-11 Keith Seitz <keiths@redhat.com>
1851
1852 * gdb.linespec/3explicit.c: New file.
1853 * gdb.linespec/cpexplicit.cc: New file.
1854 * gdb.linespec/cpexplicit.exp: New file.
1855 * gdb.linespec/explicit.c: New file.
1856 * gdb.linespec/explicit.exp: New file.
1857 * gdb.linespec/explicit2.c: New file.
1858 * gdb.linespec/ls-errs.exp: Add explicit location tests.
1859 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
1860 before using in the matching pattern.
1861 Clarify that `prefix' is a regular expression.
1862
1863 2015-08-11 Keith Seitz <keiths@redhat.com>
1864
1865 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
1866 test.
1867 Add tests for missing ",FMT" and ",".
1868
1869 2015-08-10 Doug Evans <dje@google.com>
1870 Keith Seitz <keiths@redhat.com>
1871
1872 PR gdb/17960
1873 * gdb.base/completion.exp: Add location completer tests.
1874
1875 2015-08-07 Pedro Alves <palves@redhat.com>
1876
1877 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
1878 tests here.
1879 (top level): Run do_test with and without displaced stepping.
1880
1881 2015-08-07 Pedro Alves <palves@redhat.com>
1882
1883 * gdb.base/valgrind-disp-step.c: New file.
1884 * gdb.base/valgrind-disp-step.exp: New file.
1885
1886 2015-08-07 Pedro Alves <palves@redhat.com>
1887
1888 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
1889 Delete function.
1890 (main): Add alarm. Run an infinite loop instead of calling
1891 wait_threads.
1892 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
1893 comment.
1894 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
1895 Delete function.
1896 (main): Add alarm. Run an infinite loop instead of calling
1897 wait_threads.
1898 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
1899 comment.
1900
1901 2015-08-07 Pedro Alves <palves@redhat.com>
1902
1903 * gdb.base/checkpoint-ns.exp: New file.
1904 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
1905 standard_testfile.
1906
1907 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
1908
1909 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
1910 * gdb.btrace/instruction_history.exp: Update.
1911 * gdb.btrace/tsx.exp: New.
1912 * gdb.btrace/tsx.c: New.
1913
1914 2015-08-06 Pedro Alves <palves@redhat.com>
1915
1916 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
1917 increase timeout.
1918 * gdb.reverse/until-precsave.exp: Bump timeouts.
1919
1920 2015-08-06 Pedro Alves <palves@redhat.com>
1921
1922 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
1923
1924 2015-08-06 Pedro Alves <palves@redhat.com>
1925
1926 PR gdb/18749
1927 * gdb.threads/process-dies-while-handling-bp.c: New file.
1928 * gdb.threads/process-dies-while-handling-bp.exp: New file.
1929
1930 2015-08-06 Pedro Alves <palves@redhat.com>
1931
1932 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
1933 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
1934
1935 2015-08-05 Pedro Alves <palves@redhat.com>
1936
1937 * gdb.threads/next-while-other-thread-longjmps.c: New file.
1938 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
1939
1940 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
1941
1942 * gdb.base/bp-permanent.exp: Report test as unsupported if
1943 the target cannot stop at the permanent breakpoint.
1944
1945 2015-08-03 Doug Evans <dje@google.com>
1946
1947 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
1948 10000.
1949
1950 2015-08-03 Doug Evans <dje@google.com>
1951
1952 * Makefile.in (workers/%.worker, build-perf): New rule.
1953 (GDB_PERFTEST_MODE): New variable.
1954 (check-perf): Use it.
1955 (clean): Clean up gdb.perf parallel build subdirs.
1956 * lib/build-piece.exp: New file.
1957 * lib/gdb.exp (make_gdb_parallel_path): New function
1958 (standard_output_file, standard_temp_file): Call it.
1959 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1960 of $GDB_PARALLEL.
1961 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
1962
1963 2015-08-03 Doug Evans <dje@google.com>
1964
1965 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
1966 (LOG_FILE_NAME): New global.
1967 (TextReporter.__init__): Initialize self.txt_sum.
1968 (TextReporter.report): Add support for multiple data-points.
1969 Move report to perftest.sum, put raw data in perftest.log.
1970 (TextReporter.start): Open sum and log files.
1971 (TextReporter.end): Close sum and log files.
1972 * gdb.perf/lib/perftest/testresult.py
1973 (SingleStatisticTestResult.record): Handle multiple data-points.
1974
1975 2015-07-31 Pedro Alves <palves@redhat.com>
1976
1977 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
1978 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1979 kill_wait_spawned_process instead of explicit "kill -9".
1980 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
1981 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1982 kill_wait_spawned_process.
1983 * gdb.base/attach-twice.exp: Likewise.
1984 * gdb.base/attach.exp: Likewise.
1985 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
1986 gdb_test_multiple.
1987 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
1988 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1989 kill_wait_spawned_process.
1990 * gdb.base/valgrind-infcall.exp: Likewise.
1991 * gdb.multi/multi-attach.exp: Likewise.
1992 * gdb.python/py-prompt.exp: Likewise.
1993 * gdb.python/py-sync-interp.exp: Likewise.
1994 * gdb.server/ext-attach.exp: Likewise.
1995 * gdb.threads/attach-into-signal.exp (corefunc): Use
1996 spawn_wait_for_attach, spawn_id_get_pid and
1997 kill_wait_spawned_process.
1998 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
1999 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2000 spawn_id_get_pid and kill_wait_spawned_process.
2001 * gdb.threads/attach-stopped.exp (corefunc): Use
2002 spawn_wait_for_attach, spawn_id_get_pid and
2003 kill_wait_spawned_process.
2004 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2005 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2006 kill_wait_spawned_process instead of explicit "kill -9".
2007 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2008 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2009 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2010 processes. Don't map cygwin/windows pids here. Now returns a
2011 spawn id list.
2012
2013 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2014
2015 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2016 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2017 correct patch.
2018
2019 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2020
2021 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2022
2023 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2024
2025 Reapply:
2026 2014-05-21 Mark Wielaard <mjw@redhat.com>
2027
2028 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2029
2030 2015-07-30 Pedro Alves <palves@redhat.com>
2031
2032 * linux-low.c (handle_extended_wait): Set the child's last
2033 reported status to TARGET_WAITKIND_STOPPED.
2034
2035 2015-07-30 Pedro Alves <palves@redhat.com>
2036
2037 PR threads/18600
2038 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2039 only shows inferior 1.
2040
2041 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2042 Pedro Alves <palves@redhat.com>
2043
2044 PR threads/18600
2045 * gdb.threads/fork-plus-threads.c: New file.
2046 * gdb.threads/fork-plus-threads.exp: New file.
2047
2048 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2049
2050 * gdb.base/batch-preserve-term-settings.exp
2051 (test_terminal_settings_preserved_after_cli_exit): Use
2052 send_quit_command.
2053
2054 2015-07-29 Pedro Alves <palves@redhat.com>
2055 Don Breazeal <donb@codesourcery.com>
2056
2057 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2058 output from both inferior_spawn_id and gdb_spawn_id.
2059
2060 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2061
2062 * gdb.threads/attach-into-signal.exp (corefunc): Use
2063 with_test_prefix on nested loops, uniquefying the test messages.
2064
2065 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2066
2067 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2068 commit.
2069
2070 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2071
2072 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2073 New proc.
2074 (test_terminal_settings_preserved_after_sigterm): New test.
2075
2076 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2077
2078 * gdb.base/batch-preserve-term-settings.exp
2079 (test_terminal_settings_preserved_after_cli_exit): New test.
2080
2081 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2082
2083 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2084 manipulation of saved_gdbflags.
2085 (test_terminal_settings_preserved): Remove global declaration of
2086 the unused variable pagination_prompt. Remove manipulation of
2087 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2088 GDBFLAGS.
2089
2090 2015-07-29 Pedro Alves <palves@redhat.com>
2091
2092 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2093
2094 2015-07-29 Pedro Alves <palves@redhat.com>
2095
2096 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2097 at the top.
2098
2099 2015-07-29 Pedro Alves <palves@redhat.com>
2100
2101 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2102 (main): Call gdb_unbuffer_output.
2103 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2104 (main): Call gdb_unbuffer_output.
2105 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2106 (main): Call gdb_unbuffer_output.
2107 * gdb.base/call-strs.exp: Adjust to step over the
2108 gdb_unbuffer_output call.
2109 * gdb.base/catch-gdb-caused-signals.c: Include
2110 "../lib/unbuffer_output.c".
2111 (main): Call gdb_unbuffer_output.
2112 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2113 (main): Call gdb_unbuffer_output.
2114 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2115 (main): Call gdb_unbuffer_output.
2116 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2117 (main): Call gdb_unbuffer_output.
2118 * gdb.base/shlib-call.exp: Adjust to step over the
2119 gdb_unbuffer_output call.
2120 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2121 (main): Call gdb_unbuffer_output.
2122 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2123 (main): Call gdb_unbuffer_output.
2124 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2125 (main): Rename to ...
2126 (test): ... this.
2127 (main): Reimplement.
2128 * gdb.base/varargs.exp: Run to test instead of to main.
2129 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2130 (main): Call gdb_unbuffer_output.
2131
2132 2015-07-29 Pedro Alves <palves@redhat.com>
2133
2134 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2135 factore out from mi_continue_dprintf. For call-style dprintfs,
2136 expect dprintf output out of $inferior_spawn_id.
2137 (mi_continue_dprintf): Use mi_expect_dprintf.
2138 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2139 (main): Call gdb_unbuffer_output.
2140
2141 2015-07-29 Pedro Alves <palves@redhat.com>
2142
2143 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2144 (default_mi_gdb_start): Set inferior_spawn_id instead of
2145 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2146 gdb_spawn_id.
2147 (mi_gdb_test): Always expect inferior output from both
2148 $inferior_spawn_id and $gdb_spawn_id.
2149
2150 2015-07-29 Pedro Alves <palves@redhat.com>
2151
2152 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2153 send_inferior and $inferior_spawn_id.
2154
2155 2015-07-29 Pedro Alves <palves@redhat.com>
2156
2157 * gdb.gdb/complaints.exp (test_initial_complaints)
2158 (test_serial_complaints, test_short_complaints): Use
2159 gdb_test_stdio.
2160 (test_empty_complaint): Handle $inferior_spawn_id !=
2161 $gdb_spawn_id.
2162
2163 2015-07-29 Pedro Alves <palves@redhat.com>
2164
2165 * gdb.base/varargs.exp: Use gdb_test_stdio.
2166
2167 2015-07-29 Pedro Alves <palves@redhat.com>
2168
2169 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2170
2171 2015-07-29 Pedro Alves <palves@redhat.com>
2172
2173 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2174
2175 2015-07-29 Pedro Alves <palves@redhat.com>
2176
2177 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2178 parameter into two new parameters, "inf_result" and "gdb_result".
2179 Expect inferior output and gdb output from $inferior_spawn_id and
2180 $gdb_spawn_id, respectively. Adjust all callers.
2181
2182 2015-07-29 Pedro Alves <palves@redhat.com>
2183
2184 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2185 of gdb_test_sequence.
2186
2187 2015-07-29 Pedro Alves <palves@redhat.com>
2188
2189 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2190 (saw_spurious_output): Expect inferior output from
2191 $inferior_spawn_id. Use gdb_test_stdio.
2192
2193 2015-07-29 Pedro Alves <palves@redhat.com>
2194
2195 * gdb.base/dprintf.exp: Use standard_testfile. Change
2196 prepare_for_testing call.
2197 (srcfile): Don't set.
2198 (restart): New procedure.
2199 (test_dprintf): New procecure, use to continue over dprintfs.
2200 (test_call, test_agent): New procedures, tests moved here.
2201 Restart gdb and recreate dprintfs. Adjust expected output.
2202
2203 2015-07-29 Pedro Alves <palves@redhat.com>
2204
2205 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2206
2207 2015-07-29 Pedro Alves <palves@redhat.com>
2208
2209 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2210
2211 2015-07-29 Pedro Alves <palves@redhat.com>
2212
2213 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2214 gdb_test_stdio.
2215
2216 2015-07-29 Pedro Alves <palves@redhat.com>
2217
2218 * lib/gdb.exp (gdb_test_stdio): New procedure.
2219
2220 2015-07-29 Pedro Alves <palves@redhat.com>
2221
2222 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2223
2224 2015-07-29 Pedro Alves <palves@redhat.com>
2225
2226 * gdb.base/call-signal-resume.exp: Remove check for
2227 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2228 * gdb.base/unwindonsignal.exp: Likewise.
2229 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2230 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2231
2232 2015-07-29 Pedro Alves <palves@redhat.com>
2233
2234 * gdb.base/siginfo-addr.c (pass): New function.
2235 (handler): Call it iff si_addr is correct.
2236 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2237 Set a breakpoint at "pass" and continue to it.
2238
2239 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2240
2241 * gdb.python/py-objfile.exp: Make some tests have unique names.
2242 * gdb.python/py-pp-registration.exp: Likewise.
2243
2244 2015-07-28 Pedro Alves <palves@redhat.com>
2245
2246 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2247
2248 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2249
2250 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2251
2252 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2253
2254 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2255
2256 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2257
2258 * gdb.base/gdb-sigterm-2.exp: New test.
2259
2260 2015-07-25 Doug Evans <xdje42@gmail.com>
2261
2262 Revert:
2263 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2264 (workers/%.worker, build-perf): New rule.
2265 (GDB_PERFTEST_MODE): New variable.
2266 (check-perf): Use it.
2267 (clean): Clean up gdb.perf parallel build subdirs.
2268 * lib/build-piece.exp: New file.
2269 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2270 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2271 name.
2272 (standard_temp_file): Ditto.
2273 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2274 of $GDB_PARALLEL.
2275
2276 2015-07-24 Doug Evans <dje@google.com>
2277
2278 * gdb.perf/lib/perftest/utils.py: New file.
2279 * gdb.perf/gm-hello.cc: New file.
2280 * gdb.perf/gm-pervasive-typedef.cc: New file.
2281 * gdb.perf/gm-pervasive-typedef.h: New file.
2282 * gdb.perf/gm-std.cc: New file.
2283 * gdb.perf/gm-std.h: New file.
2284 * gdb.perf/gm-use-cerr.cc: New file.
2285 * gdb.perf/gm-utils.h: New file.
2286 * gdb.perf/gmonster-null-lookup.py: New file.
2287 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2288 * gdb.perf/gmonster-print-cerr.py: New file.
2289 * gdb.perf/gmonster-ptype-string.py: New file.
2290 * gdb.perf/gmonster-runto-main.py: New file.
2291 * gdb.perf/gmonster-select-file.py: New file.
2292 * gdb.perf/gmonster1-null-lookup.exp: New file.
2293 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2294 * gdb.perf/gmonster1-print-cerr.exp: New file.
2295 * gdb.perf/gmonster1-ptype-string.exp: New file.
2296 * gdb.perf/gmonster1-runto-main.exp: New file.
2297 * gdb.perf/gmonster1-select-file.exp: New file.
2298 * gdb.perf/gmonster1.cc: New file.
2299 * gdb.perf/gmonster1.exp: New file.
2300 * gdb.perf/gmonster2-null-lookup.exp: New file.
2301 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2302 * gdb.perf/gmonster2-print-cerr.exp: New file.
2303 * gdb.perf/gmonster2-ptype-string.exp: New file.
2304 * gdb.perf/gmonster2-runto-main.exp: New file.
2305 * gdb.perf/gmonster2-select-file.exp: New file.
2306 * gdb.perf/gmonster2.cc: New file.
2307 * gdb.perf/gmonster2.exp: New file.
2308
2309 2015-07-24 Doug Evans <dje@google.com>
2310
2311 * gdb.perf/README: New file.
2312 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2313 * lib/gen-perf-test.exp: New file.
2314
2315 2015-07-24 Doug Evans <dje@google.com>
2316
2317 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2318 (PerfTest::startup): New function.
2319 (PerfTest::run): Return result of calling body.
2320 (PerfTest::assemble): Rewrite.
2321 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2322 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2323 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2324 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2325 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2326
2327 2015-07-24 Doug Evans <dje@google.com>
2328
2329 * lib/gdb.exp (clean_restart): Make executable optional.
2330
2331 2015-07-24 Doug Evans <dje@google.com>
2332
2333 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2334 compiler_info references.
2335 * gdb.cp/temargs.exp: Ditto.
2336 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2337 (get_compiler_info): Early exit if already computed. Set compiler_info
2338 to "unknown" if there was a problem.
2339 (test_compiler_info): Add function comment. Call get_compiler_info.
2340
2341 2015-07-24 Doug Evans <dje@google.com>
2342
2343 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2344 (workers/%.worker, build-perf): New rule.
2345 (GDB_PERFTEST_MODE): New variable.
2346 (check-perf): Use it.
2347 (clean): Clean up gdb.perf parallel build subdirs.
2348 * lib/build-piece.exp: New file.
2349 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2350 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2351 name.
2352 (standard_temp_file): Ditto.
2353 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2354 of $GDB_PARALLEL.
2355
2356 2015-07-24 Doug Evans <dje@google.com>
2357
2358 * lib/future.exp (gdb_default_target_compile): New option
2359 "early_flags".
2360 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2361 --as-needed.
2362
2363 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2364
2365 * gdb.base/catch-syscall.exp: Call gdb_exit before
2366 gdb_skip_xml_test.
2367
2368 2015-07-24 Pedro Alves <palves@redhat.com>
2369
2370 * gdb.python/py-events.exp: Accept output between the stop event
2371 and the prompt.
2372 * gdb.python/py-evsignal.exp: Likewise.
2373 * gdb.python/py-evthreads.exp: Likewise.
2374
2375 2015-07-24 Pedro Alves <palves@redhat.com>
2376
2377 PR gdb/18717
2378 * gdb.threads/non-ldr-exit.c: New file.
2379 * gdb.threads/non-ldr-exit.exp: New file.
2380
2381 2015-07-24 Yao Qi <yao.qi@linaro.org>
2382
2383 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2384 restarting process.
2385
2386 2015-07-24 Yao Qi <yao.qi@linaro.org>
2387
2388 * gdb.server/ext-restart.exp: New file.
2389
2390 2015-07-24 Yao Qi <yao.qi@linaro.org>
2391
2392 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2393 argument options.
2394 * gdb.server/ext-wrapper.exp: New file.
2395
2396 2015-07-23 Doug Evans <dje@google.com>
2397
2398 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2399 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2400
2401 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2402
2403 * gdb.ada/var_arr_typedef.exp: New testcase.
2404 * gdb.ada/var_arr_typedef/pack.adb: New file.
2405 * gdb.ada/var_arr_typedef/pack.ads: New file.
2406 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2407
2408 2015-07-20 Joel Brobecker <brobecker@adacore.com>
2409
2410 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2411
2412 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2413
2414 * gdb.arch/i386-biarch-core.exp: Replace istarget
2415 by "complete set gnutarget". Remove expectation for the "core-file"
2416 command.
2417
2418 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2419
2420 Revert the previous commit:
2421 Tests for validate symbol file using build-id.
2422
2423 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2424
2425 Tests for validate symbol file using build-id.
2426 * gdb.base/solib-mismatch-lib.c: New file.
2427 * gdb.base/solib-mismatch-libmod.c: New file.
2428 * gdb.base/solib-mismatch.c: New file.
2429 * gdb.base/solib-mismatch.exp: New file.
2430
2431 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2432
2433 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2434 nios2-*-linux*.
2435 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2436 * gdb.base/siginfo.exp: Likewise.
2437 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2438
2439 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2440
2441 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2442 Move it to ...
2443 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2444 ... here.
2445 * gdb.trace/range-stepping.exp: Check that the target supports
2446 range stepping.
2447
2448 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2449
2450 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2451
2452 2015-07-14 Pedro Alves <palves@redhat.com>
2453
2454 * gdb.base/killed-outside.exp: New file.
2455 * gdb.base/killed-outside.c: New file.
2456
2457 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2458
2459 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2460 (n at main): New.
2461 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2462
2463 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2464
2465 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2466 infcall tests instead of setting up for KFAIL.
2467
2468 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2469
2470 * gdb.btrace/record_goto-step.exp: New.
2471
2472 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2473
2474 PR compile/18484
2475 * gdb.compile/compile.c (struct struct_type): Add volatile to
2476 selffield's type.
2477 * gdb.compile/compile.exp
2478 (compile code struct_object.selffield = &struct_object): Skip further
2479 struct_object tests if this one xfails.
2480
2481 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
2482
2483 PR exp/18617
2484 * gdb.trace/ax.exp: Add test.
2485
2486 2015-07-07 Yao Qi <yao.qi@linaro.org>
2487
2488 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2489 instead of istarget "aarch64*-*-*".
2490 * gdb.arch/aarch64-fp.exp: Likewise.
2491 * gdb.base/float.exp: Likewise.
2492 * gdb.reverse/aarch64.exp: Likewise.
2493 * lib/gdb.exp (is_aarch64_target): New proc.
2494
2495 2015-07-07 Yao Qi <yao.qi@linaro.org>
2496
2497 * lib/gdb.exp (is_aarch32_target): New proc.
2498 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2499 instead of "istarget "arm*-*-*"".
2500 * gdb.arch/arm-disp-step.exp: Likewise.
2501 * gdb.arch/thumb-bx-pc.exp: Likewise.
2502 * gdb.arch/thumb-prologue.exp: Likewise.
2503 * gdb.arch/thumb-singlestep.exp: Likewise.
2504 * gdb.base/disp-step-syscall.exp: Likewise.
2505 * gdb.base/float.exp: Likewise.
2506
2507 2015-07-07 Yao Qi <yao.qi@linaro.org>
2508
2509 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2510 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2511
2512 2015-07-07 Yao Qi <yao.qi@linaro.org>
2513
2514 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2515 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2516 if it exists.
2517 * gdb.multi/multi-arch.exp: Likewise.
2518
2519 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2520
2521 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2522 print.
2523
2524 2015-07-07 Yao Qi <yao.qi@linaro.org>
2525
2526 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2527
2528 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2529
2530 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2531 '[' and ']' characters.
2532
2533 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2534
2535 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2536
2537 2015-06-29 Pedro Alves <palves@redhat.com>
2538
2539 PR threads/18127
2540 * gdb.threads/hand-call-new-thread.c: New file.
2541 * gdb.threads/hand-call-new-thread.c: New file.
2542
2543 2015-06-26 Keith Seitz <keiths@redhat.com>
2544 Doug Evans <dje@google.com>
2545
2546 PR 16253
2547 * gdb.cp/var-tag-2.cc: New file.
2548 * gdb.cp/var-tag-3.cc: New file.
2549 * gdb.cp/var-tag-4.cc: New file.
2550 * gdb.cp/var-tag.cc: New file.
2551 * gdb.cp/var-tag.exp: New file.
2552
2553 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2554
2555 * gdb.base/history-duplicates.exp: New test.
2556
2557 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2558
2559 * gdb.base/completion.exp: Test the completion of the "focus"
2560 command.
2561
2562 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2563
2564 * gdb.arch/amd64-prologue-skip.S: New file.
2565 * gdb.arch/amd64-prologue-skip.exp: New file.
2566
2567 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2568
2569 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2570 is_address_zero_readable check.
2571
2572 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2573
2574 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2575 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2576
2577 2015-06-24 Yao Qi <yao.qi@linaro.org>
2578
2579 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2580 linux targets.
2581
2582 2015-06-24 Yao Qi <yao.qi@linaro.org>
2583
2584 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2585 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2586 * gdb.base/siginfo-thread.exp: Likewise.
2587
2588 2015-06-22 Yao Qi <yao.qi@linaro.org>
2589
2590 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2591
2592 2015-06-22 Yao Qi <yao.qi@linaro.org>
2593
2594 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2595 aarch64*-*-*.
2596 (skip_hw_watchpoint_tests): Likewise.
2597
2598 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2599
2600 * gdb.base/gdbinit-history.exp: Test the interaction between
2601 setting GDBHISTSIZE and setting the history size via .gdbinit.
2602
2603 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2604
2605 PR gdb/16999
2606 * gdb.base/gdbhistsize-history.exp: New test.
2607
2608 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2609
2610 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2611 with GDBHISTSIZE.
2612 * gdb.base/readline.exp: Likewise.
2613
2614 2015-06-17 Yao Qi <yao.qi@linaro.org>
2615
2616 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2617 line.
2618
2619 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2620
2621 * gdb.base/gdbinit-history.exp: Add test case to check that
2622 an unlimited history file does not get truncated on exit.
2623
2624 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2625
2626 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2627 (VECTOR): New macro. Use it...
2628 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2629 ...for these typedefs.
2630 (int8, char1, int1, double1): New typedefs.
2631 (struct just_int2, struct two_int2): New structures.
2632 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2633 (add_structvecs, add_singlevecs): New functions.
2634 (main): Call add_some_intvecs twice.
2635 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2636 the compile and exit upon failure. Try compiling for the "native"
2637 architecture. Test inferior function calls with vector arguments
2638 and vector return value handling with "finish" and "return".
2639
2640 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2641
2642 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2643 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2644 PE file.
2645 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2646
2647 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2648
2649 PR breakpoints/16465
2650 * gdb.mi/mi-dprintf-pending.c: New file.
2651 * gdb.mi/mi-dprintf-pending.exp: New test.
2652 * gdb.mi/mi-dprintf-pendshr.c: New file.
2653
2654 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2655 Mircea Gherzan <mircea.gherzan@intel.com>
2656
2657 * gdb.arch/i386-mpx-map.c: New file.
2658 * gdb.arch/i386-mpx-map.exp: New File.
2659
2660 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2661
2662 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2663 * gdb.arch/i386-mpx.exp: Indentation fixed.
2664
2665 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2666
2667 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2668 function and improved indentation.
2669 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2670 gdb_test_multiple. Added additional tests to skip the test.
2671
2672 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2673
2674 * gdb.arch/i386-avx512.c: Change path in include file.
2675 * gdb.arch/i386-avx512.exp: Change include dir path
2676 compilation flag.
2677 * gdb.arch/i386-mpx.c: Change path in include file.
2678 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2679 flag.
2680
2681 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2682
2683 * gdb.compile/compile-print.exp (compile print *vararray@3)
2684 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2685
2686 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2687
2688 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2689 (do not keep jit in memory): ... this.
2690 (expect 5): Change it to ...
2691 (expect no 5): ... this.
2692
2693 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2694
2695 PR gdb/15564
2696 * gdb.mi/mi-detach.exp: New file.
2697
2698 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2699
2700 PR symtab/18392
2701 * gdb.arch/amd64-tailcall-self.S: New file.
2702 * gdb.arch/amd64-tailcall-self.c: New file.
2703 * gdb.arch/amd64-tailcall-self.exp: New file.
2704
2705 2015-05-28 Don Breazeal <donb@codesourcery.com>
2706
2707 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2708 tests for remote targets by checking is_target_gdbserver.
2709
2710 2015-05-27 Doug Evans <dje@google.com>
2711
2712 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2713 * gdb.dwarf2/opaque-type-lookup.c: New file.
2714 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2715
2716 2015-05-26 Doug Evans <dje@google.com>
2717
2718 * gdb.cp/iostream.cc: New file.
2719 * gdb.cp/iostream.exp: New file.
2720
2721 2015-05-26 Doug Evans <dje@google.com>
2722
2723 * gdb.dwarf2/dw2-op-call.exp: Update.
2724 * gdb.dwarf2/dw4-sig-types.exp: Update.
2725 * gdb.dwarf2/implptr.exp: Update.
2726 * gdb.mi/mi-cmd-param-changed.exp: Update.
2727
2728 2015-05-26 Doug Evans <dje@google.com>
2729
2730 * gdb.python/py-lazy-string.c: New file.
2731 * gdb.python/py-lazy-string.exp: New file.
2732 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2733 (main): Update. Add estring3.
2734 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2735 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2736
2737 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2738 Yao Qi <yao.qi@linaro.org>
2739
2740 * gdb.reverse/aarch64.c: New.
2741 * gdb.reverse/aarch64.exp: New.
2742
2743 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2744
2745 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2746 (supports_reverse): Likewise.
2747
2748 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2749
2750 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2751 Use with_test_prefix.
2752
2753 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2754
2755 * gdb.base/completion.exp: Add test for completion of layout
2756 names.
2757
2758 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2759
2760 * lib/gdb.exp (skip_tui_tests): New proc.
2761 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2762
2763 2015-05-19 Pedro Alves <palves@redhat.com>
2764
2765 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2766 Save the whole env array instead of just HOME. Unset HISTSIZE in
2767 the environment while testing. Restore whole environment
2768 afterwards.
2769
2770 2015-05-16 Doug Evans <xdje42@gmail.com>
2771
2772 * gdb.guile/scm-ports.c: New file.
2773 * gdb.guile/scm-ports.exp: Add memory port tests.
2774
2775 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2776
2777 * gdb.compile/compile-print.c: New file.
2778 * gdb.compile/compile-print.exp: New file.
2779
2780 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2781
2782 * gdb.compile/compile-ops.exp: Cast param to void.
2783 * gdb.compile/compile.exp: Complete type for _gdb_expr.
2784 (compile code struct_object.selffield = &struct_object): Add xfail.
2785
2786 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2787
2788 * gdb.ada/arr_enum_with_gap: New testcase.
2789
2790 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2791
2792 * gdb.ada/byte_packed_arr: New testcase.
2793
2794 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2795
2796 * gdb.ada/pckd_neg: New testcase.
2797
2798 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
2799
2800 PR gdb/17820
2801 * gdb.base/gdbinit-history.exp: New test.
2802 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
2803 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
2804
2805 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
2806
2807 * gdb.python/py-xmethods.cc: Enhance test case.
2808 * gdb.python/py-xmethods.exp: New tests.
2809 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
2810 function.
2811 (B_indexoper): Likewise.
2812 (global_dm_list) : Add new xmethod worker functions.
2813
2814 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
2815
2816 * gdb.base/coredump-filter.exp: Correctly unset
2817 "coredump_var_addr" array.
2818
2819 2015-05-08 Pedro Alves <palves@redhat.com>
2820
2821 * gdb.server/non-existing-program.exp: Unset spawn_id.
2822
2823 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
2824
2825 PR python/18291
2826 * gdb.python/py-xmethods.exp: Add tests.
2827
2828 2015-05-08 Yao Qi <yao.qi@linaro.org>
2829
2830 PR gdb/18208
2831 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
2832 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
2833 function set_coredump_filter, and remove remote_exec call.
2834 Remove argument ipid. Callers update.
2835 (top level): Don't get inferior's PID.
2836
2837 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
2838
2839 * gdb.base/watch_thread_num.exp: Skip test on targets without
2840 access watchpoints.
2841
2842 2015-05-06 Pedro Alves <palves@redhat.com>
2843
2844 PR server/18081
2845 * gdb.server/non-existing-program.exp: New file.
2846
2847 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2848
2849 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
2850
2851 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2852
2853 * gdb.ada/out_of_line_in_inlined: New testcase.
2854
2855 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2856
2857 * gdb.ada/var_rec_arr: New testcase.
2858
2859 2015-04-30 Yao Qi <yao.qi@linaro.org>
2860
2861 * gdb.base/break-idempotent.exp: If
2862 skip_hw_watchpoint_multi_tests returns true, skip the tests
2863 on "rwatch" and "awatch".
2864
2865 2015-04-30 Yao Qi <yao.qi@linaro.org>
2866
2867 * gdb.base/relativedebug.exp: Invoke gdb command
2868 "info sharedlibrary", and if libc.so doesn't have debug info,
2869 skip the test.
2870
2871 2015-04-29 Doug Evans <dje@google.com>
2872
2873 * gdb.python/py-xmethods.exp: Add ptype tests.
2874 * gdb.python/py-xmethods.py (E_method_char_worker): Add
2875 get_result_type method.
2876
2877 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
2878
2879 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
2880 the target does not support hardware watchpoints.
2881
2882 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
2883
2884 * gdb.base/break-always.exp: Abort testing if writing to memory
2885 causes an error.
2886
2887 2015-04-28 Doug Evans <dje@google.com>
2888
2889 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
2890 * gdb.python/py-pp-registration.exp: ... here. New file.
2891 * gdb.python/py-pp-registration.c: New file.
2892 * gdb.python/py-pp-registration.py: New file.
2893
2894 2015-04-28 Doug Evans <dje@google.com>
2895
2896 * gdb.python/py-bad-printers.c: New file.
2897 * gdb.python/py-bad-printers.py: New file.
2898 * gdb.python/py-bad-printers.exp: New file.
2899
2900 2015-04-28 Sasha Smundak <asmundak@google.com>
2901
2902 * gdb.python/py-type.exp: New test.
2903
2904 2015-04-28 Andy Wingo <wingo@igalia.com>
2905
2906 * gdb.python/py-parameter.exp:
2907 * gdb.guile/scm-parameter.exp: Escape the path that we are
2908 matching against, as it might contain characters that are special
2909 to regular expressions.
2910
2911 2015-04-27 Joel Brobecker <brobecker@adacore.com>
2912
2913 * gdb.ada/rec_comp: New testcase.
2914
2915 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
2916
2917 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
2918 before using it.
2919
2920 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
2921
2922 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
2923 new tests for verilog output.
2924
2925 2015-04-24 Yao Qi <yao.qi@linaro.org>
2926
2927 * boards/remote-gdbserver-on-localhost.exp: New file.
2928
2929 2015-04-23 Pedro Alves <palves@redhat.com>
2930
2931 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
2932 $inferior_spawn_id instead of $inferior_spawn_id directly. On
2933 "end of file", remove $inferior_spawn_id from the indirect list.
2934
2935 2015-04-23 Pedro Alves <palves@redhat.com>
2936
2937 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
2938
2939 2015-04-23 Pedro Alves <palves@redhat.com>
2940
2941 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
2942 on $any_spawn_id instead of only on $gdb_spawn_id.
2943
2944 2015-04-21 Pierre Muller <muller@sourceware.org>
2945
2946 PR pascal/17815
2947 * lib/pascal.exp (gpc_compile): Add new option "class".
2948 (fpc_compile): Likewise.
2949 * gdb.pascal/case-insensitive-symbols.pas: New file.
2950 * gdb.pascal/case-insensitive-symbols.exp: New file.
2951
2952 2015-04-20 Gary Benson <gbenson@redhat.com>
2953
2954 * gdb.base/attach.exp: Fix three extended remote failures.
2955
2956 2015-04-17 Gary Benson <gbenson@redhat.com>
2957
2958 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
2959 the main executable over the remote protocol.
2960
2961 2015-04-16 Pedro Alves <palves@redhat.com>
2962
2963 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
2964 a new gdbserver if gdbserver_reconnect_p is set.
2965
2966 2015-04-16 Pedro Alves <palves@redhat.com>
2967
2968 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
2969 is set, don't exit gdbserver.
2970
2971 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2972
2973 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
2974 appropriate .insn, such that an older assembler can be used.
2975 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
2976 the z/Architecture instruction set on 31-bit targets as well.
2977
2978 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2979
2980 * gdb.go/handcall.exp: Remove all logic related to the first
2981 breakpoint and rely on go_runto_main instead.
2982 * gdb.go/strings.exp: Likewise.
2983 * gdb.go/unsafe.exp: Likewise.
2984 * gdb.go/hello.exp: Likewise. Also rename the remaining
2985 breakpoint marker to "breakpoint 1".
2986 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
2987 * gdb.go/strings.go: Likewise.
2988 * gdb.go/unsafe.go: Likewise.
2989 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
2990 "set breakpoint 2 here" and rename the remaining breakpoint marker
2991 to "breakpoint 1".
2992
2993 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
2994
2995 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
2996 if itertools.imap is not present.
2997 * gdb.python/py-objfile.exp: Add parentheses.
2998 * gdb.python/py-type.exp: Same.
2999 * gdb.python/py-unwind-maint.py: Same.
3000
3001 2015-04-15 Yao Qi <yao.qi@linaro.org>
3002
3003 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3004 of ":$ptr_size" and set its form explicitly.
3005
3006 2015-04-15 Pedro Alves <palves@redhat.com>
3007 Yao Qi <yao.qi@linaro.org>
3008
3009 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3010 timeout by factor of 4.
3011 (test_regular_watch): Likewise.
3012 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3013 * gdb.reverse/sigall-reverse.exp: Likewise.
3014 * gdb.reverse/until-precsave.exp: Likewise.
3015 * lib/gdb.exp (with_timeout_factor): New proc.
3016 (gdb_expect): Move some code to ...
3017 (get_largest_timeout): ... here. New procedure.
3018
3019 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
3020
3021 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3022
3023 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3024
3025 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3026 to write to the .text section.
3027
3028 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3029
3030 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3031 Handle the case of targets that do not provide PID information.
3032
3033 2015-04-13 Yao Qi <yao.qi@linaro.org>
3034
3035 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3036 and use expect instead of gdb_expect.
3037
3038 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3039
3040 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3041 "coredump_var_addr" to avoid naming conflict with other testcases.
3042
3043 2015-04-10 Pedro Alves <palves@redhat.com>
3044
3045 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3046 gdb_test_sequence and gdb_assert.
3047
3048 2015-04-10 Pedro Alves <palves@redhat.com>
3049
3050 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3051 test messages that don't include the breakpoint address.
3052
3053 2015-04-10 Yao Qi <yao.qi@linaro.org>
3054
3055 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3056 false for some offset and width combinations which aren't
3057 supported by linux kernel.
3058
3059 2015-04-10 Pedro Alves <palves@redhat.com>
3060
3061 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3062 procedure, factored out from ...
3063 (top level): ... here. Add "set displaced-stepping" testing axis.
3064 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3065 parameter "displaced". Use it.
3066 (top level): Use foreach and add "set displaced-stepping" testing
3067 axis.
3068
3069 2015-04-10 Pedro Alves <palves@redhat.com>
3070
3071 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3072 Remove comment.
3073 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3074 both the address of the instruction that triggers the watchpoint
3075 and the address of the instruction immediately after, and use
3076 those addresses for the test. Fix comment.
3077
3078 2015-04-10 Pedro Alves <palves@redhat.com>
3079
3080 * gdb.base/sigstep.exp (breakpoint_to_handler)
3081 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3082 Test "backtrace" in handler.
3083 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3084 (top level): Add new "displaced" test axis to
3085 breakpoint_to_handler, breakpoint_to_handler_entry and
3086 breakpoint_over_handler.
3087
3088 2015-04-10 Pedro Alves <palves@redhat.com>
3089
3090 PR gdb/18216
3091 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3092
3093 2015-04-10 Yao Qi <yao.qi@linaro.org>
3094
3095 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3096 (test_add_rn_pc): New function.
3097 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3098 (top level): Invoke test_add_rn_pc.
3099
3100 2015-04-10 Pedro Alves <palves@redhat.com>
3101
3102 PR gdb/13858
3103 * gdb.base/step-over-no-symbols.exp: New file.
3104
3105 2015-04-09 Andy Wingo <wingo@igalia.com>
3106
3107 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3108 after the Python tests.
3109
3110 2015-04-08 Keith Seitz <keiths@redhat.com>
3111
3112 PR python/16699
3113 * gdb.python/py-completion.exp: New tests for completion.
3114 * gdb.python/py-completion.py (CompleteLimit1): New class.
3115 (CompleteLimit2): Likewise.
3116 (CompleteLimit3): Likewise.
3117 (CompleteLimit4): Likewise.
3118 (CompleteLimit5): Likewise.
3119 (CompleteLimit6): Likewise.
3120 (CompleteLimit7): Likewise.
3121
3122 2015-04-08 Pedro Alves <palves@redhat.com>
3123
3124 PR gdb/18214
3125 PR gdb/18216
3126 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3127 function.
3128 (main): Install it as SIGUSR1 handler.
3129 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3130 parameter. Always use "setup" as prefix. Toggle "set
3131 displaced-stepping" off/on depending on global. Don't switch to
3132 thread 1 here.
3133 (top level): Add displaced stepping "off/on" test axis. Update
3134 "setup" calls. Wrap each subtest with with_test_prefix. Test
3135 continuing with a queued signal in each thread.
3136
3137 2015-04-08 Pedro Alves <palves@redhat.com>
3138
3139 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3140 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3141 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3142 Return early if running to main fails.
3143 * gdb.trace/while-stepping.exp: Likewise.
3144
3145 2015-04-07 Pedro Alves <palves@redhat.com>
3146
3147 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3148 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3149 interact with inferior program.
3150
3151 2015-04-07 Pedro Alves <palves@redhat.com>
3152
3153 * lib/gdb.exp (inferior_spawn_id): New global.
3154 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3155 spawn id after processing the user code.
3156 (default_gdb_start): Set inferior_spawn_id.
3157 (send_inferior): New procedure.
3158 * lib/gdbserver-support.exp (gdbserver_start): Set
3159 inferior_spawn_id.
3160 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3161
3162 2015-04-07 Pedro Alves <palves@redhat.com>
3163
3164 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3165 * lib/gdbserver-support.exp (gdbserver_start): Make
3166 $server_spawn_id global.
3167 (gdbserver_start): Don't wait for gdbserver's spawn id with
3168 expect_background.
3169 (close_gdbserver): New procedure.
3170 (gdb_exit): Rename the default version and reimplement.
3171
3172 2015-04-07 Pedro Alves <palves@redhat.com>
3173
3174 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
3175 append the substituted item, not the original item.
3176
3177 2015-04-07 Pedro Alves <palves@redhat.com>
3178
3179 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3180 gdb_expect.
3181
3182 2015-04-07 Pedro Alves <palves@redhat.com>
3183
3184 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3185 output appearing once only.
3186
3187 2015-04-07 Pedro Alves <palves@redhat.com>
3188
3189 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3190 that doesn't expect anything. Return early if running to main
3191 fails.
3192
3193 2015-04-07 Yao Qi <yao.qi@linaro.org>
3194
3195 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3196 (child_function): Call alarm.
3197 (main): Move call to alarm into the loop.
3198 * gdb.threads/non-stop-fair-events.exp: Build program with
3199 -DTIMEOUT=$timeout.
3200
3201 2015-04-06 Doug Evans <xdje42@gmail.com>
3202
3203 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3204 Fix dest parameter to board_info.
3205 (fpc_compile): Ditto.
3206 (gdb_compile_pascal): Rename dest arg to destfile.
3207
3208 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3209
3210 * gdb.ada/funcall_ref.exp: New file.
3211 * gdb.ada/funcall_ref/foo.adb: New file.
3212
3213 2015-04-02 Yao Qi <yao.qi@linaro.org>
3214
3215 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3216 is remote.
3217
3218 2015-04-02 Gary Benson <gbenson@redhat.com>
3219
3220 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3221
3222 2015-04-01 Sasha Smundak <asmundak@google.com>
3223
3224 * gdb.python/py-unwind-maint.c: New file.
3225 * gdb.python/py-unwind-maint.exp: New test.
3226 * gdb.python/py-unwind-maint.py: New file.
3227 * gdb.python/py-unwind.c: New file.
3228 * gdb.python/py-unwind.exp: New test.
3229 * gdb.python/py-unwind.py: New test.
3230
3231 2015-04-01 Pedro Alves <palves@redhat.com>
3232
3233 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3234 to fail instead of non-existent $test.
3235
3236 2015-04-01 Pedro Alves <palves@redhat.com>
3237
3238 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3239 GDBFLAGS if not empty.
3240
3241 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3242
3243 * gdb.ada/complete.exp: Remove "multi_line".
3244 * gdb.ada/info_exc.exp: Remove "multi_line".
3245 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3246 * gdb.ada/ptype_field.exp: Remove "multi_line".
3247 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3248 * gdb.ada/tagged.exp: Remove "multi_line".
3249 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3250 [multi_line ...]
3251 * gdb.btrace/delta.exp: Likewise.
3252 * gdb.btrace/exception.exp: Likewise.
3253 * gdb.btrace/function_call_history.exp: Likewise.
3254 * gdb.btrace/instruction_history.exp: Likewise.
3255 * gdb.btrace/nohist.exp: Likewise.
3256 * gdb.btrace/record_goto.exp: Likewise.
3257 * gdb.btrace/segv.exp: Likewise.
3258 * gdb.btrace/stepi.exp: Likewise.
3259 * gdb.btrace/tailcall.exp: Likewise.
3260 * gdb.btrace/unknown_functions.exp: Likewise.
3261 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3262 * lib/gdb.exp: Add the "multi_line" helper.
3263
3264 2015-04-01 Pedro Alves <palves@redhat.com>
3265
3266 * gdb.threads/tid-reuse.c: New file.
3267 * gdb.threads/tid-reuse.exp: New file.
3268
3269 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3270
3271 PR corefiles/16092
3272 * gdb.base/coredump-filter.c: New file.
3273 * gdb.base/coredump-filter.exp: Likewise.
3274
3275 2015-03-27 Petr Machata <pmachata@redhat.com>
3276
3277 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3278 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3279 (Dwarf::assemble): Initialize them.
3280 (Dwarf::lines): New function.
3281
3282 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3283
3284 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3285 SYMBOL_PREFIX for x86_64-*-cygwin.
3286
3287 2015-03-26 Andy Wingo <wingo@igalia.com>
3288
3289 PR symtab/18148
3290 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3291 const_value but not a location.
3292 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3293 location defined in non-main CUs are visible.
3294
3295 2015-03-26 Yao Qi <yao.qi@linaro.org>
3296
3297 PR testsuite/18139
3298 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3299 Add a line number entry for the same line.
3300 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3301 Add a line number entry for the same line.
3302
3303 2015-03-26 Yao Qi <yao.qi@linaro.org>
3304
3305 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3306 .int 0.
3307 (func): Likewise. Add .Lfunc_1 label.
3308 Use .Lfunc_1 label.
3309 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3310 .int 0.
3311 (func): Likewise.
3312 Use .Lfunc_1 label.
3313
3314 2015-03-26 Yao Qi <yao.qi@linaro.org>
3315
3316 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3317 Call gdb_compile instead to compile each .s files without debug
3318 information.
3319
3320 2015-03-26 Yao Qi <yao.qi@linaro.org>
3321
3322 * gdb.base/savedregs.exp (process_saved_regs): Make
3323 "Saved registers:" optional in the pattern.
3324
3325 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3326
3327 * gdb.btrace/next.exp: Merged into step.exp.
3328 * gdb.btrace/finish.exp: Merged into step.exp.
3329 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3330 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3331 "record goto" and checking the exact replay position.
3332 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3333 check for "Recording format" in "info record" output.
3334 * gdb.btrace/record_goto.exp: Choose test file based on target.
3335 * gdb.btrace/x86-record_goto.S: Renamed into ...
3336 * gdb.btrace/x86_64-record_goto.S: ... this.
3337 * gdb.btrace/i686-record_goto.S: New.
3338 * gdb.btrace/x86-tailcall.S: Renamed into ...
3339 * gdb.btrace/x86_64-tailcall.S: ... this.
3340 * gdb.btrace/i686-tailcall.S: New.
3341 * gdb.btrace/x86-tailcall.c: Renamed into ...
3342 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3343 separate statements. Update test.
3344 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3345 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3346 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3347 * gdb.btrace/tailcall.exp: Choose test file based on target.
3348 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3349
3350 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3351
3352 * gdb.btrace/exception.exp: Increase BTS buffer size.
3353
3354 2015-03-24 Pedro Alves <palves@redhat.com>
3355
3356 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3357
3358 2015-03-24 Pedro Alves <palves@redhat.com>
3359
3360 * gdb.threads/schedlock.exp (test_step): No longer expect that
3361 "set scheduler-locking step" with "next" over a function call runs
3362 threads unlocked.
3363
3364 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3365
3366 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3367
3368 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3369
3370 PR breakpoints/16466
3371 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3372 * gdb.mi/mi-pending.c (thread_func): New function.
3373 (int main): Add threading support required.
3374 * gdb.mi/mi-pending.exp: Add tests for this issue.
3375 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3376 (pendfunc2): Remove stdio dependency.
3377 * gdb.mi/mi-pendshr2.c: New file.
3378
3379 2015-03-23 Keith Seitz <keiths@redhat.com>
3380
3381 * gdb.linespec/keywords.c: New file.
3382 * gdb.linespec/keywords.exp: New file.
3383
3384 2015-03-23 Keith Seitz <keiths@redhat.com>
3385
3386 PR gdb/18021
3387 * gdb.dwarf2/staticvirtual.exp: New test.
3388
3389 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3390
3391 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3392 * README: Remove HP-UX and gdb.hp.
3393 (configuration):
3394 * configure: Regenerate.
3395 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3396 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3397 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3398 gdb.hp/gdb.defects/Makefile.
3399 * gdb.hp/Makefile.in: File deleted.
3400 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3401 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3402 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3403 * gdb.hp/gdb.aCC/run.c: File deleted.
3404 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3405 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3406 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3407 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3408 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3409 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3410 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3411 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3412 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3413 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3414 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3415 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3416 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3417 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3418 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3419 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3420 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3421 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3422 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3423 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3424 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3425 * gdb.hp/gdb.compat/average.c: File deleted.
3426 * gdb.hp/gdb.compat/sum.c: File deleted.
3427 * gdb.hp/gdb.compat/xdb.c: File deleted.
3428 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3429 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3430 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3431 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3432 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3433 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3434 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3435 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3436 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3437 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3438 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3439 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3440 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3441 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3442 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3443 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3444 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3445 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3446 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3447 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3448 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3449 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3450 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3451 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3452 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3453 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3454 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3455 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3456 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3457 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3458 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3459 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3460 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3461 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3462 * gdb.hp/tools/odump: File deleted.
3463
3464 2015-03-19 Pedro Alves <palves@redhat.com>
3465
3466 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3467 (saw_thread_3): New globals.
3468 (top level): Increment them when an event for the corresponding
3469 thread is seen.
3470 (no thread starvation): New test.
3471
3472 2015-03-19 Pedro Alves <palves@redhat.com>
3473
3474 * gdb.threads/continue-pending-status.c: New file.
3475 * gdb.threads/continue-pending-status.exp: New file.
3476
3477 2015-03-18 Pedro Alves <palves@redhat.com>
3478
3479 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3480 Use gdb_is_target_remote instead of is_remote. Use
3481 gdb_test_multiple instead of gdb_expect. Exit early if
3482 gdb_test_multiple hits its internal matches. Tighten stepi tests
3483 expected output. Fail on exit with any signal, instead of just
3484 SIGILL.
3485
3486 2015-03-18 Yao Qi <yao.qi@linaro.org>
3487
3488 PR tdep/18107
3489 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3490 variable.
3491 * gdb.base/catch-syscall.exp: Don't skip it on
3492 aarch64*-*-linux* target. Remove elements in all_syscalls.
3493 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3494 target.
3495 (setup_all_syscalls): New proc.
3496
3497 2015-03-16 Yao Qi <yao.qi@linaro.org>
3498
3499 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3500 (top level): Skip tests if valid_addr_p returns false for
3501 $cmd1 or $cmd2.
3502
3503 2015-03-11 Andy Wingo <wingo@igalia.com>
3504
3505 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3506
3507 2015-03-11 Yao Qi <yao.qi@linaro.org>
3508
3509 * gdb.base/catch-syscall.exp: Fix typo in comments.
3510
3511 2015-03-11 Yao Qi <yao.qi@linaro.org>
3512
3513 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3514
3515 2015-03-09 Pedro Alves <palves@redhat.com>
3516
3517 * dg-extract-results.py: Delete.
3518
3519 2015-03-09 Pedro Alves <palves@redhat.com>
3520
3521 Merge dg-extract-results.sh from GCC upstream (r218843).
3522
3523 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3524 * dg-extract-results.sh: Use --text with grep to avoid issues with
3525 binary files. Fall back to cat -v, if that doesn't work.
3526
3527 2015-03-05 Pedro Alves <palves@redhat.com>
3528
3529 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3530
3531 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3532
3533 * lib/mi-support.exp (mi_expect_interrupt): Accept
3534 alternative event for when in all-stop mode.
3535
3536 2015-03-04 Pedro Alves <palves@redhat.com>
3537
3538 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3539
3540 2015-03-04 Mark Kettenis <kettenis@gnu.org>
3541
3542 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3543
3544 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3545
3546 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3547 regexps for GDB's current line display, accept a hex address
3548 preceding the line number.
3549
3550 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3551
3552 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3553 the 'arch1' variable for "s390*-linux*" targets.
3554
3555 2015-03-04 Pedro Alves <palves@redhat.com>
3556
3557 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3558 (main): Pass missing retval argument to pthread_join call.
3559
3560 2015-03-02 Pedro Alves <palves@redhat.com>
3561
3562 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3563 (top level): Call do_test with non-stop as well.
3564
3565 2015-03-02 Pedro Alves <palves@redhat.com>
3566
3567 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3568 -1.
3569
3570 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3571
3572 * gdb.arch/s390-vregs.exp: New test.
3573 * gdb.arch/s390-vregs.S: New file.
3574
3575 2015-02-27 Pedro Alves <palves@redhat.com>
3576
3577 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3578 call to catch_command_errors.
3579 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3580 catch_command_errors.
3581
3582 2015-02-27 Pedro Alves <palves@redhat.com>
3583
3584 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3585 "true" for boolean result.
3586 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3587 prototype of main.
3588
3589 2015-02-27 Pedro Alves <palves@redhat.com>
3590
3591 * lib/unbuffer_output.c: New file.
3592 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3593 (main): Call gdb_unbuffer_output.
3594
3595 2015-02-27 Yao Qi <yao.qi@linaro.org>
3596
3597 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3598 target.
3599
3600 2015-02-26 Doug Evans <dje@google.com>
3601
3602 * gdb.cp/class2.cc (Dbase, D): New classes.
3603 (main): New local delta.
3604 * gdb.cp/class2.exp: Test printing delta.
3605 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3606 (dynbar): New global.
3607 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3608
3609 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3610
3611 * gdb.compile/compile-ifunc.c: New file.
3612 * gdb.compile/compile-ifunc.exp: New file.
3613
3614 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3615
3616 * gdb.base/structs.exp: Check for correct struct on finish.
3617
3618 2015-02-26 Yao Qi <yao.qi@linaro.org>
3619
3620 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3621 is zero.
3622
3623 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3624
3625 * gdb.arch/cordic.ko.bz2: New file.
3626 * gdb.arch/cordic.ko.debug.bz2: New file.
3627 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3628
3629 2015-02-25 Yao Qi <yao.qi@linaro.org>
3630
3631 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3632 aarch64*-*-* target.
3633
3634 2015-02-23 Pedro Alves <palves@redhat.com>
3635
3636 * lib/gdb.exp (delete_breakpoints): Rewrite using
3637 gdb_test_multiple.
3638
3639 2015-02-23 Pedro Alves <palves@redhat.com>
3640
3641 * gdb.base/info-os.c: Include stdlib.h.
3642
3643 2015-02-22 Doug Evans <xdje42@gmail.com>
3644
3645 PR symtab/17855
3646 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3647 is read after symbols have been re-read.
3648 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3649 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3650
3651 2015-02-21 Doug Evans <dje@google.com>
3652
3653 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3654
3655 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3656
3657 PR corefiles/17808
3658 * gdb.arch/i386-biarch-core.core.bz2: New file.
3659 * gdb.arch/i386-biarch-core.exp: New file.
3660
3661 2015-02-21 Pedro Alves <palves@redhat.com>
3662
3663 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3664 runto_main fails.
3665
3666 2015-02-20 Pedro Alves <palves@redhat.com>
3667
3668 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3669 info probes.
3670
3671 2015-02-20 Pedro Alves <palves@redhat.com>
3672
3673 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3674
3675 2015-02-20 Pedro Alves <palves@redhat.com>
3676
3677 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3678 clean_restart before gdb_target_supports_trace.
3679
3680 2015-02-20 Pedro Alves <palves@redhat.com>
3681
3682 PR threads/18006
3683 * gdb.threads/clone-thread_db.c: New file.
3684 * gdb.threads/clone-thread_db.exp: New file.
3685
3686 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3687
3688 PR breakpoints/16812
3689 * gdb.base/catch-gdb-caused-signals.c: New file.
3690 * gdb.base/catch-gdb-caused-signals.exp: New file.
3691
3692 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3693
3694 * configure: Regenerated.
3695 * configure.ac: Use GDB_AC_TRANSFORM.
3696 * aclocal.m4: sinclude ../transform.m4.
3697
3698 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3699
3700 * lib/dtrace.exp: New file.
3701 * gdb.base/dtrace-probe.exp: Likewise.
3702 * gdb.base/dtrace-probe.d: Likewise.
3703 * gdb.base/dtrace-probe.c: Likewise.
3704 * lib/pdtrace.in: Likewise.
3705 * configure.ac: Output variables with the transformed names of
3706 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3707 * configure: Regenerated.
3708
3709 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3710
3711 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3712 expected message when trying to access $_probe_* convenience
3713 variables while not on a probe.
3714
3715 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3716
3717 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3718
3719 2015-02-11 Pedro Alves <pedro@codesourcery.com>
3720
3721 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3722 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3723
3724 2015-02-10 Doug Evans <xdje42@gmail.com>
3725
3726 * lib/gdb.exp (gdb_load): Always return a result.
3727
3728 2015-02-10 Pedro Alves <palves@redhat.com>
3729
3730 * gdb.threads/signal-sigtrap.c: New file.
3731 * gdb.threads/signal-sigtrap.exp: New file.
3732
3733 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3734
3735 * gdb.trace/no-attach-trace.c: New file.
3736 * gdb.trace/no-attach-trace.exp: New file.
3737
3738 2015-02-09 Mark Wielaard <mjw@redhat.com>
3739
3740 * gdb.dwarf2/atomic.c: New file.
3741 * gdb.dwarf2/atomic-type.exp: Likewise.
3742
3743 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3744
3745 * gdb.btrace/buffer-size.exp: Update "info record" output.
3746 * gdb.btrace/delta.exp: Update "info record" output.
3747 * gdb.btrace/enable.exp: Update "info record" output.
3748 * gdb.btrace/finish.exp: Update "info record" output.
3749 * gdb.btrace/instruction_history.exp: Update "info record" output.
3750 * gdb.btrace/next.exp: Update "info record" output.
3751 * gdb.btrace/nexti.exp: Update "info record" output.
3752 * gdb.btrace/step.exp: Update "info record" output.
3753 * gdb.btrace/stepi.exp: Update "info record" output.
3754 * gdb.btrace/nohist.exp: Update "info record" output.
3755
3756 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3757
3758 * gdb.btrace/buffer-size: New.
3759
3760 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3761
3762 * gdb.btrace/delta.exp: Update "info record" output.
3763 * gdb.btrace/enable.exp: Update "info record" output.
3764 * gdb.btrace/finish.exp: Update "info record" output.
3765 * gdb.btrace/instruction_history.exp: Update "info record" output.
3766 * gdb.btrace/next.exp: Update "info record" output.
3767 * gdb.btrace/nexti.exp: Update "info record" output.
3768 * gdb.btrace/step.exp: Update "info record" output.
3769 * gdb.btrace/stepi.exp: Update "info record" output.
3770 * gdb.btrace/nohist.exp: Update "info record" output.
3771
3772 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
3773
3774 PR gdb/15678
3775 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3776
3777 2015-02-06 Pedro Alves <palves@redhat.com>
3778
3779 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
3780 macro.
3781 (seconds_left, again): New globals.
3782 (main): Wait seconds_left in a 1-second sleep loop instead of
3783 sleeping 180 seconds. If 'again' is set, reset the seconds
3784 counter.
3785 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
3786 'again' in the inferior before detaching. Print the seconds left.
3787 (options): New global.
3788 (top level): Build program with -DTIMEOUT=$timeout.
3789
3790 2015-02-06 Pedro Alves <palves@redhat.com>
3791
3792 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
3793 determine how many seconds to pass to 'alarm'.
3794 * gdb.base/gdb-sigterm.exp (top level): Build program with
3795 -DTIMEOUT=$timeout.
3796 (do_test): Return success/failure indication. Add more verbose
3797 logging. Don't fail if 200 single steps are seen. Instead, fail
3798 when the test times out.
3799 (passes): New global.
3800 (top level): Break the testing loop if testing fails on any
3801 iteration. Use gdb_assert.
3802
3803 2015-02-04 Don Breazeal <donb@codesourcery.com>
3804
3805 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
3806 and initialize them.
3807 (ipc_cleanup): New function.
3808 (main): Don't declare shmid, semid, and msqid. Add a call to
3809 atexit so that we call ipc_cleanup on exit.
3810
3811 2015-02-04 Pedro Alves <palves@redhat.com>
3812
3813 * boards/native-extended-gdbserver.exp: Remove any target variant
3814 specifications from the board name before clearing the isremote
3815 flag from board_info.
3816
3817 2015-01-31 Doug Evans <xdje42@gmail.com>
3818
3819 * gdb.base/maint.exp <maint print type argc>: Update expected output.
3820
3821 2015-01-31 Gary Benson <gbenson@redhat.com>
3822
3823 * gdb.base/completion.exp: Disable completion limiting for
3824 existing tests. Add new tests to check completion limiting.
3825 * gdb.linespec/ls-errs.exp: Disable completion limiting.
3826
3827 2015-01-31 Doug Evans <xdje42@gmail.com>
3828
3829 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
3830
3831 2015-01-31 Doug Evans <xdje42@gmail.com>
3832
3833 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
3834 entries. Duplicate file section script entries.
3835 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
3836 inlined entries. Add test for safe-path rejection.
3837 * gdb.python/py-section-script.c: Add duplicate inlined section script
3838 entries. Duplicate file section script entries.
3839 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
3840 inlined entries. Add test for safe-path rejection.
3841
3842 2015-01-29 Joel Brobecker <brobecker@adacore.com>
3843
3844 * gdb.ada/disc_arr_bound: New testcase.
3845
3846 2015-01-29 Joel Brobecker <brobecker@adacore.com>
3847
3848 * gdb.ada/mi_var_array: New testcase.
3849
3850 2015-01-27 Doug Evans <dje@google.com>
3851
3852 * gdb.python/py-objfile.exp: Add tests for objfile.username.
3853 Add test for objfile.filename, objfile.username after objfile
3854 has been unloaded.
3855
3856 2015-01-26 Joel Brobecker <brobecker@adacore.com>
3857
3858 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
3859 the second test to print the name attribute of value
3860 returned by the call to gdb.lookup_type, and adjust
3861 the expected output accordingly.
3862
3863 2015-01-25 Mark Wielaard <mjw@redhat.com>
3864
3865 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
3866 * gdb.base/disp-step-fork.c: Include unistd.h.
3867 * gdb.base/siginfo-obj.c: Include stdio.h.
3868 * gdb.base/siginfo-thread.c: Likewise.
3869 * gdb.mi/non-stop.c: Include unistd.h.
3870 * gdb.mi/nsthrexec.c: Include stdio.h.
3871 * gdb.mi/pthreads.c: Include unistd.h.
3872 * gdb.modula2/unbounded1.c (main): Declare returns int.
3873 * gdb.reverse/consecutive-reverse.c: Likewise.
3874 * gdb.threads/create-fail.c: Include unistd.h.
3875 * gdb.threads/killed.c: Likewise.
3876 * gdb.threads/linux-dp.c: Likewise.
3877 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
3878 * gdb.threads/non-ldr-exc-2.c: Likewise.
3879 * gdb.threads/non-ldr-exc-3.c: Likewise.
3880 * gdb.threads/non-ldr-exc-4.c: Likewise.
3881 * gdb.threads/pthreads.c: Include unistd.h.
3882 (main): Declare returns int.
3883 * gdb.threads/tls-main.c (foo): New declaration.
3884 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
3885
3886 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
3887
3888 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
3889 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
3890
3891 2015-01-15 Mark Wielaard <mjw@redhat.com>
3892
3893 * gdb.base/noreturn-return.c: New file.
3894 * gdb.base/noreturn-return.exp: New file.
3895 * gdb.base/noreturn-finish.c: New file.
3896 * gdb.base/noreturn-finish.exp: New file.
3897
3898 2015-01-23 Pedro Alves <palves@redhat.com>
3899
3900 * gdb.threads/continue-pending-after-query.c: New file.
3901 * gdb.threads/continue-pending-after-query.exp: New file.
3902
3903 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
3904 Simon Marchi <simon.marchi@ericsson.com>
3905
3906 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
3907 * gdb.base/valgrind-db-attach.exp: Same.
3908 * gdb.base/valgrind-infcall.exp: Same.
3909 * lib/mi-support.exp (default_mi_gdb_start): Same.
3910 * lib/prompt.exp (default_prompt_gdb_start): Same.
3911 * lib/gdb.exp (default_gdb_spawn): Same.
3912 (gdb_interact): New.
3913
3914
3915 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3916
3917 * gdb.compile/compile.exp (pointer to jit function): New test.
3918
3919 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
3920
3921 * lib/gdb.exp (supports_process_record): Return true for
3922 powerpc*-*-linux*.
3923 (supports_reverse): Likewise.
3924
3925 2015-01-15 Don Breazeal <donb@codesourcery.com>
3926
3927 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
3928 instead of checking whether the target board is remote and
3929 use spawn_wait_for_attach instead of exec/sleep.
3930 * gdb.base/attach-twice.exp: Likewise.
3931
3932 2015-01-15 Joel Brobecker <brobecker@adacore.com>
3933
3934 * gdb.ada/var_arr_attrs: New testcase.
3935
3936 2015-01-14 Pedro Alves <palves@redhat.com>
3937 Joel Brobecker <brobecker@adacore.com>
3938
3939 PR gdb/17525
3940 * gdb.base/bp-cmds-execution-x-script.c: New file.
3941 * gdb.base/bp-cmds-execution-x-script.exp: New file.
3942 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
3943
3944 2015-01-14 Pedro Alves <palves@redhat.com>
3945
3946 PR cli/17828
3947 * gdb.base/batch-preserve-term-settings.c: New file.
3948 * gdb.base/batch-preserve-term-settings.exp: New file.
3949
3950 2015-01-13 Doug Evans <dje@google.com>
3951
3952 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
3953 binary.
3954
3955 2015-01-13 Joel Brobecker <brobecker@adacore.com>
3956
3957 * Makefile.in (clean mostlyclean): Do not delete *.py.
3958
3959 2015-01-13 Joel Brobecker <brobecker@adacore.com>
3960
3961 * gdb.python/py-lookup-type.exp: New file.
3962
3963 2015-01-12 Pedro Alves <palves@redhat.com>
3964
3965 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
3966 restore GDBFLAGS before returning.
3967
3968 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3969
3970 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
3971 is_amd64_regs_target and is_x86_like_target.
3972
3973 2015-01-11 Doug Evans <xdje42@gmail.com>
3974
3975 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
3976 is given without an explicit form.
3977 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
3978 attributes.
3979 * gdb.dwarf/corrupt.exp: Ditto.
3980 * gdb.dwarf2/enum-type.exp: Ditto.
3981 * gdb.trace/entry-values.exp: Ditto.
3982 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
3983
3984 2015-01-11 Doug Evans <xdje42@gmail.com>
3985
3986 PR gdb/15830
3987 * gdb.base/maint.exp: Remove references to "maint demangle".
3988 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
3989 Add tests for explicitly specifying language to demangle.
3990 * gdb.dlang/demangle.exp: Ditto.
3991
3992 2015-01-09 Pedro Alves <palves@redhat.com>
3993
3994 * gdb.threads/non-stop-fair-events.c: New file.
3995 * gdb.threads/non-stop-fair-events.exp: New file.
3996
3997 2015-01-09 Pedro Alves <palves@redhat.com>
3998
3999 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4000 the global scope. Set a breakpoint after all threads are started
4001 rather than stepping over two source lines. Expect the prompt.
4002 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4003 global.
4004 (NUM): Now 15.
4005 (main): Use threads_started_barrier to wait for all threads to
4006 start. Main thread no longer calls thread_function. Exit after
4007 180 seconds.
4008 (loop): New function.
4009 (thread_function): Wait on threads_started_barrier barrier. Call
4010 'loop' at each iteration.
4011 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4012 threads have started, instead of hardcoding number of "next"
4013 steps. Use an access watchpoint instead of a write watchpoint.
4014
4015 2015-01-09 Pedro Alves <palves@redhat.com>
4016
4017 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4018 (thread_func): Wait on barrier.
4019 (main): Wait for all threads to start before stopping GDB.
4020 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4021 global.
4022 (thread1_func, thread2_func): Wait on barrier.
4023 (main): Wait for all threads to start before stopping GDB.
4024 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4025 New global.
4026 (thread1_func, thread2_func): Wait on barrier.
4027 (main): Wait for all threads to start before stopping GDB.
4028
4029 2015-01-09 Pedro Alves <palves@redhat.com>
4030
4031 * gdb.threads/attach-many-short-lived-threads.c: New file.
4032 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4033
4034 2014-01-09 Pedro Alves <palves@redhat.com>
4035
4036 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4037 instead of to thread 2.
4038 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4039 Add barrier around each pthread_create call instead of around all
4040 calls.
4041 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4042 Set a break on thread_function and have the child threads hit it
4043 one at at a time.
4044
4045 2015-01-09 Pedro Alves <palves@redhat.com>
4046
4047 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4048 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4049 false.
4050 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4051 checking whether the target board is remote.
4052 * gdb.multi/multi-attach.exp: Likewise.
4053 * gdb.python/py-sync-interp.exp: Likewise.
4054 * gdb.server/ext-attach.exp: Likewise.
4055 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4056 tests that need to attach, instead of checking whether the target
4057 board is remote at the top of the file.
4058
4059 2015-01-08 Yao Qi <yao@codesourcery.com>
4060
4061 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4062
4063 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4064
4065 Fix testcase compilation.
4066 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4067
4068 2015-01-06 Joel Brobecker <brobecker@adacore.com>
4069
4070 * gdb.python/py-type.exp: Add a couple test about empty
4071 array creation, and negative-length array creation.
4072
4073 2015-01-02 Doug Evans <xdje42@gmail.com>
4074
4075 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4076
4077 2015-01-02 Doug Evans <dje@google.com>
4078
4079 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4080
4081 2014-12-29 Yao Qi <yao@codesourcery.com>
4082
4083 * gdb.trace/entry-values.exp: Update comments. Rename variable
4084 bar_call_foo to returned_from_foo.
4085
4086 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4087
4088 PR gdb/17394
4089 * gdb.linespec/break-asm-file.c: New file.
4090 * gdb.linespec/break-asm-file.exp: New file.
4091 * gdb.linespec/break-asm-file0.s: New file.
4092 * gdb.linespec/break-asm-file1.s: New file.
4093
4094 2014-12-18 Nigel Stephens <nigel@mips.com>
4095 Maciej W. Rozycki <macro@codesourcery.com>
4096
4097 * gdb.base/float.exp: Handle the new output from "info float" on
4098 MIPS targets.
4099
4100 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4101
4102 Fix MinGW compilation.
4103 * gdb.compile/compile-ops.exp: Update untested message if
4104 !skip_compile_feature_tests.
4105 * gdb.compile/compile-setjmp.exp: Likewise.
4106 * gdb.compile/compile-tls.exp: Likewise.
4107 * gdb.compile/compile.exp: Likewise.
4108 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4109 supported on this host".
4110
4111 2014-12-16 Doug Evans <xdje42@gmail.com>
4112
4113 * boards/stabs.exp: New file.
4114
4115 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4116
4117 * gdb.base/completion.exp: Adjust to format changes of "maint
4118 print user-registers".
4119
4120 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
4121
4122 PR server/17457
4123 * gdb.arch/aarch64-fp.c: New file.
4124 * gdb.arch/aarch64-fp.exp: New file.
4125
4126 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4127
4128 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4129 r210637, r210913, r211666, r215400, r215817).
4130
4131 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4132 * dg-extract-results.py: New file.
4133 * dg-extract-results.sh: Use it if the environment seems
4134 suitable.
4135
4136 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4137
4138 * dg-extract-results.py (parse_run): Handle warnings that
4139 are printed before a test harness is run.
4140
4141 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4142
4143 * dg-extract-results.py (Named): Remove __cmp__ method.
4144 (output_variation): Use a key to sort variation.harnesses.
4145
4146 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4147
4148 * dg-extract-results.py: For Python 3, force sys.stdout to
4149 handle surrogate escape sequences.
4150 (safe_open): New function.
4151 (output_segment, main): Use it.
4152
4153 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4154
4155 * dg-extract-results.py (Prog.result_re): Include options
4156 in test name.
4157
4158 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4159
4160 * dg-extract-results.py (output_variation): Always sort if
4161 do_sum.
4162
4163 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4164
4165 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4166 as long as we get pagination notifications.
4167
4168 2014-12-15 Jason Merrill <jason@redhat.com>
4169
4170 * Makefile.in (check-gdb.%): Restore.
4171 * README: Mention it.
4172
4173 2014-12-13 Joel Brobecker <brobecker@adacore.com>
4174
4175 * gdb.ada/str_uninit: New testcase.
4176
4177 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4178
4179 PR symtab/17642
4180 * gdb.base/vla-stub-define.c: New file.
4181 * gdb.base/vla-stub.c: New file.
4182 * gdb.base/vla-stub.exp: New file.
4183
4184 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4185 Jan Kratochvil <jan.kratochvil@redhat.com>
4186 Tom Tromey <tromey@redhat.com>
4187
4188 * configure.ac: Add gdb.compile/.
4189 * configure: Regenerate.
4190 * gdb.compile/Makefile.in: New file.
4191 * gdb.compile/compile-ops.exp: New file.
4192 * gdb.compile/compile-ops.c: New file.
4193 * gdb.compile/compile-tls.c: New file.
4194 * gdb.compile/compile-tls.exp: New file.
4195 * gdb.compile/compile-constvar.S: New file.
4196 * gdb.compile/compile-constvar.c: New file.
4197 * gdb.compile/compile-mod.c: New file.
4198 * gdb.compile/compile-nodebug.c: New file.
4199 * gdb.compile/compile-setjmp-mod.c: New file.
4200 * gdb.compile/compile-setjmp.c: New file.
4201 * gdb.compile/compile-setjmp.exp: New file.
4202 * gdb.compile/compile-shlib.c: New file.
4203 * gdb.compile/compile.c: New file.
4204 * gdb.compile/compile.exp: New file.
4205 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4206
4207 2014-12-12 Tom Tromey <tromey@redhat.com>
4208
4209 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4210 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4211
4212 2014-12-12 Doug Evans <dje@google.com>
4213
4214 * lib/gdb-python.exp (get_python_valueof): New function.
4215 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4216
4217 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4218
4219 * gdb.base/completion.exp: Add test for completion of "info
4220 registers ".
4221
4222 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4223
4224 * gdb.base/func-ptrs.c: New file.
4225 * gdb.base/func-ptrs.exp: New file.
4226
4227 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4228
4229 PR breakpoints/17012
4230 * gdb.base/dprintf-detach.c: New file.
4231 * gdb.base/dprintf-detach.exp: New file.
4232
4233 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4234
4235 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4236 * lib/gdb.exp (target_is_gdbserver): New procedure.
4237
4238 2014-12-08 Doug Evans <dje@google.com>
4239
4240 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4241
4242 2014-12-05 Yao Qi <yao@codesourcery.com>
4243
4244 * gdb.guile/scm-error.exp: Remove the third argument to
4245 gdb_remote_download.
4246 * gdb.guile/scm-frame-args.exp: Likewise.
4247 * gdb.guile/scm-section-script.exp: Likewise.
4248
4249 2014-12-05 Yao Qi <yao@codesourcery.com>
4250
4251 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4252
4253 2014-12-04 Doug Evans <dje@google.com>
4254
4255 * gdb.python/py-objfile.exp: Add tests for
4256 objfile.add_separate_debug_file.
4257
4258 2014-12-04 Doug Evans <dje@google.com>
4259
4260 * lib/gdb.exp (get_build_id): New function.
4261 (build_id_debug_filename_get): Rewrite to use it.
4262 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4263
4264 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4265
4266 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4267 `method(long)', not just 0x0.
4268 * gdb.cp/nsalias.exp: Align code labels to 4.
4269 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4270 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4271 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4272 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4273 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4274 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4275
4276 2014-12-02 Doug Evans <dje@google.com>
4277
4278 PR symtab/17602
4279 * gdb.cp/anon-ns.cc: Move guts of this file to ...
4280 * gdb.cp/anon-ns2.cc: ... here. New file.
4281 * gdb.cp/anon-ns.exp: Update.
4282
4283 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
4284
4285 * gdb.python/py-events.py (inferior_call_handler): New.
4286 (register_changed_handler, memory_changed_handler): New.
4287 (test_events.invoke): Register new handlers.
4288 * gdb.python/py-events.exp: Add tests for inferior call,
4289 memory_changed and register_changed events.
4290
4291 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4292
4293 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4294 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4295 if the linker doesn't understand this.
4296
4297 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4298
4299 * gdb.python/python.exp: Change expected reply to help().
4300
4301 2014-12-01 Yao Qi <yao@codesourcery.com>
4302
4303 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4304 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4305 * configure: Re-generated.
4306
4307 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4308
4309 * gdb.cp/chained-calls.cc: New file.
4310 * gdb.cp/chained-calls.exp: New file.
4311 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4312
4313 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4314
4315 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4316 * gdb.dwarf2/symtab-producer.exp: Same.
4317 * gdb.gdb/python-interrupts.exp: Same.
4318 * gdb.gdb/python-selftest.exp: Same.
4319 * gdb.python/py-linetable.exp: Same.
4320 * gdb.python/py-type.exp: Same.
4321 * gdb.python/py-value-cc.exp: Same.
4322 * gdb.python/py-value.exp: Same.
4323
4324 2014-11-28 Yao Qi <yao@codesourcery.com>
4325
4326 * gdb.base/break-probes.exp: Match library name prefixed with
4327 sysroot.
4328
4329 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4330
4331 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4332 test expected output. Add parentheses for the call to print.
4333 Remove L suffix from integers.
4334
4335 2014-11-26 Doug Evans <dje@google.com>
4336
4337 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4338
4339 2014-11-22 Yao Qi <yao@codesourcery.com>
4340
4341 * gdb.trace/entry-values.c: Remove asms.
4342 (foo): Add foo_label.
4343 (bar): Add bar_label.
4344 * gdb.trace/entry-values.exp: Remove code computing foo's
4345 length and bar's length.
4346 (Dwarf::assemble): Invoke function_range for bar and use
4347 MACRO_AT_func for foo.
4348
4349 2014-11-22 Yao Qi <yao@codesourcery.com>
4350
4351 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4352 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4353 Use .Lgcc43_procstart instead of gcc43.
4354
4355 2014-11-21 Joel Brobecker <brobecker@adacore.com>
4356
4357 * gdb.ada/n_arr_bound: New testcase.
4358
4359 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4360
4361 PR breakpoints/10737
4362 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4363 test_catch_syscall_multi_arch.
4364 (test_catch_syscall_multi_arch): New function.
4365
4366 2014-11-20 Doug Evans <xdje42@gmail.com>
4367
4368 * gdb.base/maint.exp: Update expected output.
4369
4370 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4371
4372 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4373 4-byte instruction on S390.
4374
4375 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4376
4377 * gdb.ada/arr_arr: New testcase.
4378
4379 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4380
4381 * gdb.ada/pkd_arr_elem: New Testcase.
4382
4383 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
4384
4385 * gdb.reverse/break-precsave: Expect completion message for
4386 core file reads.
4387 * gdb.reverse/consecutive-precsave.exp: Likewise.
4388 * gdb.reverse/finish-precsave.exp: Likewise.
4389 * gdb.reverse/i386-precsave.exp: Likewise.
4390 * gdb.reverse/machinestate-precsave.exp: Likewise.
4391 * gdb.reverse/sigall-precsave.exp: Likewise.
4392 * gdb.reverse/solib-precsave.exp: Likewise.
4393 * gdb.reverse/step-precsave.exp: Likewise.
4394 * gdb.reverse/until-precsave.exp: Likewise.
4395 * gdb.reverse/watch-precsave.exp: Likewise.
4396
4397 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4398
4399 * gdb.base/bp-permanent.c: Include unistd.h.
4400 * gdb.python/py-framefilter-mi.c (main): Add return type.
4401 * gdb.python/py-framefilter.c (main): Likewise.
4402 * gdb.trace/actions-changed.c (main): Likewise.
4403
4404 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4405
4406 * gdb.mi/until.c: Add eye-catchers.
4407 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4408 line numbers.
4409
4410 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4411
4412 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4413 function header variants in break1.c.
4414 * gdb.base/ena-dis-br.exp: Likewise.
4415 * gdb.base/hbreak2.exp: Likewise.
4416 * gdb.reverse/until-precsave.exp: Drop references to removed
4417 non-prototype function header variants in ur1.c.
4418 * gdb.reverse/until-reverse.exp: Likewise.
4419
4420 2014-11-17 Petr Machata <pmachata@redhat.com>
4421
4422 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4423 ${_cu_offset_size} bytes abbrev offset.
4424
4425 2014-11-15 Doug Evans <xdje42@gmail.com>
4426
4427 PR symtab/17559
4428 * gdb.base/line-symtabs.exp: New file.
4429 * gdb.base/line-symtabs.c: New file.
4430 * gdb.base/line-symtabs.h: New file.
4431
4432 2014-11-14 Yao Qi <yao@codesourcery.com>
4433
4434 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4435 (func): Add label func_label.
4436 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4437 Replace low_pc and high_pc with MACRO_AT_range.
4438 Replace name, low_pc and high_pc with MACRO_AT_func.
4439
4440 2014-11-14 Yao Qi <yao@codesourcery.com>
4441
4442 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4443 Replace name, low_pc and high_pc with MACRO_AT_func.
4444
4445 2014-11-14 Yao Qi <yao@codesourcery.com>
4446
4447 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4448 produce debug information.
4449 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4450
4451 2014-11-14 Yao Qi <yao@codesourcery.com>
4452
4453 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4454 object and get function length.
4455 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4456 with MACRO_AT_func.
4457 (top-level): Replace gdb_compile and clean_restart with
4458 prepare_for_testing.
4459 * gdb.dwarf2/main.c (main): Add label main_label.
4460
4461 2014-11-14 Yao Qi <yao@codesourcery.com>
4462
4463 * lib/dwarf.exp (function_range): New procedure.
4464 (Dwarf::_handle_macro_at_func): New procedure.
4465 (Dwarf::_handle_macro_at_range): New procedure.
4466 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4467
4468 2014-11-14 Yao Qi <yao@codesourcery.com>
4469
4470 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4471 (_handle_attribute): New procedure.
4472
4473 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4474
4475 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4476 * gdb.base/call-sc.c (zed): Likewise.
4477 * gdb.base/checkpoint.c (main): Likewise.
4478 * gdb.base/dump.c (main): Likewise.
4479 * gdb.base/gcore.c (main): Likewise.
4480 * gdb.base/huge.c (main): Likewise.
4481 * gdb.base/multi-forks.c (main): Likewise.
4482 * gdb.base/pr10179-a.c (main): Likewise.
4483 * gdb.base/savedregs.c (main): Likewise.
4484 * gdb.base/sigaltstack.c (main): Likewise.
4485 * gdb.base/siginfo.c (main): Likewise.
4486 * gdb.base/structs.c (zed): Likewise.
4487 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4488 * gdb.mi/mi-syn-frame.c (main): Likewise.
4489 * gdb.mi/until.c (foo, main): Likewise.
4490 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4491 * gdb.base/solib-weak.c (foo): Declare.
4492 * gdb.base/attach-twice.c: Include stdio.h.
4493 * gdb.base/weaklib1.c: Likewise.
4494 * gdb.base/weaklib2.c: Likewise.
4495 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4496 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4497 unistd.h.
4498 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4499 * gdb.mi/mi-exit-code.c: Likewise.
4500 * gdb.base/break-interp-lib.c: Include string.h.
4501 * gdb.base/coremaker.c: Likewise.
4502 * gdb.base/testenv.c: Likewise.
4503 * gdb.python/py-finish-breakpoint.c: Likewise.
4504 * gdb.base/inferior-died.c: Include sys/wait.h.
4505 * gdb.base/fileio.c: Include time.h.
4506 * gdb.base/async-shell.c: Include unistd.h.
4507 * gdb.base/dprintf-non-stop.c: Likewise.
4508 * gdb.base/info-os.c: Likewise.
4509 * gdb.mi/mi-console.c: Likewise.
4510 * gdb.mi/watch-nonstop.c: Likewise.
4511 * gdb.python/py-events.c: Likewise.
4512 * gdb.base/async.c (baz): Move up before its invocation.
4513 * gdb.base/code_elim2.c (my_global_func): Likewise.
4514 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4515 * gdb.base/advance.c (func2): Likewise.
4516
4517 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4518
4519 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4520 variant.
4521 * gdb.base/annota3.c: Likewise.
4522 * gdb.base/async.c: Likewise.
4523 * gdb.base/average.c: Likewise.
4524 * gdb.base/call-ar-st.c: Likewise.
4525 * gdb.base/call-rt-st.c: Likewise.
4526 * gdb.base/call-sc.c: Likewise.
4527 * gdb.base/call-strs.c: Likewise.
4528 * gdb.base/ending-run.c: Likewise.
4529 * gdb.base/execd-prog.c: Likewise.
4530 * gdb.base/exprs.c: Likewise.
4531 * gdb.base/foll-exec.c: Likewise.
4532 * gdb.base/foll-fork.c: Likewise.
4533 * gdb.base/foll-vfork.c: Likewise.
4534 * gdb.base/funcargs.c: Likewise.
4535 * gdb.base/gcore.c: Likewise.
4536 * gdb.base/jump.c: Likewise.
4537 * gdb.base/langs0.c: Likewise.
4538 * gdb.base/langs1.c: Likewise.
4539 * gdb.base/langs2.c: Likewise.
4540 * gdb.base/mips_pro.c: Likewise.
4541 * gdb.base/nodebug.c: Likewise.
4542 * gdb.base/opaque0.c: Likewise.
4543 * gdb.base/opaque1.c: Likewise.
4544 * gdb.base/recurse.c: Likewise.
4545 * gdb.base/run.c: Likewise.
4546 * gdb.base/scope0.c: Likewise.
4547 * gdb.base/scope1.c: Likewise.
4548 * gdb.base/setshow.c: Likewise.
4549 * gdb.base/setvar.c: Likewise.
4550 * gdb.base/shmain.c: Likewise.
4551 * gdb.base/shr1.c: Likewise.
4552 * gdb.base/shr2.c: Likewise.
4553 * gdb.base/sigall.c: Likewise.
4554 * gdb.base/signals.c: Likewise.
4555 * gdb.base/so-indr-cl.c: Likewise.
4556 * gdb.base/solib2.c: Likewise.
4557 * gdb.base/structs.c: Likewise.
4558 * gdb.base/sum.c: Likewise.
4559 * gdb.base/vforked-prog.c: Likewise.
4560 * gdb.base/watchpoint.c: Likewise.
4561 * gdb.reverse/shr2.c: Likewise.
4562 * gdb.reverse/until-reverse.c: Likewise.
4563 * gdb.reverse/ur1.c: Likewise.
4564 * gdb.reverse/watch-reverse.c: Likewise.
4565
4566 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4567
4568 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4569 variant.
4570 * gdb.base/sepdebug.exp: Drop references to removed code.
4571
4572 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4573
4574 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4575 variant. Preserve original line numbering.
4576 * gdb.base/list1.c: Likewise.
4577
4578 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4579
4580 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4581 variant.
4582 * gdb.base/break1.c: Likewise.
4583 * gdb.base/break.exp: Drop references to removed code.
4584
4585 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4586
4587 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4588 variant.
4589
4590 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4591
4592 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4593
4594 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4595
4596 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4597 logic into perform_all_tests() and invoke it with and without
4598 function header prototypes.
4599 (do_function_calls): Remove conditional XFAIL for PR 5318.
4600 (rerun_and_prepare): Remove duplicate code.
4601 (perform_all_tests): New. Main logic moved here.
4602
4603 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4604
4605 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4606 code guarded by #ifdef NO_PROTOTYPES.
4607 (t_double_many_args): Likewise.
4608 (DEF_FUNC_MANY_ARGS_1): Likewise.
4609 (DEF_FUNC_VALUES_1): Likewise.
4610 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4611 guarded by #ifdef PROTOTYPES.
4612
4613 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4614
4615 * gdb.mi/mi-console.c: Add eye-catcher.
4616 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4617 instead of literal line number.
4618
4619 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4620
4621 * gdb.base/shr2.c: Add eye-catcher.
4622 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4623 line number.
4624
4625 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4626
4627 * gdb.base/jump.c: Add eye-catchers.
4628 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4629 numbers.
4630
4631 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4632
4633 * gdb.base/execd-prog.c: Add eye-catchers.
4634 * gdb.base/foll-exec.c: Likewise.
4635 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4636 line numbers.
4637
4638 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4639
4640 * gdb.base/ending-run.c: Add eye-catchers.
4641 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4642 literal line numbers.
4643
4644 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4645
4646 * gdb.base/call-rt-st.c: Add eye-catchers.
4647 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4648 literal line numbers.
4649
4650 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4651
4652 * gdb.base/call-ar-st.c: Add eye-catchers.
4653 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4654 literal line numbers.
4655
4656 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4657
4658 * gdb.base/average.c: Add eye-catchers.
4659 * gdb.base/sum.c: Likewise.
4660 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4661 regexps dynamically.
4662
4663 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4664
4665 * gdb.base/solib1.c: Add eye-catchers.
4666 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4667 literal line numbers.
4668
4669 2014-11-12 Pedro Alves <palves@redhat.com>
4670
4671 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4672 leader has exited.
4673
4674 2014-11-12 Pedro Alves <palves@redhat.com>
4675
4676 * gdb.arch/i386-bp_permanent.c: New file.
4677 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4678 (srcfile): Set to i386-bp_permanent.c.
4679 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4680 that stepi does not execute the 'leave' instruction, instead of
4681 testing it does execute.
4682 * gdb.base/bp-permanent.c: New file.
4683 * gdb.base/bp-permanent.exp: New file.
4684
4685 2014-11-10 Doug Evans <xdje42@gmail.com>
4686
4687 PR symtab/17564
4688 * gdb.base/symtab-search-order.exp: New file.
4689 * gdb.base/symtab-search-order.c: New file.
4690 * gdb.base/symtab-search-order-1.c: New file.
4691 * gdb.base/symtab-search-order-shlib-1.c: New file.
4692
4693 2014-11-07 Pedro Alves <palves@redhat.com>
4694
4695 PR gdb/17511
4696 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4697 i?86-*-linux*.
4698
4699 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4700
4701 PR c++/17494
4702 * gdb.cp/pr17494.cc: New file.
4703 * gdb.cp/pr17494.exp: New file.
4704
4705 2014-11-02 Yao Qi <yao@codesourcery.com>
4706
4707 * gdb.python/python.exp: Get working directory and match the
4708 output of "set extended-prompt \\w " with it.
4709
4710 2014-10-30 Doug Evans <dje@google.com>
4711
4712 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4713 in objfiles.
4714 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4715 in progspaces.
4716
4717 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
4718
4719 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4720 * gdb.base/realname-expand.exp: Likewise.
4721 * gdb.linespec/macro-relative.exp: Likewise.
4722
4723 2014-10-29 Pedro Alves <palves@redhat.com>
4724
4725 PR gdb/17408
4726 * gdb.threads/schedlock.c (some_function): New function.
4727 (call_function): New global.
4728 (MAYBE_CALL_SOME_FUNCTION): New macro.
4729 (thread_function): Call it.
4730 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4731 and use it instead of a global counter. Adjust all callers.
4732 (get_current_thread): Use "find current thread" for test message
4733 here rather than having all callers pass down the same string.
4734 (goto_loop): New procedure, factored out from ...
4735 (my_continue): ... this.
4736 (step_ten_loops): Change parameter from test message to command to
4737 use. Adjust.
4738 (list_count): Delete global.
4739 (check_result): New procedure, factored out from duplicate top
4740 level code.
4741 (continue tests): Wrap in with_test_prefix.
4742 (test_step): New procedure, factored out from duplicate top level
4743 code.
4744 (top level): Test "step" in combination with all scheduler-locking
4745 modes. Test "next" in combination with all scheduler-locking
4746 modes, and in combination with stepping over a function call or
4747 not.
4748 * gdb.threads/next-bp-other-thread.c: New file.
4749 * gdb.threads/next-bp-other-thread.exp: New file.
4750
4751 2014-10-29 Pedro Alves <palves@redhat.com>
4752
4753 PR python/17372
4754 * gdb.python/python.exp: Test a multi-line command that spawns
4755 interactive Python.
4756 * gdb.base/multi-line-starts-subshell.exp: New file.
4757
4758 2014-10-29 Yao Qi <yao@codesourcery.com>
4759
4760 * gdb.base/fileio.exp: Make directories on host.
4761
4762 2014-10-29 Yao Qi <yao@codesourcery.com>
4763
4764 * gdb.base/fileio.c (test_write): Close the file.
4765
4766 2014-10-28 Pedro Alves <palves@redhat.com>
4767
4768 PR gdb/12623
4769 * gdb.base/sigstep.c (no_handler): New global.
4770 (main): If 'no_handler is true, set the signal handlers to
4771 SIG_IGN.
4772 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4773 with_sw_watch and no_handler parameters. Handle them.
4774 (top level) <stepping over handler when stopped at a breakpoint
4775 test>: Add a test axis for testing with a software watchpoint, and
4776 another for testing with the signal handler set to SIG_IGN.
4777 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4778 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
4779
4780 2014-10-28 Pedro Alves <palves@redhat.com>
4781
4782 PR gdb/17511
4783 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
4784 * gdb.base/sigstep.exp (other_handler_location): New global.
4785 (advance): Support stepping into the signal handler, and running
4786 commands while in the handler.
4787 (in_handler_map): New global.
4788 (top level): In the advance test, add combinations for getting
4789 into the handler with stepping commands, and for running commands
4790 in the handler. Add comment descripting the advancei tests.
4791
4792 2014-10-28 Pedro Alves <palves@redhat.com>
4793
4794 * gdb.base/sigstep.exp: Use build_executable instead of
4795 prepare_for_testing.
4796 (top level): Move code that starts GDB, runs to main and creates a
4797 display to ...
4798 (restart): ... this new procedure.
4799 (top level): Move backtrace from signal handler test to ...
4800 (validate_backtrace): ... this new procedure.
4801 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
4802 with_test_prefix. Always restart GDB.
4803 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
4804 with_test_prefix. Always restart GDB. No need to delete
4805 breakpoints after the test.
4806 (test_skip_handler): Remove prefix parameter.
4807 (skip_over_handler, breakpoint_to_handler)
4808 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
4809 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
4810 restart GDB. No need to delete breakpoints after the test.
4811 (top level): Use foreach to call the test procedures with
4812 different commands.
4813
4814 2014-10-28 Pedro Alves <palves@redhat.com>
4815
4816 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
4817 instead of GNATS numbers.
4818 * gdb.base/sigbpt.exp: Likewise.
4819 * gdb.base/siginfo.exp: Likewise.
4820 * gdb.base/sigstep.exp: Likewise.
4821
4822 2014-10-27 Pedro Alves <palves@redhat.com>
4823
4824 * gdb.base/sigstep.c (dummy): New global.
4825 (main): Issue a couple writes to the new global.
4826 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
4827 procedures.
4828 (skip_over_handler): Use test_skip_handler.
4829 (top level): Call skip_over_handler for stepi and nexti too.
4830 (breakpoint_over_handler): Use test_skip_handler.
4831 (top level): Call breakpoint_over_handler for stepi and nexti too.
4832
4833 2014-10-27 Yao Qi <yao@codesourcery.com>
4834
4835 * gdb.trace/tfile.c (adjust_function_address)
4836 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
4837 function descriptor.
4838
4839 2014-10-24 Don Breazeal <donb@codesourcery.com>
4840
4841 * gdb.base/foll-fork.exp (test_follow_fork,
4842 catch_fork_child_follow): Check for updated fork messages emitted
4843 from infrun.c.
4844 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
4845 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
4846 vfork_and_exec_child_follow_through_step): Check for updated vfork
4847 messages emitted from infrun.c.
4848
4849 2014-10-24 Pedro Alves <palves@redhat.com>
4850
4851 * gdb.base/corefile.exp: Remove references to ultrix.
4852 * gdb.base/interrupt.exp: Likewise.
4853 * gdb.base/whatis.exp: Likewise.
4854 * gdb.gdb/selftest.exp: Likewise.
4855 * gdb.threads/manythreads.exp: Likewise.
4856 * gdb.threads/print-threads.exp: Likewise.
4857 * gdb.threads/pthreads.exp:: Likewise.
4858 * gdb.threads/schedlock.exp: Likewise.
4859
4860 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
4861
4862 * gdb.cp/non-trivial-retval.cc: Add a test case.
4863 * gdb.cp/non-trivial-retval.exp: Add a test.
4864
4865 2014-10-20 Yao Qi <yao@codesourcery.com>
4866
4867 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
4868 * gdb.python/py-objfile-script-gdb.py: New file.
4869 * gdb.python/py-objfile-script.exp: Update reference to
4870 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
4871 of remote_download. Remove the dest file.
4872
4873 2014-10-20 Yao Qi <yao@codesourcery.com>
4874
4875 * gdb.base/checkpoint.exp: Don't remove file copied on host.
4876 * gdb.base/step-line.exp: Likewise.
4877 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4878 * gdb.dwarf2/dw2-basic.exp: Likewise.
4879 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4880 * gdb.dwarf2/dw2-filename.exp: Likewise.
4881 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4882 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4883 * gdb.dwarf2/dw2-producer.exp: Likewise.
4884 * gdb.dwarf2/mac-fileno.exp: Likewise.
4885 * gdb.python/py-frame-args.exp: Likewise.
4886 * gdb.python/py-framefilter.exp: Likewise.
4887 * gdb.python/py-mi.exp: Likewise.
4888 * gdb.python/py-objfile-script.exp: Likewise
4889 * gdb.python/py-pp-integral.exp: Likewise.
4890 * gdb.python/py-pp-re-notag.exp: Likewise.
4891 * gdb.python/py-prettyprint.exp: Likewise.
4892 * gdb.python/py-section-script.exp: Likewise.
4893 * gdb.python/py-typeprint.exp: Likewise.
4894 * gdb.python/py-xmethods.exp: Likewise.
4895 * gdb.stabs/weird.exp: Likewise.
4896 * gdb.xml/tdesc-regs.exp: Likewise.
4897
4898 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
4899
4900 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
4901 (out_cu): Use addr_len for the size of addresses.
4902 (out_line): Likewise. Size DW_LNE_set_address instruction
4903 according to addr_len.
4904 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
4905 (FUNC): Add START_INSNS to definition.
4906
4907 2014-10-18 Yao Qi <yao@codesourcery.com>
4908
4909 * gdb.base/argv0-symlink.exp: Check argv[0] value if
4910 gdb_has_argv0 return true.
4911 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
4912 check [target_info exists noargs], check [gdb_has_argv0]
4913 instead.
4914 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4915 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
4916 procedures.
4917
4918 2014-10-17 Doug Evans <dje@google.com>
4919
4920 * gdb.python/py-events.exp: Update expected output for clear_objfiles
4921 event.
4922 * gdb.python/py-events.py: Add clear_objfiles event.
4923
4924 2014-10-17 Doug Evans <dje@google.com>
4925
4926 * gdb.python/py-objfile.exp: Test progspace attribute.
4927
4928 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
4929
4930 * gdb.guile/scm-breakpoint.exp: Do not assume any
4931 directory separators when matching source file paths.
4932 * gdb.python/py-breakpoint.exp: Likewise.
4933 * gdb.reverse/break-precsave.exp: Likewise.
4934 * gdb.reverse/break-reverse.exp: Likewise.
4935 * gdb.reverse/consecutive-precsave.exp: Likewise.
4936 * gdb.reverse/finish-precsave.exp: Likewise.
4937 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
4938 * gdb.reverse/finish-reverse.exp: Likewise.
4939 * gdb.reverse/i386-precsave.exp: Likewise.
4940 * gdb.reverse/i387-env-reverse.exp: Likewise.
4941 * gdb.reverse/i387-stack-reverse.exp: Likewise.
4942 * gdb.reverse/machinestate-precsave.exp: Likewise.
4943 * gdb.reverse/machinestate.exp: Likewise.
4944 * gdb.reverse/sigall-precsave.exp: Likewise.
4945 * gdb.reverse/solib-precsave.exp: Likewise.
4946 * gdb.reverse/step-precsave.exp: Likewise.
4947 * gdb.reverse/until-precsave.exp: Likewise.
4948 * gdb.reverse/watch-precsave.exp: Likewise.
4949 * gdb.reverse/watch-reverse.exp: Likewise.
4950
4951 2014-10-17 Yao Qi <yao@codesourcery.com>
4952
4953 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
4954 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
4955
4956 2014-10-17 Pedro Alves <palves@redhat.com>
4957
4958 PR gdb/17471
4959 * gdb.base/bg-execution-repeat.c: New file.
4960 * gdb.base/bg-execution-repeat.exp: New file.
4961
4962 2014-10-17 Pedro Alves <palves@redhat.com>
4963
4964 PR gdb/17300
4965 * gdb.base/continue-all-already-running.c: New file.
4966 * gdb.base/continue-all-already-running.exp: New file.
4967
4968 2014-10-17 Pedro Alves <palves@redhat.com>
4969
4970 PR gdb/17472
4971 * gdb.base/annota-input-while-running.c: New file.
4972 * gdb.base/annota-input-while-running.exp: New file.
4973
4974 2014-10-17 Pedro Alves <palves@redhat.com>
4975
4976 * gdb.base/callfuncs.exp: emove references to osf.
4977 * gdb.base/sigall.exp: Likewise.
4978 * gdb.gdb/selftest.exp: Likewise.
4979 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
4980 * gdb.mi/non-stop.c: Likewise.
4981 * gdb.mi/pthreads.c: Likewise.
4982 * gdb.reverse/sigall-precsave.exp: Likewise.
4983 * gdb.reverse/sigall-reverse.exp: Likewise.
4984 * gdb.threads/pthreads.c: Likewise.
4985 * gdb.threads/pthreads.exp: Likewise.
4986
4987 2014-10-17 Yao Qi <yao@codesourcery.com>
4988
4989 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
4990 check 'target_info exists noargs'.
4991 (test_command_prompt_position): Likewise.
4992 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
4993 Remove "set args".
4994 (progvar_simple_while_test): Likewise.
4995 (progvar_complex_if_while_test): Likewise.
4996 (if_while_breakpoint_command_test): Likewise.
4997 (infrun_breakpoint_command_test): Likewise.
4998 (breakpoint_command_test): Likewise.
4999 (watchpoint_command_test): Likewise.
5000 (bp_deleted_in_command_test): Likewise.
5001 (temporary_breakpoint_commands): Likewise.
5002
5003 2014-10-16 Yao Qi <yao@codesourcery.com>
5004
5005 * gdb.base/remotetimeout.exp: Remove noargs checking.
5006
5007 2014-10-15 Pedro Alves <palves@redhat.com>
5008
5009 PR breakpoints/9649
5010 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5011 * gdb.base/breakpoint-in-ro-region.exp
5012 (probe_target_hardware_step): New procedure.
5013 (top level): Probe hardware stepping and hardware breakpoint
5014 support. Test stepping through a read-only region, with both
5015 "breakpoint auto-hw" on and off and both "always-inserted" on and
5016 off.
5017
5018 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5019
5020 * gdb.dlang/demangle.exp: Update for demangling changes.
5021
5022 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5023
5024 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5025 * gdb.cp/non-trivial-retval.exp: Add new tests.
5026
5027 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5028
5029 PR c++/13403
5030 PR c++/15154
5031 * gdb.cp/non-trivial-retval.cc: New file.
5032 * gdb.cp/non-trivial-retval.exp: New file.
5033
5034 2014-10-15 Yao Qi <yao@codesourcery.com>
5035
5036 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5037 remote host.
5038
5039 2014-10-15 Yao Qi <yao@codesourcery.com>
5040
5041 * gdb.python/py-symbol.exp: Match file base name if host is
5042 remote, otherwise match file name with dir name.
5043 * gdb.python/py-symtab.exp: Likewise.
5044 * gdb.python/python.exp: Likewise.
5045
5046 2014-10-15 Yao Qi <yao@codesourcery.com>
5047
5048 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5049 pattern.
5050 * gdb.python/py-symtab.exp: Likewise.
5051 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5052 locationn.
5053
5054 2014-10-14 Joel Brobecker <brobecker@adacore.com>
5055
5056 * gdb.ada/addr_arith: New testcase.
5057
5058 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5059
5060 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5061 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5062 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5063 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5064
5065 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5066
5067 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5068 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5069 * gdb.arch/stap-eval-lang-ada.exp: New file.
5070
5071 2014-10-14 Yao Qi <yao@codesourcery.com>
5072
5073 * gdb.mi/mi-var-child.c (nothing1): New function.
5074 (nothing2): New function.
5075 (do_children_tests): Set function pointers by nothing1 and
5076 nothing2.
5077 * gdb.mi/mi-var-child.exp: Step over new added statements.
5078 Update test to match the new output.
5079 * gdb.mi/var-cmd.c (nothing1): New function.
5080 (nothing2): New function.
5081 (do_children_tests): Set function pointers by nothing1 and
5082 nothing2.
5083 * gdb.mi/mi-var-display.exp: Update test to match output.
5084 Step to the line specified by $line_dct_nothing.
5085 Increase the number of lines to step.
5086
5087 2014-10-14 Yao Qi <yao@codesourcery.com>
5088
5089 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5090 tests.
5091 * gdb.mi/mi2-var-child.exp: Likewise.
5092
5093 2014-10-13 Doug Evans <dje@google.com>
5094
5095 * gdb.python/py-objfile.exp: Change name of file name test.
5096
5097 2014-10-13 Doug Evans <dje@google.com>
5098
5099 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5100 from the start of the CU.
5101
5102 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5103 Yao Qi <yao@codesourcery.com>
5104
5105 Fix "save breakpoints" for "catch" command.
5106 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5107 Remove -nonewline. Match also the added "main" line.
5108
5109 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5110
5111 Fix "save breakpoints" for "disable $bpnum" command.
5112 * gdb.base/save-bp.c (main): Add label.
5113 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5114
5115 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5116
5117 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5118
5119 2014-10-11 Yao Qi <yao@codesourcery.com>
5120
5121 * gdb.server/server-kill.exp: Execute command
5122 "set remote trace-status-packet on" before "tstatus".
5123
5124 2014-10-11 Yao Qi <yao@codesourcery.com>
5125
5126 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5127 (main): Call getppid.
5128 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5129 and continue to it. Read variable "server_pid".
5130
5131 2014-10-11 Yao Qi <yao@codesourcery.com>
5132
5133 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5134
5135 2014-10-11 Yao Qi <yao@codesourcery.com>
5136
5137 * gdb.threads/thread-find.exp: Don't execute command
5138 "info threads".
5139 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5140 * gdb.threads/linux-dp.exp: Don't check the condition
5141 $threads_created equals to zero.
5142
5143 2014-10-10 Pedro Alves <palves@redhat.com>
5144
5145 * gdb.base/bigcore.exp: Remove references to IRIX.
5146 * gdb.base/funcargs.exp: Likewise.
5147 * gdb.base/interrupt.exp: Likewise.
5148 * gdb.base/mips_pro.exp: Likewise.
5149 * gdb.base/nodebug.exp: Likewise.
5150 * gdb.base/setvar.exp: Likewise.
5151 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5152
5153 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5154 Pedro Alves <palves@redhat.com>
5155
5156 PR symtab/14466
5157 * gdb.base/vdso-warning.c: New file.
5158 * gdb.base/vdso-warning.exp: New file.
5159
5160 2014-10-02 Doug Evans <dje@google.com>
5161
5162 * gdb.base/structs.c (main): Don't run forever.
5163
5164 2014-10-02 Pedro Alves <palves@redhat.com>
5165
5166 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5167 (top level) <stop threads 1, stop threads 2>: Use it.
5168
5169 2014-10-02 Pedro Alves <palves@redhat.com>
5170
5171 * gdb.threads/break-while-running.exp (test): Add new
5172 'update_thread_list' argument. Skip "info threads" if false.
5173 (top level): Add new 'update_thread_list' axis.
5174
5175 2014-10-02 Pedro Alves <palves@redhat.com>
5176
5177 PR breakpoints/17431
5178 * gdb.base/execl-update-breakpoints.c: New file.
5179 * gdb.base/execl-update-breakpoints.exp: New file.
5180
5181 2014-10-01 Pedro Alves <palves@redhat.com>
5182
5183 * gdb.base/breakpoint-in-ro-region.c: New file.
5184 * gdb.base/breakpoint-in-ro-region.exp: New file.
5185
5186 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5187
5188 * gdb.mi/mi-exit-code.exp: New file.
5189 * gdb.mi/mi-exit-code.c: New file.
5190
5191 2014-09-30 Yao Qi <yao@codesourcery.com>
5192
5193 * lib/prelink-support.exp (build_executable_own_libs): Error if
5194 the target isn't native.
5195
5196 2014-09-30 Yao Qi <yao@codesourcery.com>
5197
5198 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5199 false.
5200
5201 2014-09-22 Pedro Alves <palves@redhat.com>
5202
5203 * gdb.threads/break-while-running.exp: New file.
5204 * gdb.threads/break-while-running.c: New file.
5205
5206 2014-09-19 Yao Qi <yao@codesourcery.com>
5207
5208 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5209 Invoke test. Restart GDB with --readnow and invoke test again.
5210
5211 2014-09-19 Yao Qi <yao@codesourcery.com>
5212
5213 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5214 proc set_breakpoint_on_gcd_function. Invoke
5215 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5216 invoke set_breakpoint_on_gcd_function again.
5217
5218 2014-09-18 Doug Evans <dje@google.com>
5219
5220 * gdb.dwarf2/symtab-producer.exp: New file.
5221
5222 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5223
5224 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5225 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5226 * gdb.base/global-var-nested-by-dso.c: Likewise.
5227 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5228
5229 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5230 Pedro Alves <palves@redhat.com>
5231
5232 * gdb.base/watch-bitfields.exp: Pass string other than test file
5233 name to prepare_for_testing.
5234 (watch): New procedure.
5235 (expect_watchpoint): Use with_test_prefix.
5236 (top level): Factor out tests to ...
5237 (test_watch_location, test_regular_watch): ... these new
5238 procedures, and use with_test_prefix and gdb_continue_to_end.
5239
5240 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5241
5242 PR breakpoints/12526
5243 * gdb.base/watch-bitfields.exp: New file.
5244 * gdb.base/watch-bitfields.c: New file.
5245
5246 2014-09-16 Pedro Alves <palves@redhat.com>
5247
5248 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5249 software and hardware addresses, not software address against
5250 itself.
5251
5252 2014-09-16 Pedro Alves <palves@redhat.com>
5253
5254 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5255 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5256
5257 2014-09-16 Pedro Alves <palves@redhat.com>
5258
5259 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5260 files.
5261 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5262 "*-*-vxworks*" throughout.
5263 * gdb.base/break.exp: Likewise.
5264 * gdb.base/default.exp: Likewise.
5265 * gdb.base/scope.exp: Likewise.
5266 * gdb.base/sepdebug.exp: Likewise.
5267 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5268 throughout.
5269 * gdb.base/run.c: Likewise.
5270 * gdb.base/sepdebug.c: Likewise.
5271 * gdb.hp/gdb.aCC/run.c: Likewise.
5272 * gdb.reverse/until-reverse.c: Likewise.
5273 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5274
5275 2014-09-16 Yao Qi <yao@codesourcery.com>
5276
5277 * boards/local-remote-host-native.exp: New file.
5278
5279 2014-09-14 Doug Evans <xdje42@gmail.com>
5280
5281 * gdb.threads/queue-signal.c (thread_count): New variable.
5282 (thread_count_mutex, thread_count_condvar): New variables.
5283 (incr_thread_count, wait_all_threads_running): New functions.
5284 (main): Wait for all threads to be in their thread functions.
5285
5286 2014-09-13 Doug Evans <xdje42@gmail.com>
5287
5288 * gdb.threads/queue-signal.c: New file.
5289 * gdb.threads/queue-signal.exp: New file.
5290
5291 2014-09-13 Doug Evans <xdje42@gmail.com>
5292
5293 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5294 be consistent with what default_gdb_init uses.
5295 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5296 the plain text of the prompt. Add some logging printfs.
5297 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5298
5299 2014-09-12 Pedro Alves <palves@redhat.com>
5300
5301 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5302 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5303 * gdb.arch/i386-size-overlap.exp: Likewise.
5304 * gdb.arch/i386-size.exp: Likewise.
5305 * gdb.arch/i386-unwind.exp: Likewise.
5306 * gdb.base/a2-run.exp: Likewise.
5307 * gdb.base/break.exp: Likewise.
5308 * gdb.base/charset.exp: Likewise.
5309 * gdb.base/chng-syms.exp: Likewise.
5310 * gdb.base/commands.exp: Likewise.
5311 * gdb.base/dbx.exp: Likewise.
5312 * gdb.base/find.exp: Likewise.
5313 * gdb.base/funcargs.exp: Likewise.
5314 * gdb.base/jit-simple.exp: Likewise.
5315 * gdb.base/reread.exp: Likewise.
5316 * gdb.base/sepdebug.exp: Likewise.
5317 * gdb.base/step-bt.exp: Likewise.
5318 * gdb.cp/mb-inline.exp: Likewise.
5319 * gdb.cp/mb-templates.exp: Likewise.
5320 * gdb.objc/basicclass.exp: Likewise.
5321 * gdb.threads/killed.exp: Likewise.
5322
5323 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5324
5325 PR tdep/17379
5326 * gdb.arch/powerpc-stackless.S: New file.
5327 * gdb.arch/powerpc-stackless.exp: New file.
5328
5329 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5330
5331 * gdb.base/attach.c: Include unistd.h.
5332 (main): Call alarm. Add label postloop.
5333 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5334 gdb_breakpoint, gdb_continue_to_breakpoint.
5335 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5336
5337 2014-09-11 Pedro Alves <palves@redhat.com>
5338
5339 PR gdb/17347
5340 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5341 * gdb.base/attach.exp (test_command_line_attach_run): New
5342 procedure.
5343 (top level): Call it.
5344
5345 2014-09-11 Pedro Alves <palves@redhat.com>
5346
5347 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5348 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5349 (do_command_attach_tests): Use spawn_wait_for_attach.
5350 * gdb.base/solib-overlap.exp: Likewise.
5351 * gdb.multi/multi-attach.exp: Likewise.
5352 * gdb.python/py-prompt.exp: Likewise.
5353 * gdb.python/py-sync-interp.exp: Likewise.
5354 * gdb.server/ext-attach.exp: Likewise.
5355
5356 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5357
5358 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5359 command in testcase. Simplify testcase.
5360
5361 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5362
5363 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5364
5365 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5366
5367 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5368
5369 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5370
5371 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5372
5373 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5374
5375 * gdb.dwarf2/dynarr-ptr.c: New file.
5376 * gdb.dwarf2/dynarr-ptr.exp: New file.
5377
5378 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5379
5380 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5381 of 30 rather than hardcoding 120 for a slow test case. Take the
5382 `gdb,timeout' target setting into account for this calculation.
5383 Don't extend the timeout for the test cases that don't need it.
5384
5385 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5386
5387 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5388 a factor of 2 for a slow test case. Take the `gdb,timeout'
5389 target setting into account for this calculation.
5390 * gdb.reverse/until-precsave.exp: Increase the timeout by
5391 a factor of 15 and 3 respectively rather than adding 120
5392 for a pair of slow test cases. Take the `gdb,timeout'
5393 target setting into account for this calculation.
5394
5395 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5396
5397 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5398 timeout, don't pass one down to gdb_expect.
5399 (gdb_expect): Rework timeout selection.
5400
5401 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5402
5403 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5404 exception on timeout.
5405 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5406 (gdbserver_start_extended): Catch any `gdbserver_start' error
5407 exceptions.
5408 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5409 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5410 `gdbserver_gdb_load' error exceptions.
5411
5412 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5413
5414 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5415 120 on waiting for the TCP socket to open.
5416
5417 2014-09-09 Doug Evans <xdje42@gmail.com>
5418
5419 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5420 _caller_matches, _any_caller_is, _any_caller_matches.
5421
5422 2014-09-09 Doug Evans <xdje42@gmail.com>
5423
5424 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5425
5426 2014-09-09 Yao Qi <yao@codesourcery.com>
5427
5428 * gdb.mi/mi-var-display.exp: Set print symbol off.
5429
5430 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5431
5432 PR gdb/17035
5433 * gdb.base/commands.exp: Add tests to verify user-defined
5434 commands with empty bodies.
5435 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5436 python commands in `show user command`.
5437 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5438 scheme commands in `show user command`.
5439
5440 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5441
5442 PR python/17355
5443 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5444 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5445 * gdb.python/py-framefilter-invalidarg.exp: New file.
5446 * gdb.python/py-framefilter-invalidarg.py: New file.
5447
5448 2014-09-06 Doug Evans <xdje42@gmail.com>
5449
5450 PR 15276
5451 * gdb.python/py-caller-is.c: New file.
5452 * gdb.python/py-caller-is.exp: New file.
5453
5454 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5455
5456 PR gdb/17235
5457 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5458 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5459
5460 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5461
5462 PR fortran/17237
5463 * gdb.fortran/print-formatted.exp: New file.
5464 * gdb.fortran/print-formatted.f90: Likewise.
5465
5466 2014-09-03 Sasha Smundak <asmundak@google.com>
5467
5468 * gdb.python/py-frame.exp: Test Frame.read_register.
5469
5470 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5471
5472 PR python/16699
5473 * gdb.python/py-completion.exp: New file.
5474 * gdb.python/py-completion.py: Likewise.
5475
5476 2014-08-28 Doug Evans <dje@google.com>
5477
5478 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5479 eax,etc. are live with values set by gdb and thus the compiler can't
5480 use them.
5481 * gdb.arch/i386-pseudo.c (main): Ditto.
5482
5483 2014-08-27 Doug Evans <dje@google.com>
5484
5485 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5486
5487 2014-08-25 Doug Evans <dje@google.com>
5488
5489 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5490 (main): Ditto.
5491
5492 2014-08-25 Doug Evans <dje@google.com>
5493
5494 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5495
5496 2014-08-24 Yao Qi <yao@codesourcery.com>
5497
5498 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5499 symbol off.
5500 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5501
5502 2014-08-22 Doug Evans <dje@google.com>
5503
5504 PR 17276
5505 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5506 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5507 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5508
5509 2014-08-22 Yao Qi <yao@codesourcery.com>
5510
5511 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5512 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5513 * gdb.python/python.exp: Likewise. Use .py file on the host
5514 instead of the build.
5515
5516 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5517
5518 * gdb.threads/gcore-stale-thread.c: New file.
5519 * gdb.threads/gcore-stale-thread.exp: New file.
5520
5521 2014-08-21 Pedro Alves <palves@redhat.com>
5522
5523 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5524 * gdb.base/gcore-relro-pie.exp: Likewise.
5525 * gdb.base/gcore-relro.exp: Likewise.
5526 * gdb.base/gcore.exp: Likewise.
5527 * gdb.base/print-symbol-loading.exp: Likewise.
5528 * gdb.threads/gcore-thread.exp: Likewise.
5529 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5530
5531 2014-08-20 Pedro Alves <palves@redhat.com>
5532 Jan Kratochvil <jan.kratochvil@redhat.com>
5533
5534 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5535 configure.
5536 (EXPECT): Handle READ1 being set.
5537 (all): Depend on EXTRA_RULES.
5538 (check-read1, expect-read1, read1.so, read1): New rules.
5539 * README (Testsuite Parameters): Document the READ1 make variable.
5540 (Race detection): New section.
5541 * configure: Regenerate.
5542 * configure.ac: If build==host==target, and running under a
5543 GNU/glibc system, add read1 to the extra Makefile rules.
5544 (EXTRA_RULES): AC_SUBST it.
5545 * lib/read1.c: New file.
5546
5547 2014-08-20 Joel Brobecker <brobecker@adacore.com>
5548
5549 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5550 the handling of variables declared as a typedef to an array
5551 which a DW_AT_data_location attribute.
5552
5553 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
5554 Pedro Alves <palves@redhat.com>
5555
5556 PR symtab/14604
5557 PR symtab/14605
5558 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5559 gdb_test.
5560
5561 2014-08-19 Pedro Alves <palves@redhat.com>
5562
5563 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5564
5565 2014-08-19 Yao Qi <yao@codesourcery.com>
5566
5567 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5568 right line.
5569
5570 2014-08-18 David Blaikie <dblaikie@gmail.com>
5571
5572 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5573
5574 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5575
5576 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5577 attribute in array range.
5578
5579 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5580
5581 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5582
5583 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5584
5585 PR c++/17132
5586 * gdb.cp/pr17132.cc: New file.
5587 * gdb.cp/pr17132.exp: New file.
5588
5589 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5590
5591 * gdb.python/py-xmethods.py (A_getarrayind)
5592 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5593 Use 'print' with function call syntax.
5594 (E_method_matcher.match): Fix tab vs space indentation mixup.
5595
5596 2014-08-15 Yao Qi <yao@codesourcery.com>
5597
5598 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5599 false.
5600
5601 2014-08-15 Yao Qi <yao@codesourcery.com>
5602
5603 * gdb.cp/casts.exp: Set print symbol off.
5604 * gdb.cp/class2.exp: Likewise.
5605 * gdb.cp/overload.exp: Likewise.
5606 * gdb.cp/templates.exp: Likewise.
5607
5608 2014-08-11 Doug Evans <dje@google.com>
5609
5610 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5611 (test_load_shlib): Update.
5612
5613 2014-08-09 Yao Qi <yao@codesourcery.com>
5614
5615 * gdb.base/display.exp: Invoke is_address_zero_readable.
5616 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5617 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5618 * gdb.base/hbreak-unmapped.exp: Return if
5619 is_address_zero_readable returns true.
5620 * gdb.base/signest.exp: Likewise.
5621 * gdb.base/signull.exp: Likewise.
5622 * gdb.base/sigbpt.exp: Likewise.
5623 * gdb.guile/scm-disasm.exp: Do the test if
5624 is_address_zero_readable returns false.
5625 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5626 * gdb.python/py-arch.exp: Likewise.
5627 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5628 * lib/gdb.exp (is_address_zero_readable): New proc.
5629
5630 2014-08-09 Yao Qi <yao@codesourcery.com>
5631
5632 PR testsuite/13443
5633 * gdb.mi/mi-var-display.exp: Make test messages unique.
5634
5635 2014-08-04 Tom Tromey <tromey@redhat.com>
5636
5637 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5638 target 0".
5639
5640 2014-08-04 Tom Tromey <tromey@redhat.com>
5641
5642 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5643 "target_resume".
5644
5645 2014-08-01 Joel Brobecker <brobecker@adacore.com>
5646
5647 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5648 inner_vla_struct_object_size.
5649 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5650 as xfail.
5651
5652 2014-07-30 Pedro Alves <palves@redhat.com>
5653
5654 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5655 comment.
5656
5657 2014-07-29 Yao Qi <yao@codesourcery.com>
5658
5659 PR gdb/17206
5660 * gdb.base/until-nodebug.exp: New.
5661
5662 2014-07-28 Doug Evans <xdje42@gmail.com>
5663
5664 PR guile/17203
5665 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5666 previously existing parameter, and previously ambiguously spelled
5667 parameter.
5668
5669 2014-07-28 Will Newton <will.newton@linaro.org>
5670
5671 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5672
5673 2014-07-26 Ludovic Courtès <ludo@gnu.org>
5674 Doug Evans <xdje42@gmail.com>
5675
5676 PR guile/17146
5677 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5678
5679 2014-07-25 Pedro Alves <palves@redhat.com>
5680
5681 * gdb.threads/signal-command-handle-nopass.c: New file.
5682 * gdb.threads/signal-command-handle-nopass.exp: New file.
5683 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5684 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5685 * gdb.threads/signal-delivered-right-thread.c: New file.
5686 * gdb.threads/signal-delivered-right-thread.exp: New file.
5687
5688 2014-07-25 Pedro Alves <palves@redhat.com>
5689
5690 * gdb.base/double-prompt-target-event-error.exp
5691 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5692 match.
5693 (cancel_pagination_in_target_event): Rework double prompt
5694 detection.
5695 * gdb.base/paginate-after-ctrl-c-running.exp
5696 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5697 <return>' match.
5698 * gdb.base/paginate-bg-execution.exp
5699 (test_bg_execution_pagination_return)
5700 (test_bg_execution_pagination_cancel): Remove '-notransfer
5701 <return>' matches.
5702 * gdb.base/paginate-execution-startup.exp
5703 (test_fg_execution_pagination_return)
5704 (test_fg_execution_pagination_cancel): Remove '-notransfer
5705 <return>' matches.
5706 * gdb.base/paginate-inferior-exit.exp
5707 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5708 match.
5709 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5710 * lib/gdb.exp (pagination_prompt): Run text through
5711 string_to_regexp.
5712 (gdb_test_multiple): Match $pagination_prompt instead of
5713 "<return>".
5714 (string_to_regexp): Move to lib/gdb-utils.exp.
5715
5716 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5717
5718 * gdb.arch/amd64-entry-value-paramref.S: New file.
5719 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5720 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5721 * gdb.arch/amd64-optimout-repeat.S: New file.
5722 * gdb.arch/amd64-optimout-repeat.c: New file.
5723 * gdb.arch/amd64-optimout-repeat.exp: New file.
5724
5725 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5726
5727 PR gdb/17170
5728 * gdb.base/statistics.exp: New file.
5729
5730 2014-07-17 Doug Evans <dje@google.com>
5731
5732 PR gdb/17170
5733 * gdb.base/maint.exp: Update testing of per-command stats.
5734
5735 2014-07-16 Pedro Alves <palves@redhat.com>
5736
5737 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5738 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5739 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5740 (tfile_write_buf): New functions.
5741 (add_memory_block): Rewrite using the above.
5742 (adjust_function_address): New function.
5743 (FUNCTION_ADDRESS): New macro.
5744 (write_basic_trace_file): Remove short_x local, and use
5745 tfile_write_16. Change type of func_addr local to unsigned long
5746 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5747 here. Cast argument of add_memory_block to char pointer.
5748 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5749 (main): Remove parameters.
5750 * gdb.trace/tfile.exp: Remove nowarnings.
5751
5752 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5753
5754 * gdb.base/debug-expr.exp: Test string evaluation with
5755 "debug expression" on.
5756
5757 2014-07-15 Pedro Alves <palves@redhat.com>
5758
5759 * gdb.base/reread.exp: Use clean_restart.
5760
5761 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5762
5763 * gdb.arch/avr-flash-qualifer.c: New.
5764 * gdb.arch/avr-flash-qualifer.exp: New.
5765
5766 2014-07-14 Pedro Alves <palves@redhat.com>
5767
5768 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5769 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5770
5771 2014-07-14 Pedro Alves <palves@redhat.com>
5772
5773 * gdb.base/double-prompt-target-event-error.c: New file.
5774 * gdb.base/double-prompt-target-event-error.exp: New file.
5775
5776 2014-07-14 Pedro Alves <palves@redhat.com>
5777
5778 PR gdb/17072
5779 * gdb.base/paginate-inferior-exit.c: New file.
5780 * gdb.base/paginate-inferior-exit.exp: New file.
5781
5782 2014-07-14 Pedro Alves <palves@redhat.com>
5783
5784 PR gdb/17072
5785 * gdb.base/paginate-bg-execution.c: New file.
5786 * gdb.base/paginate-bg-execution.exp: New file.
5787
5788 2014-07-14 Pedro Alves <palves@redhat.com>
5789
5790 PR gdb/17072
5791 * gdb.base/paginate-execution-startup.c: New file.
5792 * gdb.base/paginate-execution-startup.exp: New file.
5793 * lib/gdb.exp (pagination_prompt): New global.
5794 (default_gdb_spawn): New procedure, factored out from
5795 default_gdb_spawn.
5796 (default_gdb_start): Adjust to call default_gdb_spawn.
5797 (gdb_spawn): New procedure.
5798
5799 2014-07-14 Pedro Alves <palves@redhat.com>
5800
5801 * lib/gdb.exp (gdb_assert): New procedure.
5802 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
5803
5804 2014-07-14 Pedro Alves <palves@redhat.com>
5805
5806 * gdb.base/execution-termios.c: New file.
5807 * gdb.base/execution-termios.exp: New file.
5808
5809 2014-07-14 Tom Tromey <tromey@redhat.com>
5810
5811 * gdb.cp/vla-cxx.cc: New file.
5812 * gdb.cp/vla-cxx.exp: New file.
5813
5814 2014-07-14 Tom Tromey <tromey@redhat.com>
5815
5816 * gdb.reverse/rerun-prec.c: New file.
5817 * gdb.reverse/rerun-prec.exp: New file.
5818
5819 2014-07-12 Maciej W. Rozycki <macro@mips.com>
5820 Maciej W. Rozycki <macro@codesourcery.com>
5821
5822 * lib/gdb-utils.exp: New file.
5823 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
5824 inline `gdb_init_command' processing.
5825 (gdb_start_cmd): Likewise.
5826 * lib/mi-support.exp (mi_run_cmd): Likewise.
5827 * README: Document `gdb_init_command' and `gdb_init_commands'.
5828
5829 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5830
5831 Fix false FAIL running under a very long directory name.
5832 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
5833 and "set print elements 10000". Twice.
5834
5835 2014-07-11 Yao Qi <yao@codesourcery.com>
5836
5837 * gdb.base/exprs.exp: "set print symbol off".
5838
5839 2014-07-11 Pedro Alves <palves@redhat.com>
5840
5841 * gdb.threads/kill.c: New file.
5842 * gdb.threads/kill.exp: New file.
5843
5844 2014-07-10 Yao Qi <yao@codesourcery.com>
5845
5846 * gdb.trace/tfile.c (write_basic_trace_file)
5847 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
5848 address written to trace file.
5849
5850 2014-07-09 Pedro Alves <palves@redhat.com>
5851
5852 * gdb.base/attach-wait-input.exp: New file.
5853 * gdb.base/attach-wait-input.c: New file.
5854
5855 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5856
5857 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
5858 setting up test structures.
5859 (main): Call new test function.
5860 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
5861 test function, continue into test function and walk test
5862 structures.
5863
5864 2014-07-02 Yao Qi <yao@codesourcery.com>
5865
5866 * gdb.trace/entry-values.c: Define labels 'foo_start' and
5867 'bar_start' at the beginning of functions 'foo' and 'bar'
5868 respectively.
5869 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
5870 instead of 'foo' and 'bar'.
5871
5872 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5873
5874 * gdb.btrace/segv.exp: New.
5875 * gdb.btrace/segv.c: New.
5876
5877 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
5878
5879 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
5880 instruction.
5881
5882 2014-06-30 Mark Wielaard <mjw@redhat.com>
5883
5884 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
5885 vulture, vilify, villar): New volatile array constants.
5886 (vindictive, vegetation): New const volatile array constants.
5887 * gdb.base/volatile.exp: Test volatile and const volatile array
5888 types.
5889
5890 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5891
5892 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
5893 target lacks support for awatch, rwatch, or hbreak.
5894
5895 2014-06-27 Yao Qi <yao@codesourcery.com>
5896
5897 * gdb.multi/dummy-frame-restore.exp: New.
5898 * gdb.multi/dummy-frame-restore.c: New.
5899
5900 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5901
5902 * gdb.btrace/gcore.exp: New.
5903
5904 2014-06-23 Pedro Alves <palves@redhat.com>
5905
5906 * gdb.base/watchpoint-reuse-slot.c: New file.
5907 * gdb.base/watchpoint-reuse-slot.exp: New file.
5908
5909 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5910
5911 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
5912 progspace's filename in 'info', 'enable' and 'disable' command
5913 tests.
5914
5915 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5916
5917 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
5918 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5919 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
5920
5921 2014-06-20 Gary Benson <gbenson@redhat.com>
5922
5923 * gdb.arch/i386-avx.exp: Fix include file location.
5924 * gdb.arch/i386-sse.exp: Likewise.
5925
5926 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5927
5928 * gdb.dlang/expression.exp: New file.
5929
5930 2014-06-19 Pedro Alves <palves@redhat.com>
5931
5932 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
5933 out from ...
5934 (top level): ... here. Iterate running tests under different
5935 scheduler-locking settings.
5936
5937 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
5938
5939 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
5940 to DW_FORM_addr and use non-zero addresses.
5941
5942 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
5943
5944 PR gdb/17017
5945 * gdb.python/py-xmethods.cc: Add global function call counters and
5946 increment them in their respective functions. Remove "cout"
5947 statements.
5948 * gdb.python/py-xmethods.exp: Make tests check the global function
5949 call counters instead of depending on inferior IO.
5950
5951 2014-06-18 Don Breazeal <donb@codesourcery.com>
5952
5953 * gdb.base/foll-fork.exp (default_fork_parent_follow):
5954 Deleted procedure.
5955 (explicit_fork_parent_follow): Deleted procedure.
5956 (explicit_fork_child_follow): Deleted procedure.
5957 (test_follow_fork): New procedure.
5958 (do_fork_tests): Replace calls to deleted procedures with
5959 calls to test_follow_fork and reset GDB for subsequent
5960 procedure calls.
5961
5962 2014-06-17 Yao Qi <yao@codesourcery.com>
5963
5964 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
5965 CP1252.
5966
5967 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
5968
5969 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
5970 Initialize ptr and S explicitly.
5971 (skip_type_update_when_not_use_rtti_test): Likewise.
5972
5973 2014-06-16 Keith Seitz <keiths@redhat.com>
5974
5975 PR mi/15863
5976 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
5977 the inferior is started.
5978
5979 2014-06-16 Pedro Alves <palves@redhat.com>
5980
5981 * gdb.base/break-main-file-remove-fail.c: New file.
5982 * gdb.base/break-main-file-remove-fail.exp: New file.
5983 * gdb.base/break-unload-file.exp: Use build_executable instead of
5984 prepare_for_testing.
5985 (test_break): New parameter "initial_load". Handle it.
5986 (top level): Add initial_load cmdline/file axis.
5987
5988 2014-06-12 Tom Tromey <tromey@redhat.com>
5989
5990 * gdb.base/completion.exp: Don't use directory name in test.
5991
5992 2014-06-09 Gary Benson <gbenson@redhat.com>
5993
5994 * gdb.base/sigall.c [Functions to send signals]: Reorder to
5995 separate the always-available ANSI-standard signals from the
5996 signals that require checking.
5997 (main): Likewise.
5998 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
5999 Likewise.
6000 (main): Likewise.
6001
6002 2014-06-07 Keith Seitz <keiths@redhat.com>
6003
6004 Revert:
6005 PR c++/16253
6006 * gdb.cp/var-tag.cc: New file.
6007 * gdb.cp/var-tag.exp: New file.
6008 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6009 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6010 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6011 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6012
6013 2014-06-06 Doug Evans <xdje42@gmail.com>
6014
6015 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6016
6017 2014-06-06 Pedro Alves <palves@redhat.com>
6018
6019 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6020 in target debug output instead of looking at RSP packets,
6021 disabling the test on any target that uses hardware stepping.
6022 Update comments.
6023
6024 2014-06-06 Pedro Alves <palves@redhat.com>
6025
6026 * gdb.base/break-unload-file.exp: Fix typo.
6027
6028 2014-06-06 Yao Qi <yao@codesourcery.com>
6029
6030 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6031 from "jit_function" to "^jit_function".
6032
6033 2014-06-06 Yao Qi <yao@codesourcery.com>
6034
6035 * gdb.base/async.c (foo): Add one statement.
6036 * gdb.base/async.exp: Get the next instruction address and
6037 match the output of "nexti" by instruction address. Match
6038 the hex address in the output of "finish".
6039
6040 2014-06-06 Gary Benson <gbenson@redhat.com>
6041
6042 * gdb.base/call-signals.c: Remove preprocessor conditionals
6043 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6044 SIGSEGV and SIGTERM.
6045 * gdb.base/sigall.c: Likewise.
6046 * gdb.base/unwindonsignal.c: Likewise.
6047 * gdb.reverse/sigall-reverse.c: Likewise.
6048
6049 2014-06-06 Yao Qi <yao@codesourcery.com>
6050
6051 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6052 readable, skip the test.
6053
6054 2014-06-06 Yao Qi <yao@codesourcery.com>
6055
6056 * gdb.threads/staticthreads.c (thread_function): Move the line
6057 setting breakpoint on forward.
6058 * gdb.threads/staticthreads.exp: Update comments.
6059
6060 2014-06-05 Ludovic Courtès <ludo@gnu.org>
6061
6062 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6063 "history-append! type error".
6064
6065 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6066
6067 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6068 erroneous dprintf expected input.
6069
6070 2014-06-04 Doug Evans <xdje42@gmail.com>
6071
6072 * gdb.guile/scm-generics.exp: Delete.
6073
6074 2014-06-04 Doug Evans <xdje42@gmail.com>
6075
6076 * gdb.guile/scm-breakpoint.exp: Update.
6077 Add tests for breakpoint registration.
6078
6079 2014-06-04 Tom Tromey <tromey@redhat.com>
6080
6081 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6082 VLA-in-union.
6083 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6084 inner_vla_struct, vla_union types. Initialize objects of those
6085 types and compute their sizes.
6086
6087 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6088 Hui Zhu <hui@codesourcery.com>
6089
6090 * gdb.base/fileio.exp: Add test for shell not available as well as
6091 available.
6092 * gdb.base/fileio.c (test_system): Check for shell twice.
6093
6094 2014-06-04 Yao Qi <yao@codesourcery.com>
6095
6096 * gdb.base/auto-connect-native-target.exp: Remove redundant
6097 space from the regexp pattern.
6098
6099 2014-06-04 Yao Qi <yao@codesourcery.com>
6100
6101 * gdb.base/default.exp: Replace "child" with "native" in
6102 regexp pattern.
6103
6104 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6105
6106 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6107 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6108 * gdb.python/py-xmethods.py: Python script supporting the
6109 new testcase and tests.
6110
6111 2014-06-03 Joel Brobecker <brobecker@adacore.com>
6112 Pedro Alves <palves@redhat.com>
6113
6114 PR breakpoints/17000
6115 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6116 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6117
6118 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6119
6120 * gdb.base/subst.exp: Add tests to verify partial path matching
6121 output.
6122
6123 2014-06-03 Pedro Alves <palves@redhat.com>
6124
6125 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6126 target that doesn't use software single-stepping.
6127
6128 2014-06-03 Pedro Alves <palves@redhat.com>
6129
6130 PR breakpoints/17000
6131 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6132 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6133
6134 2014-06-02 Doug Evans <xdje42@gmail.com>
6135
6136 * gdb.guile/scm-parameter.exp: New file.
6137
6138 2014-06-02 Doug Evans <xdje42@gmail.com>
6139
6140 * gdb.guile/scm-cmd.c: New file.
6141 * gdb.guile/scm-cmd.exp: New file.
6142
6143 2014-06-02 Doug Evans <xdje42@gmail.com>
6144
6145 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6146 pretty-printer lookup.
6147 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6148 (make-pp_s-printer): Call it.
6149 (make-pretty-printer-from-dict): New function.
6150 (lookup-pretty-printer-maker-from-dict): New function.
6151 (*pretty-printer*): Simplify.
6152 (make-objfile-pp_s-printer): New function.
6153 (install-objfile-pretty-printers!): New function.
6154 (make-progspace-pp_s-printer): New function.
6155 (install-progspace-pretty-printers!): New function.
6156 * gdb.guile/scm-progspace.c: New file.
6157 * gdb.guile/scm-progspace.exp: New file.
6158
6159 2014-06-02 Pedro Alves <palves@redhat.com>
6160
6161 * gdb.base/dprintf-bp-same-addr.c: New file.
6162 * gdb.base/dprintf-bp-same-addr.exp: New file.
6163
6164 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6165
6166 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6167 * gdb.arch/powerpc-power.s: Likewise.
6168
6169 2014-06-02 Joel Brobecker <brobecker@adacore.com>
6170
6171 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6172
6173 2014-06-01 Yao Qi <yao@codesourcery.com>
6174
6175 * gdb.base/watchpoint.exp (test_watch_location): Check null
6176 pointer can be dereferenced. If not, do the test, otherwise
6177 skip it.
6178
6179 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6180
6181 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6182 results.
6183 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6184
6185 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6186
6187 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6188 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6189 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6190 * gdb.arch/amd64-invalid-stack-top.c: New file.
6191 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6192
6193 2014-05-30 Pedro Alves <palves@redhat.com>
6194
6195 PR breakpoints/17000
6196 * gdb.base/sss-bp-on-user-bp.c: New file.
6197 * gdb.base/sss-bp-on-user-bp.exp: New file.
6198
6199 2014-05-30 David Blaikie <dblaikie@gmail.com>
6200
6201 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6202 gnu_inline semantics via attribute.
6203 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6204 source explicitly specifies the required semantics.
6205
6206 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6207
6208 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6209
6210 2014-05-29 Pedro Alves <palves@redhat.com>
6211 Tom Tromey <tromey@redhat.com>
6212
6213 * gdb.base/async-shell.exp: Don't enable target-async.
6214 * gdb.base/async.exp
6215 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6216 parameter. Adjust.
6217 (top level): Don't test with "target-async".
6218 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6219 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6220 * gdb.base/inferior-died.exp: Don't enable target-async.
6221 * gdb.base/interrupt-noterm.exp: Likewise.
6222 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6223 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6224 * gdb.mi/mi-nonstop.exp: Likewise.
6225 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6226 * gdb.mi/mi-nsintrall.exp: Likewise.
6227 * gdb.mi/mi-nsmoribund.exp: Likewise.
6228 * gdb.mi/mi-nsthrexec.exp: Likewise.
6229 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6230 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6231 * gdb.python/py-evsignal.exp: Don't enable target-async.
6232 * gdb.python/py-evthreads.exp: Likewise.
6233 * gdb.python/py-prompt.exp: Likewise.
6234 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6235 * gdb.server/solib-list.exp: Don't enable target-async.
6236 * gdb.threads/thread-specific-bp.exp: Likewise.
6237 * lib/mi-support.exp: Adjust to use mi-async.
6238
6239 2014-05-29 Pedro Alves <palves@redhat.com>
6240
6241 PR gdb/13860
6242 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6243 reason, even in sync mode.
6244
6245 2014-05-29 Pedro Alves <palves@redhat.com>
6246 Hui Zhu <hui@codesourcery.com>
6247
6248 PR PR15693
6249 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6250 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6251 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6252 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6253
6254 2014-05-28 Joel Brobecker <brobecker@adacore.com>
6255
6256 * config/monitor.exp (gdb_target_monitor): Replace use of
6257 "set remotebaud" by "set serial baud".
6258
6259 2014-05-26 Andy Wingo <wingo@igalia.com>
6260
6261 * gdb.guile/scm-breakpoint.exp:
6262 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6263 properties instead of gdb-object-properties.
6264
6265 2014-05-26 Yao Qi <yao@codesourcery.com>
6266
6267 * gdb.server/no-thread-db.exp: Specify source file name
6268 explicitly when setting a breakpoint.
6269
6270 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6271
6272 * gdb.btrace/vdso.c: New.
6273 * gdb.btrace/vdso.exp: New.
6274
6275 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6276
6277 * gdb.base/gcore.exp (capture_command_output): Move ...
6278 * lib/gdb.exp (capture_command_output): ... here.
6279
6280 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6281
6282 * gdb.btrace/data.exp: Test memory access during btrace replay.
6283
6284 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6285
6286 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6287
6288 2014-05-21 Pedro Alves <palves@redhat.com>
6289
6290 PR gdb/13860
6291 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6292 (top level): Test that output related to execution commands is
6293 sent to the console with CLI commands, but not with MI commands.
6294 Test that breakpoint events are always mirrored to the console.
6295 Also expect the new source line to be output after a "next" in
6296 async mode too. Make it a pass/fail test.
6297 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6298 output.
6299 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6300
6301 2014-05-21 Pedro Alves <palves@redhat.com>
6302
6303 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6304 Use them to test variations of "list" after reaching a breakpoint.
6305 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6306 Test "list" with listsize 10 after reaching a breakpoint.
6307 * gdb.python/python.exp (decode_line current location line
6308 number): Adjust expected line number.
6309
6310 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6311
6312 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6313 behavior for $args, pass it directly to "run".
6314
6315 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6316
6317 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6318 30000 to 65536.
6319
6320 2014-05-21 Pedro Alves <palves@redhat.com>
6321
6322 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6323 auto-connect-native-target off".
6324 * gdb.base/auto-connect-native-target.c: New file.
6325 * gdb.base/auto-connect-native-target.exp: New file.
6326
6327 2014-05-21 Pedro Alves <palves@redhat.com>
6328
6329 * gdb.base/default.exp: Test "target native" instead of "target
6330 child".
6331
6332 2014-05-21 Mark Wielaard <mjw@redhat.com>
6333
6334 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6335
6336 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6337
6338 Fix TLS access for -static -pthread.
6339 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6340 <HAVE_TLS> (thread_function, main): Initialize it.
6341 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6342 Add clean_restart.
6343 <$have_tls != "">: Check TLSVAR.
6344
6345 2014-05-21 Pedro Alves <palves@redhat.com>
6346
6347 * gdb.base/dcache-line-read-error.c: New.
6348 * gdb.base/dcache-line-read-error.exp: New.
6349
6350 2014-05-20 Pedro Alves <palves@redhat.com>
6351
6352 * gdb.base/compare-sections.c: New file.
6353 * gdb.base/compare-sections.exp: New file.
6354
6355 2014-05-20 Pedro Alves <palves@redhat.com>
6356
6357 * gdb.base/break-idempotent.c: New file.
6358 * gdb.base/break-idempotent.exp: New file.
6359
6360 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6361
6362 * gdb.btrace/nohist.exp: New.
6363
6364 2014-05-20 Yao Qi <yao@codesourcery.com>
6365
6366 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6367 gdb.reverse directory and gdb_reverse_timeout exists in board
6368 setting.
6369 * README: Document gdb_reverse_timeout.
6370
6371 2014-05-20 Yao Qi <yao@codesourcery.com>
6372
6373 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6374 'test_file_name'. Treat args as a string instead of a list.
6375 (gdb_init): Rename argument 'args' by 'test_file_name'.
6376
6377 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6378
6379 * gdb.arch/powerpc-power.exp: New file.
6380 * gdb.arch/powerpc-power.s: New file.
6381
6382 2014-05-16 Doug Evans <dje@google.com>
6383
6384 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
6385 * gdb.base/completion.exp: Check that all expected files exist
6386 before doing file completion.
6387
6388 2014-05-16 Doug Evans <dje@google.com>
6389
6390 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6391 Update.
6392 (do_syscall_tests_without_xml): Update.
6393
6394 2014-05-16 Pedro Alves <palves@redhat.com>
6395
6396 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6397 instead of "unknown output after running".
6398
6399 2014-05-16 Yao Qi <yao@codesourcery.com>
6400
6401 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6402 file1.txt from host at the end.
6403 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6404
6405 2014-05-15 Doug Evans <dje@google.com>
6406
6407 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6408 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6409 loading file. Add test for TU lookup.
6410
6411 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6412
6413 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6414 calling "-exec-arguments" or "set args" before running the
6415 inferior.
6416
6417 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6418
6419 * lib/mi-support.exp (mi_expect_stop): Expect message for
6420 inferiors that exit with non-zero exit code.
6421
6422 2014-05-14 Yao Qi <yao@codesourcery.com>
6423
6424 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6425 match absolute path on remote host.
6426 (test_file_list_exec_source_files): Remove "/" from the
6427 pattern.
6428
6429 2014-05-14 Yao Qi <yao@codesourcery.com>
6430
6431 * boards/local-remote-host-notty.exp (${board}_file): New
6432 proc.
6433
6434 2014-05-07 Kyle McMartin <kyle@redhat.com>
6435
6436 Pushed by Joel Brobecker <brobecker@adacore.com>.
6437 * gdb.arch/aarch64-atomic-inst.c: New file.
6438 * gdb.arch/aarch64-atomic-inst.exp: New file.
6439
6440 2014-05-07 Yao Qi <yao@codesourcery.com>
6441
6442 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6443 in current context" too.
6444
6445 2014-05-05 Keith Seitz <keiths@redhat.com>
6446
6447 * gdb.linespec/ls-dollar.exp: Add test for linespec
6448 file:convenience_variable.
6449
6450 2014-05-05 Yao Qi <yao@codesourcery.com>
6451
6452 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6453 traceframes into tfile and ctf trace files. Read data from
6454 trace file and test collected data.
6455 (gdb_collect_locals_test): Likewise.
6456 (gdb_unavailable_registers_test): Likewise.
6457 (gdb_unavailable_floats): Likewise.
6458 (gdb_collect_globals_test): Likewise.
6459 (top-level): Append "ctf" to trace_file_targets if GDB
6460 supports.
6461
6462 2014-05-05 Yao Qi <yao@codesourcery.com>
6463
6464 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6465 code to ...
6466 (gdb_collect_args_test_1): ... it. New proc.
6467 (gdb_collect_locals_test): Move some code to ...
6468 (gdb_collect_locals_test_1): ... it. New proc.
6469 (gdb_unavailable_registers_test): Move some code to ...
6470 (gdb_unavailable_registers_test_1): ... it. New proc.
6471 (gdb_unavailable_floats): Move some code to ...
6472 (gdb_unavailable_floats_1): ... it. New proc.
6473
6474 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6475
6476 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6477 probes to test for bitness recognition.
6478 * gdb.arch/amd64-stap-optional-prefix.exp
6479 (test_probe_value_without_reg): New procedure.
6480 Add code to test for different kinds of bitness.
6481
6482 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6483
6484 PR breakpoints/16889
6485 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6486 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6487
6488 2014-05-01 Pedro Alves <palves@redhat.com>
6489
6490 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6491 gdb_file_cmd if no file is specified.
6492 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6493 last_loaded_file to set the remote exec-file.
6494
6495 2014-05-01 Pedro Alves <palves@redhat.com>
6496
6497 * boards/local-remote-host.exp: New file.
6498
6499 2014-05-01 Pedro Alves <palves@redhat.com>
6500
6501 * boards/local-remote-host.exp: Rename to ...
6502 * boards/local-remote-host-notty.exp: ... this.
6503
6504 2014-04-28 Joel Brobecker <brobecker@adacore.com>
6505
6506 * gdb.ada/dyn_arrayidx: New testcase.
6507
6508 2014-04-26 Yao Qi <yao@codesourcery.com>
6509
6510 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6511 and compute the length of function main. Save it in
6512 $main_length.
6513 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6514 (top-level): Use gdb_compile to compile objects into
6515 executable and restart GDB. Remove invocation to
6516 prepare_for_testing.
6517
6518 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6519 Pedro Alves <palves@redhat.com>
6520
6521 PR server/16255
6522 * gdb.multi/multi-attach.c: New file.
6523 * gdb.multi/multi-attach.exp: New file.
6524
6525 2014-04-25 Pedro Alves <palves@redhat.com>
6526
6527 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6528 user.
6529 (top level): Test that "set remote conditional-breakpoints-packet
6530 off" works as intended.
6531 * gdb.base/dprintf.exp: Test that "set remote
6532 breakpoint-commands-packet off" works as intended.
6533 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6534 New function.
6535 (top level): Call it.
6536 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6537 remote fast-tracepoints-packet off" works as intended.
6538 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6539 * lib/gdb.exp (gdb_is_target_remote): ... here.
6540
6541 2014-04-24 David Blaikie <dblaikie@gmail.com>
6542
6543 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6544 ensure clang would not discard them.
6545 * gdb.base/gdbvars.c: Ditto.
6546 * gdb.base/memattr.c: Ditto.
6547 * gdb.base/whatis.c: Ditto.
6548 * gdb.python/py-prettyprint.c: Ditto.
6549 * gdb.trace/actions.c: Ditto.
6550 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6551 ensure clang would not discard it.
6552
6553 2014-04-24 David Blaikie <dblaikie@gmail.com>
6554
6555 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6556 clang to emit the full definition of type required by the test
6557 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6558
6559 2014-04-24 David Blaikie <dblaikie@gmail.com>
6560
6561 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6562 coax Clang into emitting the definition of the type.
6563 * gdb.cp/pr10728-x.h (y): Ditto.
6564 * gdb.cp/pr10728-y.cc (y): Ditto.
6565
6566 2014-04-24 David Blaikie <dblaikie@gmail.com>
6567
6568 * gdb.base/label.exp: XFAIL label related tests under Clang.
6569 * gdb.cp/cplabel.exp: Ditto.
6570 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6571 under Clang those using labels.
6572
6573 2014-04-25 Yao Qi <yao@codesourcery.com>
6574
6575 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6576 double_label.
6577 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6578 partial_label and double_label.
6579
6580 2014-04-24 David Blaikie <dblaikie@gmail.com>
6581
6582 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6583
6584 2014-04-24 David Blaikie <dblaikie@gmail.com>
6585
6586 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6587 of the function to work across GCC and Clang.
6588 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6589 pointer types (const void ** const V void **).
6590
6591 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
6592 Walfred Tedeschi <walfred.tedeschi@intel.com>
6593
6594 * Makefile.in (EXECUTABLES): Added i386-avx512.
6595 * gdb.arch/i386-avx512.c: New file.
6596 * gdb.arch/i386-avx512.exp: Likewise.
6597
6598 2014-04-23 Keith Seitz <keiths@redhat.com>
6599
6600 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6601 (mi_make_breakpoint_table): New procedure.
6602 (mi_create_breakpoint): Use mi_make_breakpoint
6603 and return the result.
6604 (mi_make_breakpoint): New procedure.
6605 (mi_build_kv_pairs): New procedure.
6606
6607 * gdb.mi/mi-break.exp: Remove unused globals,
6608 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6609 All callers updated.
6610 * gdb.mi/mi-dprintf.exp: Use variable to track command
6611 number.
6612 Update all callers of mi_create_breakpoint and use
6613 mi_make_breakpoint_table.
6614 Remove any unused global variables.
6615 * gdb.mi/mi-nonstop.exp: Likewise.
6616 * gdb.mi/mi-nsintrall.exp: Likewise.
6617 * gdb.mi/mi-nsmoribund.exp: Likewise.
6618 * gdb.mi/mi-nsthrexec.exp: Likewise.
6619 * gdb.mi/mi-reverse.exp: Likewise.
6620 * gdb.mi/mi-simplerun.exp: Likewise.
6621 * gdb.mi/mi-stepn.exp: Likewise.
6622 * gdb.mi/mi-syn-frame.exp: Likewise.
6623 * gdb.mi/mi-until.exp: Likewise.
6624 * gdb.mi/mi-var-cp.exp: Likewise.
6625 * gdb.mi/mi-var-display.exp: Likewise.
6626 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6627 * gdb.mi/mi2-var-child.exp: Likewise.
6628 * gdb.mi/mi-vla-c99.exp: Likewise.
6629 * lib/mi-support.exp: Likewise.
6630
6631 From Ian Lance Taylor <iant@cygnus.com>:
6632 * lib/gdb.exp (parse_args): New procedure.
6633
6634 2014-04-23 Pedro Alves <palves@redhat.com>
6635
6636 * gdb.base/break-unload-file.c: New file.
6637 * gdb.base/break-unload-file.exp: New file.
6638 * gdb.base/sym-file-lib.c (baz): New function.
6639 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6640 field.
6641 (load): Store the segment's mapped size.
6642 (unload): New function.
6643 (unload_shlib): New function.
6644 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6645 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6646 set a breakpoint at baz, and call it.
6647 * gdb.base/sym-file.exp: New tests for stale breakpoint
6648 instructions.
6649
6650 2014-04-23 Pedro Alves <palves@redhat.com>
6651
6652 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6653 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6654 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6655 * gdb.base/hbreak-unmapped.c: New file.
6656 * gdb.base/hbreak-unmapped.exp: New file.
6657 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6658 * lib/gdb.exp (gdb_is_target_remote): ... here.
6659
6660 2014-04-22 Pedro Alves <palves@redhat.com>
6661
6662 * gdb.base/consecutive-step-over.c: New file.
6663 * gdb.base/consecutive-step-over.exp: New file.
6664
6665 2014-04-22 Pedro Alves <palves@redhat.com>
6666
6667 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6668 instead of send_gdb/gdb_expect.
6669
6670 2014-04-22 Yao Qi <yao@codesourcery.com>
6671
6672 * lib/trace-support.exp (generate_tracefile): New procedure.
6673 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6674 return 0.
6675 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6676 if generate_tracefile returns 1.
6677
6678 2014-04-18 Tom Tromey <palves@redhat.com>
6679 Pedro alves <tromey@redhat.com>
6680
6681 PR backtrace/15558
6682 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6683 with a backtrace limit.
6684 * gdb.python/py-frame-inline.exp: Test running to an inline
6685 function with a backtrace limit, and printing the newest frame.
6686 * gdb.python/py-frame-inline.c (main): Call f.
6687
6688 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6689
6690 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6691
6692 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6693
6694 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6695 Drop prefix from unsupported source file path.
6696
6697 2014-04-17 Yao Qi <yao@codesourcery.com>
6698
6699 * lib/gdb.exp (with_target_charset): New proc.
6700 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6701 with_target_charset.
6702 (test_print_strings): Likewise.
6703 (test_repeat_bytes): Likewise.
6704 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6705 for some tests.
6706
6707 2014-04-16 Keith Seitz <keiths@redhat.com>
6708
6709 PR gdb/15827
6710 * gdb.dwarf2/corrupt.c: New file.
6711 * gdb.dwarf2/corrupt.exp: New file.
6712
6713 2014-04-16 Keith Seitz <keiths@redhat.com>
6714
6715 PR c++/16597
6716 * gdb.cp/namelessclass.cc: New file.
6717 * gdb.cp/namelessclass.exp: New file.
6718 * gdb.cp/namelessclass.S: New file.
6719
6720 2014-04-16 Doug Evans <dje@google.com>
6721
6722 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6723 Add comment.
6724 (gdbserver_default_get_comm_port): New function.
6725 (gdbserver_start): Check if board file provided
6726 "gdbserver,get_comm_port" and use it if so.
6727 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6728 (gdb,socketport): Set to "stdio".
6729 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6730 (stdio_gdbserver_template): Delete.
6731 (${board}_get_remote_address): Update.
6732 (${board}_build_remote_cmd): Delete.
6733 (${board}_get_comm_port): New function.
6734 (${board}_spawn): Update.
6735 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6736 Delete.
6737 (${board}_get_remote_address): Update.
6738 (${board}_get_comm_port): New function.
6739
6740 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
6741
6742 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6743 appearing in any order.
6744
6745 2014-04-15 Doug Evans <dje@google.com>
6746
6747 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6748 uninitialized value of "description".
6749
6750 2014-04-15 Keith Seitz <keiths@redhat.com>
6751
6752 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6753 Remove unused globals.
6754 (test_running_the_program): Likewise.
6755 (test_controlled_execution): Likewise.
6756 (test_controlling_breakpoints): Likewise.
6757 (test_program_termination): Likewise.
6758
6759 2014-04-15 Keith Seitz <keiths@redhat.com>
6760
6761 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6762 unused globals.
6763 (test_rbreak_creation_and_listing): Likewise.
6764 (test_ignore_count): Likewise.
6765 (test_error): Likewise.
6766
6767 2014-04-15 Pedro Alves <palves@redhat.com>
6768
6769 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6770 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6771 sym-file-loader.c.
6772 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6773 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6774 to sym-file-loader.c.
6775 (struct library): Forward declare.
6776 (load_shlib, lookup_function): Change prototypes.
6777 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6778 (translate_offset): Remove declarations.
6779 (get_text_addr): New declaration.
6780 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
6781 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
6782 sym-file-loader.h.
6783 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6784 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6785 here from sym-file-loader.h.
6786 (struct library): New structure.
6787 (load_shlib, lookup_function): Change prototypes and adjust to
6788 work with a struct library.
6789 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6790 (translate_offset): Make static.
6791 (get_text_addr): New function.
6792 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
6793
6794 2014-04-15 Pedro Alves <palves@redhat.com>
6795
6796 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
6797
6798 2014-04-15 Pedro Alves <palves@redhat.com>
6799
6800 * gdb.base/sym-file-loader.c: Include <limits.h>.
6801 (SELF_LINK): New define.
6802 (get_origin): New function.
6803 (load_shlib): Use it.
6804 * gdb.base/sym-file.exp: Don't early return if the target is
6805 remote. Use runto_main, and issue fail is that fails. Use
6806 gdb_load_shlibs.
6807 (shlib_name): Delete.
6808 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
6809
6810 2014-04-15 Pedro Alves <palves@redhat.com>
6811
6812 * gdb.base/sym-file.exp: Remove regex characters from test
6813 message. Don't refer to breakpoint numbers in test messages.
6814
6815 2014-04-14 Keith Seitz <keiths@redhat.com>
6816
6817 PR c++/16253
6818 * gdb.cp/var-tag.cc: New file.
6819 * gdb.cp/var-tag.exp: New file.
6820 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6821 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6822 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6823 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6824
6825 2014-04-14 Tom Tromey <tromey@redhat.com>
6826
6827 * gdb.cp/classes.exp (test_enums): Handle underlying type.
6828 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
6829 type.
6830 * gdb.cp/enum-class.exp: New file.
6831 * gdb.cp/enum-class.cc: New file.
6832
6833 2014-04-14 Tom Tromey <tromey@redhat.com>
6834
6835 * gdb.dwarf2/enum-type.exp: New file.
6836
6837 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6838
6839 * gdb.mi/mi-vla-c99.exp: New file.
6840 * gdb.mi/vla.c: New file.
6841
6842 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6843
6844 * gdb.base/vla-datatypes.c: New file.
6845 * gdb.base/vla-datatypes.exp: New file.
6846
6847 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6848
6849 * gdb.base/vla-ptr.c: New file.
6850 * gdb.base/vla-ptr.exp: New file.
6851
6852 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6853
6854 * gdb.dwarf2/count.exp: New file.
6855
6856 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6857
6858 * gdb.base/vla-sideeffect.c: New file.
6859 * gdb.base/vla-sideeffect.exp: New file.
6860
6861 2014-04-14 David Blaikie <dblaikie@gmail.com>
6862
6863 * gdb.mi/non-stop.c: Add return value for non-void function return
6864 statement.
6865 * gdb.threads/staticthreads.c: Ditto.
6866
6867 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6868 Doug Evans <xdje42@gmail.com>
6869
6870 * gdb.guile/scm-value.c: Improve test case.
6871 * gdb.guile/scm-value.exp: Add new test.
6872
6873 2014-04-11 David Blaikie <dblaikie@gmail.com>
6874
6875 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
6876 override Clang's default.
6877
6878 2014-04-11 Joel Brobecker <brobecker@adacore.com>
6879
6880 Revert the following changes (regressions):
6881
6882 * gdb.base/vla-sideeffect.c: New file.
6883 * gdb.base/vla-sideeffect.exp: New file.
6884
6885 * gdb.dwarf2/count.exp: New file.
6886
6887 * gdb.base/vla-multi.c: New file.
6888 * gdb.base/vla-multi.exp: New file.
6889
6890 * gdb.base/vla-ptr.c: New file.
6891 * gdb.base/vla-ptr.exp: New file.
6892
6893 * gdb.base/vla-datatypes.c: New file.
6894 * gdb.base/vla-datatypes.exp: New file.
6895
6896 * gdb.mi/mi-vla-c99.exp: New file.
6897 * gdb.mi/vla.c: New file.
6898
6899 2014-04-11 Keith Seitz <keiths@redhat.com>
6900
6901 PR c++/16675
6902 * gdb.cp/cpsizeof.exp: New file.
6903 * gdb.cp/cpsizeof.cc: New file.
6904
6905 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6906
6907 * gdb.mi/mi-vla-c99.exp: New file.
6908 * gdb.mi/vla.c: New file.
6909
6910 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6911
6912 * gdb.base/vla-datatypes.c: New file.
6913 * gdb.base/vla-datatypes.exp: New file.
6914
6915 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6916
6917 * gdb.base/vla-ptr.c: New file.
6918 * gdb.base/vla-ptr.exp: New file.
6919
6920 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6921
6922 * gdb.base/vla-multi.c: New file.
6923 * gdb.base/vla-multi.exp: New file.
6924
6925 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6926
6927 * gdb.dwarf2/count.exp: New file.
6928
6929 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6930
6931 * gdb.base/vla-sideeffect.c: New file.
6932 * gdb.base/vla-sideeffect.exp: New file.
6933
6934 2014-04-11 Yao Qi <yao@codesourcery.com>
6935
6936 * gdb.base/completion.exp: Check file exists before running tests
6937 on file completion.
6938
6939 2014-04-10 Pedro Alves <palves@redhat.com>
6940
6941 * gdb.base/cond-eval-mode.c: New file.
6942 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
6943 prepare_for_testing to build the new file. Check result of
6944 runto_main.
6945 (test_break, test_watch): New procedures.
6946 (top level): Use them.
6947
6948 2014-04-08 Pierre Muller <muller@sourceware.org>
6949
6950 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
6951 Ctrl-V use for mingw hosts.
6952
6953 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6954
6955 * gdb.python/py-value.c: Improve test case.
6956 * gdb.python/py-value.exp: Add new test.
6957
6958 2014-04-07 David Blaikie <dblaikie@gmail.com>
6959
6960 * lib/compiler.c: Identify the clang compiler.
6961 * lib/compiler.cc: Ditto.
6962
6963 2014-04-03 Yao Qi <yao@codesourcery.com>
6964
6965 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
6966
6967 2014-04-01 Anton Blanchard <anton@samba.org>
6968
6969 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
6970 messages unique.
6971
6972 2014-04-01 Anton Blanchard <anton@samba.org>
6973
6974 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
6975 prepare_for_testing.
6976
6977 2014-04-01 Anton Blanchard <anton@samba.org>
6978
6979 * gdb.arch/ppc64-atomic-inst.c: Remove.
6980 * gdb.arch/ppc64-atomic-inst.S: New file.
6981 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
6982
6983 2014-03-31 Doug Evans <dje@google.com>
6984
6985 * gdb.base/print-symbol-loading-lib.c: New file.
6986 * gdb.base/print-symbol-loading-main.c: New file.
6987 * gdb.base/print-symbol-loading.exp: New file.
6988
6989 2014-03-31 Yao Qi <yao@codesourcery.com>
6990
6991 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
6992
6993 2014-03-28 Joel Brobecker <brobecker@adacore.com>
6994
6995 * gdb.ada/mi_dyn_arr: New testcase.
6996
6997 2014-03-27 Doug Evans <dje@google.com>
6998
6999 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7000
7001 2014-03-27 Yao Qi <yao@codesourcery.com>
7002
7003 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7004 if target is nios2-*-*.
7005
7006 2014-03-26 Yao Qi <yao@codesourcery.com>
7007
7008 * lib/gdb.exp (readline_is_used): New proc.
7009 * gdb.base/completion.exp: Move tests on command complete up.
7010 Skip the rest of tests if readline is not used.
7011 * gdb.ada/complete.exp: Skp the test if readline is not
7012 used.
7013 * gdb.base/filesym.exp: Likewise.
7014 * gdb.base/macscp.exp: Likewise.
7015 * gdb.base/readline-ask.exp: Likewise.
7016 * gdb.base/readline.exp: Likewise.
7017 * gdb.python/py-cmd.exp: Likewise.
7018 * gdb.trace/tfile.exp: Likewise.
7019
7020 2014-03-26 Yao Qi <yao@codesourcery.com>
7021
7022 * gdb.base/macscp.exp: Fix code format issues.
7023
7024 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7025
7026 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7027 * gdb.asm/powerpc64le.inc: New file.
7028
7029 2014-03-25 Pedro Alves <palves@redhat.com>
7030 Doug Evans <dje@google.com>
7031
7032 * gdb.base/source-execution.c: New file.
7033 * gdb.base/source-execution.exp: New file.
7034 * gdb.base/source-execution.gdb: New file.
7035
7036 2014-03-24 Doug Evans <dje@google.com>
7037
7038 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7039 using fission.
7040
7041 2014-03-24 Hui Zhu <hui@codesourcery.com>
7042 Pedro Alves <palves@redhat.com>
7043
7044 PR breakpoints/16101
7045 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7046 test pass/fail messages. Detect missing support for dprintf when
7047 breakpoints are actually inserted.
7048 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7049 breakpoints are actually inserted.
7050 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7051 fails.
7052
7053 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7054
7055 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7056
7057 2014-03-22 Doug Evans <xdje42@gmail.com>
7058
7059 * gdb.python/python.exp (python not supported): Verify multi-line
7060 python command issues an error.
7061 * gdb.guile/guile.exp (guile not supported): Verify multi-line
7062 guile command issues an error.
7063
7064 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7065
7066 * gdb.threads/thread-specific.exp: Handle the lack of usable
7067 $this_breakpoint and $this_thread.
7068
7069 2014-03-21 Hui Zhu <hui@codesourcery.com>
7070
7071 * gdb.base/attach.exp (do_command_attach_tests): New.
7072
7073 2014-03-20 Tom Tromey <tromey@redhat.com>
7074 Pedro Alves <palves@redhat.com>
7075
7076 PR cli/15718
7077 * gdb.base/condbreak-call-false.c: New file.
7078 * gdb.base/condbreak-call-false.exp: New file.
7079
7080 2014-03-20 Pedro Alves <palves@redhat.com>
7081
7082 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7083 Delete.
7084 (block_signals, unblock_signals): Delete.
7085 (child_function_2, main): Remove references to deleted variable
7086 and functions.
7087
7088 2014-03-20 Pedro Alves <palves@redhat.com>
7089
7090 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7091 Use pthread_kill to signal thread 2.
7092 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7093 Adjust to make the test send itself a signal rather than using the
7094 host's "kill" command.
7095
7096 2014-03-20 Pedro Alves <palves@redhat.com>
7097
7098 * gdb.threads/multiple-step-overs.c: New file.
7099 * gdb.threads/multiple-step-overs.exp: New file.
7100 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7101 Adjust expected infrun debug output.
7102
7103 2014-03-20 Pedro Alves <palves@redhat.com>
7104
7105 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7106 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7107
7108 2014-03-20 Pedro Alves <palves@redhat.com>
7109
7110 PR breakpoints/7143
7111 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7112 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7113 of gdb_test_multiple.
7114 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7115 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7116
7117 2014-03-20 Pedro Alves <palves@redhat.com>
7118
7119 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7120 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7121
7122 2014-03-19 Pedro Alves <palves@redhat.com>
7123
7124 * gdb.base/async.exp: Remove early return.
7125
7126 2014-03-19 Pedro Alves <palves@redhat.com>
7127
7128 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7129
7130 2014-03-19 Pedro Alves <palves@redhat.com>
7131
7132 * gdb.base/async.exp (test_background): Expect \r\n after
7133 "completed." in the fail pattern.
7134
7135 2014-03-19 Pedro Alves <palves@redhat.com>
7136
7137 * gdb.base/async.exp (test_background): New procedure.
7138 Use it for all background execution command tests.
7139
7140 2014-03-19 Pedro Alves <palves@redhat.com>
7141
7142 * gdb.base/async.exp: Use prepare_for_testing.
7143
7144 2014-03-19 Pedro Alves <palves@redhat.com>
7145
7146 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7147 the same line.
7148
7149 2014-03-19 Pedro Alves <palves@redhat.com>
7150
7151 * gdb.base/async.c (main): Add "jump here" and "until here" line
7152 marker comments.
7153 * gdb.base/async.exp (jump_here): New global.
7154 (jump& test): Use it.
7155 (until_here): New global.
7156 (until& test): Use it.
7157
7158 2014-03-19 Pedro Alves <palves@redhat.com>
7159
7160 * gdb.base/async.exp: Don't frob gdb_protocol.
7161
7162 2014-03-18 Doug Evans <xdje42@gmail.com>
7163
7164 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7165 Fix spelling of exec-done-display.
7166
7167 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7168
7169 PR gdb/15358
7170 * gdb.base/gdb-sigterm.c: New file.
7171 * gdb.base/gdb-sigterm.exp: New file.
7172
7173 2014-03-18 Pedro Alves <palves@redhat.com>
7174
7175 PR gdb/13860
7176 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7177 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7178 solib-event.
7179
7180 2014-03-17 Joel Brobecker <brobecker@adacore.com>
7181
7182 * gdb.ada/pckd_arr_ren: New testcase.
7183
7184 2014-03-13 Doug Evans <xdje42@gmail.com>
7185
7186 PR guile/16612
7187 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7188 collect after discarding symbols.
7189
7190 2014-03-13 Ludovic Courtès <ludo@gnu.org>
7191 Doug Evans <xdje42@gmail.com>
7192
7193 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7194 to history survives a gc.
7195
7196 2014-03-13 Pedro Alves <palves@redhat.com>
7197
7198 * gdb.base/default.exp: Don't test "target procfs".
7199
7200 2014-03-13 Pedro Alves <palves@redhat.com>
7201
7202 * gdb.base/default.exp: Update "target child" and "target procfs"
7203 tests to not expect "Unix".
7204
7205 2014-03-12 Tom Tromey <tromey@redhat.com>
7206
7207 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7208 New procs. Add target-async tests.
7209 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7210 Add target-async tests.
7211
7212 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7213
7214 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7215 'func_start' and 'func_end' for the beginning and end of the
7216 function code, respectively.
7217 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7218 'func_end' instead of 'func' and 'main'.
7219
7220 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7221
7222 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7223 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7224 generate the debug info assembler source.
7225
7226 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7227
7228 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7229 * gdb.dwarf2/arr-subrange.exp: Likewise.
7230 * gdb.dwarf2/dwz.exp: Likewise.
7231 * gdb.dwarf2/method-ptr.exp: Likewise.
7232 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7233 * gdb.dwarf2/subrange.exp: Likewise.
7234 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7235 * gdb.dwarf2/implptrpiece.exp: Likewise.
7236 * gdb.dwarf2/nostaticblock.exp: Likewise.
7237
7238 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7239
7240 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7241 directory to absolute path name arguments.
7242
7243 2014-03-10 Joel Brobecker <brobecker@adacore.com>
7244
7245 * gdb.ada/tagged_access: New testcase.
7246
7247 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7248
7249 * gdb.btrace/data.exp: Update expected output.
7250
7251 2014-03-06 Yao Qi <yao@codesourcery.com>
7252
7253 * gdb.trace/pr16508.exp: New file.
7254
7255 2014-03-05 Pedro Alves <palves@redhat.com>
7256
7257 PR gdb/16575
7258 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7259 procedure.
7260 (top level): Adjust to use it. Add tests that exercise breakpoint
7261 interaction with the code-cache.
7262
7263 2014-02-26 Ludovic Courtès <ludo@gnu.org>
7264
7265 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7266 test for 'history-append!'.
7267
7268 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7269
7270 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7271 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7272 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7273 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7274 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7275 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7276
7277 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7278
7279 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7280 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7281 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7282
7283 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7284
7285 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7286
7287 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7288
7289 * gdb.dwarf2/arr-stride.c: New file.
7290 * gdb.dwarf2/arr-stride.exp: New file.
7291
7292 2014-02-26 Pedro Alves <palves@redhat.com>
7293
7294 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7295 that won't ever trigger. Make sure that GDB reports the correct
7296 breakpoint that caused the stop.
7297
7298 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7299
7300 PR gdb/16626
7301 * gdb.base/auto-load-script: New file.
7302 * gdb.base/auto-load.c: New file.
7303 * gdb.base/auto-load.exp: New file.
7304
7305 PR gdb/16626
7306 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7307
7308 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7309
7310 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7311 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7312
7313 2014-02-24 Doug Evans <dje@google.com>
7314
7315 * lib/gdb.exp (run_on_host): Log error output if program fails.
7316
7317 2014-02-21 Pedro Alves <palves@redhat.com>
7318
7319 * gdb.threads/step-after-sr-lock.c: Rename to ...
7320 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7321 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7322 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7323 ... this.
7324
7325 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7326
7327 PR tdep/16397
7328 * gdb.arch/amd64-stap-special-operands.exp: New file.
7329 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7330 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7331 * gdb.arch/amd64-stap-triplet.S: Likewise.
7332 * gdb.arch/amd64-stap-triplet.c: Likewise.
7333
7334 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7335
7336 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7337 in .section pseudo-op.
7338
7339 2014-02-20 lin zuojian <manjian2006@gmail.com>
7340 Joel Brobecker <brobecker@adacore.com>
7341 Doug Evans <xdje42@gmail.com>
7342
7343 PR symtab/16581
7344 * gdb.dwarf2/dw2-icycle.S: New file.
7345 * gdb.dwarf2/dw2-icycle.c: New file.
7346 * gdb.dwarf2/dw2-icycle.exp: New file.
7347
7348 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7349
7350 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7351 operations on gdb.Value objects.
7352 * gdb.python/py-value-cc.exp: Add new test to test operations on
7353 gdb.Value objects.
7354
7355 2014-02-18 Doug Evans <dje@google.com>
7356
7357 * Makefile.in (TESTS): New variable.
7358 (expanded_tests, expanded_tests_or_none): New variables
7359 (check-single): Pass $(expanded_tests_or_none) to runtest.
7360 (check-parallel): Only run tests in $(TESTS) if non-empty.
7361 (check/no-matching-tests-found): New rule.
7362 * README: Document TESTS makefile variable.
7363
7364 2014-02-18 Doug Evans <dje@google.com>
7365
7366 * Makefile.in (check-parallel): rm -rf outputs temp.
7367
7368 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7369
7370 Fix "ERROR: no fileid for" in the testsuite.
7371 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7372
7373 2014-02-12 Doug Evans <dje@google.com>
7374
7375 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7376 (MISCELLANEOUS): New variable.
7377 (clean): rm -rf $(MISCELLANEOUS).
7378 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7379 dwp live in the same directory as symlinks, with each symlink pointed
7380 to a differently named file in a different directory.
7381
7382 2014-02-11 Doug Evans <dje@google.com>
7383
7384 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7385 of Tcl file commands.
7386
7387 2014-02-10 Mark Kettenis <kettenis@gnu.org>
7388
7389 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7390 "kill -SIGUSR1 -1".
7391
7392 2014-02-10 Joel Brobecker <brobecker@adacore.com>
7393
7394 * gdb.ada/tick_length_array_enum_idx: New testcase.
7395
7396 2014-02-10 Doug Evans <xdje42@gmail.com>
7397
7398 * configure.ac (AC_OUTPUT): Add gdb.guile.
7399 * configure: Regenerate.
7400 * lib/gdb-guile.exp: New file.
7401 * lib/gdb.exp (get_target_charset): New function.
7402 * gdb.base/help.exp: Update expected output from "apropos apropos".
7403 * gdb.guile/Makefile.in: New file.
7404 * gdb.guile/guile.exp: New file.
7405 * gdb.guile/scm-arch.c: New file.
7406 * gdb.guile/scm-arch.exp: New file.
7407 * gdb.guile/scm-block.c: New file.
7408 * gdb.guile/scm-block.exp: New file.
7409 * gdb.guile/scm-breakpoint.c: New file.
7410 * gdb.guile/scm-breakpoint.exp: New file.
7411 * gdb.guile/scm-disasm.c: New file.
7412 * gdb.guile/scm-disasm.exp: New file.
7413 * gdb.guile/scm-equal.c: New file.
7414 * gdb.guile/scm-equal.exp: New file.
7415 * gdb.guile/scm-error.exp: New file.
7416 * gdb.guile/scm-error.scm: New file.
7417 * gdb.guile/scm-frame-args.c: New file.
7418 * gdb.guile/scm-frame-args.exp: New file.
7419 * gdb.guile/scm-frame-args.scm: New file.
7420 * gdb.guile/scm-frame-inline.c: New file.
7421 * gdb.guile/scm-frame-inline.exp: New file.
7422 * gdb.guile/scm-frame.c: New file.
7423 * gdb.guile/scm-frame.exp: New file.
7424 * gdb.guile/scm-generics.exp: New file.
7425 * gdb.guile/scm-gsmob.exp: New file.
7426 * gdb.guile/scm-iterator.c: New file.
7427 * gdb.guile/scm-iterator.exp: New file.
7428 * gdb.guile/scm-math.c: New file.
7429 * gdb.guile/scm-math.exp: New file.
7430 * gdb.guile/scm-objfile-script-gdb.in: New file.
7431 * gdb.guile/scm-objfile-script.c: New file.
7432 * gdb.guile/scm-objfile-script.exp: New file.
7433 * gdb.guile/scm-objfile.c: New file.
7434 * gdb.guile/scm-objfile.exp: New file.
7435 * gdb.guile/scm-ports.exp: New file.
7436 * gdb.guile/scm-pretty-print.c: New file.
7437 * gdb.guile/scm-pretty-print.exp: New file.
7438 * gdb.guile/scm-pretty-print.scm: New file.
7439 * gdb.guile/scm-section-script.c: New file.
7440 * gdb.guile/scm-section-script.exp: New file.
7441 * gdb.guile/scm-section-script.scm: New file.
7442 * gdb.guile/scm-symbol.c: New file.
7443 * gdb.guile/scm-symbol.exp: New file.
7444 * gdb.guile/scm-symtab-2.c: New file.
7445 * gdb.guile/scm-symtab.c: New file.
7446 * gdb.guile/scm-symtab.exp: New file.
7447 * gdb.guile/scm-type.c: New file.
7448 * gdb.guile/scm-type.exp: New file.
7449 * gdb.guile/scm-value-cc.cc: New file.
7450 * gdb.guile/scm-value-cc.exp: New file.
7451 * gdb.guile/scm-value.c: New file.
7452 * gdb.guile/scm-value.exp: New file.
7453 * gdb.guile/source2.scm: New file.
7454 * gdb.guile/types-module.cc: New file.
7455 * gdb.guile/types-module.exp: New file.
7456
7457 2014-02-10 Yao Qi <yao@codesourcery.com>
7458
7459 PR testsuite/16543
7460 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7461 * configure: Regenerated.
7462 * Makefile.in: New file.
7463
7464 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7465
7466 * gdb.python/py-framefilter.exp: Fix typo.
7467
7468 2014-02-08 Yao Qi <yao@codesourcery.com>
7469
7470 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7471 that no =breakpoint-modified is emitted when breakpoints are
7472 modified through MI commands.
7473
7474 2014-02-07 Pedro Alves <pedro@codesourcery.com>
7475 Pedro Alves <palves@redhat.com>
7476
7477 * gdb.threads/step-after-sr-lock.c: New file.
7478 * gdb.threads/step-after-sr-lock.exp: New file.
7479
7480 2014-02-07 Pedro Alves <palves@redhat.com>
7481
7482 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7483
7484 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7485
7486 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7487 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7488
7489 2014-02-06 Doug Evans <xdje42@gmail.com>
7490
7491 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7492 output.
7493
7494 * gdb.gdb/python-interrupts.exp: New file.
7495
7496 2014-02-05 Yao Qi <yao@codesourcery.com>
7497
7498 * gdb.trace/report.exp (use_collected_data): Test the output
7499 of "info threads" and "info inferiors".
7500
7501 2014-02-05 Yao Qi <yao@codesourcery.com>
7502
7503 Revert this patch:
7504
7505 2013-05-24 Yao Qi <yao@codesourcery.com>
7506
7507 * gdb.trace/tfile.exp: Test inferior and thread.
7508
7509 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7510
7511 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7512 on a function.
7513 * gdb.base/step-bt.c: Call hello via function pointer to make
7514 sure its first instruction is executed on powerpc64le-linux.
7515
7516 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7517
7518 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7519
7520 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7521
7522 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7523 of the test patterns for use on little-endian systems.
7524
7525 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7526
7527 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7528 (decimal_vector): Fix for little-endian.
7529
7530 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7531
7532 * gdb.arch/sparc-sysstep.exp: New file.
7533 * gdb.arch/sparc-sysstep.c: Likewise.
7534
7535 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7536
7537 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7538
7539 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7540
7541 2014-01-23 Tom Tromey <tromey@redhat.com>
7542
7543 * gdb.ada/array_char_idx: New testcase.
7544
7545 2014-01-23 Tom Tromey <tromey@redhat.com>
7546
7547 PR python/16487:
7548 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7549 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7550 classes.
7551
7552 2014-01-23 Tom Tromey <tromey@redhat.com>
7553
7554 PR python/16491:
7555 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7556 string from an inferior frame.
7557 * gdb.python/py-framefilter-mi.exp: Update.
7558
7559 2014-01-22 Doug Evans <dje@google.com>
7560
7561 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7562
7563 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7564
7565 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7566
7567 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7568
7569 * gdb.trace/entry-values.exp: Remove excess space character from
7570 regex patterns. Handle s390 call instruction.
7571
7572 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7573
7574 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7575 define "*_start" label. Make "name" static.
7576 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7577 ${name} by references to ${name}_start.
7578
7579 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7580
7581 * gdb.base/info-macros.exp: Remove "debug" from the compile
7582 options.
7583
7584 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7585
7586 * gdb.dlang/demangle.exp: New file.
7587
7588 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7589
7590 * gdb.dlang/primitive-types.exp: New file.
7591
7592 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7593
7594 * configure.ac: Create gdb.dlang/Makefile.
7595 * configure: Regenerate.
7596 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7597 * gdb.dlang/Makefile.in: New file.
7598 * lib/d-support.exp: New file.
7599 * lib/gdb.exp (skip_d_tests): New proc.
7600
7601 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7602
7603 * gdb.btrace/delta.exp: Check reverse stepi.
7604 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7605 * gdb.btrace/finish.exp: New.
7606 * gdb.btrace/next.exp: New.
7607 * gdb.btrace/nexti.exp: New.
7608 * gdb.btrace/record_goto.c: Add comments.
7609 * gdb.btrace/step.exp: New.
7610 * gdb.btrace/stepi.exp: New.
7611 * gdb.btrace/multi-thread-step.c: New.
7612 * gdb.btrace/multi-thread-step.exp: New.
7613 * gdb.btrace/rn-dl-bind.c: New.
7614 * gdb.btrace/rn-dl-bind.exp: New.
7615 * gdb.btrace/data.c: New.
7616 * gdb.btrace/data.exp: New.
7617 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7618
7619 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7620
7621 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7622 * gdb.btrace/exception.exp: Update.
7623 * gdb.btrace/instruction_history.exp: Update.
7624 * gdb.btrace/record_goto.exp: Update.
7625 * gdb.btrace/tailcall.exp: Update.
7626 * gdb.btrace/unknown_functions.exp: Update.
7627 * gdb.btrace/delta.exp: New.
7628
7629 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7630
7631 * gdb.btrace/record_goto.exp: Add backtrace test.
7632 * gdb.btrace/tailcall.exp: Add backtrace test.
7633
7634 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7635
7636 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7637 * gdb.btrace/record_goto.c: New.
7638 * gdb.btrace/record_goto.exp: New.
7639 * gdb.btrace/x86-record_goto.S: New.
7640
7641 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7642
7643 * gdb.btrace/function_call_history.exp: Update tests.
7644 * gdb.btrace/instruction_history.exp: Update tests.
7645
7646 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7647
7648 * gdb.btrace/function_call_history.exp: Fix expected field
7649 order for "record function-call-history".
7650 Add new tests for "record function-call-history /c".
7651 * gdb.btrace/exception.cc: New.
7652 * gdb.btrace/exception.exp: New.
7653 * gdb.btrace/tailcall.exp: New.
7654 * gdb.btrace/x86-tailcall.S: New.
7655 * gdb.btrace/x86-tailcall.c: New.
7656 * gdb.btrace/unknown_functions.c: New.
7657 * gdb.btrace/unknown_functions.exp: New.
7658 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7659
7660 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7661
7662 * gdb.btrace/instruction_history.exp: Update.
7663 * gdb.btrace/function_call_history.exp: Update.
7664
7665 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7666
7667 * gdb.btrace/function_call_history.exp: Fix expected function
7668 trace.
7669 * gdb.btrace/instruction_history.exp: Initialize traced.
7670 Remove traced_functions.
7671
7672 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7673
7674 * gdb.btrace/function_call_history.exp: Update
7675 * gdb.btrace/instruction_history.exp: Update.
7676
7677 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7678
7679 * gdb.btrace/enable.exp: Update expected text.
7680
7681 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7682
7683 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7684 bytes.
7685
7686 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7687
7688 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7689
7690 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
7691
7692 * lib/gdb.exp (supports_process_record): Return true for
7693 arm*-linux*. (supports_reverse): Likewise.
7694
7695 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7696
7697 PR python/15464
7698 PR python/16113
7699 * gdb.python/py-type.c: Enhance test case.
7700 * gdb.python/py-value-cc.cc: Likewise
7701 * gdb.python/py-type.exp: Add new tests.
7702 * gdb.python/py-value-cc.exp: Likewise
7703
7704 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7705 Pedro Alves <palves@redhat.com>
7706
7707 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7708 Make "name" extern.
7709 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7710 references to ${name}_start by references to ${name}.
7711
7712 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7713
7714 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7715
7716 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7717
7718 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7719
7720 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7721 Pedro Alves <palves@redhat.com>
7722
7723 * gdb.mi/mi-info-os.exp: Connect to the target with
7724 mi_gdb_target_load.
7725
7726 2014-01-08 Pedro Alves <palves@redhat.com>
7727
7728 * gdb.threads/reconnect-signal.c: New file.
7729 * gdb.threads/reconnect-signal.exp: New file.
7730
7731 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7732
7733 * gdb.base/source-dir.exp: New file.
7734
7735 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7736
7737 * gdb.ada/mi_interface: New testcase.
7738
7739 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7740
7741 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7742 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7743 gdb.ada/pp-rec-component/pck.ads: New files.
7744
7745 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7746
7747 * gdb.python/py-pp-integral.c: New file.
7748 * gdb.python/py-pp-integral.py: New file.
7749 * gdb.python/py-pp-integral.exp: New file.
7750
7751 For older changes see ChangeLog-1993-2013.
7752 \f
7753 ;; Local Variables:
7754 ;; mode: change-log
7755 ;; left-margin: 8
7756 ;; fill-column: 74
7757 ;; version-control: never
7758 ;; End:
7759
7760 Copyright 2014-2016 Free Software Foundation, Inc.
7761 Copying and distribution of this file, with or without modification,
7762 are permitted provided the copyright notice and this notice are preserved.