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