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