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