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