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