]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Fix siginfo C++ build error
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
2151ccc5
SM
12016-02-08 Simon Marchi <simon.marchi@ericsson.com>
2
3 * Makefile.in (ALL_SUBDIRS): Remove.
4 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
5 (distclean maintainer-clean realclean): Likewise.
6 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
7 * configure: Regenerate.
8 * gdb.ada/Makefile.in: Delete.
9 * gdb.arch/Makefile.in: Likewise.
10 * gdb.asm/Makefile.in: Likewise.
11 * gdb.base/Makefile.in: Likewise.
12 * gdb.btrace/Makefile.in: Likewise.
13 * gdb.cell/Makefile.in: Likewise.
14 * gdb.compile/Makefile.in: Likewise.
15 * gdb.cp/Makefile.in: Likewise.
16 * gdb.disasm/Makefile.in: Likewise.
17 * gdb.dlang/Makefile.in: Likewise.
18 * gdb.dwarf2/Makefile.in: Likewise.
19 * gdb.fortran/Makefile.in: Likewise.
20 * gdb.gdb/Makefile.in: Likewise.
21 * gdb.go/Makefile.in: Likewise.
22 * gdb.guile/Makefile.in: Likewise.
23 * gdb.java/Makefile.in: Likewise.
24 * gdb.linespec/Makefile.in: Likewise.
25 * gdb.mi/Makefile.in: Likewise.
26 * gdb.modula2/Makefile.in: Likewise.
27 * gdb.multi/Makefile.in: Likewise.
28 * gdb.objc/Makefile.in: Likewise.
29 * gdb.opencl/Makefile.in: Likewise.
30 * gdb.opt/Makefile.in: Likewise.
31 * gdb.pascal/Makefile.in: Likewise.
32 * gdb.perf/Makefile.in: Likewise.
33 * gdb.python/Makefile.in: Likewise.
34 * gdb.reverse/Makefile.in: Likewise.
35 * gdb.server/Makefile.in: Likewise.
36 * gdb.stabs/Makefile.in: Likewise.
37 * gdb.threads/Makefile.in: Likewise.
38 * gdb.trace/Makefile.in: Likewise.
39 * gdb.xml/Makefile.in: Likewise.
40 * lib/gdb.exp (make_gdb_parallel_path): Add check for
41 GDB_PARALLEL.
42 (standard_output_file): Remove check for GDB_PARALLEL, always
43 return path in outputs/$subdir/$testname.
44
437277d4
SM
452016-02-08 Simon Marchi <simon.marchi@ericsson.com>
46
47 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
48 (site.exp): Assign abs_srcdir to tcl's srcdir.
49
31d913c7
YQ
502016-02-04 Yao Qi <yao.qi@linaro.org>
51
52 * gdb.base/foll-exec-mode.c: Include limits.h.
53 (main): Add parameters argc and argv. Get directory from
54 argv[0].
55 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
56 compilation.
57 * gdb.base/foll-exec.c: Include limits.h.
58 (main): Add parameters argc and argv.
59 Get directory from argv[0].
60 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
61 Adjust tests on the number of lines as source code changed.
62 * gdb.base/foll-vfork-exit.c: Include limits.h.
63 (main): Add one line of statement before vfork.
64 * gdb.base/foll-vfork.c: Include limits.h and string.h.
65 (main): Add parameters argc and argv. Get directory from
66 argv[0].
67 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
68 (setup_gdb): Set tbreak to skip some source lines.
69 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
70 (main): Add parameters argc and argv. Get directory from
71 argv[0].
72 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
73 compilation.
74 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
75 (main): Add parameters argc and argv. Get directory from
76 argv[0].
77 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
78 compilation.
79
9482b9fb
DE
802016-02-01 Doug Evans <dje@google.com>
81
82 * gdb.base/skip.exp: Clean up multiple references to same test name.
83
6b2e4f10
PA
842016-02-01 Pedro Alves <palves@redhat.com>
85
ccb6afd6 86 PR remote/19496
6b2e4f10
PA
87 * gdb.threads/forking-threads-plus-breakpoint.exp
88 (displaced_stepping_supported): New global.
89 (probe_displaced_stepping_support): New procedure.
90 (do_test): Add 'displaced' parameter, and use it.
91 (top level): Check for displaced stepping support. Add displaced
92 stepping on/off testing axis.
93
37a8db1a
AB
942016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
95
96 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
97 pointer. Don't perform further tests on the unassociated pointer
98 if the first test fails.
99
5fdf6324
AB
1002016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
101
102 * gdb.base/max-value-size.c: New file.
103 * gdb.base/max-value-size.exp: New file.
104 * gdb.base/huge.exp: Disable max-value-size for this test.
105
935c6144
IB
1062016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
107
108 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
109
7fe8399d
YQ
1102016-01-28 Yao Qi <yao.qi@linaro.org>
111
112 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
113
a2077e25
PA
1142016-01-25 Pedro Alves <palves@redhat.com>
115
116 PR threads/19461
117 * gdb.base/fork-running-state.c: New file.
118 * gdb.base/fork-running-state.exp: New file.
119
1d2736d4
PA
1202016-01-25 Pedro Alves <palves@redhat.com>
121
122 PR gdb/19494
123 * gdb.base/catch-fork-kill.c: New file.
124 * gdb.base/catch-fork-kill.exp: New file.
125
f1da4b11
PA
1262016-01-25 Pedro Alves <palves@redhat.com>
127
128 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
129 Delete, moved to lib/gdb.exp.
130 * gdb.threads/forking-threads-plus-breakpoint.exp
131 (foreach_with_prefix): Likewise.
132 * gdb.threads/process-dies-while-handling-bp.exp
133 (foreach_with_prefix): Likewise.
134 * lib/gdb.exp (foreach_with_prefix): New procedure.
135
45f38546
MK
1362016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
137
138 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
139 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
140
dc29a1ce
MK
1412016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
142
143 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
144 endian targets.
145
092127d7
JK
1462016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
147 Pedro Alves <palves@redhat.com>
148
149 Fix testsuite compatibility with Guile.
150 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
151 number.
152
31d765d3
JK
1532016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
154
155 Fix testsuite compatibility with Guile.
156 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
157 (thread 1): New test for backtrace through signal handler.
158
1ac78c04
YQ
1592016-01-22 Yao Qi <yao.qi@linaro.org>
160
161 PR testsuite/19491
162 * gdb.base/multi-forks.c: Include
163 ../lib/unbuffer_output.c
164 (main): Call gdb_unbuffer_output.
165
4f5946a8
DE
1662016-01-21 Doug Evans <dje@google.com>
167
168 * lib/ada.exp (gdb_compile_ada): Fix typo.
169
305e13e6
JB
1702016-01-21 Joel Brobecker <brobecker@adacore.com>
171
172 * gdb.base/break-fun-addr.exp: New file.
173 * gdb.base/break-fun-addr1.c: New file.
174 * gdb.base/break-fun-addr2.c: New file.
175
5f5dfff6
SM
1762016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
177
178 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
179 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
180 enum flag values.
181
fd356fa2
AA
1822016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
183
184 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
185 when GDB can not set the vector return value. Add more comments
186 for clarification.
187
9df22175
AT
1882016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
189
190 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
191 command.
192
41d1845e
SM
1932016-01-19 Simon Marchi <simon.marchi@ericsson.com>
194
195 * Makefile.in (DO_RUNTEST): Add --status and update usages.
196
01ac6840
SM
1972016-01-19 Simon Marchi <simon.marchi@ericsson.com>
198
199 * Makefile.in (check-single): Pass --status to runtest.
200 (check/%.exp): Likewise.
201
2022016-01-19 Simon Marchi <simon.marchi@ericsson.com>
203
204 * Makefile.in (check-parallel): Propagate return code from make
205 do-check-parallel.
206
bd0a71fa
MK
2072016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
208
209 * gdb.trace/ftrace.exp: Fix expected message on continue.
210 * gdb.trace/pending.exp: Fix expected message on continue.
211 * gdb.trace/trace-break.exp: Fix expected message on continue.
212
8bcbad33
SM
2132016-01-18 Simon Marchi <simon.marchi@ericsson.com>
214
215 * lib/gdb.exp (gdb_test): Remove unused global references.
216
f303dbd6
PA
2172016-01-18 Pedro Alves <palves@redhat.com>
218
219 * gdb.base/async-shell.exp: Adjust expected output.
220 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
221 * gdb.base/siginfo-thread.exp: Adjust expected output.
222 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
223 * gdb.java/jnpe.exp: Adjust expected output.
224 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
225 * gdb.threads/continue-pending-status.exp: Adjust expected output.
226 * gdb.threads/leader-exit.exp: Adjust expected output.
227 * gdb.threads/manythreads.exp: Adjust expected output.
228 * gdb.threads/pthreads.exp: Adjust expected output.
229 * gdb.threads/schedlock.exp: Adjust expected output.
230 * gdb.threads/siginfo-threads.exp: Adjust expected output.
231 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
232 expected output.
233 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
234 output.
235 * gdb.threads/sigthread.exp: Adjust expected output.
236 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
237
b2789696
YQ
2382016-01-18 Yao Qi <yao.qi@linaro.org>
239
240 * gdb.guile/scm-section-script.c: Replace @progbits with
241 %progbits.
242 * gdb.python/py-section-script.c: Likewise.
243
71ef29a8
PA
2442016-01-15 Pedro Alves <palves@redhat.com>
245
246 * gdb.multi/tids.exp: Test star wildcard ranges.
247
3f5b7598
PA
2482016-01-15 Pedro Alves <palves@redhat.com>
249
250 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
251 command from "thread apply" invocation.
252 (thr_apply_info_thr_invalid): Default the expected output to the
253 input tid list.
254 (top level): Add tests that use convenience variables. Add tests
255 for "thread apply" with a valid TID list, but missing the command.
256
663f6d42
PA
2572016-01-13 Pedro Alves <palves@redhat.com>
258
259 * gdb.base/default.exp: Expect $_gthread as well.
260 * gdb.multi/tids.exp: Test $_gthread.
261 * gdb.threads/thread-specific.exp: Test $_gthread.
262
c84f6bbf
PA
2632016-01-13 Pedro Alves <palves@redhat.com>
264
265 * gdb.multi/tids.exp: Test "info threads -gid".
266
22a02324
PA
2672016-01-13 Pedro Alves <palves@redhat.com>
268
269 * gdb.multi/tids.exp: Test InferiorThread.global_num and
270 Breakpoint.thread.
271 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
272
5d5658a1
PA
2732016-01-07 Pedro Alves <palves@redhat.com>
274
275 * gdb.base/break.exp: Adjust to output changes.
276 * gdb.base/hbreak2.exp: Likewise.
277 * gdb.base/sepdebug.exp: Likewise.
278 * gdb.base/watch_thread_num.exp: Likewise.
279 * gdb.linespec/keywords.exp: Likewise.
280 * gdb.multi/info-threads.exp: Likewise.
281 * gdb.threads/thread-find.exp: Likewise.
282 * gdb.multi/tids.c: New file.
283 * gdb.multi/tids.exp: New file.
284
84654457
PA
2852016-01-13 Pedro Alves <palves@redhat.com>
286
287 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
288
e3940304
PA
2892016-01-13 Pedro Alves <palves@redhat.com>
290
291 * gdb.base/default.exp: Expect $_inferior as well.
292 * gdb.multi/base.exp: Test $_inferior.
293
a911d87a
PA
2942016-01-13 Pedro Alves <palves@redhat.com>
295
296 PR breakpoints/19388
297 * gdb.base/catch-signal-siginfo-cond.c: New file.
298 * gdb.base/catch-signal-siginfo-cond.exp: New file.
299
82075af2
JS
3002016-01-12 Josh Stone <jistone@redhat.com>
301 Philippe Waroquiers <philippe.waroquiers@skynet.be>
302
303 * gdb.base/catch-syscall.c (do_execve): New variable.
304 (main): Conditionally trigger an execve.
305 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
306 (test_catch_syscall_execve): New, check entry/return across execve.
307 (do_syscall_tests): Call test_catch_syscall_execve.
308
e46eeedd
PA
3092016-01-12 Pedro Alves <palves@redhat.com>
310
311 * gdb.base/random-signal.exp (do_test): New procedure, with body
312 of testcase moved in.
313
01d8c27e
JK
3142016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
315 Pedro Alves <palves@redhat.com>
316
317 * gdb.base/funcargs.exp (finish from indirectly called function):
318 Reintroduce the case for 'First'.
319
9a706302
JK
3202016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
321 Pedro Alves <palves@redhat.com>
322
323 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
324 (tcatch_vfork_then_child_follow_exec)
325 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
326 identification.
327
c0ecb95f
JK
3282016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
329
330 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
331 and repeats to unlimited.
332 * gdb.python/py-value.exp: Likewise.
333 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
334 and repeats to unlimited.
335
6cfc1fcb
JK
3362016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
337
338 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
339 and reordering the functions.
340 * gdb.multi/hangout.c: Likewise.
341 * gdb.multi/hello.c: Likewise.
342
582a1b00
SM
3432016-01-08 Simon Marchi <simon.marchi@ericsson.com>
344
345 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
346 absolute.
347 (SingleStatisticTestResult.report): Use dict.keys instead of
348 dict.iterkeys.
349
79bc59cb
PA
3502016-01-06 Pedro Alves <palves@redhat.com>
351
352 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
353
43368e1d
MM
3542016-01-04 Markus Metzger <markus.t.metzger@intel.com>
355
356 * gdb.btrace/dlopen.exp: New.
357 * gdb.btrace/dlopen.c: New.
358 * gdb.btrace/dlopen-dso.c: New.
359
79fad5b8
SL
3602015-12-25 Sandra Loosemore <sandra@codesourcery.com>
361
362 * lib/gdb.exp (gdb_test): Update comments to clarify that the
363 PATTERN argument is optional.
364
ab8314b3
JB
3652015-12-24 Joel Brobecker <brobecker@adacore.com>
366
367 * lib/ada.exp (target_compile_ada_from_dir): New function.
368 (gdb_compile_ada): Reimplement avoiding the use of project files.
369 * gdb.ada/gnat_ada.gpr: Delete.
370 * gdb.ada/cond_lang.exp: Adjust test to make path before
371 filename optional.
372 * gdb.ada/small_reg_param.exp: Likewise.
373
fe33faff
SM
3742015-12-22 Simon Marchi <simon.marchi@ericsson.com>
375
376 * gdb.base/foll-vork.exp: Remove HP-UX special case.
377
6d265cb4
TP
3782015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
379
380 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
381 case.
382
10125099
SM
3832015-12-21 Simon Marchi <simon.marchi@ericsson.com>
384
385 * gdb.base/break.exp: Remove dead code.
386 * gdb.base/sepdebug.exp: Likewise.
387
3ca22649
SM
3882015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
389
390 * gdb.asm/asm-source.exp: Remove HP-UX references.
391 * gdb.base/annota1.exp: Likewise.
392 * gdb.base/annota3.exp: Likewise.
393 * gdb.base/attach.exp: Likewise.
394 * gdb.base/bigcore.exp: Likewise.
395 * gdb.base/break.exp: Likewise.
396 * gdb.base/call-ar-st.exp: Likewise.
397 * gdb.base/callfuncs.exp: Likewise.
398 * gdb.base/catch-fork-static.exp: Likewise.
399 * gdb.base/display.exp: Likewise.
400 * gdb.base/foll-exec-mode.exp: Likewise.
401 * gdb.base/foll-exec.exp: Likewise.
402 * gdb.base/foll-fork.exp: Likewise.
403 * gdb.base/foll-vfork.exp: Likewise.
404 * gdb.base/funcargs.exp: Likewise.
405 * gdb.base/hbreak2.exp: Likewise.
406 * gdb.base/inferior-died.exp: Likewise.
407 * gdb.base/interrupt.exp: Likewise.
408 * gdb.base/multi-forks.exp: Likewise.
409 * gdb.base/nodebug.exp: Likewise.
410 * gdb.base/sepdebug.exp: Likewise.
411 * gdb.base/solib1.c: Likewise.
412 * gdb.base/step-test.exp: Likewise.
413 * gdb.mi/non-stop.c: Likewise.
414 * gdb.mi/pthreads.c: Likewise.
415 * gdb.multi/bkpt-multi-exec.ex: Likewise.
416 * gdb.threads/pthreads.c: Likewise.
417 * gdb.threads/staticthreads.exp: Likewise.
418 * lib/future.exp: Likewise.
419 * lib/gdb.exp: Likewise.
420 * gdb.base/so-indr-cl.c: Remove.
421 * gdb.base/so-indr-cl.exp: Likewise.
422 * gdb.base/solib.c: Likewise.
423 * gdb.base/solib.exp: Likewise.
424 * gdb.base/solib2.c: Likewise.
425
b6304613
SM
4262015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
427
428 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
429 * gdb.base/call-ar-st.exp: Likewise.
430 * gdb.base/callfuncs.exp: Likewise.
431 * gdb.base/condbreak.exp: Likewise.
432 * gdb.base/constvars.exp: Likewise.
433 * gdb.base/hbreak2.exp: Likewise.
434 * gdb.base/langs.exp: Likewise.
435 * gdb.base/list.exp: Likewise.
436 * gdb.base/long_long.exp: Likewise.
437 * gdb.base/ptype.exp: Likewise.
438 * gdb.base/scope.exp: Likewise.
439 * gdb.base/signals.exp: Likewise.
440 * gdb.base/so-impl-ld.exp: Likewise.
441 * gdb.base/varargs.exp: Likewise.
442 * gdb.base/volatile.exp: Likewise.
443 * gdb.base/whatis.exp: Likewise.
444 * gdb.cp/cplusfuncs.exp: Likewise.
445 * gdb.cp/inherit.exp: Likewise.
446 * gdb.cp/local.exp: Likewise.
447 * gdb.cp/member-ptr.exp: Likewise.
448 * gdb.cp/method.exp: Likewise.
449 * gdb.cp/overload.exp: Likewise.
450 * gdb.cp/templates.exp: Likewise.
451 * gdb.stabs/weird.exp: Likewise.
452 * lib/compiler.c: Likewise.
453 * lib/compiler.cc: Likewise.
454 * lib/cp-support.exp: Likewise.
455 * lib/gdb.exp: Likewise.
456
bf401b07
SM
4572015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
458
459 * configure.ac: Remove HP-UX case.
460 * configure: Regenerate.
461
aff9c0f8
SM
4622015-12-18 Simon Marchi <simon.marchi@ericsson.com>
463
464 * lib/gdb.exp (gdb_compile): Add function doc.
465
a6904d5a
PA
4662015-12-17 Pedro Alves <palves@redhat.com>
467
468 PR threads/19354
469 * gdb.multi/info-threads.exp: New file.
470
a22279dd
YQ
4712015-12-15 Yao Qi <yao.qi@linaro.org>
472
473 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
474 is aarch64*-*-*.
475
0588c796
SL
4762015-12-14 Sandra Loosemore <sandra@codesourcery.com>
477
478 * gdb.base/history-duplicates.exp: Skip if no readline support.
479
5d978e17
SL
4802015-12-14 Sandra Loosemore <sandra@codesourcery.com>
481
482 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
483
7e763b86
SL
4842015-12-14 Sandra Loosemore <sandra@codesourcery.com>
485
486 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
487
87a3a92c
SL
4882015-12-14 Sandra Loosemore <sandra@codesourcery.com>
489
490 * gdb.base/completion.exp: Skip tests that interrupt GDB with
491 ctrl-C if nointerrupts target property is set.
492 * gdb.base/double-prompt-target-event-error.exp: Likewise.
493 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
494 * gdb.base/paginate-bg-execution.exp: Likewise.
495 * gdb.base/paginate-execution-startup.exp: Likewise.
496 * gdb.base/random-signal.exp: Likewise.
497 * gdb.base/range-stepping.exp: Likewise.
498 * gdb.cp/annota2.exp: Likewise.
499 * gdb.cp/annota3.exp: Likewise.
500 * gdb.gdb/selftest.exp: Likewise.
501 * gdb.threads/continue-pending-status.exp: Likewise.
502 * gdb.threads/leader-exit.exp: Likewise.
503 * gdb.threads/manythreads.exp: Likewise.
504 * gdb.threads/pthreads.exp: Likewise.
505 * gdb.threads/schedlock.exp: Likewise.
506 * gdb.threads/sigthread.exp: Likewise.
507
a8f077dc
DB
5082015-12-11 Don Breazeal <donb@codesourcery.com>
509
510 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
511 remote.
512 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
513 * gdb.base/foll-exec.exp (main): Enable for target remote.
514 * gdb.base/foll-fork.exp (main): Likewise.
515 * gdb.base/foll-vfork.exp (main): Likewise.
516 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
517 (proc continue_to_exit_bp_loc): Use clean_restart.
518 * gdb.base/pie-execl.exp (main): Disable for target remote.
519 * gdb.base/watch-vfork.exp (main): Enable for target remote.
520 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
521 * gdb.threads/execl.exp (main): Likewise.
522 * gdb.threads/fork-child-threads.exp (main): Likewise.
523 * gdb.threads/fork-plus-threads.exp (main): Disable for target
524 remote.
525 * gdb.threads/fork-thread-pending.exp (main): Enable for target
526 remote.
527 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
528 pid.tid style ptids, instead of just tid.
529 * gdb.threads/thread-execl.exp (main): Enable for target remote.
530 * gdb.threads/watchpoint-fork.exp (main): Likewise.
531 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
532 ptids, instead of just tid.
533
3b2464a8
AB
5342015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
535
536 * gdb.base/list.exp (test_list_forward): Add end of file error
537 test.
538 (test_repeat_list_command): Add end of file error test.
539 (test_list_backwards): Add beginning of file error test.
540
a0def019
AB
5412015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
542
543 * gdb.base/list.exp (test_list_invalid_args): New function,
544 defined, and called.
545
5c000dff
AB
5462015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
547
548 * gdb.base/list.exp (test_list): Make test names unique.
549
f1637ebe
YQ
5502015-12-11 Yao Qi <yao.qi@linaro.org>
551
552 * gdb.base/coremaker2.c: Remove.
553
36d6fc0a
PA
5542015-12-10 Pedro Alves <palves@redhat.com>
555
556 * gdb.multi/base.exp: Remove stale "spaces" references.
557
762f7747
PA
5582015-12-10 Pedro Alves <palves@redhat.com>
559
560 * gdb.multi/base.exp: Don't use nowarnings.
561 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
562 * gdb.multi/hangout.c: Include stdio.h.
563 * gdb.multi/hello.c: Include stdlib.h.
564 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
565 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
566 * gdb.multi/multi-arch.exp: Don't use nowarnings.
567
28d2bfb9
AB
5682015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
569
570 * gdb.dwarf2/dw2-ranges-base.c: New file.
571 * gdb.dwarf2/dw2-ranges-base.exp: New file.
572 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
573 support additional line table, and debug ranges generation.
574 (Dwarf::ranges): New function, generate .debug_ranges.
575 (Dwarf::lines): Support generating simple line table programs.
576 (Dwarf::assemble): Initialise new namespace variables.
577
5fc2beac
KB
5782015-12-09 Kevin Buettner <kevinb@redhat.com>
579
580 * gdb.base/async.exp (proc test_background): Add case for
581 asynchronous execution not supported.
582
1c35a88f
LM
5832015-12-09 Luis Machado <lgustavo@codesourcery.com>
584
585 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
586 format and change test names to make them unique.
587
b593e3d9
RK
5882015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
589 Pedro Alves <pedro@redhat.com>
590
591 PR gdb/18702
592 Add checking of floatformats setup on x86_64 hosts.
593 * gdb.arch/i386-float.S (main): Load bigval and smallval.
594 (smallval, bigval): New labels/constants.
595 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
596 float" after loading bigval and smallval.
597
d72413e6
PMR
5982015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
599
600 * gdb.ada/fun_overload_menu.exp: New testcase.
601 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
602
ece66d65
JS
6032015-12-04 Josh Stone <jistone@redhat.com>
604
605 * gdb.base/catch-fork-static.exp: New.
606
41d0efca
YQ
6072015-12-03 Yao Qi <yao.qi@linaro.org>
608
609 * gdb.base/sizeof.c: Don't include stdio.h and
610 ../lib/unbuffer_output.c.
611 (main): New variable 'size' and 'value'. Remove printf and
612 gdb_unbuffer_output. Assign return value to size and value.
613 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
614 at the beginning.
615 (check_sizeof): Check the result by printing variable 'size'.
616 (check_valueof): Check the result by printing variable 'value'.
617
99fd02d9
YQ
6182015-12-01 Yao Qi <yao.qi@linaro.org>
619
620 * gdb.base/disp-step-syscall.exp: Define syscall instruction
621 for aarch64*-*-linux* target.
622
f2faf941
PA
6232015-11-30 Pedro Alves <palves@redhat.com>
624
625 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
626
04bf20c5
PA
6272015-11-30 Pedro Alves <palves@redhat.com>
628
629 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
630 Handle non-stop mode vCont replies.
631
09df4675
PA
6322015-11-30 Pedro Alves <palves@redhat.com>
633
634 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
635 prepare_for_testing. Start gdb with "set non-stop on" appended to
636 GDBFLAGS. Lax expected stop output.
637
58b584af
YQ
6382015-11-27 Yao Qi <yao.qi@linaro.org>
639
640 * gdb.arch/arm-neon.exp: New.
641 * gdb.arch/arm-neon.c: New.
642
dfcb77a8
YQ
6432015-11-27 Yao Qi <yao.qi@linaro.org>
644
645 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
646
88e8ec1b
YQ
6472015-11-27 Yao Qi <yao.qi@linaro.org>
648
649 * gdb.cp/annota2.exp: Allow multiple occurrences of the
650 frames-invalid annotation.
651
bfde72c2
YQ
6522015-11-27 Yao Qi <yao.qi@linaro.org>
653
654 * gdb.cp/annota2.exp: Use ${frames_invalid}.
655
f6512a69
SM
6562015-11-26 Simon Marchi <simon.marchi@ericsson.com>
657
658 * gdb.threads/names.exp: New file.
659 * gdb.threads/names.c: New file.
660 * README: Mention gdb,no_thread_names.
661
46a3515b
MM
6622015-11-26 Markus Metzger <markus.t.metzger@intel.com>
663
664 PR 19297
665 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
666 support" error.
667
62147a22
PA
6682015-11-24 Pedro Alves <palves@redhat.com>
669
670 PR 17539
671 * gdb.base/display.exp: Expect displays to be sorted in ascending
672 order. Use multi_line.
673 * gdb.base/solib-display.exp: Likewise.
674
2f341b6e
PA
6752015-11-24 Pedro Alves <palves@redhat.com>
676
677 PR 17539
678 * gdb.base/display.exp: Expect displays to be sorted in ascending
679 order. Use multi_line.
680 * gdb.base/solib-display.exp: Likewise.
681
7e0aa6aa
PA
6822015-11-24 Pedro Alves <palves@redhat.com>
683
684 PR 17539
685 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
686 threads in ascending order.
687 * gdb.base/foll-fork.exp: Likewise.
688 * gdb.base/foll-vfork.exp: Likewise.
689 * gdb.base/multi-forks.exp: Likewise.
690 * gdb.mi/mi-nonstop.exp: Likewise.
691 * gdb.mi/mi-nsintrall.exp: Likewise.
692 * gdb.multi/base.exp: Likewise.
693 * gdb.multi/multi-arch.exp: Likewise.
694 * gdb.python/py-inferior.exp: Likewise.
695 * gdb.threads/break-while-running.exp: Likewise.
696 * gdb.threads/execl.exp: Likewise.
697 * gdb.threads/gcore-thread.exp: Likewise.
698 * gdb.threads/info-threads-cur-sal.exp: Likewise.
699 * gdb.threads/kill.exp: Likewise.
700 * gdb.threads/linux-dp.exp: Likewise.
701 * gdb.threads/multiple-step-overs.exp: Likewise.
702 * gdb.threads/next-bp-other-thread.exp: Likewise.
703 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
704 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
705 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
706 * gdb.threads/thread-find.exp: Likewise.
707 * gdb.threads/tls.exp: Likewise.
708 * lib/mi-support.exp (mi_reverse_list): Delete.
709 (mi_check_thread_states): No longer reverse list.
710
2cc57ad8
PA
7112015-11-24 Pedro Alves <palves@redhat.com>
712
713 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
714 use lowercase.
715
c93e8391
SM
7162015-11-23 Simon Marchi <simon.marchi@ericsson.com>
717
718 * gdb.trace/actions.c: Include trace-common.h.
719 (main): Add a location for a fast tracepoint.
720 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
721 the normal tracepoints.
722 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
723
045ccf91
SM
7242015-11-23 Simon Marchi <simon.marchi@ericsson.com>
725
726 * save-trace.exp: Factor out code to these...
727 (gdb_save_tracepoints): New.
728 (gdb_load_tracepoints): New.
729 (do_save_load_test): New.
730
5506f9f6
KB
7312015-11-23 Kevin Buettner <kevinb@redhat.com>
732
733 * gdb.base/asmlabel.exp: New test.
734 * gdb.base/asmlabel.c: New test case.
735
16c3b12f
JB
7362015-11-23 Joel Brobecker <brobecker@adacore.com>
737
738 * gdb.base/wrong_frame_bt_full-main.c: New file.
739 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
740 * gdb.base/wrong_frame_bt_full.exp: New file.
741
155bfbd3
JB
7422015-11-23 Joel Brobecker <brobecker@adacore.com>
743
744 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
745
bb097445
JM
7462015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
747
206853a0 748 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
749 pstate register when comparing registers values in
750 sparc64-*-linux-gnu targets to avoid spurious differences.
751
9c88ed8f
JM
7522015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
753
206853a0 754 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 755
96161e25
SL
7562015-11-19 Sandra Loosemore <sandra@codesourcery.com>
757
758 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
759 as type argument to gdb_compile.
760 * gdb.base/nested-subp2.exp: Likewise.
761 * gdb.base/nested-subp3.exp: Likewise.
762
340c2830
DV
7632015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
764
765 * lib/dwarf.exp (_note): Fix left shift of negative value.
766 * gdb.trace/trace-condition.exp: Likewise.
767
c1862d0f
YQ
7682015-11-13 Yao Qi <yao.qi@linaro.org>
769
770 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
771 comments about d10v.
772 (test_scalar_returns): Likewise.
773 * gdb.base/d10v.ld: Remove.
774 * gdb.base/overlays.exp: Remove the target triplet checking for
775 d10v-*-*.
776 * gdb.base/structs.exp (test_struct_returns): Remove the
777 comments about d10v.
778 (test_struct_calls): Likewise.
779
77ae9c19
YQ
7802015-11-13 Yao Qi <yao.qi@linaro.org>
781
782 * gdb.base/gnu_vector.exp: Check the return value by "p res".
783 * gdb.base/gnu_vector.c: Don't include stdio.h.
784 (main): Don't print res and call add_some_intvecs.
785
430e004e
MK
7862015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
787
788 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
789 macro.
790 (func5): Removed.
791 (func4): Use FAST_TRACEPOINT_LABEL.
792 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
793 macro.
794 (func): Removed.
795 (thread_function): Use FAST_TRACEPOINT_LABEL.
796 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
797 (func): Remove.
798 (marker): Use FAST_TRACEPOINT_LABEL.
799 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
800 (pendfunc1): Remove.
801 (pendfunc): Use FAST_TRACEPOINT_LABEL.
802 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
803 (foo): Remove.
804 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
805 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
806 macro.
807 (func): Remove.
808 (marker): Use FAST_TRACEPOINT_LABEL.
809 * gdb.trace/trace-common.h: New header.
810 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
811 macro.
812 (func): Remove.
813 (marker): Use FAST_TRACEPOINT_LABEL.
814 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
815 (func): Remove.
816 (thread_function): Use FAST_TRACEPOINT_LABEL.
817
6e7675a7
MK
8182015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
819
820 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
821 in front.
822 * gdb.trace/change-loc.exp: Use global pcreg definition.
823 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
824 * gdb.trace/entry-values.exp: Use global spreg definition, add $
825 in front.
826 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
827 * gdb.trace/pending.exp: Likewise.
828 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
829 * gdb.trace/trace-break.exp: Likewise.
830 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
831 in front.
832 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
833 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
834 in front.
835 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
836
dddc0e16
JB
8372015-11-09 Joel Brobecker <brobecker@adacore.com>
838
839 * gdb.ada/fin_fun_out: New testcase.
840
c6f0b406
KB
8412015-11-07 Kevin Buettner <kevinb@redhat.com>
842
843 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
844 value associated with DW_AT_byte_size.
845 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
846 constants for DW_AT_byte_size, DW_AT_lower_bound, and
847 DW_AT_upper_bound.
848
f01dcfd9
KB
8492015-11-07 Kevin Buettner <kevinb@redhat.com>
850
851 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
852 (gdb_target_symbol_prefix_flags): Define in terms of _asm
853 version.
854 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
855 gdb.dwarf2/dw2-canonicalize-type.exp,
856 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
857 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
858 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
859 provided by gdb_target_symbol_prefix_flags_asm.
860 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
861 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
862 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
863 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
864 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
865 macros where needed). Use this macro for symbols which require
866 the prefix provided by SYMBOL_PREFIX.
867
2223449a
KB
8682015-11-05 Kevin Buettner <kevinb@redhat.com>
869
870 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
871 New procs.
872 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
873 representing expressions, of more than one list element.
874 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
875 to prepend linker symbol prefix to f.
876 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
877 table_1 and table_2.
878 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
879 Likewise, for f and g.
880 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
881 for ptr.
882 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
883 for main.
884 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
885 table_1_ptr and table_2_ptr.
886
6f2f1a3a
JK
8872015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
888 Joel Brobecker <brobecker@adacore.com>
889
890 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
891
566c56c9
MK
8922015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
893
894 * gdb.reverse/s390-mvcle.c: New test.
895 * gdb.reverse/s390-mvcle.exp: New file.
896 * lib/gdb.exp: Enable reverse tests on s390*-linux.
897
d5f0636b
MK
8982015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
899
900 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
901
7ad8b86c
MK
9022015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
903
904 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
905 reaching marker2.
906 * gdb.reverse/getresuid-reverse.exp: Likewise.
907 * gdb.reverse/pipe-reverse.exp: Likewise.
908 * gdb.reverse/readv-reverse.exp: Likewise.
909 * gdb.reverse/recvmsg-reverse.exp: Likewise.
910 * gdb.reverse/time-reverse.exp: Likewise.
911 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
912
4081c0f1
YQ
9132015-10-30 Yao Qi <yao.qi@linaro.org>
914
915 * gdb.threads/wp-replication.c (watch_count_done): Remove.
916 (empty_cycle): Remove.
917 (main): Don't call empty_cycle. Don't use watch_count_done.
918 * gdb.threads/wp-replication.exp: Don't set breakpoint on
919 empty_cycle. Rewrite the code counting HW watchpoints.
920
452b4ba5
MK
9212015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
922
923 * gdb.reverse/fstatat-reverse.c: New test.
924 * gdb.reverse/fstatat-reverse.exp: New file.
925 * gdb.reverse/getresuid-reverse.c: New test.
926 * gdb.reverse/getresuid-reverse.exp: New file.
927 * gdb.reverse/pipe-reverse.c: New test.
928 * gdb.reverse/pipe-reverse.exp: New file.
929 * gdb.reverse/readv-reverse.c: New test.
930 * gdb.reverse/readv-reverse.exp: New file.
931 * gdb.reverse/recvmsg-reverse.c: New test.
932 * gdb.reverse/recvmsg-reverse.exp: New file.
933 * gdb.reverse/time-reverse.c: New test.
934 * gdb.reverse/time-reverse.exp: New file.
935 * gdb.reverse/waitpid-reverse.c: New test.
936 * gdb.reverse/waitpid-reverse.exp: New file.
937
5e2e7507
JK
9382015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
939
940 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
941
0fde2c53
DE
9422015-10-26 Doug Evans <dje@google.com>
943
944 PR symtab/17391
945 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
946 * gdb.dwarf2/bad-regnum.c: New file.
947 * gdb.dwarf2/bad-regnum.exp: New file.
948
1a70ae97
DE
9492015-10-26 Doug Evans <dje@google.com>
950
951 PR python/18938
952 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
953 file.
954
27dc26ab
JK
9552015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
956
957 * gdb.compile/compile.exp (compile code globalvar): Update expectation
958 for a change by "Mention language in compile error message".
959
bed91f4d
SM
9602015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
961
962 PR python/18073
963 * gdb.python/py-type.c (C::a_method): New.
964 (C::a_const_method): New.
965 (C::a_static_method): New.
966 (a_function): New.
967 * gdb.python/py-type.exp (test_fields): Test getting fields
968 from function and method.
969
3f2f83dd
KB
9702015-10-21 Keven Boell <keven.boell@intel.com>
971
972 * gdb.fortran/vla-alloc-assoc.exp: New file.
973 * gdb.fortran/vla-datatypes.exp: New file.
974 * gdb.fortran/vla-datatypes.f90: New file.
975 * gdb.fortran/vla-history.exp: New file.
976 * gdb.fortran/vla-ptype-sub.exp: New file.
977 * gdb.fortran/vla-ptype.exp: New file.
978 * gdb.fortran/vla-sizeof.exp: New file.
979 * gdb.fortran/vla-sub.f90: New file.
980 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
981 * gdb.fortran/vla-value-sub-finish.exp: New file.
982 * gdb.fortran/vla-value-sub.exp: New file.
983 * gdb.fortran/vla-value.exp: New file.
984 * gdb.fortran/vla-ptr-info.exp: New file.
985 * gdb.mi/mi-vla-fortran.exp: New file.
986 * gdb.mi/vla.f90: New file.
987
27145d50
SL
9882015-10-21 Sandra Loosemore <sandra@codesourcery.com>
989
990 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
991 of hardwired timeout value.
992
5f3ff4f8
JK
9932015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
994 Pedro Alves <palves@redhat.com>
995
996 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
997 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
998
bfd09d20
JS
9992015-10-19 Josh Stone <jistone@redhat.com>
1000
1001 * gdb.base/catch-syscall.c: Include <sched.h>.
1002 (unknown_syscall): New variable.
1003 (main): Trigger a vfork and an unknown syscall.
1004 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1005 (unknown_syscall_number): Likewise.
1006 (check_call_to_syscall): Accept an optional syscall pattern.
1007 (check_return_from_syscall): Likewise.
1008 (check_continue): Likewise.
1009 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1010 (test_catch_syscall_skipping_return): New test toggling off 'catch
1011 syscall' to step over the syscall return, then toggling back on.
1012 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1013 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1014 (do_syscall_tests): Call test_catch_syscall_without_args and
1015 test_catch_syscall_mid_vfork.
1016 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1017 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1018
b32b93c6
AS
10192015-10-19 Andrew Stubbs <ams@codesourcery.com>
1020
1021 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1022 print g_vE): Add new pass patterns.
1023 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1024 print various symbol names for vptr fields.
1025
9d622bda
AB
10262015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1027
1028 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1029 results.
1030
0fd8ac1c
YQ
10312015-10-12 Yao Qi <yao.qi@linaro.org>
1032
1033 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1034
34240514
YQ
10352015-10-12 Yao Qi <yao.qi@linaro.org>
1036
1037 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1038 is aarch64*-*-linux*.
1039
8240f442
YQ
10402015-10-12 Yao Qi <yao.qi@linaro.org>
1041
1042 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1043 (can_relocate_bcond_true): ... it.
1044 (can_relocate_bcond_false): New function.
1045 (foo): Likewise.
1046 (can_relocate_bl): Likewise.
1047 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1048 can_relocate_bl.
1049
2520f728
PMR
10502015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1051
1052 * gdb.base/nested-addr.c: New file.
1053 * gdb.base/nested-addr.exp: New testcase.
1054
abcef95a
MM
10552015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1056
1057 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1058 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1059 its output. Ignore the output of "record goto begin" and instead
1060 check that GDB is replaying.
1061
145e3ddb
PA
10622015-10-09 Pedro Alves <palves@redhat.com>
1063
1064 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1065 (top level): Use it in the run with no args test.
1066
d5d8c4e1
IB
10672015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1068
1069 * gdb.dlang/properties.exp: New file.
1070
06e635ef
SL
10712015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1072
1073 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1074 whether or not address 0x1000 is mapped on the target.
1075
e019fd1d
SM
10762015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1077
1078 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1079 build.
1080
77ba2a67
MM
10812015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1082
1083 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1084 instruction-history test.
1085
c60eb31f
DE
10862015-09-28 Doug Evans <dje@google.com>
1087
1088 * gdb.base/gcore.c (array_func): Add reference to static_array.
1089
9a3c8263
SM
10902015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1091
1092 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1093 source line.
1094
9720e656
SL
10952015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1096
1097 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1098 short or char as base type.
1099
938d3bf2
SL
11002015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1101
1102 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1103 to allow any size enum.
1104
e6c2c623
PMR
11052015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1106
1107 * gdb.ada/array_ptr_renaming.exp: New testcase.
1108 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1109 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1110
06da0f77
PL
11112015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1112
1113 * gdb.trace/ftrace-lock.c: New file.
1114 * gdb.trace/ftrace-lock.exp: New file.
1115
4f51c22a
PL
11162015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1117
1118 * gdb.arch/insn-reloc.c: New file.
1119 * gdb.arch/ftrace-insn-reloc.exp: New file.
1120
7041adf4
PL
11212015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1122
1123 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1124 instruction.
1125 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1126 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1127 * gdb.trace/range-stepping.c: Likewise.
1128 * gdb.trace/trace-break.c: Likewise.
1129 * gdb.trace/trace-mt.c (thread_function): Likewise.
1130 * gdb.trace/ftrace.c (marker): Likewise.
1131 * gdb.trace/trace-condition.c (marker): Likewise.
1132 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1133 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1134 is_aarch64_target.
1135
015d2e7e
DE
11362015-09-18 Doug Evans <xdje42@gmail.com>
1137
1138 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1139 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1140
26b188a2
SL
11412015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1142
1143 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1144 the breakpoint.
1145
79dc332b
SL
11462015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1147
1148 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1149 the pending breakpoint. Remove timeout override for "Run till
1150 MI pending breakpoint on pendfunc3 on thread 2" test.
1151
f57929f2
SL
11522015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1153
1154 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1155 filename pattern.
1156
3f469b17
SL
11572015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1158
1159 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1160 in breakpoint filename pattern.
1161
515b89b3
SL
11622015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1163
7800dbe4
SL
1164 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1165
11662015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1167
515b89b3
SL
1168 * gdb.linespec/explicit.exp: Check for readline support for
1169 tab-completion tests. Fix obvious typo.
1170
d2939ba2
MM
11712015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1172
1173 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1174 and replay.
1175
cbb55fa7
MM
11762015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1177
1178 * gdb.btrace/non-stop.c: New.
1179 * gdb.btrace/non-stop.exp: New.
1180
43691ca1
PL
11812015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1182 Yao Qi <yao.qi@linaro.org>
1183
1184 * gdb.trace/trace-condition.c: New file.
1185 * gdb.trace/trace-condition.exp: New file.
1186
d78908cf
WW
11872015-09-16 Wei-cheng Wang <cole945@gmail.com>
1188
1189 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1190 for testing bytecode compilation.
1191
1ed415e2
PA
11922015-09-16 Pedro Alves <palves@redhat.com>
1193 Sandra Loosemore <sandra@codesourcery.com>
1194
1195 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1196 (SECONDS): Redefine.
1197 (main): Call pthread_kill and alarm early.
1198 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1199 support.
1200 (test): If the target can't hardware step and doesn't support
1201 displaced stepping, increase the timeout.
1202
d136eff5
PA
12032015-09-16 Pedro Alves <palves@redhat.com>
1204
1205 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1206 (enable_debug): New procedures.
1207 (test): Use them. Bail out if waiting for threads fails.
1208 (top level): Bail out if a test fails.
1209
991f019c
YQ
12102015-09-16 Yao Qi <yao.qi@linaro.org>
1211
1212 * gdb.asm/asm-source.exp: Set asm-arch for
1213 aarch64*-*-* target.
1214 * gdb.asm/aarch64.inc: New file.
1215
bfca584f
PMR
12162015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1217
1218 * gdb.ada/array_of_variable_length.exp: New testcase.
1219 * gdb.ada/array_of_variable_length/foo.adb: New file.
1220 * gdb.ada/array_of_variable_length/pck.adb: New file.
1221 * gdb.ada/array_of_variable_length/pck.ads: New file.
1222
b326e587
DE
12232015-09-15 Doug Evans <dje@google.com>
1224
1225 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1226 of function static local variable.
1227
5382cfab
PW
12282015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1229
1230 * gdb.threads/tls-so_extern.exp: New test file.
1231 * gdb.threads/tls-so_extern.c: New test file.
1232 * gdb.threads/tls-so_extern_main.c: New test file.
1233
141c5cc4
JK
12342015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1235
1236 * gdb.opt/solib-intra-step-lib.c: New file.
1237 * gdb.opt/solib-intra-step-main.c: New file.
1238 * gdb.opt/solib-intra-step.exp: New file.
1239
d15dcecd
PA
12402015-09-15 Pedro Alves <palves@redhat.com>
1241
1242 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1243 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1244
4c2f2a79
PA
12452015-09-14 Pedro Alves <palves@redhat.com>
1246
1247 * gdb.base/hook-stop-continue.c: Delete.
1248 * gdb.base/hook-stop-continue.exp: Delete.
1249 * gdb.base/hook-stop-frame.c: Delete.
1250 * gdb.base/hook-stop-frame.exp: Delete.
1251 * gdb.base/hook-stop.c: New file.
1252 * gdb.base/hook-stop.exp: New file.
1253
919e6dbe
PMR
12542015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1255
1256 * gdb.ada/access_to_packed_array.exp: New testcase.
1257 * gdb.ada/access_to_packed_array/foo.adb: New file.
1258 * gdb.ada/access_to_packed_array/pack.adb: New file.
1259 * gdb.ada/access_to_packed_array/pack.ads: New file.
1260
157280a4
MM
12612015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1262
1263 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1264 buffer size test.
1265
2fd33e94
DB
12662015-09-11 Don Breazeal <donb@codesourcery.com>
1267
1268 * gdb.base/foll-exec.c: Add copyright header. Fix
1269 formatting issues.
1270 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1271 (do_exec_tests): Use clean_restart in place of zap_session,
1272 and for test initialization. Fix formatting issues. Use
1273 fail in place of perror.
1274 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1275 an expect statement to match an expression with output from
1276 the program under debug.
1277 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1278 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1279 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1280 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1281 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1282
e70b6e8e
DE
12832015-09-09 Doug Evans <dje@google.com>
1284
1285 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1286
7a551a51
DE
12872015-09-09 Doug Evans <dje@google.com>
1288
1289 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1290
4c666f84
DE
12912015-09-09 Doug Evans <dje@google.com>
1292
1293 * gdb.base/savedregs.exp: Fix typo.
1294
243a9253
PA
12952015-09-09 Pedro Alves <palves@redhat.com>
1296
1297 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1298
c0fa8fbd
SL
12992015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1300
1301 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1302 command actually switches threads. Give up on remaining
1303 tests if target fails to stop at breakpoint.
1304
cd7c1778
PMR
13052015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1306
1307 * gdb.ada/funcall_char.exp: New testcase.
1308 * gdb.ada/funcall_char/foo.adb: New file.
1309
dc5c8746
PMR
13102015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1311
1312 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1313 expected outputs. Add two testcases for completing ambiguous
1314 functions.
1315 * gdb.ada/complete/aux_pck.adb: New file.
1316 * gdb.ada/complete/aux_pck.ads: New file.
1317 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1318 Ambiguous_Func functions.
1319 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1320 * gdb.ada/complete/pck.adb: Likewise.
1321
4e83a1e7
UW
13222015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1323
1324 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1325 failures to run the test program under GDB.
1326
8ce74153
LM
13272015-08-26 Luis Machado <lgustavo@codesourcery.com>
1328
1329 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1330 to C.
1331
e9756d52
PP
13322015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1333
1334 * gdb.base/run-after-attach.exp: New test file.
1335 * gdb.base/run-after-attach.c: New test file.
1336
8d37573b
DB
13372015-08-26 Don Breazeal <donb@codesourcery.com>
1338
1339 * gdb.base/foll-exec-2.c: New test program.
1340 * gdb.base/foll-exec-2.exp: New test.
1341
63e43d3a
PMR
13422015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1343
1344 * gdb.base/nested-subp1.exp: New file.
1345 * gdb.base/nested-subp1.c: New file.
1346 * gdb.base/nested-subp2.exp: New file.
1347 * gdb.base/nested-subp2.c: New file.
1348 * gdb.base/nested-subp3.exp: New file.
1349 * gdb.base/nested-subp3.c: New file.
1350
3d40fbb5
PA
13512015-08-24 Pedro Alves <palves@redhat.com>
1352
1353 * gdb.server/connect-without-multi-process.c: New file.
1354 * gdb.server/connect-without-multi-process.exp: New file.
1355
4422ac93
LM
13562015-08-24 Luis Machado <lgustavo@codesourcery.com>
1357
1358 * gdb.opt/inline-markers.c: Make z int.
1359
91dddb86
LM
13602015-08-24 Luis Machado <lgustavo@codesourcery.com>
1361
1362 * gdb.opt/inline-markers.c: Make z volatile.
1363
a48847ee
LM
13642015-08-24 Luis Machado <lgustavo@codesourcery.com>
1365
1366 * gdb.opt/inline-bt.c: New volatile global z.
1367 * gdb.opt/inline-cmds.c: Likewise.
1368 * gdb.opt/inline-locals.c: Likewise.
1369 * gdb.opt/inline-markers.c: New extern global z.
1370 (marker): Use z.
1371 (inline_fn): Likewise.
1372
0ebbc52b
PA
13732015-08-24 Pedro Alves <palves@redhat.com>
1374
1375 * config/m32r-stub.exp: Remove file.
1376 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1377 * gdb.base/call-rt-st.exp: Likewise.
1378 * gdb.base/call-strs.exp: Likewise.
1379 * gdb.base/default.exp: Remove references to h8300-*-hms and
1380 *-*-udi*.
1381 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1382
77c365df
AA
13832015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1384
1385 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1386 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1387 and "return" use KFAIL when GDB can not read/write the vector
1388 return value.
1389
4313b8c0
GB
13902015-08-21 Gary Benson <gbenson@redhat.com>
1391
1392 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1393
0e433b32
PA
13942015-08-20 Pedro Alves <palves@redhat.com>
1395
1396 * gdb.server/solib-list.exp: No longer expect an interior stop in
1397 non-stop mode.
1398
221e1a37
PA
13992015-08-20 Pedro Alves <palves@redhat.com>
1400
1401 * gdb.server/connect-stopped-target.c: New file.
1402 * gdb.server/connect-stopped-target.exp: New file.
1403
40e3ad0e
PA
14042015-08-20 Pedro Alves <palves@redhat.com>
1405
1406 * gdb.dwarf2/comp-unit-lang.exp: New file.
1407 * gdb.dwarf2/comp-unit-lang.c: New file.
1408
af39b327
PMR
14092015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1410
1411 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1412 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1413
7d45c7c3 14142015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 1415
7d45c7c3
KB
1416 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1417 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1418
4d6cceb4
DE
14192015-08-18 Doug Evans <dje@google.com>
1420 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1421
1422 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1423 skip_python_tests. New arg prompt_regexp.
1424 (skip_python_tests): New function.
1425 * lib/mi-support.exp (mi_skip_python_tests): New function.
1426 * gdb.python/py-mi-objfile-gdb.py: New file.
1427 * gdb.python/py-mi-objfile.c: New file.
1428 * gdb.python/py-mi-objfile.exp: New file.
1429
ad89c2aa
KS
14302015-08-17 Keith Seitz <keiths@redhat.com>
1431
1432 * gdb.linespec/explicit.exp: Move strace test from here ...
1433 * gdb.trace/strace.exp: ... to here.
1434
e3ae3c43
PP
14352015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1436
1437 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1438 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1439
604b2636
DE
14402015-08-14 Doug Evans <xdje42@gmail.com>
1441
1442 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
1443 inferior before selecting a new file.
1444
6ff0ba5f
DE
14452015-08-14 Doug Evans <xdje42@gmail.com>
1446
1447 * gdb.mi/mi-disassemble.exp: Update.
1448 * gdb.base/disasm-optim.S: New file.
1449 * gdb.base/disasm-optim.c: New file.
1450 * gdb.base/disasm-optim.h: New file.
1451 * gdb.base/disasm-optim.exp: New file.
1452
9ca98f92
KS
14532015-08-14 Keith Seitz <keiths@redhat.com>
1454
1455 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
1456 "evaluated-by".
1457
52bbc560
JB
14582015-08-13 Joel Brobecker <brobecker@adacore.com>
1459
1460 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
1461
5d8c3ed3
PMR
14622015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
1463
1464 * gdb.ada/fun_renaming.exp: New testcase.
1465 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
1466 * gdb.ada/fun_renaming/pack.adb: New file.
1467 * gdb.ada/fun_renaming/pack.ads: New file.
1468
ea8812bc
KS
14692015-08-12 Keith Seitz <keiths@redhat.com>
1470
1471 * gdb.base/dso2dso.exp: Pass basename of source file in call to
1472 gdb_get_line_number.
1473
4dafcdeb
JB
14742015-08-12 Joel Brobecker <brobecker@adacore.com>
1475
1476 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
1477 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
1478 gdb.base/dso2dso.exp: New files.
1479
5ba32597
SDJ
14802015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
1481 Pedro Alves <palves@redhat.com>
1482 Keith Seitz <keiths@redhat.com>
1483
1484 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
1485 GDBFLAGS.
1486
b6dafabf
PP
14872015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1488
1489 * gdb.base/gdbhistsize-history.exp
1490 (test_histsize_history_setting): Use save_vars.
1491 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1492 Use save_vars.
1493 (test_no_truncation_of_unlimited_history_file): Use save_vars.
1494 * gdb.base/readline.exp: Use save_vars.
1495
abe8e607
PP
14962015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1497
1498 * lib/gdb.exp (save_vars): New proc.
1499
629500fa
KS
15002015-08-11 Keith Seitz <keiths@redhat.com>
1501
1502 * gdb.base/help.exp: Update help_breakpoint_text.
1503
eb8c4e2e
KS
15042015-08-11 Keith Seitz <keiths@redhat.com>
1505
1506 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
1507 (at toplevel): Call test_explicit_breakpoints.
1508 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
1509 breakpoints.
1510 * lib/mi-support.exp (mi_make_breakpoint): Add support for
1511 breakpoint conditions, "-cond".
1512
87f0e720
KS
15132015-08-11 Keith Seitz <keiths@redhat.com>
1514
1515 * gdb.linespec/3explicit.c: New file.
1516 * gdb.linespec/cpexplicit.cc: New file.
1517 * gdb.linespec/cpexplicit.exp: New file.
1518 * gdb.linespec/explicit.c: New file.
1519 * gdb.linespec/explicit.exp: New file.
1520 * gdb.linespec/explicit2.c: New file.
1521 * gdb.linespec/ls-errs.exp: Add explicit location tests.
1522 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
1523 before using in the matching pattern.
1524 Clarify that `prefix' is a regular expression.
1525
f00aae0f
KS
15262015-08-11 Keith Seitz <keiths@redhat.com>
1527
1528 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
1529 test.
1530 Add tests for missing ",FMT" and ",".
1531
e27852be
DE
15322015-08-10 Doug Evans <dje@google.com>
1533 Keith Seitz <keiths@redhat.com>
1534
1535 PR gdb/17960
1536 * gdb.base/completion.exp: Add location completer tests.
1537
7f03bd92
PA
15382015-08-07 Pedro Alves <palves@redhat.com>
1539
1540 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
1541 tests here.
1542 (top level): Run do_test with and without displaced stepping.
1543
3fc8eb30
PA
15442015-08-07 Pedro Alves <palves@redhat.com>
1545
1546 * gdb.base/valgrind-disp-step.c: New file.
1547 * gdb.base/valgrind-disp-step.exp: New file.
1548
d4569d7b
PA
15492015-08-07 Pedro Alves <palves@redhat.com>
1550
1551 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
1552 Delete function.
1553 (main): Add alarm. Run an infinite loop instead of calling
1554 wait_threads.
1555 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
1556 comment.
1557 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
1558 Delete function.
1559 (main): Add alarm. Run an infinite loop instead of calling
1560 wait_threads.
1561 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
1562 comment.
1563
e1316e60
PA
15642015-08-07 Pedro Alves <palves@redhat.com>
1565
1566 * gdb.base/checkpoint-ns.exp: New file.
1567 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
1568 standard_testfile.
1569
da8c46d2
MM
15702015-08-07 Markus Metzger <markus.t.metzger@intel.com>
1571
1572 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
1573 * gdb.btrace/instruction_history.exp: Update.
1574 * gdb.btrace/tsx.exp: New.
1575 * gdb.btrace/tsx.c: New.
1576
de1c2c52
PA
15772015-08-06 Pedro Alves <palves@redhat.com>
1578
1579 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
1580 increase timeout.
1581 * gdb.reverse/until-precsave.exp: Bump timeouts.
1582
782e0bf4
PA
15832015-08-06 Pedro Alves <palves@redhat.com>
1584
1585 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
1586
83e97ed0
PA
15872015-08-06 Pedro Alves <palves@redhat.com>
1588
1589 PR gdb/18749
1590 * gdb.threads/process-dies-while-handling-bp.c: New file.
1591 * gdb.threads/process-dies-while-handling-bp.exp: New file.
1592
863d01bd
PA
15932015-08-06 Pedro Alves <palves@redhat.com>
1594
1595 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
1596 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
1597
0a39bb32
PA
15982015-08-05 Pedro Alves <palves@redhat.com>
1599
1600 * gdb.threads/next-while-other-thread-longjmps.c: New file.
1601 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
1602
ee2d2b10
SL
16032015-08-03 Sandra Loosemore <sandra@codesourcery.com>
1604
1605 * gdb.base/bp-permanent.exp: Report test as unsupported if
1606 the target cannot stop at the permanent breakpoint.
1607
4e1bdb00
DE
16082015-08-03 Doug Evans <dje@google.com>
1609
1610 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
1611 10000.
1612
3d338901
DE
16132015-08-03 Doug Evans <dje@google.com>
1614
1615 * Makefile.in (workers/%.worker, build-perf): New rule.
1616 (GDB_PERFTEST_MODE): New variable.
1617 (check-perf): Use it.
1618 (clean): Clean up gdb.perf parallel build subdirs.
1619 * lib/build-piece.exp: New file.
1620 * lib/gdb.exp (make_gdb_parallel_path): New function
1621 (standard_output_file, standard_temp_file): Call it.
1622 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1623 of $GDB_PARALLEL.
1624 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
1625
af061d3e
DE
16262015-08-03 Doug Evans <dje@google.com>
1627
8e1afc81 1628 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
1629 (LOG_FILE_NAME): New global.
1630 (TextReporter.__init__): Initialize self.txt_sum.
1631 (TextReporter.report): Add support for multiple data-points.
1632 Move report to perftest.sum, put raw data in perftest.log.
1633 (TextReporter.start): Open sum and log files.
1634 (TextReporter.end): Close sum and log files.
8e1afc81
DE
1635 * gdb.perf/lib/perftest/testresult.py
1636 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 1637
2c8c5d37
PA
16382015-07-31 Pedro Alves <palves@redhat.com>
1639
1640 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
1641 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1642 kill_wait_spawned_process instead of explicit "kill -9".
1643 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
1644 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1645 kill_wait_spawned_process.
1646 * gdb.base/attach-twice.exp: Likewise.
1647 * gdb.base/attach.exp: Likewise.
1648 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
1649 gdb_test_multiple.
1650 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
1651 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1652 kill_wait_spawned_process.
1653 * gdb.base/valgrind-infcall.exp: Likewise.
1654 * gdb.multi/multi-attach.exp: Likewise.
1655 * gdb.python/py-prompt.exp: Likewise.
1656 * gdb.python/py-sync-interp.exp: Likewise.
1657 * gdb.server/ext-attach.exp: Likewise.
1658 * gdb.threads/attach-into-signal.exp (corefunc): Use
1659 spawn_wait_for_attach, spawn_id_get_pid and
1660 kill_wait_spawned_process.
1661 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
1662 spawn_wait_for_attach returning a spawn id instead of a pid. Use
1663 spawn_id_get_pid and kill_wait_spawned_process.
1664 * gdb.threads/attach-stopped.exp (corefunc): Use
1665 spawn_wait_for_attach, spawn_id_get_pid and
1666 kill_wait_spawned_process.
1667 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
1668 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1669 kill_wait_spawned_process instead of explicit "kill -9".
1670 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
1671 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
1672 (spawn_wait_for_attach): Use spawn instead of exec to spawn
1673 processes. Don't map cygwin/windows pids here. Now returns a
1674 spawn id list.
1675
032a0fca
SL
16762015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1677
1678 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
1679 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
1680 correct patch.
1681
61a934ca
SL
16822015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1683
1684 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
1685
4bc4d428
SL
16862015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1687
1688 Reapply:
1689 2014-05-21 Mark Wielaard <mjw@redhat.com>
1690
1691 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1692
998d452a
PA
16932015-07-30 Pedro Alves <palves@redhat.com>
1694
1695 * linux-low.c (handle_extended_wait): Set the child's last
1696 reported status to TARGET_WAITKIND_STOPPED.
1697
69dde7dc
PA
16982015-07-30 Pedro Alves <palves@redhat.com>
1699
1700 PR threads/18600
1701 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
1702 only shows inferior 1.
1703
4dd63d48
PA
17042015-07-30 Simon Marchi <simon.marchi@ericsson.com>
1705 Pedro Alves <palves@redhat.com>
1706
1707 PR threads/18600
1708 * gdb.threads/fork-plus-threads.c: New file.
1709 * gdb.threads/fork-plus-threads.exp: New file.
1710
d618e4c5
PP
17112015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1712
1713 * gdb.base/batch-preserve-term-settings.exp
1714 (test_terminal_settings_preserved_after_cli_exit): Use
1715 send_quit_command.
1716
1eef6428
PA
17172015-07-29 Pedro Alves <palves@redhat.com>
1718 Don Breazeal <donb@codesourcery.com>
1719
1720 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
1721 output from both inferior_spawn_id and gdb_spawn_id.
1722
7da5b897
SDJ
17232015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1724
1725 * gdb.threads/attach-into-signal.exp (corefunc): Use
1726 with_test_prefix on nested loops, uniquefying the test messages.
1727
dac804df
SDJ
17282015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1729
1730 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
1731 commit.
1732
06265e53
PP
17332015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1734
1735 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
1736 New proc.
1737 (test_terminal_settings_preserved_after_sigterm): New test.
1738
18206ca3
PP
17392015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1740
1741 * gdb.base/batch-preserve-term-settings.exp
1742 (test_terminal_settings_preserved_after_cli_exit): New test.
1743
90074d11
PP
17442015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1745
1746 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
1747 manipulation of saved_gdbflags.
1748 (test_terminal_settings_preserved): Remove global declaration of
1749 the unused variable pagination_prompt. Remove manipulation of
1750 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
1751 GDBFLAGS.
1752
eb1a7902
PA
17532015-07-29 Pedro Alves <palves@redhat.com>
1754
1755 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
1756
8b75dd3b
PA
17572015-07-29 Pedro Alves <palves@redhat.com>
1758
1759 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
1760 at the top.
1761
dedad4e3
PA
17622015-07-29 Pedro Alves <palves@redhat.com>
1763
1764 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
1765 (main): Call gdb_unbuffer_output.
1766 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
1767 (main): Call gdb_unbuffer_output.
1768 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
1769 (main): Call gdb_unbuffer_output.
1770 * gdb.base/call-strs.exp: Adjust to step over the
1771 gdb_unbuffer_output call.
1772 * gdb.base/catch-gdb-caused-signals.c: Include
1773 "../lib/unbuffer_output.c".
1774 (main): Call gdb_unbuffer_output.
1775 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
1776 (main): Call gdb_unbuffer_output.
1777 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
1778 (main): Call gdb_unbuffer_output.
1779 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
1780 (main): Call gdb_unbuffer_output.
1781 * gdb.base/shlib-call.exp: Adjust to step over the
1782 gdb_unbuffer_output call.
1783 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
1784 (main): Call gdb_unbuffer_output.
1785 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
1786 (main): Call gdb_unbuffer_output.
1787 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
1788 (main): Rename to ...
1789 (test): ... this.
1790 (main): Reimplement.
1791 * gdb.base/varargs.exp: Run to test instead of to main.
1792 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
1793 (main): Call gdb_unbuffer_output.
1794
58789a91
PA
17952015-07-29 Pedro Alves <palves@redhat.com>
1796
1797 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
1798 factore out from mi_continue_dprintf. For call-style dprintfs,
1799 expect dprintf output out of $inferior_spawn_id.
1800 (mi_continue_dprintf): Use mi_expect_dprintf.
1801 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
1802 (main): Call gdb_unbuffer_output.
1803
e8376742
PA
18042015-07-29 Pedro Alves <palves@redhat.com>
1805
1806 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
1807 (default_mi_gdb_start): Set inferior_spawn_id instead of
1808 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
1809 gdb_spawn_id.
1810 (mi_gdb_test): Always expect inferior output from both
1811 $inferior_spawn_id and $gdb_spawn_id.
1812
08280010
PA
18132015-07-29 Pedro Alves <palves@redhat.com>
1814
1815 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
1816 send_inferior and $inferior_spawn_id.
1817
4d30e432
PA
18182015-07-29 Pedro Alves <palves@redhat.com>
1819
1820 * gdb.gdb/complaints.exp (test_initial_complaints)
1821 (test_serial_complaints, test_short_complaints): Use
1822 gdb_test_stdio.
1823 (test_empty_complaint): Handle $inferior_spawn_id !=
1824 $gdb_spawn_id.
1825
0d30a335
PA
18262015-07-29 Pedro Alves <palves@redhat.com>
1827
1828 * gdb.base/varargs.exp: Use gdb_test_stdio.
1829
39413b29
PA
18302015-07-29 Pedro Alves <palves@redhat.com>
1831
1832 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
1833
7cb000a9
PA
18342015-07-29 Pedro Alves <palves@redhat.com>
1835
1836 * gdb.base/ending-run.exp: Use gdb_test_stdio.
1837
d7b8ac82
PA
18382015-07-29 Pedro Alves <palves@redhat.com>
1839
1840 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
1841 parameter into two new parameters, "inf_result" and "gdb_result".
1842 Expect inferior output and gdb output from $inferior_spawn_id and
1843 $gdb_spawn_id, respectively. Adjust all callers.
1844
789c3a0c
PA
18452015-07-29 Pedro Alves <palves@redhat.com>
1846
1847 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
1848 of gdb_test_sequence.
1849
77e760c3
PA
18502015-07-29 Pedro Alves <palves@redhat.com>
1851
1852 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
1853 (saw_spurious_output): Expect inferior output from
1854 $inferior_spawn_id. Use gdb_test_stdio.
1855
8396d2cd
PA
18562015-07-29 Pedro Alves <palves@redhat.com>
1857
1858 * gdb.base/dprintf.exp: Use standard_testfile. Change
1859 prepare_for_testing call.
1860 (srcfile): Don't set.
1861 (restart): New procedure.
1862 (test_dprintf): New procecure, use to continue over dprintfs.
1863 (test_call, test_agent): New procedures, tests moved here.
1864 Restart gdb and recreate dprintfs. Adjust expected output.
1865
2051d61f
PA
18662015-07-29 Pedro Alves <palves@redhat.com>
1867
1868 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
1869
452397af
PA
18702015-07-29 Pedro Alves <palves@redhat.com>
1871
1872 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
1873
8aed9555
PA
18742015-07-29 Pedro Alves <palves@redhat.com>
1875
1876 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
1877 gdb_test_stdio.
1878
188a61b4
PA
18792015-07-29 Pedro Alves <palves@redhat.com>
1880
1881 * lib/gdb.exp (gdb_test_stdio): New procedure.
1882
12264a45
PA
18832015-07-29 Pedro Alves <palves@redhat.com>
1884
1885 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
1886
23ffc893
PA
18872015-07-29 Pedro Alves <palves@redhat.com>
1888
1889 * gdb.base/call-signal-resume.exp: Remove check for
1890 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
1891 * gdb.base/unwindonsignal.exp: Likewise.
1892 * gdb.base/call-signals.c (gen_signal): Remove printf call.
1893 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
1894
65566918
PA
18952015-07-29 Pedro Alves <palves@redhat.com>
1896
1897 * gdb.base/siginfo-addr.c (pass): New function.
1898 (handler): Call it iff si_addr is correct.
1899 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
1900 Set a breakpoint at "pass" and continue to it.
1901
d60a9221
SDJ
19022015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
1903
1904 * gdb.python/py-objfile.exp: Make some tests have unique names.
1905 * gdb.python/py-pp-registration.exp: Likewise.
1906
bde40b8f
PA
19072015-07-28 Pedro Alves <palves@redhat.com>
1908
1909 * gdb.server/server-exec-info.exp: Issue a "disconnect".
1910
13e1dec8
SM
19112015-07-27 Simon Marchi <simon.marchi@ericsson.com>
1912
1913 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
1914
da33c9a7
SM
19152015-07-27 Simon Marchi <simon.marchi@ericsson.com>
1916
1917 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
1918
077836f7
PP
19192015-07-27 Patrick Palka <patrick@parcs.ath.cx>
1920
1921 * gdb.base/gdb-sigterm-2.exp: New test.
1922
b8cc7b2e
DE
19232015-07-25 Doug Evans <xdje42@gmail.com>
1924
1925 Revert:
1926 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
1927 (workers/%.worker, build-perf): New rule.
1928 (GDB_PERFTEST_MODE): New variable.
1929 (check-perf): Use it.
1930 (clean): Clean up gdb.perf parallel build subdirs.
1931 * lib/build-piece.exp: New file.
1932 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
1933 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
1934 name.
1935 (standard_temp_file): Ditto.
1936 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1937 of $GDB_PARALLEL.
1938
c8bd4544
DE
19392015-07-24 Doug Evans <dje@google.com>
1940
1941 * gdb.perf/lib/perftest/utils.py: New file.
1942 * gdb.perf/gm-hello.cc: New file.
1943 * gdb.perf/gm-pervasive-typedef.cc: New file.
1944 * gdb.perf/gm-pervasive-typedef.h: New file.
1945 * gdb.perf/gm-std.cc: New file.
1946 * gdb.perf/gm-std.h: New file.
1947 * gdb.perf/gm-use-cerr.cc: New file.
1948 * gdb.perf/gm-utils.h: New file.
1949 * gdb.perf/gmonster-null-lookup.py: New file.
1950 * gdb.perf/gmonster-pervasive-typedef.py: New file.
1951 * gdb.perf/gmonster-print-cerr.py: New file.
1952 * gdb.perf/gmonster-ptype-string.py: New file.
1953 * gdb.perf/gmonster-runto-main.py: New file.
1954 * gdb.perf/gmonster-select-file.py: New file.
1955 * gdb.perf/gmonster1-null-lookup.exp: New file.
1956 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
1957 * gdb.perf/gmonster1-print-cerr.exp: New file.
1958 * gdb.perf/gmonster1-ptype-string.exp: New file.
1959 * gdb.perf/gmonster1-runto-main.exp: New file.
1960 * gdb.perf/gmonster1-select-file.exp: New file.
1961 * gdb.perf/gmonster1.cc: New file.
1962 * gdb.perf/gmonster1.exp: New file.
1963 * gdb.perf/gmonster2-null-lookup.exp: New file.
1964 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
1965 * gdb.perf/gmonster2-print-cerr.exp: New file.
1966 * gdb.perf/gmonster2-ptype-string.exp: New file.
1967 * gdb.perf/gmonster2-runto-main.exp: New file.
1968 * gdb.perf/gmonster2-select-file.exp: New file.
1969 * gdb.perf/gmonster2.cc: New file.
1970 * gdb.perf/gmonster2.exp: New file.
1971
6eab34f3
DE
19722015-07-24 Doug Evans <dje@google.com>
1973
1974 * gdb.perf/README: New file.
1975 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
1976 * lib/gen-perf-test.exp: New file.
1977
63738bfd
DE
19782015-07-24 Doug Evans <dje@google.com>
1979
1980 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
1981 (PerfTest::startup): New function.
1982 (PerfTest::run): Return result of calling body.
1983 (PerfTest::assemble): Rewrite.
1984 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
1985 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
1986 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
1987 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
1988 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
1989
7b606f95
DE
19902015-07-24 Doug Evans <dje@google.com>
1991
1992 * lib/gdb.exp (clean_restart): Make executable optional.
1993
a97b16b8
DE
19942015-07-24 Doug Evans <dje@google.com>
1995
1996 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
1997 compiler_info references.
1998 * gdb.cp/temargs.exp: Ditto.
1999 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2000 (get_compiler_info): Early exit if already computed. Set compiler_info
2001 to "unknown" if there was a problem.
2002 (test_compiler_info): Add function comment. Call get_compiler_info.
2003
35baa57f
DE
20042015-07-24 Doug Evans <dje@google.com>
2005
2006 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2007 (workers/%.worker, build-perf): New rule.
2008 (GDB_PERFTEST_MODE): New variable.
2009 (check-perf): Use it.
2010 (clean): Clean up gdb.perf parallel build subdirs.
2011 * lib/build-piece.exp: New file.
2012 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2013 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2014 name.
2015 (standard_temp_file): Ditto.
2016 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2017 of $GDB_PARALLEL.
2018
6ebea266
DE
20192015-07-24 Doug Evans <dje@google.com>
2020
2021 * lib/future.exp (gdb_default_target_compile): New option
2022 "early_flags".
2023 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2024 --as-needed.
2025
1e76a7e9
SDJ
20262015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2027
2028 * gdb.base/catch-syscall.exp: Call gdb_exit before
2029 gdb_skip_xml_test.
2030
5068630a
PA
20312015-07-24 Pedro Alves <palves@redhat.com>
2032
2033 * gdb.python/py-events.exp: Accept output between the stop event
2034 and the prompt.
2035 * gdb.python/py-evsignal.exp: Likewise.
2036 * gdb.python/py-evthreads.exp: Likewise.
2037
77598427
PA
20382015-07-24 Pedro Alves <palves@redhat.com>
2039
2040 PR gdb/18717
2041 * gdb.threads/non-ldr-exit.c: New file.
2042 * gdb.threads/non-ldr-exit.exp: New file.
2043
11e6c98f
YQ
20442015-07-24 Yao Qi <yao.qi@linaro.org>
2045
2046 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2047 restarting process.
2048
51aee833
YQ
20492015-07-24 Yao Qi <yao.qi@linaro.org>
2050
2051 * gdb.server/ext-restart.exp: New file.
2052
8cfe207c
YQ
20532015-07-24 Yao Qi <yao.qi@linaro.org>
2054
2055 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2056 argument options.
2057 * gdb.server/ext-wrapper.exp: New file.
2058
cc12ce38
DE
20592015-07-23 Doug Evans <dje@google.com>
2060
2061 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2062 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2063
d0d84780
PMR
20642015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2065
2066 * gdb.ada/var_arr_typedef.exp: New testcase.
2067 * gdb.ada/var_arr_typedef/pack.adb: New file.
2068 * gdb.ada/var_arr_typedef/pack.ads: New file.
2069 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2070
8b558f79
JB
20712015-07-20 Joel Brobecker <brobecker@adacore.com>
2072
2073 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2074
775a3298
JK
20752015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2076
2077 * gdb.arch/i386-biarch-core.exp: Replace istarget
2078 by "complete set gnutarget". Remove expectation for the "core-file"
2079 command.
2080
db1ff28b
JK
20812015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2082
2083 Revert the previous commit:
2084 Tests for validate symbol file using build-id.
2085
0a94970d
JK
20862015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2087
2088 Tests for validate symbol file using build-id.
2089 * gdb.base/solib-mismatch-lib.c: New file.
2090 * gdb.base/solib-mismatch-libmod.c: New file.
2091 * gdb.base/solib-mismatch.c: New file.
2092 * gdb.base/solib-mismatch.exp: New file.
2093
03346981
SL
20942015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2095
2096 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2097 nios2-*-linux*.
2098 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2099 * gdb.base/siginfo.exp: Likewise.
2100 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2101
42422cc7
PL
21022015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2103
2104 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2105 Move it to ...
2106 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2107 ... here.
2108 * gdb.trace/range-stepping.exp: Check that the target supports
2109 range stepping.
2110
cfa68bae
JK
21112015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2112
2113 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2114
8ffdba26
PA
21152015-07-14 Pedro Alves <palves@redhat.com>
2116
2117 * gdb.base/killed-outside.exp: New file.
2118 * gdb.base/killed-outside.c: New file.
2119
218a5a11
JK
21202015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2121
2122 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2123 (n at main): New.
2124 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2125
e03ed3c6
AA
21262015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2127
2128 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2129 infcall tests instead of setting up for KFAIL.
2130
485668e5
MM
21312015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2132
2133 * gdb.btrace/record_goto-step.exp: New.
2134
08464196
JK
21352015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2136
2137 PR compile/18484
2138 * gdb.compile/compile.c (struct struct_type): Add volatile to
2139 selffield's type.
2140 * gdb.compile/compile.exp
2141 (compile code struct_object.selffield = &struct_object): Skip further
2142 struct_object tests if this one xfails.
2143
bcf5c1d9
RC
21442015-07-08 Robert O'Callahan <robert@ocallahan.org>
2145
2146 PR exp/18617
2147 * gdb.trace/ax.exp: Add test.
2148
4931af25
YQ
21492015-07-07 Yao Qi <yao.qi@linaro.org>
2150
2151 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2152 instead of istarget "aarch64*-*-*".
2153 * gdb.arch/aarch64-fp.exp: Likewise.
2154 * gdb.base/float.exp: Likewise.
2155 * gdb.reverse/aarch64.exp: Likewise.
2156 * lib/gdb.exp (is_aarch64_target): New proc.
2157
9fcf688e
YQ
21582015-07-07 Yao Qi <yao.qi@linaro.org>
2159
2160 * lib/gdb.exp (is_aarch32_target): New proc.
2161 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2162 instead of "istarget "arm*-*-*"".
2163 * gdb.arch/arm-disp-step.exp: Likewise.
2164 * gdb.arch/thumb-bx-pc.exp: Likewise.
2165 * gdb.arch/thumb-prologue.exp: Likewise.
2166 * gdb.arch/thumb-singlestep.exp: Likewise.
2167 * gdb.base/disp-step-syscall.exp: Likewise.
2168 * gdb.base/float.exp: Likewise.
2169
fbd8d50d
YQ
21702015-07-07 Yao Qi <yao.qi@linaro.org>
2171
2172 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2173 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2174
71be1fdc
YQ
21752015-07-07 Yao Qi <yao.qi@linaro.org>
2176
2177 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2178 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2179 if it exists.
2180 * gdb.multi/multi-arch.exp: Likewise.
2181
3e221d36
SM
21822015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2183
2184 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2185 print.
2186
d441430b
YQ
21872015-07-07 Yao Qi <yao.qi@linaro.org>
2188
2189 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2190
06f810bd
MG
21912015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2192
2193 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2194 '[' and ']' characters.
2195
5e61e7c0
IB
21962015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2197
2198 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2199
28bf096c
PA
22002015-06-29 Pedro Alves <palves@redhat.com>
2201
2202 PR threads/18127
2203 * gdb.threads/hand-call-new-thread.c: New file.
2204 * gdb.threads/hand-call-new-thread.c: New file.
2205
ee93cd5e
KS
22062015-06-26 Keith Seitz <keiths@redhat.com>
2207 Doug Evans <dje@google.com>
2208
2209 PR 16253
2210 * gdb.cp/var-tag-2.cc: New file.
2211 * gdb.cp/var-tag-3.cc: New file.
2212 * gdb.cp/var-tag-4.cc: New file.
2213 * gdb.cp/var-tag.cc: New file.
2214 * gdb.cp/var-tag.exp: New file.
2215
fc637f04
PP
22162015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2217
2218 * gdb.base/history-duplicates.exp: New test.
2219
2e52ae68
PP
22202015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2221
2222 * gdb.base/completion.exp: Test the completion of the "focus"
2223 command.
2224
6e22494e
JK
22252015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2226
2227 * gdb.arch/amd64-prologue-skip.S: New file.
2228 * gdb.arch/amd64-prologue-skip.exp: New file.
2229
bf7b9cd9
SM
22302015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2231
2232 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2233 is_address_zero_readable check.
2234
201e8dfd
PB
22352015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2236
2237 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2238 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2239
5cd867b4
YQ
22402015-06-24 Yao Qi <yao.qi@linaro.org>
2241
2242 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2243 linux targets.
2244
4d7be007
YQ
22452015-06-24 Yao Qi <yao.qi@linaro.org>
2246
2247 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2248 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2249 * gdb.base/siginfo-thread.exp: Likewise.
2250
07fcd301
YQ
22512015-06-22 Yao Qi <yao.qi@linaro.org>
2252
2253 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2254
52042a00
YQ
22552015-06-22 Yao Qi <yao.qi@linaro.org>
2256
2257 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2258 aarch64*-*-*.
2259 (skip_hw_watchpoint_tests): Likewise.
2260
74bd41ce
PP
22612015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2262
2263 * gdb.base/gdbinit-history.exp: Test the interaction between
2264 setting GDBHISTSIZE and setting the history size via .gdbinit.
2265
bc460514
PP
22662015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2267
2268 PR gdb/16999
2269 * gdb.base/gdbhistsize-history.exp: New test.
2270
b58c513b
PP
22712015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2272
2273 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2274 with GDBHISTSIZE.
2275 * gdb.base/readline.exp: Likewise.
2276
92046791
YQ
22772015-06-17 Yao Qi <yao.qi@linaro.org>
2278
2279 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2280 line.
2281
2093d2d3
PP
22822015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2283
2284 * gdb.base/gdbinit-history.exp: Add test case to check that
2285 an unlimited history file does not get truncated on exit.
2286
e6c693af
AA
22872015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2288
2289 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2290 (VECTOR): New macro. Use it...
2291 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2292 ...for these typedefs.
2293 (int8, char1, int1, double1): New typedefs.
2294 (struct just_int2, struct two_int2): New structures.
2295 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2296 (add_structvecs, add_singlevecs): New functions.
2297 (main): Call add_some_intvecs twice.
2298 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2299 the compile and exit upon failure. Try compiling for the "native"
2300 architecture. Test inferior function calls with vector arguments
2301 and vector return value handling with "finish" and "return".
2302
c74f7d1c
JT
23032015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2304
2305 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2306 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2307 PE file.
2308 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2309
98aa42ee
AT
23102015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2311
2312 PR breakpoints/16465
2313 * gdb.mi/mi-dprintf-pending.c: New file.
2314 * gdb.mi/mi-dprintf-pending.exp: New test.
2315 * gdb.mi/mi-dprintf-pendshr.c: New file.
2316
7d73c23c 23172015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 2318 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
2319
2320 * gdb.arch/i386-mpx-map.c: New file.
2321 * gdb.arch/i386-mpx-map.exp: New File.
2322
23232015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2324
2325 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2326 * gdb.arch/i386-mpx.exp: Indentation fixed.
2327
23282015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2329
2330 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2331 function and improved indentation.
2332 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2333 gdb_test_multiple. Added additional tests to skip the test.
2334
23352015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2336
2337 * gdb.arch/i386-avx512.c: Change path in include file.
2338 * gdb.arch/i386-avx512.exp: Change include dir path
2339 compilation flag.
2340 * gdb.arch/i386-mpx.c: Change path in include file.
2341 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2342 flag.
2343
d5eba19a
JK
23442015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2345
2346 * gdb.compile/compile-print.exp (compile print *vararray@3)
2347 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2348
7f361056
JK
23492015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2350
2351 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2352 (do not keep jit in memory): ... this.
2353 (expect 5): Change it to ...
2354 (expect no 5): ... this.
2355
3b462ec2
SM
23562015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2357
2358 PR gdb/15564
2359 * gdb.mi/mi-detach.exp: New file.
2360
e0619de6
JK
23612015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2362
2363 PR symtab/18392
2364 * gdb.arch/amd64-tailcall-self.S: New file.
2365 * gdb.arch/amd64-tailcall-self.c: New file.
2366 * gdb.arch/amd64-tailcall-self.exp: New file.
2367
e970cb34
DB
23682015-05-28 Don Breazeal <donb@codesourcery.com>
2369
2370 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2371 tests for remote targets by checking is_target_gdbserver.
2372
b2e2f908
DE
23732015-05-27 Doug Evans <dje@google.com>
2374
2375 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2376 * gdb.dwarf2/opaque-type-lookup.c: New file.
2377 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2378
82c7be31
DE
23792015-05-26 Doug Evans <dje@google.com>
2380
2381 * gdb.cp/iostream.cc: New file.
2382 * gdb.cp/iostream.exp: New file.
2383
b4f54984
DE
23842015-05-26 Doug Evans <dje@google.com>
2385
2386 * gdb.dwarf2/dw2-op-call.exp: Update.
2387 * gdb.dwarf2/dw4-sig-types.exp: Update.
2388 * gdb.dwarf2/implptr.exp: Update.
2389 * gdb.mi/mi-cmd-param-changed.exp: Update.
2390
4ea6efe9
DE
23912015-05-26 Doug Evans <dje@google.com>
2392
2393 * gdb.python/py-lazy-string.c: New file.
2394 * gdb.python/py-lazy-string.exp: New file.
2395 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2396 (main): Update. Add estring3.
2397 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2398 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2399
f6bb7db3
YQ
24002015-05-26 Omair Javaid <omair.javaid@linaro.org>
2401 Yao Qi <yao.qi@linaro.org>
2402
2403 * gdb.reverse/aarch64.c: New.
2404 * gdb.reverse/aarch64.exp: New.
2405
a81bfbd0
OJ
24062015-05-26 Omair Javaid <omair.javaid@linaro.org>
2407
2408 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2409 (supports_reverse): Likewise.
2410
158bf1b4
PP
24112015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2412
2413 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2414 Use with_test_prefix.
2415
a0145030
AB
24162015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2417
2418 * gdb.base/completion.exp: Add test for completion of layout
2419 names.
2420
ebe3b578
AB
24212015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2422
2423 * lib/gdb.exp (skip_tui_tests): New proc.
2424 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2425
84204ed7
PA
24262015-05-19 Pedro Alves <palves@redhat.com>
2427
2428 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2429 Save the whole env array instead of just HOME. Unset HISTSIZE in
2430 the environment while testing. Restore whole environment
2431 afterwards.
2432
37442ce1
DE
24332015-05-16 Doug Evans <xdje42@gmail.com>
2434
2435 * gdb.guile/scm-ports.c: New file.
2436 * gdb.guile/scm-ports.exp: Add memory port tests.
2437
36de76f9
JK
24382015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2439
2440 * gdb.compile/compile-print.c: New file.
2441 * gdb.compile/compile-print.exp: New file.
2442
3a9558c4
JK
24432015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2444
2445 * gdb.compile/compile-ops.exp: Cast param to void.
2446 * gdb.compile/compile.exp: Complete type for _gdb_expr.
2447 (compile code struct_object.selffield = &struct_object): Add xfail.
2448
aa715135
JG
24492015-05-15 Joel Brobecker <brobecker@adacore.com>
2450
2451 * gdb.ada/arr_enum_with_gap: New testcase.
2452
931e5bc3
JG
24532015-05-15 Joel Brobecker <brobecker@adacore.com>
2454
2455 * gdb.ada/byte_packed_arr: New testcase.
2456
9cd4d857
JB
24572015-05-15 Joel Brobecker <brobecker@adacore.com>
2458
2459 * gdb.ada/pckd_neg: New testcase.
2460
ebfd00d2
PP
24612015-05-13 Patrick Palka <patrick@parcs.ath.cx>
2462
2463 PR gdb/17820
2464 * gdb.base/gdbinit-history.exp: New test.
2465 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
2466 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
2467
4c082a81
SC
24682015-05-09 Siva Chandra Reddy <sivachandra@google.com>
2469
2470 * gdb.python/py-xmethods.cc: Enhance test case.
2471 * gdb.python/py-xmethods.exp: New tests.
2472 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
2473 function.
2474 (B_indexoper): Likewise.
2475 (global_dm_list) : Add new xmethod worker functions.
2476
f7797074
SDJ
24772015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
2478
2479 * gdb.base/coredump-filter.exp: Correctly unset
2480 "coredump_var_addr" array.
2481
a4674e4e
PA
24822015-05-08 Pedro Alves <palves@redhat.com>
2483
2484 * gdb.server/non-existing-program.exp: Unset spawn_id.
2485
df2eb078
SC
24862015-05-08 Siva Chandra Reddy <sivachandra@google.com>
2487
2488 PR python/18291
2489 * gdb.python/py-xmethods.exp: Add tests.
2490
422349a3
YQ
24912015-05-08 Yao Qi <yao.qi@linaro.org>
2492
2493 PR gdb/18208
2494 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
2495 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
2496 function set_coredump_filter, and remove remote_exec call.
2497 Remove argument ipid. Callers update.
2498 (top level): Don't get inferior's PID.
2499
63fc80ce
AA
25002015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
2501
2502 * gdb.base/watch_thread_num.exp: Skip test on targets without
2503 access watchpoints.
2504
80ad801e
PA
25052015-05-06 Pedro Alves <palves@redhat.com>
2506
2507 PR server/18081
2508 * gdb.server/non-existing-program.exp: New file.
2509
0fa7fe50
JB
25102015-05-05 Joel Brobecker <brobecker@adacore.com>
2511
2512 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
2513
3ea89b92
PMR
25142015-05-05 Joel Brobecker <brobecker@adacore.com>
2515
2516 * gdb.ada/out_of_line_in_inlined: New testcase.
2517
87b8eff0
JB
25182015-05-05 Joel Brobecker <brobecker@adacore.com>
2519
2520 * gdb.ada/var_rec_arr: New testcase.
2521
5fccc635
YQ
25222015-04-30 Yao Qi <yao.qi@linaro.org>
2523
2524 * gdb.base/break-idempotent.exp: If
2525 skip_hw_watchpoint_multi_tests returns true, skip the tests
2526 on "rwatch" and "awatch".
2527
42d38f42
YQ
25282015-04-30 Yao Qi <yao.qi@linaro.org>
2529
2530 * gdb.base/relativedebug.exp: Invoke gdb command
2531 "info sharedlibrary", and if libc.so doesn't have debug info,
2532 skip the test.
2533
2ce1cdbf
DE
25342015-04-29 Doug Evans <dje@google.com>
2535
2536 * gdb.python/py-xmethods.exp: Add ptype tests.
2537 * gdb.python/py-xmethods.py (E_method_char_worker): Add
2538 get_result_type method.
2539
f24a38c5
LM
25402015-04-29 Luis Machado <lgustavo@codesourcery.com>
2541
2542 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
2543 the target does not support hardware watchpoints.
2544
ecbf2b3c
LM
25452015-04-29 Luis Machado <lgustavo@codesourcery.com>
2546
2547 * gdb.base/break-always.exp: Abort testing if writing to memory
2548 causes an error.
2549
34f5f757
DE
25502015-04-28 Doug Evans <dje@google.com>
2551
2552 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
2553 * gdb.python/py-pp-registration.exp: ... here. New file.
2554 * gdb.python/py-pp-registration.c: New file.
2555 * gdb.python/py-pp-registration.py: New file.
2556
69b4374a
DE
25572015-04-28 Doug Evans <dje@google.com>
2558
2559 * gdb.python/py-bad-printers.c: New file.
2560 * gdb.python/py-bad-printers.py: New file.
2561 * gdb.python/py-bad-printers.exp: New file.
2562
59fb7612
SS
25632015-04-28 Sasha Smundak <asmundak@google.com>
2564
2565 * gdb.python/py-type.exp: New test.
2566
2631b16a
AW
25672015-04-28 Andy Wingo <wingo@igalia.com>
2568
2569 * gdb.python/py-parameter.exp:
2570 * gdb.guile/scm-parameter.exp: Escape the path that we are
2571 matching against, as it might contain characters that are special
2572 to regular expressions.
2573
460efde1
JB
25742015-04-27 Joel Brobecker <brobecker@adacore.com>
2575
2576 * gdb.ada/rec_comp: New testcase.
2577
2d369d8e
SDJ
25782015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
2579
2580 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
2581 before using it.
2582
cf75d6c3
AB
25832015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
2584
2585 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
2586 new tests for verilog output.
2587
8dbe7ca5
YQ
25882015-04-24 Yao Qi <yao.qi@linaro.org>
2589
2590 * boards/remote-gdbserver-on-localhost.exp: New file.
2591
4ef9fb2f
PA
25922015-04-23 Pedro Alves <palves@redhat.com>
2593
2594 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
2595 $inferior_spawn_id instead of $inferior_spawn_id directly. On
2596 "end of file", remove $inferior_spawn_id from the indirect list.
2597
0a803169
PA
25982015-04-23 Pedro Alves <palves@redhat.com>
2599
2600 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
2601
749ef8f8
PA
26022015-04-23 Pedro Alves <palves@redhat.com>
2603
2604 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
2605 on $any_spawn_id instead of only on $gdb_spawn_id.
2606
8aae4344
PM
26072015-04-21 Pierre Muller <muller@sourceware.org>
2608
2609 PR pascal/17815
2610 * lib/pascal.exp (gpc_compile): Add new option "class".
2611 (fpc_compile): Likewise.
2612 * gdb.pascal/case-insensitive-symbols.pas: New file.
2613 * gdb.pascal/case-insensitive-symbols.exp: New file.
2614
1586c8fb
GB
26152015-04-20 Gary Benson <gbenson@redhat.com>
2616
2617 * gdb.base/attach.exp: Fix three extended remote failures.
2618
1b6e6f5c
GB
26192015-04-17 Gary Benson <gbenson@redhat.com>
2620
2621 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
2622 the main executable over the remote protocol.
2623
e797481d
PA
26242015-04-16 Pedro Alves <palves@redhat.com>
2625
2626 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
2627 a new gdbserver if gdbserver_reconnect_p is set.
2628
1ca99c42
PA
26292015-04-16 Pedro Alves <palves@redhat.com>
2630
2631 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
2632 is set, don't exit gdbserver.
2633
af9fd6f8
AA
26342015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2635
2636 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
2637 appropriate .insn, such that an older assembler can be used.
2638 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
2639 the z/Architecture instruction set on 31-bit targets as well.
2640
04ff1e61
AA
26412015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2642
2643 * gdb.go/handcall.exp: Remove all logic related to the first
2644 breakpoint and rely on go_runto_main instead.
2645 * gdb.go/strings.exp: Likewise.
2646 * gdb.go/unsafe.exp: Likewise.
2647 * gdb.go/hello.exp: Likewise. Also rename the remaining
2648 breakpoint marker to "breakpoint 1".
2649 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
2650 * gdb.go/strings.go: Likewise.
2651 * gdb.go/unsafe.go: Likewise.
2652 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
2653 "set breakpoint 2 here" and rename the remaining breakpoint marker
2654 to "breakpoint 1".
2655
40d2f8d6
SM
26562015-04-15 Simon Marchi <simon.marchi@ericsson.com>
2657
2658 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
2659 if itertools.imap is not present.
2660 * gdb.python/py-objfile.exp: Add parentheses.
2661 * gdb.python/py-type.exp: Same.
2662 * gdb.python/py-unwind-maint.py: Same.
2663
8cbc97c6
YQ
26642015-04-15 Yao Qi <yao.qi@linaro.org>
2665
2666 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
2667 of ":$ptr_size" and set its form explicitly.
2668
45fd756c
YQ
26692015-04-15 Pedro Alves <palves@redhat.com>
2670 Yao Qi <yao.qi@linaro.org>
2671
2672 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
2673 timeout by factor of 4.
2674 (test_regular_watch): Likewise.
2675 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
2676 * gdb.reverse/sigall-reverse.exp: Likewise.
2677 * gdb.reverse/until-precsave.exp: Likewise.
2678 * lib/gdb.exp (with_timeout_factor): New proc.
2679 (gdb_expect): Move some code to ...
2680 (get_largest_timeout): ... here. New procedure.
2681
9e811bc3
LM
26822015-04-14 Luis Machado <lgustavo@codesourcery.com>
2683
2684 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
2685
0ff6fcb2
LM
26862015-04-13 Luis Machado <lgustavo@codesourcery.com>
2687
2688 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
2689 to write to the .text section.
2690
7578d5f7
LM
26912015-04-13 Luis Machado <lgustavo@codesourcery.com>
2692
2693 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
2694 Handle the case of targets that do not provide PID information.
2695
2efe15c4
YQ
26962015-04-13 Yao Qi <yao.qi@linaro.org>
2697
2698 * lib/gdbserver-support.exp (gdb_exit): Catch exception
2699 and use expect instead of gdb_expect.
2700
8cd8f2f8
SDJ
27012015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
2702
2703 * gdb.base/coredump-filter.exp: Rename variable "addr" to
2704 "coredump_var_addr" to avoid naming conflict with other testcases.
2705
9ee41772
PA
27062015-04-10 Pedro Alves <palves@redhat.com>
2707
2708 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
2709 gdb_test_sequence and gdb_assert.
2710
07473109
PA
27112015-04-10 Pedro Alves <palves@redhat.com>
2712
2713 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
2714 test messages that don't include the breakpoint address.
2715
de3db44c
YQ
27162015-04-10 Yao Qi <yao.qi@linaro.org>
2717
2718 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
2719 false for some offset and width combinations which aren't
2720 supported by linux kernel.
2721
c79d856c
PA
27222015-04-10 Pedro Alves <palves@redhat.com>
2723
2724 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
2725 procedure, factored out from ...
2726 (top level): ... here. Add "set displaced-stepping" testing axis.
2727 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
2728 parameter "displaced". Use it.
2729 (top level): Use foreach and add "set displaced-stepping" testing
2730 axis.
2731
ebc90b50
PA
27322015-04-10 Pedro Alves <palves@redhat.com>
2733
2734 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
2735 Remove comment.
2736 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
2737 both the address of the instruction that triggers the watchpoint
2738 and the address of the instruction immediately after, and use
2739 those addresses for the test. Fix comment.
2740
8f572e5c
PA
27412015-04-10 Pedro Alves <palves@redhat.com>
2742
2743 * gdb.base/sigstep.exp (breakpoint_to_handler)
2744 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
2745 Test "backtrace" in handler.
2746 (breakpoint_over_handler): New parameter 'displaced'. Use it.
2747 (top level): Add new "displaced" test axis to
2748 breakpoint_to_handler, breakpoint_to_handler_entry and
2749 breakpoint_over_handler.
2750
8d707a12
PA
27512015-04-10 Pedro Alves <palves@redhat.com>
2752
2753 PR gdb/18216
2754 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
2755
ef713951
YQ
27562015-04-10 Yao Qi <yao.qi@linaro.org>
2757
2758 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
2759 (test_add_rn_pc): New function.
2760 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
2761 (top level): Invoke test_add_rn_pc.
2762
906d60cf
PA
27632015-04-10 Pedro Alves <palves@redhat.com>
2764
2765 PR gdb/13858
2766 * gdb.base/step-over-no-symbols.exp: New file.
2767
f2983cc3
AW
27682015-04-09 Andy Wingo <wingo@igalia.com>
2769
2770 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
2771 after the Python tests.
2772
6d62641c
SDJ
27732015-04-08 Keith Seitz <keiths@redhat.com>
2774
2775 PR python/16699
2776 * gdb.python/py-completion.exp: New tests for completion.
2777 * gdb.python/py-completion.py (CompleteLimit1): New class.
2778 (CompleteLimit2): Likewise.
2779 (CompleteLimit3): Likewise.
2780 (CompleteLimit4): Likewise.
2781 (CompleteLimit5): Likewise.
2782 (CompleteLimit6): Likewise.
2783 (CompleteLimit7): Likewise.
2784
f3770638
PA
27852015-04-08 Pedro Alves <palves@redhat.com>
2786
2787 PR gdb/18214
2788 PR gdb/18216
2789 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
2790 function.
2791 (main): Install it as SIGUSR1 handler.
2792 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
2793 parameter. Always use "setup" as prefix. Toggle "set
2794 displaced-stepping" off/on depending on global. Don't switch to
2795 thread 1 here.
2796 (top level): Add displaced stepping "off/on" test axis. Update
2797 "setup" calls. Wrap each subtest with with_test_prefix. Test
2798 continuing with a queued signal in each thread.
2799
4496bed7
PA
28002015-04-08 Pedro Alves <palves@redhat.com>
2801
2802 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
2803 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
2804 gdb_breakpoint instead of gdb_test that doesn't expect anything.
2805 Return early if running to main fails.
2806 * gdb.trace/while-stepping.exp: Likewise.
2807
b97fde92
PA
28082015-04-07 Pedro Alves <palves@redhat.com>
2809
2810 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
2811 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
2812 interact with inferior program.
2813
f71c18e7
PA
28142015-04-07 Pedro Alves <palves@redhat.com>
2815
2816 * lib/gdb.exp (inferior_spawn_id): New global.
2817 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
2818 spawn id after processing the user code.
2819 (default_gdb_start): Set inferior_spawn_id.
2820 (send_inferior): New procedure.
2821 * lib/gdbserver-support.exp (gdbserver_start): Set
2822 inferior_spawn_id.
2823 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
2824
6423214f
PA
28252015-04-07 Pedro Alves <palves@redhat.com>
2826
2827 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
2828 * lib/gdbserver-support.exp (gdbserver_start): Make
2829 $server_spawn_id global.
2830 (gdbserver_start): Don't wait for gdbserver's spawn id with
2831 expect_background.
2832 (close_gdbserver): New procedure.
2833 (gdb_exit): Rename the default version and reimplement.
2834
71c0ee8c
PA
28352015-04-07 Pedro Alves <palves@redhat.com>
2836
72f4393d 2837 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
2838 append the substituted item, not the original item.
2839
203bc29b
PA
28402015-04-07 Pedro Alves <palves@redhat.com>
2841
2842 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
2843 gdb_expect.
2844
508a3ddf
PA
28452015-04-07 Pedro Alves <palves@redhat.com>
2846
2847 * gdb.base/interrupt.exp: Don't handle the case of the inferior
2848 output appearing once only.
2849
9f6dbe2b
PA
28502015-04-07 Pedro Alves <palves@redhat.com>
2851
2852 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
2853 that doesn't expect anything. Return early if running to main
2854 fails.
2855
337532fa
YQ
28562015-04-07 Yao Qi <yao.qi@linaro.org>
2857
2858 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
2859 (child_function): Call alarm.
2860 (main): Move call to alarm into the loop.
2861 * gdb.threads/non-stop-fair-events.exp: Build program with
2862 -DTIMEOUT=$timeout.
2863
01b622d4
DE
28642015-04-06 Doug Evans <xdje42@gmail.com>
2865
2866 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
2867 Fix dest parameter to board_info.
2868 (fpc_compile): Ditto.
2869 (gdb_compile_pascal): Rename dest arg to destfile.
2870
961f4160
PMR
28712015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
2872
2873 * gdb.ada/funcall_ref.exp: New file.
2874 * gdb.ada/funcall_ref/foo.adb: New file.
2875
cafda597
YQ
28762015-04-02 Yao Qi <yao.qi@linaro.org>
2877
2878 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
2879 is remote.
2880
fed040c6
GB
28812015-04-02 Gary Benson <gbenson@redhat.com>
2882
2883 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
2884
d11916aa
SS
28852015-04-01 Sasha Smundak <asmundak@google.com>
2886
2887 * gdb.python/py-unwind-maint.c: New file.
2888 * gdb.python/py-unwind-maint.exp: New test.
2889 * gdb.python/py-unwind-maint.py: New file.
2890 * gdb.python/py-unwind.c: New file.
2891 * gdb.python/py-unwind.exp: New test.
2892 * gdb.python/py-unwind.py: New test.
2893
a1471180
PA
28942015-04-01 Pedro Alves <palves@redhat.com>
2895
2896 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
2897 to fail instead of non-existent $test.
2898
0bbeccb1
PA
28992015-04-01 Pedro Alves <palves@redhat.com>
2900
2901 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
2902 GDBFLAGS if not empty.
2903
3c724c8c
PMR
29042015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
2905
2906 * gdb.ada/complete.exp: Remove "multi_line".
2907 * gdb.ada/info_exc.exp: Remove "multi_line".
2908 * gdb.ada/packed_tagged.exp: Remove "multi_line".
2909 * gdb.ada/ptype_field.exp: Remove "multi_line".
2910 * gdb.ada/sym_print_name.exp: Remove "multi_line".
2911 * gdb.ada/tagged.exp: Remove "multi_line".
2912 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
2913 [multi_line ...]
2914 * gdb.btrace/delta.exp: Likewise.
2915 * gdb.btrace/exception.exp: Likewise.
2916 * gdb.btrace/function_call_history.exp: Likewise.
2917 * gdb.btrace/instruction_history.exp: Likewise.
2918 * gdb.btrace/nohist.exp: Likewise.
2919 * gdb.btrace/record_goto.exp: Likewise.
2920 * gdb.btrace/segv.exp: Likewise.
2921 * gdb.btrace/stepi.exp: Likewise.
2922 * gdb.btrace/tailcall.exp: Likewise.
2923 * gdb.btrace/unknown_functions.exp: Likewise.
2924 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
2925 * lib/gdb.exp: Add the "multi_line" helper.
2926
4eec2deb
PA
29272015-04-01 Pedro Alves <palves@redhat.com>
2928
2929 * gdb.threads/tid-reuse.c: New file.
2930 * gdb.threads/tid-reuse.exp: New file.
2931
df8411da
SDJ
29322015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
2933
2934 PR corefiles/16092
2935 * gdb.base/coredump-filter.c: New file.
2936 * gdb.base/coredump-filter.exp: Likewise.
2937
6ef37366
PM
29382015-03-27 Petr Machata <pmachata@redhat.com>
2939
2940 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
2941 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
2942 (Dwarf::assemble): Initialize them.
2943 (Dwarf::lines): New function.
2944
7ec911b0
JT
29452015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
2946
2947 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
2948 SYMBOL_PREFIX for x86_64-*-cygwin.
2949
ff908ebf
AW
29502015-03-26 Andy Wingo <wingo@igalia.com>
2951
2952 PR symtab/18148
2953 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
2954 const_value but not a location.
2955 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
2956 location defined in non-main CUs are visible.
2957
6d5f0679
YQ
29582015-03-26 Yao Qi <yao.qi@linaro.org>
2959
2960 PR testsuite/18139
2961 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
2962 Add a line number entry for the same line.
2963 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
2964 Add a line number entry for the same line.
2965
2898689b
YQ
29662015-03-26 Yao Qi <yao.qi@linaro.org>
2967
2968 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
2969 .int 0.
2970 (func): Likewise. Add .Lfunc_1 label.
2971 Use .Lfunc_1 label.
2972 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
2973 .int 0.
2974 (func): Likewise.
2975 Use .Lfunc_1 label.
2976
85180498
YQ
29772015-03-26 Yao Qi <yao.qi@linaro.org>
2978
2979 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
2980 Call gdb_compile instead to compile each .s files without debug
2981 information.
2982
8aa08a8d
YQ
29832015-03-26 Yao Qi <yao.qi@linaro.org>
2984
2985 * gdb.base/savedregs.exp (process_saved_regs): Make
2986 "Saved registers:" optional in the pattern.
2987
66849923
MM
29882015-03-25 Markus Metzger <markus.t.metzger@intel.com>
2989
2990 * gdb.btrace/next.exp: Merged into step.exp.
2991 * gdb.btrace/finish.exp: Merged into step.exp.
2992 * gdb.btrace/nexti.exp: Merged into stepi.exp.
2993 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
2994 "record goto" and checking the exact replay position.
2995 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
2996 check for "Recording format" in "info record" output.
2997 * gdb.btrace/record_goto.exp: Choose test file based on target.
2998 * gdb.btrace/x86-record_goto.S: Renamed into ...
2999 * gdb.btrace/x86_64-record_goto.S: ... this.
3000 * gdb.btrace/i686-record_goto.S: New.
3001 * gdb.btrace/x86-tailcall.S: Renamed into ...
3002 * gdb.btrace/x86_64-tailcall.S: ... this.
3003 * gdb.btrace/i686-tailcall.S: New.
3004 * gdb.btrace/x86-tailcall.c: Renamed into ...
3005 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3006 separate statements. Update test.
3007 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3008 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3009 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3010 * gdb.btrace/tailcall.exp: Choose test file based on target.
3011 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3012
11cc1b74
MM
30132015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3014
3015 * gdb.btrace/exception.exp: Increase BTS buffer size.
3016
a25d8bf9
PA
30172015-03-24 Pedro Alves <palves@redhat.com>
3018
3019 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3020
856e7dd6
PA
30212015-03-24 Pedro Alves <palves@redhat.com>
3022
3023 * gdb.threads/schedlock.exp (test_step): No longer expect that
3024 "set scheduler-locking step" with "next" over a function call runs
3025 threads unlocked.
3026
ad235a41
AT
30272015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3028
3029 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3030
15630549
AT
30312015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3032
3033 PR breakpoints/16466
3034 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3035 * gdb.mi/mi-pending.c (thread_func): New function.
3036 (int main): Add threading support required.
3037 * gdb.mi/mi-pending.exp: Add tests for this issue.
3038 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3039 (pendfunc2): Remove stdio dependency.
3040 * gdb.mi/mi-pendshr2.c: New file.
3041
693dca06
KS
30422015-03-23 Keith Seitz <keiths@redhat.com>
3043
3044 * gdb.linespec/keywords.c: New file.
3045 * gdb.linespec/keywords.exp: New file.
3046
7e993ebf
KS
30472015-03-23 Keith Seitz <keiths@redhat.com>
3048
3049 PR gdb/18021
3050 * gdb.dwarf2/staticvirtual.exp: New test.
3051
bc23328c
JK
30522015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3053
3054 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3055 * README: Remove HP-UX and gdb.hp.
3056 (configuration):
3057 * configure: Regenerate.
3058 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3059 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3060 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3061 gdb.hp/gdb.defects/Makefile.
3062 * gdb.hp/Makefile.in: File deleted.
3063 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3064 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3065 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3066 * gdb.hp/gdb.aCC/run.c: File deleted.
3067 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3068 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3069 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3070 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3071 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3072 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3073 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3074 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3075 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3076 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3077 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3078 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3079 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3080 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3081 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3082 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3083 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3084 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3085 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3086 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3087 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3088 * gdb.hp/gdb.compat/average.c: File deleted.
3089 * gdb.hp/gdb.compat/sum.c: File deleted.
3090 * gdb.hp/gdb.compat/xdb.c: File deleted.
3091 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3092 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3093 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3094 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3095 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3096 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3097 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3098 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3099 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3100 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3101 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3102 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3103 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3104 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3105 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3106 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3107 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3108 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3109 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3110 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3111 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3112 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3113 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3114 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3115 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3116 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3117 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3118 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3119 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3120 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3121 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3122 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3123 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3124 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3125 * gdb.hp/tools/odump: File deleted.
3126
8bf3b159
PA
31272015-03-19 Pedro Alves <palves@redhat.com>
3128
3129 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3130 (saw_thread_3): New globals.
3131 (top level): Increment them when an event for the corresponding
3132 thread is seen.
3133 (no thread starvation): New test.
3134
eb54c8bf
PA
31352015-03-19 Pedro Alves <palves@redhat.com>
3136
3137 * gdb.threads/continue-pending-status.c: New file.
3138 * gdb.threads/continue-pending-status.exp: New file.
3139
32d2e5d6
PA
31402015-03-18 Pedro Alves <palves@redhat.com>
3141
3142 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3143 Use gdb_is_target_remote instead of is_remote. Use
3144 gdb_test_multiple instead of gdb_expect. Exit early if
3145 gdb_test_multiple hits its internal matches. Tighten stepi tests
3146 expected output. Fail on exit with any signal, instead of just
3147 SIGILL.
3148
f68f11b7
YQ
31492015-03-18 Yao Qi <yao.qi@linaro.org>
3150
3151 PR tdep/18107
3152 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3153 variable.
3154 * gdb.base/catch-syscall.exp: Don't skip it on
3155 aarch64*-*-linux* target. Remove elements in all_syscalls.
3156 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3157 target.
3158 (setup_all_syscalls): New proc.
3159
ca5fd19b
YQ
31602015-03-16 Yao Qi <yao.qi@linaro.org>
3161
3162 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3163 (top level): Skip tests if valid_addr_p returns false for
3164 $cmd1 or $cmd2.
3165
85642ba0
AW
31662015-03-11 Andy Wingo <wingo@igalia.com>
3167
3168 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3169
e03f9645
YQ
31702015-03-11 Yao Qi <yao.qi@linaro.org>
3171
3172 * gdb.base/catch-syscall.exp: Fix typo in comments.
3173
5d0962b2
YQ
31742015-03-11 Yao Qi <yao.qi@linaro.org>
3175
3176 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3177
b2df3cef
PA
31782015-03-09 Pedro Alves <palves@redhat.com>
3179
3180 * dg-extract-results.py: Delete.
3181
ef878e53
PA
31822015-03-09 Pedro Alves <palves@redhat.com>
3183
3184 Merge dg-extract-results.sh from GCC upstream (r218843).
3185
3186 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3187 * dg-extract-results.sh: Use --text with grep to avoid issues with
3188 binary files. Fall back to cat -v, if that doesn't work.
3189
9494d219
PA
31902015-03-05 Pedro Alves <palves@redhat.com>
3191
3192 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3193
a8d9763a
SM
31942015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3195
3196 * lib/mi-support.exp (mi_expect_interrupt): Accept
3197 alternative event for when in all-stop mode.
3198
be9957b8
PA
31992015-03-04 Pedro Alves <palves@redhat.com>
3200
3201 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3202
d57be0f4 32032015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
3204
3205 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3206
c214c7cf
AA
32072015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3208
3209 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3210 regexps for GDB's current line display, accept a hex address
3211 preceding the line number.
3212
6d74a497
AA
32132015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3214
3215 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3216 the 'arch1' variable for "s390*-linux*" targets.
3217
511aee7c
PA
32182015-03-04 Pedro Alves <palves@redhat.com>
3219
3220 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3221 (main): Pass missing retval argument to pthread_join call.
3222
95e50b27
PA
32232015-03-02 Pedro Alves <palves@redhat.com>
3224
3225 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3226 (top level): Call do_test with non-stop as well.
3227
28054d69
PA
32282015-03-02 Pedro Alves <palves@redhat.com>
3229
3230 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3231 -1.
3232
4fa5d7b4
AA
32332015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3234
3235 * gdb.arch/s390-vregs.exp: New test.
3236 * gdb.arch/s390-vregs.S: New file.
3237
97c18565
PA
32382015-02-27 Pedro Alves <palves@redhat.com>
3239
3240 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3241 call to catch_command_errors.
3242 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3243 catch_command_errors.
3244
a37bfa30
PA
32452015-02-27 Pedro Alves <palves@redhat.com>
3246
3247 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3248 "true" for boolean result.
3249 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3250 prototype of main.
3251
6f98576f
PA
32522015-02-27 Pedro Alves <palves@redhat.com>
3253
3254 * lib/unbuffer_output.c: New file.
3255 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3256 (main): Call gdb_unbuffer_output.
3257
eba5ab56
YQ
32582015-02-27 Yao Qi <yao.qi@linaro.org>
3259
3260 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3261 target.
3262
0def5aaa
DE
32632015-02-26 Doug Evans <dje@google.com>
3264
3265 * gdb.cp/class2.cc (Dbase, D): New classes.
3266 (main): New local delta.
3267 * gdb.cp/class2.exp: Test printing delta.
3268 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3269 (dynbar): New global.
3270 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3271
081a1c2c
JK
32722015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3273
3274 * gdb.compile/compile-ifunc.c: New file.
3275 * gdb.compile/compile-ifunc.exp: New file.
3276
2f41223f
AT
32772015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3278
3279 * gdb.base/structs.exp: Check for correct struct on finish.
3280
03eddd80
YQ
32812015-02-26 Yao Qi <yao.qi@linaro.org>
3282
3283 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3284 is zero.
3285
80c57053
JK
32862015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3287
3288 * gdb.arch/cordic.ko.bz2: New file.
3289 * gdb.arch/cordic.ko.debug.bz2: New file.
3290 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3291
21613c12
YQ
32922015-02-25 Yao Qi <yao.qi@linaro.org>
3293
3294 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3295 aarch64*-*-* target.
3296
d8b901ed
PA
32972015-02-23 Pedro Alves <palves@redhat.com>
3298
3299 * lib/gdb.exp (delete_breakpoints): Rewrite using
3300 gdb_test_multiple.
3301
e5b85ead
PA
33022015-02-23 Pedro Alves <palves@redhat.com>
3303
3304 * gdb.base/info-os.c: Include stdlib.h.
3305
85c3a371
DE
33062015-02-22 Doug Evans <xdje42@gmail.com>
3307
3308 PR symtab/17855
3309 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3310 is read after symbols have been re-read.
3311 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3312 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3313
96553a0c
DE
33142015-02-21 Doug Evans <dje@google.com>
3315
3316 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3317
97a0c697
JK
33182015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3319
3320 PR corefiles/17808
3321 * gdb.arch/i386-biarch-core.core.bz2: New file.
3322 * gdb.arch/i386-biarch-core.exp: New file.
3323
a47cd6e9
PA
33242015-02-21 Pedro Alves <palves@redhat.com>
3325
3326 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3327 runto_main fails.
3328
c5facdc4
PA
33292015-02-20 Pedro Alves <palves@redhat.com>
3330
3331 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3332 info probes.
3333
2db9a427
PA
33342015-02-20 Pedro Alves <palves@redhat.com>
3335
3336 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3337
60fb7e9e
PA
33382015-02-20 Pedro Alves <palves@redhat.com>
3339
3340 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3341 clean_restart before gdb_target_supports_trace.
3342
5c5019c2
PA
33432015-02-20 Pedro Alves <palves@redhat.com>
3344
3345 PR threads/18006
3346 * gdb.threads/clone-thread_db.c: New file.
3347 * gdb.threads/clone-thread_db.exp: New file.
3348
c9587f88
AT
33492015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3350
3351 PR breakpoints/16812
3352 * gdb.base/catch-gdb-caused-signals.c: New file.
3353 * gdb.base/catch-gdb-caused-signals.exp: New file.
3354
f6a88844
JM
33552015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3356
3357 * configure: Regenerated.
3358 * configure.ac: Use GDB_AC_TRANSFORM.
3359 * aclocal.m4: sinclude ../transform.m4.
3360
497c491b
JM
33612015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3362
3363 * lib/dtrace.exp: New file.
3364 * gdb.base/dtrace-probe.exp: Likewise.
3365 * gdb.base/dtrace-probe.d: Likewise.
3366 * gdb.base/dtrace-probe.c: Likewise.
3367 * lib/pdtrace.in: Likewise.
3368 * configure.ac: Output variables with the transformed names of
3369 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3370 * configure: Regenerated.
3371
03e98035
JM
33722015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3373
3374 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3375 expected message when trying to access $_probe_* convenience
3376 variables while not on a probe.
3377
63cc30e9
JK
33782015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3379
3380 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3381
0703599a
PA
33822015-02-11 Pedro Alves <pedro@codesourcery.com>
3383
3384 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3385 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3386
7e60a48e
DE
33872015-02-10 Doug Evans <xdje42@gmail.com>
3388
3389 * lib/gdb.exp (gdb_load): Always return a result.
3390
01b088bc
PA
33912015-02-10 Pedro Alves <palves@redhat.com>
3392
3393 * gdb.threads/signal-sigtrap.c: New file.
3394 * gdb.threads/signal-sigtrap.exp: New file.
3395
b05ec7a5
AT
33962015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3397
3398 * gdb.trace/no-attach-trace.c: New file.
3399 * gdb.trace/no-attach-trace.exp: New file.
3400
a2c2acaf
MW
34012015-02-09 Mark Wielaard <mjw@redhat.com>
3402
3403 * gdb.dwarf2/atomic.c: New file.
3404 * gdb.dwarf2/atomic-type.exp: Likewise.
3405
31fd9caa
MM
34062015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3407
3408 * gdb.btrace/buffer-size.exp: Update "info record" output.
3409 * gdb.btrace/delta.exp: Update "info record" output.
3410 * gdb.btrace/enable.exp: Update "info record" output.
3411 * gdb.btrace/finish.exp: Update "info record" output.
3412 * gdb.btrace/instruction_history.exp: Update "info record" output.
3413 * gdb.btrace/next.exp: Update "info record" output.
3414 * gdb.btrace/nexti.exp: Update "info record" output.
3415 * gdb.btrace/step.exp: Update "info record" output.
3416 * gdb.btrace/stepi.exp: Update "info record" output.
3417 * gdb.btrace/nohist.exp: Update "info record" output.
3418
d33501a5
MM
34192015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3420
3421 * gdb.btrace/buffer-size: New.
3422
f4abbc16
MM
34232015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3424
3425 * gdb.btrace/delta.exp: Update "info record" output.
3426 * gdb.btrace/enable.exp: Update "info record" output.
3427 * gdb.btrace/finish.exp: Update "info record" output.
3428 * gdb.btrace/instruction_history.exp: Update "info record" output.
3429 * gdb.btrace/next.exp: Update "info record" output.
3430 * gdb.btrace/nexti.exp: Update "info record" output.
3431 * gdb.btrace/step.exp: Update "info record" output.
3432 * gdb.btrace/stepi.exp: Update "info record" output.
3433 * gdb.btrace/nohist.exp: Update "info record" output.
3434
b9d61307
SM
34352015-02-06 Simon Marchi <simon.marchi@ericsson.com>
3436
3437 PR gdb/15678
3438 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3439
e584fdbc
PA
34402015-02-06 Pedro Alves <palves@redhat.com>
3441
3442 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
3443 macro.
3444 (seconds_left, again): New globals.
3445 (main): Wait seconds_left in a 1-second sleep loop instead of
3446 sleeping 180 seconds. If 'again' is set, reset the seconds
3447 counter.
3448 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
3449 'again' in the inferior before detaching. Print the seconds left.
3450 (options): New global.
3451 (top level): Build program with -DTIMEOUT=$timeout.
3452
77f41761
PA
34532015-02-06 Pedro Alves <palves@redhat.com>
3454
3455 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
3456 determine how many seconds to pass to 'alarm'.
3457 * gdb.base/gdb-sigterm.exp (top level): Build program with
3458 -DTIMEOUT=$timeout.
3459 (do_test): Return success/failure indication. Add more verbose
3460 logging. Don't fail if 200 single steps are seen. Instead, fail
3461 when the test times out.
3462 (passes): New global.
3463 (top level): Break the testing loop if testing fails on any
3464 iteration. Use gdb_assert.
3465
b9394193
DB
34662015-02-04 Don Breazeal <donb@codesourcery.com>
3467
3468 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
3469 and initialize them.
3470 (ipc_cleanup): New function.
3471 (main): Don't declare shmid, semid, and msqid. Add a call to
3472 atexit so that we call ipc_cleanup on exit.
3473
42d9e528
PA
34742015-02-04 Pedro Alves <palves@redhat.com>
3475
3476 * boards/native-extended-gdbserver.exp: Remove any target variant
3477 specifications from the board name before clearing the isremote
3478 flag from board_info.
3479
ae6ae975
DE
34802015-01-31 Doug Evans <xdje42@gmail.com>
3481
3482 * gdb.base/maint.exp <maint print type argc>: Update expected output.
3483
cfb069a8
GB
34842015-01-31 Gary Benson <gbenson@redhat.com>
3485
3486 * gdb.base/completion.exp: Disable completion limiting for
3487 existing tests. Add new tests to check completion limiting.
3488 * gdb.linespec/ls-errs.exp: Disable completion limiting.
3489
5dd31d79
DE
34902015-01-31 Doug Evans <xdje42@gmail.com>
3491
3492 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
3493
9f050062
DE
34942015-01-31 Doug Evans <xdje42@gmail.com>
3495
3496 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
3497 entries. Duplicate file section script entries.
3498 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
3499 inlined entries. Add test for safe-path rejection.
3500 * gdb.python/py-section-script.c: Add duplicate inlined section script
3501 entries. Duplicate file section script entries.
3502 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
3503 inlined entries. Add test for safe-path rejection.
3504
df25ebbd
JB
35052015-01-29 Joel Brobecker <brobecker@adacore.com>
3506
3507 * gdb.ada/disc_arr_bound: New testcase.
3508
4a0ca9ec
JB
35092015-01-29 Joel Brobecker <brobecker@adacore.com>
3510
3511 * gdb.ada/mi_var_array: New testcase.
3512
3a8b707a
DE
35132015-01-27 Doug Evans <dje@google.com>
3514
3515 * gdb.python/py-objfile.exp: Add tests for objfile.username.
3516 Add test for objfile.filename, objfile.username after objfile
3517 has been unloaded.
3518
f8313f6e
JB
35192015-01-26 Joel Brobecker <brobecker@adacore.com>
3520
3521 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
3522 the second test to print the name attribute of value
3523 returned by the call to gdb.lookup_type, and adjust
3524 the expected output accordingly.
3525
37bc665e
MW
35262015-01-25 Mark Wielaard <mjw@redhat.com>
3527
3528 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
3529 * gdb.base/disp-step-fork.c: Include unistd.h.
3530 * gdb.base/siginfo-obj.c: Include stdio.h.
3531 * gdb.base/siginfo-thread.c: Likewise.
3532 * gdb.mi/non-stop.c: Include unistd.h.
3533 * gdb.mi/nsthrexec.c: Include stdio.h.
3534 * gdb.mi/pthreads.c: Include unistd.h.
3535 * gdb.modula2/unbounded1.c (main): Declare returns int.
3536 * gdb.reverse/consecutive-reverse.c: Likewise.
3537 * gdb.threads/create-fail.c: Include unistd.h.
3538 * gdb.threads/killed.c: Likewise.
3539 * gdb.threads/linux-dp.c: Likewise.
3540 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
3541 * gdb.threads/non-ldr-exc-2.c: Likewise.
3542 * gdb.threads/non-ldr-exc-3.c: Likewise.
3543 * gdb.threads/non-ldr-exc-4.c: Likewise.
3544 * gdb.threads/pthreads.c: Include unistd.h.
3545 (main): Declare returns int.
3546 * gdb.threads/tls-main.c (foo): New declaration.
3547 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
3548
f7e5394d
SM
35492015-01-23 Simon Marchi <simon.marchi@ericsson.com>
3550
3551 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
3552 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
3553
743649fd
MW
35542015-01-15 Mark Wielaard <mjw@redhat.com>
3555
3556 * gdb.base/noreturn-return.c: New file.
3557 * gdb.base/noreturn-return.exp: New file.
3558 * gdb.base/noreturn-finish.c: New file.
3559 * gdb.base/noreturn-finish.exp: New file.
3560
198297aa
PA
35612015-01-23 Pedro Alves <palves@redhat.com>
3562
3563 * gdb.threads/continue-pending-after-query.c: New file.
3564 * gdb.threads/continue-pending-after-query.exp: New file.
3565
717cf30c
AG
35662015-01-22 Anders Granlund <anders.granlund@ericsson.com>
3567 Simon Marchi <simon.marchi@ericsson.com>
3568
3569 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
3570 * gdb.base/valgrind-db-attach.exp: Same.
3571 * gdb.base/valgrind-infcall.exp: Same.
3572 * lib/mi-support.exp (default_mi_gdb_start): Same.
3573 * lib/prompt.exp (default_prompt_gdb_start): Same.
3574 * lib/gdb.exp (default_gdb_spawn): Same.
3575 (gdb_interact): New.
3576
3577
4b62a76e
JK
35782015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3579
3580 * gdb.compile/compile.exp (pointer to jit function): New test.
3581
b4cdae6f
WW
35822015-01-17 Wei-cheng Wang <cole945@gmail.com>
3583
3584 * lib/gdb.exp (supports_process_record): Return true for
3585 powerpc*-*-linux*.
3586 (supports_reverse): Likewise.
3587
d221e7ef
DB
35882015-01-15 Don Breazeal <donb@codesourcery.com>
3589
3590 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
3591 instead of checking whether the target board is remote and
3592 use spawn_wait_for_attach instead of exec/sleep.
3593 * gdb.base/attach-twice.exp: Likewise.
3594
bafffb51
JB
35952015-01-15 Joel Brobecker <brobecker@adacore.com>
3596
3597 * gdb.ada/var_arr_attrs: New testcase.
3598
5589af0e
PA
35992015-01-14 Pedro Alves <palves@redhat.com>
3600 Joel Brobecker <brobecker@adacore.com>
3601
3602 PR gdb/17525
3603 * gdb.base/bp-cmds-execution-x-script.c: New file.
3604 * gdb.base/bp-cmds-execution-x-script.exp: New file.
3605 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
3606
6c400b59
PA
36072015-01-14 Pedro Alves <palves@redhat.com>
3608
3609 PR cli/17828
3610 * gdb.base/batch-preserve-term-settings.c: New file.
3611 * gdb.base/batch-preserve-term-settings.exp: New file.
3612
e02c96a7
DE
36132015-01-13 Doug Evans <dje@google.com>
3614
3615 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
3616 binary.
3617
576fd14c
JB
36182015-01-13 Joel Brobecker <brobecker@adacore.com>
3619
3620 * Makefile.in (clean mostlyclean): Do not delete *.py.
3621
04dccad0
JB
36222015-01-13 Joel Brobecker <brobecker@adacore.com>
3623
3624 * gdb.python/py-lookup-type.exp: New file.
3625
3d230f71
PA
36262015-01-12 Pedro Alves <palves@redhat.com>
3627
3628 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
3629 restore GDBFLAGS before returning.
3630
7e67715d
JK
36312015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3632
3633 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
3634 is_amd64_regs_target and is_x86_like_target.
3635
f2e0d4b4
DE
36362015-01-11 Doug Evans <xdje42@gmail.com>
3637
3638 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
3639 is given without an explicit form.
3640 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
3641 attributes.
3642 * gdb.dwarf/corrupt.exp: Ditto.
3643 * gdb.dwarf2/enum-type.exp: Ditto.
3644 * gdb.trace/entry-values.exp: Ditto.
3645 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
3646
439250fb
DE
36472015-01-11 Doug Evans <xdje42@gmail.com>
3648
3649 PR gdb/15830
3650 * gdb.base/maint.exp: Remove references to "maint demangle".
3651 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
3652 Add tests for explicitly specifying language to demangle.
3653 * gdb.dlang/demangle.exp: Ditto.
3654
ede9f622
PA
36552015-01-09 Pedro Alves <palves@redhat.com>
3656
3657 * gdb.threads/non-stop-fair-events.c: New file.
3658 * gdb.threads/non-stop-fair-events.exp: New file.
3659
a7b796db
PA
36602015-01-09 Pedro Alves <palves@redhat.com>
3661
3662 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
3663 the global scope. Set a breakpoint after all threads are started
3664 rather than stepping over two source lines. Expect the prompt.
3665 * gdb.base/watch_thread_num.c (threads_started_barrier): New
3666 global.
3667 (NUM): Now 15.
3668 (main): Use threads_started_barrier to wait for all threads to
3669 start. Main thread no longer calls thread_function. Exit after
3670 180 seconds.
3671 (loop): New function.
3672 (thread_function): Wait on threads_started_barrier barrier. Call
3673 'loop' at each iteration.
3674 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
3675 threads have started, instead of hardcoding number of "next"
3676 steps. Use an access watchpoint instead of a write watchpoint.
3677
9665ffdd
PA
36782015-01-09 Pedro Alves <palves@redhat.com>
3679
3680 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
3681 (thread_func): Wait on barrier.
3682 (main): Wait for all threads to start before stopping GDB.
3683 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
3684 global.
3685 (thread1_func, thread2_func): Wait on barrier.
3686 (main): Wait for all threads to start before stopping GDB.
3687 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
3688 New global.
3689 (thread1_func, thread2_func): Wait on barrier.
3690 (main): Wait for all threads to start before stopping GDB.
3691
c945a99f
PA
36922015-01-09 Pedro Alves <palves@redhat.com>
3693
3694 * gdb.threads/attach-many-short-lived-threads.c: New file.
3695 * gdb.threads/attach-many-short-lived-threads.exp: New file.
3696
c1a747c1
PA
36972014-01-09 Pedro Alves <palves@redhat.com>
3698
3699 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
3700 instead of to thread 2.
3701 * gdb.threads/signal-command-multiple-signals-pending.c (main):
3702 Add barrier around each pthread_create call instead of around all
3703 calls.
3704 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
3705 Set a break on thread_function and have the child threads hit it
3706 one at at a time.
3707
60b3033e
PA
37082015-01-09 Pedro Alves <palves@redhat.com>
3709
3710 * lib/gdb.exp (can_spawn_for_attach): New procedure.
3711 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
3712 false.
3713 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
3714 checking whether the target board is remote.
3715 * gdb.multi/multi-attach.exp: Likewise.
3716 * gdb.python/py-sync-interp.exp: Likewise.
3717 * gdb.server/ext-attach.exp: Likewise.
3718 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
3719 tests that need to attach, instead of checking whether the target
3720 board is remote at the top of the file.
3721
acc018ac
YQ
37222015-01-08 Yao Qi <yao@codesourcery.com>
3723
3724 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
3725
50a18af8
JK
37262015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3727
3728 Fix testcase compilation.
3729 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
3730
8503d6e1
JB
37312015-01-06 Joel Brobecker <brobecker@adacore.com>
3732
3733 * gdb.python/py-type.exp: Add a couple test about empty
3734 array creation, and negative-length array creation.
3735
cc73dbcc
DE
37362015-01-02 Doug Evans <xdje42@gmail.com>
3737
3738 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
3739
0300bbc7
DE
37402015-01-02 Doug Evans <dje@google.com>
3741
3742 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
3743
9d85a0ec
YQ
37442014-12-29 Yao Qi <yao@codesourcery.com>
3745
3746 * gdb.trace/entry-values.exp: Update comments. Rename variable
3747 bar_call_foo to returned_from_foo.
3748
87186c6a
MMN
37492014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
3750
3751 PR gdb/17394
3752 * gdb.linespec/break-asm-file.c: New file.
3753 * gdb.linespec/break-asm-file.exp: New file.
3754 * gdb.linespec/break-asm-file0.s: New file.
3755 * gdb.linespec/break-asm-file1.s: New file.
3756
1bab7383
YQ
37572014-12-18 Nigel Stephens <nigel@mips.com>
3758 Maciej W. Rozycki <macro@codesourcery.com>
3759
3760 * gdb.base/float.exp: Handle the new output from "info float" on
3761 MIPS targets.
3762
1bc1068a
JK
37632014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3764
3765 Fix MinGW compilation.
3766 * gdb.compile/compile-ops.exp: Update untested message if
3767 !skip_compile_feature_tests.
3768 * gdb.compile/compile-setjmp.exp: Likewise.
3769 * gdb.compile/compile-tls.exp: Likewise.
3770 * gdb.compile/compile.exp: Likewise.
3771 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
3772 supported on this host".
3773
b6615d10
DE
37742014-12-16 Doug Evans <xdje42@gmail.com>
3775
3776 * boards/stabs.exp: New file.
3777
25dda427
AA
37782014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
3779
3780 * gdb.base/completion.exp: Adjust to format changes of "maint
3781 print user-registers".
3782
bf330350
CU
37832014-12-16 Catalin Udma <catalin.udma@freescale.com>
3784
3785 PR server/17457
3786 * gdb.arch/aarch64-fp.c: New file.
3787 * gdb.arch/aarch64-fp.exp: New file.
3788
395cf596
SDJ
37892014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
3790
3791 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
3792 r210637, r210913, r211666, r215400, r215817).
3793
3794 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
3795 * dg-extract-results.py: New file.
3796 * dg-extract-results.sh: Use it if the environment seems
3797 suitable.
3798
3799 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
3800
3801 * dg-extract-results.py (parse_run): Handle warnings that
3802 are printed before a test harness is run.
3803
3804 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
3805
3806 * dg-extract-results.py (Named): Remove __cmp__ method.
3807 (output_variation): Use a key to sort variation.harnesses.
3808
3809 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
3810
3811 * dg-extract-results.py: For Python 3, force sys.stdout to
3812 handle surrogate escape sequences.
3813 (safe_open): New function.
3814 (output_segment, main): Use it.
3815
3816 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
3817
3818 * dg-extract-results.py (Prog.result_re): Include options
3819 in test name.
3820
3821 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
3822
3823 * dg-extract-results.py (output_variation): Always sort if
3824 do_sum.
3825
e882ef3c
SM
38262014-12-15 Simon Marchi <simon.marchi@ericsson.com>
3827
3828 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
3829 as long as we get pagination notifications.
3830
4992aa20
JM
38312014-12-15 Jason Merrill <jason@redhat.com>
3832
3833 * Makefile.in (check-gdb.%): Restore.
3834 * README: Mention it.
3835
c1b5a1a6
JB
38362014-12-13 Joel Brobecker <brobecker@adacore.com>
3837
3838 * gdb.ada/str_uninit: New testcase.
3839
5537b577
JK
38402014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3841
3842 PR symtab/17642
3843 * gdb.base/vla-stub-define.c: New file.
3844 * gdb.base/vla-stub.c: New file.
3845 * gdb.base/vla-stub.exp: New file.
3846
bb2ec1b3
TT
38472014-12-12 Phil Muldoon <pmuldoon@redhat.com>
3848 Jan Kratochvil <jan.kratochvil@redhat.com>
3849 Tom Tromey <tromey@redhat.com>
3850
3851 * configure.ac: Add gdb.compile/.
3852 * configure: Regenerate.
3853 * gdb.compile/Makefile.in: New file.
3854 * gdb.compile/compile-ops.exp: New file.
3855 * gdb.compile/compile-ops.c: New file.
3856 * gdb.compile/compile-tls.c: New file.
3857 * gdb.compile/compile-tls.exp: New file.
3858 * gdb.compile/compile-constvar.S: New file.
3859 * gdb.compile/compile-constvar.c: New file.
3860 * gdb.compile/compile-mod.c: New file.
3861 * gdb.compile/compile-nodebug.c: New file.
3862 * gdb.compile/compile-setjmp-mod.c: New file.
3863 * gdb.compile/compile-setjmp.c: New file.
3864 * gdb.compile/compile-setjmp.exp: New file.
3865 * gdb.compile/compile-shlib.c: New file.
3866 * gdb.compile/compile.c: New file.
3867 * gdb.compile/compile.exp: New file.
3868 * lib/gdb.exp (skip_compile_feature_tests): New proc.
3869
4ff709eb
TT
38702014-12-12 Tom Tromey <tromey@redhat.com>
3871
3872 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
3873 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
3874
6dddd6a5
DE
38752014-12-12 Doug Evans <dje@google.com>
3876
3877 * lib/gdb-python.exp (get_python_valueof): New function.
3878 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
3879
71c24708
AA
38802014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3881
3882 * gdb.base/completion.exp: Add test for completion of "info
3883 registers ".
3884
3e29f34a
MR
38852014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
3886
3887 * gdb.base/func-ptrs.c: New file.
3888 * gdb.base/func-ptrs.exp: New file.
3889
fc126975
SM
38902014-12-10 Simon Marchi <simon.marchi@ericsson.com>
3891
3892 PR breakpoints/17012
3893 * gdb.base/dprintf-detach.c: New file.
3894 * gdb.base/dprintf-detach.exp: New file.
3895
0a46d518
SM
38962014-12-10 Simon Marchi <simon.marchi@ericsson.com>
3897
3898 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
3899 * lib/gdb.exp (target_is_gdbserver): New procedure.
3900
a0be3e44
DE
39012014-12-08 Doug Evans <dje@google.com>
3902
3903 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
3904
df1b803a
YQ
39052014-12-05 Yao Qi <yao@codesourcery.com>
3906
3907 * gdb.guile/scm-error.exp: Remove the third argument to
3908 gdb_remote_download.
3909 * gdb.guile/scm-frame-args.exp: Likewise.
3910 * gdb.guile/scm-section-script.exp: Likewise.
3911
ddb9f679
YQ
39122014-12-05 Yao Qi <yao@codesourcery.com>
3913
3914 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
3915
86e4ed39
DE
39162014-12-04 Doug Evans <dje@google.com>
3917
3918 * gdb.python/py-objfile.exp: Add tests for
3919 objfile.add_separate_debug_file.
3920
7c50a931
DE
39212014-12-04 Doug Evans <dje@google.com>
3922
3923 * lib/gdb.exp (get_build_id): New function.
3924 (build_id_debug_filename_get): Rewrite to use it.
3925 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
3926
621661e3
MR
39272014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
3928
3929 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
3930 `method(long)', not just 0x0.
3931 * gdb.cp/nsalias.exp: Align code labels to 4.
3932 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
3933 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
3934 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
3935 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
3936 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
3937 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
3938
29f0c3b7
DE
39392014-12-02 Doug Evans <dje@google.com>
3940
e1e061e7 3941 PR symtab/17602
29f0c3b7 3942 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 3943 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
3944 * gdb.cp/anon-ns.exp: Update.
3945
162078c8
NB
39462014-12-02 Nick Bull <nicholaspbull@gmail.com>
3947
3948 * gdb.python/py-events.py (inferior_call_handler): New.
3949 (register_changed_handler, memory_changed_handler): New.
3950 (test_events.invoke): Register new handlers.
3951 * gdb.python/py-events.exp: Add tests for inferior call,
3952 memory_changed and register_changed events.
3953
fdb09caf
AA
39542014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3955
3956 * gdb.base/execl-update-breakpoints.exp: Specify the link address
3957 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
3958 if the linker doesn't understand this.
3959
55cfb2c4
SM
39602014-12-01 Simon Marchi <simon.marchi@ericsson.com>
3961
3962 * gdb.python/python.exp: Change expected reply to help().
3963
9e8cd6df
YQ
39642014-12-01 Yao Qi <yao@codesourcery.com>
3965
3966 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
3967 AC_CONFIG_SUBDIRS(gdb.gdbtk).
3968 * configure: Re-generated.
3969
6c659fc2
SC
39702014-11-28 Siva Chandra Reddy <sivachandra@google.com>
3971
3972 * gdb.cp/chained-calls.cc: New file.
3973 * gdb.cp/chained-calls.exp: New file.
3974 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
3975
d7fc3181
SM
39762014-11-28 Simon Marchi <simon.marchi@ericsson.com>
3977
3978 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
3979 * gdb.dwarf2/symtab-producer.exp: Same.
3980 * gdb.gdb/python-interrupts.exp: Same.
3981 * gdb.gdb/python-selftest.exp: Same.
3982 * gdb.python/py-linetable.exp: Same.
3983 * gdb.python/py-type.exp: Same.
3984 * gdb.python/py-value-cc.exp: Same.
3985 * gdb.python/py-value.exp: Same.
3986
10e79639
YQ
39872014-11-28 Yao Qi <yao@codesourcery.com>
3988
3989 * gdb.base/break-probes.exp: Match library name prefixed with
3990 sysroot.
3991
f28a0564
SM
39922014-11-27 Simon Marchi <simon.marchi@ericsson.com>
3993
3994 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
3995 test expected output. Add parentheses for the call to print.
3996 Remove L suffix from integers.
3997
3fe1ce1d
DE
39982014-11-26 Doug Evans <dje@google.com>
3999
4000 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4001
84429e27
YQ
40022014-11-22 Yao Qi <yao@codesourcery.com>
4003
4004 * gdb.trace/entry-values.c: Remove asms.
4005 (foo): Add foo_label.
4006 (bar): Add bar_label.
4007 * gdb.trace/entry-values.exp: Remove code computing foo's
4008 length and bar's length.
4009 (Dwarf::assemble): Invoke function_range for bar and use
4010 MACRO_AT_func for foo.
4011
26741859
YQ
40122014-11-22 Yao Qi <yao@codesourcery.com>
4013
4014 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4015 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4016 Use .Lgcc43_procstart instead of gcc43.
4017
45e44d27
JB
40182014-11-21 Joel Brobecker <brobecker@adacore.com>
4019
4020 * gdb.ada/n_arr_bound: New testcase.
4021
458c8db8
SDJ
40222014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4023
4024 PR breakpoints/10737
4025 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4026 test_catch_syscall_multi_arch.
4027 (test_catch_syscall_multi_arch): New function.
4028
43f3e411
DE
40292014-11-20 Doug Evans <xdje42@gmail.com>
4030
4031 * gdb.base/maint.exp: Update expected output.
4032
0d7b2549
AA
40332014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4034
4035 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4036 4-byte instruction on S390.
4037
8908fca5
JB
40382014-11-19 Joel Brobecker <brobecker@adacore.com>
4039
4040 * gdb.ada/arr_arr: New testcase.
4041
4a46959e
JB
40422014-11-19 Joel Brobecker <brobecker@adacore.com>
4043
4044 * gdb.ada/pkd_arr_elem: New Testcase.
4045
470e2f4e
LM
40462014-11-18 Luis Machado <lgustavo@codesourcery.com>
4047
4048 * gdb.reverse/break-precsave: Expect completion message for
4049 core file reads.
4050 * gdb.reverse/consecutive-precsave.exp: Likewise.
4051 * gdb.reverse/finish-precsave.exp: Likewise.
4052 * gdb.reverse/i386-precsave.exp: Likewise.
4053 * gdb.reverse/machinestate-precsave.exp: Likewise.
4054 * gdb.reverse/sigall-precsave.exp: Likewise.
4055 * gdb.reverse/solib-precsave.exp: Likewise.
4056 * gdb.reverse/step-precsave.exp: Likewise.
4057 * gdb.reverse/until-precsave.exp: Likewise.
4058 * gdb.reverse/watch-precsave.exp: Likewise.
4059
a267f3ad
AA
40602014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4061
4062 * gdb.base/bp-permanent.c: Include unistd.h.
4063 * gdb.python/py-framefilter-mi.c (main): Add return type.
4064 * gdb.python/py-framefilter.c (main): Likewise.
4065 * gdb.trace/actions-changed.c (main): Likewise.
4066
12084a9a
AA
40672014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4068
4069 * gdb.mi/until.c: Add eye-catchers.
4070 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4071 line numbers.
4072
dc7e1a77
AA
40732014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4074
4075 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4076 function header variants in break1.c.
4077 * gdb.base/ena-dis-br.exp: Likewise.
4078 * gdb.base/hbreak2.exp: Likewise.
4079 * gdb.reverse/until-precsave.exp: Drop references to removed
4080 non-prototype function header variants in ur1.c.
4081 * gdb.reverse/until-reverse.exp: Likewise.
4082
41c77605
PM
40832014-11-17 Petr Machata <pmachata@redhat.com>
4084
4085 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4086 ${_cu_offset_size} bytes abbrev offset.
4087
34248c3a
DE
40882014-11-15 Doug Evans <xdje42@gmail.com>
4089
4090 PR symtab/17559
4091 * gdb.base/line-symtabs.exp: New file.
4092 * gdb.base/line-symtabs.c: New file.
4093 * gdb.base/line-symtabs.h: New file.
4094
646da059
YQ
40952014-11-14 Yao Qi <yao@codesourcery.com>
4096
4097 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4098 (func): Add label func_label.
4099 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4100 Replace low_pc and high_pc with MACRO_AT_range.
4101 Replace name, low_pc and high_pc with MACRO_AT_func.
4102
9301ebe6
YQ
41032014-11-14 Yao Qi <yao@codesourcery.com>
4104
4105 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4106 Replace name, low_pc and high_pc with MACRO_AT_func.
4107
f166b542
YQ
41082014-11-14 Yao Qi <yao@codesourcery.com>
4109
4110 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4111 produce debug information.
4112 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4113
0f6e71e3
YQ
41142014-11-14 Yao Qi <yao@codesourcery.com>
4115
4116 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4117 object and get function length.
4118 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4119 with MACRO_AT_func.
4120 (top-level): Replace gdb_compile and clean_restart with
4121 prepare_for_testing.
4122 * gdb.dwarf2/main.c (main): Add label main_label.
4123
876c4df9
YQ
41242014-11-14 Yao Qi <yao@codesourcery.com>
4125
4126 * lib/dwarf.exp (function_range): New procedure.
4127 (Dwarf::_handle_macro_at_func): New procedure.
4128 (Dwarf::_handle_macro_at_range): New procedure.
4129 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4130
02ad9cf1
YQ
41312014-11-14 Yao Qi <yao@codesourcery.com>
4132
4133 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4134 (_handle_attribute): New procedure.
4135
a59add0c
AA
41362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4137
4138 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4139 * gdb.base/call-sc.c (zed): Likewise.
4140 * gdb.base/checkpoint.c (main): Likewise.
4141 * gdb.base/dump.c (main): Likewise.
4142 * gdb.base/gcore.c (main): Likewise.
4143 * gdb.base/huge.c (main): Likewise.
4144 * gdb.base/multi-forks.c (main): Likewise.
4145 * gdb.base/pr10179-a.c (main): Likewise.
4146 * gdb.base/savedregs.c (main): Likewise.
4147 * gdb.base/sigaltstack.c (main): Likewise.
4148 * gdb.base/siginfo.c (main): Likewise.
4149 * gdb.base/structs.c (zed): Likewise.
4150 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4151 * gdb.mi/mi-syn-frame.c (main): Likewise.
4152 * gdb.mi/until.c (foo, main): Likewise.
4153 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4154 * gdb.base/solib-weak.c (foo): Declare.
4155 * gdb.base/attach-twice.c: Include stdio.h.
4156 * gdb.base/weaklib1.c: Likewise.
4157 * gdb.base/weaklib2.c: Likewise.
4158 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4159 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4160 unistd.h.
4161 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4162 * gdb.mi/mi-exit-code.c: Likewise.
4163 * gdb.base/break-interp-lib.c: Include string.h.
4164 * gdb.base/coremaker.c: Likewise.
4165 * gdb.base/testenv.c: Likewise.
4166 * gdb.python/py-finish-breakpoint.c: Likewise.
4167 * gdb.base/inferior-died.c: Include sys/wait.h.
4168 * gdb.base/fileio.c: Include time.h.
4169 * gdb.base/async-shell.c: Include unistd.h.
4170 * gdb.base/dprintf-non-stop.c: Likewise.
4171 * gdb.base/info-os.c: Likewise.
4172 * gdb.mi/mi-console.c: Likewise.
4173 * gdb.mi/watch-nonstop.c: Likewise.
4174 * gdb.python/py-events.c: Likewise.
4175 * gdb.base/async.c (baz): Move up before its invocation.
4176 * gdb.base/code_elim2.c (my_global_func): Likewise.
4177 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4178 * gdb.base/advance.c (func2): Likewise.
4179
3b5d5997
AA
41802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4181
4182 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4183 variant.
4184 * gdb.base/annota3.c: Likewise.
4185 * gdb.base/async.c: Likewise.
4186 * gdb.base/average.c: Likewise.
4187 * gdb.base/call-ar-st.c: Likewise.
4188 * gdb.base/call-rt-st.c: Likewise.
4189 * gdb.base/call-sc.c: Likewise.
4190 * gdb.base/call-strs.c: Likewise.
4191 * gdb.base/ending-run.c: Likewise.
4192 * gdb.base/execd-prog.c: Likewise.
4193 * gdb.base/exprs.c: Likewise.
4194 * gdb.base/foll-exec.c: Likewise.
4195 * gdb.base/foll-fork.c: Likewise.
4196 * gdb.base/foll-vfork.c: Likewise.
4197 * gdb.base/funcargs.c: Likewise.
4198 * gdb.base/gcore.c: Likewise.
4199 * gdb.base/jump.c: Likewise.
4200 * gdb.base/langs0.c: Likewise.
4201 * gdb.base/langs1.c: Likewise.
4202 * gdb.base/langs2.c: Likewise.
4203 * gdb.base/mips_pro.c: Likewise.
4204 * gdb.base/nodebug.c: Likewise.
4205 * gdb.base/opaque0.c: Likewise.
4206 * gdb.base/opaque1.c: Likewise.
4207 * gdb.base/recurse.c: Likewise.
4208 * gdb.base/run.c: Likewise.
4209 * gdb.base/scope0.c: Likewise.
4210 * gdb.base/scope1.c: Likewise.
4211 * gdb.base/setshow.c: Likewise.
4212 * gdb.base/setvar.c: Likewise.
4213 * gdb.base/shmain.c: Likewise.
4214 * gdb.base/shr1.c: Likewise.
4215 * gdb.base/shr2.c: Likewise.
4216 * gdb.base/sigall.c: Likewise.
4217 * gdb.base/signals.c: Likewise.
4218 * gdb.base/so-indr-cl.c: Likewise.
4219 * gdb.base/solib2.c: Likewise.
4220 * gdb.base/structs.c: Likewise.
4221 * gdb.base/sum.c: Likewise.
4222 * gdb.base/vforked-prog.c: Likewise.
4223 * gdb.base/watchpoint.c: Likewise.
4224 * gdb.reverse/shr2.c: Likewise.
4225 * gdb.reverse/until-reverse.c: Likewise.
4226 * gdb.reverse/ur1.c: Likewise.
4227 * gdb.reverse/watch-reverse.c: Likewise.
4228
066a77c5
AA
42292014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4230
4231 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4232 variant.
4233 * gdb.base/sepdebug.exp: Drop references to removed code.
4234
4f204ea5
AA
42352014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4236
4237 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4238 variant. Preserve original line numbering.
4239 * gdb.base/list1.c: Likewise.
4240
3b377a3a
AA
42412014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4242
4243 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4244 variant.
4245 * gdb.base/break1.c: Likewise.
4246 * gdb.base/break.exp: Drop references to removed code.
4247
e444df73
AA
42482014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4249
4250 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4251 variant.
4252
8008f2a7
AA
42532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4254
4255 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4256
a5a06887
AA
42572014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4258
4259 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4260 logic into perform_all_tests() and invoke it with and without
4261 function header prototypes.
4262 (do_function_calls): Remove conditional XFAIL for PR 5318.
4263 (rerun_and_prepare): Remove duplicate code.
4264 (perform_all_tests): New. Main logic moved here.
4265
44dba9b9
AA
42662014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4267
4268 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4269 code guarded by #ifdef NO_PROTOTYPES.
4270 (t_double_many_args): Likewise.
4271 (DEF_FUNC_MANY_ARGS_1): Likewise.
4272 (DEF_FUNC_VALUES_1): Likewise.
4273 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4274 guarded by #ifdef PROTOTYPES.
4275
d1fbcd56
AA
42762014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4277
4278 * gdb.mi/mi-console.c: Add eye-catcher.
4279 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4280 instead of literal line number.
4281
b0e59b8f
AA
42822014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4283
4284 * gdb.base/shr2.c: Add eye-catcher.
4285 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4286 line number.
4287
78f98cca
AA
42882014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4289
4290 * gdb.base/jump.c: Add eye-catchers.
4291 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4292 numbers.
4293
58fa2af0
AA
42942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4295
4296 * gdb.base/execd-prog.c: Add eye-catchers.
4297 * gdb.base/foll-exec.c: Likewise.
4298 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4299 line numbers.
4300
04e5059b
AA
43012014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4302
4303 * gdb.base/ending-run.c: Add eye-catchers.
4304 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4305 literal line numbers.
4306
dbfdb174
AA
43072014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4308
4309 * gdb.base/call-rt-st.c: Add eye-catchers.
4310 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4311 literal line numbers.
4312
888a2ade
AA
43132014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4314
4315 * gdb.base/call-ar-st.c: Add eye-catchers.
4316 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4317 literal line numbers.
4318
6acc2dde
AA
43192014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4320
4321 * gdb.base/average.c: Add eye-catchers.
4322 * gdb.base/sum.c: Likewise.
4323 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4324 regexps dynamically.
4325
9ecfcd1d
AA
43262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4327
4328 * gdb.base/solib1.c: Add eye-catchers.
4329 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4330 literal line numbers.
4331
78708b7c
PA
43322014-11-12 Pedro Alves <palves@redhat.com>
4333
4334 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4335 leader has exited.
4336
af48d08f
PA
43372014-11-12 Pedro Alves <palves@redhat.com>
4338
4339 * gdb.arch/i386-bp_permanent.c: New file.
4340 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4341 (srcfile): Set to i386-bp_permanent.c.
4342 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4343 that stepi does not execute the 'leave' instruction, instead of
4344 testing it does execute.
4345 * gdb.base/bp-permanent.c: New file.
4346 * gdb.base/bp-permanent.exp: New file.
4347
af3768e9
DE
43482014-11-10 Doug Evans <xdje42@gmail.com>
4349
4350 PR symtab/17564
4351 * gdb.base/symtab-search-order.exp: New file.
4352 * gdb.base/symtab-search-order.c: New file.
4353 * gdb.base/symtab-search-order-1.c: New file.
4354 * gdb.base/symtab-search-order-shlib-1.c: New file.
4355
9de00a4a
PA
43562014-11-07 Pedro Alves <palves@redhat.com>
4357
4358 PR gdb/17511
4359 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4360 i?86-*-linux*.
4361
e0f52461
SC
43622014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4363
4364 PR c++/17494
4365 * gdb.cp/pr17494.cc: New file.
4366 * gdb.cp/pr17494.exp: New file.
4367
6ce8c980
YQ
43682014-11-02 Yao Qi <yao@codesourcery.com>
4369
4370 * gdb.python/python.exp: Get working directory and match the
4371 output of "set extended-prompt \\w " with it.
4372
02be9a71
DE
43732014-10-30 Doug Evans <dje@google.com>
4374
4375 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4376 in objfiles.
4377 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4378 in progspaces.
4379
3bdff46b
LM
43802014-10-30 Janis Johnson <janisjo@codesourcery.com>
4381
4382 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4383 * gdb.base/realname-expand.exp: Likewise.
4384 * gdb.linespec/macro-relative.exp: Likewise.
4385
ab917dfb
PA
43862014-10-29 Pedro Alves <palves@redhat.com>
4387
4388 PR gdb/17408
4389 * gdb.threads/schedlock.c (some_function): New function.
4390 (call_function): New global.
4391 (MAYBE_CALL_SOME_FUNCTION): New macro.
4392 (thread_function): Call it.
4393 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4394 and use it instead of a global counter. Adjust all callers.
4395 (get_current_thread): Use "find current thread" for test message
4396 here rather than having all callers pass down the same string.
4397 (goto_loop): New procedure, factored out from ...
4398 (my_continue): ... this.
4399 (step_ten_loops): Change parameter from test message to command to
4400 use. Adjust.
4401 (list_count): Delete global.
4402 (check_result): New procedure, factored out from duplicate top
4403 level code.
4404 (continue tests): Wrap in with_test_prefix.
4405 (test_step): New procedure, factored out from duplicate top level
4406 code.
4407 (top level): Test "step" in combination with all scheduler-locking
4408 modes. Test "next" in combination with all scheduler-locking
4409 modes, and in combination with stepping over a function call or
4410 not.
4411 * gdb.threads/next-bp-other-thread.c: New file.
4412 * gdb.threads/next-bp-other-thread.exp: New file.
4413
d3d4baed
PA
44142014-10-29 Pedro Alves <palves@redhat.com>
4415
4416 PR python/17372
4417 * gdb.python/python.exp: Test a multi-line command that spawns
4418 interactive Python.
4419 * gdb.base/multi-line-starts-subshell.exp: New file.
4420
563e8d85
YQ
44212014-10-29 Yao Qi <yao@codesourcery.com>
4422
4423 * gdb.base/fileio.exp: Make directories on host.
4424
0ea4d52e
YQ
44252014-10-29 Yao Qi <yao@codesourcery.com>
4426
4427 * gdb.base/fileio.c (test_write): Close the file.
4428
7f5ef605
PA
44292014-10-28 Pedro Alves <palves@redhat.com>
4430
4431 PR gdb/12623
4432 * gdb.base/sigstep.c (no_handler): New global.
4433 (main): If 'no_handler is true, set the signal handlers to
4434 SIG_IGN.
4435 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4436 with_sw_watch and no_handler parameters. Handle them.
4437 (top level) <stepping over handler when stopped at a breakpoint
4438 test>: Add a test axis for testing with a software watchpoint, and
4439 another for testing with the signal handler set to SIG_IGN.
4440 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4441 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
4442
abbdbd03
PA
44432014-10-28 Pedro Alves <palves@redhat.com>
4444
4445 PR gdb/17511
4446 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
4447 * gdb.base/sigstep.exp (other_handler_location): New global.
4448 (advance): Support stepping into the signal handler, and running
4449 commands while in the handler.
4450 (in_handler_map): New global.
4451 (top level): In the advance test, add combinations for getting
4452 into the handler with stepping commands, and for running commands
4453 in the handler. Add comment descripting the advancei tests.
4454
1df4399f
PA
44552014-10-28 Pedro Alves <palves@redhat.com>
4456
4457 * gdb.base/sigstep.exp: Use build_executable instead of
4458 prepare_for_testing.
4459 (top level): Move code that starts GDB, runs to main and creates a
4460 display to ...
4461 (restart): ... this new procedure.
4462 (top level): Move backtrace from signal handler test to ...
4463 (validate_backtrace): ... this new procedure.
4464 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
4465 with_test_prefix. Always restart GDB.
4466 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
4467 with_test_prefix. Always restart GDB. No need to delete
4468 breakpoints after the test.
4469 (test_skip_handler): Remove prefix parameter.
4470 (skip_over_handler, breakpoint_to_handler)
4471 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
4472 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
4473 restart GDB. No need to delete breakpoints after the test.
4474 (top level): Use foreach to call the test procedures with
4475 different commands.
4476
a5b6e449
PA
44772014-10-28 Pedro Alves <palves@redhat.com>
4478
4479 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
4480 instead of GNATS numbers.
4481 * gdb.base/sigbpt.exp: Likewise.
4482 * gdb.base/siginfo.exp: Likewise.
4483 * gdb.base/sigstep.exp: Likewise.
4484
e5f8a7cc
PA
44852014-10-27 Pedro Alves <palves@redhat.com>
4486
4487 * gdb.base/sigstep.c (dummy): New global.
4488 (main): Issue a couple writes to the new global.
4489 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
4490 procedures.
4491 (skip_over_handler): Use test_skip_handler.
4492 (top level): Call skip_over_handler for stepi and nexti too.
4493 (breakpoint_over_handler): Use test_skip_handler.
4494 (top level): Call breakpoint_over_handler for stepi and nexti too.
4495
763905a3
YQ
44962014-10-27 Yao Qi <yao@codesourcery.com>
4497
4498 * gdb.trace/tfile.c (adjust_function_address)
4499 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
4500 function descriptor.
4501
6f259a23
DB
45022014-10-24 Don Breazeal <donb@codesourcery.com>
4503
4504 * gdb.base/foll-fork.exp (test_follow_fork,
4505 catch_fork_child_follow): Check for updated fork messages emitted
4506 from infrun.c.
4507 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
4508 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
4509 vfork_and_exec_child_follow_through_step): Check for updated vfork
4510 messages emitted from infrun.c.
4511
09dd9a69
PA
45122014-10-24 Pedro Alves <palves@redhat.com>
4513
4514 * gdb.base/corefile.exp: Remove references to ultrix.
4515 * gdb.base/interrupt.exp: Likewise.
4516 * gdb.base/whatis.exp: Likewise.
4517 * gdb.gdb/selftest.exp: Likewise.
4518 * gdb.threads/manythreads.exp: Likewise.
4519 * gdb.threads/print-threads.exp: Likewise.
4520 * gdb.threads/pthreads.exp:: Likewise.
4521 * gdb.threads/schedlock.exp: Likewise.
4522
3433cfa5
SC
45232014-10-24 Siva Chandra Reddy <sivachandra@google.com>
4524
4525 * gdb.cp/non-trivial-retval.cc: Add a test case.
4526 * gdb.cp/non-trivial-retval.exp: Add a test.
4527
092f880b
YQ
45282014-10-20 Yao Qi <yao@codesourcery.com>
4529
4530 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
4531 * gdb.python/py-objfile-script-gdb.py: New file.
4532 * gdb.python/py-objfile-script.exp: Update reference to
4533 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
4534 of remote_download. Remove the dest file.
4535
acbdb7f3
YQ
45362014-10-20 Yao Qi <yao@codesourcery.com>
4537
4538 * gdb.base/checkpoint.exp: Don't remove file copied on host.
4539 * gdb.base/step-line.exp: Likewise.
4540 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4541 * gdb.dwarf2/dw2-basic.exp: Likewise.
4542 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4543 * gdb.dwarf2/dw2-filename.exp: Likewise.
4544 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4545 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4546 * gdb.dwarf2/dw2-producer.exp: Likewise.
4547 * gdb.dwarf2/mac-fileno.exp: Likewise.
4548 * gdb.python/py-frame-args.exp: Likewise.
4549 * gdb.python/py-framefilter.exp: Likewise.
4550 * gdb.python/py-mi.exp: Likewise.
4551 * gdb.python/py-objfile-script.exp: Likewise
4552 * gdb.python/py-pp-integral.exp: Likewise.
4553 * gdb.python/py-pp-re-notag.exp: Likewise.
4554 * gdb.python/py-prettyprint.exp: Likewise.
4555 * gdb.python/py-section-script.exp: Likewise.
4556 * gdb.python/py-typeprint.exp: Likewise.
4557 * gdb.python/py-xmethods.exp: Likewise.
4558 * gdb.stabs/weird.exp: Likewise.
4559 * gdb.xml/tdesc-regs.exp: Likewise.
4560
bd286a29
KCY
45612014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
4562
4563 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
4564 (out_cu): Use addr_len for the size of addresses.
4565 (out_line): Likewise. Size DW_LNE_set_address instruction
4566 according to addr_len.
4567 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
4568 (FUNC): Add START_INSNS to definition.
4569
673dc4a0
YQ
45702014-10-18 Yao Qi <yao@codesourcery.com>
4571
4572 * gdb.base/argv0-symlink.exp: Check argv[0] value if
4573 gdb_has_argv0 return true.
4574 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
4575 check [target_info exists noargs], check [gdb_has_argv0]
4576 instead.
4577 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4578 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
4579 procedures.
4580
4ffbba72
DE
45812014-10-17 Doug Evans <dje@google.com>
4582
4583 * gdb.python/py-events.exp: Update expected output for clear_objfiles
4584 event.
4585 * gdb.python/py-events.py: Add clear_objfiles event.
4586
d096d8c1
DE
45872014-10-17 Doug Evans <dje@google.com>
4588
4589 * gdb.python/py-objfile.exp: Test progspace attribute.
4590
a80db015
LM
45912014-10-17 Luis Machado <lgustavo@codesourcery.com>
4592
4593 * gdb.guile/scm-breakpoint.exp: Do not assume any
4594 directory separators when matching source file paths.
4595 * gdb.python/py-breakpoint.exp: Likewise.
4596 * gdb.reverse/break-precsave.exp: Likewise.
4597 * gdb.reverse/break-reverse.exp: Likewise.
4598 * gdb.reverse/consecutive-precsave.exp: Likewise.
4599 * gdb.reverse/finish-precsave.exp: Likewise.
4600 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
4601 * gdb.reverse/finish-reverse.exp: Likewise.
4602 * gdb.reverse/i386-precsave.exp: Likewise.
4603 * gdb.reverse/i387-env-reverse.exp: Likewise.
4604 * gdb.reverse/i387-stack-reverse.exp: Likewise.
4605 * gdb.reverse/machinestate-precsave.exp: Likewise.
4606 * gdb.reverse/machinestate.exp: Likewise.
4607 * gdb.reverse/sigall-precsave.exp: Likewise.
4608 * gdb.reverse/solib-precsave.exp: Likewise.
4609 * gdb.reverse/step-precsave.exp: Likewise.
4610 * gdb.reverse/until-precsave.exp: Likewise.
4611 * gdb.reverse/watch-precsave.exp: Likewise.
4612 * gdb.reverse/watch-reverse.exp: Likewise.
4613
b22089ab
YQ
46142014-10-17 Yao Qi <yao@codesourcery.com>
4615
4616 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
4617 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
4618
6c4486e6
PA
46192014-10-17 Pedro Alves <palves@redhat.com>
4620
4621 PR gdb/17471
4622 * gdb.base/bg-execution-repeat.c: New file.
4623 * gdb.base/bg-execution-repeat.exp: New file.
4624
0ff33695
PA
46252014-10-17 Pedro Alves <palves@redhat.com>
4626
4627 PR gdb/17300
4628 * gdb.base/continue-all-already-running.c: New file.
4629 * gdb.base/continue-all-already-running.exp: New file.
4630
6fdebc3d
PA
46312014-10-17 Pedro Alves <palves@redhat.com>
4632
4633 PR gdb/17472
4634 * gdb.base/annota-input-while-running.c: New file.
4635 * gdb.base/annota-input-while-running.exp: New file.
4636
32a8097b
PA
46372014-10-17 Pedro Alves <palves@redhat.com>
4638
4639 * gdb.base/callfuncs.exp: emove references to osf.
4640 * gdb.base/sigall.exp: Likewise.
4641 * gdb.gdb/selftest.exp: Likewise.
4642 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
4643 * gdb.mi/non-stop.c: Likewise.
4644 * gdb.mi/pthreads.c: Likewise.
4645 * gdb.reverse/sigall-precsave.exp: Likewise.
4646 * gdb.reverse/sigall-reverse.exp: Likewise.
4647 * gdb.threads/pthreads.c: Likewise.
4648 * gdb.threads/pthreads.exp: Likewise.
4649
7a3517ff
YQ
46502014-10-17 Yao Qi <yao@codesourcery.com>
4651
4652 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
4653 check 'target_info exists noargs'.
4654 (test_command_prompt_position): Likewise.
4655 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
4656 Remove "set args".
4657 (progvar_simple_while_test): Likewise.
4658 (progvar_complex_if_while_test): Likewise.
4659 (if_while_breakpoint_command_test): Likewise.
4660 (infrun_breakpoint_command_test): Likewise.
4661 (breakpoint_command_test): Likewise.
4662 (watchpoint_command_test): Likewise.
4663 (bp_deleted_in_command_test): Likewise.
4664 (temporary_breakpoint_commands): Likewise.
4665
bb99c472
YQ
46662014-10-16 Yao Qi <yao@codesourcery.com>
4667
4668 * gdb.base/remotetimeout.exp: Remove noargs checking.
4669
7c16b83e
PA
46702014-10-15 Pedro Alves <palves@redhat.com>
4671
4672 PR breakpoints/9649
4673 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
4674 * gdb.base/breakpoint-in-ro-region.exp
4675 (probe_target_hardware_step): New procedure.
4676 (top level): Probe hardware stepping and hardware breakpoint
4677 support. Test stepping through a read-only region, with both
4678 "breakpoint auto-hw" on and off and both "always-inserted" on and
4679 off.
4680
35a49624
IB
46812014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
4682
4683 * gdb.dlang/demangle.exp: Update for demangling changes.
4684
2d1c107c
SC
46852014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4686
4687 * gdb.cp/non-trivial-retval.cc: Add new test cases.
4688 * gdb.cp/non-trivial-retval.exp: Add new tests.
4689
778811d5
SC
46902014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4691
4692 PR c++/13403
4693 PR c++/15154
4694 * gdb.cp/non-trivial-retval.cc: New file.
4695 * gdb.cp/non-trivial-retval.exp: New file.
4696
10c5f0a8
YQ
46972014-10-15 Yao Qi <yao@codesourcery.com>
4698
4699 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
4700 remote host.
4701
65d7b369
YQ
47022014-10-15 Yao Qi <yao@codesourcery.com>
4703
4704 * gdb.python/py-symbol.exp: Match file base name if host is
4705 remote, otherwise match file name with dir name.
4706 * gdb.python/py-symtab.exp: Likewise.
4707 * gdb.python/python.exp: Likewise.
4708
46dc1394
YQ
47092014-10-15 Yao Qi <yao@codesourcery.com>
4710
4711 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
4712 pattern.
4713 * gdb.python/py-symtab.exp: Likewise.
4714 * gdb.python/python.exp: Remove trailing ".*". Fix typo
4715 locationn.
4716
c40cc657
JB
47172014-10-14 Joel Brobecker <brobecker@adacore.com>
4718
4719 * gdb.ada/addr_arith: New testcase.
4720
2abf49e1
MR
47212014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
4722
4723 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
4724 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
4725 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
4726 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
4727
f7088df3
SDJ
47282014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
4729
4730 * gdb.arch/stap-eval-lang-ada.S: Likewise.
4731 * gdb.arch/stap-eval-lang-ada.c: Likewise.
4732 * gdb.arch/stap-eval-lang-ada.exp: New file.
4733
4dc06805
YQ
47342014-10-14 Yao Qi <yao@codesourcery.com>
4735
4736 * gdb.mi/mi-var-child.c (nothing1): New function.
4737 (nothing2): New function.
4738 (do_children_tests): Set function pointers by nothing1 and
4739 nothing2.
4740 * gdb.mi/mi-var-child.exp: Step over new added statements.
4741 Update test to match the new output.
4742 * gdb.mi/var-cmd.c (nothing1): New function.
4743 (nothing2): New function.
4744 (do_children_tests): Set function pointers by nothing1 and
4745 nothing2.
4746 * gdb.mi/mi-var-display.exp: Update test to match output.
4747 Step to the line specified by $line_dct_nothing.
4748 Increase the number of lines to step.
4749
46a93de2
YQ
47502014-10-14 Yao Qi <yao@codesourcery.com>
4751
4752 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
4753 tests.
4754 * gdb.mi/mi2-var-child.exp: Likewise.
4755
14ea52ee
DE
47562014-10-13 Doug Evans <dje@google.com>
4757
4758 * gdb.python/py-objfile.exp: Change name of file name test.
4759
e5c6e92b
DE
47602014-10-13 Doug Evans <dje@google.com>
4761
4762 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
4763 from the start of the CU.
4764
c780cc2f
JK
47652014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4766 Yao Qi <yao@codesourcery.com>
4767
4768 Fix "save breakpoints" for "catch" command.
4769 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
4770 Remove -nonewline. Match also the added "main" line.
4771
99894e11
JK
47722014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4773
4774 Fix "save breakpoints" for "disable $bpnum" command.
4775 * gdb.base/save-bp.c (main): Add label.
4776 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
4777
6e1ac5a3
JK
47782014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4779
4780 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
4781
754dd2b0
YQ
47822014-10-11 Yao Qi <yao@codesourcery.com>
4783
4784 * gdb.server/server-kill.exp: Execute command
4785 "set remote trace-status-packet on" before "tstatus".
4786
f90183d7
YQ
47872014-10-11 Yao Qi <yao@codesourcery.com>
4788
4789 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
4790 (main): Call getppid.
4791 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
4792 and continue to it. Read variable "server_pid".
4793
bf40a607
YQ
47942014-10-11 Yao Qi <yao@codesourcery.com>
4795
4796 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
4797
052ca370
YQ
47982014-10-11 Yao Qi <yao@codesourcery.com>
4799
4800 * gdb.threads/thread-find.exp: Don't execute command
4801 "info threads".
4802 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
4803 * gdb.threads/linux-dp.exp: Don't check the condition
4804 $threads_created equals to zero.
4805
3831839c
PA
48062014-10-10 Pedro Alves <palves@redhat.com>
4807
4808 * gdb.base/bigcore.exp: Remove references to IRIX.
4809 * gdb.base/funcargs.exp: Likewise.
4810 * gdb.base/interrupt.exp: Likewise.
4811 * gdb.base/mips_pro.exp: Likewise.
4812 * gdb.base/nodebug.exp: Likewise.
4813 * gdb.base/setvar.exp: Likewise.
4814 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
4815
8b9a549d
PA
48162014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4817 Pedro Alves <palves@redhat.com>
4818
4819 PR symtab/14466
4820 * gdb.base/vdso-warning.c: New file.
4821 * gdb.base/vdso-warning.exp: New file.
4822
d48ba5e8
DE
48232014-10-02 Doug Evans <dje@google.com>
4824
4825 * gdb.base/structs.c (main): Don't run forever.
4826
2278c276
PA
48272014-10-02 Pedro Alves <palves@redhat.com>
4828
4829 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
4830 (top level) <stop threads 1, stop threads 2>: Use it.
4831
b57bacec
PA
48322014-10-02 Pedro Alves <palves@redhat.com>
4833
4834 * gdb.threads/break-while-running.exp (test): Add new
4835 'update_thread_list' argument. Skip "info threads" if false.
4836 (top level): Add new 'update_thread_list' axis.
4837
13fd3ff3
PA
48382014-10-02 Pedro Alves <palves@redhat.com>
4839
4840 PR breakpoints/17431
4841 * gdb.base/execl-update-breakpoints.c: New file.
4842 * gdb.base/execl-update-breakpoints.exp: New file.
4843
0fec99e8
PA
48442014-10-01 Pedro Alves <palves@redhat.com>
4845
4846 * gdb.base/breakpoint-in-ro-region.c: New file.
4847 * gdb.base/breakpoint-in-ro-region.exp: New file.
4848
2ddf4301
SM
48492014-10-01 Simon Marchi <simon.marchi@ericsson.com>
4850
4851 * gdb.mi/mi-exit-code.exp: New file.
4852 * gdb.mi/mi-exit-code.c: New file.
4853
6a5f3f43
YQ
48542014-09-30 Yao Qi <yao@codesourcery.com>
4855
4856 * lib/prelink-support.exp (build_executable_own_libs): Error if
4857 the target isn't native.
4858
345bcc73
YQ
48592014-09-30 Yao Qi <yao@codesourcery.com>
4860
4861 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
4862 false.
4863
a25a5a45
PA
48642014-09-22 Pedro Alves <palves@redhat.com>
4865
4866 * gdb.threads/break-while-running.exp: New file.
4867 * gdb.threads/break-while-running.c: New file.
4868
00ba3162
YQ
48692014-09-19 Yao Qi <yao@codesourcery.com>
4870
4871 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
4872 Invoke test. Restart GDB with --readnow and invoke test again.
4873
c3b7b696
YQ
48742014-09-19 Yao Qi <yao@codesourcery.com>
4875
4876 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
4877 proc set_breakpoint_on_gcd_function. Invoke
4878 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
4879 invoke set_breakpoint_on_gcd_function again.
4880
2b4fd423
DE
48812014-09-18 Doug Evans <dje@google.com>
4882
4883 * gdb.dwarf2/symtab-producer.exp: New file.
4884
a5947601
SDJ
48852014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
4886
4887 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
4888 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
4889 * gdb.base/global-var-nested-by-dso.c: Likewise.
4890 * gdb.base/global-var-nested-by-dso.exp: Likewise.
4891
91c19059
SDJ
48922014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
4893 Pedro Alves <palves@redhat.com>
4894
4895 * gdb.base/watch-bitfields.exp: Pass string other than test file
4896 name to prepare_for_testing.
4897 (watch): New procedure.
4898 (expect_watchpoint): Use with_test_prefix.
4899 (top level): Factor out tests to ...
4900 (test_watch_location, test_regular_watch): ... these new
4901 procedures, and use with_test_prefix and gdb_continue_to_end.
4902
bb9d5f81
PP
49032014-09-16 Patrick Palka <patrick@parcs.ath.cx>
4904
4905 PR breakpoints/12526
4906 * gdb.base/watch-bitfields.exp: New file.
4907 * gdb.base/watch-bitfields.c: New file.
4908
635856f5
PA
49092014-09-16 Pedro Alves <palves@redhat.com>
4910
4911 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
4912 software and hardware addresses, not software address against
4913 itself.
4914
7280ceea
PA
49152014-09-16 Pedro Alves <palves@redhat.com>
4916
4917 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
4918 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
4919
428b16bd
PA
49202014-09-16 Pedro Alves <palves@redhat.com>
4921
4922 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
4923 files.
4924 * gdb.base/a2-run.exp: Remove all code guarded by istarget
4925 "*-*-vxworks*" throughout.
4926 * gdb.base/break.exp: Likewise.
4927 * gdb.base/default.exp: Likewise.
4928 * gdb.base/scope.exp: Likewise.
4929 * gdb.base/sepdebug.exp: Likewise.
4930 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
4931 throughout.
4932 * gdb.base/run.c: Likewise.
4933 * gdb.base/sepdebug.c: Likewise.
4934 * gdb.hp/gdb.aCC/run.c: Likewise.
4935 * gdb.reverse/until-reverse.c: Likewise.
4936 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
4937
666d413c
YQ
49382014-09-16 Yao Qi <yao@codesourcery.com>
4939
4940 * boards/local-remote-host-native.exp: New file.
4941
57cbd724
DE
49422014-09-14 Doug Evans <xdje42@gmail.com>
4943
4944 * gdb.threads/queue-signal.c (thread_count): New variable.
4945 (thread_count_mutex, thread_count_condvar): New variables.
4946 (incr_thread_count, wait_all_threads_running): New functions.
4947 (main): Wait for all threads to be in their thread functions.
4948
81219e53
DE
49492014-09-13 Doug Evans <xdje42@gmail.com>
4950
4951 * gdb.threads/queue-signal.c: New file.
4952 * gdb.threads/queue-signal.exp: New file.
4953
3714cea7
DE
49542014-09-13 Doug Evans <xdje42@gmail.com>
4955
4956 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
4957 be consistent with what default_gdb_init uses.
4958 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
4959 the plain text of the prompt. Add some logging printfs.
4960 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
4961
fa43b1d7
PA
49622014-09-12 Pedro Alves <palves@redhat.com>
4963
4964 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
4965 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
4966 * gdb.arch/i386-size-overlap.exp: Likewise.
4967 * gdb.arch/i386-size.exp: Likewise.
4968 * gdb.arch/i386-unwind.exp: Likewise.
4969 * gdb.base/a2-run.exp: Likewise.
4970 * gdb.base/break.exp: Likewise.
4971 * gdb.base/charset.exp: Likewise.
4972 * gdb.base/chng-syms.exp: Likewise.
4973 * gdb.base/commands.exp: Likewise.
4974 * gdb.base/dbx.exp: Likewise.
4975 * gdb.base/find.exp: Likewise.
4976 * gdb.base/funcargs.exp: Likewise.
4977 * gdb.base/jit-simple.exp: Likewise.
4978 * gdb.base/reread.exp: Likewise.
4979 * gdb.base/sepdebug.exp: Likewise.
4980 * gdb.base/step-bt.exp: Likewise.
4981 * gdb.cp/mb-inline.exp: Likewise.
4982 * gdb.cp/mb-templates.exp: Likewise.
4983 * gdb.objc/basicclass.exp: Likewise.
4984 * gdb.threads/killed.exp: Likewise.
4985
9d9bf2df
EBM
49862014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4987
4988 PR tdep/17379
4989 * gdb.arch/powerpc-stackless.S: New file.
4990 * gdb.arch/powerpc-stackless.exp: New file.
4991
1cf2f1b0
JK
49922014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4993
4994 * gdb.base/attach.c: Include unistd.h.
4995 (main): Call alarm. Add label postloop.
4996 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
4997 gdb_breakpoint, gdb_continue_to_breakpoint.
4998 (test_command_line_attach_run): Kill ${testpid} in one exit path.
4999
98880d46
PA
50002014-09-11 Pedro Alves <palves@redhat.com>
5001
5002 PR gdb/17347
5003 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5004 * gdb.base/attach.exp (test_command_line_attach_run): New
5005 procedure.
5006 (top level): Call it.
5007
4c92ff2c
PA
50082014-09-11 Pedro Alves <palves@redhat.com>
5009
5010 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5011 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5012 (do_command_attach_tests): Use spawn_wait_for_attach.
5013 * gdb.base/solib-overlap.exp: Likewise.
5014 * gdb.multi/multi-attach.exp: Likewise.
5015 * gdb.python/py-prompt.exp: Likewise.
5016 * gdb.python/py-sync-interp.exp: Likewise.
5017 * gdb.server/ext-attach.exp: Likewise.
5018
3adc1a7d
GKB
50192014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5020
5021 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5022 command in testcase. Simplify testcase.
5023
96334934
JB
50242014-09-10 Joel Brobecker <brobecker@adacore.com>
5025
5026 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5027
eb479039
JB
50282014-09-10 Joel Brobecker <brobecker@adacore.com>
5029
5030 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5031
deede10c
JB
50322014-09-10 Joel Brobecker <brobecker@adacore.com>
5033
5034 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5035
7828a5f5
JB
50362014-09-10 Joel Brobecker <brobecker@adacore.com>
5037
5038 * gdb.dwarf2/dynarr-ptr.c: New file.
5039 * gdb.dwarf2/dynarr-ptr.exp: New file.
5040
33aeebcf
MR
50412014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5042
5043 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5044 of 30 rather than hardcoding 120 for a slow test case. Take the
5045 `gdb,timeout' target setting into account for this calculation.
5046 Don't extend the timeout for the test cases that don't need it.
5047
7b415901
MR
50482014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5049
5050 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5051 a factor of 2 for a slow test case. Take the `gdb,timeout'
5052 target setting into account for this calculation.
5053 * gdb.reverse/until-precsave.exp: Increase the timeout by
5054 a factor of 15 and 3 respectively rather than adding 120
5055 for a pair of slow test cases. Take the `gdb,timeout'
5056 target setting into account for this calculation.
5057
4a40f85a
MR
50582014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5059
5060 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5061 timeout, don't pass one down to gdb_expect.
5062 (gdb_expect): Rework timeout selection.
5063
09635af7
MR
50642014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5065
5066 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5067 exception on timeout.
5068 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5069 (gdbserver_start_extended): Catch any `gdbserver_start' error
5070 exceptions.
5071 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5072 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5073 `gdbserver_gdb_load' error exceptions.
5074
2bdd10b7
MR
50752014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5076
5077 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5078 120 on waiting for the TCP socket to open.
5079
316935f0
DE
50802014-09-09 Doug Evans <xdje42@gmail.com>
5081
5082 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5083 _caller_matches, _any_caller_is, _any_caller_matches.
5084
83740597
DE
50852014-09-09 Doug Evans <xdje42@gmail.com>
5086
5087 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5088
4c122fc3
YQ
50892014-09-09 Yao Qi <yao@codesourcery.com>
5090
5091 * gdb.mi/mi-var-display.exp: Set print symbol off.
5092
a9f116cb
GKB
50932014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5094
5095 PR gdb/17035
5096 * gdb.base/commands.exp: Add tests to verify user-defined
5097 commands with empty bodies.
5098 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5099 python commands in `show user command`.
5100 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5101 scheme commands in `show user command`.
5102
c75bd3a2
JK
51032014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5104
5105 PR python/17355
5106 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5107 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5108 * gdb.python/py-framefilter-invalidarg.exp: New file.
5109 * gdb.python/py-framefilter-invalidarg.py: New file.
5110
faa42425
DE
51112014-09-06 Doug Evans <xdje42@gmail.com>
5112
5113 PR 15276
5114 * gdb.python/py-caller-is.c: New file.
5115 * gdb.python/py-caller-is.exp: New file.
5116
474ca4f6
SDJ
51172014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5118
5119 PR gdb/17235
5120 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5121 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5122
eb0b0463
SDJ
51232014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5124
5125 PR fortran/17237
5126 * gdb.fortran/print-formatted.exp: New file.
5127 * gdb.fortran/print-formatted.f90: Likewise.
5128
5f3b99cf
SS
51292014-09-03 Sasha Smundak <asmundak@google.com>
5130
5131 * gdb.python/py-frame.exp: Test Frame.read_register.
5132
7d793aa9
SDJ
51332014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5134
5135 PR python/16699
5136 * gdb.python/py-completion.exp: New file.
5137 * gdb.python/py-completion.py: Likewise.
5138
fb0576e9
DE
51392014-08-28 Doug Evans <dje@google.com>
5140
5141 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5142 eax,etc. are live with values set by gdb and thus the compiler can't
5143 use them.
5144 * gdb.arch/i386-pseudo.c (main): Ditto.
5145
ee92b0dd
DE
51462014-08-27 Doug Evans <dje@google.com>
5147
5148 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5149
6649db35
DE
51502014-08-25 Doug Evans <dje@google.com>
5151
5152 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5153 (main): Ditto.
5154
564b7600
DE
51552014-08-25 Doug Evans <dje@google.com>
5156
5157 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5158
3881fb67
YQ
51592014-08-24 Yao Qi <yao@codesourcery.com>
5160
5161 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5162 symbol off.
5163 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5164
a05a36a5
DE
51652014-08-22 Doug Evans <dje@google.com>
5166
5167 PR 17276
5168 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5169 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5170 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5171
7c343b48
YQ
51722014-08-22 Yao Qi <yao@codesourcery.com>
5173
5174 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5175 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5176 * gdb.python/python.exp: Likewise. Use .py file on the host
5177 instead of the build.
5178
22fd09ae
JK
51792014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5180
5181 * gdb.threads/gcore-stale-thread.c: New file.
5182 * gdb.threads/gcore-stale-thread.exp: New file.
5183
a8454a7c
PA
51842014-08-21 Pedro Alves <palves@redhat.com>
5185
5186 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5187 * gdb.base/gcore-relro-pie.exp: Likewise.
5188 * gdb.base/gcore-relro.exp: Likewise.
5189 * gdb.base/gcore.exp: Likewise.
5190 * gdb.base/print-symbol-loading.exp: Likewise.
5191 * gdb.threads/gcore-thread.exp: Likewise.
5192 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5193
2a31c623
PA
51942014-08-20 Pedro Alves <palves@redhat.com>
5195 Jan Kratochvil <jan.kratochvil@redhat.com>
5196
5197 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5198 configure.
5199 (EXPECT): Handle READ1 being set.
5200 (all): Depend on EXTRA_RULES.
5201 (check-read1, expect-read1, read1.so, read1): New rules.
5202 * README (Testsuite Parameters): Document the READ1 make variable.
5203 (Race detection): New section.
5204 * configure: Regenerate.
5205 * configure.ac: If build==host==target, and running under a
5206 GNU/glibc system, add read1 to the extra Makefile rules.
5207 (EXTRA_RULES): AC_SUBST it.
5208 * lib/read1.c: New file.
5209
d36430db
JB
52102014-08-20 Joel Brobecker <brobecker@adacore.com>
5211
5212 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5213 the handling of variables declared as a typedef to an array
5214 which a DW_AT_data_location attribute.
5215
9a0dc9e3
PA
52162014-08-19 Andrew Burgess <aburgess@broadcom.com>
5217 Pedro Alves <palves@redhat.com>
5218
5219 PR symtab/14604
5220 PR symtab/14605
5221 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5222 gdb_test.
5223
0718a8da
PA
52242014-08-19 Pedro Alves <palves@redhat.com>
5225
5226 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5227
13b448cd
YQ
52282014-08-19 Yao Qi <yao@codesourcery.com>
5229
5230 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5231 right line.
5232
1cbf5077
DB
52332014-08-18 David Blaikie <dblaikie@gmail.com>
5234
5235 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5236
bf0fae19
JB
52372014-08-18 Joel Brobecker <brobecker@adacore.com>
5238
5239 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5240 attribute in array range.
5241
3c8c5dcc
JB
52422014-08-18 Joel Brobecker <brobecker@adacore.com>
5243
5244 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5245
e66d4446
SC
52462014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5247
5248 PR c++/17132
5249 * gdb.cp/pr17132.cc: New file.
5250 * gdb.cp/pr17132.exp: New file.
5251
940df408
SC
52522014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5253
5254 * gdb.python/py-xmethods.py (A_getarrayind)
5255 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5256 Use 'print' with function call syntax.
5257 (E_method_matcher.match): Fix tab vs space indentation mixup.
5258
ebcc6c3a
YQ
52592014-08-15 Yao Qi <yao@codesourcery.com>
5260
5261 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5262 false.
5263
775e0f04
YQ
52642014-08-15 Yao Qi <yao@codesourcery.com>
5265
5266 * gdb.cp/casts.exp: Set print symbol off.
5267 * gdb.cp/class2.exp: Likewise.
5268 * gdb.cp/overload.exp: Likewise.
5269 * gdb.cp/templates.exp: Likewise.
5270
d769e349
DE
52712014-08-11 Doug Evans <dje@google.com>
5272
5273 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5274 (test_load_shlib): Update.
5275
20c6f1e1
YQ
52762014-08-09 Yao Qi <yao@codesourcery.com>
5277
5278 * gdb.base/display.exp: Invoke is_address_zero_readable.
5279 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5280 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5281 * gdb.base/hbreak-unmapped.exp: Return if
5282 is_address_zero_readable returns true.
5283 * gdb.base/signest.exp: Likewise.
5284 * gdb.base/signull.exp: Likewise.
5285 * gdb.base/sigbpt.exp: Likewise.
5286 * gdb.guile/scm-disasm.exp: Do the test if
5287 is_address_zero_readable returns false.
5288 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5289 * gdb.python/py-arch.exp: Likewise.
5290 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5291 * lib/gdb.exp (is_address_zero_readable): New proc.
5292
5792e8e3
YQ
52932014-08-09 Yao Qi <yao@codesourcery.com>
5294
5295 PR testsuite/13443
5296 * gdb.mi/mi-var-display.exp: Make test messages unique.
5297
3cecbbbe
TT
52982014-08-04 Tom Tromey <tromey@redhat.com>
5299
5300 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5301 target 0".
5302
00b51ff5
TT
53032014-08-04 Tom Tromey <tromey@redhat.com>
5304
5305 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5306 "target_resume".
5307
6908c509
JB
53082014-08-01 Joel Brobecker <brobecker@adacore.com>
5309
5310 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5311 inner_vla_struct_object_size.
5312 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5313 as xfail.
5314
cc6563d2
PA
53152014-07-30 Pedro Alves <palves@redhat.com>
5316
5317 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5318 comment.
5319
7e09a223
YQ
53202014-07-29 Yao Qi <yao@codesourcery.com>
5321
5322 PR gdb/17206
5323 * gdb.base/until-nodebug.exp: New.
5324
7ebdbe92
DE
53252014-07-28 Doug Evans <xdje42@gmail.com>
5326
5327 PR guile/17203
5328 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5329 previously existing parameter, and previously ambiguously spelled
5330 parameter.
5331
fdb1adc6
WN
53322014-07-28 Will Newton <will.newton@linaro.org>
5333
5334 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5335
186fcde0
DE
53362014-07-26 Ludovic Courtès <ludo@gnu.org>
5337 Doug Evans <xdje42@gmail.com>
5338
5339 PR guile/17146
5340 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5341
70509625
PA
53422014-07-25 Pedro Alves <palves@redhat.com>
5343
5344 * gdb.threads/signal-command-handle-nopass.c: New file.
5345 * gdb.threads/signal-command-handle-nopass.exp: New file.
5346 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5347 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5348 * gdb.threads/signal-delivered-right-thread.c: New file.
5349 * gdb.threads/signal-delivered-right-thread.exp: New file.
5350
c3f814a1
PA
53512014-07-25 Pedro Alves <palves@redhat.com>
5352
5353 * gdb.base/double-prompt-target-event-error.exp
5354 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5355 match.
5356 (cancel_pagination_in_target_event): Rework double prompt
5357 detection.
5358 * gdb.base/paginate-after-ctrl-c-running.exp
5359 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5360 <return>' match.
5361 * gdb.base/paginate-bg-execution.exp
5362 (test_bg_execution_pagination_return)
5363 (test_bg_execution_pagination_cancel): Remove '-notransfer
5364 <return>' matches.
5365 * gdb.base/paginate-execution-startup.exp
5366 (test_fg_execution_pagination_return)
5367 (test_fg_execution_pagination_cancel): Remove '-notransfer
5368 <return>' matches.
5369 * gdb.base/paginate-inferior-exit.exp
5370 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5371 match.
5372 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5373 * lib/gdb.exp (pagination_prompt): Run text through
5374 string_to_regexp.
5375 (gdb_test_multiple): Match $pagination_prompt instead of
5376 "<return>".
5377 (string_to_regexp): Move to lib/gdb-utils.exp.
5378
e214cf6c
JK
53792014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5380
5381 * gdb.arch/amd64-entry-value-paramref.S: New file.
5382 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5383 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5384 * gdb.arch/amd64-optimout-repeat.S: New file.
5385 * gdb.arch/amd64-optimout-repeat.c: New file.
5386 * gdb.arch/amd64-optimout-repeat.exp: New file.
5387
17d0c5c8
JK
53882014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5389
5390 PR gdb/17170
5391 * gdb.base/statistics.exp: New file.
5392
b8b8facf
DE
53932014-07-17 Doug Evans <dje@google.com>
5394
74b49205 5395 PR gdb/17170
b8b8facf
DE
5396 * gdb.base/maint.exp: Update testing of per-command stats.
5397
1b5d0ab3
PA
53982014-07-16 Pedro Alves <palves@redhat.com>
5399
5400 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5401 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5402 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5403 (tfile_write_buf): New functions.
5404 (add_memory_block): Rewrite using the above.
5405 (adjust_function_address): New function.
5406 (FUNCTION_ADDRESS): New macro.
5407 (write_basic_trace_file): Remove short_x local, and use
5408 tfile_write_16. Change type of func_addr local to unsigned long
5409 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5410 here. Cast argument of add_memory_block to char pointer.
5411 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5412 (main): Remove parameters.
5413 * gdb.trace/tfile.exp: Remove nowarnings.
5414
4d974e88
SM
54152014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5416
5417 * gdb.base/debug-expr.exp: Test string evaluation with
5418 "debug expression" on.
5419
41e99568
PA
54202014-07-15 Pedro Alves <palves@redhat.com>
5421
5422 * gdb.base/reread.exp: Use clean_restart.
5423
487d9753
PL
54242014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5425
5426 * gdb.arch/avr-flash-qualifer.c: New.
5427 * gdb.arch/avr-flash-qualifer.exp: New.
5428
cc1c52ad
PA
54292014-07-14 Pedro Alves <palves@redhat.com>
5430
5431 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5432 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5433
1e973570
PA
54342014-07-14 Pedro Alves <palves@redhat.com>
5435
5436 * gdb.base/double-prompt-target-event-error.c: New file.
5437 * gdb.base/double-prompt-target-event-error.exp: New file.
5438
93d6eb10
PA
54392014-07-14 Pedro Alves <palves@redhat.com>
5440
5441 PR gdb/17072
5442 * gdb.base/paginate-inferior-exit.c: New file.
5443 * gdb.base/paginate-inferior-exit.exp: New file.
5444
0017922d
PA
54452014-07-14 Pedro Alves <palves@redhat.com>
5446
5447 PR gdb/17072
5448 * gdb.base/paginate-bg-execution.c: New file.
5449 * gdb.base/paginate-bg-execution.exp: New file.
5450
94696ad3
PA
54512014-07-14 Pedro Alves <palves@redhat.com>
5452
5453 PR gdb/17072
5454 * gdb.base/paginate-execution-startup.c: New file.
5455 * gdb.base/paginate-execution-startup.exp: New file.
5456 * lib/gdb.exp (pagination_prompt): New global.
5457 (default_gdb_spawn): New procedure, factored out from
5458 default_gdb_spawn.
5459 (default_gdb_start): Adjust to call default_gdb_spawn.
5460 (gdb_spawn): New procedure.
5461
bd293940
PA
54622014-07-14 Pedro Alves <palves@redhat.com>
5463
5464 * lib/gdb.exp (gdb_assert): New procedure.
5465 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
5466
c933f875
PA
54672014-07-14 Pedro Alves <palves@redhat.com>
5468
5469 * gdb.base/execution-termios.c: New file.
5470 * gdb.base/execution-termios.exp: New file.
5471
d98b7a16
TT
54722014-07-14 Tom Tromey <tromey@redhat.com>
5473
5474 * gdb.cp/vla-cxx.cc: New file.
5475 * gdb.cp/vla-cxx.exp: New file.
5476
548740d6
TT
54772014-07-14 Tom Tromey <tromey@redhat.com>
5478
5479 * gdb.reverse/rerun-prec.c: New file.
5480 * gdb.reverse/rerun-prec.exp: New file.
5481
a25eb028
MR
54822014-07-12 Maciej W. Rozycki <macro@mips.com>
5483 Maciej W. Rozycki <macro@codesourcery.com>
5484
5485 * lib/gdb-utils.exp: New file.
5486 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
5487 inline `gdb_init_command' processing.
5488 (gdb_start_cmd): Likewise.
5489 * lib/mi-support.exp (mi_run_cmd): Likewise.
5490 * README: Document `gdb_init_command' and `gdb_init_commands'.
5491
218c2655
JK
54922014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5493
5494 Fix false FAIL running under a very long directory name.
5495 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
5496 and "set print elements 10000". Twice.
5497
5401fde3
YQ
54982014-07-11 Yao Qi <yao@codesourcery.com>
5499
5500 * gdb.base/exprs.exp: "set print symbol off".
5501
e76126e8
PA
55022014-07-11 Pedro Alves <palves@redhat.com>
5503
5504 * gdb.threads/kill.c: New file.
5505 * gdb.threads/kill.exp: New file.
5506
2d6f0de6
YQ
55072014-07-10 Yao Qi <yao@codesourcery.com>
5508
5509 * gdb.trace/tfile.c (write_basic_trace_file)
5510 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
5511 address written to trace file.
5512
7180e04a
PA
55132014-07-09 Pedro Alves <palves@redhat.com>
5514
5515 * gdb.base/attach-wait-input.exp: New file.
5516 * gdb.base/attach-wait-input.c: New file.
5517
9a9a7608
AB
55182014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5519
5520 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
5521 setting up test structures.
5522 (main): Call new test function.
5523 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
5524 test function, continue into test function and walk test
5525 structures.
5526
161ac41e
YQ
55272014-07-02 Yao Qi <yao@codesourcery.com>
5528
5529 * gdb.trace/entry-values.c: Define labels 'foo_start' and
5530 'bar_start' at the beginning of functions 'foo' and 'bar'
5531 respectively.
5532 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
5533 instead of 'foo' and 'bar'.
5534
1f267ae3
MM
55352014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5536
5537 * gdb.btrace/segv.exp: New.
5538 * gdb.btrace/segv.c: New.
5539
2b239efb
LM
55402014-07-02 Luis Machado <lgustavo@codesourcery.com>
5541
5542 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
5543 instruction.
5544
cf363f18
MW
55452014-06-30 Mark Wielaard <mjw@redhat.com>
5546
5547 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
5548 vulture, vilify, villar): New volatile array constants.
5549 (vindictive, vegetation): New const volatile array constants.
5550 * gdb.base/volatile.exp: Test volatile and const volatile array
5551 types.
5552
aebf9d24
AA
55532014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5554
5555 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
5556 target lacks support for awatch, rwatch, or hbreak.
5557
b67a2c6f
YQ
55582014-06-27 Yao Qi <yao@codesourcery.com>
5559
5560 * gdb.multi/dummy-frame-restore.exp: New.
5561 * gdb.multi/dummy-frame-restore.c: New.
5562
aef92902
MM
55632014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5564
5565 * gdb.btrace/gcore.exp: New.
5566
8e9db26e
PA
55672014-06-23 Pedro Alves <palves@redhat.com>
5568
5569 * gdb.base/watchpoint-reuse-slot.c: New file.
5570 * gdb.base/watchpoint-reuse-slot.exp: New file.
5571
70afc5b7
SC
55722014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5573
5574 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
5575 progspace's filename in 'info', 'enable' and 'disable' command
5576 tests.
5577
b972bd9c
JK
55782014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5579
5580 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
5581 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5582 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
5583
125f8a3d
GB
55842014-06-20 Gary Benson <gbenson@redhat.com>
5585
5586 * gdb.arch/i386-avx.exp: Fix include file location.
5587 * gdb.arch/i386-sse.exp: Likewise.
5588
3ed9baed
IB
55892014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5590
5591 * gdb.dlang/expression.exp: New file.
5592
034f788c
PA
55932014-06-19 Pedro Alves <palves@redhat.com>
5594
5595 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
5596 out from ...
5597 (top level): ... here. Iterate running tests under different
5598 scheduler-locking settings.
5599
45371d0c
LM
56002014-06-18 Luis Machado <lgustavo@codesourcery.com>
5601
5602 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
5603 to DW_FORM_addr and use non-zero addresses.
5604
5d376983
SC
56052014-06-18 Siva Chandra Reddy <sivachandra@google.com>
5606
5607 PR gdb/17017
5608 * gdb.python/py-xmethods.cc: Add global function call counters and
5609 increment them in their respective functions. Remove "cout"
5610 statements.
5611 * gdb.python/py-xmethods.exp: Make tests check the global function
5612 call counters instead of depending on inferior IO.
5613
a1aa2221
LM
56142014-06-18 Don Breazeal <donb@codesourcery.com>
5615
5616 * gdb.base/foll-fork.exp (default_fork_parent_follow):
5617 Deleted procedure.
5618 (explicit_fork_parent_follow): Deleted procedure.
5619 (explicit_fork_child_follow): Deleted procedure.
5620 (test_follow_fork): New procedure.
5621 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 5622 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
5623 procedure calls.
5624
0fc05997
YQ
56252014-06-17 Yao Qi <yao@codesourcery.com>
5626
5627 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
5628 CP1252.
5629
70795c52
LM
56302014-06-17 Luis Machado <lgustavo@codesourcery.com>
5631
5632 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
5633 Initialize ptr and S explicitly.
5634 (skip_type_update_when_not_use_rtti_test): Likewise.
5635
6be47f0c
KS
56362014-06-16 Keith Seitz <keiths@redhat.com>
5637
5638 PR mi/15863
5639 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
5640 the inferior is started.
5641
d03de421
PA
56422014-06-16 Pedro Alves <palves@redhat.com>
5643
5644 * gdb.base/break-main-file-remove-fail.c: New file.
5645 * gdb.base/break-main-file-remove-fail.exp: New file.
5646 * gdb.base/break-unload-file.exp: Use build_executable instead of
5647 prepare_for_testing.
5648 (test_break): New parameter "initial_load". Handle it.
5649 (top level): Add initial_load cmdline/file axis.
5650
f9579b99
TT
56512014-06-12 Tom Tromey <tromey@redhat.com>
5652
5653 * gdb.base/completion.exp: Don't use directory name in test.
5654
3657956b
GB
56552014-06-09 Gary Benson <gbenson@redhat.com>
5656
5657 * gdb.base/sigall.c [Functions to send signals]: Reorder to
5658 separate the always-available ANSI-standard signals from the
5659 signals that require checking.
5660 (main): Likewise.
5661 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
5662 Likewise.
5663 (main): Likewise.
5664
4186eb54
KS
56652014-06-07 Keith Seitz <keiths@redhat.com>
5666
5667 Revert:
5668 PR c++/16253
5669 * gdb.cp/var-tag.cc: New file.
5670 * gdb.cp/var-tag.exp: New file.
5671 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5672 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5673 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5674 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5675
25326a28 56762014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
5677
5678 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
5679
829155c9
PA
56802014-06-06 Pedro Alves <palves@redhat.com>
5681
5682 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
5683 in target debug output instead of looking at RSP packets,
5684 disabling the test on any target that uses hardware stepping.
5685 Update comments.
5686
61c8d22e
PA
56872014-06-06 Pedro Alves <palves@redhat.com>
5688
5689 * gdb.base/break-unload-file.exp: Fix typo.
5690
d9a47287
YQ
56912014-06-06 Yao Qi <yao@codesourcery.com>
5692
5693 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
5694 from "jit_function" to "^jit_function".
5695
e5e01dbf
YQ
56962014-06-06 Yao Qi <yao@codesourcery.com>
5697
5698 * gdb.base/async.c (foo): Add one statement.
5699 * gdb.base/async.exp: Get the next instruction address and
5700 match the output of "nexti" by instruction address. Match
5701 the hex address in the output of "finish".
5702
73ba372c
GB
57032014-06-06 Gary Benson <gbenson@redhat.com>
5704
5705 * gdb.base/call-signals.c: Remove preprocessor conditionals
5706 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
5707 SIGSEGV and SIGTERM.
5708 * gdb.base/sigall.c: Likewise.
5709 * gdb.base/unwindonsignal.c: Likewise.
5710 * gdb.reverse/sigall-reverse.c: Likewise.
5711
831517df
YQ
57122014-06-06 Yao Qi <yao@codesourcery.com>
5713
5714 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
5715 readable, skip the test.
5716
b8b91e98
YQ
57172014-06-06 Yao Qi <yao@codesourcery.com>
5718
5719 * gdb.threads/staticthreads.c (thread_function): Move the line
5720 setting breakpoint on forward.
5721 * gdb.threads/staticthreads.exp: Update comments.
5722
fb934770
LC
57232014-06-05 Ludovic Courtès <ludo@gnu.org>
5724
5725 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
5726 "history-append! type error".
5727
6ef284bd
SM
57282014-06-05 Simon Marchi <simon.marchi@ericsson.com>
5729
5730 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
5731 erroneous dprintf expected input.
5732
a872e241
DE
57332014-06-04 Doug Evans <xdje42@gmail.com>
5734
5735 * gdb.guile/scm-generics.exp: Delete.
5736
16f691fb
DE
57372014-06-04 Doug Evans <xdje42@gmail.com>
5738
5739 * gdb.guile/scm-breakpoint.exp: Update.
5740 Add tests for breakpoint registration.
5741
012370f6
TT
57422014-06-04 Tom Tromey <tromey@redhat.com>
5743
5744 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
5745 VLA-in-union.
5746 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
5747 inner_vla_struct, vla_union types. Initialize objects of those
5748 types and compute their sizes.
5749
9f5a4cef
HZ
57502014-06-04 Nathan Sidwell <nathan@codesourcery.com>
5751 Hui Zhu <hui@codesourcery.com>
5752
5753 * gdb.base/fileio.exp: Add test for shell not available as well as
5754 available.
5755 * gdb.base/fileio.c (test_system): Check for shell twice.
5756
90a45c4d
YQ
57572014-06-04 Yao Qi <yao@codesourcery.com>
5758
5759 * gdb.base/auto-connect-native-target.exp: Remove redundant
5760 space from the regexp pattern.
5761
70017e41
YQ
57622014-06-04 Yao Qi <yao@codesourcery.com>
5763
5764 * gdb.base/default.exp: Replace "child" with "native" in
5765 regexp pattern.
5766
883964a7
SC
57672014-06-03 Siva Chandra Reddy <sivachandra@google.com>
5768
5769 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
5770 * gdb.python/py-xmethods.exp: New tests to test xmethods.
5771 * gdb.python/py-xmethods.py: Python script supporting the
5772 new testcase and tests.
5773
ef370185
JB
57742014-06-03 Joel Brobecker <brobecker@adacore.com>
5775 Pedro Alves <palves@redhat.com>
5776
5777 PR breakpoints/17000
5778 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
5779 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
5780
1e2ccb61
BM
57812014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
5782
5783 * gdb.base/subst.exp: Add tests to verify partial path matching
5784 output.
5785
c6ec5ab2
PA
57862014-06-03 Pedro Alves <palves@redhat.com>
5787
5788 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
5789 target that doesn't use software single-stepping.
5790
835c559f
PA
57912014-06-03 Pedro Alves <palves@redhat.com>
5792
5793 PR breakpoints/17000
5794 * gdb.base/sss-bp-on-user-bp-2.c: New file.
5795 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
5796
06eb1586
DE
57972014-06-02 Doug Evans <xdje42@gmail.com>
5798
5799 * gdb.guile/scm-parameter.exp: New file.
5800
e698b8c4
DE
58012014-06-02 Doug Evans <xdje42@gmail.com>
5802
5803 * gdb.guile/scm-cmd.c: New file.
5804 * gdb.guile/scm-cmd.exp: New file.
5805
ded03782
DE
58062014-06-02 Doug Evans <xdje42@gmail.com>
5807
5808 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
5809 pretty-printer lookup.
5810 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
5811 (make-pp_s-printer): Call it.
5812 (make-pretty-printer-from-dict): New function.
5813 (lookup-pretty-printer-maker-from-dict): New function.
5814 (*pretty-printer*): Simplify.
5815 (make-objfile-pp_s-printer): New function.
5816 (install-objfile-pretty-printers!): New function.
5817 (make-progspace-pp_s-printer): New function.
5818 (install-progspace-pretty-printers!): New function.
5819 * gdb.guile/scm-progspace.c: New file.
5820 * gdb.guile/scm-progspace.exp: New file.
5821
41fac0cf
PA
58222014-06-02 Pedro Alves <palves@redhat.com>
5823
5824 * gdb.base/dprintf-bp-same-addr.c: New file.
5825 * gdb.base/dprintf-bp-same-addr.exp: New file.
5826
96ae5695
EBM
58272014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5828
5829 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
5830 * gdb.arch/powerpc-power.s: Likewise.
5831
da02b3a8
JB
58322014-06-02 Joel Brobecker <brobecker@adacore.com>
5833
5834 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
5835
c72b2e7b
YQ
58362014-06-01 Yao Qi <yao@codesourcery.com>
5837
5838 * gdb.base/watchpoint.exp (test_watch_location): Check null
5839 pointer can be dereferenced. If not, do the test, otherwise
5840 skip it.
5841
53e8a631
AB
58422014-05-30 Andrew Burgess <aburgess@broadcom.com>
5843
5844 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
5845 results.
5846 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
5847
938f0e2f
AB
58482014-05-30 Andrew Burgess <aburgess@broadcom.com>
5849
5850 * gdb.arch/amd64-invalid-stack-middle.S: New file.
5851 * gdb.arch/amd64-invalid-stack-middle.c: New file.
5852 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
5853 * gdb.arch/amd64-invalid-stack-top.c: New file.
5854 * gdb.arch/amd64-invalid-stack-top.exp: New file.
5855
9ba6657a
PA
58562014-05-30 Pedro Alves <palves@redhat.com>
5857
5858 PR breakpoints/17000
5859 * gdb.base/sss-bp-on-user-bp.c: New file.
5860 * gdb.base/sss-bp-on-user-bp.exp: New file.
5861
522c09bf
DB
58622014-05-30 David Blaikie <dblaikie@gmail.com>
5863
5864 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
5865 gnu_inline semantics via attribute.
5866 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
5867 source explicitly specifies the required semantics.
5868
bf4ef81e
MR
58692014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
5870
5871 * gdb.reverse/sigall-reverse.exp: Fix a typo.
5872
329ea579
PA
58732014-05-29 Pedro Alves <palves@redhat.com>
5874 Tom Tromey <tromey@redhat.com>
5875
5876 * gdb.base/async-shell.exp: Don't enable target-async.
5877 * gdb.base/async.exp
5878 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
5879 parameter. Adjust.
5880 (top level): Don't test with "target-async".
5881 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
5882 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
5883 * gdb.base/inferior-died.exp: Don't enable target-async.
5884 * gdb.base/interrupt-noterm.exp: Likewise.
5885 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
5886 * gdb.mi/mi-nonstop-exit.exp: Likewise.
5887 * gdb.mi/mi-nonstop.exp: Likewise.
5888 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
5889 * gdb.mi/mi-nsintrall.exp: Likewise.
5890 * gdb.mi/mi-nsmoribund.exp: Likewise.
5891 * gdb.mi/mi-nsthrexec.exp: Likewise.
5892 * gdb.mi/mi-watch-nonstop.exp: Likewise.
5893 * gdb.multi/watchpoint-multi.exp: Adjust comment.
5894 * gdb.python/py-evsignal.exp: Don't enable target-async.
5895 * gdb.python/py-evthreads.exp: Likewise.
5896 * gdb.python/py-prompt.exp: Likewise.
5897 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
5898 * gdb.server/solib-list.exp: Don't enable target-async.
5899 * gdb.threads/thread-specific-bp.exp: Likewise.
5900 * lib/mi-support.exp: Adjust to use mi-async.
5901
fd664c91
PA
59022014-05-29 Pedro Alves <palves@redhat.com>
5903
5904 PR gdb/13860
5905 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
5906 reason, even in sync mode.
5907
251bde03
PA
59082014-05-29 Pedro Alves <palves@redhat.com>
5909 Hui Zhu <hui@codesourcery.com>
5910
5911 PR PR15693
5912 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
5913 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
5914 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
5915 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
5916
7f3c0343
JB
59172014-05-28 Joel Brobecker <brobecker@adacore.com>
5918
5919 * config/monitor.exp (gdb_target_monitor): Replace use of
5920 "set remotebaud" by "set serial baud".
5921
b2715b27
AW
59222014-05-26 Andy Wingo <wingo@igalia.com>
5923
5924 * gdb.guile/scm-breakpoint.exp:
5925 * gdb.guile/scm-gsmob.exp: Update to use plain old object
5926 properties instead of gdb-object-properties.
5927
498a4489
YQ
59282014-05-26 Yao Qi <yao@codesourcery.com>
5929
5930 * gdb.server/no-thread-db.exp: Specify source file name
5931 explicitly when setting a breakpoint.
5932
589fdceb
MM
59332014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5934
5935 * gdb.btrace/vdso.c: New.
5936 * gdb.btrace/vdso.exp: New.
5937
e9089e05
MM
59382014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5939
5940 * gdb.base/gcore.exp (capture_command_output): Move ...
5941 * lib/gdb.exp (capture_command_output): ... here.
5942
67b5c0c1
MM
59432014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5944
5945 * gdb.btrace/data.exp: Test memory access during btrace replay.
5946
a2199296
SM
59472014-05-22 Simon Marchi <simon.marchi@ericsson.com>
5948
5949 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
5950
17b2616c
PA
59512014-05-21 Pedro Alves <palves@redhat.com>
5952
5953 PR gdb/13860
5954 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
5955 (top level): Test that output related to execution commands is
5956 sent to the console with CLI commands, but not with MI commands.
5957 Test that breakpoint events are always mirrored to the console.
5958 Also expect the new source line to be output after a "next" in
5959 async mode too. Make it a pass/fail test.
5960 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
5961 output.
5962 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
5963
5166082f
PA
59642014-05-21 Pedro Alves <palves@redhat.com>
5965
5966 * gdb.base/list.exp (build_pattern, test_list): New procedures.
5967 Use them to test variations of "list" after reaching a breakpoint.
5968 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
5969 Test "list" with listsize 10 after reaching a breakpoint.
5970 * gdb.python/python.exp (decode_line current location line
5971 number): Adjust expected line number.
5972
2f25d70f
SM
59732014-05-21 Simon Marchi <simon.marchi@ericsson.com>
5974
5975 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
5976 behavior for $args, pass it directly to "run".
5977
ff604a67
MR
59782014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
5979
5980 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
5981 30000 to 65536.
5982
6a3cb8e8
PA
59832014-05-21 Pedro Alves <palves@redhat.com>
5984
5985 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
5986 auto-connect-native-target off".
5987 * gdb.base/auto-connect-native-target.c: New file.
5988 * gdb.base/auto-connect-native-target.exp: New file.
5989
4ebfc96e
PA
59902014-05-21 Pedro Alves <palves@redhat.com>
5991
5992 * gdb.base/default.exp: Test "target native" instead of "target
5993 child".
5994
36d46afb
MW
59952014-05-21 Mark Wielaard <mjw@redhat.com>
5996
5997 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
5998
5876f503
JK
59992014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6000
6001 Fix TLS access for -static -pthread.
6002 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6003 <HAVE_TLS> (thread_function, main): Initialize it.
6004 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6005 Add clean_restart.
6006 <$have_tls != "">: Check TLSVAR.
6007
0256a6ac
PA
60082014-05-21 Pedro Alves <palves@redhat.com>
6009
6010 * gdb.base/dcache-line-read-error.c: New.
6011 * gdb.base/dcache-line-read-error.exp: New.
6012
936d2992
PA
60132014-05-20 Pedro Alves <palves@redhat.com>
6014
6015 * gdb.base/compare-sections.c: New file.
6016 * gdb.base/compare-sections.exp: New file.
6017
802e8e6d
PA
60182014-05-20 Pedro Alves <palves@redhat.com>
6019
6020 * gdb.base/break-idempotent.c: New file.
6021 * gdb.base/break-idempotent.exp: New file.
6022
e59fa00f
MM
60232014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6024
6025 * gdb.btrace/nohist.exp: New.
6026
8b696e31
YQ
60272014-05-20 Yao Qi <yao@codesourcery.com>
6028
6029 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6030 gdb.reverse directory and gdb_reverse_timeout exists in board
6031 setting.
6032 * README: Document gdb_reverse_timeout.
6033
73c9764f
YQ
60342014-05-20 Yao Qi <yao@codesourcery.com>
6035
6036 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6037 'test_file_name'. Treat args as a string instead of a list.
6038 (gdb_init): Rename argument 'args' by 'test_file_name'.
6039
f1f4348a
JK
60402014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6041
6042 * gdb.arch/powerpc-power.exp: New file.
6043 * gdb.arch/powerpc-power.s: New file.
6044
0dbe70ce
DE
60452014-05-16 Doug Evans <dje@google.com>
6046
6047 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
6048 * gdb.base/completion.exp: Check that all expected files exist
6049 before doing file completion.
0dbe70ce 6050
8d551b02
DE
60512014-05-16 Doug Evans <dje@google.com>
6052
6053 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6054 Update.
6055 (do_syscall_tests_without_xml): Update.
6056
73eb7709
PA
60572014-05-16 Pedro Alves <palves@redhat.com>
6058
6059 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6060 instead of "unknown output after running".
6061
3fae92fc
YQ
60622014-05-16 Yao Qi <yao@codesourcery.com>
6063
6064 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6065 file1.txt from host at the end.
6066 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6067
c2b2ccc5
DE
60682014-05-15 Doug Evans <dje@google.com>
6069
6070 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6071 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6072 loading file. Add test for TU lookup.
6073
8c217a4b
SM
60742014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6075
6076 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6077 calling "-exec-arguments" or "set args" before running the
6078 inferior.
6079
3deb39c6
SM
60802014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6081
6082 * lib/mi-support.exp (mi_expect_stop): Expect message for
6083 inferiors that exit with non-zero exit code.
6084
71a79f8c
YQ
60852014-05-14 Yao Qi <yao@codesourcery.com>
6086
6087 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6088 match absolute path on remote host.
6089 (test_file_list_exec_source_files): Remove "/" from the
6090 pattern.
6091
f23fcd46
YQ
60922014-05-14 Yao Qi <yao@codesourcery.com>
6093
6094 * boards/local-remote-host-notty.exp (${board}_file): New
6095 proc.
6096
9404b58f
KM
60972014-05-07 Kyle McMartin <kyle@redhat.com>
6098
6099 Pushed by Joel Brobecker <brobecker@adacore.com>.
6100 * gdb.arch/aarch64-atomic-inst.c: New file.
6101 * gdb.arch/aarch64-atomic-inst.exp: New file.
6102
5e45f04c
YQ
61032014-05-07 Yao Qi <yao@codesourcery.com>
6104
6105 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6106 in current context" too.
6107
c888a17d
KS
61082014-05-05 Keith Seitz <keiths@redhat.com>
6109
6110 * gdb.linespec/ls-dollar.exp: Add test for linespec
6111 file:convenience_variable.
6112
290a839c
YQ
61132014-05-05 Yao Qi <yao@codesourcery.com>
6114
6115 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6116 traceframes into tfile and ctf trace files. Read data from
6117 trace file and test collected data.
6118 (gdb_collect_locals_test): Likewise.
6119 (gdb_unavailable_registers_test): Likewise.
6120 (gdb_unavailable_floats): Likewise.
6121 (gdb_collect_globals_test): Likewise.
6122 (top-level): Append "ctf" to trace_file_targets if GDB
6123 supports.
6124
b5262cd0
YQ
61252014-05-05 Yao Qi <yao@codesourcery.com>
6126
6127 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6128 code to ...
6129 (gdb_collect_args_test_1): ... it. New proc.
6130 (gdb_collect_locals_test): Move some code to ...
6131 (gdb_collect_locals_test_1): ... it. New proc.
6132 (gdb_unavailable_registers_test): Move some code to ...
6133 (gdb_unavailable_registers_test_1): ... it. New proc.
6134 (gdb_unavailable_floats): Move some code to ...
6135 (gdb_unavailable_floats_1): ... it. New proc.
6136
30a1e6cc
SDJ
61372014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6138
6139 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6140 probes to test for bitness recognition.
6141 * gdb.arch/amd64-stap-optional-prefix.exp
6142 (test_probe_value_without_reg): New procedure.
6143 Add code to test for different kinds of bitness.
6144
f33da99a
SDJ
61452014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6146
6147 PR breakpoints/16889
6148 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6149 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6150
5b80f00d
PA
61512014-05-01 Pedro Alves <palves@redhat.com>
6152
6153 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6154 gdb_file_cmd if no file is specified.
6155 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6156 last_loaded_file to set the remote exec-file.
6157
f8c2a73c
PA
61582014-05-01 Pedro Alves <palves@redhat.com>
6159
6160 * boards/local-remote-host.exp: New file.
6161
be6e8ac7
PA
61622014-05-01 Pedro Alves <palves@redhat.com>
6163
6164 * boards/local-remote-host.exp: Rename to ...
6165 * boards/local-remote-host-notty.exp: ... this.
6166
cac0dc8f
JB
61672014-04-28 Joel Brobecker <brobecker@adacore.com>
6168
6169 * gdb.ada/dyn_arrayidx: New testcase.
6170
9730e6cc
YQ
61712014-04-26 Yao Qi <yao@codesourcery.com>
6172
6173 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6174 and compute the length of function main. Save it in
6175 $main_length.
6176 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6177 (top-level): Use gdb_compile to compile objects into
6178 executable and restart GDB. Remove invocation to
6179 prepare_for_testing.
6180
7ae1a6a6
PA
61812014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6182 Pedro Alves <palves@redhat.com>
6183
6184 PR server/16255
6185 * gdb.multi/multi-attach.c: New file.
6186 * gdb.multi/multi-attach.exp: New file.
6187
4082afcc
PA
61882014-04-25 Pedro Alves <palves@redhat.com>
6189
6190 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6191 user.
6192 (top level): Test that "set remote conditional-breakpoints-packet
6193 off" works as intended.
6194 * gdb.base/dprintf.exp: Test that "set remote
6195 breakpoint-commands-packet off" works as intended.
6196 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6197 New function.
6198 (top level): Call it.
6199 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6200 remote fast-tracepoints-packet off" works as intended.
6201 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6202 * lib/gdb.exp (gdb_is_target_remote): ... here.
6203
2abc3f8d
DB
62042014-04-24 David Blaikie <dblaikie@gmail.com>
6205
6206 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6207 ensure clang would not discard them.
6208 * gdb.base/gdbvars.c: Ditto.
6209 * gdb.base/memattr.c: Ditto.
6210 * gdb.base/whatis.c: Ditto.
6211 * gdb.python/py-prettyprint.c: Ditto.
6212 * gdb.trace/actions.c: Ditto.
6213 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6214 ensure clang would not discard it.
6215
bfd39632
DB
62162014-04-24 David Blaikie <dblaikie@gmail.com>
6217
6218 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6219 clang to emit the full definition of type required by the test
6220 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6221
22842ff6
DB
62222014-04-24 David Blaikie <dblaikie@gmail.com>
6223
6224 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6225 coax Clang into emitting the definition of the type.
6226 * gdb.cp/pr10728-x.h (y): Ditto.
6227 * gdb.cp/pr10728-y.cc (y): Ditto.
6228
c2e827ad
DB
62292014-04-24 David Blaikie <dblaikie@gmail.com>
6230
6231 * gdb.base/label.exp: XFAIL label related tests under Clang.
6232 * gdb.cp/cplabel.exp: Ditto.
6233 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6234 under Clang those using labels.
6235
4c2d33e7
YQ
62362014-04-25 Yao Qi <yao@codesourcery.com>
6237
6238 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6239 double_label.
6240 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6241 partial_label and double_label.
6242
56083b99
DB
62432014-04-24 David Blaikie <dblaikie@gmail.com>
6244
6245 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6246
25d4e99d
DB
62472014-04-24 David Blaikie <dblaikie@gmail.com>
6248
6249 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6250 of the function to work across GCC and Clang.
6251 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6252 pointer types (const void ** const V void **).
6253
01f9f808
MS
62542014-04-24 Michael Sturm <michael.sturm@mintel.com>
6255 Walfred Tedeschi <walfred.tedeschi@intel.com>
6256
6257 * Makefile.in (EXECUTABLES): Added i386-avx512.
6258 * gdb.arch/i386-avx512.c: New file.
6259 * gdb.arch/i386-avx512.exp: Likewise.
6260
4b48d439
KS
62612014-04-23 Keith Seitz <keiths@redhat.com>
6262
6263 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6264 (mi_make_breakpoint_table): New procedure.
6265 (mi_create_breakpoint): Use mi_make_breakpoint
6266 and return the result.
6267 (mi_make_breakpoint): New procedure.
6268 (mi_build_kv_pairs): New procedure.
6269
6270 * gdb.mi/mi-break.exp: Remove unused globals,
6271 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6272 All callers updated.
6273 * gdb.mi/mi-dprintf.exp: Use variable to track command
6274 number.
6275 Update all callers of mi_create_breakpoint and use
6276 mi_make_breakpoint_table.
6277 Remove any unused global variables.
6278 * gdb.mi/mi-nonstop.exp: Likewise.
6279 * gdb.mi/mi-nsintrall.exp: Likewise.
6280 * gdb.mi/mi-nsmoribund.exp: Likewise.
6281 * gdb.mi/mi-nsthrexec.exp: Likewise.
6282 * gdb.mi/mi-reverse.exp: Likewise.
6283 * gdb.mi/mi-simplerun.exp: Likewise.
6284 * gdb.mi/mi-stepn.exp: Likewise.
6285 * gdb.mi/mi-syn-frame.exp: Likewise.
6286 * gdb.mi/mi-until.exp: Likewise.
6287 * gdb.mi/mi-var-cp.exp: Likewise.
6288 * gdb.mi/mi-var-display.exp: Likewise.
6289 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6290 * gdb.mi/mi2-var-child.exp: Likewise.
6291 * gdb.mi/mi-vla-c99.exp: Likewise.
6292 * lib/mi-support.exp: Likewise.
6293
6294 From Ian Lance Taylor <iant@cygnus.com>:
6295 * lib/gdb.exp (parse_args): New procedure.
6296
08351840
PA
62972014-04-23 Pedro Alves <palves@redhat.com>
6298
6299 * gdb.base/break-unload-file.c: New file.
6300 * gdb.base/break-unload-file.exp: New file.
6301 * gdb.base/sym-file-lib.c (baz): New function.
6302 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6303 field.
6304 (load): Store the segment's mapped size.
6305 (unload): New function.
6306 (unload_shlib): New function.
6307 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6308 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6309 set a breakpoint at baz, and call it.
6310 * gdb.base/sym-file.exp: New tests for stale breakpoint
6311 instructions.
6312
076855f9
PA
63132014-04-23 Pedro Alves <palves@redhat.com>
6314
6315 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6316 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6317 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6318 * gdb.base/hbreak-unmapped.c: New file.
6319 * gdb.base/hbreak-unmapped.exp: New file.
6320 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6321 * lib/gdb.exp (gdb_is_target_remote): ... here.
6322
483805cf
PA
63232014-04-22 Pedro Alves <palves@redhat.com>
6324
6325 * gdb.base/consecutive-step-over.c: New file.
6326 * gdb.base/consecutive-step-over.exp: New file.
6327
06d97543
PA
63282014-04-22 Pedro Alves <palves@redhat.com>
6329
6330 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6331 instead of send_gdb/gdb_expect.
6332
b4429ea2
YQ
63332014-04-22 Yao Qi <yao@codesourcery.com>
6334
6335 * lib/trace-support.exp (generate_tracefile): New procedure.
6336 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6337 return 0.
6338 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6339 if generate_tracefile returns 1.
6340
51d48146
PA
63412014-04-18 Tom Tromey <palves@redhat.com>
6342 Pedro alves <tromey@redhat.com>
6343
6344 PR backtrace/15558
6345 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6346 with a backtrace limit.
6347 * gdb.python/py-frame-inline.exp: Test running to an inline
6348 function with a backtrace limit, and printing the newest frame.
6349 * gdb.python/py-frame-inline.c (main): Call f.
6350
bd1dce5f
MS
63512014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6352
6353 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6354
40d1a503
MS
63552014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6356
6357 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6358 Drop prefix from unsupported source file path.
6359
389b98f7
YQ
63602014-04-17 Yao Qi <yao@codesourcery.com>
6361
6362 * lib/gdb.exp (with_target_charset): New proc.
6363 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6364 with_target_charset.
6365 (test_print_strings): Likewise.
6366 (test_repeat_bytes): Likewise.
6367 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6368 for some tests.
6369
22869d73
KS
63702014-04-16 Keith Seitz <keiths@redhat.com>
6371
6372 PR gdb/15827
6373 * gdb.dwarf2/corrupt.c: New file.
6374 * gdb.dwarf2/corrupt.exp: New file.
6375
c4f87ca6
KS
63762014-04-16 Keith Seitz <keiths@redhat.com>
6377
6378 PR c++/16597
6379 * gdb.cp/namelessclass.cc: New file.
6380 * gdb.cp/namelessclass.exp: New file.
6381 * gdb.cp/namelessclass.S: New file.
6382
ab19de87
DE
63832014-04-16 Doug Evans <dje@google.com>
6384
6385 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6386 Add comment.
6387 (gdbserver_default_get_comm_port): New function.
6388 (gdbserver_start): Check if board file provided
6389 "gdbserver,get_comm_port" and use it if so.
6390 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6391 (gdb,socketport): Set to "stdio".
6392 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6393 (stdio_gdbserver_template): Delete.
6394 (${board}_get_remote_address): Update.
6395 (${board}_build_remote_cmd): Delete.
6396 (${board}_get_comm_port): New function.
6397 (${board}_spawn): Update.
6398 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6399 Delete.
6400 (${board}_get_remote_address): Update.
6401 (${board}_get_comm_port): New function.
6402
fc98a809
AB
64032014-04-16 Andrew Burgess <aburgess@broadcom.com>
6404
6405 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6406 appearing in any order.
6407
87fd9e6e
DE
64082014-04-15 Doug Evans <dje@google.com>
6409
6410 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6411 uninitialized value of "description".
6412
099fc3ea
KS
64132014-04-15 Keith Seitz <keiths@redhat.com>
6414
6415 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6416 Remove unused globals.
6417 (test_running_the_program): Likewise.
6418 (test_controlled_execution): Likewise.
6419 (test_controlling_breakpoints): Likewise.
6420 (test_program_termination): Likewise.
6421
5da151d4
KS
64222014-04-15 Keith Seitz <keiths@redhat.com>
6423
6424 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6425 unused globals.
6426 (test_rbreak_creation_and_listing): Likewise.
6427 (test_ignore_count): Likewise.
6428 (test_error): Likewise.
6429
35e5d2f0
PA
64302014-04-15 Pedro Alves <palves@redhat.com>
6431
6432 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6433 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6434 sym-file-loader.c.
6435 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6436 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6437 to sym-file-loader.c.
6438 (struct library): Forward declare.
6439 (load_shlib, lookup_function): Change prototypes.
6440 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6441 (translate_offset): Remove declarations.
6442 (get_text_addr): New declaration.
6443 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
6444 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
6445 sym-file-loader.h.
6446 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6447 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6448 here from sym-file-loader.h.
6449 (struct library): New structure.
6450 (load_shlib, lookup_function): Change prototypes and adjust to
6451 work with a struct library.
6452 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6453 (translate_offset): Make static.
6454 (get_text_addr): New function.
6455 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
6456
eb4c1710
PA
64572014-04-15 Pedro Alves <palves@redhat.com>
6458
6459 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
6460
2d1baf52
PA
64612014-04-15 Pedro Alves <palves@redhat.com>
6462
6463 * gdb.base/sym-file-loader.c: Include <limits.h>.
6464 (SELF_LINK): New define.
6465 (get_origin): New function.
6466 (load_shlib): Use it.
6467 * gdb.base/sym-file.exp: Don't early return if the target is
6468 remote. Use runto_main, and issue fail is that fails. Use
6469 gdb_load_shlibs.
6470 (shlib_name): Delete.
6471 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
6472
7dd6df01
PA
64732014-04-15 Pedro Alves <palves@redhat.com>
6474
6475 * gdb.base/sym-file.exp: Remove regex characters from test
6476 message. Don't refer to breakpoint numbers in test messages.
6477
b50c8614
KS
64782014-04-14 Keith Seitz <keiths@redhat.com>
6479
6480 PR c++/16253
6481 * gdb.cp/var-tag.cc: New file.
6482 * gdb.cp/var-tag.exp: New file.
6483 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6484 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6485 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6486 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6487
3d567982
TT
64882014-04-14 Tom Tromey <tromey@redhat.com>
6489
6490 * gdb.cp/classes.exp (test_enums): Handle underlying type.
6491 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
6492 type.
6493 * gdb.cp/enum-class.exp: New file.
6494 * gdb.cp/enum-class.cc: New file.
6495
0626fc76
TT
64962014-04-14 Tom Tromey <tromey@redhat.com>
6497
6498 * gdb.dwarf2/enum-type.exp: New file.
6499
dca325b3
SA
65002014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6501
6502 * gdb.mi/mi-vla-c99.exp: New file.
6503 * gdb.mi/vla.c: New file.
6504
5854b38a
SA
65052014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6506
6507 * gdb.base/vla-datatypes.c: New file.
6508 * gdb.base/vla-datatypes.exp: New file.
6509
463bb957
SA
65102014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6511
6512 * gdb.base/vla-ptr.c: New file.
6513 * gdb.base/vla-ptr.exp: New file.
6514
3dd170be
SA
65152014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6516
6517 * gdb.dwarf2/count.exp: New file.
6518
5ecaaa66
SA
65192014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6520
6521 * gdb.base/vla-sideeffect.c: New file.
6522 * gdb.base/vla-sideeffect.exp: New file.
6523
41f1ada5
DB
65242014-04-14 David Blaikie <dblaikie@gmail.com>
6525
6526 * gdb.mi/non-stop.c: Add return value for non-void function return
6527 statement.
6528 * gdb.threads/staticthreads.c: Ditto.
6529
0be03e84
DE
65302014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6531 Doug Evans <xdje42@gmail.com>
6532
6533 * gdb.guile/scm-value.c: Improve test case.
6534 * gdb.guile/scm-value.exp: Add new test.
6535
f180a1fb
DB
65362014-04-11 David Blaikie <dblaikie@gmail.com>
6537
6538 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
6539 override Clang's default.
6540
6b662e19
JB
65412014-04-11 Joel Brobecker <brobecker@adacore.com>
6542
6543 Revert the following changes (regressions):
6544
6545 * gdb.base/vla-sideeffect.c: New file.
6546 * gdb.base/vla-sideeffect.exp: New file.
6547
6548 * gdb.dwarf2/count.exp: New file.
6549
6550 * gdb.base/vla-multi.c: New file.
6551 * gdb.base/vla-multi.exp: New file.
6552
6553 * gdb.base/vla-ptr.c: New file.
6554 * gdb.base/vla-ptr.exp: New file.
6555
6556 * gdb.base/vla-datatypes.c: New file.
6557 * gdb.base/vla-datatypes.exp: New file.
6558
6559 * gdb.mi/mi-vla-c99.exp: New file.
6560 * gdb.mi/vla.c: New file.
6561
245a5f0b
KS
65622014-04-11 Keith Seitz <keiths@redhat.com>
6563
6564 PR c++/16675
6565 * gdb.cp/cpsizeof.exp: New file.
6566 * gdb.cp/cpsizeof.cc: New file.
6567
58a84dcf
SA
65682014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6569
191a8a90
JB
6570 * gdb.mi/mi-vla-c99.exp: New file.
6571 * gdb.mi/vla.c: New file.
58a84dcf 6572
c8655f75
SA
65732014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6574
6575 * gdb.base/vla-datatypes.c: New file.
6576 * gdb.base/vla-datatypes.exp: New file.
6577
024e13b4
SA
65782014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6579
6580 * gdb.base/vla-ptr.c: New file.
6581 * gdb.base/vla-ptr.exp: New file.
6582
1a237e0e
SA
65832014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6584
6585 * gdb.base/vla-multi.c: New file.
6586 * gdb.base/vla-multi.exp: New file.
6587
504f3432
SA
65882014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6589
6590 * gdb.dwarf2/count.exp: New file.
6591
3bce8237
SA
65922014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6593
191a8a90
JB
6594 * gdb.base/vla-sideeffect.c: New file.
6595 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 6596
322f9c21
YQ
65972014-04-11 Yao Qi <yao@codesourcery.com>
6598
6599 * gdb.base/completion.exp: Check file exists before running tests
6600 on file completion.
6601
d708bcd1
PA
66022014-04-10 Pedro Alves <palves@redhat.com>
6603
6604 * gdb.base/cond-eval-mode.c: New file.
6605 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
6606 prepare_for_testing to build the new file. Check result of
6607 runto_main.
6608 (test_break, test_watch): New procedures.
6609 (top level): Use them.
6610
ae1d2761
PM
66112014-04-08 Pierre Muller <muller@sourceware.org>
6612
6613 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
6614 Ctrl-V use for mingw hosts.
6615
7af389b8
SC
66162014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6617
6618 * gdb.python/py-value.c: Improve test case.
6619 * gdb.python/py-value.exp: Add new test.
6620
5e703181
DE
66212014-04-07 David Blaikie <dblaikie@gmail.com>
6622
6623 * lib/compiler.c: Identify the clang compiler.
6624 * lib/compiler.cc: Ditto.
6625
9810b410
YQ
66262014-04-03 Yao Qi <yao@codesourcery.com>
6627
6628 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
6629
98d1b8dc
AB
66302014-04-01 Anton Blanchard <anton@samba.org>
6631
6632 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
6633 messages unique.
6634
3114cea1
AB
66352014-04-01 Anton Blanchard <anton@samba.org>
6636
6637 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
6638 prepare_for_testing.
6639
62f7182c
AB
66402014-04-01 Anton Blanchard <anton@samba.org>
6641
6642 * gdb.arch/ppc64-atomic-inst.c: Remove.
6643 * gdb.arch/ppc64-atomic-inst.S: New file.
6644 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
6645
770e7fc7
DE
66462014-03-31 Doug Evans <dje@google.com>
6647
6648 * gdb.base/print-symbol-loading-lib.c: New file.
6649 * gdb.base/print-symbol-loading-main.c: New file.
6650 * gdb.base/print-symbol-loading.exp: New file.
6651
46e2bafa
YQ
66522014-03-31 Yao Qi <yao@codesourcery.com>
6653
6654 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
6655
8776cfe9
JB
66562014-03-28 Joel Brobecker <brobecker@adacore.com>
6657
6658 * gdb.ada/mi_dyn_arr: New testcase.
6659
5d1ef361
DE
66602014-03-27 Doug Evans <dje@google.com>
6661
6662 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
6663
b5bee914
YQ
66642014-03-27 Yao Qi <yao@codesourcery.com>
6665
6666 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
6667 if target is nios2-*-*.
6668
0d4d0e77
YQ
66692014-03-26 Yao Qi <yao@codesourcery.com>
6670
6671 * lib/gdb.exp (readline_is_used): New proc.
6672 * gdb.base/completion.exp: Move tests on command complete up.
6673 Skip the rest of tests if readline is not used.
6674 * gdb.ada/complete.exp: Skp the test if readline is not
6675 used.
6676 * gdb.base/filesym.exp: Likewise.
6677 * gdb.base/macscp.exp: Likewise.
6678 * gdb.base/readline-ask.exp: Likewise.
6679 * gdb.base/readline.exp: Likewise.
6680 * gdb.python/py-cmd.exp: Likewise.
6681 * gdb.trace/tfile.exp: Likewise.
6682
29361eee
YQ
66832014-03-26 Yao Qi <yao@codesourcery.com>
6684
6685 * gdb.base/macscp.exp: Fix code format issues.
6686
bc9a5525
UW
66872014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
6688
6689 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
6690 * gdb.asm/powerpc64le.inc: New file.
6691
d3839ede
PA
66922014-03-25 Pedro Alves <palves@redhat.com>
6693 Doug Evans <dje@google.com>
6694
6695 * gdb.base/source-execution.c: New file.
6696 * gdb.base/source-execution.exp: New file.
6697 * gdb.base/source-execution.gdb: New file.
6698
01672a57
DE
66992014-03-24 Doug Evans <dje@google.com>
6700
6701 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
6702 using fission.
6703
88bbeca9
HZ
67042014-03-24 Hui Zhu <hui@codesourcery.com>
6705 Pedro Alves <palves@redhat.com>
6706
6707 PR breakpoints/16101
6708 * gdb.base/dprintf.exp: Use unsupported rather than changing the
6709 test pass/fail messages. Detect missing support for dprintf when
6710 breakpoints are actually inserted.
6711 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
6712 breakpoints are actually inserted.
6713 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
6714 fails.
6715
d2348791
JK
67162014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6717
6718 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
6719
feef67ab
DE
67202014-03-22 Doug Evans <xdje42@gmail.com>
6721
6722 * gdb.python/python.exp (python not supported): Verify multi-line
6723 python command issues an error.
25d743f9 6724 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 6725 guile command issues an error.
feef67ab 6726
ecebef6a
MR
67272014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
6728
6729 * gdb.threads/thread-specific.exp: Handle the lack of usable
6730 $this_breakpoint and $this_thread.
6731
ccdd1909
HZ
67322014-03-21 Hui Zhu <hui@codesourcery.com>
6733
6734 * gdb.base/attach.exp (do_command_attach_tests): New.
6735
beb460e8
PA
67362014-03-20 Tom Tromey <tromey@redhat.com>
6737 Pedro Alves <palves@redhat.com>
6738
6739 PR cli/15718
6740 * gdb.base/condbreak-call-false.c: New file.
6741 * gdb.base/condbreak-call-false.exp: New file.
6742
40acf43a
PA
67432014-03-20 Pedro Alves <palves@redhat.com>
6744
6745 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
6746 Delete.
6747 (block_signals, unblock_signals): Delete.
6748 (child_function_2, main): Remove references to deleted variable
6749 and functions.
6750
9f5e1e02
PA
67512014-03-20 Pedro Alves <palves@redhat.com>
6752
6753 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
6754 Use pthread_kill to signal thread 2.
6755 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6756 Adjust to make the test send itself a signal rather than using the
6757 host's "kill" command.
6758
99619bea
PA
67592014-03-20 Pedro Alves <palves@redhat.com>
6760
6761 * gdb.threads/multiple-step-overs.c: New file.
6762 * gdb.threads/multiple-step-overs.exp: New file.
6763 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6764 Adjust expected infrun debug output.
6765
2adfaa28
PA
67662014-03-20 Pedro Alves <palves@redhat.com>
6767
6768 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
6769 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
6770
31e77af2
PA
67712014-03-20 Pedro Alves <palves@redhat.com>
6772
6773 PR breakpoints/7143
6774 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
6775 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
6776 of gdb_test_multiple.
6777 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
6778 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
6779
b9f437de
PA
67802014-03-20 Pedro Alves <palves@redhat.com>
6781
6782 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
6783 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
6784
05adc73e
PA
67852014-03-19 Pedro Alves <palves@redhat.com>
6786
6787 * gdb.base/async.exp: Remove early return.
6788
6048b950
PA
67892014-03-19 Pedro Alves <palves@redhat.com>
6790
6791 * gdb.base/async.exp (step& tests): Pass explicit test messages.
6792
8bcfb00a
PA
67932014-03-19 Pedro Alves <palves@redhat.com>
6794
6795 * gdb.base/async.exp (test_background): Expect \r\n after
6796 "completed." in the fail pattern.
6797
884e37dc
PA
67982014-03-19 Pedro Alves <palves@redhat.com>
6799
6800 * gdb.base/async.exp (test_background): New procedure.
6801 Use it for all background execution command tests.
6802
148e57e2
PA
68032014-03-19 Pedro Alves <palves@redhat.com>
6804
6805 * gdb.base/async.exp: Use prepare_for_testing.
6806
f48088c7
PA
68072014-03-19 Pedro Alves <palves@redhat.com>
6808
6809 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
6810 the same line.
6811
e2f6c966
PA
68122014-03-19 Pedro Alves <palves@redhat.com>
6813
6814 * gdb.base/async.c (main): Add "jump here" and "until here" line
6815 marker comments.
6816 * gdb.base/async.exp (jump_here): New global.
6817 (jump& test): Use it.
6818 (until_here): New global.
6819 (until& test): Use it.
6820
c30568d4
PA
68212014-03-19 Pedro Alves <palves@redhat.com>
6822
6823 * gdb.base/async.exp: Don't frob gdb_protocol.
6824
0172b6a7
DE
68252014-03-18 Doug Evans <xdje42@gmail.com>
6826
6827 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
6828 Fix spelling of exec-done-display.
6829
06c868a8
JK
68302014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6831
6832 PR gdb/15358
6833 * gdb.base/gdb-sigterm.c: New file.
6834 * gdb.base/gdb-sigterm.exp: New file.
6835
0c7e1a46
PA
68362014-03-18 Pedro Alves <palves@redhat.com>
6837
6838 PR gdb/13860
6839 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
6840 * lib/mi-support.exp (mi_expect_stop): Add special handling for
6841 solib-event.
6842
f7c77d93
JB
68432014-03-17 Joel Brobecker <brobecker@adacore.com>
6844
6845 * gdb.ada/pckd_arr_ren: New testcase.
6846
5a1e8c7a
DE
68472014-03-13 Doug Evans <xdje42@gmail.com>
6848
6849 PR guile/16612
6850 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
6851 collect after discarding symbols.
6852
350e1a76
DE
68532014-03-13 Ludovic Courtès <ludo@gnu.org>
6854 Doug Evans <xdje42@gmail.com>
6855
6856 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
6857 to history survives a gc.
6858
a69900ae
PA
68592014-03-13 Pedro Alves <palves@redhat.com>
6860
6861 * gdb.base/default.exp: Don't test "target procfs".
6862
5db9f0bd
PA
68632014-03-13 Pedro Alves <palves@redhat.com>
6864
6865 * gdb.base/default.exp: Update "target child" and "target procfs"
6866 tests to not expect "Unix".
6867
b3ccfe11
TT
68682014-03-12 Tom Tromey <tromey@redhat.com>
6869
6870 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
6871 New procs. Add target-async tests.
6872 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
6873 Add target-async tests.
6874
646f4417
AA
68752014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6876
6877 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
6878 'func_start' and 'func_end' for the beginning and end of the
6879 function code, respectively.
6880 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
6881 'func_end' instead of 'func' and 'main'.
6882
288c211f
AA
68832014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6884
6885 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
6886 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
6887 generate the debug info assembler source.
6888
e0c0f156
AA
68892014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6890
6891 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
6892 * gdb.dwarf2/arr-subrange.exp: Likewise.
6893 * gdb.dwarf2/dwz.exp: Likewise.
6894 * gdb.dwarf2/method-ptr.exp: Likewise.
6895 * gdb.dwarf2/missing-sig-type.exp: Likewise.
6896 * gdb.dwarf2/subrange.exp: Likewise.
6897 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
6898 * gdb.dwarf2/implptrpiece.exp: Likewise.
6899 * gdb.dwarf2/nostaticblock.exp: Likewise.
6900
0e5c4555
AA
69012014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6902
6903 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
6904 directory to absolute path name arguments.
6905
5ec18f2b
JG
69062014-03-10 Joel Brobecker <brobecker@adacore.com>
6907
6908 * gdb.ada/tagged_access: New testcase.
6909
847fc4f2
MM
69102014-03-07 Markus Metzger <markus.t.metzger@intel.com>
6911
6912 * gdb.btrace/data.exp: Update expected output.
6913
cc3da688
YQ
69142014-03-06 Yao Qi <yao@codesourcery.com>
6915
6916 * gdb.trace/pr16508.exp: New file.
6917
0f26cec1
PA
69182014-03-05 Pedro Alves <palves@redhat.com>
6919
6920 PR gdb/16575
6921 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
6922 procedure.
6923 (top level): Adjust to use it. Add tests that exercise breakpoint
6924 interaction with the code-cache.
6925
7a5a839f
LC
69262014-02-26 Ludovic Courtès <ludo@gnu.org>
6927
6928 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
6929 test for 'history-append!'.
6930
31aa7e4e
JB
69312014-02-26 Joel Brobecker <brobecker@adacore.com>
6932
6933 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
6934 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
6935 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
6936 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
6937 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
6938 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
6939
1b588015
JB
69402014-02-26 Joel Brobecker <brobecker@adacore.com>
6941
6942 * testsuite/gdb.python/py-pp-re-notag.c: New file.
6943 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
6944 * testsuite/gdb.python/py-pp-re-notag.p: New file.
6945
55426c9d
JB
69462014-02-26 Joel Brobecker <brobecker@adacore.com>
6947
6948 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
6949
dc53a7ad
JB
69502014-02-26 Joel Brobecker <brobecker@adacore.com>
6951
6952 * gdb.dwarf2/arr-stride.c: New file.
6953 * gdb.dwarf2/arr-stride.exp: New file.
6954
12ab52e9
PA
69552014-02-26 Pedro Alves <palves@redhat.com>
6956
6957 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
6958 that won't ever trigger. Make sure that GDB reports the correct
6959 breakpoint that caused the stop.
6960
849c862e
JK
69612014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6962
6963 PR gdb/16626
6964 * gdb.base/auto-load-script: New file.
6965 * gdb.base/auto-load.c: New file.
6966 * gdb.base/auto-load.exp: New file.
6967
71b7d793
JK
6968 PR gdb/16626
6969 * gdb.base/auto-load.exp: Fix out-of-srctree run.
6970
e2f0d509
JK
69712014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6972
6973 Fix dw2-icycle.exp -fsanitize=address GDB crash.
6974 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
6975
50cc37c8
DE
69762014-02-24 Doug Evans <dje@google.com>
6977
6978 * lib/gdb.exp (run_on_host): Log error output if program fails.
6979
ea4758f2
PA
69802014-02-21 Pedro Alves <palves@redhat.com>
6981
6982 * gdb.threads/step-after-sr-lock.c: Rename to ...
6983 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
6984 * gdb.threads/step-after-sr-lock.exp: Rename to ...
6985 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6986 ... this.
6987
d7b30f67
SDJ
69882014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
6989
6990 PR tdep/16397
6991 * gdb.arch/amd64-stap-special-operands.exp: New file.
6992 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
6993 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
6994 * gdb.arch/amd64-stap-triplet.S: Likewise.
6995 * gdb.arch/amd64-stap-triplet.c: Likewise.
6996
83deb43f
JB
69972014-02-20 Joel Brobecker <brobecker@adacore.com>
6998
6999 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7000 in .section pseudo-op.
7001
adde2bff
DE
70022014-02-20 lin zuojian <manjian2006@gmail.com>
7003 Joel Brobecker <brobecker@adacore.com>
7004 Doug Evans <xdje42@gmail.com>
7005
7006 PR symtab/16581
7007 * gdb.dwarf2/dw2-icycle.S: New file.
7008 * gdb.dwarf2/dw2-icycle.c: New file.
7009 * gdb.dwarf2/dw2-icycle.exp: New file.
7010
f7bd0f78
SC
70112014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7012
7013 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7014 operations on gdb.Value objects.
7015 * gdb.python/py-value-cc.exp: Add new test to test operations on
7016 gdb.Value objects.
7017
c17ef0d5
DE
70182014-02-18 Doug Evans <dje@google.com>
7019
7020 * Makefile.in (TESTS): New variable.
7021 (expanded_tests, expanded_tests_or_none): New variables
7022 (check-single): Pass $(expanded_tests_or_none) to runtest.
7023 (check-parallel): Only run tests in $(TESTS) if non-empty.
7024 (check/no-matching-tests-found): New rule.
7025 * README: Document TESTS makefile variable.
7026
5dd3176f
DE
70272014-02-18 Doug Evans <dje@google.com>
7028
7029 * Makefile.in (check-parallel): rm -rf outputs temp.
7030
0b10be4f
JK
70312014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7032
7033 Fix "ERROR: no fileid for" in the testsuite.
7034 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7035
85f224e7
DE
70362014-02-12 Doug Evans <dje@google.com>
7037
7038 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7039 (MISCELLANEOUS): New variable.
7040 (clean): rm -rf $(MISCELLANEOUS).
7041 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7042 dwp live in the same directory as symlinks, with each symlink pointed
7043 to a differently named file in a different directory.
7044
149b30ff
DE
70452014-02-11 Doug Evans <dje@google.com>
7046
7047 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7048 of Tcl file commands.
7049
1dfdac32
MK
70502014-02-10 Mark Kettenis <kettenis@gnu.org>
7051
7052 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7053 "kill -SIGUSR1 -1".
7054
aa4fb036
JB
70552014-02-10 Joel Brobecker <brobecker@adacore.com>
7056
7057 * gdb.ada/tick_length_array_enum_idx: New testcase.
7058
ed3ef339
DE
70592014-02-10 Doug Evans <xdje42@gmail.com>
7060
7061 * configure.ac (AC_OUTPUT): Add gdb.guile.
7062 * configure: Regenerate.
7063 * lib/gdb-guile.exp: New file.
7064 * lib/gdb.exp (get_target_charset): New function.
7065 * gdb.base/help.exp: Update expected output from "apropos apropos".
7066 * gdb.guile/Makefile.in: New file.
7067 * gdb.guile/guile.exp: New file.
7068 * gdb.guile/scm-arch.c: New file.
7069 * gdb.guile/scm-arch.exp: New file.
7070 * gdb.guile/scm-block.c: New file.
7071 * gdb.guile/scm-block.exp: New file.
7072 * gdb.guile/scm-breakpoint.c: New file.
7073 * gdb.guile/scm-breakpoint.exp: New file.
7074 * gdb.guile/scm-disasm.c: New file.
7075 * gdb.guile/scm-disasm.exp: New file.
7076 * gdb.guile/scm-equal.c: New file.
7077 * gdb.guile/scm-equal.exp: New file.
7078 * gdb.guile/scm-error.exp: New file.
7079 * gdb.guile/scm-error.scm: New file.
7080 * gdb.guile/scm-frame-args.c: New file.
7081 * gdb.guile/scm-frame-args.exp: New file.
7082 * gdb.guile/scm-frame-args.scm: New file.
7083 * gdb.guile/scm-frame-inline.c: New file.
7084 * gdb.guile/scm-frame-inline.exp: New file.
7085 * gdb.guile/scm-frame.c: New file.
7086 * gdb.guile/scm-frame.exp: New file.
7087 * gdb.guile/scm-generics.exp: New file.
7088 * gdb.guile/scm-gsmob.exp: New file.
7089 * gdb.guile/scm-iterator.c: New file.
7090 * gdb.guile/scm-iterator.exp: New file.
7091 * gdb.guile/scm-math.c: New file.
7092 * gdb.guile/scm-math.exp: New file.
7093 * gdb.guile/scm-objfile-script-gdb.in: New file.
7094 * gdb.guile/scm-objfile-script.c: New file.
7095 * gdb.guile/scm-objfile-script.exp: New file.
7096 * gdb.guile/scm-objfile.c: New file.
7097 * gdb.guile/scm-objfile.exp: New file.
7098 * gdb.guile/scm-ports.exp: New file.
7099 * gdb.guile/scm-pretty-print.c: New file.
7100 * gdb.guile/scm-pretty-print.exp: New file.
7101 * gdb.guile/scm-pretty-print.scm: New file.
7102 * gdb.guile/scm-section-script.c: New file.
7103 * gdb.guile/scm-section-script.exp: New file.
7104 * gdb.guile/scm-section-script.scm: New file.
7105 * gdb.guile/scm-symbol.c: New file.
7106 * gdb.guile/scm-symbol.exp: New file.
7107 * gdb.guile/scm-symtab-2.c: New file.
7108 * gdb.guile/scm-symtab.c: New file.
7109 * gdb.guile/scm-symtab.exp: New file.
7110 * gdb.guile/scm-type.c: New file.
7111 * gdb.guile/scm-type.exp: New file.
7112 * gdb.guile/scm-value-cc.cc: New file.
7113 * gdb.guile/scm-value-cc.exp: New file.
7114 * gdb.guile/scm-value.c: New file.
7115 * gdb.guile/scm-value.exp: New file.
7116 * gdb.guile/source2.scm: New file.
7117 * gdb.guile/types-module.cc: New file.
7118 * gdb.guile/types-module.exp: New file.
7119
7026a7c1
YQ
71202014-02-10 Yao Qi <yao@codesourcery.com>
7121
7122 PR testsuite/16543
7123 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7124 * configure: Regenerated.
7125 * Makefile.in: New file.
7126
6c466447
AS
71272014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7128
7129 * gdb.python/py-framefilter.exp: Fix typo.
7130
6e854735
YQ
71312014-02-08 Yao Qi <yao@codesourcery.com>
7132
7133 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7134 that no =breakpoint-modified is emitted when breakpoints are
7135 modified through MI commands.
7136
d137e6dc
PA
71372014-02-07 Pedro Alves <pedro@codesourcery.com>
7138 Pedro Alves <palves@redhat.com>
7139
7140 * gdb.threads/step-after-sr-lock.c: New file.
7141 * gdb.threads/step-after-sr-lock.exp: New file.
7142
b5ee5a50
PA
71432014-02-07 Pedro Alves <palves@redhat.com>
7144
7145 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7146
3c77faf3
JK
71472014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7148
7149 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7150 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7151
6dddc817
DE
71522014-02-06 Doug Evans <xdje42@gmail.com>
7153
7154 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7155 output.
7156
7157 * gdb.gdb/python-interrupts.exp: New file.
7158
de7b2893
YQ
71592014-02-05 Yao Qi <yao@codesourcery.com>
7160
7161 * gdb.trace/report.exp (use_collected_data): Test the output
7162 of "info threads" and "info inferiors".
7163
66d032ac
YQ
71642014-02-05 Yao Qi <yao@codesourcery.com>
7165
7166 Revert this patch:
7167
7168 2013-05-24 Yao Qi <yao@codesourcery.com>
7169
7170 * gdb.trace/tfile.exp: Test inferior and thread.
7171
591a12a1
UW
71722014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7173
7174 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7175 on a function.
7176 * gdb.base/step-bt.c: Call hello via function pointer to make
7177 sure its first instruction is executed on powerpc64le-linux.
7178
0ff3e01f
UW
71792014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7180
7181 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7182
084ee545
UW
71832014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7184
7185 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7186 of the test patterns for use on little-endian systems.
7187
6ed14ff3
UW
71882014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7189
7190 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7191 (decimal_vector): Fix for little-endian.
7192
401e27fd
JM
71932014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7194
7195 * gdb.arch/sparc-sysstep.exp: New file.
7196 * gdb.arch/sparc-sysstep.c: Likewise.
7197
7198 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7199
8b924729
EBM
72002014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7201
7202 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7203
fb151210
JB
72042014-01-23 Tom Tromey <tromey@redhat.com>
7205
7206 * gdb.ada/array_char_idx: New testcase.
7207
0740f8d8
TT
72082014-01-23 Tom Tromey <tromey@redhat.com>
7209
7210 PR python/16487:
7211 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7212 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7213 classes.
7214
21909fa1
TT
72152014-01-23 Tom Tromey <tromey@redhat.com>
7216
7217 PR python/16491:
7218 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7219 string from an inferior frame.
7220 * gdb.python/py-framefilter-mi.exp: Update.
7221
87ce2a04
DE
72222014-01-22 Doug Evans <dje@google.com>
7223
7224 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7225
237b092b
AA
72262014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7227
7228 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7229
d674a709
AA
72302014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7231
7232 * gdb.trace/entry-values.exp: Remove excess space character from
7233 regex patterns. Handle s390 call instruction.
7234
20fa3390
AA
72352014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7236
7237 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7238 define "*_start" label. Make "name" static.
7239 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7240 ${name} by references to ${name}_start.
7241
78466714
AA
72422014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7243
7244 * gdb.base/info-macros.exp: Remove "debug" from the compile
7245 options.
7246
ec9f644a
IB
72472014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7248
7249 * gdb.dlang/demangle.exp: New file.
7250
94b1b47e
IB
72512014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7252
7253 * gdb.dlang/primitive-types.exp: New file.
7254
7f420862
IB
72552014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7256
7257 * configure.ac: Create gdb.dlang/Makefile.
7258 * configure: Regenerate.
7259 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7260 * gdb.dlang/Makefile.in: New file.
7261 * lib/d-support.exp: New file.
7262 * lib/gdb.exp (skip_d_tests): New proc.
7263
52834460
MM
72642014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7265
7266 * gdb.btrace/delta.exp: Check reverse stepi.
7267 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7268 * gdb.btrace/finish.exp: New.
7269 * gdb.btrace/next.exp: New.
7270 * gdb.btrace/nexti.exp: New.
7271 * gdb.btrace/record_goto.c: Add comments.
7272 * gdb.btrace/step.exp: New.
7273 * gdb.btrace/stepi.exp: New.
7274 * gdb.btrace/multi-thread-step.c: New.
7275 * gdb.btrace/multi-thread-step.exp: New.
7276 * gdb.btrace/rn-dl-bind.c: New.
7277 * gdb.btrace/rn-dl-bind.exp: New.
7278 * gdb.btrace/data.c: New.
7279 * gdb.btrace/data.exp: New.
7280 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7281
6e07b1d2
MM
72822014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7283
7284 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7285 * gdb.btrace/exception.exp: Update.
7286 * gdb.btrace/instruction_history.exp: Update.
7287 * gdb.btrace/record_goto.exp: Update.
7288 * gdb.btrace/tailcall.exp: Update.
7289 * gdb.btrace/unknown_functions.exp: Update.
7290 * gdb.btrace/delta.exp: New.
7291
0b722aec
MM
72922014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7293
7294 * gdb.btrace/record_goto.exp: Add backtrace test.
7295 * gdb.btrace/tailcall.exp: Add backtrace test.
7296
066ce621
MM
72972014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7298
7299 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7300 * gdb.btrace/record_goto.c: New.
7301 * gdb.btrace/record_goto.exp: New.
7302 * gdb.btrace/x86-record_goto.S: New.
7303
0688d04e
MM
73042014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7305
7306 * gdb.btrace/function_call_history.exp: Update tests.
7307 * gdb.btrace/instruction_history.exp: Update tests.
7308
8710b709
MM
73092014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7310
7311 * gdb.btrace/function_call_history.exp: Fix expected field
7312 order for "record function-call-history".
7313 Add new tests for "record function-call-history /c".
7314 * gdb.btrace/exception.cc: New.
7315 * gdb.btrace/exception.exp: New.
7316 * gdb.btrace/tailcall.exp: New.
7317 * gdb.btrace/x86-tailcall.S: New.
7318 * gdb.btrace/x86-tailcall.c: New.
7319 * gdb.btrace/unknown_functions.c: New.
7320 * gdb.btrace/unknown_functions.exp: New.
7321 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7322
5de9129b
MM
73232014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7324
7325 * gdb.btrace/instruction_history.exp: Update.
7326 * gdb.btrace/function_call_history.exp: Update.
7327
23a7fe75
MM
73282014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7329
7330 * gdb.btrace/function_call_history.exp: Fix expected function
7331 trace.
7332 * gdb.btrace/instruction_history.exp: Initialize traced.
7333 Remove traced_functions.
7334
724c7dd8
MM
73352014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7336
7337 * gdb.btrace/function_call_history.exp: Update
7338 * gdb.btrace/instruction_history.exp: Update.
7339
6d78d93b
MM
73402014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7341
7342 * gdb.btrace/enable.exp: Update expected text.
7343
93a360cc
OJ
73442014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7345
7346 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7347 bytes.
7348
3772b53f
MR
73492014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7350
7351 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7352
596662fa
OJ
73532014-01-15 Omair Javaid <omair.javaid@linaro.org>
7354
7355 * lib/gdb.exp (supports_process_record): Return true for
7356 arm*-linux*. (supports_reverse): Likewise.
7357
b5b08fb4
SC
73582014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7359
7360 PR python/15464
7361 PR python/16113
7362 * gdb.python/py-type.c: Enhance test case.
7363 * gdb.python/py-value-cc.cc: Likewise
7364 * gdb.python/py-type.exp: Add new tests.
7365 * gdb.python/py-value-cc.exp: Likewise
7366
52d7fb13
AA
73672014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7368 Pedro Alves <palves@redhat.com>
7369
7370 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7371 Make "name" extern.
7372 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7373 references to ${name}_start by references to ${name}.
7374
a2cd8cfe
JB
73752014-01-10 Joel Brobecker <brobecker@adacore.com>
7376
7377 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7378
4e23fced
JB
73792014-01-10 Joel Brobecker <brobecker@adacore.com>
7380
7381 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7382
c6a9e42c
PA
73832014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7384 Pedro Alves <palves@redhat.com>
7385
7386 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 7387 mi_gdb_target_load.
c6a9e42c 7388
b7ea362b
PA
73892014-01-08 Pedro Alves <palves@redhat.com>
7390
7391 * gdb.threads/reconnect-signal.c: New file.
7392 * gdb.threads/reconnect-signal.exp: New file.
7393
5e3f4fab
EBM
73942014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7395
7396 * gdb.base/source-dir.exp: New file.
7397
79301218
JB
73982014-01-07 Joel Brobecker <brobecker@adacore.com>
7399
7400 * gdb.ada/mi_interface: New testcase.
7401
8e355c5d
JB
74022014-01-07 Joel Brobecker <brobecker@adacore.com>
7403
7404 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7405 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7406 gdb.ada/pp-rec-component/pck.ads: New files.
7407
c0d48811
JB
74082014-01-07 Joel Brobecker <brobecker@adacore.com>
7409
7410 * gdb.python/py-pp-integral.c: New file.
7411 * gdb.python/py-pp-integral.py: New file.
7412 * gdb.python/py-pp-integral.exp: New file.
7413
17b609c3 7414For older changes see ChangeLog-1993-2013.
c906108c 7415\f
8d8cb839
EZ
7416;; Local Variables:
7417;; mode: change-log
7418;; left-margin: 8
7419;; fill-column: 74
7420;; version-control: never
7421;; End:
902f2ccb 7422
618f726f 7423 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
7424 Copying and distribution of this file, with or without modification,
7425 are permitted provided the copyright notice and this notice are preserved.