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