]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
stack: check frame_unwind_caller_id
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
acc23c11
PA
12016-02-11 Pedro Alves <palves@redhat.com>
2
3 * README (Parallel testing): Add missing double quotes.
4
e352bf0a
PA
52016-02-11 Pedro Alves <palves@redhat.com>
6
7 * README (Parallel testing): New section.
8 (GDB_PARALLEL): Rewrite.
9 (FORCE_PARALLEL): Document.
10
9f5fed78
MK
112016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
12
13 * gdb.trace/tfile-avx.c: New test.
14 * gdb.trace/tfile-avx.exp: New test.
15
9ef9e6a6
KS
162016-02-09 Keith Seitz <keiths@redhat.com>
17
18 PR breakpoints/19546
19 * gdb.base/infcall-exec.c: New file.
20 * gdb.base/infcall-exec2.c: New file.
21 * gdb.base/infcall-exec.exp: New file.
22
a96e36da
KS
232016-02-09 Keith Seitz <keiths@redhat.com>
24
25 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
26 (toplevel): Call test_bkpt_address.
27
9f61929f
KS
282016-02-09 Keith Seitz <keiths@redhat.com>
29
30 PR python/19506
31 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
32 (toplevel): Call test_bkpt_address.
33
1e94266c
SM
342016-02-09 Simon Marchi <simon.marchi@ericsson.com>
35
36 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
37 to AC_OUTPUT.
38 * configure: Regenerate.
39
2a7f3dff
PA
402016-02-09 Pedro Alves <palves@redhat.com>
41
42 PR breakpoints/19548
43 * gdb.base/execl-update-breakpoints.c (some_function): New
44 function.
45 (main): Call it.
46 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
47 Tighten expected GDB output.
48
2151ccc5
SM
492016-02-08 Simon Marchi <simon.marchi@ericsson.com>
50
51 * Makefile.in (ALL_SUBDIRS): Remove.
52 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
53 (distclean maintainer-clean realclean): Likewise.
54 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
55 * configure: Regenerate.
56 * gdb.ada/Makefile.in: Delete.
57 * gdb.arch/Makefile.in: Likewise.
58 * gdb.asm/Makefile.in: Likewise.
59 * gdb.base/Makefile.in: Likewise.
60 * gdb.btrace/Makefile.in: Likewise.
61 * gdb.cell/Makefile.in: Likewise.
62 * gdb.compile/Makefile.in: Likewise.
63 * gdb.cp/Makefile.in: Likewise.
64 * gdb.disasm/Makefile.in: Likewise.
65 * gdb.dlang/Makefile.in: Likewise.
66 * gdb.dwarf2/Makefile.in: Likewise.
67 * gdb.fortran/Makefile.in: Likewise.
68 * gdb.gdb/Makefile.in: Likewise.
69 * gdb.go/Makefile.in: Likewise.
70 * gdb.guile/Makefile.in: Likewise.
71 * gdb.java/Makefile.in: Likewise.
72 * gdb.linespec/Makefile.in: Likewise.
73 * gdb.mi/Makefile.in: Likewise.
74 * gdb.modula2/Makefile.in: Likewise.
75 * gdb.multi/Makefile.in: Likewise.
76 * gdb.objc/Makefile.in: Likewise.
77 * gdb.opencl/Makefile.in: Likewise.
78 * gdb.opt/Makefile.in: Likewise.
79 * gdb.pascal/Makefile.in: Likewise.
80 * gdb.perf/Makefile.in: Likewise.
81 * gdb.python/Makefile.in: Likewise.
82 * gdb.reverse/Makefile.in: Likewise.
83 * gdb.server/Makefile.in: Likewise.
84 * gdb.stabs/Makefile.in: Likewise.
85 * gdb.threads/Makefile.in: Likewise.
86 * gdb.trace/Makefile.in: Likewise.
87 * gdb.xml/Makefile.in: Likewise.
88 * lib/gdb.exp (make_gdb_parallel_path): Add check for
89 GDB_PARALLEL.
90 (standard_output_file): Remove check for GDB_PARALLEL, always
91 return path in outputs/$subdir/$testname.
92
437277d4
SM
932016-02-08 Simon Marchi <simon.marchi@ericsson.com>
94
95 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
96 (site.exp): Assign abs_srcdir to tcl's srcdir.
97
31d913c7
YQ
982016-02-04 Yao Qi <yao.qi@linaro.org>
99
100 * gdb.base/foll-exec-mode.c: Include limits.h.
101 (main): Add parameters argc and argv. Get directory from
102 argv[0].
103 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
104 compilation.
105 * gdb.base/foll-exec.c: Include limits.h.
106 (main): Add parameters argc and argv.
107 Get directory from argv[0].
108 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
109 Adjust tests on the number of lines as source code changed.
110 * gdb.base/foll-vfork-exit.c: Include limits.h.
111 (main): Add one line of statement before vfork.
112 * gdb.base/foll-vfork.c: Include limits.h and string.h.
113 (main): Add parameters argc and argv. Get directory from
114 argv[0].
115 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
116 (setup_gdb): Set tbreak to skip some source lines.
117 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
118 (main): Add parameters argc and argv. Get directory from
119 argv[0].
120 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
121 compilation.
122 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
123 (main): Add parameters argc and argv. Get directory from
124 argv[0].
125 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
126 compilation.
127
9482b9fb
DE
1282016-02-01 Doug Evans <dje@google.com>
129
130 * gdb.base/skip.exp: Clean up multiple references to same test name.
131
6b2e4f10
PA
1322016-02-01 Pedro Alves <palves@redhat.com>
133
ccb6afd6 134 PR remote/19496
6b2e4f10
PA
135 * gdb.threads/forking-threads-plus-breakpoint.exp
136 (displaced_stepping_supported): New global.
137 (probe_displaced_stepping_support): New procedure.
138 (do_test): Add 'displaced' parameter, and use it.
139 (top level): Check for displaced stepping support. Add displaced
140 stepping on/off testing axis.
141
37a8db1a
AB
1422016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
143
144 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
145 pointer. Don't perform further tests on the unassociated pointer
146 if the first test fails.
147
5fdf6324
AB
1482016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
149
150 * gdb.base/max-value-size.c: New file.
151 * gdb.base/max-value-size.exp: New file.
152 * gdb.base/huge.exp: Disable max-value-size for this test.
153
935c6144
IB
1542016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
155
156 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
157
7fe8399d
YQ
1582016-01-28 Yao Qi <yao.qi@linaro.org>
159
160 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
161
a2077e25
PA
1622016-01-25 Pedro Alves <palves@redhat.com>
163
164 PR threads/19461
165 * gdb.base/fork-running-state.c: New file.
166 * gdb.base/fork-running-state.exp: New file.
167
1d2736d4
PA
1682016-01-25 Pedro Alves <palves@redhat.com>
169
170 PR gdb/19494
171 * gdb.base/catch-fork-kill.c: New file.
172 * gdb.base/catch-fork-kill.exp: New file.
173
f1da4b11
PA
1742016-01-25 Pedro Alves <palves@redhat.com>
175
176 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
177 Delete, moved to lib/gdb.exp.
178 * gdb.threads/forking-threads-plus-breakpoint.exp
179 (foreach_with_prefix): Likewise.
180 * gdb.threads/process-dies-while-handling-bp.exp
181 (foreach_with_prefix): Likewise.
182 * lib/gdb.exp (foreach_with_prefix): New procedure.
183
45f38546
MK
1842016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
185
186 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
187 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
188
dc29a1ce
MK
1892016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
190
191 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
192 endian targets.
193
092127d7
JK
1942016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
195 Pedro Alves <palves@redhat.com>
196
197 Fix testsuite compatibility with Guile.
198 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
199 number.
200
31d765d3
JK
2012016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
202
203 Fix testsuite compatibility with Guile.
204 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
205 (thread 1): New test for backtrace through signal handler.
206
1ac78c04
YQ
2072016-01-22 Yao Qi <yao.qi@linaro.org>
208
209 PR testsuite/19491
210 * gdb.base/multi-forks.c: Include
211 ../lib/unbuffer_output.c
212 (main): Call gdb_unbuffer_output.
213
4f5946a8
DE
2142016-01-21 Doug Evans <dje@google.com>
215
216 * lib/ada.exp (gdb_compile_ada): Fix typo.
217
305e13e6
JB
2182016-01-21 Joel Brobecker <brobecker@adacore.com>
219
220 * gdb.base/break-fun-addr.exp: New file.
221 * gdb.base/break-fun-addr1.c: New file.
222 * gdb.base/break-fun-addr2.c: New file.
223
5f5dfff6
SM
2242016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
225
226 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
227 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
228 enum flag values.
229
fd356fa2
AA
2302016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
231
232 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
233 when GDB can not set the vector return value. Add more comments
234 for clarification.
235
9df22175
AT
2362016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
237
238 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
239 command.
240
41d1845e
SM
2412016-01-19 Simon Marchi <simon.marchi@ericsson.com>
242
243 * Makefile.in (DO_RUNTEST): Add --status and update usages.
244
01ac6840
SM
2452016-01-19 Simon Marchi <simon.marchi@ericsson.com>
246
247 * Makefile.in (check-single): Pass --status to runtest.
248 (check/%.exp): Likewise.
249
2502016-01-19 Simon Marchi <simon.marchi@ericsson.com>
251
252 * Makefile.in (check-parallel): Propagate return code from make
253 do-check-parallel.
254
bd0a71fa
MK
2552016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
256
257 * gdb.trace/ftrace.exp: Fix expected message on continue.
258 * gdb.trace/pending.exp: Fix expected message on continue.
259 * gdb.trace/trace-break.exp: Fix expected message on continue.
260
8bcbad33
SM
2612016-01-18 Simon Marchi <simon.marchi@ericsson.com>
262
263 * lib/gdb.exp (gdb_test): Remove unused global references.
264
f303dbd6
PA
2652016-01-18 Pedro Alves <palves@redhat.com>
266
267 * gdb.base/async-shell.exp: Adjust expected output.
268 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
269 * gdb.base/siginfo-thread.exp: Adjust expected output.
270 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
271 * gdb.java/jnpe.exp: Adjust expected output.
272 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
273 * gdb.threads/continue-pending-status.exp: Adjust expected output.
274 * gdb.threads/leader-exit.exp: Adjust expected output.
275 * gdb.threads/manythreads.exp: Adjust expected output.
276 * gdb.threads/pthreads.exp: Adjust expected output.
277 * gdb.threads/schedlock.exp: Adjust expected output.
278 * gdb.threads/siginfo-threads.exp: Adjust expected output.
279 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
280 expected output.
281 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
282 output.
283 * gdb.threads/sigthread.exp: Adjust expected output.
284 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
285
b2789696
YQ
2862016-01-18 Yao Qi <yao.qi@linaro.org>
287
288 * gdb.guile/scm-section-script.c: Replace @progbits with
289 %progbits.
290 * gdb.python/py-section-script.c: Likewise.
291
71ef29a8
PA
2922016-01-15 Pedro Alves <palves@redhat.com>
293
294 * gdb.multi/tids.exp: Test star wildcard ranges.
295
3f5b7598
PA
2962016-01-15 Pedro Alves <palves@redhat.com>
297
298 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
299 command from "thread apply" invocation.
300 (thr_apply_info_thr_invalid): Default the expected output to the
301 input tid list.
302 (top level): Add tests that use convenience variables. Add tests
303 for "thread apply" with a valid TID list, but missing the command.
304
663f6d42
PA
3052016-01-13 Pedro Alves <palves@redhat.com>
306
307 * gdb.base/default.exp: Expect $_gthread as well.
308 * gdb.multi/tids.exp: Test $_gthread.
309 * gdb.threads/thread-specific.exp: Test $_gthread.
310
c84f6bbf
PA
3112016-01-13 Pedro Alves <palves@redhat.com>
312
313 * gdb.multi/tids.exp: Test "info threads -gid".
314
22a02324
PA
3152016-01-13 Pedro Alves <palves@redhat.com>
316
317 * gdb.multi/tids.exp: Test InferiorThread.global_num and
318 Breakpoint.thread.
319 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
320
5d5658a1
PA
3212016-01-07 Pedro Alves <palves@redhat.com>
322
323 * gdb.base/break.exp: Adjust to output changes.
324 * gdb.base/hbreak2.exp: Likewise.
325 * gdb.base/sepdebug.exp: Likewise.
326 * gdb.base/watch_thread_num.exp: Likewise.
327 * gdb.linespec/keywords.exp: Likewise.
328 * gdb.multi/info-threads.exp: Likewise.
329 * gdb.threads/thread-find.exp: Likewise.
330 * gdb.multi/tids.c: New file.
331 * gdb.multi/tids.exp: New file.
332
84654457
PA
3332016-01-13 Pedro Alves <palves@redhat.com>
334
335 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
336
e3940304
PA
3372016-01-13 Pedro Alves <palves@redhat.com>
338
339 * gdb.base/default.exp: Expect $_inferior as well.
340 * gdb.multi/base.exp: Test $_inferior.
341
a911d87a
PA
3422016-01-13 Pedro Alves <palves@redhat.com>
343
344 PR breakpoints/19388
345 * gdb.base/catch-signal-siginfo-cond.c: New file.
346 * gdb.base/catch-signal-siginfo-cond.exp: New file.
347
82075af2
JS
3482016-01-12 Josh Stone <jistone@redhat.com>
349 Philippe Waroquiers <philippe.waroquiers@skynet.be>
350
351 * gdb.base/catch-syscall.c (do_execve): New variable.
352 (main): Conditionally trigger an execve.
353 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
354 (test_catch_syscall_execve): New, check entry/return across execve.
355 (do_syscall_tests): Call test_catch_syscall_execve.
356
e46eeedd
PA
3572016-01-12 Pedro Alves <palves@redhat.com>
358
359 * gdb.base/random-signal.exp (do_test): New procedure, with body
360 of testcase moved in.
361
01d8c27e
JK
3622016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
363 Pedro Alves <palves@redhat.com>
364
365 * gdb.base/funcargs.exp (finish from indirectly called function):
366 Reintroduce the case for 'First'.
367
9a706302
JK
3682016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
369 Pedro Alves <palves@redhat.com>
370
371 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
372 (tcatch_vfork_then_child_follow_exec)
373 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
374 identification.
375
c0ecb95f
JK
3762016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
377
378 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
379 and repeats to unlimited.
380 * gdb.python/py-value.exp: Likewise.
381 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
382 and repeats to unlimited.
383
6cfc1fcb
JK
3842016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
385
386 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
387 and reordering the functions.
388 * gdb.multi/hangout.c: Likewise.
389 * gdb.multi/hello.c: Likewise.
390
582a1b00
SM
3912016-01-08 Simon Marchi <simon.marchi@ericsson.com>
392
393 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
394 absolute.
395 (SingleStatisticTestResult.report): Use dict.keys instead of
396 dict.iterkeys.
397
79bc59cb
PA
3982016-01-06 Pedro Alves <palves@redhat.com>
399
400 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
401
43368e1d
MM
4022016-01-04 Markus Metzger <markus.t.metzger@intel.com>
403
404 * gdb.btrace/dlopen.exp: New.
405 * gdb.btrace/dlopen.c: New.
406 * gdb.btrace/dlopen-dso.c: New.
407
79fad5b8
SL
4082015-12-25 Sandra Loosemore <sandra@codesourcery.com>
409
410 * lib/gdb.exp (gdb_test): Update comments to clarify that the
411 PATTERN argument is optional.
412
ab8314b3
JB
4132015-12-24 Joel Brobecker <brobecker@adacore.com>
414
415 * lib/ada.exp (target_compile_ada_from_dir): New function.
416 (gdb_compile_ada): Reimplement avoiding the use of project files.
417 * gdb.ada/gnat_ada.gpr: Delete.
418 * gdb.ada/cond_lang.exp: Adjust test to make path before
419 filename optional.
420 * gdb.ada/small_reg_param.exp: Likewise.
421
fe33faff
SM
4222015-12-22 Simon Marchi <simon.marchi@ericsson.com>
423
424 * gdb.base/foll-vork.exp: Remove HP-UX special case.
425
6d265cb4
TP
4262015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
427
428 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
429 case.
430
10125099
SM
4312015-12-21 Simon Marchi <simon.marchi@ericsson.com>
432
433 * gdb.base/break.exp: Remove dead code.
434 * gdb.base/sepdebug.exp: Likewise.
435
3ca22649
SM
4362015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
437
438 * gdb.asm/asm-source.exp: Remove HP-UX references.
439 * gdb.base/annota1.exp: Likewise.
440 * gdb.base/annota3.exp: Likewise.
441 * gdb.base/attach.exp: Likewise.
442 * gdb.base/bigcore.exp: Likewise.
443 * gdb.base/break.exp: Likewise.
444 * gdb.base/call-ar-st.exp: Likewise.
445 * gdb.base/callfuncs.exp: Likewise.
446 * gdb.base/catch-fork-static.exp: Likewise.
447 * gdb.base/display.exp: Likewise.
448 * gdb.base/foll-exec-mode.exp: Likewise.
449 * gdb.base/foll-exec.exp: Likewise.
450 * gdb.base/foll-fork.exp: Likewise.
451 * gdb.base/foll-vfork.exp: Likewise.
452 * gdb.base/funcargs.exp: Likewise.
453 * gdb.base/hbreak2.exp: Likewise.
454 * gdb.base/inferior-died.exp: Likewise.
455 * gdb.base/interrupt.exp: Likewise.
456 * gdb.base/multi-forks.exp: Likewise.
457 * gdb.base/nodebug.exp: Likewise.
458 * gdb.base/sepdebug.exp: Likewise.
459 * gdb.base/solib1.c: Likewise.
460 * gdb.base/step-test.exp: Likewise.
461 * gdb.mi/non-stop.c: Likewise.
462 * gdb.mi/pthreads.c: Likewise.
463 * gdb.multi/bkpt-multi-exec.ex: Likewise.
464 * gdb.threads/pthreads.c: Likewise.
465 * gdb.threads/staticthreads.exp: Likewise.
466 * lib/future.exp: Likewise.
467 * lib/gdb.exp: Likewise.
468 * gdb.base/so-indr-cl.c: Remove.
469 * gdb.base/so-indr-cl.exp: Likewise.
470 * gdb.base/solib.c: Likewise.
471 * gdb.base/solib.exp: Likewise.
472 * gdb.base/solib2.c: Likewise.
473
b6304613
SM
4742015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
475
476 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
477 * gdb.base/call-ar-st.exp: Likewise.
478 * gdb.base/callfuncs.exp: Likewise.
479 * gdb.base/condbreak.exp: Likewise.
480 * gdb.base/constvars.exp: Likewise.
481 * gdb.base/hbreak2.exp: Likewise.
482 * gdb.base/langs.exp: Likewise.
483 * gdb.base/list.exp: Likewise.
484 * gdb.base/long_long.exp: Likewise.
485 * gdb.base/ptype.exp: Likewise.
486 * gdb.base/scope.exp: Likewise.
487 * gdb.base/signals.exp: Likewise.
488 * gdb.base/so-impl-ld.exp: Likewise.
489 * gdb.base/varargs.exp: Likewise.
490 * gdb.base/volatile.exp: Likewise.
491 * gdb.base/whatis.exp: Likewise.
492 * gdb.cp/cplusfuncs.exp: Likewise.
493 * gdb.cp/inherit.exp: Likewise.
494 * gdb.cp/local.exp: Likewise.
495 * gdb.cp/member-ptr.exp: Likewise.
496 * gdb.cp/method.exp: Likewise.
497 * gdb.cp/overload.exp: Likewise.
498 * gdb.cp/templates.exp: Likewise.
499 * gdb.stabs/weird.exp: Likewise.
500 * lib/compiler.c: Likewise.
501 * lib/compiler.cc: Likewise.
502 * lib/cp-support.exp: Likewise.
503 * lib/gdb.exp: Likewise.
504
bf401b07
SM
5052015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
506
507 * configure.ac: Remove HP-UX case.
508 * configure: Regenerate.
509
aff9c0f8
SM
5102015-12-18 Simon Marchi <simon.marchi@ericsson.com>
511
512 * lib/gdb.exp (gdb_compile): Add function doc.
513
a6904d5a
PA
5142015-12-17 Pedro Alves <palves@redhat.com>
515
516 PR threads/19354
517 * gdb.multi/info-threads.exp: New file.
518
a22279dd
YQ
5192015-12-15 Yao Qi <yao.qi@linaro.org>
520
521 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
522 is aarch64*-*-*.
523
0588c796
SL
5242015-12-14 Sandra Loosemore <sandra@codesourcery.com>
525
526 * gdb.base/history-duplicates.exp: Skip if no readline support.
527
5d978e17
SL
5282015-12-14 Sandra Loosemore <sandra@codesourcery.com>
529
530 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
531
7e763b86
SL
5322015-12-14 Sandra Loosemore <sandra@codesourcery.com>
533
534 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
535
87a3a92c
SL
5362015-12-14 Sandra Loosemore <sandra@codesourcery.com>
537
538 * gdb.base/completion.exp: Skip tests that interrupt GDB with
539 ctrl-C if nointerrupts target property is set.
540 * gdb.base/double-prompt-target-event-error.exp: Likewise.
541 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
542 * gdb.base/paginate-bg-execution.exp: Likewise.
543 * gdb.base/paginate-execution-startup.exp: Likewise.
544 * gdb.base/random-signal.exp: Likewise.
545 * gdb.base/range-stepping.exp: Likewise.
546 * gdb.cp/annota2.exp: Likewise.
547 * gdb.cp/annota3.exp: Likewise.
548 * gdb.gdb/selftest.exp: Likewise.
549 * gdb.threads/continue-pending-status.exp: Likewise.
550 * gdb.threads/leader-exit.exp: Likewise.
551 * gdb.threads/manythreads.exp: Likewise.
552 * gdb.threads/pthreads.exp: Likewise.
553 * gdb.threads/schedlock.exp: Likewise.
554 * gdb.threads/sigthread.exp: Likewise.
555
a8f077dc
DB
5562015-12-11 Don Breazeal <donb@codesourcery.com>
557
558 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
559 remote.
560 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
561 * gdb.base/foll-exec.exp (main): Enable for target remote.
562 * gdb.base/foll-fork.exp (main): Likewise.
563 * gdb.base/foll-vfork.exp (main): Likewise.
564 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
565 (proc continue_to_exit_bp_loc): Use clean_restart.
566 * gdb.base/pie-execl.exp (main): Disable for target remote.
567 * gdb.base/watch-vfork.exp (main): Enable for target remote.
568 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
569 * gdb.threads/execl.exp (main): Likewise.
570 * gdb.threads/fork-child-threads.exp (main): Likewise.
571 * gdb.threads/fork-plus-threads.exp (main): Disable for target
572 remote.
573 * gdb.threads/fork-thread-pending.exp (main): Enable for target
574 remote.
575 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
576 pid.tid style ptids, instead of just tid.
577 * gdb.threads/thread-execl.exp (main): Enable for target remote.
578 * gdb.threads/watchpoint-fork.exp (main): Likewise.
579 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
580 ptids, instead of just tid.
581
3b2464a8
AB
5822015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
583
584 * gdb.base/list.exp (test_list_forward): Add end of file error
585 test.
586 (test_repeat_list_command): Add end of file error test.
587 (test_list_backwards): Add beginning of file error test.
588
a0def019
AB
5892015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
590
591 * gdb.base/list.exp (test_list_invalid_args): New function,
592 defined, and called.
593
5c000dff
AB
5942015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
595
596 * gdb.base/list.exp (test_list): Make test names unique.
597
f1637ebe
YQ
5982015-12-11 Yao Qi <yao.qi@linaro.org>
599
600 * gdb.base/coremaker2.c: Remove.
601
36d6fc0a
PA
6022015-12-10 Pedro Alves <palves@redhat.com>
603
604 * gdb.multi/base.exp: Remove stale "spaces" references.
605
762f7747
PA
6062015-12-10 Pedro Alves <palves@redhat.com>
607
608 * gdb.multi/base.exp: Don't use nowarnings.
609 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
610 * gdb.multi/hangout.c: Include stdio.h.
611 * gdb.multi/hello.c: Include stdlib.h.
612 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
613 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
614 * gdb.multi/multi-arch.exp: Don't use nowarnings.
615
28d2bfb9
AB
6162015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
617
618 * gdb.dwarf2/dw2-ranges-base.c: New file.
619 * gdb.dwarf2/dw2-ranges-base.exp: New file.
620 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
621 support additional line table, and debug ranges generation.
622 (Dwarf::ranges): New function, generate .debug_ranges.
623 (Dwarf::lines): Support generating simple line table programs.
624 (Dwarf::assemble): Initialise new namespace variables.
625
5fc2beac
KB
6262015-12-09 Kevin Buettner <kevinb@redhat.com>
627
628 * gdb.base/async.exp (proc test_background): Add case for
629 asynchronous execution not supported.
630
1c35a88f
LM
6312015-12-09 Luis Machado <lgustavo@codesourcery.com>
632
633 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
634 format and change test names to make them unique.
635
b593e3d9
RK
6362015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
637 Pedro Alves <pedro@redhat.com>
638
639 PR gdb/18702
640 Add checking of floatformats setup on x86_64 hosts.
641 * gdb.arch/i386-float.S (main): Load bigval and smallval.
642 (smallval, bigval): New labels/constants.
643 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
644 float" after loading bigval and smallval.
645
d72413e6
PMR
6462015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
647
648 * gdb.ada/fun_overload_menu.exp: New testcase.
649 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
650
ece66d65
JS
6512015-12-04 Josh Stone <jistone@redhat.com>
652
653 * gdb.base/catch-fork-static.exp: New.
654
41d0efca
YQ
6552015-12-03 Yao Qi <yao.qi@linaro.org>
656
657 * gdb.base/sizeof.c: Don't include stdio.h and
658 ../lib/unbuffer_output.c.
659 (main): New variable 'size' and 'value'. Remove printf and
660 gdb_unbuffer_output. Assign return value to size and value.
661 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
662 at the beginning.
663 (check_sizeof): Check the result by printing variable 'size'.
664 (check_valueof): Check the result by printing variable 'value'.
665
99fd02d9
YQ
6662015-12-01 Yao Qi <yao.qi@linaro.org>
667
668 * gdb.base/disp-step-syscall.exp: Define syscall instruction
669 for aarch64*-*-linux* target.
670
f2faf941
PA
6712015-11-30 Pedro Alves <palves@redhat.com>
672
673 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
674
04bf20c5
PA
6752015-11-30 Pedro Alves <palves@redhat.com>
676
677 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
678 Handle non-stop mode vCont replies.
679
09df4675
PA
6802015-11-30 Pedro Alves <palves@redhat.com>
681
682 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
683 prepare_for_testing. Start gdb with "set non-stop on" appended to
684 GDBFLAGS. Lax expected stop output.
685
58b584af
YQ
6862015-11-27 Yao Qi <yao.qi@linaro.org>
687
688 * gdb.arch/arm-neon.exp: New.
689 * gdb.arch/arm-neon.c: New.
690
dfcb77a8
YQ
6912015-11-27 Yao Qi <yao.qi@linaro.org>
692
693 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
694
88e8ec1b
YQ
6952015-11-27 Yao Qi <yao.qi@linaro.org>
696
697 * gdb.cp/annota2.exp: Allow multiple occurrences of the
698 frames-invalid annotation.
699
bfde72c2
YQ
7002015-11-27 Yao Qi <yao.qi@linaro.org>
701
702 * gdb.cp/annota2.exp: Use ${frames_invalid}.
703
f6512a69
SM
7042015-11-26 Simon Marchi <simon.marchi@ericsson.com>
705
706 * gdb.threads/names.exp: New file.
707 * gdb.threads/names.c: New file.
708 * README: Mention gdb,no_thread_names.
709
46a3515b
MM
7102015-11-26 Markus Metzger <markus.t.metzger@intel.com>
711
712 PR 19297
713 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
714 support" error.
715
62147a22
PA
7162015-11-24 Pedro Alves <palves@redhat.com>
717
718 PR 17539
719 * gdb.base/display.exp: Expect displays to be sorted in ascending
720 order. Use multi_line.
721 * gdb.base/solib-display.exp: Likewise.
722
2f341b6e
PA
7232015-11-24 Pedro Alves <palves@redhat.com>
724
725 PR 17539
726 * gdb.base/display.exp: Expect displays to be sorted in ascending
727 order. Use multi_line.
728 * gdb.base/solib-display.exp: Likewise.
729
7e0aa6aa
PA
7302015-11-24 Pedro Alves <palves@redhat.com>
731
732 PR 17539
733 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
734 threads in ascending order.
735 * gdb.base/foll-fork.exp: Likewise.
736 * gdb.base/foll-vfork.exp: Likewise.
737 * gdb.base/multi-forks.exp: Likewise.
738 * gdb.mi/mi-nonstop.exp: Likewise.
739 * gdb.mi/mi-nsintrall.exp: Likewise.
740 * gdb.multi/base.exp: Likewise.
741 * gdb.multi/multi-arch.exp: Likewise.
742 * gdb.python/py-inferior.exp: Likewise.
743 * gdb.threads/break-while-running.exp: Likewise.
744 * gdb.threads/execl.exp: Likewise.
745 * gdb.threads/gcore-thread.exp: Likewise.
746 * gdb.threads/info-threads-cur-sal.exp: Likewise.
747 * gdb.threads/kill.exp: Likewise.
748 * gdb.threads/linux-dp.exp: Likewise.
749 * gdb.threads/multiple-step-overs.exp: Likewise.
750 * gdb.threads/next-bp-other-thread.exp: Likewise.
751 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
752 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
753 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
754 * gdb.threads/thread-find.exp: Likewise.
755 * gdb.threads/tls.exp: Likewise.
756 * lib/mi-support.exp (mi_reverse_list): Delete.
757 (mi_check_thread_states): No longer reverse list.
758
2cc57ad8
PA
7592015-11-24 Pedro Alves <palves@redhat.com>
760
761 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
762 use lowercase.
763
c93e8391
SM
7642015-11-23 Simon Marchi <simon.marchi@ericsson.com>
765
766 * gdb.trace/actions.c: Include trace-common.h.
767 (main): Add a location for a fast tracepoint.
768 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
769 the normal tracepoints.
770 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
771
045ccf91
SM
7722015-11-23 Simon Marchi <simon.marchi@ericsson.com>
773
774 * save-trace.exp: Factor out code to these...
775 (gdb_save_tracepoints): New.
776 (gdb_load_tracepoints): New.
777 (do_save_load_test): New.
778
5506f9f6
KB
7792015-11-23 Kevin Buettner <kevinb@redhat.com>
780
781 * gdb.base/asmlabel.exp: New test.
782 * gdb.base/asmlabel.c: New test case.
783
16c3b12f
JB
7842015-11-23 Joel Brobecker <brobecker@adacore.com>
785
786 * gdb.base/wrong_frame_bt_full-main.c: New file.
787 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
788 * gdb.base/wrong_frame_bt_full.exp: New file.
789
155bfbd3
JB
7902015-11-23 Joel Brobecker <brobecker@adacore.com>
791
792 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
793
bb097445
JM
7942015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
795
206853a0 796 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
797 pstate register when comparing registers values in
798 sparc64-*-linux-gnu targets to avoid spurious differences.
799
9c88ed8f
JM
8002015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
801
206853a0 802 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 803
96161e25
SL
8042015-11-19 Sandra Loosemore <sandra@codesourcery.com>
805
806 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
807 as type argument to gdb_compile.
808 * gdb.base/nested-subp2.exp: Likewise.
809 * gdb.base/nested-subp3.exp: Likewise.
810
340c2830
DV
8112015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
812
813 * lib/dwarf.exp (_note): Fix left shift of negative value.
814 * gdb.trace/trace-condition.exp: Likewise.
815
c1862d0f
YQ
8162015-11-13 Yao Qi <yao.qi@linaro.org>
817
818 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
819 comments about d10v.
820 (test_scalar_returns): Likewise.
821 * gdb.base/d10v.ld: Remove.
822 * gdb.base/overlays.exp: Remove the target triplet checking for
823 d10v-*-*.
824 * gdb.base/structs.exp (test_struct_returns): Remove the
825 comments about d10v.
826 (test_struct_calls): Likewise.
827
77ae9c19
YQ
8282015-11-13 Yao Qi <yao.qi@linaro.org>
829
830 * gdb.base/gnu_vector.exp: Check the return value by "p res".
831 * gdb.base/gnu_vector.c: Don't include stdio.h.
832 (main): Don't print res and call add_some_intvecs.
833
430e004e
MK
8342015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
835
836 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
837 macro.
838 (func5): Removed.
839 (func4): Use FAST_TRACEPOINT_LABEL.
840 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
841 macro.
842 (func): Removed.
843 (thread_function): Use FAST_TRACEPOINT_LABEL.
844 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
845 (func): Remove.
846 (marker): Use FAST_TRACEPOINT_LABEL.
847 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
848 (pendfunc1): Remove.
849 (pendfunc): Use FAST_TRACEPOINT_LABEL.
850 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
851 (foo): Remove.
852 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
853 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
854 macro.
855 (func): Remove.
856 (marker): Use FAST_TRACEPOINT_LABEL.
857 * gdb.trace/trace-common.h: New header.
858 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
859 macro.
860 (func): Remove.
861 (marker): Use FAST_TRACEPOINT_LABEL.
862 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
863 (func): Remove.
864 (thread_function): Use FAST_TRACEPOINT_LABEL.
865
6e7675a7
MK
8662015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
867
868 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
869 in front.
870 * gdb.trace/change-loc.exp: Use global pcreg definition.
871 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
872 * gdb.trace/entry-values.exp: Use global spreg definition, add $
873 in front.
874 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
875 * gdb.trace/pending.exp: Likewise.
876 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
877 * gdb.trace/trace-break.exp: Likewise.
878 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
879 in front.
880 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
881 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
882 in front.
883 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
884
dddc0e16
JB
8852015-11-09 Joel Brobecker <brobecker@adacore.com>
886
887 * gdb.ada/fin_fun_out: New testcase.
888
c6f0b406
KB
8892015-11-07 Kevin Buettner <kevinb@redhat.com>
890
891 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
892 value associated with DW_AT_byte_size.
893 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
894 constants for DW_AT_byte_size, DW_AT_lower_bound, and
895 DW_AT_upper_bound.
896
f01dcfd9
KB
8972015-11-07 Kevin Buettner <kevinb@redhat.com>
898
899 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
900 (gdb_target_symbol_prefix_flags): Define in terms of _asm
901 version.
902 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
903 gdb.dwarf2/dw2-canonicalize-type.exp,
904 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
905 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
906 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
907 provided by gdb_target_symbol_prefix_flags_asm.
908 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
909 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
910 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
911 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
912 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
913 macros where needed). Use this macro for symbols which require
914 the prefix provided by SYMBOL_PREFIX.
915
2223449a
KB
9162015-11-05 Kevin Buettner <kevinb@redhat.com>
917
918 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
919 New procs.
920 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
921 representing expressions, of more than one list element.
922 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
923 to prepend linker symbol prefix to f.
924 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
925 table_1 and table_2.
926 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
927 Likewise, for f and g.
928 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
929 for ptr.
930 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
931 for main.
932 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
933 table_1_ptr and table_2_ptr.
934
6f2f1a3a
JK
9352015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
936 Joel Brobecker <brobecker@adacore.com>
937
938 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
939
566c56c9
MK
9402015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
941
942 * gdb.reverse/s390-mvcle.c: New test.
943 * gdb.reverse/s390-mvcle.exp: New file.
944 * lib/gdb.exp: Enable reverse tests on s390*-linux.
945
d5f0636b
MK
9462015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
947
948 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
949
7ad8b86c
MK
9502015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
951
952 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
953 reaching marker2.
954 * gdb.reverse/getresuid-reverse.exp: Likewise.
955 * gdb.reverse/pipe-reverse.exp: Likewise.
956 * gdb.reverse/readv-reverse.exp: Likewise.
957 * gdb.reverse/recvmsg-reverse.exp: Likewise.
958 * gdb.reverse/time-reverse.exp: Likewise.
959 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
960
4081c0f1
YQ
9612015-10-30 Yao Qi <yao.qi@linaro.org>
962
963 * gdb.threads/wp-replication.c (watch_count_done): Remove.
964 (empty_cycle): Remove.
965 (main): Don't call empty_cycle. Don't use watch_count_done.
966 * gdb.threads/wp-replication.exp: Don't set breakpoint on
967 empty_cycle. Rewrite the code counting HW watchpoints.
968
452b4ba5
MK
9692015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
970
971 * gdb.reverse/fstatat-reverse.c: New test.
972 * gdb.reverse/fstatat-reverse.exp: New file.
973 * gdb.reverse/getresuid-reverse.c: New test.
974 * gdb.reverse/getresuid-reverse.exp: New file.
975 * gdb.reverse/pipe-reverse.c: New test.
976 * gdb.reverse/pipe-reverse.exp: New file.
977 * gdb.reverse/readv-reverse.c: New test.
978 * gdb.reverse/readv-reverse.exp: New file.
979 * gdb.reverse/recvmsg-reverse.c: New test.
980 * gdb.reverse/recvmsg-reverse.exp: New file.
981 * gdb.reverse/time-reverse.c: New test.
982 * gdb.reverse/time-reverse.exp: New file.
983 * gdb.reverse/waitpid-reverse.c: New test.
984 * gdb.reverse/waitpid-reverse.exp: New file.
985
5e2e7507
JK
9862015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
987
988 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
989
0fde2c53
DE
9902015-10-26 Doug Evans <dje@google.com>
991
992 PR symtab/17391
993 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
994 * gdb.dwarf2/bad-regnum.c: New file.
995 * gdb.dwarf2/bad-regnum.exp: New file.
996
1a70ae97
DE
9972015-10-26 Doug Evans <dje@google.com>
998
999 PR python/18938
1000 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1001 file.
1002
27dc26ab
JK
10032015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1004
1005 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1006 for a change by "Mention language in compile error message".
1007
bed91f4d
SM
10082015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1009
1010 PR python/18073
1011 * gdb.python/py-type.c (C::a_method): New.
1012 (C::a_const_method): New.
1013 (C::a_static_method): New.
1014 (a_function): New.
1015 * gdb.python/py-type.exp (test_fields): Test getting fields
1016 from function and method.
1017
3f2f83dd
KB
10182015-10-21 Keven Boell <keven.boell@intel.com>
1019
1020 * gdb.fortran/vla-alloc-assoc.exp: New file.
1021 * gdb.fortran/vla-datatypes.exp: New file.
1022 * gdb.fortran/vla-datatypes.f90: New file.
1023 * gdb.fortran/vla-history.exp: New file.
1024 * gdb.fortran/vla-ptype-sub.exp: New file.
1025 * gdb.fortran/vla-ptype.exp: New file.
1026 * gdb.fortran/vla-sizeof.exp: New file.
1027 * gdb.fortran/vla-sub.f90: New file.
1028 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1029 * gdb.fortran/vla-value-sub-finish.exp: New file.
1030 * gdb.fortran/vla-value-sub.exp: New file.
1031 * gdb.fortran/vla-value.exp: New file.
1032 * gdb.fortran/vla-ptr-info.exp: New file.
1033 * gdb.mi/mi-vla-fortran.exp: New file.
1034 * gdb.mi/vla.f90: New file.
1035
27145d50
SL
10362015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1037
1038 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1039 of hardwired timeout value.
1040
5f3ff4f8
JK
10412015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1042 Pedro Alves <palves@redhat.com>
1043
1044 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1045 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1046
bfd09d20
JS
10472015-10-19 Josh Stone <jistone@redhat.com>
1048
1049 * gdb.base/catch-syscall.c: Include <sched.h>.
1050 (unknown_syscall): New variable.
1051 (main): Trigger a vfork and an unknown syscall.
1052 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1053 (unknown_syscall_number): Likewise.
1054 (check_call_to_syscall): Accept an optional syscall pattern.
1055 (check_return_from_syscall): Likewise.
1056 (check_continue): Likewise.
1057 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1058 (test_catch_syscall_skipping_return): New test toggling off 'catch
1059 syscall' to step over the syscall return, then toggling back on.
1060 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1061 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1062 (do_syscall_tests): Call test_catch_syscall_without_args and
1063 test_catch_syscall_mid_vfork.
1064 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1065 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1066
b32b93c6
AS
10672015-10-19 Andrew Stubbs <ams@codesourcery.com>
1068
1069 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1070 print g_vE): Add new pass patterns.
1071 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1072 print various symbol names for vptr fields.
1073
9d622bda
AB
10742015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1075
1076 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1077 results.
1078
0fd8ac1c
YQ
10792015-10-12 Yao Qi <yao.qi@linaro.org>
1080
1081 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1082
34240514
YQ
10832015-10-12 Yao Qi <yao.qi@linaro.org>
1084
1085 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1086 is aarch64*-*-linux*.
1087
8240f442
YQ
10882015-10-12 Yao Qi <yao.qi@linaro.org>
1089
1090 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1091 (can_relocate_bcond_true): ... it.
1092 (can_relocate_bcond_false): New function.
1093 (foo): Likewise.
1094 (can_relocate_bl): Likewise.
1095 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1096 can_relocate_bl.
1097
2520f728
PMR
10982015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1099
1100 * gdb.base/nested-addr.c: New file.
1101 * gdb.base/nested-addr.exp: New testcase.
1102
abcef95a
MM
11032015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1104
1105 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1106 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1107 its output. Ignore the output of "record goto begin" and instead
1108 check that GDB is replaying.
1109
145e3ddb
PA
11102015-10-09 Pedro Alves <palves@redhat.com>
1111
1112 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1113 (top level): Use it in the run with no args test.
1114
d5d8c4e1
IB
11152015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1116
1117 * gdb.dlang/properties.exp: New file.
1118
06e635ef
SL
11192015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1120
1121 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1122 whether or not address 0x1000 is mapped on the target.
1123
e019fd1d
SM
11242015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1125
1126 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1127 build.
1128
77ba2a67
MM
11292015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1130
1131 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1132 instruction-history test.
1133
c60eb31f
DE
11342015-09-28 Doug Evans <dje@google.com>
1135
1136 * gdb.base/gcore.c (array_func): Add reference to static_array.
1137
9a3c8263
SM
11382015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1139
1140 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1141 source line.
1142
9720e656
SL
11432015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1144
1145 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1146 short or char as base type.
1147
938d3bf2
SL
11482015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1149
1150 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1151 to allow any size enum.
1152
e6c2c623
PMR
11532015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1154
1155 * gdb.ada/array_ptr_renaming.exp: New testcase.
1156 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1157 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1158
06da0f77
PL
11592015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1160
1161 * gdb.trace/ftrace-lock.c: New file.
1162 * gdb.trace/ftrace-lock.exp: New file.
1163
4f51c22a
PL
11642015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1165
1166 * gdb.arch/insn-reloc.c: New file.
1167 * gdb.arch/ftrace-insn-reloc.exp: New file.
1168
7041adf4
PL
11692015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1170
1171 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1172 instruction.
1173 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1174 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1175 * gdb.trace/range-stepping.c: Likewise.
1176 * gdb.trace/trace-break.c: Likewise.
1177 * gdb.trace/trace-mt.c (thread_function): Likewise.
1178 * gdb.trace/ftrace.c (marker): Likewise.
1179 * gdb.trace/trace-condition.c (marker): Likewise.
1180 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1181 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1182 is_aarch64_target.
1183
015d2e7e
DE
11842015-09-18 Doug Evans <xdje42@gmail.com>
1185
1186 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1187 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1188
26b188a2
SL
11892015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1190
1191 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1192 the breakpoint.
1193
79dc332b
SL
11942015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1195
1196 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1197 the pending breakpoint. Remove timeout override for "Run till
1198 MI pending breakpoint on pendfunc3 on thread 2" test.
1199
f57929f2
SL
12002015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1201
1202 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1203 filename pattern.
1204
3f469b17
SL
12052015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1206
1207 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1208 in breakpoint filename pattern.
1209
515b89b3
SL
12102015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1211
7800dbe4
SL
1212 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1213
12142015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1215
515b89b3
SL
1216 * gdb.linespec/explicit.exp: Check for readline support for
1217 tab-completion tests. Fix obvious typo.
1218
d2939ba2
MM
12192015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1220
1221 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1222 and replay.
1223
cbb55fa7
MM
12242015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1225
1226 * gdb.btrace/non-stop.c: New.
1227 * gdb.btrace/non-stop.exp: New.
1228
43691ca1
PL
12292015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1230 Yao Qi <yao.qi@linaro.org>
1231
1232 * gdb.trace/trace-condition.c: New file.
1233 * gdb.trace/trace-condition.exp: New file.
1234
d78908cf
WW
12352015-09-16 Wei-cheng Wang <cole945@gmail.com>
1236
1237 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1238 for testing bytecode compilation.
1239
1ed415e2
PA
12402015-09-16 Pedro Alves <palves@redhat.com>
1241 Sandra Loosemore <sandra@codesourcery.com>
1242
1243 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1244 (SECONDS): Redefine.
1245 (main): Call pthread_kill and alarm early.
1246 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1247 support.
1248 (test): If the target can't hardware step and doesn't support
1249 displaced stepping, increase the timeout.
1250
d136eff5
PA
12512015-09-16 Pedro Alves <palves@redhat.com>
1252
1253 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1254 (enable_debug): New procedures.
1255 (test): Use them. Bail out if waiting for threads fails.
1256 (top level): Bail out if a test fails.
1257
991f019c
YQ
12582015-09-16 Yao Qi <yao.qi@linaro.org>
1259
1260 * gdb.asm/asm-source.exp: Set asm-arch for
1261 aarch64*-*-* target.
1262 * gdb.asm/aarch64.inc: New file.
1263
bfca584f
PMR
12642015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1265
1266 * gdb.ada/array_of_variable_length.exp: New testcase.
1267 * gdb.ada/array_of_variable_length/foo.adb: New file.
1268 * gdb.ada/array_of_variable_length/pck.adb: New file.
1269 * gdb.ada/array_of_variable_length/pck.ads: New file.
1270
b326e587
DE
12712015-09-15 Doug Evans <dje@google.com>
1272
1273 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1274 of function static local variable.
1275
5382cfab
PW
12762015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1277
1278 * gdb.threads/tls-so_extern.exp: New test file.
1279 * gdb.threads/tls-so_extern.c: New test file.
1280 * gdb.threads/tls-so_extern_main.c: New test file.
1281
141c5cc4
JK
12822015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1283
1284 * gdb.opt/solib-intra-step-lib.c: New file.
1285 * gdb.opt/solib-intra-step-main.c: New file.
1286 * gdb.opt/solib-intra-step.exp: New file.
1287
d15dcecd
PA
12882015-09-15 Pedro Alves <palves@redhat.com>
1289
1290 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1291 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1292
4c2f2a79
PA
12932015-09-14 Pedro Alves <palves@redhat.com>
1294
1295 * gdb.base/hook-stop-continue.c: Delete.
1296 * gdb.base/hook-stop-continue.exp: Delete.
1297 * gdb.base/hook-stop-frame.c: Delete.
1298 * gdb.base/hook-stop-frame.exp: Delete.
1299 * gdb.base/hook-stop.c: New file.
1300 * gdb.base/hook-stop.exp: New file.
1301
919e6dbe
PMR
13022015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1303
1304 * gdb.ada/access_to_packed_array.exp: New testcase.
1305 * gdb.ada/access_to_packed_array/foo.adb: New file.
1306 * gdb.ada/access_to_packed_array/pack.adb: New file.
1307 * gdb.ada/access_to_packed_array/pack.ads: New file.
1308
157280a4
MM
13092015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1310
1311 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1312 buffer size test.
1313
2fd33e94
DB
13142015-09-11 Don Breazeal <donb@codesourcery.com>
1315
1316 * gdb.base/foll-exec.c: Add copyright header. Fix
1317 formatting issues.
1318 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1319 (do_exec_tests): Use clean_restart in place of zap_session,
1320 and for test initialization. Fix formatting issues. Use
1321 fail in place of perror.
1322 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1323 an expect statement to match an expression with output from
1324 the program under debug.
1325 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1326 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1327 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1328 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1329 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1330
e70b6e8e
DE
13312015-09-09 Doug Evans <dje@google.com>
1332
1333 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1334
7a551a51
DE
13352015-09-09 Doug Evans <dje@google.com>
1336
1337 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1338
4c666f84
DE
13392015-09-09 Doug Evans <dje@google.com>
1340
1341 * gdb.base/savedregs.exp: Fix typo.
1342
243a9253
PA
13432015-09-09 Pedro Alves <palves@redhat.com>
1344
1345 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1346
c0fa8fbd
SL
13472015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1348
1349 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1350 command actually switches threads. Give up on remaining
1351 tests if target fails to stop at breakpoint.
1352
cd7c1778
PMR
13532015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1354
1355 * gdb.ada/funcall_char.exp: New testcase.
1356 * gdb.ada/funcall_char/foo.adb: New file.
1357
dc5c8746
PMR
13582015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1359
1360 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1361 expected outputs. Add two testcases for completing ambiguous
1362 functions.
1363 * gdb.ada/complete/aux_pck.adb: New file.
1364 * gdb.ada/complete/aux_pck.ads: New file.
1365 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1366 Ambiguous_Func functions.
1367 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1368 * gdb.ada/complete/pck.adb: Likewise.
1369
4e83a1e7
UW
13702015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1371
1372 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1373 failures to run the test program under GDB.
1374
8ce74153
LM
13752015-08-26 Luis Machado <lgustavo@codesourcery.com>
1376
1377 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1378 to C.
1379
e9756d52
PP
13802015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1381
1382 * gdb.base/run-after-attach.exp: New test file.
1383 * gdb.base/run-after-attach.c: New test file.
1384
8d37573b
DB
13852015-08-26 Don Breazeal <donb@codesourcery.com>
1386
1387 * gdb.base/foll-exec-2.c: New test program.
1388 * gdb.base/foll-exec-2.exp: New test.
1389
63e43d3a
PMR
13902015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1391
1392 * gdb.base/nested-subp1.exp: New file.
1393 * gdb.base/nested-subp1.c: New file.
1394 * gdb.base/nested-subp2.exp: New file.
1395 * gdb.base/nested-subp2.c: New file.
1396 * gdb.base/nested-subp3.exp: New file.
1397 * gdb.base/nested-subp3.c: New file.
1398
3d40fbb5
PA
13992015-08-24 Pedro Alves <palves@redhat.com>
1400
1401 * gdb.server/connect-without-multi-process.c: New file.
1402 * gdb.server/connect-without-multi-process.exp: New file.
1403
4422ac93
LM
14042015-08-24 Luis Machado <lgustavo@codesourcery.com>
1405
1406 * gdb.opt/inline-markers.c: Make z int.
1407
91dddb86
LM
14082015-08-24 Luis Machado <lgustavo@codesourcery.com>
1409
1410 * gdb.opt/inline-markers.c: Make z volatile.
1411
a48847ee
LM
14122015-08-24 Luis Machado <lgustavo@codesourcery.com>
1413
1414 * gdb.opt/inline-bt.c: New volatile global z.
1415 * gdb.opt/inline-cmds.c: Likewise.
1416 * gdb.opt/inline-locals.c: Likewise.
1417 * gdb.opt/inline-markers.c: New extern global z.
1418 (marker): Use z.
1419 (inline_fn): Likewise.
1420
0ebbc52b
PA
14212015-08-24 Pedro Alves <palves@redhat.com>
1422
1423 * config/m32r-stub.exp: Remove file.
1424 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1425 * gdb.base/call-rt-st.exp: Likewise.
1426 * gdb.base/call-strs.exp: Likewise.
1427 * gdb.base/default.exp: Remove references to h8300-*-hms and
1428 *-*-udi*.
1429 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1430
77c365df
AA
14312015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1432
1433 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1434 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1435 and "return" use KFAIL when GDB can not read/write the vector
1436 return value.
1437
4313b8c0
GB
14382015-08-21 Gary Benson <gbenson@redhat.com>
1439
1440 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1441
0e433b32
PA
14422015-08-20 Pedro Alves <palves@redhat.com>
1443
1444 * gdb.server/solib-list.exp: No longer expect an interior stop in
1445 non-stop mode.
1446
221e1a37
PA
14472015-08-20 Pedro Alves <palves@redhat.com>
1448
1449 * gdb.server/connect-stopped-target.c: New file.
1450 * gdb.server/connect-stopped-target.exp: New file.
1451
40e3ad0e
PA
14522015-08-20 Pedro Alves <palves@redhat.com>
1453
1454 * gdb.dwarf2/comp-unit-lang.exp: New file.
1455 * gdb.dwarf2/comp-unit-lang.c: New file.
1456
af39b327
PMR
14572015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1458
1459 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1460 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1461
7d45c7c3 14622015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 1463
7d45c7c3
KB
1464 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1465 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1466
4d6cceb4
DE
14672015-08-18 Doug Evans <dje@google.com>
1468 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1469
1470 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1471 skip_python_tests. New arg prompt_regexp.
1472 (skip_python_tests): New function.
1473 * lib/mi-support.exp (mi_skip_python_tests): New function.
1474 * gdb.python/py-mi-objfile-gdb.py: New file.
1475 * gdb.python/py-mi-objfile.c: New file.
1476 * gdb.python/py-mi-objfile.exp: New file.
1477
ad89c2aa
KS
14782015-08-17 Keith Seitz <keiths@redhat.com>
1479
1480 * gdb.linespec/explicit.exp: Move strace test from here ...
1481 * gdb.trace/strace.exp: ... to here.
1482
e3ae3c43
PP
14832015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1484
1485 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1486 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1487
604b2636
DE
14882015-08-14 Doug Evans <xdje42@gmail.com>
1489
1490 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
1491 inferior before selecting a new file.
1492
6ff0ba5f
DE
14932015-08-14 Doug Evans <xdje42@gmail.com>
1494
1495 * gdb.mi/mi-disassemble.exp: Update.
1496 * gdb.base/disasm-optim.S: New file.
1497 * gdb.base/disasm-optim.c: New file.
1498 * gdb.base/disasm-optim.h: New file.
1499 * gdb.base/disasm-optim.exp: New file.
1500
9ca98f92
KS
15012015-08-14 Keith Seitz <keiths@redhat.com>
1502
1503 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
1504 "evaluated-by".
1505
52bbc560
JB
15062015-08-13 Joel Brobecker <brobecker@adacore.com>
1507
1508 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
1509
5d8c3ed3
PMR
15102015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
1511
1512 * gdb.ada/fun_renaming.exp: New testcase.
1513 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
1514 * gdb.ada/fun_renaming/pack.adb: New file.
1515 * gdb.ada/fun_renaming/pack.ads: New file.
1516
ea8812bc
KS
15172015-08-12 Keith Seitz <keiths@redhat.com>
1518
1519 * gdb.base/dso2dso.exp: Pass basename of source file in call to
1520 gdb_get_line_number.
1521
4dafcdeb
JB
15222015-08-12 Joel Brobecker <brobecker@adacore.com>
1523
1524 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
1525 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
1526 gdb.base/dso2dso.exp: New files.
1527
5ba32597
SDJ
15282015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
1529 Pedro Alves <palves@redhat.com>
1530 Keith Seitz <keiths@redhat.com>
1531
1532 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
1533 GDBFLAGS.
1534
b6dafabf
PP
15352015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1536
1537 * gdb.base/gdbhistsize-history.exp
1538 (test_histsize_history_setting): Use save_vars.
1539 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1540 Use save_vars.
1541 (test_no_truncation_of_unlimited_history_file): Use save_vars.
1542 * gdb.base/readline.exp: Use save_vars.
1543
abe8e607
PP
15442015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1545
1546 * lib/gdb.exp (save_vars): New proc.
1547
629500fa
KS
15482015-08-11 Keith Seitz <keiths@redhat.com>
1549
1550 * gdb.base/help.exp: Update help_breakpoint_text.
1551
eb8c4e2e
KS
15522015-08-11 Keith Seitz <keiths@redhat.com>
1553
1554 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
1555 (at toplevel): Call test_explicit_breakpoints.
1556 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
1557 breakpoints.
1558 * lib/mi-support.exp (mi_make_breakpoint): Add support for
1559 breakpoint conditions, "-cond".
1560
87f0e720
KS
15612015-08-11 Keith Seitz <keiths@redhat.com>
1562
1563 * gdb.linespec/3explicit.c: New file.
1564 * gdb.linespec/cpexplicit.cc: New file.
1565 * gdb.linespec/cpexplicit.exp: New file.
1566 * gdb.linespec/explicit.c: New file.
1567 * gdb.linespec/explicit.exp: New file.
1568 * gdb.linespec/explicit2.c: New file.
1569 * gdb.linespec/ls-errs.exp: Add explicit location tests.
1570 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
1571 before using in the matching pattern.
1572 Clarify that `prefix' is a regular expression.
1573
f00aae0f
KS
15742015-08-11 Keith Seitz <keiths@redhat.com>
1575
1576 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
1577 test.
1578 Add tests for missing ",FMT" and ",".
1579
e27852be
DE
15802015-08-10 Doug Evans <dje@google.com>
1581 Keith Seitz <keiths@redhat.com>
1582
1583 PR gdb/17960
1584 * gdb.base/completion.exp: Add location completer tests.
1585
7f03bd92
PA
15862015-08-07 Pedro Alves <palves@redhat.com>
1587
1588 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
1589 tests here.
1590 (top level): Run do_test with and without displaced stepping.
1591
3fc8eb30
PA
15922015-08-07 Pedro Alves <palves@redhat.com>
1593
1594 * gdb.base/valgrind-disp-step.c: New file.
1595 * gdb.base/valgrind-disp-step.exp: New file.
1596
d4569d7b
PA
15972015-08-07 Pedro Alves <palves@redhat.com>
1598
1599 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
1600 Delete function.
1601 (main): Add alarm. Run an infinite loop instead of calling
1602 wait_threads.
1603 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
1604 comment.
1605 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
1606 Delete function.
1607 (main): Add alarm. Run an infinite loop instead of calling
1608 wait_threads.
1609 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
1610 comment.
1611
e1316e60
PA
16122015-08-07 Pedro Alves <palves@redhat.com>
1613
1614 * gdb.base/checkpoint-ns.exp: New file.
1615 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
1616 standard_testfile.
1617
da8c46d2
MM
16182015-08-07 Markus Metzger <markus.t.metzger@intel.com>
1619
1620 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
1621 * gdb.btrace/instruction_history.exp: Update.
1622 * gdb.btrace/tsx.exp: New.
1623 * gdb.btrace/tsx.c: New.
1624
de1c2c52
PA
16252015-08-06 Pedro Alves <palves@redhat.com>
1626
1627 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
1628 increase timeout.
1629 * gdb.reverse/until-precsave.exp: Bump timeouts.
1630
782e0bf4
PA
16312015-08-06 Pedro Alves <palves@redhat.com>
1632
1633 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
1634
83e97ed0
PA
16352015-08-06 Pedro Alves <palves@redhat.com>
1636
1637 PR gdb/18749
1638 * gdb.threads/process-dies-while-handling-bp.c: New file.
1639 * gdb.threads/process-dies-while-handling-bp.exp: New file.
1640
863d01bd
PA
16412015-08-06 Pedro Alves <palves@redhat.com>
1642
1643 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
1644 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
1645
0a39bb32
PA
16462015-08-05 Pedro Alves <palves@redhat.com>
1647
1648 * gdb.threads/next-while-other-thread-longjmps.c: New file.
1649 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
1650
ee2d2b10
SL
16512015-08-03 Sandra Loosemore <sandra@codesourcery.com>
1652
1653 * gdb.base/bp-permanent.exp: Report test as unsupported if
1654 the target cannot stop at the permanent breakpoint.
1655
4e1bdb00
DE
16562015-08-03 Doug Evans <dje@google.com>
1657
1658 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
1659 10000.
1660
3d338901
DE
16612015-08-03 Doug Evans <dje@google.com>
1662
1663 * Makefile.in (workers/%.worker, build-perf): New rule.
1664 (GDB_PERFTEST_MODE): New variable.
1665 (check-perf): Use it.
1666 (clean): Clean up gdb.perf parallel build subdirs.
1667 * lib/build-piece.exp: New file.
1668 * lib/gdb.exp (make_gdb_parallel_path): New function
1669 (standard_output_file, standard_temp_file): Call it.
1670 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1671 of $GDB_PARALLEL.
1672 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
1673
af061d3e
DE
16742015-08-03 Doug Evans <dje@google.com>
1675
8e1afc81 1676 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
1677 (LOG_FILE_NAME): New global.
1678 (TextReporter.__init__): Initialize self.txt_sum.
1679 (TextReporter.report): Add support for multiple data-points.
1680 Move report to perftest.sum, put raw data in perftest.log.
1681 (TextReporter.start): Open sum and log files.
1682 (TextReporter.end): Close sum and log files.
8e1afc81
DE
1683 * gdb.perf/lib/perftest/testresult.py
1684 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 1685
2c8c5d37
PA
16862015-07-31 Pedro Alves <palves@redhat.com>
1687
1688 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
1689 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1690 kill_wait_spawned_process instead of explicit "kill -9".
1691 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
1692 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1693 kill_wait_spawned_process.
1694 * gdb.base/attach-twice.exp: Likewise.
1695 * gdb.base/attach.exp: Likewise.
1696 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
1697 gdb_test_multiple.
1698 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
1699 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1700 kill_wait_spawned_process.
1701 * gdb.base/valgrind-infcall.exp: Likewise.
1702 * gdb.multi/multi-attach.exp: Likewise.
1703 * gdb.python/py-prompt.exp: Likewise.
1704 * gdb.python/py-sync-interp.exp: Likewise.
1705 * gdb.server/ext-attach.exp: Likewise.
1706 * gdb.threads/attach-into-signal.exp (corefunc): Use
1707 spawn_wait_for_attach, spawn_id_get_pid and
1708 kill_wait_spawned_process.
1709 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
1710 spawn_wait_for_attach returning a spawn id instead of a pid. Use
1711 spawn_id_get_pid and kill_wait_spawned_process.
1712 * gdb.threads/attach-stopped.exp (corefunc): Use
1713 spawn_wait_for_attach, spawn_id_get_pid and
1714 kill_wait_spawned_process.
1715 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
1716 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1717 kill_wait_spawned_process instead of explicit "kill -9".
1718 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
1719 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
1720 (spawn_wait_for_attach): Use spawn instead of exec to spawn
1721 processes. Don't map cygwin/windows pids here. Now returns a
1722 spawn id list.
1723
032a0fca
SL
17242015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1725
1726 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
1727 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
1728 correct patch.
1729
61a934ca
SL
17302015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1731
1732 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
1733
4bc4d428
SL
17342015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1735
1736 Reapply:
1737 2014-05-21 Mark Wielaard <mjw@redhat.com>
1738
1739 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1740
998d452a
PA
17412015-07-30 Pedro Alves <palves@redhat.com>
1742
1743 * linux-low.c (handle_extended_wait): Set the child's last
1744 reported status to TARGET_WAITKIND_STOPPED.
1745
69dde7dc
PA
17462015-07-30 Pedro Alves <palves@redhat.com>
1747
1748 PR threads/18600
1749 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
1750 only shows inferior 1.
1751
4dd63d48
PA
17522015-07-30 Simon Marchi <simon.marchi@ericsson.com>
1753 Pedro Alves <palves@redhat.com>
1754
1755 PR threads/18600
1756 * gdb.threads/fork-plus-threads.c: New file.
1757 * gdb.threads/fork-plus-threads.exp: New file.
1758
d618e4c5
PP
17592015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1760
1761 * gdb.base/batch-preserve-term-settings.exp
1762 (test_terminal_settings_preserved_after_cli_exit): Use
1763 send_quit_command.
1764
1eef6428
PA
17652015-07-29 Pedro Alves <palves@redhat.com>
1766 Don Breazeal <donb@codesourcery.com>
1767
1768 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
1769 output from both inferior_spawn_id and gdb_spawn_id.
1770
7da5b897
SDJ
17712015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1772
1773 * gdb.threads/attach-into-signal.exp (corefunc): Use
1774 with_test_prefix on nested loops, uniquefying the test messages.
1775
dac804df
SDJ
17762015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1777
1778 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
1779 commit.
1780
06265e53
PP
17812015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1782
1783 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
1784 New proc.
1785 (test_terminal_settings_preserved_after_sigterm): New test.
1786
18206ca3
PP
17872015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1788
1789 * gdb.base/batch-preserve-term-settings.exp
1790 (test_terminal_settings_preserved_after_cli_exit): New test.
1791
90074d11
PP
17922015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1793
1794 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
1795 manipulation of saved_gdbflags.
1796 (test_terminal_settings_preserved): Remove global declaration of
1797 the unused variable pagination_prompt. Remove manipulation of
1798 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
1799 GDBFLAGS.
1800
eb1a7902
PA
18012015-07-29 Pedro Alves <palves@redhat.com>
1802
1803 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
1804
8b75dd3b
PA
18052015-07-29 Pedro Alves <palves@redhat.com>
1806
1807 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
1808 at the top.
1809
dedad4e3
PA
18102015-07-29 Pedro Alves <palves@redhat.com>
1811
1812 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
1813 (main): Call gdb_unbuffer_output.
1814 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
1815 (main): Call gdb_unbuffer_output.
1816 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
1817 (main): Call gdb_unbuffer_output.
1818 * gdb.base/call-strs.exp: Adjust to step over the
1819 gdb_unbuffer_output call.
1820 * gdb.base/catch-gdb-caused-signals.c: Include
1821 "../lib/unbuffer_output.c".
1822 (main): Call gdb_unbuffer_output.
1823 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
1824 (main): Call gdb_unbuffer_output.
1825 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
1826 (main): Call gdb_unbuffer_output.
1827 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
1828 (main): Call gdb_unbuffer_output.
1829 * gdb.base/shlib-call.exp: Adjust to step over the
1830 gdb_unbuffer_output call.
1831 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
1832 (main): Call gdb_unbuffer_output.
1833 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
1834 (main): Call gdb_unbuffer_output.
1835 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
1836 (main): Rename to ...
1837 (test): ... this.
1838 (main): Reimplement.
1839 * gdb.base/varargs.exp: Run to test instead of to main.
1840 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
1841 (main): Call gdb_unbuffer_output.
1842
58789a91
PA
18432015-07-29 Pedro Alves <palves@redhat.com>
1844
1845 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
1846 factore out from mi_continue_dprintf. For call-style dprintfs,
1847 expect dprintf output out of $inferior_spawn_id.
1848 (mi_continue_dprintf): Use mi_expect_dprintf.
1849 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
1850 (main): Call gdb_unbuffer_output.
1851
e8376742
PA
18522015-07-29 Pedro Alves <palves@redhat.com>
1853
1854 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
1855 (default_mi_gdb_start): Set inferior_spawn_id instead of
1856 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
1857 gdb_spawn_id.
1858 (mi_gdb_test): Always expect inferior output from both
1859 $inferior_spawn_id and $gdb_spawn_id.
1860
08280010
PA
18612015-07-29 Pedro Alves <palves@redhat.com>
1862
1863 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
1864 send_inferior and $inferior_spawn_id.
1865
4d30e432
PA
18662015-07-29 Pedro Alves <palves@redhat.com>
1867
1868 * gdb.gdb/complaints.exp (test_initial_complaints)
1869 (test_serial_complaints, test_short_complaints): Use
1870 gdb_test_stdio.
1871 (test_empty_complaint): Handle $inferior_spawn_id !=
1872 $gdb_spawn_id.
1873
0d30a335
PA
18742015-07-29 Pedro Alves <palves@redhat.com>
1875
1876 * gdb.base/varargs.exp: Use gdb_test_stdio.
1877
39413b29
PA
18782015-07-29 Pedro Alves <palves@redhat.com>
1879
1880 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
1881
7cb000a9
PA
18822015-07-29 Pedro Alves <palves@redhat.com>
1883
1884 * gdb.base/ending-run.exp: Use gdb_test_stdio.
1885
d7b8ac82
PA
18862015-07-29 Pedro Alves <palves@redhat.com>
1887
1888 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
1889 parameter into two new parameters, "inf_result" and "gdb_result".
1890 Expect inferior output and gdb output from $inferior_spawn_id and
1891 $gdb_spawn_id, respectively. Adjust all callers.
1892
789c3a0c
PA
18932015-07-29 Pedro Alves <palves@redhat.com>
1894
1895 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
1896 of gdb_test_sequence.
1897
77e760c3
PA
18982015-07-29 Pedro Alves <palves@redhat.com>
1899
1900 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
1901 (saw_spurious_output): Expect inferior output from
1902 $inferior_spawn_id. Use gdb_test_stdio.
1903
8396d2cd
PA
19042015-07-29 Pedro Alves <palves@redhat.com>
1905
1906 * gdb.base/dprintf.exp: Use standard_testfile. Change
1907 prepare_for_testing call.
1908 (srcfile): Don't set.
1909 (restart): New procedure.
1910 (test_dprintf): New procecure, use to continue over dprintfs.
1911 (test_call, test_agent): New procedures, tests moved here.
1912 Restart gdb and recreate dprintfs. Adjust expected output.
1913
2051d61f
PA
19142015-07-29 Pedro Alves <palves@redhat.com>
1915
1916 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
1917
452397af
PA
19182015-07-29 Pedro Alves <palves@redhat.com>
1919
1920 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
1921
8aed9555
PA
19222015-07-29 Pedro Alves <palves@redhat.com>
1923
1924 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
1925 gdb_test_stdio.
1926
188a61b4
PA
19272015-07-29 Pedro Alves <palves@redhat.com>
1928
1929 * lib/gdb.exp (gdb_test_stdio): New procedure.
1930
12264a45
PA
19312015-07-29 Pedro Alves <palves@redhat.com>
1932
1933 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
1934
23ffc893
PA
19352015-07-29 Pedro Alves <palves@redhat.com>
1936
1937 * gdb.base/call-signal-resume.exp: Remove check for
1938 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
1939 * gdb.base/unwindonsignal.exp: Likewise.
1940 * gdb.base/call-signals.c (gen_signal): Remove printf call.
1941 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
1942
65566918
PA
19432015-07-29 Pedro Alves <palves@redhat.com>
1944
1945 * gdb.base/siginfo-addr.c (pass): New function.
1946 (handler): Call it iff si_addr is correct.
1947 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
1948 Set a breakpoint at "pass" and continue to it.
1949
d60a9221
SDJ
19502015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
1951
1952 * gdb.python/py-objfile.exp: Make some tests have unique names.
1953 * gdb.python/py-pp-registration.exp: Likewise.
1954
bde40b8f
PA
19552015-07-28 Pedro Alves <palves@redhat.com>
1956
1957 * gdb.server/server-exec-info.exp: Issue a "disconnect".
1958
13e1dec8
SM
19592015-07-27 Simon Marchi <simon.marchi@ericsson.com>
1960
1961 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
1962
da33c9a7
SM
19632015-07-27 Simon Marchi <simon.marchi@ericsson.com>
1964
1965 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
1966
077836f7
PP
19672015-07-27 Patrick Palka <patrick@parcs.ath.cx>
1968
1969 * gdb.base/gdb-sigterm-2.exp: New test.
1970
b8cc7b2e
DE
19712015-07-25 Doug Evans <xdje42@gmail.com>
1972
1973 Revert:
1974 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
1975 (workers/%.worker, build-perf): New rule.
1976 (GDB_PERFTEST_MODE): New variable.
1977 (check-perf): Use it.
1978 (clean): Clean up gdb.perf parallel build subdirs.
1979 * lib/build-piece.exp: New file.
1980 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
1981 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
1982 name.
1983 (standard_temp_file): Ditto.
1984 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1985 of $GDB_PARALLEL.
1986
c8bd4544
DE
19872015-07-24 Doug Evans <dje@google.com>
1988
1989 * gdb.perf/lib/perftest/utils.py: New file.
1990 * gdb.perf/gm-hello.cc: New file.
1991 * gdb.perf/gm-pervasive-typedef.cc: New file.
1992 * gdb.perf/gm-pervasive-typedef.h: New file.
1993 * gdb.perf/gm-std.cc: New file.
1994 * gdb.perf/gm-std.h: New file.
1995 * gdb.perf/gm-use-cerr.cc: New file.
1996 * gdb.perf/gm-utils.h: New file.
1997 * gdb.perf/gmonster-null-lookup.py: New file.
1998 * gdb.perf/gmonster-pervasive-typedef.py: New file.
1999 * gdb.perf/gmonster-print-cerr.py: New file.
2000 * gdb.perf/gmonster-ptype-string.py: New file.
2001 * gdb.perf/gmonster-runto-main.py: New file.
2002 * gdb.perf/gmonster-select-file.py: New file.
2003 * gdb.perf/gmonster1-null-lookup.exp: New file.
2004 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2005 * gdb.perf/gmonster1-print-cerr.exp: New file.
2006 * gdb.perf/gmonster1-ptype-string.exp: New file.
2007 * gdb.perf/gmonster1-runto-main.exp: New file.
2008 * gdb.perf/gmonster1-select-file.exp: New file.
2009 * gdb.perf/gmonster1.cc: New file.
2010 * gdb.perf/gmonster1.exp: New file.
2011 * gdb.perf/gmonster2-null-lookup.exp: New file.
2012 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2013 * gdb.perf/gmonster2-print-cerr.exp: New file.
2014 * gdb.perf/gmonster2-ptype-string.exp: New file.
2015 * gdb.perf/gmonster2-runto-main.exp: New file.
2016 * gdb.perf/gmonster2-select-file.exp: New file.
2017 * gdb.perf/gmonster2.cc: New file.
2018 * gdb.perf/gmonster2.exp: New file.
2019
6eab34f3
DE
20202015-07-24 Doug Evans <dje@google.com>
2021
2022 * gdb.perf/README: New file.
2023 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2024 * lib/gen-perf-test.exp: New file.
2025
63738bfd
DE
20262015-07-24 Doug Evans <dje@google.com>
2027
2028 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2029 (PerfTest::startup): New function.
2030 (PerfTest::run): Return result of calling body.
2031 (PerfTest::assemble): Rewrite.
2032 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2033 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2034 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2035 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2036 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2037
7b606f95
DE
20382015-07-24 Doug Evans <dje@google.com>
2039
2040 * lib/gdb.exp (clean_restart): Make executable optional.
2041
a97b16b8
DE
20422015-07-24 Doug Evans <dje@google.com>
2043
2044 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2045 compiler_info references.
2046 * gdb.cp/temargs.exp: Ditto.
2047 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2048 (get_compiler_info): Early exit if already computed. Set compiler_info
2049 to "unknown" if there was a problem.
2050 (test_compiler_info): Add function comment. Call get_compiler_info.
2051
35baa57f
DE
20522015-07-24 Doug Evans <dje@google.com>
2053
2054 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2055 (workers/%.worker, build-perf): New rule.
2056 (GDB_PERFTEST_MODE): New variable.
2057 (check-perf): Use it.
2058 (clean): Clean up gdb.perf parallel build subdirs.
2059 * lib/build-piece.exp: New file.
2060 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2061 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2062 name.
2063 (standard_temp_file): Ditto.
2064 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2065 of $GDB_PARALLEL.
2066
6ebea266
DE
20672015-07-24 Doug Evans <dje@google.com>
2068
2069 * lib/future.exp (gdb_default_target_compile): New option
2070 "early_flags".
2071 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2072 --as-needed.
2073
1e76a7e9
SDJ
20742015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2075
2076 * gdb.base/catch-syscall.exp: Call gdb_exit before
2077 gdb_skip_xml_test.
2078
5068630a
PA
20792015-07-24 Pedro Alves <palves@redhat.com>
2080
2081 * gdb.python/py-events.exp: Accept output between the stop event
2082 and the prompt.
2083 * gdb.python/py-evsignal.exp: Likewise.
2084 * gdb.python/py-evthreads.exp: Likewise.
2085
77598427
PA
20862015-07-24 Pedro Alves <palves@redhat.com>
2087
2088 PR gdb/18717
2089 * gdb.threads/non-ldr-exit.c: New file.
2090 * gdb.threads/non-ldr-exit.exp: New file.
2091
11e6c98f
YQ
20922015-07-24 Yao Qi <yao.qi@linaro.org>
2093
2094 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2095 restarting process.
2096
51aee833
YQ
20972015-07-24 Yao Qi <yao.qi@linaro.org>
2098
2099 * gdb.server/ext-restart.exp: New file.
2100
8cfe207c
YQ
21012015-07-24 Yao Qi <yao.qi@linaro.org>
2102
2103 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2104 argument options.
2105 * gdb.server/ext-wrapper.exp: New file.
2106
cc12ce38
DE
21072015-07-23 Doug Evans <dje@google.com>
2108
2109 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2110 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2111
d0d84780
PMR
21122015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2113
2114 * gdb.ada/var_arr_typedef.exp: New testcase.
2115 * gdb.ada/var_arr_typedef/pack.adb: New file.
2116 * gdb.ada/var_arr_typedef/pack.ads: New file.
2117 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2118
8b558f79
JB
21192015-07-20 Joel Brobecker <brobecker@adacore.com>
2120
2121 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2122
775a3298
JK
21232015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2124
2125 * gdb.arch/i386-biarch-core.exp: Replace istarget
2126 by "complete set gnutarget". Remove expectation for the "core-file"
2127 command.
2128
db1ff28b
JK
21292015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2130
2131 Revert the previous commit:
2132 Tests for validate symbol file using build-id.
2133
0a94970d
JK
21342015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2135
2136 Tests for validate symbol file using build-id.
2137 * gdb.base/solib-mismatch-lib.c: New file.
2138 * gdb.base/solib-mismatch-libmod.c: New file.
2139 * gdb.base/solib-mismatch.c: New file.
2140 * gdb.base/solib-mismatch.exp: New file.
2141
03346981
SL
21422015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2143
2144 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2145 nios2-*-linux*.
2146 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2147 * gdb.base/siginfo.exp: Likewise.
2148 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2149
42422cc7
PL
21502015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2151
2152 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2153 Move it to ...
2154 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2155 ... here.
2156 * gdb.trace/range-stepping.exp: Check that the target supports
2157 range stepping.
2158
cfa68bae
JK
21592015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2160
2161 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2162
8ffdba26
PA
21632015-07-14 Pedro Alves <palves@redhat.com>
2164
2165 * gdb.base/killed-outside.exp: New file.
2166 * gdb.base/killed-outside.c: New file.
2167
218a5a11
JK
21682015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2169
2170 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2171 (n at main): New.
2172 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2173
e03ed3c6
AA
21742015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2175
2176 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2177 infcall tests instead of setting up for KFAIL.
2178
485668e5
MM
21792015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2180
2181 * gdb.btrace/record_goto-step.exp: New.
2182
08464196
JK
21832015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2184
2185 PR compile/18484
2186 * gdb.compile/compile.c (struct struct_type): Add volatile to
2187 selffield's type.
2188 * gdb.compile/compile.exp
2189 (compile code struct_object.selffield = &struct_object): Skip further
2190 struct_object tests if this one xfails.
2191
bcf5c1d9
RC
21922015-07-08 Robert O'Callahan <robert@ocallahan.org>
2193
2194 PR exp/18617
2195 * gdb.trace/ax.exp: Add test.
2196
4931af25
YQ
21972015-07-07 Yao Qi <yao.qi@linaro.org>
2198
2199 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2200 instead of istarget "aarch64*-*-*".
2201 * gdb.arch/aarch64-fp.exp: Likewise.
2202 * gdb.base/float.exp: Likewise.
2203 * gdb.reverse/aarch64.exp: Likewise.
2204 * lib/gdb.exp (is_aarch64_target): New proc.
2205
9fcf688e
YQ
22062015-07-07 Yao Qi <yao.qi@linaro.org>
2207
2208 * lib/gdb.exp (is_aarch32_target): New proc.
2209 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2210 instead of "istarget "arm*-*-*"".
2211 * gdb.arch/arm-disp-step.exp: Likewise.
2212 * gdb.arch/thumb-bx-pc.exp: Likewise.
2213 * gdb.arch/thumb-prologue.exp: Likewise.
2214 * gdb.arch/thumb-singlestep.exp: Likewise.
2215 * gdb.base/disp-step-syscall.exp: Likewise.
2216 * gdb.base/float.exp: Likewise.
2217
fbd8d50d
YQ
22182015-07-07 Yao Qi <yao.qi@linaro.org>
2219
2220 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2221 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2222
71be1fdc
YQ
22232015-07-07 Yao Qi <yao.qi@linaro.org>
2224
2225 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2226 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2227 if it exists.
2228 * gdb.multi/multi-arch.exp: Likewise.
2229
3e221d36
SM
22302015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2231
2232 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2233 print.
2234
d441430b
YQ
22352015-07-07 Yao Qi <yao.qi@linaro.org>
2236
2237 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2238
06f810bd
MG
22392015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2240
2241 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2242 '[' and ']' characters.
2243
5e61e7c0
IB
22442015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2245
2246 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2247
28bf096c
PA
22482015-06-29 Pedro Alves <palves@redhat.com>
2249
2250 PR threads/18127
2251 * gdb.threads/hand-call-new-thread.c: New file.
2252 * gdb.threads/hand-call-new-thread.c: New file.
2253
ee93cd5e
KS
22542015-06-26 Keith Seitz <keiths@redhat.com>
2255 Doug Evans <dje@google.com>
2256
2257 PR 16253
2258 * gdb.cp/var-tag-2.cc: New file.
2259 * gdb.cp/var-tag-3.cc: New file.
2260 * gdb.cp/var-tag-4.cc: New file.
2261 * gdb.cp/var-tag.cc: New file.
2262 * gdb.cp/var-tag.exp: New file.
2263
fc637f04
PP
22642015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2265
2266 * gdb.base/history-duplicates.exp: New test.
2267
2e52ae68
PP
22682015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2269
2270 * gdb.base/completion.exp: Test the completion of the "focus"
2271 command.
2272
6e22494e
JK
22732015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2274
2275 * gdb.arch/amd64-prologue-skip.S: New file.
2276 * gdb.arch/amd64-prologue-skip.exp: New file.
2277
bf7b9cd9
SM
22782015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2279
2280 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2281 is_address_zero_readable check.
2282
201e8dfd
PB
22832015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2284
2285 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2286 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2287
5cd867b4
YQ
22882015-06-24 Yao Qi <yao.qi@linaro.org>
2289
2290 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2291 linux targets.
2292
4d7be007
YQ
22932015-06-24 Yao Qi <yao.qi@linaro.org>
2294
2295 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2296 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2297 * gdb.base/siginfo-thread.exp: Likewise.
2298
07fcd301
YQ
22992015-06-22 Yao Qi <yao.qi@linaro.org>
2300
2301 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2302
52042a00
YQ
23032015-06-22 Yao Qi <yao.qi@linaro.org>
2304
2305 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2306 aarch64*-*-*.
2307 (skip_hw_watchpoint_tests): Likewise.
2308
74bd41ce
PP
23092015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2310
2311 * gdb.base/gdbinit-history.exp: Test the interaction between
2312 setting GDBHISTSIZE and setting the history size via .gdbinit.
2313
bc460514
PP
23142015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2315
2316 PR gdb/16999
2317 * gdb.base/gdbhistsize-history.exp: New test.
2318
b58c513b
PP
23192015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2320
2321 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2322 with GDBHISTSIZE.
2323 * gdb.base/readline.exp: Likewise.
2324
92046791
YQ
23252015-06-17 Yao Qi <yao.qi@linaro.org>
2326
2327 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2328 line.
2329
2093d2d3
PP
23302015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2331
2332 * gdb.base/gdbinit-history.exp: Add test case to check that
2333 an unlimited history file does not get truncated on exit.
2334
e6c693af
AA
23352015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2336
2337 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2338 (VECTOR): New macro. Use it...
2339 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2340 ...for these typedefs.
2341 (int8, char1, int1, double1): New typedefs.
2342 (struct just_int2, struct two_int2): New structures.
2343 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2344 (add_structvecs, add_singlevecs): New functions.
2345 (main): Call add_some_intvecs twice.
2346 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2347 the compile and exit upon failure. Try compiling for the "native"
2348 architecture. Test inferior function calls with vector arguments
2349 and vector return value handling with "finish" and "return".
2350
c74f7d1c
JT
23512015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2352
2353 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2354 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2355 PE file.
2356 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2357
98aa42ee
AT
23582015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2359
2360 PR breakpoints/16465
2361 * gdb.mi/mi-dprintf-pending.c: New file.
2362 * gdb.mi/mi-dprintf-pending.exp: New test.
2363 * gdb.mi/mi-dprintf-pendshr.c: New file.
2364
7d73c23c 23652015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 2366 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
2367
2368 * gdb.arch/i386-mpx-map.c: New file.
2369 * gdb.arch/i386-mpx-map.exp: New File.
2370
23712015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2372
2373 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2374 * gdb.arch/i386-mpx.exp: Indentation fixed.
2375
23762015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2377
2378 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2379 function and improved indentation.
2380 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2381 gdb_test_multiple. Added additional tests to skip the test.
2382
23832015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2384
2385 * gdb.arch/i386-avx512.c: Change path in include file.
2386 * gdb.arch/i386-avx512.exp: Change include dir path
2387 compilation flag.
2388 * gdb.arch/i386-mpx.c: Change path in include file.
2389 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2390 flag.
2391
d5eba19a
JK
23922015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2393
2394 * gdb.compile/compile-print.exp (compile print *vararray@3)
2395 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2396
7f361056
JK
23972015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2398
2399 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2400 (do not keep jit in memory): ... this.
2401 (expect 5): Change it to ...
2402 (expect no 5): ... this.
2403
3b462ec2
SM
24042015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2405
2406 PR gdb/15564
2407 * gdb.mi/mi-detach.exp: New file.
2408
e0619de6
JK
24092015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2410
2411 PR symtab/18392
2412 * gdb.arch/amd64-tailcall-self.S: New file.
2413 * gdb.arch/amd64-tailcall-self.c: New file.
2414 * gdb.arch/amd64-tailcall-self.exp: New file.
2415
e970cb34
DB
24162015-05-28 Don Breazeal <donb@codesourcery.com>
2417
2418 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2419 tests for remote targets by checking is_target_gdbserver.
2420
b2e2f908
DE
24212015-05-27 Doug Evans <dje@google.com>
2422
2423 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2424 * gdb.dwarf2/opaque-type-lookup.c: New file.
2425 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2426
82c7be31
DE
24272015-05-26 Doug Evans <dje@google.com>
2428
2429 * gdb.cp/iostream.cc: New file.
2430 * gdb.cp/iostream.exp: New file.
2431
b4f54984
DE
24322015-05-26 Doug Evans <dje@google.com>
2433
2434 * gdb.dwarf2/dw2-op-call.exp: Update.
2435 * gdb.dwarf2/dw4-sig-types.exp: Update.
2436 * gdb.dwarf2/implptr.exp: Update.
2437 * gdb.mi/mi-cmd-param-changed.exp: Update.
2438
4ea6efe9
DE
24392015-05-26 Doug Evans <dje@google.com>
2440
2441 * gdb.python/py-lazy-string.c: New file.
2442 * gdb.python/py-lazy-string.exp: New file.
2443 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2444 (main): Update. Add estring3.
2445 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2446 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2447
f6bb7db3
YQ
24482015-05-26 Omair Javaid <omair.javaid@linaro.org>
2449 Yao Qi <yao.qi@linaro.org>
2450
2451 * gdb.reverse/aarch64.c: New.
2452 * gdb.reverse/aarch64.exp: New.
2453
a81bfbd0
OJ
24542015-05-26 Omair Javaid <omair.javaid@linaro.org>
2455
2456 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2457 (supports_reverse): Likewise.
2458
158bf1b4
PP
24592015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2460
2461 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2462 Use with_test_prefix.
2463
a0145030
AB
24642015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2465
2466 * gdb.base/completion.exp: Add test for completion of layout
2467 names.
2468
ebe3b578
AB
24692015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2470
2471 * lib/gdb.exp (skip_tui_tests): New proc.
2472 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2473
84204ed7
PA
24742015-05-19 Pedro Alves <palves@redhat.com>
2475
2476 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2477 Save the whole env array instead of just HOME. Unset HISTSIZE in
2478 the environment while testing. Restore whole environment
2479 afterwards.
2480
37442ce1
DE
24812015-05-16 Doug Evans <xdje42@gmail.com>
2482
2483 * gdb.guile/scm-ports.c: New file.
2484 * gdb.guile/scm-ports.exp: Add memory port tests.
2485
36de76f9
JK
24862015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2487
2488 * gdb.compile/compile-print.c: New file.
2489 * gdb.compile/compile-print.exp: New file.
2490
3a9558c4
JK
24912015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2492
2493 * gdb.compile/compile-ops.exp: Cast param to void.
2494 * gdb.compile/compile.exp: Complete type for _gdb_expr.
2495 (compile code struct_object.selffield = &struct_object): Add xfail.
2496
aa715135
JG
24972015-05-15 Joel Brobecker <brobecker@adacore.com>
2498
2499 * gdb.ada/arr_enum_with_gap: New testcase.
2500
931e5bc3
JG
25012015-05-15 Joel Brobecker <brobecker@adacore.com>
2502
2503 * gdb.ada/byte_packed_arr: New testcase.
2504
9cd4d857
JB
25052015-05-15 Joel Brobecker <brobecker@adacore.com>
2506
2507 * gdb.ada/pckd_neg: New testcase.
2508
ebfd00d2
PP
25092015-05-13 Patrick Palka <patrick@parcs.ath.cx>
2510
2511 PR gdb/17820
2512 * gdb.base/gdbinit-history.exp: New test.
2513 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
2514 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
2515
4c082a81
SC
25162015-05-09 Siva Chandra Reddy <sivachandra@google.com>
2517
2518 * gdb.python/py-xmethods.cc: Enhance test case.
2519 * gdb.python/py-xmethods.exp: New tests.
2520 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
2521 function.
2522 (B_indexoper): Likewise.
2523 (global_dm_list) : Add new xmethod worker functions.
2524
f7797074
SDJ
25252015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
2526
2527 * gdb.base/coredump-filter.exp: Correctly unset
2528 "coredump_var_addr" array.
2529
a4674e4e
PA
25302015-05-08 Pedro Alves <palves@redhat.com>
2531
2532 * gdb.server/non-existing-program.exp: Unset spawn_id.
2533
df2eb078
SC
25342015-05-08 Siva Chandra Reddy <sivachandra@google.com>
2535
2536 PR python/18291
2537 * gdb.python/py-xmethods.exp: Add tests.
2538
422349a3
YQ
25392015-05-08 Yao Qi <yao.qi@linaro.org>
2540
2541 PR gdb/18208
2542 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
2543 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
2544 function set_coredump_filter, and remove remote_exec call.
2545 Remove argument ipid. Callers update.
2546 (top level): Don't get inferior's PID.
2547
63fc80ce
AA
25482015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
2549
2550 * gdb.base/watch_thread_num.exp: Skip test on targets without
2551 access watchpoints.
2552
80ad801e
PA
25532015-05-06 Pedro Alves <palves@redhat.com>
2554
2555 PR server/18081
2556 * gdb.server/non-existing-program.exp: New file.
2557
0fa7fe50
JB
25582015-05-05 Joel Brobecker <brobecker@adacore.com>
2559
2560 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
2561
3ea89b92
PMR
25622015-05-05 Joel Brobecker <brobecker@adacore.com>
2563
2564 * gdb.ada/out_of_line_in_inlined: New testcase.
2565
87b8eff0
JB
25662015-05-05 Joel Brobecker <brobecker@adacore.com>
2567
2568 * gdb.ada/var_rec_arr: New testcase.
2569
5fccc635
YQ
25702015-04-30 Yao Qi <yao.qi@linaro.org>
2571
2572 * gdb.base/break-idempotent.exp: If
2573 skip_hw_watchpoint_multi_tests returns true, skip the tests
2574 on "rwatch" and "awatch".
2575
42d38f42
YQ
25762015-04-30 Yao Qi <yao.qi@linaro.org>
2577
2578 * gdb.base/relativedebug.exp: Invoke gdb command
2579 "info sharedlibrary", and if libc.so doesn't have debug info,
2580 skip the test.
2581
2ce1cdbf
DE
25822015-04-29 Doug Evans <dje@google.com>
2583
2584 * gdb.python/py-xmethods.exp: Add ptype tests.
2585 * gdb.python/py-xmethods.py (E_method_char_worker): Add
2586 get_result_type method.
2587
f24a38c5
LM
25882015-04-29 Luis Machado <lgustavo@codesourcery.com>
2589
2590 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
2591 the target does not support hardware watchpoints.
2592
ecbf2b3c
LM
25932015-04-29 Luis Machado <lgustavo@codesourcery.com>
2594
2595 * gdb.base/break-always.exp: Abort testing if writing to memory
2596 causes an error.
2597
34f5f757
DE
25982015-04-28 Doug Evans <dje@google.com>
2599
2600 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
2601 * gdb.python/py-pp-registration.exp: ... here. New file.
2602 * gdb.python/py-pp-registration.c: New file.
2603 * gdb.python/py-pp-registration.py: New file.
2604
69b4374a
DE
26052015-04-28 Doug Evans <dje@google.com>
2606
2607 * gdb.python/py-bad-printers.c: New file.
2608 * gdb.python/py-bad-printers.py: New file.
2609 * gdb.python/py-bad-printers.exp: New file.
2610
59fb7612
SS
26112015-04-28 Sasha Smundak <asmundak@google.com>
2612
2613 * gdb.python/py-type.exp: New test.
2614
2631b16a
AW
26152015-04-28 Andy Wingo <wingo@igalia.com>
2616
2617 * gdb.python/py-parameter.exp:
2618 * gdb.guile/scm-parameter.exp: Escape the path that we are
2619 matching against, as it might contain characters that are special
2620 to regular expressions.
2621
460efde1
JB
26222015-04-27 Joel Brobecker <brobecker@adacore.com>
2623
2624 * gdb.ada/rec_comp: New testcase.
2625
2d369d8e
SDJ
26262015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
2627
2628 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
2629 before using it.
2630
cf75d6c3
AB
26312015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
2632
2633 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
2634 new tests for verilog output.
2635
8dbe7ca5
YQ
26362015-04-24 Yao Qi <yao.qi@linaro.org>
2637
2638 * boards/remote-gdbserver-on-localhost.exp: New file.
2639
4ef9fb2f
PA
26402015-04-23 Pedro Alves <palves@redhat.com>
2641
2642 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
2643 $inferior_spawn_id instead of $inferior_spawn_id directly. On
2644 "end of file", remove $inferior_spawn_id from the indirect list.
2645
0a803169
PA
26462015-04-23 Pedro Alves <palves@redhat.com>
2647
2648 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
2649
749ef8f8
PA
26502015-04-23 Pedro Alves <palves@redhat.com>
2651
2652 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
2653 on $any_spawn_id instead of only on $gdb_spawn_id.
2654
8aae4344
PM
26552015-04-21 Pierre Muller <muller@sourceware.org>
2656
2657 PR pascal/17815
2658 * lib/pascal.exp (gpc_compile): Add new option "class".
2659 (fpc_compile): Likewise.
2660 * gdb.pascal/case-insensitive-symbols.pas: New file.
2661 * gdb.pascal/case-insensitive-symbols.exp: New file.
2662
1586c8fb
GB
26632015-04-20 Gary Benson <gbenson@redhat.com>
2664
2665 * gdb.base/attach.exp: Fix three extended remote failures.
2666
1b6e6f5c
GB
26672015-04-17 Gary Benson <gbenson@redhat.com>
2668
2669 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
2670 the main executable over the remote protocol.
2671
e797481d
PA
26722015-04-16 Pedro Alves <palves@redhat.com>
2673
2674 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
2675 a new gdbserver if gdbserver_reconnect_p is set.
2676
1ca99c42
PA
26772015-04-16 Pedro Alves <palves@redhat.com>
2678
2679 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
2680 is set, don't exit gdbserver.
2681
af9fd6f8
AA
26822015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2683
2684 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
2685 appropriate .insn, such that an older assembler can be used.
2686 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
2687 the z/Architecture instruction set on 31-bit targets as well.
2688
04ff1e61
AA
26892015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2690
2691 * gdb.go/handcall.exp: Remove all logic related to the first
2692 breakpoint and rely on go_runto_main instead.
2693 * gdb.go/strings.exp: Likewise.
2694 * gdb.go/unsafe.exp: Likewise.
2695 * gdb.go/hello.exp: Likewise. Also rename the remaining
2696 breakpoint marker to "breakpoint 1".
2697 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
2698 * gdb.go/strings.go: Likewise.
2699 * gdb.go/unsafe.go: Likewise.
2700 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
2701 "set breakpoint 2 here" and rename the remaining breakpoint marker
2702 to "breakpoint 1".
2703
40d2f8d6
SM
27042015-04-15 Simon Marchi <simon.marchi@ericsson.com>
2705
2706 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
2707 if itertools.imap is not present.
2708 * gdb.python/py-objfile.exp: Add parentheses.
2709 * gdb.python/py-type.exp: Same.
2710 * gdb.python/py-unwind-maint.py: Same.
2711
8cbc97c6
YQ
27122015-04-15 Yao Qi <yao.qi@linaro.org>
2713
2714 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
2715 of ":$ptr_size" and set its form explicitly.
2716
45fd756c
YQ
27172015-04-15 Pedro Alves <palves@redhat.com>
2718 Yao Qi <yao.qi@linaro.org>
2719
2720 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
2721 timeout by factor of 4.
2722 (test_regular_watch): Likewise.
2723 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
2724 * gdb.reverse/sigall-reverse.exp: Likewise.
2725 * gdb.reverse/until-precsave.exp: Likewise.
2726 * lib/gdb.exp (with_timeout_factor): New proc.
2727 (gdb_expect): Move some code to ...
2728 (get_largest_timeout): ... here. New procedure.
2729
9e811bc3
LM
27302015-04-14 Luis Machado <lgustavo@codesourcery.com>
2731
2732 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
2733
0ff6fcb2
LM
27342015-04-13 Luis Machado <lgustavo@codesourcery.com>
2735
2736 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
2737 to write to the .text section.
2738
7578d5f7
LM
27392015-04-13 Luis Machado <lgustavo@codesourcery.com>
2740
2741 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
2742 Handle the case of targets that do not provide PID information.
2743
2efe15c4
YQ
27442015-04-13 Yao Qi <yao.qi@linaro.org>
2745
2746 * lib/gdbserver-support.exp (gdb_exit): Catch exception
2747 and use expect instead of gdb_expect.
2748
8cd8f2f8
SDJ
27492015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
2750
2751 * gdb.base/coredump-filter.exp: Rename variable "addr" to
2752 "coredump_var_addr" to avoid naming conflict with other testcases.
2753
9ee41772
PA
27542015-04-10 Pedro Alves <palves@redhat.com>
2755
2756 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
2757 gdb_test_sequence and gdb_assert.
2758
07473109
PA
27592015-04-10 Pedro Alves <palves@redhat.com>
2760
2761 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
2762 test messages that don't include the breakpoint address.
2763
de3db44c
YQ
27642015-04-10 Yao Qi <yao.qi@linaro.org>
2765
2766 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
2767 false for some offset and width combinations which aren't
2768 supported by linux kernel.
2769
c79d856c
PA
27702015-04-10 Pedro Alves <palves@redhat.com>
2771
2772 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
2773 procedure, factored out from ...
2774 (top level): ... here. Add "set displaced-stepping" testing axis.
2775 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
2776 parameter "displaced". Use it.
2777 (top level): Use foreach and add "set displaced-stepping" testing
2778 axis.
2779
ebc90b50
PA
27802015-04-10 Pedro Alves <palves@redhat.com>
2781
2782 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
2783 Remove comment.
2784 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
2785 both the address of the instruction that triggers the watchpoint
2786 and the address of the instruction immediately after, and use
2787 those addresses for the test. Fix comment.
2788
8f572e5c
PA
27892015-04-10 Pedro Alves <palves@redhat.com>
2790
2791 * gdb.base/sigstep.exp (breakpoint_to_handler)
2792 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
2793 Test "backtrace" in handler.
2794 (breakpoint_over_handler): New parameter 'displaced'. Use it.
2795 (top level): Add new "displaced" test axis to
2796 breakpoint_to_handler, breakpoint_to_handler_entry and
2797 breakpoint_over_handler.
2798
8d707a12
PA
27992015-04-10 Pedro Alves <palves@redhat.com>
2800
2801 PR gdb/18216
2802 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
2803
ef713951
YQ
28042015-04-10 Yao Qi <yao.qi@linaro.org>
2805
2806 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
2807 (test_add_rn_pc): New function.
2808 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
2809 (top level): Invoke test_add_rn_pc.
2810
906d60cf
PA
28112015-04-10 Pedro Alves <palves@redhat.com>
2812
2813 PR gdb/13858
2814 * gdb.base/step-over-no-symbols.exp: New file.
2815
f2983cc3
AW
28162015-04-09 Andy Wingo <wingo@igalia.com>
2817
2818 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
2819 after the Python tests.
2820
6d62641c
SDJ
28212015-04-08 Keith Seitz <keiths@redhat.com>
2822
2823 PR python/16699
2824 * gdb.python/py-completion.exp: New tests for completion.
2825 * gdb.python/py-completion.py (CompleteLimit1): New class.
2826 (CompleteLimit2): Likewise.
2827 (CompleteLimit3): Likewise.
2828 (CompleteLimit4): Likewise.
2829 (CompleteLimit5): Likewise.
2830 (CompleteLimit6): Likewise.
2831 (CompleteLimit7): Likewise.
2832
f3770638
PA
28332015-04-08 Pedro Alves <palves@redhat.com>
2834
2835 PR gdb/18214
2836 PR gdb/18216
2837 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
2838 function.
2839 (main): Install it as SIGUSR1 handler.
2840 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
2841 parameter. Always use "setup" as prefix. Toggle "set
2842 displaced-stepping" off/on depending on global. Don't switch to
2843 thread 1 here.
2844 (top level): Add displaced stepping "off/on" test axis. Update
2845 "setup" calls. Wrap each subtest with with_test_prefix. Test
2846 continuing with a queued signal in each thread.
2847
4496bed7
PA
28482015-04-08 Pedro Alves <palves@redhat.com>
2849
2850 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
2851 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
2852 gdb_breakpoint instead of gdb_test that doesn't expect anything.
2853 Return early if running to main fails.
2854 * gdb.trace/while-stepping.exp: Likewise.
2855
b97fde92
PA
28562015-04-07 Pedro Alves <palves@redhat.com>
2857
2858 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
2859 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
2860 interact with inferior program.
2861
f71c18e7
PA
28622015-04-07 Pedro Alves <palves@redhat.com>
2863
2864 * lib/gdb.exp (inferior_spawn_id): New global.
2865 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
2866 spawn id after processing the user code.
2867 (default_gdb_start): Set inferior_spawn_id.
2868 (send_inferior): New procedure.
2869 * lib/gdbserver-support.exp (gdbserver_start): Set
2870 inferior_spawn_id.
2871 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
2872
6423214f
PA
28732015-04-07 Pedro Alves <palves@redhat.com>
2874
2875 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
2876 * lib/gdbserver-support.exp (gdbserver_start): Make
2877 $server_spawn_id global.
2878 (gdbserver_start): Don't wait for gdbserver's spawn id with
2879 expect_background.
2880 (close_gdbserver): New procedure.
2881 (gdb_exit): Rename the default version and reimplement.
2882
71c0ee8c
PA
28832015-04-07 Pedro Alves <palves@redhat.com>
2884
72f4393d 2885 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
2886 append the substituted item, not the original item.
2887
203bc29b
PA
28882015-04-07 Pedro Alves <palves@redhat.com>
2889
2890 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
2891 gdb_expect.
2892
508a3ddf
PA
28932015-04-07 Pedro Alves <palves@redhat.com>
2894
2895 * gdb.base/interrupt.exp: Don't handle the case of the inferior
2896 output appearing once only.
2897
9f6dbe2b
PA
28982015-04-07 Pedro Alves <palves@redhat.com>
2899
2900 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
2901 that doesn't expect anything. Return early if running to main
2902 fails.
2903
337532fa
YQ
29042015-04-07 Yao Qi <yao.qi@linaro.org>
2905
2906 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
2907 (child_function): Call alarm.
2908 (main): Move call to alarm into the loop.
2909 * gdb.threads/non-stop-fair-events.exp: Build program with
2910 -DTIMEOUT=$timeout.
2911
01b622d4
DE
29122015-04-06 Doug Evans <xdje42@gmail.com>
2913
2914 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
2915 Fix dest parameter to board_info.
2916 (fpc_compile): Ditto.
2917 (gdb_compile_pascal): Rename dest arg to destfile.
2918
961f4160
PMR
29192015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
2920
2921 * gdb.ada/funcall_ref.exp: New file.
2922 * gdb.ada/funcall_ref/foo.adb: New file.
2923
cafda597
YQ
29242015-04-02 Yao Qi <yao.qi@linaro.org>
2925
2926 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
2927 is remote.
2928
fed040c6
GB
29292015-04-02 Gary Benson <gbenson@redhat.com>
2930
2931 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
2932
d11916aa
SS
29332015-04-01 Sasha Smundak <asmundak@google.com>
2934
2935 * gdb.python/py-unwind-maint.c: New file.
2936 * gdb.python/py-unwind-maint.exp: New test.
2937 * gdb.python/py-unwind-maint.py: New file.
2938 * gdb.python/py-unwind.c: New file.
2939 * gdb.python/py-unwind.exp: New test.
2940 * gdb.python/py-unwind.py: New test.
2941
a1471180
PA
29422015-04-01 Pedro Alves <palves@redhat.com>
2943
2944 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
2945 to fail instead of non-existent $test.
2946
0bbeccb1
PA
29472015-04-01 Pedro Alves <palves@redhat.com>
2948
2949 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
2950 GDBFLAGS if not empty.
2951
3c724c8c
PMR
29522015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
2953
2954 * gdb.ada/complete.exp: Remove "multi_line".
2955 * gdb.ada/info_exc.exp: Remove "multi_line".
2956 * gdb.ada/packed_tagged.exp: Remove "multi_line".
2957 * gdb.ada/ptype_field.exp: Remove "multi_line".
2958 * gdb.ada/sym_print_name.exp: Remove "multi_line".
2959 * gdb.ada/tagged.exp: Remove "multi_line".
2960 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
2961 [multi_line ...]
2962 * gdb.btrace/delta.exp: Likewise.
2963 * gdb.btrace/exception.exp: Likewise.
2964 * gdb.btrace/function_call_history.exp: Likewise.
2965 * gdb.btrace/instruction_history.exp: Likewise.
2966 * gdb.btrace/nohist.exp: Likewise.
2967 * gdb.btrace/record_goto.exp: Likewise.
2968 * gdb.btrace/segv.exp: Likewise.
2969 * gdb.btrace/stepi.exp: Likewise.
2970 * gdb.btrace/tailcall.exp: Likewise.
2971 * gdb.btrace/unknown_functions.exp: Likewise.
2972 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
2973 * lib/gdb.exp: Add the "multi_line" helper.
2974
4eec2deb
PA
29752015-04-01 Pedro Alves <palves@redhat.com>
2976
2977 * gdb.threads/tid-reuse.c: New file.
2978 * gdb.threads/tid-reuse.exp: New file.
2979
df8411da
SDJ
29802015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
2981
2982 PR corefiles/16092
2983 * gdb.base/coredump-filter.c: New file.
2984 * gdb.base/coredump-filter.exp: Likewise.
2985
6ef37366
PM
29862015-03-27 Petr Machata <pmachata@redhat.com>
2987
2988 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
2989 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
2990 (Dwarf::assemble): Initialize them.
2991 (Dwarf::lines): New function.
2992
7ec911b0
JT
29932015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
2994
2995 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
2996 SYMBOL_PREFIX for x86_64-*-cygwin.
2997
ff908ebf
AW
29982015-03-26 Andy Wingo <wingo@igalia.com>
2999
3000 PR symtab/18148
3001 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3002 const_value but not a location.
3003 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3004 location defined in non-main CUs are visible.
3005
6d5f0679
YQ
30062015-03-26 Yao Qi <yao.qi@linaro.org>
3007
3008 PR testsuite/18139
3009 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3010 Add a line number entry for the same line.
3011 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3012 Add a line number entry for the same line.
3013
2898689b
YQ
30142015-03-26 Yao Qi <yao.qi@linaro.org>
3015
3016 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3017 .int 0.
3018 (func): Likewise. Add .Lfunc_1 label.
3019 Use .Lfunc_1 label.
3020 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3021 .int 0.
3022 (func): Likewise.
3023 Use .Lfunc_1 label.
3024
85180498
YQ
30252015-03-26 Yao Qi <yao.qi@linaro.org>
3026
3027 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3028 Call gdb_compile instead to compile each .s files without debug
3029 information.
3030
8aa08a8d
YQ
30312015-03-26 Yao Qi <yao.qi@linaro.org>
3032
3033 * gdb.base/savedregs.exp (process_saved_regs): Make
3034 "Saved registers:" optional in the pattern.
3035
66849923
MM
30362015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3037
3038 * gdb.btrace/next.exp: Merged into step.exp.
3039 * gdb.btrace/finish.exp: Merged into step.exp.
3040 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3041 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3042 "record goto" and checking the exact replay position.
3043 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3044 check for "Recording format" in "info record" output.
3045 * gdb.btrace/record_goto.exp: Choose test file based on target.
3046 * gdb.btrace/x86-record_goto.S: Renamed into ...
3047 * gdb.btrace/x86_64-record_goto.S: ... this.
3048 * gdb.btrace/i686-record_goto.S: New.
3049 * gdb.btrace/x86-tailcall.S: Renamed into ...
3050 * gdb.btrace/x86_64-tailcall.S: ... this.
3051 * gdb.btrace/i686-tailcall.S: New.
3052 * gdb.btrace/x86-tailcall.c: Renamed into ...
3053 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3054 separate statements. Update test.
3055 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3056 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3057 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3058 * gdb.btrace/tailcall.exp: Choose test file based on target.
3059 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3060
11cc1b74
MM
30612015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3062
3063 * gdb.btrace/exception.exp: Increase BTS buffer size.
3064
a25d8bf9
PA
30652015-03-24 Pedro Alves <palves@redhat.com>
3066
3067 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3068
856e7dd6
PA
30692015-03-24 Pedro Alves <palves@redhat.com>
3070
3071 * gdb.threads/schedlock.exp (test_step): No longer expect that
3072 "set scheduler-locking step" with "next" over a function call runs
3073 threads unlocked.
3074
ad235a41
AT
30752015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3076
3077 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3078
15630549
AT
30792015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3080
3081 PR breakpoints/16466
3082 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3083 * gdb.mi/mi-pending.c (thread_func): New function.
3084 (int main): Add threading support required.
3085 * gdb.mi/mi-pending.exp: Add tests for this issue.
3086 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3087 (pendfunc2): Remove stdio dependency.
3088 * gdb.mi/mi-pendshr2.c: New file.
3089
693dca06
KS
30902015-03-23 Keith Seitz <keiths@redhat.com>
3091
3092 * gdb.linespec/keywords.c: New file.
3093 * gdb.linespec/keywords.exp: New file.
3094
7e993ebf
KS
30952015-03-23 Keith Seitz <keiths@redhat.com>
3096
3097 PR gdb/18021
3098 * gdb.dwarf2/staticvirtual.exp: New test.
3099
bc23328c
JK
31002015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3101
3102 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3103 * README: Remove HP-UX and gdb.hp.
3104 (configuration):
3105 * configure: Regenerate.
3106 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3107 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3108 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3109 gdb.hp/gdb.defects/Makefile.
3110 * gdb.hp/Makefile.in: File deleted.
3111 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3112 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3113 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3114 * gdb.hp/gdb.aCC/run.c: File deleted.
3115 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3116 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3117 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3118 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3119 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3120 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3121 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3122 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3123 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3124 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3125 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3126 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3127 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3128 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3129 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3130 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3131 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3132 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3133 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3134 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3135 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3136 * gdb.hp/gdb.compat/average.c: File deleted.
3137 * gdb.hp/gdb.compat/sum.c: File deleted.
3138 * gdb.hp/gdb.compat/xdb.c: File deleted.
3139 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3140 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3141 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3142 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3143 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3144 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3145 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3146 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3147 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3148 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3149 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3150 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3151 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3152 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3153 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3154 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3155 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3156 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3157 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3158 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3159 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3160 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3161 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3162 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3163 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3164 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3165 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3166 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3167 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3168 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3169 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3170 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3171 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3172 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3173 * gdb.hp/tools/odump: File deleted.
3174
8bf3b159
PA
31752015-03-19 Pedro Alves <palves@redhat.com>
3176
3177 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3178 (saw_thread_3): New globals.
3179 (top level): Increment them when an event for the corresponding
3180 thread is seen.
3181 (no thread starvation): New test.
3182
eb54c8bf
PA
31832015-03-19 Pedro Alves <palves@redhat.com>
3184
3185 * gdb.threads/continue-pending-status.c: New file.
3186 * gdb.threads/continue-pending-status.exp: New file.
3187
32d2e5d6
PA
31882015-03-18 Pedro Alves <palves@redhat.com>
3189
3190 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3191 Use gdb_is_target_remote instead of is_remote. Use
3192 gdb_test_multiple instead of gdb_expect. Exit early if
3193 gdb_test_multiple hits its internal matches. Tighten stepi tests
3194 expected output. Fail on exit with any signal, instead of just
3195 SIGILL.
3196
f68f11b7
YQ
31972015-03-18 Yao Qi <yao.qi@linaro.org>
3198
3199 PR tdep/18107
3200 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3201 variable.
3202 * gdb.base/catch-syscall.exp: Don't skip it on
3203 aarch64*-*-linux* target. Remove elements in all_syscalls.
3204 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3205 target.
3206 (setup_all_syscalls): New proc.
3207
ca5fd19b
YQ
32082015-03-16 Yao Qi <yao.qi@linaro.org>
3209
3210 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3211 (top level): Skip tests if valid_addr_p returns false for
3212 $cmd1 or $cmd2.
3213
85642ba0
AW
32142015-03-11 Andy Wingo <wingo@igalia.com>
3215
3216 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3217
e03f9645
YQ
32182015-03-11 Yao Qi <yao.qi@linaro.org>
3219
3220 * gdb.base/catch-syscall.exp: Fix typo in comments.
3221
5d0962b2
YQ
32222015-03-11 Yao Qi <yao.qi@linaro.org>
3223
3224 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3225
b2df3cef
PA
32262015-03-09 Pedro Alves <palves@redhat.com>
3227
3228 * dg-extract-results.py: Delete.
3229
ef878e53
PA
32302015-03-09 Pedro Alves <palves@redhat.com>
3231
3232 Merge dg-extract-results.sh from GCC upstream (r218843).
3233
3234 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3235 * dg-extract-results.sh: Use --text with grep to avoid issues with
3236 binary files. Fall back to cat -v, if that doesn't work.
3237
9494d219
PA
32382015-03-05 Pedro Alves <palves@redhat.com>
3239
3240 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3241
a8d9763a
SM
32422015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3243
3244 * lib/mi-support.exp (mi_expect_interrupt): Accept
3245 alternative event for when in all-stop mode.
3246
be9957b8
PA
32472015-03-04 Pedro Alves <palves@redhat.com>
3248
3249 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3250
d57be0f4 32512015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
3252
3253 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3254
c214c7cf
AA
32552015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3256
3257 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3258 regexps for GDB's current line display, accept a hex address
3259 preceding the line number.
3260
6d74a497
AA
32612015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3262
3263 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3264 the 'arch1' variable for "s390*-linux*" targets.
3265
511aee7c
PA
32662015-03-04 Pedro Alves <palves@redhat.com>
3267
3268 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3269 (main): Pass missing retval argument to pthread_join call.
3270
95e50b27
PA
32712015-03-02 Pedro Alves <palves@redhat.com>
3272
3273 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3274 (top level): Call do_test with non-stop as well.
3275
28054d69
PA
32762015-03-02 Pedro Alves <palves@redhat.com>
3277
3278 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3279 -1.
3280
4fa5d7b4
AA
32812015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3282
3283 * gdb.arch/s390-vregs.exp: New test.
3284 * gdb.arch/s390-vregs.S: New file.
3285
97c18565
PA
32862015-02-27 Pedro Alves <palves@redhat.com>
3287
3288 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3289 call to catch_command_errors.
3290 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3291 catch_command_errors.
3292
a37bfa30
PA
32932015-02-27 Pedro Alves <palves@redhat.com>
3294
3295 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3296 "true" for boolean result.
3297 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3298 prototype of main.
3299
6f98576f
PA
33002015-02-27 Pedro Alves <palves@redhat.com>
3301
3302 * lib/unbuffer_output.c: New file.
3303 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3304 (main): Call gdb_unbuffer_output.
3305
eba5ab56
YQ
33062015-02-27 Yao Qi <yao.qi@linaro.org>
3307
3308 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3309 target.
3310
0def5aaa
DE
33112015-02-26 Doug Evans <dje@google.com>
3312
3313 * gdb.cp/class2.cc (Dbase, D): New classes.
3314 (main): New local delta.
3315 * gdb.cp/class2.exp: Test printing delta.
3316 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3317 (dynbar): New global.
3318 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3319
081a1c2c
JK
33202015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3321
3322 * gdb.compile/compile-ifunc.c: New file.
3323 * gdb.compile/compile-ifunc.exp: New file.
3324
2f41223f
AT
33252015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3326
3327 * gdb.base/structs.exp: Check for correct struct on finish.
3328
03eddd80
YQ
33292015-02-26 Yao Qi <yao.qi@linaro.org>
3330
3331 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3332 is zero.
3333
80c57053
JK
33342015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3335
3336 * gdb.arch/cordic.ko.bz2: New file.
3337 * gdb.arch/cordic.ko.debug.bz2: New file.
3338 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3339
21613c12
YQ
33402015-02-25 Yao Qi <yao.qi@linaro.org>
3341
3342 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3343 aarch64*-*-* target.
3344
d8b901ed
PA
33452015-02-23 Pedro Alves <palves@redhat.com>
3346
3347 * lib/gdb.exp (delete_breakpoints): Rewrite using
3348 gdb_test_multiple.
3349
e5b85ead
PA
33502015-02-23 Pedro Alves <palves@redhat.com>
3351
3352 * gdb.base/info-os.c: Include stdlib.h.
3353
85c3a371
DE
33542015-02-22 Doug Evans <xdje42@gmail.com>
3355
3356 PR symtab/17855
3357 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3358 is read after symbols have been re-read.
3359 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3360 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3361
96553a0c
DE
33622015-02-21 Doug Evans <dje@google.com>
3363
3364 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3365
97a0c697
JK
33662015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3367
3368 PR corefiles/17808
3369 * gdb.arch/i386-biarch-core.core.bz2: New file.
3370 * gdb.arch/i386-biarch-core.exp: New file.
3371
a47cd6e9
PA
33722015-02-21 Pedro Alves <palves@redhat.com>
3373
3374 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3375 runto_main fails.
3376
c5facdc4
PA
33772015-02-20 Pedro Alves <palves@redhat.com>
3378
3379 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3380 info probes.
3381
2db9a427
PA
33822015-02-20 Pedro Alves <palves@redhat.com>
3383
3384 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3385
60fb7e9e
PA
33862015-02-20 Pedro Alves <palves@redhat.com>
3387
3388 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3389 clean_restart before gdb_target_supports_trace.
3390
5c5019c2
PA
33912015-02-20 Pedro Alves <palves@redhat.com>
3392
3393 PR threads/18006
3394 * gdb.threads/clone-thread_db.c: New file.
3395 * gdb.threads/clone-thread_db.exp: New file.
3396
c9587f88
AT
33972015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3398
3399 PR breakpoints/16812
3400 * gdb.base/catch-gdb-caused-signals.c: New file.
3401 * gdb.base/catch-gdb-caused-signals.exp: New file.
3402
f6a88844
JM
34032015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3404
3405 * configure: Regenerated.
3406 * configure.ac: Use GDB_AC_TRANSFORM.
3407 * aclocal.m4: sinclude ../transform.m4.
3408
497c491b
JM
34092015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3410
3411 * lib/dtrace.exp: New file.
3412 * gdb.base/dtrace-probe.exp: Likewise.
3413 * gdb.base/dtrace-probe.d: Likewise.
3414 * gdb.base/dtrace-probe.c: Likewise.
3415 * lib/pdtrace.in: Likewise.
3416 * configure.ac: Output variables with the transformed names of
3417 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3418 * configure: Regenerated.
3419
03e98035
JM
34202015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3421
3422 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3423 expected message when trying to access $_probe_* convenience
3424 variables while not on a probe.
3425
63cc30e9
JK
34262015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3427
3428 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3429
0703599a
PA
34302015-02-11 Pedro Alves <pedro@codesourcery.com>
3431
3432 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3433 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3434
7e60a48e
DE
34352015-02-10 Doug Evans <xdje42@gmail.com>
3436
3437 * lib/gdb.exp (gdb_load): Always return a result.
3438
01b088bc
PA
34392015-02-10 Pedro Alves <palves@redhat.com>
3440
3441 * gdb.threads/signal-sigtrap.c: New file.
3442 * gdb.threads/signal-sigtrap.exp: New file.
3443
b05ec7a5
AT
34442015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3445
3446 * gdb.trace/no-attach-trace.c: New file.
3447 * gdb.trace/no-attach-trace.exp: New file.
3448
a2c2acaf
MW
34492015-02-09 Mark Wielaard <mjw@redhat.com>
3450
3451 * gdb.dwarf2/atomic.c: New file.
3452 * gdb.dwarf2/atomic-type.exp: Likewise.
3453
31fd9caa
MM
34542015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3455
3456 * gdb.btrace/buffer-size.exp: Update "info record" output.
3457 * gdb.btrace/delta.exp: Update "info record" output.
3458 * gdb.btrace/enable.exp: Update "info record" output.
3459 * gdb.btrace/finish.exp: Update "info record" output.
3460 * gdb.btrace/instruction_history.exp: Update "info record" output.
3461 * gdb.btrace/next.exp: Update "info record" output.
3462 * gdb.btrace/nexti.exp: Update "info record" output.
3463 * gdb.btrace/step.exp: Update "info record" output.
3464 * gdb.btrace/stepi.exp: Update "info record" output.
3465 * gdb.btrace/nohist.exp: Update "info record" output.
3466
d33501a5
MM
34672015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3468
3469 * gdb.btrace/buffer-size: New.
3470
f4abbc16
MM
34712015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3472
3473 * gdb.btrace/delta.exp: Update "info record" output.
3474 * gdb.btrace/enable.exp: Update "info record" output.
3475 * gdb.btrace/finish.exp: Update "info record" output.
3476 * gdb.btrace/instruction_history.exp: Update "info record" output.
3477 * gdb.btrace/next.exp: Update "info record" output.
3478 * gdb.btrace/nexti.exp: Update "info record" output.
3479 * gdb.btrace/step.exp: Update "info record" output.
3480 * gdb.btrace/stepi.exp: Update "info record" output.
3481 * gdb.btrace/nohist.exp: Update "info record" output.
3482
b9d61307
SM
34832015-02-06 Simon Marchi <simon.marchi@ericsson.com>
3484
3485 PR gdb/15678
3486 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3487
e584fdbc
PA
34882015-02-06 Pedro Alves <palves@redhat.com>
3489
3490 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
3491 macro.
3492 (seconds_left, again): New globals.
3493 (main): Wait seconds_left in a 1-second sleep loop instead of
3494 sleeping 180 seconds. If 'again' is set, reset the seconds
3495 counter.
3496 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
3497 'again' in the inferior before detaching. Print the seconds left.
3498 (options): New global.
3499 (top level): Build program with -DTIMEOUT=$timeout.
3500
77f41761
PA
35012015-02-06 Pedro Alves <palves@redhat.com>
3502
3503 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
3504 determine how many seconds to pass to 'alarm'.
3505 * gdb.base/gdb-sigterm.exp (top level): Build program with
3506 -DTIMEOUT=$timeout.
3507 (do_test): Return success/failure indication. Add more verbose
3508 logging. Don't fail if 200 single steps are seen. Instead, fail
3509 when the test times out.
3510 (passes): New global.
3511 (top level): Break the testing loop if testing fails on any
3512 iteration. Use gdb_assert.
3513
b9394193
DB
35142015-02-04 Don Breazeal <donb@codesourcery.com>
3515
3516 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
3517 and initialize them.
3518 (ipc_cleanup): New function.
3519 (main): Don't declare shmid, semid, and msqid. Add a call to
3520 atexit so that we call ipc_cleanup on exit.
3521
42d9e528
PA
35222015-02-04 Pedro Alves <palves@redhat.com>
3523
3524 * boards/native-extended-gdbserver.exp: Remove any target variant
3525 specifications from the board name before clearing the isremote
3526 flag from board_info.
3527
ae6ae975
DE
35282015-01-31 Doug Evans <xdje42@gmail.com>
3529
3530 * gdb.base/maint.exp <maint print type argc>: Update expected output.
3531
cfb069a8
GB
35322015-01-31 Gary Benson <gbenson@redhat.com>
3533
3534 * gdb.base/completion.exp: Disable completion limiting for
3535 existing tests. Add new tests to check completion limiting.
3536 * gdb.linespec/ls-errs.exp: Disable completion limiting.
3537
5dd31d79
DE
35382015-01-31 Doug Evans <xdje42@gmail.com>
3539
3540 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
3541
9f050062
DE
35422015-01-31 Doug Evans <xdje42@gmail.com>
3543
3544 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
3545 entries. Duplicate file section script entries.
3546 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
3547 inlined entries. Add test for safe-path rejection.
3548 * gdb.python/py-section-script.c: Add duplicate inlined section script
3549 entries. Duplicate file section script entries.
3550 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
3551 inlined entries. Add test for safe-path rejection.
3552
df25ebbd
JB
35532015-01-29 Joel Brobecker <brobecker@adacore.com>
3554
3555 * gdb.ada/disc_arr_bound: New testcase.
3556
4a0ca9ec
JB
35572015-01-29 Joel Brobecker <brobecker@adacore.com>
3558
3559 * gdb.ada/mi_var_array: New testcase.
3560
3a8b707a
DE
35612015-01-27 Doug Evans <dje@google.com>
3562
3563 * gdb.python/py-objfile.exp: Add tests for objfile.username.
3564 Add test for objfile.filename, objfile.username after objfile
3565 has been unloaded.
3566
f8313f6e
JB
35672015-01-26 Joel Brobecker <brobecker@adacore.com>
3568
3569 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
3570 the second test to print the name attribute of value
3571 returned by the call to gdb.lookup_type, and adjust
3572 the expected output accordingly.
3573
37bc665e
MW
35742015-01-25 Mark Wielaard <mjw@redhat.com>
3575
3576 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
3577 * gdb.base/disp-step-fork.c: Include unistd.h.
3578 * gdb.base/siginfo-obj.c: Include stdio.h.
3579 * gdb.base/siginfo-thread.c: Likewise.
3580 * gdb.mi/non-stop.c: Include unistd.h.
3581 * gdb.mi/nsthrexec.c: Include stdio.h.
3582 * gdb.mi/pthreads.c: Include unistd.h.
3583 * gdb.modula2/unbounded1.c (main): Declare returns int.
3584 * gdb.reverse/consecutive-reverse.c: Likewise.
3585 * gdb.threads/create-fail.c: Include unistd.h.
3586 * gdb.threads/killed.c: Likewise.
3587 * gdb.threads/linux-dp.c: Likewise.
3588 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
3589 * gdb.threads/non-ldr-exc-2.c: Likewise.
3590 * gdb.threads/non-ldr-exc-3.c: Likewise.
3591 * gdb.threads/non-ldr-exc-4.c: Likewise.
3592 * gdb.threads/pthreads.c: Include unistd.h.
3593 (main): Declare returns int.
3594 * gdb.threads/tls-main.c (foo): New declaration.
3595 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
3596
f7e5394d
SM
35972015-01-23 Simon Marchi <simon.marchi@ericsson.com>
3598
3599 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
3600 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
3601
743649fd
MW
36022015-01-15 Mark Wielaard <mjw@redhat.com>
3603
3604 * gdb.base/noreturn-return.c: New file.
3605 * gdb.base/noreturn-return.exp: New file.
3606 * gdb.base/noreturn-finish.c: New file.
3607 * gdb.base/noreturn-finish.exp: New file.
3608
198297aa
PA
36092015-01-23 Pedro Alves <palves@redhat.com>
3610
3611 * gdb.threads/continue-pending-after-query.c: New file.
3612 * gdb.threads/continue-pending-after-query.exp: New file.
3613
717cf30c
AG
36142015-01-22 Anders Granlund <anders.granlund@ericsson.com>
3615 Simon Marchi <simon.marchi@ericsson.com>
3616
3617 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
3618 * gdb.base/valgrind-db-attach.exp: Same.
3619 * gdb.base/valgrind-infcall.exp: Same.
3620 * lib/mi-support.exp (default_mi_gdb_start): Same.
3621 * lib/prompt.exp (default_prompt_gdb_start): Same.
3622 * lib/gdb.exp (default_gdb_spawn): Same.
3623 (gdb_interact): New.
3624
3625
4b62a76e
JK
36262015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3627
3628 * gdb.compile/compile.exp (pointer to jit function): New test.
3629
b4cdae6f
WW
36302015-01-17 Wei-cheng Wang <cole945@gmail.com>
3631
3632 * lib/gdb.exp (supports_process_record): Return true for
3633 powerpc*-*-linux*.
3634 (supports_reverse): Likewise.
3635
d221e7ef
DB
36362015-01-15 Don Breazeal <donb@codesourcery.com>
3637
3638 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
3639 instead of checking whether the target board is remote and
3640 use spawn_wait_for_attach instead of exec/sleep.
3641 * gdb.base/attach-twice.exp: Likewise.
3642
bafffb51
JB
36432015-01-15 Joel Brobecker <brobecker@adacore.com>
3644
3645 * gdb.ada/var_arr_attrs: New testcase.
3646
5589af0e
PA
36472015-01-14 Pedro Alves <palves@redhat.com>
3648 Joel Brobecker <brobecker@adacore.com>
3649
3650 PR gdb/17525
3651 * gdb.base/bp-cmds-execution-x-script.c: New file.
3652 * gdb.base/bp-cmds-execution-x-script.exp: New file.
3653 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
3654
6c400b59
PA
36552015-01-14 Pedro Alves <palves@redhat.com>
3656
3657 PR cli/17828
3658 * gdb.base/batch-preserve-term-settings.c: New file.
3659 * gdb.base/batch-preserve-term-settings.exp: New file.
3660
e02c96a7
DE
36612015-01-13 Doug Evans <dje@google.com>
3662
3663 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
3664 binary.
3665
576fd14c
JB
36662015-01-13 Joel Brobecker <brobecker@adacore.com>
3667
3668 * Makefile.in (clean mostlyclean): Do not delete *.py.
3669
04dccad0
JB
36702015-01-13 Joel Brobecker <brobecker@adacore.com>
3671
3672 * gdb.python/py-lookup-type.exp: New file.
3673
3d230f71
PA
36742015-01-12 Pedro Alves <palves@redhat.com>
3675
3676 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
3677 restore GDBFLAGS before returning.
3678
7e67715d
JK
36792015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3680
3681 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
3682 is_amd64_regs_target and is_x86_like_target.
3683
f2e0d4b4
DE
36842015-01-11 Doug Evans <xdje42@gmail.com>
3685
3686 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
3687 is given without an explicit form.
3688 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
3689 attributes.
3690 * gdb.dwarf/corrupt.exp: Ditto.
3691 * gdb.dwarf2/enum-type.exp: Ditto.
3692 * gdb.trace/entry-values.exp: Ditto.
3693 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
3694
439250fb
DE
36952015-01-11 Doug Evans <xdje42@gmail.com>
3696
3697 PR gdb/15830
3698 * gdb.base/maint.exp: Remove references to "maint demangle".
3699 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
3700 Add tests for explicitly specifying language to demangle.
3701 * gdb.dlang/demangle.exp: Ditto.
3702
ede9f622
PA
37032015-01-09 Pedro Alves <palves@redhat.com>
3704
3705 * gdb.threads/non-stop-fair-events.c: New file.
3706 * gdb.threads/non-stop-fair-events.exp: New file.
3707
a7b796db
PA
37082015-01-09 Pedro Alves <palves@redhat.com>
3709
3710 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
3711 the global scope. Set a breakpoint after all threads are started
3712 rather than stepping over two source lines. Expect the prompt.
3713 * gdb.base/watch_thread_num.c (threads_started_barrier): New
3714 global.
3715 (NUM): Now 15.
3716 (main): Use threads_started_barrier to wait for all threads to
3717 start. Main thread no longer calls thread_function. Exit after
3718 180 seconds.
3719 (loop): New function.
3720 (thread_function): Wait on threads_started_barrier barrier. Call
3721 'loop' at each iteration.
3722 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
3723 threads have started, instead of hardcoding number of "next"
3724 steps. Use an access watchpoint instead of a write watchpoint.
3725
9665ffdd
PA
37262015-01-09 Pedro Alves <palves@redhat.com>
3727
3728 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
3729 (thread_func): Wait on barrier.
3730 (main): Wait for all threads to start before stopping GDB.
3731 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
3732 global.
3733 (thread1_func, thread2_func): Wait on barrier.
3734 (main): Wait for all threads to start before stopping GDB.
3735 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
3736 New global.
3737 (thread1_func, thread2_func): Wait on barrier.
3738 (main): Wait for all threads to start before stopping GDB.
3739
c945a99f
PA
37402015-01-09 Pedro Alves <palves@redhat.com>
3741
3742 * gdb.threads/attach-many-short-lived-threads.c: New file.
3743 * gdb.threads/attach-many-short-lived-threads.exp: New file.
3744
c1a747c1
PA
37452014-01-09 Pedro Alves <palves@redhat.com>
3746
3747 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
3748 instead of to thread 2.
3749 * gdb.threads/signal-command-multiple-signals-pending.c (main):
3750 Add barrier around each pthread_create call instead of around all
3751 calls.
3752 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
3753 Set a break on thread_function and have the child threads hit it
3754 one at at a time.
3755
60b3033e
PA
37562015-01-09 Pedro Alves <palves@redhat.com>
3757
3758 * lib/gdb.exp (can_spawn_for_attach): New procedure.
3759 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
3760 false.
3761 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
3762 checking whether the target board is remote.
3763 * gdb.multi/multi-attach.exp: Likewise.
3764 * gdb.python/py-sync-interp.exp: Likewise.
3765 * gdb.server/ext-attach.exp: Likewise.
3766 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
3767 tests that need to attach, instead of checking whether the target
3768 board is remote at the top of the file.
3769
acc018ac
YQ
37702015-01-08 Yao Qi <yao@codesourcery.com>
3771
3772 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
3773
50a18af8
JK
37742015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3775
3776 Fix testcase compilation.
3777 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
3778
8503d6e1
JB
37792015-01-06 Joel Brobecker <brobecker@adacore.com>
3780
3781 * gdb.python/py-type.exp: Add a couple test about empty
3782 array creation, and negative-length array creation.
3783
cc73dbcc
DE
37842015-01-02 Doug Evans <xdje42@gmail.com>
3785
3786 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
3787
0300bbc7
DE
37882015-01-02 Doug Evans <dje@google.com>
3789
3790 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
3791
9d85a0ec
YQ
37922014-12-29 Yao Qi <yao@codesourcery.com>
3793
3794 * gdb.trace/entry-values.exp: Update comments. Rename variable
3795 bar_call_foo to returned_from_foo.
3796
87186c6a
MMN
37972014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
3798
3799 PR gdb/17394
3800 * gdb.linespec/break-asm-file.c: New file.
3801 * gdb.linespec/break-asm-file.exp: New file.
3802 * gdb.linespec/break-asm-file0.s: New file.
3803 * gdb.linespec/break-asm-file1.s: New file.
3804
1bab7383
YQ
38052014-12-18 Nigel Stephens <nigel@mips.com>
3806 Maciej W. Rozycki <macro@codesourcery.com>
3807
3808 * gdb.base/float.exp: Handle the new output from "info float" on
3809 MIPS targets.
3810
1bc1068a
JK
38112014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3812
3813 Fix MinGW compilation.
3814 * gdb.compile/compile-ops.exp: Update untested message if
3815 !skip_compile_feature_tests.
3816 * gdb.compile/compile-setjmp.exp: Likewise.
3817 * gdb.compile/compile-tls.exp: Likewise.
3818 * gdb.compile/compile.exp: Likewise.
3819 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
3820 supported on this host".
3821
b6615d10
DE
38222014-12-16 Doug Evans <xdje42@gmail.com>
3823
3824 * boards/stabs.exp: New file.
3825
25dda427
AA
38262014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
3827
3828 * gdb.base/completion.exp: Adjust to format changes of "maint
3829 print user-registers".
3830
bf330350
CU
38312014-12-16 Catalin Udma <catalin.udma@freescale.com>
3832
3833 PR server/17457
3834 * gdb.arch/aarch64-fp.c: New file.
3835 * gdb.arch/aarch64-fp.exp: New file.
3836
395cf596
SDJ
38372014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
3838
3839 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
3840 r210637, r210913, r211666, r215400, r215817).
3841
3842 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
3843 * dg-extract-results.py: New file.
3844 * dg-extract-results.sh: Use it if the environment seems
3845 suitable.
3846
3847 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
3848
3849 * dg-extract-results.py (parse_run): Handle warnings that
3850 are printed before a test harness is run.
3851
3852 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
3853
3854 * dg-extract-results.py (Named): Remove __cmp__ method.
3855 (output_variation): Use a key to sort variation.harnesses.
3856
3857 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
3858
3859 * dg-extract-results.py: For Python 3, force sys.stdout to
3860 handle surrogate escape sequences.
3861 (safe_open): New function.
3862 (output_segment, main): Use it.
3863
3864 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
3865
3866 * dg-extract-results.py (Prog.result_re): Include options
3867 in test name.
3868
3869 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
3870
3871 * dg-extract-results.py (output_variation): Always sort if
3872 do_sum.
3873
e882ef3c
SM
38742014-12-15 Simon Marchi <simon.marchi@ericsson.com>
3875
3876 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
3877 as long as we get pagination notifications.
3878
4992aa20
JM
38792014-12-15 Jason Merrill <jason@redhat.com>
3880
3881 * Makefile.in (check-gdb.%): Restore.
3882 * README: Mention it.
3883
c1b5a1a6
JB
38842014-12-13 Joel Brobecker <brobecker@adacore.com>
3885
3886 * gdb.ada/str_uninit: New testcase.
3887
5537b577
JK
38882014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3889
3890 PR symtab/17642
3891 * gdb.base/vla-stub-define.c: New file.
3892 * gdb.base/vla-stub.c: New file.
3893 * gdb.base/vla-stub.exp: New file.
3894
bb2ec1b3
TT
38952014-12-12 Phil Muldoon <pmuldoon@redhat.com>
3896 Jan Kratochvil <jan.kratochvil@redhat.com>
3897 Tom Tromey <tromey@redhat.com>
3898
3899 * configure.ac: Add gdb.compile/.
3900 * configure: Regenerate.
3901 * gdb.compile/Makefile.in: New file.
3902 * gdb.compile/compile-ops.exp: New file.
3903 * gdb.compile/compile-ops.c: New file.
3904 * gdb.compile/compile-tls.c: New file.
3905 * gdb.compile/compile-tls.exp: New file.
3906 * gdb.compile/compile-constvar.S: New file.
3907 * gdb.compile/compile-constvar.c: New file.
3908 * gdb.compile/compile-mod.c: New file.
3909 * gdb.compile/compile-nodebug.c: New file.
3910 * gdb.compile/compile-setjmp-mod.c: New file.
3911 * gdb.compile/compile-setjmp.c: New file.
3912 * gdb.compile/compile-setjmp.exp: New file.
3913 * gdb.compile/compile-shlib.c: New file.
3914 * gdb.compile/compile.c: New file.
3915 * gdb.compile/compile.exp: New file.
3916 * lib/gdb.exp (skip_compile_feature_tests): New proc.
3917
4ff709eb
TT
39182014-12-12 Tom Tromey <tromey@redhat.com>
3919
3920 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
3921 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
3922
6dddd6a5
DE
39232014-12-12 Doug Evans <dje@google.com>
3924
3925 * lib/gdb-python.exp (get_python_valueof): New function.
3926 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
3927
71c24708
AA
39282014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3929
3930 * gdb.base/completion.exp: Add test for completion of "info
3931 registers ".
3932
3e29f34a
MR
39332014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
3934
3935 * gdb.base/func-ptrs.c: New file.
3936 * gdb.base/func-ptrs.exp: New file.
3937
fc126975
SM
39382014-12-10 Simon Marchi <simon.marchi@ericsson.com>
3939
3940 PR breakpoints/17012
3941 * gdb.base/dprintf-detach.c: New file.
3942 * gdb.base/dprintf-detach.exp: New file.
3943
0a46d518
SM
39442014-12-10 Simon Marchi <simon.marchi@ericsson.com>
3945
3946 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
3947 * lib/gdb.exp (target_is_gdbserver): New procedure.
3948
a0be3e44
DE
39492014-12-08 Doug Evans <dje@google.com>
3950
3951 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
3952
df1b803a
YQ
39532014-12-05 Yao Qi <yao@codesourcery.com>
3954
3955 * gdb.guile/scm-error.exp: Remove the third argument to
3956 gdb_remote_download.
3957 * gdb.guile/scm-frame-args.exp: Likewise.
3958 * gdb.guile/scm-section-script.exp: Likewise.
3959
ddb9f679
YQ
39602014-12-05 Yao Qi <yao@codesourcery.com>
3961
3962 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
3963
86e4ed39
DE
39642014-12-04 Doug Evans <dje@google.com>
3965
3966 * gdb.python/py-objfile.exp: Add tests for
3967 objfile.add_separate_debug_file.
3968
7c50a931
DE
39692014-12-04 Doug Evans <dje@google.com>
3970
3971 * lib/gdb.exp (get_build_id): New function.
3972 (build_id_debug_filename_get): Rewrite to use it.
3973 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
3974
621661e3
MR
39752014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
3976
3977 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
3978 `method(long)', not just 0x0.
3979 * gdb.cp/nsalias.exp: Align code labels to 4.
3980 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
3981 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
3982 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
3983 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
3984 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
3985 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
3986
29f0c3b7
DE
39872014-12-02 Doug Evans <dje@google.com>
3988
e1e061e7 3989 PR symtab/17602
29f0c3b7 3990 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 3991 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
3992 * gdb.cp/anon-ns.exp: Update.
3993
162078c8
NB
39942014-12-02 Nick Bull <nicholaspbull@gmail.com>
3995
3996 * gdb.python/py-events.py (inferior_call_handler): New.
3997 (register_changed_handler, memory_changed_handler): New.
3998 (test_events.invoke): Register new handlers.
3999 * gdb.python/py-events.exp: Add tests for inferior call,
4000 memory_changed and register_changed events.
4001
fdb09caf
AA
40022014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4003
4004 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4005 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4006 if the linker doesn't understand this.
4007
55cfb2c4
SM
40082014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4009
4010 * gdb.python/python.exp: Change expected reply to help().
4011
9e8cd6df
YQ
40122014-12-01 Yao Qi <yao@codesourcery.com>
4013
4014 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4015 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4016 * configure: Re-generated.
4017
6c659fc2
SC
40182014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4019
4020 * gdb.cp/chained-calls.cc: New file.
4021 * gdb.cp/chained-calls.exp: New file.
4022 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4023
d7fc3181
SM
40242014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4025
4026 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4027 * gdb.dwarf2/symtab-producer.exp: Same.
4028 * gdb.gdb/python-interrupts.exp: Same.
4029 * gdb.gdb/python-selftest.exp: Same.
4030 * gdb.python/py-linetable.exp: Same.
4031 * gdb.python/py-type.exp: Same.
4032 * gdb.python/py-value-cc.exp: Same.
4033 * gdb.python/py-value.exp: Same.
4034
10e79639
YQ
40352014-11-28 Yao Qi <yao@codesourcery.com>
4036
4037 * gdb.base/break-probes.exp: Match library name prefixed with
4038 sysroot.
4039
f28a0564
SM
40402014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4041
4042 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4043 test expected output. Add parentheses for the call to print.
4044 Remove L suffix from integers.
4045
3fe1ce1d
DE
40462014-11-26 Doug Evans <dje@google.com>
4047
4048 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4049
84429e27
YQ
40502014-11-22 Yao Qi <yao@codesourcery.com>
4051
4052 * gdb.trace/entry-values.c: Remove asms.
4053 (foo): Add foo_label.
4054 (bar): Add bar_label.
4055 * gdb.trace/entry-values.exp: Remove code computing foo's
4056 length and bar's length.
4057 (Dwarf::assemble): Invoke function_range for bar and use
4058 MACRO_AT_func for foo.
4059
26741859
YQ
40602014-11-22 Yao Qi <yao@codesourcery.com>
4061
4062 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4063 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4064 Use .Lgcc43_procstart instead of gcc43.
4065
45e44d27
JB
40662014-11-21 Joel Brobecker <brobecker@adacore.com>
4067
4068 * gdb.ada/n_arr_bound: New testcase.
4069
458c8db8
SDJ
40702014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4071
4072 PR breakpoints/10737
4073 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4074 test_catch_syscall_multi_arch.
4075 (test_catch_syscall_multi_arch): New function.
4076
43f3e411
DE
40772014-11-20 Doug Evans <xdje42@gmail.com>
4078
4079 * gdb.base/maint.exp: Update expected output.
4080
0d7b2549
AA
40812014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4082
4083 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4084 4-byte instruction on S390.
4085
8908fca5
JB
40862014-11-19 Joel Brobecker <brobecker@adacore.com>
4087
4088 * gdb.ada/arr_arr: New testcase.
4089
4a46959e
JB
40902014-11-19 Joel Brobecker <brobecker@adacore.com>
4091
4092 * gdb.ada/pkd_arr_elem: New Testcase.
4093
470e2f4e
LM
40942014-11-18 Luis Machado <lgustavo@codesourcery.com>
4095
4096 * gdb.reverse/break-precsave: Expect completion message for
4097 core file reads.
4098 * gdb.reverse/consecutive-precsave.exp: Likewise.
4099 * gdb.reverse/finish-precsave.exp: Likewise.
4100 * gdb.reverse/i386-precsave.exp: Likewise.
4101 * gdb.reverse/machinestate-precsave.exp: Likewise.
4102 * gdb.reverse/sigall-precsave.exp: Likewise.
4103 * gdb.reverse/solib-precsave.exp: Likewise.
4104 * gdb.reverse/step-precsave.exp: Likewise.
4105 * gdb.reverse/until-precsave.exp: Likewise.
4106 * gdb.reverse/watch-precsave.exp: Likewise.
4107
a267f3ad
AA
41082014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4109
4110 * gdb.base/bp-permanent.c: Include unistd.h.
4111 * gdb.python/py-framefilter-mi.c (main): Add return type.
4112 * gdb.python/py-framefilter.c (main): Likewise.
4113 * gdb.trace/actions-changed.c (main): Likewise.
4114
12084a9a
AA
41152014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4116
4117 * gdb.mi/until.c: Add eye-catchers.
4118 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4119 line numbers.
4120
dc7e1a77
AA
41212014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4122
4123 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4124 function header variants in break1.c.
4125 * gdb.base/ena-dis-br.exp: Likewise.
4126 * gdb.base/hbreak2.exp: Likewise.
4127 * gdb.reverse/until-precsave.exp: Drop references to removed
4128 non-prototype function header variants in ur1.c.
4129 * gdb.reverse/until-reverse.exp: Likewise.
4130
41c77605
PM
41312014-11-17 Petr Machata <pmachata@redhat.com>
4132
4133 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4134 ${_cu_offset_size} bytes abbrev offset.
4135
34248c3a
DE
41362014-11-15 Doug Evans <xdje42@gmail.com>
4137
4138 PR symtab/17559
4139 * gdb.base/line-symtabs.exp: New file.
4140 * gdb.base/line-symtabs.c: New file.
4141 * gdb.base/line-symtabs.h: New file.
4142
646da059
YQ
41432014-11-14 Yao Qi <yao@codesourcery.com>
4144
4145 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4146 (func): Add label func_label.
4147 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4148 Replace low_pc and high_pc with MACRO_AT_range.
4149 Replace name, low_pc and high_pc with MACRO_AT_func.
4150
9301ebe6
YQ
41512014-11-14 Yao Qi <yao@codesourcery.com>
4152
4153 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4154 Replace name, low_pc and high_pc with MACRO_AT_func.
4155
f166b542
YQ
41562014-11-14 Yao Qi <yao@codesourcery.com>
4157
4158 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4159 produce debug information.
4160 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4161
0f6e71e3
YQ
41622014-11-14 Yao Qi <yao@codesourcery.com>
4163
4164 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4165 object and get function length.
4166 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4167 with MACRO_AT_func.
4168 (top-level): Replace gdb_compile and clean_restart with
4169 prepare_for_testing.
4170 * gdb.dwarf2/main.c (main): Add label main_label.
4171
876c4df9
YQ
41722014-11-14 Yao Qi <yao@codesourcery.com>
4173
4174 * lib/dwarf.exp (function_range): New procedure.
4175 (Dwarf::_handle_macro_at_func): New procedure.
4176 (Dwarf::_handle_macro_at_range): New procedure.
4177 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4178
02ad9cf1
YQ
41792014-11-14 Yao Qi <yao@codesourcery.com>
4180
4181 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4182 (_handle_attribute): New procedure.
4183
a59add0c
AA
41842014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4185
4186 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4187 * gdb.base/call-sc.c (zed): Likewise.
4188 * gdb.base/checkpoint.c (main): Likewise.
4189 * gdb.base/dump.c (main): Likewise.
4190 * gdb.base/gcore.c (main): Likewise.
4191 * gdb.base/huge.c (main): Likewise.
4192 * gdb.base/multi-forks.c (main): Likewise.
4193 * gdb.base/pr10179-a.c (main): Likewise.
4194 * gdb.base/savedregs.c (main): Likewise.
4195 * gdb.base/sigaltstack.c (main): Likewise.
4196 * gdb.base/siginfo.c (main): Likewise.
4197 * gdb.base/structs.c (zed): Likewise.
4198 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4199 * gdb.mi/mi-syn-frame.c (main): Likewise.
4200 * gdb.mi/until.c (foo, main): Likewise.
4201 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4202 * gdb.base/solib-weak.c (foo): Declare.
4203 * gdb.base/attach-twice.c: Include stdio.h.
4204 * gdb.base/weaklib1.c: Likewise.
4205 * gdb.base/weaklib2.c: Likewise.
4206 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4207 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4208 unistd.h.
4209 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4210 * gdb.mi/mi-exit-code.c: Likewise.
4211 * gdb.base/break-interp-lib.c: Include string.h.
4212 * gdb.base/coremaker.c: Likewise.
4213 * gdb.base/testenv.c: Likewise.
4214 * gdb.python/py-finish-breakpoint.c: Likewise.
4215 * gdb.base/inferior-died.c: Include sys/wait.h.
4216 * gdb.base/fileio.c: Include time.h.
4217 * gdb.base/async-shell.c: Include unistd.h.
4218 * gdb.base/dprintf-non-stop.c: Likewise.
4219 * gdb.base/info-os.c: Likewise.
4220 * gdb.mi/mi-console.c: Likewise.
4221 * gdb.mi/watch-nonstop.c: Likewise.
4222 * gdb.python/py-events.c: Likewise.
4223 * gdb.base/async.c (baz): Move up before its invocation.
4224 * gdb.base/code_elim2.c (my_global_func): Likewise.
4225 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4226 * gdb.base/advance.c (func2): Likewise.
4227
3b5d5997
AA
42282014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4229
4230 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4231 variant.
4232 * gdb.base/annota3.c: Likewise.
4233 * gdb.base/async.c: Likewise.
4234 * gdb.base/average.c: Likewise.
4235 * gdb.base/call-ar-st.c: Likewise.
4236 * gdb.base/call-rt-st.c: Likewise.
4237 * gdb.base/call-sc.c: Likewise.
4238 * gdb.base/call-strs.c: Likewise.
4239 * gdb.base/ending-run.c: Likewise.
4240 * gdb.base/execd-prog.c: Likewise.
4241 * gdb.base/exprs.c: Likewise.
4242 * gdb.base/foll-exec.c: Likewise.
4243 * gdb.base/foll-fork.c: Likewise.
4244 * gdb.base/foll-vfork.c: Likewise.
4245 * gdb.base/funcargs.c: Likewise.
4246 * gdb.base/gcore.c: Likewise.
4247 * gdb.base/jump.c: Likewise.
4248 * gdb.base/langs0.c: Likewise.
4249 * gdb.base/langs1.c: Likewise.
4250 * gdb.base/langs2.c: Likewise.
4251 * gdb.base/mips_pro.c: Likewise.
4252 * gdb.base/nodebug.c: Likewise.
4253 * gdb.base/opaque0.c: Likewise.
4254 * gdb.base/opaque1.c: Likewise.
4255 * gdb.base/recurse.c: Likewise.
4256 * gdb.base/run.c: Likewise.
4257 * gdb.base/scope0.c: Likewise.
4258 * gdb.base/scope1.c: Likewise.
4259 * gdb.base/setshow.c: Likewise.
4260 * gdb.base/setvar.c: Likewise.
4261 * gdb.base/shmain.c: Likewise.
4262 * gdb.base/shr1.c: Likewise.
4263 * gdb.base/shr2.c: Likewise.
4264 * gdb.base/sigall.c: Likewise.
4265 * gdb.base/signals.c: Likewise.
4266 * gdb.base/so-indr-cl.c: Likewise.
4267 * gdb.base/solib2.c: Likewise.
4268 * gdb.base/structs.c: Likewise.
4269 * gdb.base/sum.c: Likewise.
4270 * gdb.base/vforked-prog.c: Likewise.
4271 * gdb.base/watchpoint.c: Likewise.
4272 * gdb.reverse/shr2.c: Likewise.
4273 * gdb.reverse/until-reverse.c: Likewise.
4274 * gdb.reverse/ur1.c: Likewise.
4275 * gdb.reverse/watch-reverse.c: Likewise.
4276
066a77c5
AA
42772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4278
4279 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4280 variant.
4281 * gdb.base/sepdebug.exp: Drop references to removed code.
4282
4f204ea5
AA
42832014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4284
4285 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4286 variant. Preserve original line numbering.
4287 * gdb.base/list1.c: Likewise.
4288
3b377a3a
AA
42892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4290
4291 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4292 variant.
4293 * gdb.base/break1.c: Likewise.
4294 * gdb.base/break.exp: Drop references to removed code.
4295
e444df73
AA
42962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4297
4298 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4299 variant.
4300
8008f2a7
AA
43012014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4302
4303 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4304
a5a06887
AA
43052014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4306
4307 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4308 logic into perform_all_tests() and invoke it with and without
4309 function header prototypes.
4310 (do_function_calls): Remove conditional XFAIL for PR 5318.
4311 (rerun_and_prepare): Remove duplicate code.
4312 (perform_all_tests): New. Main logic moved here.
4313
44dba9b9
AA
43142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4315
4316 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4317 code guarded by #ifdef NO_PROTOTYPES.
4318 (t_double_many_args): Likewise.
4319 (DEF_FUNC_MANY_ARGS_1): Likewise.
4320 (DEF_FUNC_VALUES_1): Likewise.
4321 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4322 guarded by #ifdef PROTOTYPES.
4323
d1fbcd56
AA
43242014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4325
4326 * gdb.mi/mi-console.c: Add eye-catcher.
4327 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4328 instead of literal line number.
4329
b0e59b8f
AA
43302014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4331
4332 * gdb.base/shr2.c: Add eye-catcher.
4333 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4334 line number.
4335
78f98cca
AA
43362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4337
4338 * gdb.base/jump.c: Add eye-catchers.
4339 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4340 numbers.
4341
58fa2af0
AA
43422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4343
4344 * gdb.base/execd-prog.c: Add eye-catchers.
4345 * gdb.base/foll-exec.c: Likewise.
4346 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4347 line numbers.
4348
04e5059b
AA
43492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4350
4351 * gdb.base/ending-run.c: Add eye-catchers.
4352 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4353 literal line numbers.
4354
dbfdb174
AA
43552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4356
4357 * gdb.base/call-rt-st.c: Add eye-catchers.
4358 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4359 literal line numbers.
4360
888a2ade
AA
43612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4362
4363 * gdb.base/call-ar-st.c: Add eye-catchers.
4364 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4365 literal line numbers.
4366
6acc2dde
AA
43672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4368
4369 * gdb.base/average.c: Add eye-catchers.
4370 * gdb.base/sum.c: Likewise.
4371 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4372 regexps dynamically.
4373
9ecfcd1d
AA
43742014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4375
4376 * gdb.base/solib1.c: Add eye-catchers.
4377 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4378 literal line numbers.
4379
78708b7c
PA
43802014-11-12 Pedro Alves <palves@redhat.com>
4381
4382 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4383 leader has exited.
4384
af48d08f
PA
43852014-11-12 Pedro Alves <palves@redhat.com>
4386
4387 * gdb.arch/i386-bp_permanent.c: New file.
4388 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4389 (srcfile): Set to i386-bp_permanent.c.
4390 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4391 that stepi does not execute the 'leave' instruction, instead of
4392 testing it does execute.
4393 * gdb.base/bp-permanent.c: New file.
4394 * gdb.base/bp-permanent.exp: New file.
4395
af3768e9
DE
43962014-11-10 Doug Evans <xdje42@gmail.com>
4397
4398 PR symtab/17564
4399 * gdb.base/symtab-search-order.exp: New file.
4400 * gdb.base/symtab-search-order.c: New file.
4401 * gdb.base/symtab-search-order-1.c: New file.
4402 * gdb.base/symtab-search-order-shlib-1.c: New file.
4403
9de00a4a
PA
44042014-11-07 Pedro Alves <palves@redhat.com>
4405
4406 PR gdb/17511
4407 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4408 i?86-*-linux*.
4409
e0f52461
SC
44102014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4411
4412 PR c++/17494
4413 * gdb.cp/pr17494.cc: New file.
4414 * gdb.cp/pr17494.exp: New file.
4415
6ce8c980
YQ
44162014-11-02 Yao Qi <yao@codesourcery.com>
4417
4418 * gdb.python/python.exp: Get working directory and match the
4419 output of "set extended-prompt \\w " with it.
4420
02be9a71
DE
44212014-10-30 Doug Evans <dje@google.com>
4422
4423 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4424 in objfiles.
4425 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4426 in progspaces.
4427
3bdff46b
LM
44282014-10-30 Janis Johnson <janisjo@codesourcery.com>
4429
4430 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4431 * gdb.base/realname-expand.exp: Likewise.
4432 * gdb.linespec/macro-relative.exp: Likewise.
4433
ab917dfb
PA
44342014-10-29 Pedro Alves <palves@redhat.com>
4435
4436 PR gdb/17408
4437 * gdb.threads/schedlock.c (some_function): New function.
4438 (call_function): New global.
4439 (MAYBE_CALL_SOME_FUNCTION): New macro.
4440 (thread_function): Call it.
4441 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4442 and use it instead of a global counter. Adjust all callers.
4443 (get_current_thread): Use "find current thread" for test message
4444 here rather than having all callers pass down the same string.
4445 (goto_loop): New procedure, factored out from ...
4446 (my_continue): ... this.
4447 (step_ten_loops): Change parameter from test message to command to
4448 use. Adjust.
4449 (list_count): Delete global.
4450 (check_result): New procedure, factored out from duplicate top
4451 level code.
4452 (continue tests): Wrap in with_test_prefix.
4453 (test_step): New procedure, factored out from duplicate top level
4454 code.
4455 (top level): Test "step" in combination with all scheduler-locking
4456 modes. Test "next" in combination with all scheduler-locking
4457 modes, and in combination with stepping over a function call or
4458 not.
4459 * gdb.threads/next-bp-other-thread.c: New file.
4460 * gdb.threads/next-bp-other-thread.exp: New file.
4461
d3d4baed
PA
44622014-10-29 Pedro Alves <palves@redhat.com>
4463
4464 PR python/17372
4465 * gdb.python/python.exp: Test a multi-line command that spawns
4466 interactive Python.
4467 * gdb.base/multi-line-starts-subshell.exp: New file.
4468
563e8d85
YQ
44692014-10-29 Yao Qi <yao@codesourcery.com>
4470
4471 * gdb.base/fileio.exp: Make directories on host.
4472
0ea4d52e
YQ
44732014-10-29 Yao Qi <yao@codesourcery.com>
4474
4475 * gdb.base/fileio.c (test_write): Close the file.
4476
7f5ef605
PA
44772014-10-28 Pedro Alves <palves@redhat.com>
4478
4479 PR gdb/12623
4480 * gdb.base/sigstep.c (no_handler): New global.
4481 (main): If 'no_handler is true, set the signal handlers to
4482 SIG_IGN.
4483 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4484 with_sw_watch and no_handler parameters. Handle them.
4485 (top level) <stepping over handler when stopped at a breakpoint
4486 test>: Add a test axis for testing with a software watchpoint, and
4487 another for testing with the signal handler set to SIG_IGN.
4488 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4489 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
4490
abbdbd03
PA
44912014-10-28 Pedro Alves <palves@redhat.com>
4492
4493 PR gdb/17511
4494 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
4495 * gdb.base/sigstep.exp (other_handler_location): New global.
4496 (advance): Support stepping into the signal handler, and running
4497 commands while in the handler.
4498 (in_handler_map): New global.
4499 (top level): In the advance test, add combinations for getting
4500 into the handler with stepping commands, and for running commands
4501 in the handler. Add comment descripting the advancei tests.
4502
1df4399f
PA
45032014-10-28 Pedro Alves <palves@redhat.com>
4504
4505 * gdb.base/sigstep.exp: Use build_executable instead of
4506 prepare_for_testing.
4507 (top level): Move code that starts GDB, runs to main and creates a
4508 display to ...
4509 (restart): ... this new procedure.
4510 (top level): Move backtrace from signal handler test to ...
4511 (validate_backtrace): ... this new procedure.
4512 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
4513 with_test_prefix. Always restart GDB.
4514 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
4515 with_test_prefix. Always restart GDB. No need to delete
4516 breakpoints after the test.
4517 (test_skip_handler): Remove prefix parameter.
4518 (skip_over_handler, breakpoint_to_handler)
4519 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
4520 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
4521 restart GDB. No need to delete breakpoints after the test.
4522 (top level): Use foreach to call the test procedures with
4523 different commands.
4524
a5b6e449
PA
45252014-10-28 Pedro Alves <palves@redhat.com>
4526
4527 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
4528 instead of GNATS numbers.
4529 * gdb.base/sigbpt.exp: Likewise.
4530 * gdb.base/siginfo.exp: Likewise.
4531 * gdb.base/sigstep.exp: Likewise.
4532
e5f8a7cc
PA
45332014-10-27 Pedro Alves <palves@redhat.com>
4534
4535 * gdb.base/sigstep.c (dummy): New global.
4536 (main): Issue a couple writes to the new global.
4537 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
4538 procedures.
4539 (skip_over_handler): Use test_skip_handler.
4540 (top level): Call skip_over_handler for stepi and nexti too.
4541 (breakpoint_over_handler): Use test_skip_handler.
4542 (top level): Call breakpoint_over_handler for stepi and nexti too.
4543
763905a3
YQ
45442014-10-27 Yao Qi <yao@codesourcery.com>
4545
4546 * gdb.trace/tfile.c (adjust_function_address)
4547 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
4548 function descriptor.
4549
6f259a23
DB
45502014-10-24 Don Breazeal <donb@codesourcery.com>
4551
4552 * gdb.base/foll-fork.exp (test_follow_fork,
4553 catch_fork_child_follow): Check for updated fork messages emitted
4554 from infrun.c.
4555 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
4556 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
4557 vfork_and_exec_child_follow_through_step): Check for updated vfork
4558 messages emitted from infrun.c.
4559
09dd9a69
PA
45602014-10-24 Pedro Alves <palves@redhat.com>
4561
4562 * gdb.base/corefile.exp: Remove references to ultrix.
4563 * gdb.base/interrupt.exp: Likewise.
4564 * gdb.base/whatis.exp: Likewise.
4565 * gdb.gdb/selftest.exp: Likewise.
4566 * gdb.threads/manythreads.exp: Likewise.
4567 * gdb.threads/print-threads.exp: Likewise.
4568 * gdb.threads/pthreads.exp:: Likewise.
4569 * gdb.threads/schedlock.exp: Likewise.
4570
3433cfa5
SC
45712014-10-24 Siva Chandra Reddy <sivachandra@google.com>
4572
4573 * gdb.cp/non-trivial-retval.cc: Add a test case.
4574 * gdb.cp/non-trivial-retval.exp: Add a test.
4575
092f880b
YQ
45762014-10-20 Yao Qi <yao@codesourcery.com>
4577
4578 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
4579 * gdb.python/py-objfile-script-gdb.py: New file.
4580 * gdb.python/py-objfile-script.exp: Update reference to
4581 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
4582 of remote_download. Remove the dest file.
4583
acbdb7f3
YQ
45842014-10-20 Yao Qi <yao@codesourcery.com>
4585
4586 * gdb.base/checkpoint.exp: Don't remove file copied on host.
4587 * gdb.base/step-line.exp: Likewise.
4588 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4589 * gdb.dwarf2/dw2-basic.exp: Likewise.
4590 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4591 * gdb.dwarf2/dw2-filename.exp: Likewise.
4592 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4593 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4594 * gdb.dwarf2/dw2-producer.exp: Likewise.
4595 * gdb.dwarf2/mac-fileno.exp: Likewise.
4596 * gdb.python/py-frame-args.exp: Likewise.
4597 * gdb.python/py-framefilter.exp: Likewise.
4598 * gdb.python/py-mi.exp: Likewise.
4599 * gdb.python/py-objfile-script.exp: Likewise
4600 * gdb.python/py-pp-integral.exp: Likewise.
4601 * gdb.python/py-pp-re-notag.exp: Likewise.
4602 * gdb.python/py-prettyprint.exp: Likewise.
4603 * gdb.python/py-section-script.exp: Likewise.
4604 * gdb.python/py-typeprint.exp: Likewise.
4605 * gdb.python/py-xmethods.exp: Likewise.
4606 * gdb.stabs/weird.exp: Likewise.
4607 * gdb.xml/tdesc-regs.exp: Likewise.
4608
bd286a29
KCY
46092014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
4610
4611 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
4612 (out_cu): Use addr_len for the size of addresses.
4613 (out_line): Likewise. Size DW_LNE_set_address instruction
4614 according to addr_len.
4615 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
4616 (FUNC): Add START_INSNS to definition.
4617
673dc4a0
YQ
46182014-10-18 Yao Qi <yao@codesourcery.com>
4619
4620 * gdb.base/argv0-symlink.exp: Check argv[0] value if
4621 gdb_has_argv0 return true.
4622 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
4623 check [target_info exists noargs], check [gdb_has_argv0]
4624 instead.
4625 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4626 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
4627 procedures.
4628
4ffbba72
DE
46292014-10-17 Doug Evans <dje@google.com>
4630
4631 * gdb.python/py-events.exp: Update expected output for clear_objfiles
4632 event.
4633 * gdb.python/py-events.py: Add clear_objfiles event.
4634
d096d8c1
DE
46352014-10-17 Doug Evans <dje@google.com>
4636
4637 * gdb.python/py-objfile.exp: Test progspace attribute.
4638
a80db015
LM
46392014-10-17 Luis Machado <lgustavo@codesourcery.com>
4640
4641 * gdb.guile/scm-breakpoint.exp: Do not assume any
4642 directory separators when matching source file paths.
4643 * gdb.python/py-breakpoint.exp: Likewise.
4644 * gdb.reverse/break-precsave.exp: Likewise.
4645 * gdb.reverse/break-reverse.exp: Likewise.
4646 * gdb.reverse/consecutive-precsave.exp: Likewise.
4647 * gdb.reverse/finish-precsave.exp: Likewise.
4648 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
4649 * gdb.reverse/finish-reverse.exp: Likewise.
4650 * gdb.reverse/i386-precsave.exp: Likewise.
4651 * gdb.reverse/i387-env-reverse.exp: Likewise.
4652 * gdb.reverse/i387-stack-reverse.exp: Likewise.
4653 * gdb.reverse/machinestate-precsave.exp: Likewise.
4654 * gdb.reverse/machinestate.exp: Likewise.
4655 * gdb.reverse/sigall-precsave.exp: Likewise.
4656 * gdb.reverse/solib-precsave.exp: Likewise.
4657 * gdb.reverse/step-precsave.exp: Likewise.
4658 * gdb.reverse/until-precsave.exp: Likewise.
4659 * gdb.reverse/watch-precsave.exp: Likewise.
4660 * gdb.reverse/watch-reverse.exp: Likewise.
4661
b22089ab
YQ
46622014-10-17 Yao Qi <yao@codesourcery.com>
4663
4664 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
4665 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
4666
6c4486e6
PA
46672014-10-17 Pedro Alves <palves@redhat.com>
4668
4669 PR gdb/17471
4670 * gdb.base/bg-execution-repeat.c: New file.
4671 * gdb.base/bg-execution-repeat.exp: New file.
4672
0ff33695
PA
46732014-10-17 Pedro Alves <palves@redhat.com>
4674
4675 PR gdb/17300
4676 * gdb.base/continue-all-already-running.c: New file.
4677 * gdb.base/continue-all-already-running.exp: New file.
4678
6fdebc3d
PA
46792014-10-17 Pedro Alves <palves@redhat.com>
4680
4681 PR gdb/17472
4682 * gdb.base/annota-input-while-running.c: New file.
4683 * gdb.base/annota-input-while-running.exp: New file.
4684
32a8097b
PA
46852014-10-17 Pedro Alves <palves@redhat.com>
4686
4687 * gdb.base/callfuncs.exp: emove references to osf.
4688 * gdb.base/sigall.exp: Likewise.
4689 * gdb.gdb/selftest.exp: Likewise.
4690 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
4691 * gdb.mi/non-stop.c: Likewise.
4692 * gdb.mi/pthreads.c: Likewise.
4693 * gdb.reverse/sigall-precsave.exp: Likewise.
4694 * gdb.reverse/sigall-reverse.exp: Likewise.
4695 * gdb.threads/pthreads.c: Likewise.
4696 * gdb.threads/pthreads.exp: Likewise.
4697
7a3517ff
YQ
46982014-10-17 Yao Qi <yao@codesourcery.com>
4699
4700 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
4701 check 'target_info exists noargs'.
4702 (test_command_prompt_position): Likewise.
4703 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
4704 Remove "set args".
4705 (progvar_simple_while_test): Likewise.
4706 (progvar_complex_if_while_test): Likewise.
4707 (if_while_breakpoint_command_test): Likewise.
4708 (infrun_breakpoint_command_test): Likewise.
4709 (breakpoint_command_test): Likewise.
4710 (watchpoint_command_test): Likewise.
4711 (bp_deleted_in_command_test): Likewise.
4712 (temporary_breakpoint_commands): Likewise.
4713
bb99c472
YQ
47142014-10-16 Yao Qi <yao@codesourcery.com>
4715
4716 * gdb.base/remotetimeout.exp: Remove noargs checking.
4717
7c16b83e
PA
47182014-10-15 Pedro Alves <palves@redhat.com>
4719
4720 PR breakpoints/9649
4721 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
4722 * gdb.base/breakpoint-in-ro-region.exp
4723 (probe_target_hardware_step): New procedure.
4724 (top level): Probe hardware stepping and hardware breakpoint
4725 support. Test stepping through a read-only region, with both
4726 "breakpoint auto-hw" on and off and both "always-inserted" on and
4727 off.
4728
35a49624
IB
47292014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
4730
4731 * gdb.dlang/demangle.exp: Update for demangling changes.
4732
2d1c107c
SC
47332014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4734
4735 * gdb.cp/non-trivial-retval.cc: Add new test cases.
4736 * gdb.cp/non-trivial-retval.exp: Add new tests.
4737
778811d5
SC
47382014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4739
4740 PR c++/13403
4741 PR c++/15154
4742 * gdb.cp/non-trivial-retval.cc: New file.
4743 * gdb.cp/non-trivial-retval.exp: New file.
4744
10c5f0a8
YQ
47452014-10-15 Yao Qi <yao@codesourcery.com>
4746
4747 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
4748 remote host.
4749
65d7b369
YQ
47502014-10-15 Yao Qi <yao@codesourcery.com>
4751
4752 * gdb.python/py-symbol.exp: Match file base name if host is
4753 remote, otherwise match file name with dir name.
4754 * gdb.python/py-symtab.exp: Likewise.
4755 * gdb.python/python.exp: Likewise.
4756
46dc1394
YQ
47572014-10-15 Yao Qi <yao@codesourcery.com>
4758
4759 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
4760 pattern.
4761 * gdb.python/py-symtab.exp: Likewise.
4762 * gdb.python/python.exp: Remove trailing ".*". Fix typo
4763 locationn.
4764
c40cc657
JB
47652014-10-14 Joel Brobecker <brobecker@adacore.com>
4766
4767 * gdb.ada/addr_arith: New testcase.
4768
2abf49e1
MR
47692014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
4770
4771 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
4772 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
4773 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
4774 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
4775
f7088df3
SDJ
47762014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
4777
4778 * gdb.arch/stap-eval-lang-ada.S: Likewise.
4779 * gdb.arch/stap-eval-lang-ada.c: Likewise.
4780 * gdb.arch/stap-eval-lang-ada.exp: New file.
4781
4dc06805
YQ
47822014-10-14 Yao Qi <yao@codesourcery.com>
4783
4784 * gdb.mi/mi-var-child.c (nothing1): New function.
4785 (nothing2): New function.
4786 (do_children_tests): Set function pointers by nothing1 and
4787 nothing2.
4788 * gdb.mi/mi-var-child.exp: Step over new added statements.
4789 Update test to match the new output.
4790 * gdb.mi/var-cmd.c (nothing1): New function.
4791 (nothing2): New function.
4792 (do_children_tests): Set function pointers by nothing1 and
4793 nothing2.
4794 * gdb.mi/mi-var-display.exp: Update test to match output.
4795 Step to the line specified by $line_dct_nothing.
4796 Increase the number of lines to step.
4797
46a93de2
YQ
47982014-10-14 Yao Qi <yao@codesourcery.com>
4799
4800 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
4801 tests.
4802 * gdb.mi/mi2-var-child.exp: Likewise.
4803
14ea52ee
DE
48042014-10-13 Doug Evans <dje@google.com>
4805
4806 * gdb.python/py-objfile.exp: Change name of file name test.
4807
e5c6e92b
DE
48082014-10-13 Doug Evans <dje@google.com>
4809
4810 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
4811 from the start of the CU.
4812
c780cc2f
JK
48132014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4814 Yao Qi <yao@codesourcery.com>
4815
4816 Fix "save breakpoints" for "catch" command.
4817 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
4818 Remove -nonewline. Match also the added "main" line.
4819
99894e11
JK
48202014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4821
4822 Fix "save breakpoints" for "disable $bpnum" command.
4823 * gdb.base/save-bp.c (main): Add label.
4824 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
4825
6e1ac5a3
JK
48262014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4827
4828 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
4829
754dd2b0
YQ
48302014-10-11 Yao Qi <yao@codesourcery.com>
4831
4832 * gdb.server/server-kill.exp: Execute command
4833 "set remote trace-status-packet on" before "tstatus".
4834
f90183d7
YQ
48352014-10-11 Yao Qi <yao@codesourcery.com>
4836
4837 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
4838 (main): Call getppid.
4839 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
4840 and continue to it. Read variable "server_pid".
4841
bf40a607
YQ
48422014-10-11 Yao Qi <yao@codesourcery.com>
4843
4844 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
4845
052ca370
YQ
48462014-10-11 Yao Qi <yao@codesourcery.com>
4847
4848 * gdb.threads/thread-find.exp: Don't execute command
4849 "info threads".
4850 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
4851 * gdb.threads/linux-dp.exp: Don't check the condition
4852 $threads_created equals to zero.
4853
3831839c
PA
48542014-10-10 Pedro Alves <palves@redhat.com>
4855
4856 * gdb.base/bigcore.exp: Remove references to IRIX.
4857 * gdb.base/funcargs.exp: Likewise.
4858 * gdb.base/interrupt.exp: Likewise.
4859 * gdb.base/mips_pro.exp: Likewise.
4860 * gdb.base/nodebug.exp: Likewise.
4861 * gdb.base/setvar.exp: Likewise.
4862 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
4863
8b9a549d
PA
48642014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4865 Pedro Alves <palves@redhat.com>
4866
4867 PR symtab/14466
4868 * gdb.base/vdso-warning.c: New file.
4869 * gdb.base/vdso-warning.exp: New file.
4870
d48ba5e8
DE
48712014-10-02 Doug Evans <dje@google.com>
4872
4873 * gdb.base/structs.c (main): Don't run forever.
4874
2278c276
PA
48752014-10-02 Pedro Alves <palves@redhat.com>
4876
4877 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
4878 (top level) <stop threads 1, stop threads 2>: Use it.
4879
b57bacec
PA
48802014-10-02 Pedro Alves <palves@redhat.com>
4881
4882 * gdb.threads/break-while-running.exp (test): Add new
4883 'update_thread_list' argument. Skip "info threads" if false.
4884 (top level): Add new 'update_thread_list' axis.
4885
13fd3ff3
PA
48862014-10-02 Pedro Alves <palves@redhat.com>
4887
4888 PR breakpoints/17431
4889 * gdb.base/execl-update-breakpoints.c: New file.
4890 * gdb.base/execl-update-breakpoints.exp: New file.
4891
0fec99e8
PA
48922014-10-01 Pedro Alves <palves@redhat.com>
4893
4894 * gdb.base/breakpoint-in-ro-region.c: New file.
4895 * gdb.base/breakpoint-in-ro-region.exp: New file.
4896
2ddf4301
SM
48972014-10-01 Simon Marchi <simon.marchi@ericsson.com>
4898
4899 * gdb.mi/mi-exit-code.exp: New file.
4900 * gdb.mi/mi-exit-code.c: New file.
4901
6a5f3f43
YQ
49022014-09-30 Yao Qi <yao@codesourcery.com>
4903
4904 * lib/prelink-support.exp (build_executable_own_libs): Error if
4905 the target isn't native.
4906
345bcc73
YQ
49072014-09-30 Yao Qi <yao@codesourcery.com>
4908
4909 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
4910 false.
4911
a25a5a45
PA
49122014-09-22 Pedro Alves <palves@redhat.com>
4913
4914 * gdb.threads/break-while-running.exp: New file.
4915 * gdb.threads/break-while-running.c: New file.
4916
00ba3162
YQ
49172014-09-19 Yao Qi <yao@codesourcery.com>
4918
4919 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
4920 Invoke test. Restart GDB with --readnow and invoke test again.
4921
c3b7b696
YQ
49222014-09-19 Yao Qi <yao@codesourcery.com>
4923
4924 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
4925 proc set_breakpoint_on_gcd_function. Invoke
4926 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
4927 invoke set_breakpoint_on_gcd_function again.
4928
2b4fd423
DE
49292014-09-18 Doug Evans <dje@google.com>
4930
4931 * gdb.dwarf2/symtab-producer.exp: New file.
4932
a5947601
SDJ
49332014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
4934
4935 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
4936 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
4937 * gdb.base/global-var-nested-by-dso.c: Likewise.
4938 * gdb.base/global-var-nested-by-dso.exp: Likewise.
4939
91c19059
SDJ
49402014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
4941 Pedro Alves <palves@redhat.com>
4942
4943 * gdb.base/watch-bitfields.exp: Pass string other than test file
4944 name to prepare_for_testing.
4945 (watch): New procedure.
4946 (expect_watchpoint): Use with_test_prefix.
4947 (top level): Factor out tests to ...
4948 (test_watch_location, test_regular_watch): ... these new
4949 procedures, and use with_test_prefix and gdb_continue_to_end.
4950
bb9d5f81
PP
49512014-09-16 Patrick Palka <patrick@parcs.ath.cx>
4952
4953 PR breakpoints/12526
4954 * gdb.base/watch-bitfields.exp: New file.
4955 * gdb.base/watch-bitfields.c: New file.
4956
635856f5
PA
49572014-09-16 Pedro Alves <palves@redhat.com>
4958
4959 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
4960 software and hardware addresses, not software address against
4961 itself.
4962
7280ceea
PA
49632014-09-16 Pedro Alves <palves@redhat.com>
4964
4965 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
4966 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
4967
428b16bd
PA
49682014-09-16 Pedro Alves <palves@redhat.com>
4969
4970 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
4971 files.
4972 * gdb.base/a2-run.exp: Remove all code guarded by istarget
4973 "*-*-vxworks*" throughout.
4974 * gdb.base/break.exp: Likewise.
4975 * gdb.base/default.exp: Likewise.
4976 * gdb.base/scope.exp: Likewise.
4977 * gdb.base/sepdebug.exp: Likewise.
4978 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
4979 throughout.
4980 * gdb.base/run.c: Likewise.
4981 * gdb.base/sepdebug.c: Likewise.
4982 * gdb.hp/gdb.aCC/run.c: Likewise.
4983 * gdb.reverse/until-reverse.c: Likewise.
4984 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
4985
666d413c
YQ
49862014-09-16 Yao Qi <yao@codesourcery.com>
4987
4988 * boards/local-remote-host-native.exp: New file.
4989
57cbd724
DE
49902014-09-14 Doug Evans <xdje42@gmail.com>
4991
4992 * gdb.threads/queue-signal.c (thread_count): New variable.
4993 (thread_count_mutex, thread_count_condvar): New variables.
4994 (incr_thread_count, wait_all_threads_running): New functions.
4995 (main): Wait for all threads to be in their thread functions.
4996
81219e53
DE
49972014-09-13 Doug Evans <xdje42@gmail.com>
4998
4999 * gdb.threads/queue-signal.c: New file.
5000 * gdb.threads/queue-signal.exp: New file.
5001
3714cea7
DE
50022014-09-13 Doug Evans <xdje42@gmail.com>
5003
5004 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5005 be consistent with what default_gdb_init uses.
5006 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5007 the plain text of the prompt. Add some logging printfs.
5008 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5009
fa43b1d7
PA
50102014-09-12 Pedro Alves <palves@redhat.com>
5011
5012 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5013 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5014 * gdb.arch/i386-size-overlap.exp: Likewise.
5015 * gdb.arch/i386-size.exp: Likewise.
5016 * gdb.arch/i386-unwind.exp: Likewise.
5017 * gdb.base/a2-run.exp: Likewise.
5018 * gdb.base/break.exp: Likewise.
5019 * gdb.base/charset.exp: Likewise.
5020 * gdb.base/chng-syms.exp: Likewise.
5021 * gdb.base/commands.exp: Likewise.
5022 * gdb.base/dbx.exp: Likewise.
5023 * gdb.base/find.exp: Likewise.
5024 * gdb.base/funcargs.exp: Likewise.
5025 * gdb.base/jit-simple.exp: Likewise.
5026 * gdb.base/reread.exp: Likewise.
5027 * gdb.base/sepdebug.exp: Likewise.
5028 * gdb.base/step-bt.exp: Likewise.
5029 * gdb.cp/mb-inline.exp: Likewise.
5030 * gdb.cp/mb-templates.exp: Likewise.
5031 * gdb.objc/basicclass.exp: Likewise.
5032 * gdb.threads/killed.exp: Likewise.
5033
9d9bf2df
EBM
50342014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5035
5036 PR tdep/17379
5037 * gdb.arch/powerpc-stackless.S: New file.
5038 * gdb.arch/powerpc-stackless.exp: New file.
5039
1cf2f1b0
JK
50402014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5041
5042 * gdb.base/attach.c: Include unistd.h.
5043 (main): Call alarm. Add label postloop.
5044 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5045 gdb_breakpoint, gdb_continue_to_breakpoint.
5046 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5047
98880d46
PA
50482014-09-11 Pedro Alves <palves@redhat.com>
5049
5050 PR gdb/17347
5051 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5052 * gdb.base/attach.exp (test_command_line_attach_run): New
5053 procedure.
5054 (top level): Call it.
5055
4c92ff2c
PA
50562014-09-11 Pedro Alves <palves@redhat.com>
5057
5058 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5059 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5060 (do_command_attach_tests): Use spawn_wait_for_attach.
5061 * gdb.base/solib-overlap.exp: Likewise.
5062 * gdb.multi/multi-attach.exp: Likewise.
5063 * gdb.python/py-prompt.exp: Likewise.
5064 * gdb.python/py-sync-interp.exp: Likewise.
5065 * gdb.server/ext-attach.exp: Likewise.
5066
3adc1a7d
GKB
50672014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5068
5069 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5070 command in testcase. Simplify testcase.
5071
96334934
JB
50722014-09-10 Joel Brobecker <brobecker@adacore.com>
5073
5074 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5075
eb479039
JB
50762014-09-10 Joel Brobecker <brobecker@adacore.com>
5077
5078 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5079
deede10c
JB
50802014-09-10 Joel Brobecker <brobecker@adacore.com>
5081
5082 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5083
7828a5f5
JB
50842014-09-10 Joel Brobecker <brobecker@adacore.com>
5085
5086 * gdb.dwarf2/dynarr-ptr.c: New file.
5087 * gdb.dwarf2/dynarr-ptr.exp: New file.
5088
33aeebcf
MR
50892014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5090
5091 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5092 of 30 rather than hardcoding 120 for a slow test case. Take the
5093 `gdb,timeout' target setting into account for this calculation.
5094 Don't extend the timeout for the test cases that don't need it.
5095
7b415901
MR
50962014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5097
5098 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5099 a factor of 2 for a slow test case. Take the `gdb,timeout'
5100 target setting into account for this calculation.
5101 * gdb.reverse/until-precsave.exp: Increase the timeout by
5102 a factor of 15 and 3 respectively rather than adding 120
5103 for a pair of slow test cases. Take the `gdb,timeout'
5104 target setting into account for this calculation.
5105
4a40f85a
MR
51062014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5107
5108 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5109 timeout, don't pass one down to gdb_expect.
5110 (gdb_expect): Rework timeout selection.
5111
09635af7
MR
51122014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5113
5114 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5115 exception on timeout.
5116 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5117 (gdbserver_start_extended): Catch any `gdbserver_start' error
5118 exceptions.
5119 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5120 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5121 `gdbserver_gdb_load' error exceptions.
5122
2bdd10b7
MR
51232014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5124
5125 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5126 120 on waiting for the TCP socket to open.
5127
316935f0
DE
51282014-09-09 Doug Evans <xdje42@gmail.com>
5129
5130 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5131 _caller_matches, _any_caller_is, _any_caller_matches.
5132
83740597
DE
51332014-09-09 Doug Evans <xdje42@gmail.com>
5134
5135 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5136
4c122fc3
YQ
51372014-09-09 Yao Qi <yao@codesourcery.com>
5138
5139 * gdb.mi/mi-var-display.exp: Set print symbol off.
5140
a9f116cb
GKB
51412014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5142
5143 PR gdb/17035
5144 * gdb.base/commands.exp: Add tests to verify user-defined
5145 commands with empty bodies.
5146 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5147 python commands in `show user command`.
5148 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5149 scheme commands in `show user command`.
5150
c75bd3a2
JK
51512014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5152
5153 PR python/17355
5154 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5155 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5156 * gdb.python/py-framefilter-invalidarg.exp: New file.
5157 * gdb.python/py-framefilter-invalidarg.py: New file.
5158
faa42425
DE
51592014-09-06 Doug Evans <xdje42@gmail.com>
5160
5161 PR 15276
5162 * gdb.python/py-caller-is.c: New file.
5163 * gdb.python/py-caller-is.exp: New file.
5164
474ca4f6
SDJ
51652014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5166
5167 PR gdb/17235
5168 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5169 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5170
eb0b0463
SDJ
51712014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5172
5173 PR fortran/17237
5174 * gdb.fortran/print-formatted.exp: New file.
5175 * gdb.fortran/print-formatted.f90: Likewise.
5176
5f3b99cf
SS
51772014-09-03 Sasha Smundak <asmundak@google.com>
5178
5179 * gdb.python/py-frame.exp: Test Frame.read_register.
5180
7d793aa9
SDJ
51812014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5182
5183 PR python/16699
5184 * gdb.python/py-completion.exp: New file.
5185 * gdb.python/py-completion.py: Likewise.
5186
fb0576e9
DE
51872014-08-28 Doug Evans <dje@google.com>
5188
5189 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5190 eax,etc. are live with values set by gdb and thus the compiler can't
5191 use them.
5192 * gdb.arch/i386-pseudo.c (main): Ditto.
5193
ee92b0dd
DE
51942014-08-27 Doug Evans <dje@google.com>
5195
5196 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5197
6649db35
DE
51982014-08-25 Doug Evans <dje@google.com>
5199
5200 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5201 (main): Ditto.
5202
564b7600
DE
52032014-08-25 Doug Evans <dje@google.com>
5204
5205 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5206
3881fb67
YQ
52072014-08-24 Yao Qi <yao@codesourcery.com>
5208
5209 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5210 symbol off.
5211 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5212
a05a36a5
DE
52132014-08-22 Doug Evans <dje@google.com>
5214
5215 PR 17276
5216 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5217 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5218 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5219
7c343b48
YQ
52202014-08-22 Yao Qi <yao@codesourcery.com>
5221
5222 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5223 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5224 * gdb.python/python.exp: Likewise. Use .py file on the host
5225 instead of the build.
5226
22fd09ae
JK
52272014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5228
5229 * gdb.threads/gcore-stale-thread.c: New file.
5230 * gdb.threads/gcore-stale-thread.exp: New file.
5231
a8454a7c
PA
52322014-08-21 Pedro Alves <palves@redhat.com>
5233
5234 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5235 * gdb.base/gcore-relro-pie.exp: Likewise.
5236 * gdb.base/gcore-relro.exp: Likewise.
5237 * gdb.base/gcore.exp: Likewise.
5238 * gdb.base/print-symbol-loading.exp: Likewise.
5239 * gdb.threads/gcore-thread.exp: Likewise.
5240 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5241
2a31c623
PA
52422014-08-20 Pedro Alves <palves@redhat.com>
5243 Jan Kratochvil <jan.kratochvil@redhat.com>
5244
5245 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5246 configure.
5247 (EXPECT): Handle READ1 being set.
5248 (all): Depend on EXTRA_RULES.
5249 (check-read1, expect-read1, read1.so, read1): New rules.
5250 * README (Testsuite Parameters): Document the READ1 make variable.
5251 (Race detection): New section.
5252 * configure: Regenerate.
5253 * configure.ac: If build==host==target, and running under a
5254 GNU/glibc system, add read1 to the extra Makefile rules.
5255 (EXTRA_RULES): AC_SUBST it.
5256 * lib/read1.c: New file.
5257
d36430db
JB
52582014-08-20 Joel Brobecker <brobecker@adacore.com>
5259
5260 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5261 the handling of variables declared as a typedef to an array
5262 which a DW_AT_data_location attribute.
5263
9a0dc9e3
PA
52642014-08-19 Andrew Burgess <aburgess@broadcom.com>
5265 Pedro Alves <palves@redhat.com>
5266
5267 PR symtab/14604
5268 PR symtab/14605
5269 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5270 gdb_test.
5271
0718a8da
PA
52722014-08-19 Pedro Alves <palves@redhat.com>
5273
5274 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5275
13b448cd
YQ
52762014-08-19 Yao Qi <yao@codesourcery.com>
5277
5278 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5279 right line.
5280
1cbf5077
DB
52812014-08-18 David Blaikie <dblaikie@gmail.com>
5282
5283 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5284
bf0fae19
JB
52852014-08-18 Joel Brobecker <brobecker@adacore.com>
5286
5287 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5288 attribute in array range.
5289
3c8c5dcc
JB
52902014-08-18 Joel Brobecker <brobecker@adacore.com>
5291
5292 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5293
e66d4446
SC
52942014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5295
5296 PR c++/17132
5297 * gdb.cp/pr17132.cc: New file.
5298 * gdb.cp/pr17132.exp: New file.
5299
940df408
SC
53002014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5301
5302 * gdb.python/py-xmethods.py (A_getarrayind)
5303 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5304 Use 'print' with function call syntax.
5305 (E_method_matcher.match): Fix tab vs space indentation mixup.
5306
ebcc6c3a
YQ
53072014-08-15 Yao Qi <yao@codesourcery.com>
5308
5309 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5310 false.
5311
775e0f04
YQ
53122014-08-15 Yao Qi <yao@codesourcery.com>
5313
5314 * gdb.cp/casts.exp: Set print symbol off.
5315 * gdb.cp/class2.exp: Likewise.
5316 * gdb.cp/overload.exp: Likewise.
5317 * gdb.cp/templates.exp: Likewise.
5318
d769e349
DE
53192014-08-11 Doug Evans <dje@google.com>
5320
5321 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5322 (test_load_shlib): Update.
5323
20c6f1e1
YQ
53242014-08-09 Yao Qi <yao@codesourcery.com>
5325
5326 * gdb.base/display.exp: Invoke is_address_zero_readable.
5327 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5328 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5329 * gdb.base/hbreak-unmapped.exp: Return if
5330 is_address_zero_readable returns true.
5331 * gdb.base/signest.exp: Likewise.
5332 * gdb.base/signull.exp: Likewise.
5333 * gdb.base/sigbpt.exp: Likewise.
5334 * gdb.guile/scm-disasm.exp: Do the test if
5335 is_address_zero_readable returns false.
5336 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5337 * gdb.python/py-arch.exp: Likewise.
5338 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5339 * lib/gdb.exp (is_address_zero_readable): New proc.
5340
5792e8e3
YQ
53412014-08-09 Yao Qi <yao@codesourcery.com>
5342
5343 PR testsuite/13443
5344 * gdb.mi/mi-var-display.exp: Make test messages unique.
5345
3cecbbbe
TT
53462014-08-04 Tom Tromey <tromey@redhat.com>
5347
5348 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5349 target 0".
5350
00b51ff5
TT
53512014-08-04 Tom Tromey <tromey@redhat.com>
5352
5353 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5354 "target_resume".
5355
6908c509
JB
53562014-08-01 Joel Brobecker <brobecker@adacore.com>
5357
5358 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5359 inner_vla_struct_object_size.
5360 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5361 as xfail.
5362
cc6563d2
PA
53632014-07-30 Pedro Alves <palves@redhat.com>
5364
5365 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5366 comment.
5367
7e09a223
YQ
53682014-07-29 Yao Qi <yao@codesourcery.com>
5369
5370 PR gdb/17206
5371 * gdb.base/until-nodebug.exp: New.
5372
7ebdbe92
DE
53732014-07-28 Doug Evans <xdje42@gmail.com>
5374
5375 PR guile/17203
5376 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5377 previously existing parameter, and previously ambiguously spelled
5378 parameter.
5379
fdb1adc6
WN
53802014-07-28 Will Newton <will.newton@linaro.org>
5381
5382 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5383
186fcde0
DE
53842014-07-26 Ludovic Courtès <ludo@gnu.org>
5385 Doug Evans <xdje42@gmail.com>
5386
5387 PR guile/17146
5388 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5389
70509625
PA
53902014-07-25 Pedro Alves <palves@redhat.com>
5391
5392 * gdb.threads/signal-command-handle-nopass.c: New file.
5393 * gdb.threads/signal-command-handle-nopass.exp: New file.
5394 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5395 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5396 * gdb.threads/signal-delivered-right-thread.c: New file.
5397 * gdb.threads/signal-delivered-right-thread.exp: New file.
5398
c3f814a1
PA
53992014-07-25 Pedro Alves <palves@redhat.com>
5400
5401 * gdb.base/double-prompt-target-event-error.exp
5402 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5403 match.
5404 (cancel_pagination_in_target_event): Rework double prompt
5405 detection.
5406 * gdb.base/paginate-after-ctrl-c-running.exp
5407 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5408 <return>' match.
5409 * gdb.base/paginate-bg-execution.exp
5410 (test_bg_execution_pagination_return)
5411 (test_bg_execution_pagination_cancel): Remove '-notransfer
5412 <return>' matches.
5413 * gdb.base/paginate-execution-startup.exp
5414 (test_fg_execution_pagination_return)
5415 (test_fg_execution_pagination_cancel): Remove '-notransfer
5416 <return>' matches.
5417 * gdb.base/paginate-inferior-exit.exp
5418 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5419 match.
5420 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5421 * lib/gdb.exp (pagination_prompt): Run text through
5422 string_to_regexp.
5423 (gdb_test_multiple): Match $pagination_prompt instead of
5424 "<return>".
5425 (string_to_regexp): Move to lib/gdb-utils.exp.
5426
e214cf6c
JK
54272014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5428
5429 * gdb.arch/amd64-entry-value-paramref.S: New file.
5430 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5431 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5432 * gdb.arch/amd64-optimout-repeat.S: New file.
5433 * gdb.arch/amd64-optimout-repeat.c: New file.
5434 * gdb.arch/amd64-optimout-repeat.exp: New file.
5435
17d0c5c8
JK
54362014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5437
5438 PR gdb/17170
5439 * gdb.base/statistics.exp: New file.
5440
b8b8facf
DE
54412014-07-17 Doug Evans <dje@google.com>
5442
74b49205 5443 PR gdb/17170
b8b8facf
DE
5444 * gdb.base/maint.exp: Update testing of per-command stats.
5445
1b5d0ab3
PA
54462014-07-16 Pedro Alves <palves@redhat.com>
5447
5448 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5449 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5450 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5451 (tfile_write_buf): New functions.
5452 (add_memory_block): Rewrite using the above.
5453 (adjust_function_address): New function.
5454 (FUNCTION_ADDRESS): New macro.
5455 (write_basic_trace_file): Remove short_x local, and use
5456 tfile_write_16. Change type of func_addr local to unsigned long
5457 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5458 here. Cast argument of add_memory_block to char pointer.
5459 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5460 (main): Remove parameters.
5461 * gdb.trace/tfile.exp: Remove nowarnings.
5462
4d974e88
SM
54632014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5464
5465 * gdb.base/debug-expr.exp: Test string evaluation with
5466 "debug expression" on.
5467
41e99568
PA
54682014-07-15 Pedro Alves <palves@redhat.com>
5469
5470 * gdb.base/reread.exp: Use clean_restart.
5471
487d9753
PL
54722014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5473
5474 * gdb.arch/avr-flash-qualifer.c: New.
5475 * gdb.arch/avr-flash-qualifer.exp: New.
5476
cc1c52ad
PA
54772014-07-14 Pedro Alves <palves@redhat.com>
5478
5479 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5480 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5481
1e973570
PA
54822014-07-14 Pedro Alves <palves@redhat.com>
5483
5484 * gdb.base/double-prompt-target-event-error.c: New file.
5485 * gdb.base/double-prompt-target-event-error.exp: New file.
5486
93d6eb10
PA
54872014-07-14 Pedro Alves <palves@redhat.com>
5488
5489 PR gdb/17072
5490 * gdb.base/paginate-inferior-exit.c: New file.
5491 * gdb.base/paginate-inferior-exit.exp: New file.
5492
0017922d
PA
54932014-07-14 Pedro Alves <palves@redhat.com>
5494
5495 PR gdb/17072
5496 * gdb.base/paginate-bg-execution.c: New file.
5497 * gdb.base/paginate-bg-execution.exp: New file.
5498
94696ad3
PA
54992014-07-14 Pedro Alves <palves@redhat.com>
5500
5501 PR gdb/17072
5502 * gdb.base/paginate-execution-startup.c: New file.
5503 * gdb.base/paginate-execution-startup.exp: New file.
5504 * lib/gdb.exp (pagination_prompt): New global.
5505 (default_gdb_spawn): New procedure, factored out from
5506 default_gdb_spawn.
5507 (default_gdb_start): Adjust to call default_gdb_spawn.
5508 (gdb_spawn): New procedure.
5509
bd293940
PA
55102014-07-14 Pedro Alves <palves@redhat.com>
5511
5512 * lib/gdb.exp (gdb_assert): New procedure.
5513 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
5514
c933f875
PA
55152014-07-14 Pedro Alves <palves@redhat.com>
5516
5517 * gdb.base/execution-termios.c: New file.
5518 * gdb.base/execution-termios.exp: New file.
5519
d98b7a16
TT
55202014-07-14 Tom Tromey <tromey@redhat.com>
5521
5522 * gdb.cp/vla-cxx.cc: New file.
5523 * gdb.cp/vla-cxx.exp: New file.
5524
548740d6
TT
55252014-07-14 Tom Tromey <tromey@redhat.com>
5526
5527 * gdb.reverse/rerun-prec.c: New file.
5528 * gdb.reverse/rerun-prec.exp: New file.
5529
a25eb028
MR
55302014-07-12 Maciej W. Rozycki <macro@mips.com>
5531 Maciej W. Rozycki <macro@codesourcery.com>
5532
5533 * lib/gdb-utils.exp: New file.
5534 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
5535 inline `gdb_init_command' processing.
5536 (gdb_start_cmd): Likewise.
5537 * lib/mi-support.exp (mi_run_cmd): Likewise.
5538 * README: Document `gdb_init_command' and `gdb_init_commands'.
5539
218c2655
JK
55402014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5541
5542 Fix false FAIL running under a very long directory name.
5543 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
5544 and "set print elements 10000". Twice.
5545
5401fde3
YQ
55462014-07-11 Yao Qi <yao@codesourcery.com>
5547
5548 * gdb.base/exprs.exp: "set print symbol off".
5549
e76126e8
PA
55502014-07-11 Pedro Alves <palves@redhat.com>
5551
5552 * gdb.threads/kill.c: New file.
5553 * gdb.threads/kill.exp: New file.
5554
2d6f0de6
YQ
55552014-07-10 Yao Qi <yao@codesourcery.com>
5556
5557 * gdb.trace/tfile.c (write_basic_trace_file)
5558 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
5559 address written to trace file.
5560
7180e04a
PA
55612014-07-09 Pedro Alves <palves@redhat.com>
5562
5563 * gdb.base/attach-wait-input.exp: New file.
5564 * gdb.base/attach-wait-input.c: New file.
5565
9a9a7608
AB
55662014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5567
5568 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
5569 setting up test structures.
5570 (main): Call new test function.
5571 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
5572 test function, continue into test function and walk test
5573 structures.
5574
161ac41e
YQ
55752014-07-02 Yao Qi <yao@codesourcery.com>
5576
5577 * gdb.trace/entry-values.c: Define labels 'foo_start' and
5578 'bar_start' at the beginning of functions 'foo' and 'bar'
5579 respectively.
5580 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
5581 instead of 'foo' and 'bar'.
5582
1f267ae3
MM
55832014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5584
5585 * gdb.btrace/segv.exp: New.
5586 * gdb.btrace/segv.c: New.
5587
2b239efb
LM
55882014-07-02 Luis Machado <lgustavo@codesourcery.com>
5589
5590 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
5591 instruction.
5592
cf363f18
MW
55932014-06-30 Mark Wielaard <mjw@redhat.com>
5594
5595 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
5596 vulture, vilify, villar): New volatile array constants.
5597 (vindictive, vegetation): New const volatile array constants.
5598 * gdb.base/volatile.exp: Test volatile and const volatile array
5599 types.
5600
aebf9d24
AA
56012014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5602
5603 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
5604 target lacks support for awatch, rwatch, or hbreak.
5605
b67a2c6f
YQ
56062014-06-27 Yao Qi <yao@codesourcery.com>
5607
5608 * gdb.multi/dummy-frame-restore.exp: New.
5609 * gdb.multi/dummy-frame-restore.c: New.
5610
aef92902
MM
56112014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5612
5613 * gdb.btrace/gcore.exp: New.
5614
8e9db26e
PA
56152014-06-23 Pedro Alves <palves@redhat.com>
5616
5617 * gdb.base/watchpoint-reuse-slot.c: New file.
5618 * gdb.base/watchpoint-reuse-slot.exp: New file.
5619
70afc5b7
SC
56202014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5621
5622 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
5623 progspace's filename in 'info', 'enable' and 'disable' command
5624 tests.
5625
b972bd9c
JK
56262014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5627
5628 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
5629 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5630 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
5631
125f8a3d
GB
56322014-06-20 Gary Benson <gbenson@redhat.com>
5633
5634 * gdb.arch/i386-avx.exp: Fix include file location.
5635 * gdb.arch/i386-sse.exp: Likewise.
5636
3ed9baed
IB
56372014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5638
5639 * gdb.dlang/expression.exp: New file.
5640
034f788c
PA
56412014-06-19 Pedro Alves <palves@redhat.com>
5642
5643 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
5644 out from ...
5645 (top level): ... here. Iterate running tests under different
5646 scheduler-locking settings.
5647
45371d0c
LM
56482014-06-18 Luis Machado <lgustavo@codesourcery.com>
5649
5650 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
5651 to DW_FORM_addr and use non-zero addresses.
5652
5d376983
SC
56532014-06-18 Siva Chandra Reddy <sivachandra@google.com>
5654
5655 PR gdb/17017
5656 * gdb.python/py-xmethods.cc: Add global function call counters and
5657 increment them in their respective functions. Remove "cout"
5658 statements.
5659 * gdb.python/py-xmethods.exp: Make tests check the global function
5660 call counters instead of depending on inferior IO.
5661
a1aa2221
LM
56622014-06-18 Don Breazeal <donb@codesourcery.com>
5663
5664 * gdb.base/foll-fork.exp (default_fork_parent_follow):
5665 Deleted procedure.
5666 (explicit_fork_parent_follow): Deleted procedure.
5667 (explicit_fork_child_follow): Deleted procedure.
5668 (test_follow_fork): New procedure.
5669 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 5670 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
5671 procedure calls.
5672
0fc05997
YQ
56732014-06-17 Yao Qi <yao@codesourcery.com>
5674
5675 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
5676 CP1252.
5677
70795c52
LM
56782014-06-17 Luis Machado <lgustavo@codesourcery.com>
5679
5680 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
5681 Initialize ptr and S explicitly.
5682 (skip_type_update_when_not_use_rtti_test): Likewise.
5683
6be47f0c
KS
56842014-06-16 Keith Seitz <keiths@redhat.com>
5685
5686 PR mi/15863
5687 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
5688 the inferior is started.
5689
d03de421
PA
56902014-06-16 Pedro Alves <palves@redhat.com>
5691
5692 * gdb.base/break-main-file-remove-fail.c: New file.
5693 * gdb.base/break-main-file-remove-fail.exp: New file.
5694 * gdb.base/break-unload-file.exp: Use build_executable instead of
5695 prepare_for_testing.
5696 (test_break): New parameter "initial_load". Handle it.
5697 (top level): Add initial_load cmdline/file axis.
5698
f9579b99
TT
56992014-06-12 Tom Tromey <tromey@redhat.com>
5700
5701 * gdb.base/completion.exp: Don't use directory name in test.
5702
3657956b
GB
57032014-06-09 Gary Benson <gbenson@redhat.com>
5704
5705 * gdb.base/sigall.c [Functions to send signals]: Reorder to
5706 separate the always-available ANSI-standard signals from the
5707 signals that require checking.
5708 (main): Likewise.
5709 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
5710 Likewise.
5711 (main): Likewise.
5712
4186eb54
KS
57132014-06-07 Keith Seitz <keiths@redhat.com>
5714
5715 Revert:
5716 PR c++/16253
5717 * gdb.cp/var-tag.cc: New file.
5718 * gdb.cp/var-tag.exp: New file.
5719 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5720 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5721 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5722 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5723
25326a28 57242014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
5725
5726 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
5727
829155c9
PA
57282014-06-06 Pedro Alves <palves@redhat.com>
5729
5730 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
5731 in target debug output instead of looking at RSP packets,
5732 disabling the test on any target that uses hardware stepping.
5733 Update comments.
5734
61c8d22e
PA
57352014-06-06 Pedro Alves <palves@redhat.com>
5736
5737 * gdb.base/break-unload-file.exp: Fix typo.
5738
d9a47287
YQ
57392014-06-06 Yao Qi <yao@codesourcery.com>
5740
5741 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
5742 from "jit_function" to "^jit_function".
5743
e5e01dbf
YQ
57442014-06-06 Yao Qi <yao@codesourcery.com>
5745
5746 * gdb.base/async.c (foo): Add one statement.
5747 * gdb.base/async.exp: Get the next instruction address and
5748 match the output of "nexti" by instruction address. Match
5749 the hex address in the output of "finish".
5750
73ba372c
GB
57512014-06-06 Gary Benson <gbenson@redhat.com>
5752
5753 * gdb.base/call-signals.c: Remove preprocessor conditionals
5754 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
5755 SIGSEGV and SIGTERM.
5756 * gdb.base/sigall.c: Likewise.
5757 * gdb.base/unwindonsignal.c: Likewise.
5758 * gdb.reverse/sigall-reverse.c: Likewise.
5759
831517df
YQ
57602014-06-06 Yao Qi <yao@codesourcery.com>
5761
5762 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
5763 readable, skip the test.
5764
b8b91e98
YQ
57652014-06-06 Yao Qi <yao@codesourcery.com>
5766
5767 * gdb.threads/staticthreads.c (thread_function): Move the line
5768 setting breakpoint on forward.
5769 * gdb.threads/staticthreads.exp: Update comments.
5770
fb934770
LC
57712014-06-05 Ludovic Courtès <ludo@gnu.org>
5772
5773 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
5774 "history-append! type error".
5775
6ef284bd
SM
57762014-06-05 Simon Marchi <simon.marchi@ericsson.com>
5777
5778 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
5779 erroneous dprintf expected input.
5780
a872e241
DE
57812014-06-04 Doug Evans <xdje42@gmail.com>
5782
5783 * gdb.guile/scm-generics.exp: Delete.
5784
16f691fb
DE
57852014-06-04 Doug Evans <xdje42@gmail.com>
5786
5787 * gdb.guile/scm-breakpoint.exp: Update.
5788 Add tests for breakpoint registration.
5789
012370f6
TT
57902014-06-04 Tom Tromey <tromey@redhat.com>
5791
5792 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
5793 VLA-in-union.
5794 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
5795 inner_vla_struct, vla_union types. Initialize objects of those
5796 types and compute their sizes.
5797
9f5a4cef
HZ
57982014-06-04 Nathan Sidwell <nathan@codesourcery.com>
5799 Hui Zhu <hui@codesourcery.com>
5800
5801 * gdb.base/fileio.exp: Add test for shell not available as well as
5802 available.
5803 * gdb.base/fileio.c (test_system): Check for shell twice.
5804
90a45c4d
YQ
58052014-06-04 Yao Qi <yao@codesourcery.com>
5806
5807 * gdb.base/auto-connect-native-target.exp: Remove redundant
5808 space from the regexp pattern.
5809
70017e41
YQ
58102014-06-04 Yao Qi <yao@codesourcery.com>
5811
5812 * gdb.base/default.exp: Replace "child" with "native" in
5813 regexp pattern.
5814
883964a7
SC
58152014-06-03 Siva Chandra Reddy <sivachandra@google.com>
5816
5817 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
5818 * gdb.python/py-xmethods.exp: New tests to test xmethods.
5819 * gdb.python/py-xmethods.py: Python script supporting the
5820 new testcase and tests.
5821
ef370185
JB
58222014-06-03 Joel Brobecker <brobecker@adacore.com>
5823 Pedro Alves <palves@redhat.com>
5824
5825 PR breakpoints/17000
5826 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
5827 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
5828
1e2ccb61
BM
58292014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
5830
5831 * gdb.base/subst.exp: Add tests to verify partial path matching
5832 output.
5833
c6ec5ab2
PA
58342014-06-03 Pedro Alves <palves@redhat.com>
5835
5836 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
5837 target that doesn't use software single-stepping.
5838
835c559f
PA
58392014-06-03 Pedro Alves <palves@redhat.com>
5840
5841 PR breakpoints/17000
5842 * gdb.base/sss-bp-on-user-bp-2.c: New file.
5843 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
5844
06eb1586
DE
58452014-06-02 Doug Evans <xdje42@gmail.com>
5846
5847 * gdb.guile/scm-parameter.exp: New file.
5848
e698b8c4
DE
58492014-06-02 Doug Evans <xdje42@gmail.com>
5850
5851 * gdb.guile/scm-cmd.c: New file.
5852 * gdb.guile/scm-cmd.exp: New file.
5853
ded03782
DE
58542014-06-02 Doug Evans <xdje42@gmail.com>
5855
5856 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
5857 pretty-printer lookup.
5858 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
5859 (make-pp_s-printer): Call it.
5860 (make-pretty-printer-from-dict): New function.
5861 (lookup-pretty-printer-maker-from-dict): New function.
5862 (*pretty-printer*): Simplify.
5863 (make-objfile-pp_s-printer): New function.
5864 (install-objfile-pretty-printers!): New function.
5865 (make-progspace-pp_s-printer): New function.
5866 (install-progspace-pretty-printers!): New function.
5867 * gdb.guile/scm-progspace.c: New file.
5868 * gdb.guile/scm-progspace.exp: New file.
5869
41fac0cf
PA
58702014-06-02 Pedro Alves <palves@redhat.com>
5871
5872 * gdb.base/dprintf-bp-same-addr.c: New file.
5873 * gdb.base/dprintf-bp-same-addr.exp: New file.
5874
96ae5695
EBM
58752014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5876
5877 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
5878 * gdb.arch/powerpc-power.s: Likewise.
5879
da02b3a8
JB
58802014-06-02 Joel Brobecker <brobecker@adacore.com>
5881
5882 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
5883
c72b2e7b
YQ
58842014-06-01 Yao Qi <yao@codesourcery.com>
5885
5886 * gdb.base/watchpoint.exp (test_watch_location): Check null
5887 pointer can be dereferenced. If not, do the test, otherwise
5888 skip it.
5889
53e8a631
AB
58902014-05-30 Andrew Burgess <aburgess@broadcom.com>
5891
5892 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
5893 results.
5894 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
5895
938f0e2f
AB
58962014-05-30 Andrew Burgess <aburgess@broadcom.com>
5897
5898 * gdb.arch/amd64-invalid-stack-middle.S: New file.
5899 * gdb.arch/amd64-invalid-stack-middle.c: New file.
5900 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
5901 * gdb.arch/amd64-invalid-stack-top.c: New file.
5902 * gdb.arch/amd64-invalid-stack-top.exp: New file.
5903
9ba6657a
PA
59042014-05-30 Pedro Alves <palves@redhat.com>
5905
5906 PR breakpoints/17000
5907 * gdb.base/sss-bp-on-user-bp.c: New file.
5908 * gdb.base/sss-bp-on-user-bp.exp: New file.
5909
522c09bf
DB
59102014-05-30 David Blaikie <dblaikie@gmail.com>
5911
5912 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
5913 gnu_inline semantics via attribute.
5914 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
5915 source explicitly specifies the required semantics.
5916
bf4ef81e
MR
59172014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
5918
5919 * gdb.reverse/sigall-reverse.exp: Fix a typo.
5920
329ea579
PA
59212014-05-29 Pedro Alves <palves@redhat.com>
5922 Tom Tromey <tromey@redhat.com>
5923
5924 * gdb.base/async-shell.exp: Don't enable target-async.
5925 * gdb.base/async.exp
5926 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
5927 parameter. Adjust.
5928 (top level): Don't test with "target-async".
5929 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
5930 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
5931 * gdb.base/inferior-died.exp: Don't enable target-async.
5932 * gdb.base/interrupt-noterm.exp: Likewise.
5933 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
5934 * gdb.mi/mi-nonstop-exit.exp: Likewise.
5935 * gdb.mi/mi-nonstop.exp: Likewise.
5936 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
5937 * gdb.mi/mi-nsintrall.exp: Likewise.
5938 * gdb.mi/mi-nsmoribund.exp: Likewise.
5939 * gdb.mi/mi-nsthrexec.exp: Likewise.
5940 * gdb.mi/mi-watch-nonstop.exp: Likewise.
5941 * gdb.multi/watchpoint-multi.exp: Adjust comment.
5942 * gdb.python/py-evsignal.exp: Don't enable target-async.
5943 * gdb.python/py-evthreads.exp: Likewise.
5944 * gdb.python/py-prompt.exp: Likewise.
5945 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
5946 * gdb.server/solib-list.exp: Don't enable target-async.
5947 * gdb.threads/thread-specific-bp.exp: Likewise.
5948 * lib/mi-support.exp: Adjust to use mi-async.
5949
fd664c91
PA
59502014-05-29 Pedro Alves <palves@redhat.com>
5951
5952 PR gdb/13860
5953 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
5954 reason, even in sync mode.
5955
251bde03
PA
59562014-05-29 Pedro Alves <palves@redhat.com>
5957 Hui Zhu <hui@codesourcery.com>
5958
5959 PR PR15693
5960 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
5961 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
5962 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
5963 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
5964
7f3c0343
JB
59652014-05-28 Joel Brobecker <brobecker@adacore.com>
5966
5967 * config/monitor.exp (gdb_target_monitor): Replace use of
5968 "set remotebaud" by "set serial baud".
5969
b2715b27
AW
59702014-05-26 Andy Wingo <wingo@igalia.com>
5971
5972 * gdb.guile/scm-breakpoint.exp:
5973 * gdb.guile/scm-gsmob.exp: Update to use plain old object
5974 properties instead of gdb-object-properties.
5975
498a4489
YQ
59762014-05-26 Yao Qi <yao@codesourcery.com>
5977
5978 * gdb.server/no-thread-db.exp: Specify source file name
5979 explicitly when setting a breakpoint.
5980
589fdceb
MM
59812014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5982
5983 * gdb.btrace/vdso.c: New.
5984 * gdb.btrace/vdso.exp: New.
5985
e9089e05
MM
59862014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5987
5988 * gdb.base/gcore.exp (capture_command_output): Move ...
5989 * lib/gdb.exp (capture_command_output): ... here.
5990
67b5c0c1
MM
59912014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5992
5993 * gdb.btrace/data.exp: Test memory access during btrace replay.
5994
a2199296
SM
59952014-05-22 Simon Marchi <simon.marchi@ericsson.com>
5996
5997 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
5998
17b2616c
PA
59992014-05-21 Pedro Alves <palves@redhat.com>
6000
6001 PR gdb/13860
6002 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6003 (top level): Test that output related to execution commands is
6004 sent to the console with CLI commands, but not with MI commands.
6005 Test that breakpoint events are always mirrored to the console.
6006 Also expect the new source line to be output after a "next" in
6007 async mode too. Make it a pass/fail test.
6008 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6009 output.
6010 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6011
5166082f
PA
60122014-05-21 Pedro Alves <palves@redhat.com>
6013
6014 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6015 Use them to test variations of "list" after reaching a breakpoint.
6016 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6017 Test "list" with listsize 10 after reaching a breakpoint.
6018 * gdb.python/python.exp (decode_line current location line
6019 number): Adjust expected line number.
6020
2f25d70f
SM
60212014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6022
6023 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6024 behavior for $args, pass it directly to "run".
6025
ff604a67
MR
60262014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6027
6028 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6029 30000 to 65536.
6030
6a3cb8e8
PA
60312014-05-21 Pedro Alves <palves@redhat.com>
6032
6033 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6034 auto-connect-native-target off".
6035 * gdb.base/auto-connect-native-target.c: New file.
6036 * gdb.base/auto-connect-native-target.exp: New file.
6037
4ebfc96e
PA
60382014-05-21 Pedro Alves <palves@redhat.com>
6039
6040 * gdb.base/default.exp: Test "target native" instead of "target
6041 child".
6042
36d46afb
MW
60432014-05-21 Mark Wielaard <mjw@redhat.com>
6044
6045 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6046
5876f503
JK
60472014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6048
6049 Fix TLS access for -static -pthread.
6050 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6051 <HAVE_TLS> (thread_function, main): Initialize it.
6052 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6053 Add clean_restart.
6054 <$have_tls != "">: Check TLSVAR.
6055
0256a6ac
PA
60562014-05-21 Pedro Alves <palves@redhat.com>
6057
6058 * gdb.base/dcache-line-read-error.c: New.
6059 * gdb.base/dcache-line-read-error.exp: New.
6060
936d2992
PA
60612014-05-20 Pedro Alves <palves@redhat.com>
6062
6063 * gdb.base/compare-sections.c: New file.
6064 * gdb.base/compare-sections.exp: New file.
6065
802e8e6d
PA
60662014-05-20 Pedro Alves <palves@redhat.com>
6067
6068 * gdb.base/break-idempotent.c: New file.
6069 * gdb.base/break-idempotent.exp: New file.
6070
e59fa00f
MM
60712014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6072
6073 * gdb.btrace/nohist.exp: New.
6074
8b696e31
YQ
60752014-05-20 Yao Qi <yao@codesourcery.com>
6076
6077 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6078 gdb.reverse directory and gdb_reverse_timeout exists in board
6079 setting.
6080 * README: Document gdb_reverse_timeout.
6081
73c9764f
YQ
60822014-05-20 Yao Qi <yao@codesourcery.com>
6083
6084 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6085 'test_file_name'. Treat args as a string instead of a list.
6086 (gdb_init): Rename argument 'args' by 'test_file_name'.
6087
f1f4348a
JK
60882014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6089
6090 * gdb.arch/powerpc-power.exp: New file.
6091 * gdb.arch/powerpc-power.s: New file.
6092
0dbe70ce
DE
60932014-05-16 Doug Evans <dje@google.com>
6094
6095 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
6096 * gdb.base/completion.exp: Check that all expected files exist
6097 before doing file completion.
0dbe70ce 6098
8d551b02
DE
60992014-05-16 Doug Evans <dje@google.com>
6100
6101 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6102 Update.
6103 (do_syscall_tests_without_xml): Update.
6104
73eb7709
PA
61052014-05-16 Pedro Alves <palves@redhat.com>
6106
6107 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6108 instead of "unknown output after running".
6109
3fae92fc
YQ
61102014-05-16 Yao Qi <yao@codesourcery.com>
6111
6112 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6113 file1.txt from host at the end.
6114 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6115
c2b2ccc5
DE
61162014-05-15 Doug Evans <dje@google.com>
6117
6118 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6119 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6120 loading file. Add test for TU lookup.
6121
8c217a4b
SM
61222014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6123
6124 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6125 calling "-exec-arguments" or "set args" before running the
6126 inferior.
6127
3deb39c6
SM
61282014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6129
6130 * lib/mi-support.exp (mi_expect_stop): Expect message for
6131 inferiors that exit with non-zero exit code.
6132
71a79f8c
YQ
61332014-05-14 Yao Qi <yao@codesourcery.com>
6134
6135 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6136 match absolute path on remote host.
6137 (test_file_list_exec_source_files): Remove "/" from the
6138 pattern.
6139
f23fcd46
YQ
61402014-05-14 Yao Qi <yao@codesourcery.com>
6141
6142 * boards/local-remote-host-notty.exp (${board}_file): New
6143 proc.
6144
9404b58f
KM
61452014-05-07 Kyle McMartin <kyle@redhat.com>
6146
6147 Pushed by Joel Brobecker <brobecker@adacore.com>.
6148 * gdb.arch/aarch64-atomic-inst.c: New file.
6149 * gdb.arch/aarch64-atomic-inst.exp: New file.
6150
5e45f04c
YQ
61512014-05-07 Yao Qi <yao@codesourcery.com>
6152
6153 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6154 in current context" too.
6155
c888a17d
KS
61562014-05-05 Keith Seitz <keiths@redhat.com>
6157
6158 * gdb.linespec/ls-dollar.exp: Add test for linespec
6159 file:convenience_variable.
6160
290a839c
YQ
61612014-05-05 Yao Qi <yao@codesourcery.com>
6162
6163 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6164 traceframes into tfile and ctf trace files. Read data from
6165 trace file and test collected data.
6166 (gdb_collect_locals_test): Likewise.
6167 (gdb_unavailable_registers_test): Likewise.
6168 (gdb_unavailable_floats): Likewise.
6169 (gdb_collect_globals_test): Likewise.
6170 (top-level): Append "ctf" to trace_file_targets if GDB
6171 supports.
6172
b5262cd0
YQ
61732014-05-05 Yao Qi <yao@codesourcery.com>
6174
6175 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6176 code to ...
6177 (gdb_collect_args_test_1): ... it. New proc.
6178 (gdb_collect_locals_test): Move some code to ...
6179 (gdb_collect_locals_test_1): ... it. New proc.
6180 (gdb_unavailable_registers_test): Move some code to ...
6181 (gdb_unavailable_registers_test_1): ... it. New proc.
6182 (gdb_unavailable_floats): Move some code to ...
6183 (gdb_unavailable_floats_1): ... it. New proc.
6184
30a1e6cc
SDJ
61852014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6186
6187 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6188 probes to test for bitness recognition.
6189 * gdb.arch/amd64-stap-optional-prefix.exp
6190 (test_probe_value_without_reg): New procedure.
6191 Add code to test for different kinds of bitness.
6192
f33da99a
SDJ
61932014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6194
6195 PR breakpoints/16889
6196 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6197 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6198
5b80f00d
PA
61992014-05-01 Pedro Alves <palves@redhat.com>
6200
6201 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6202 gdb_file_cmd if no file is specified.
6203 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6204 last_loaded_file to set the remote exec-file.
6205
f8c2a73c
PA
62062014-05-01 Pedro Alves <palves@redhat.com>
6207
6208 * boards/local-remote-host.exp: New file.
6209
be6e8ac7
PA
62102014-05-01 Pedro Alves <palves@redhat.com>
6211
6212 * boards/local-remote-host.exp: Rename to ...
6213 * boards/local-remote-host-notty.exp: ... this.
6214
cac0dc8f
JB
62152014-04-28 Joel Brobecker <brobecker@adacore.com>
6216
6217 * gdb.ada/dyn_arrayidx: New testcase.
6218
9730e6cc
YQ
62192014-04-26 Yao Qi <yao@codesourcery.com>
6220
6221 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6222 and compute the length of function main. Save it in
6223 $main_length.
6224 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6225 (top-level): Use gdb_compile to compile objects into
6226 executable and restart GDB. Remove invocation to
6227 prepare_for_testing.
6228
7ae1a6a6
PA
62292014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6230 Pedro Alves <palves@redhat.com>
6231
6232 PR server/16255
6233 * gdb.multi/multi-attach.c: New file.
6234 * gdb.multi/multi-attach.exp: New file.
6235
4082afcc
PA
62362014-04-25 Pedro Alves <palves@redhat.com>
6237
6238 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6239 user.
6240 (top level): Test that "set remote conditional-breakpoints-packet
6241 off" works as intended.
6242 * gdb.base/dprintf.exp: Test that "set remote
6243 breakpoint-commands-packet off" works as intended.
6244 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6245 New function.
6246 (top level): Call it.
6247 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6248 remote fast-tracepoints-packet off" works as intended.
6249 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6250 * lib/gdb.exp (gdb_is_target_remote): ... here.
6251
2abc3f8d
DB
62522014-04-24 David Blaikie <dblaikie@gmail.com>
6253
6254 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6255 ensure clang would not discard them.
6256 * gdb.base/gdbvars.c: Ditto.
6257 * gdb.base/memattr.c: Ditto.
6258 * gdb.base/whatis.c: Ditto.
6259 * gdb.python/py-prettyprint.c: Ditto.
6260 * gdb.trace/actions.c: Ditto.
6261 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6262 ensure clang would not discard it.
6263
bfd39632
DB
62642014-04-24 David Blaikie <dblaikie@gmail.com>
6265
6266 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6267 clang to emit the full definition of type required by the test
6268 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6269
22842ff6
DB
62702014-04-24 David Blaikie <dblaikie@gmail.com>
6271
6272 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6273 coax Clang into emitting the definition of the type.
6274 * gdb.cp/pr10728-x.h (y): Ditto.
6275 * gdb.cp/pr10728-y.cc (y): Ditto.
6276
c2e827ad
DB
62772014-04-24 David Blaikie <dblaikie@gmail.com>
6278
6279 * gdb.base/label.exp: XFAIL label related tests under Clang.
6280 * gdb.cp/cplabel.exp: Ditto.
6281 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6282 under Clang those using labels.
6283
4c2d33e7
YQ
62842014-04-25 Yao Qi <yao@codesourcery.com>
6285
6286 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6287 double_label.
6288 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6289 partial_label and double_label.
6290
56083b99
DB
62912014-04-24 David Blaikie <dblaikie@gmail.com>
6292
6293 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6294
25d4e99d
DB
62952014-04-24 David Blaikie <dblaikie@gmail.com>
6296
6297 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6298 of the function to work across GCC and Clang.
6299 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6300 pointer types (const void ** const V void **).
6301
01f9f808
MS
63022014-04-24 Michael Sturm <michael.sturm@mintel.com>
6303 Walfred Tedeschi <walfred.tedeschi@intel.com>
6304
6305 * Makefile.in (EXECUTABLES): Added i386-avx512.
6306 * gdb.arch/i386-avx512.c: New file.
6307 * gdb.arch/i386-avx512.exp: Likewise.
6308
4b48d439
KS
63092014-04-23 Keith Seitz <keiths@redhat.com>
6310
6311 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6312 (mi_make_breakpoint_table): New procedure.
6313 (mi_create_breakpoint): Use mi_make_breakpoint
6314 and return the result.
6315 (mi_make_breakpoint): New procedure.
6316 (mi_build_kv_pairs): New procedure.
6317
6318 * gdb.mi/mi-break.exp: Remove unused globals,
6319 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6320 All callers updated.
6321 * gdb.mi/mi-dprintf.exp: Use variable to track command
6322 number.
6323 Update all callers of mi_create_breakpoint and use
6324 mi_make_breakpoint_table.
6325 Remove any unused global variables.
6326 * gdb.mi/mi-nonstop.exp: Likewise.
6327 * gdb.mi/mi-nsintrall.exp: Likewise.
6328 * gdb.mi/mi-nsmoribund.exp: Likewise.
6329 * gdb.mi/mi-nsthrexec.exp: Likewise.
6330 * gdb.mi/mi-reverse.exp: Likewise.
6331 * gdb.mi/mi-simplerun.exp: Likewise.
6332 * gdb.mi/mi-stepn.exp: Likewise.
6333 * gdb.mi/mi-syn-frame.exp: Likewise.
6334 * gdb.mi/mi-until.exp: Likewise.
6335 * gdb.mi/mi-var-cp.exp: Likewise.
6336 * gdb.mi/mi-var-display.exp: Likewise.
6337 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6338 * gdb.mi/mi2-var-child.exp: Likewise.
6339 * gdb.mi/mi-vla-c99.exp: Likewise.
6340 * lib/mi-support.exp: Likewise.
6341
6342 From Ian Lance Taylor <iant@cygnus.com>:
6343 * lib/gdb.exp (parse_args): New procedure.
6344
08351840
PA
63452014-04-23 Pedro Alves <palves@redhat.com>
6346
6347 * gdb.base/break-unload-file.c: New file.
6348 * gdb.base/break-unload-file.exp: New file.
6349 * gdb.base/sym-file-lib.c (baz): New function.
6350 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6351 field.
6352 (load): Store the segment's mapped size.
6353 (unload): New function.
6354 (unload_shlib): New function.
6355 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6356 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6357 set a breakpoint at baz, and call it.
6358 * gdb.base/sym-file.exp: New tests for stale breakpoint
6359 instructions.
6360
076855f9
PA
63612014-04-23 Pedro Alves <palves@redhat.com>
6362
6363 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6364 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6365 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6366 * gdb.base/hbreak-unmapped.c: New file.
6367 * gdb.base/hbreak-unmapped.exp: New file.
6368 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6369 * lib/gdb.exp (gdb_is_target_remote): ... here.
6370
483805cf
PA
63712014-04-22 Pedro Alves <palves@redhat.com>
6372
6373 * gdb.base/consecutive-step-over.c: New file.
6374 * gdb.base/consecutive-step-over.exp: New file.
6375
06d97543
PA
63762014-04-22 Pedro Alves <palves@redhat.com>
6377
6378 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6379 instead of send_gdb/gdb_expect.
6380
b4429ea2
YQ
63812014-04-22 Yao Qi <yao@codesourcery.com>
6382
6383 * lib/trace-support.exp (generate_tracefile): New procedure.
6384 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6385 return 0.
6386 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6387 if generate_tracefile returns 1.
6388
51d48146
PA
63892014-04-18 Tom Tromey <palves@redhat.com>
6390 Pedro alves <tromey@redhat.com>
6391
6392 PR backtrace/15558
6393 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6394 with a backtrace limit.
6395 * gdb.python/py-frame-inline.exp: Test running to an inline
6396 function with a backtrace limit, and printing the newest frame.
6397 * gdb.python/py-frame-inline.c (main): Call f.
6398
bd1dce5f
MS
63992014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6400
6401 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6402
40d1a503
MS
64032014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6404
6405 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6406 Drop prefix from unsupported source file path.
6407
389b98f7
YQ
64082014-04-17 Yao Qi <yao@codesourcery.com>
6409
6410 * lib/gdb.exp (with_target_charset): New proc.
6411 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6412 with_target_charset.
6413 (test_print_strings): Likewise.
6414 (test_repeat_bytes): Likewise.
6415 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6416 for some tests.
6417
22869d73
KS
64182014-04-16 Keith Seitz <keiths@redhat.com>
6419
6420 PR gdb/15827
6421 * gdb.dwarf2/corrupt.c: New file.
6422 * gdb.dwarf2/corrupt.exp: New file.
6423
c4f87ca6
KS
64242014-04-16 Keith Seitz <keiths@redhat.com>
6425
6426 PR c++/16597
6427 * gdb.cp/namelessclass.cc: New file.
6428 * gdb.cp/namelessclass.exp: New file.
6429 * gdb.cp/namelessclass.S: New file.
6430
ab19de87
DE
64312014-04-16 Doug Evans <dje@google.com>
6432
6433 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6434 Add comment.
6435 (gdbserver_default_get_comm_port): New function.
6436 (gdbserver_start): Check if board file provided
6437 "gdbserver,get_comm_port" and use it if so.
6438 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6439 (gdb,socketport): Set to "stdio".
6440 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6441 (stdio_gdbserver_template): Delete.
6442 (${board}_get_remote_address): Update.
6443 (${board}_build_remote_cmd): Delete.
6444 (${board}_get_comm_port): New function.
6445 (${board}_spawn): Update.
6446 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6447 Delete.
6448 (${board}_get_remote_address): Update.
6449 (${board}_get_comm_port): New function.
6450
fc98a809
AB
64512014-04-16 Andrew Burgess <aburgess@broadcom.com>
6452
6453 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6454 appearing in any order.
6455
87fd9e6e
DE
64562014-04-15 Doug Evans <dje@google.com>
6457
6458 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6459 uninitialized value of "description".
6460
099fc3ea
KS
64612014-04-15 Keith Seitz <keiths@redhat.com>
6462
6463 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6464 Remove unused globals.
6465 (test_running_the_program): Likewise.
6466 (test_controlled_execution): Likewise.
6467 (test_controlling_breakpoints): Likewise.
6468 (test_program_termination): Likewise.
6469
5da151d4
KS
64702014-04-15 Keith Seitz <keiths@redhat.com>
6471
6472 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6473 unused globals.
6474 (test_rbreak_creation_and_listing): Likewise.
6475 (test_ignore_count): Likewise.
6476 (test_error): Likewise.
6477
35e5d2f0
PA
64782014-04-15 Pedro Alves <palves@redhat.com>
6479
6480 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6481 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6482 sym-file-loader.c.
6483 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6484 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6485 to sym-file-loader.c.
6486 (struct library): Forward declare.
6487 (load_shlib, lookup_function): Change prototypes.
6488 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6489 (translate_offset): Remove declarations.
6490 (get_text_addr): New declaration.
6491 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
6492 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
6493 sym-file-loader.h.
6494 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6495 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6496 here from sym-file-loader.h.
6497 (struct library): New structure.
6498 (load_shlib, lookup_function): Change prototypes and adjust to
6499 work with a struct library.
6500 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6501 (translate_offset): Make static.
6502 (get_text_addr): New function.
6503 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
6504
eb4c1710
PA
65052014-04-15 Pedro Alves <palves@redhat.com>
6506
6507 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
6508
2d1baf52
PA
65092014-04-15 Pedro Alves <palves@redhat.com>
6510
6511 * gdb.base/sym-file-loader.c: Include <limits.h>.
6512 (SELF_LINK): New define.
6513 (get_origin): New function.
6514 (load_shlib): Use it.
6515 * gdb.base/sym-file.exp: Don't early return if the target is
6516 remote. Use runto_main, and issue fail is that fails. Use
6517 gdb_load_shlibs.
6518 (shlib_name): Delete.
6519 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
6520
7dd6df01
PA
65212014-04-15 Pedro Alves <palves@redhat.com>
6522
6523 * gdb.base/sym-file.exp: Remove regex characters from test
6524 message. Don't refer to breakpoint numbers in test messages.
6525
b50c8614
KS
65262014-04-14 Keith Seitz <keiths@redhat.com>
6527
6528 PR c++/16253
6529 * gdb.cp/var-tag.cc: New file.
6530 * gdb.cp/var-tag.exp: New file.
6531 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6532 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6533 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6534 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6535
3d567982
TT
65362014-04-14 Tom Tromey <tromey@redhat.com>
6537
6538 * gdb.cp/classes.exp (test_enums): Handle underlying type.
6539 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
6540 type.
6541 * gdb.cp/enum-class.exp: New file.
6542 * gdb.cp/enum-class.cc: New file.
6543
0626fc76
TT
65442014-04-14 Tom Tromey <tromey@redhat.com>
6545
6546 * gdb.dwarf2/enum-type.exp: New file.
6547
dca325b3
SA
65482014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6549
6550 * gdb.mi/mi-vla-c99.exp: New file.
6551 * gdb.mi/vla.c: New file.
6552
5854b38a
SA
65532014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6554
6555 * gdb.base/vla-datatypes.c: New file.
6556 * gdb.base/vla-datatypes.exp: New file.
6557
463bb957
SA
65582014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6559
6560 * gdb.base/vla-ptr.c: New file.
6561 * gdb.base/vla-ptr.exp: New file.
6562
3dd170be
SA
65632014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6564
6565 * gdb.dwarf2/count.exp: New file.
6566
5ecaaa66
SA
65672014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6568
6569 * gdb.base/vla-sideeffect.c: New file.
6570 * gdb.base/vla-sideeffect.exp: New file.
6571
41f1ada5
DB
65722014-04-14 David Blaikie <dblaikie@gmail.com>
6573
6574 * gdb.mi/non-stop.c: Add return value for non-void function return
6575 statement.
6576 * gdb.threads/staticthreads.c: Ditto.
6577
0be03e84
DE
65782014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6579 Doug Evans <xdje42@gmail.com>
6580
6581 * gdb.guile/scm-value.c: Improve test case.
6582 * gdb.guile/scm-value.exp: Add new test.
6583
f180a1fb
DB
65842014-04-11 David Blaikie <dblaikie@gmail.com>
6585
6586 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
6587 override Clang's default.
6588
6b662e19
JB
65892014-04-11 Joel Brobecker <brobecker@adacore.com>
6590
6591 Revert the following changes (regressions):
6592
6593 * gdb.base/vla-sideeffect.c: New file.
6594 * gdb.base/vla-sideeffect.exp: New file.
6595
6596 * gdb.dwarf2/count.exp: New file.
6597
6598 * gdb.base/vla-multi.c: New file.
6599 * gdb.base/vla-multi.exp: New file.
6600
6601 * gdb.base/vla-ptr.c: New file.
6602 * gdb.base/vla-ptr.exp: New file.
6603
6604 * gdb.base/vla-datatypes.c: New file.
6605 * gdb.base/vla-datatypes.exp: New file.
6606
6607 * gdb.mi/mi-vla-c99.exp: New file.
6608 * gdb.mi/vla.c: New file.
6609
245a5f0b
KS
66102014-04-11 Keith Seitz <keiths@redhat.com>
6611
6612 PR c++/16675
6613 * gdb.cp/cpsizeof.exp: New file.
6614 * gdb.cp/cpsizeof.cc: New file.
6615
58a84dcf
SA
66162014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6617
191a8a90
JB
6618 * gdb.mi/mi-vla-c99.exp: New file.
6619 * gdb.mi/vla.c: New file.
58a84dcf 6620
c8655f75
SA
66212014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6622
6623 * gdb.base/vla-datatypes.c: New file.
6624 * gdb.base/vla-datatypes.exp: New file.
6625
024e13b4
SA
66262014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6627
6628 * gdb.base/vla-ptr.c: New file.
6629 * gdb.base/vla-ptr.exp: New file.
6630
1a237e0e
SA
66312014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6632
6633 * gdb.base/vla-multi.c: New file.
6634 * gdb.base/vla-multi.exp: New file.
6635
504f3432
SA
66362014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6637
6638 * gdb.dwarf2/count.exp: New file.
6639
3bce8237
SA
66402014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6641
191a8a90
JB
6642 * gdb.base/vla-sideeffect.c: New file.
6643 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 6644
322f9c21
YQ
66452014-04-11 Yao Qi <yao@codesourcery.com>
6646
6647 * gdb.base/completion.exp: Check file exists before running tests
6648 on file completion.
6649
d708bcd1
PA
66502014-04-10 Pedro Alves <palves@redhat.com>
6651
6652 * gdb.base/cond-eval-mode.c: New file.
6653 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
6654 prepare_for_testing to build the new file. Check result of
6655 runto_main.
6656 (test_break, test_watch): New procedures.
6657 (top level): Use them.
6658
ae1d2761
PM
66592014-04-08 Pierre Muller <muller@sourceware.org>
6660
6661 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
6662 Ctrl-V use for mingw hosts.
6663
7af389b8
SC
66642014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6665
6666 * gdb.python/py-value.c: Improve test case.
6667 * gdb.python/py-value.exp: Add new test.
6668
5e703181
DE
66692014-04-07 David Blaikie <dblaikie@gmail.com>
6670
6671 * lib/compiler.c: Identify the clang compiler.
6672 * lib/compiler.cc: Ditto.
6673
9810b410
YQ
66742014-04-03 Yao Qi <yao@codesourcery.com>
6675
6676 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
6677
98d1b8dc
AB
66782014-04-01 Anton Blanchard <anton@samba.org>
6679
6680 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
6681 messages unique.
6682
3114cea1
AB
66832014-04-01 Anton Blanchard <anton@samba.org>
6684
6685 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
6686 prepare_for_testing.
6687
62f7182c
AB
66882014-04-01 Anton Blanchard <anton@samba.org>
6689
6690 * gdb.arch/ppc64-atomic-inst.c: Remove.
6691 * gdb.arch/ppc64-atomic-inst.S: New file.
6692 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
6693
770e7fc7
DE
66942014-03-31 Doug Evans <dje@google.com>
6695
6696 * gdb.base/print-symbol-loading-lib.c: New file.
6697 * gdb.base/print-symbol-loading-main.c: New file.
6698 * gdb.base/print-symbol-loading.exp: New file.
6699
46e2bafa
YQ
67002014-03-31 Yao Qi <yao@codesourcery.com>
6701
6702 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
6703
8776cfe9
JB
67042014-03-28 Joel Brobecker <brobecker@adacore.com>
6705
6706 * gdb.ada/mi_dyn_arr: New testcase.
6707
5d1ef361
DE
67082014-03-27 Doug Evans <dje@google.com>
6709
6710 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
6711
b5bee914
YQ
67122014-03-27 Yao Qi <yao@codesourcery.com>
6713
6714 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
6715 if target is nios2-*-*.
6716
0d4d0e77
YQ
67172014-03-26 Yao Qi <yao@codesourcery.com>
6718
6719 * lib/gdb.exp (readline_is_used): New proc.
6720 * gdb.base/completion.exp: Move tests on command complete up.
6721 Skip the rest of tests if readline is not used.
6722 * gdb.ada/complete.exp: Skp the test if readline is not
6723 used.
6724 * gdb.base/filesym.exp: Likewise.
6725 * gdb.base/macscp.exp: Likewise.
6726 * gdb.base/readline-ask.exp: Likewise.
6727 * gdb.base/readline.exp: Likewise.
6728 * gdb.python/py-cmd.exp: Likewise.
6729 * gdb.trace/tfile.exp: Likewise.
6730
29361eee
YQ
67312014-03-26 Yao Qi <yao@codesourcery.com>
6732
6733 * gdb.base/macscp.exp: Fix code format issues.
6734
bc9a5525
UW
67352014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
6736
6737 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
6738 * gdb.asm/powerpc64le.inc: New file.
6739
d3839ede
PA
67402014-03-25 Pedro Alves <palves@redhat.com>
6741 Doug Evans <dje@google.com>
6742
6743 * gdb.base/source-execution.c: New file.
6744 * gdb.base/source-execution.exp: New file.
6745 * gdb.base/source-execution.gdb: New file.
6746
01672a57
DE
67472014-03-24 Doug Evans <dje@google.com>
6748
6749 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
6750 using fission.
6751
88bbeca9
HZ
67522014-03-24 Hui Zhu <hui@codesourcery.com>
6753 Pedro Alves <palves@redhat.com>
6754
6755 PR breakpoints/16101
6756 * gdb.base/dprintf.exp: Use unsupported rather than changing the
6757 test pass/fail messages. Detect missing support for dprintf when
6758 breakpoints are actually inserted.
6759 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
6760 breakpoints are actually inserted.
6761 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
6762 fails.
6763
d2348791
JK
67642014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6765
6766 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
6767
feef67ab
DE
67682014-03-22 Doug Evans <xdje42@gmail.com>
6769
6770 * gdb.python/python.exp (python not supported): Verify multi-line
6771 python command issues an error.
25d743f9 6772 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 6773 guile command issues an error.
feef67ab 6774
ecebef6a
MR
67752014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
6776
6777 * gdb.threads/thread-specific.exp: Handle the lack of usable
6778 $this_breakpoint and $this_thread.
6779
ccdd1909
HZ
67802014-03-21 Hui Zhu <hui@codesourcery.com>
6781
6782 * gdb.base/attach.exp (do_command_attach_tests): New.
6783
beb460e8
PA
67842014-03-20 Tom Tromey <tromey@redhat.com>
6785 Pedro Alves <palves@redhat.com>
6786
6787 PR cli/15718
6788 * gdb.base/condbreak-call-false.c: New file.
6789 * gdb.base/condbreak-call-false.exp: New file.
6790
40acf43a
PA
67912014-03-20 Pedro Alves <palves@redhat.com>
6792
6793 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
6794 Delete.
6795 (block_signals, unblock_signals): Delete.
6796 (child_function_2, main): Remove references to deleted variable
6797 and functions.
6798
9f5e1e02
PA
67992014-03-20 Pedro Alves <palves@redhat.com>
6800
6801 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
6802 Use pthread_kill to signal thread 2.
6803 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6804 Adjust to make the test send itself a signal rather than using the
6805 host's "kill" command.
6806
99619bea
PA
68072014-03-20 Pedro Alves <palves@redhat.com>
6808
6809 * gdb.threads/multiple-step-overs.c: New file.
6810 * gdb.threads/multiple-step-overs.exp: New file.
6811 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6812 Adjust expected infrun debug output.
6813
2adfaa28
PA
68142014-03-20 Pedro Alves <palves@redhat.com>
6815
6816 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
6817 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
6818
31e77af2
PA
68192014-03-20 Pedro Alves <palves@redhat.com>
6820
6821 PR breakpoints/7143
6822 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
6823 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
6824 of gdb_test_multiple.
6825 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
6826 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
6827
b9f437de
PA
68282014-03-20 Pedro Alves <palves@redhat.com>
6829
6830 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
6831 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
6832
05adc73e
PA
68332014-03-19 Pedro Alves <palves@redhat.com>
6834
6835 * gdb.base/async.exp: Remove early return.
6836
6048b950
PA
68372014-03-19 Pedro Alves <palves@redhat.com>
6838
6839 * gdb.base/async.exp (step& tests): Pass explicit test messages.
6840
8bcfb00a
PA
68412014-03-19 Pedro Alves <palves@redhat.com>
6842
6843 * gdb.base/async.exp (test_background): Expect \r\n after
6844 "completed." in the fail pattern.
6845
884e37dc
PA
68462014-03-19 Pedro Alves <palves@redhat.com>
6847
6848 * gdb.base/async.exp (test_background): New procedure.
6849 Use it for all background execution command tests.
6850
148e57e2
PA
68512014-03-19 Pedro Alves <palves@redhat.com>
6852
6853 * gdb.base/async.exp: Use prepare_for_testing.
6854
f48088c7
PA
68552014-03-19 Pedro Alves <palves@redhat.com>
6856
6857 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
6858 the same line.
6859
e2f6c966
PA
68602014-03-19 Pedro Alves <palves@redhat.com>
6861
6862 * gdb.base/async.c (main): Add "jump here" and "until here" line
6863 marker comments.
6864 * gdb.base/async.exp (jump_here): New global.
6865 (jump& test): Use it.
6866 (until_here): New global.
6867 (until& test): Use it.
6868
c30568d4
PA
68692014-03-19 Pedro Alves <palves@redhat.com>
6870
6871 * gdb.base/async.exp: Don't frob gdb_protocol.
6872
0172b6a7
DE
68732014-03-18 Doug Evans <xdje42@gmail.com>
6874
6875 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
6876 Fix spelling of exec-done-display.
6877
06c868a8
JK
68782014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6879
6880 PR gdb/15358
6881 * gdb.base/gdb-sigterm.c: New file.
6882 * gdb.base/gdb-sigterm.exp: New file.
6883
0c7e1a46
PA
68842014-03-18 Pedro Alves <palves@redhat.com>
6885
6886 PR gdb/13860
6887 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
6888 * lib/mi-support.exp (mi_expect_stop): Add special handling for
6889 solib-event.
6890
f7c77d93
JB
68912014-03-17 Joel Brobecker <brobecker@adacore.com>
6892
6893 * gdb.ada/pckd_arr_ren: New testcase.
6894
5a1e8c7a
DE
68952014-03-13 Doug Evans <xdje42@gmail.com>
6896
6897 PR guile/16612
6898 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
6899 collect after discarding symbols.
6900
350e1a76
DE
69012014-03-13 Ludovic Courtès <ludo@gnu.org>
6902 Doug Evans <xdje42@gmail.com>
6903
6904 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
6905 to history survives a gc.
6906
a69900ae
PA
69072014-03-13 Pedro Alves <palves@redhat.com>
6908
6909 * gdb.base/default.exp: Don't test "target procfs".
6910
5db9f0bd
PA
69112014-03-13 Pedro Alves <palves@redhat.com>
6912
6913 * gdb.base/default.exp: Update "target child" and "target procfs"
6914 tests to not expect "Unix".
6915
b3ccfe11
TT
69162014-03-12 Tom Tromey <tromey@redhat.com>
6917
6918 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
6919 New procs. Add target-async tests.
6920 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
6921 Add target-async tests.
6922
646f4417
AA
69232014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6924
6925 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
6926 'func_start' and 'func_end' for the beginning and end of the
6927 function code, respectively.
6928 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
6929 'func_end' instead of 'func' and 'main'.
6930
288c211f
AA
69312014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6932
6933 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
6934 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
6935 generate the debug info assembler source.
6936
e0c0f156
AA
69372014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6938
6939 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
6940 * gdb.dwarf2/arr-subrange.exp: Likewise.
6941 * gdb.dwarf2/dwz.exp: Likewise.
6942 * gdb.dwarf2/method-ptr.exp: Likewise.
6943 * gdb.dwarf2/missing-sig-type.exp: Likewise.
6944 * gdb.dwarf2/subrange.exp: Likewise.
6945 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
6946 * gdb.dwarf2/implptrpiece.exp: Likewise.
6947 * gdb.dwarf2/nostaticblock.exp: Likewise.
6948
0e5c4555
AA
69492014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6950
6951 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
6952 directory to absolute path name arguments.
6953
5ec18f2b
JG
69542014-03-10 Joel Brobecker <brobecker@adacore.com>
6955
6956 * gdb.ada/tagged_access: New testcase.
6957
847fc4f2
MM
69582014-03-07 Markus Metzger <markus.t.metzger@intel.com>
6959
6960 * gdb.btrace/data.exp: Update expected output.
6961
cc3da688
YQ
69622014-03-06 Yao Qi <yao@codesourcery.com>
6963
6964 * gdb.trace/pr16508.exp: New file.
6965
0f26cec1
PA
69662014-03-05 Pedro Alves <palves@redhat.com>
6967
6968 PR gdb/16575
6969 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
6970 procedure.
6971 (top level): Adjust to use it. Add tests that exercise breakpoint
6972 interaction with the code-cache.
6973
7a5a839f
LC
69742014-02-26 Ludovic Courtès <ludo@gnu.org>
6975
6976 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
6977 test for 'history-append!'.
6978
31aa7e4e
JB
69792014-02-26 Joel Brobecker <brobecker@adacore.com>
6980
6981 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
6982 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
6983 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
6984 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
6985 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
6986 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
6987
1b588015
JB
69882014-02-26 Joel Brobecker <brobecker@adacore.com>
6989
6990 * testsuite/gdb.python/py-pp-re-notag.c: New file.
6991 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
6992 * testsuite/gdb.python/py-pp-re-notag.p: New file.
6993
55426c9d
JB
69942014-02-26 Joel Brobecker <brobecker@adacore.com>
6995
6996 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
6997
dc53a7ad
JB
69982014-02-26 Joel Brobecker <brobecker@adacore.com>
6999
7000 * gdb.dwarf2/arr-stride.c: New file.
7001 * gdb.dwarf2/arr-stride.exp: New file.
7002
12ab52e9
PA
70032014-02-26 Pedro Alves <palves@redhat.com>
7004
7005 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7006 that won't ever trigger. Make sure that GDB reports the correct
7007 breakpoint that caused the stop.
7008
849c862e
JK
70092014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7010
7011 PR gdb/16626
7012 * gdb.base/auto-load-script: New file.
7013 * gdb.base/auto-load.c: New file.
7014 * gdb.base/auto-load.exp: New file.
7015
71b7d793
JK
7016 PR gdb/16626
7017 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7018
e2f0d509
JK
70192014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7020
7021 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7022 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7023
50cc37c8
DE
70242014-02-24 Doug Evans <dje@google.com>
7025
7026 * lib/gdb.exp (run_on_host): Log error output if program fails.
7027
ea4758f2
PA
70282014-02-21 Pedro Alves <palves@redhat.com>
7029
7030 * gdb.threads/step-after-sr-lock.c: Rename to ...
7031 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7032 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7033 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7034 ... this.
7035
d7b30f67
SDJ
70362014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7037
7038 PR tdep/16397
7039 * gdb.arch/amd64-stap-special-operands.exp: New file.
7040 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7041 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7042 * gdb.arch/amd64-stap-triplet.S: Likewise.
7043 * gdb.arch/amd64-stap-triplet.c: Likewise.
7044
83deb43f
JB
70452014-02-20 Joel Brobecker <brobecker@adacore.com>
7046
7047 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7048 in .section pseudo-op.
7049
adde2bff
DE
70502014-02-20 lin zuojian <manjian2006@gmail.com>
7051 Joel Brobecker <brobecker@adacore.com>
7052 Doug Evans <xdje42@gmail.com>
7053
7054 PR symtab/16581
7055 * gdb.dwarf2/dw2-icycle.S: New file.
7056 * gdb.dwarf2/dw2-icycle.c: New file.
7057 * gdb.dwarf2/dw2-icycle.exp: New file.
7058
f7bd0f78
SC
70592014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7060
7061 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7062 operations on gdb.Value objects.
7063 * gdb.python/py-value-cc.exp: Add new test to test operations on
7064 gdb.Value objects.
7065
c17ef0d5
DE
70662014-02-18 Doug Evans <dje@google.com>
7067
7068 * Makefile.in (TESTS): New variable.
7069 (expanded_tests, expanded_tests_or_none): New variables
7070 (check-single): Pass $(expanded_tests_or_none) to runtest.
7071 (check-parallel): Only run tests in $(TESTS) if non-empty.
7072 (check/no-matching-tests-found): New rule.
7073 * README: Document TESTS makefile variable.
7074
5dd3176f
DE
70752014-02-18 Doug Evans <dje@google.com>
7076
7077 * Makefile.in (check-parallel): rm -rf outputs temp.
7078
0b10be4f
JK
70792014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7080
7081 Fix "ERROR: no fileid for" in the testsuite.
7082 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7083
85f224e7
DE
70842014-02-12 Doug Evans <dje@google.com>
7085
7086 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7087 (MISCELLANEOUS): New variable.
7088 (clean): rm -rf $(MISCELLANEOUS).
7089 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7090 dwp live in the same directory as symlinks, with each symlink pointed
7091 to a differently named file in a different directory.
7092
149b30ff
DE
70932014-02-11 Doug Evans <dje@google.com>
7094
7095 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7096 of Tcl file commands.
7097
1dfdac32
MK
70982014-02-10 Mark Kettenis <kettenis@gnu.org>
7099
7100 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7101 "kill -SIGUSR1 -1".
7102
aa4fb036
JB
71032014-02-10 Joel Brobecker <brobecker@adacore.com>
7104
7105 * gdb.ada/tick_length_array_enum_idx: New testcase.
7106
ed3ef339
DE
71072014-02-10 Doug Evans <xdje42@gmail.com>
7108
7109 * configure.ac (AC_OUTPUT): Add gdb.guile.
7110 * configure: Regenerate.
7111 * lib/gdb-guile.exp: New file.
7112 * lib/gdb.exp (get_target_charset): New function.
7113 * gdb.base/help.exp: Update expected output from "apropos apropos".
7114 * gdb.guile/Makefile.in: New file.
7115 * gdb.guile/guile.exp: New file.
7116 * gdb.guile/scm-arch.c: New file.
7117 * gdb.guile/scm-arch.exp: New file.
7118 * gdb.guile/scm-block.c: New file.
7119 * gdb.guile/scm-block.exp: New file.
7120 * gdb.guile/scm-breakpoint.c: New file.
7121 * gdb.guile/scm-breakpoint.exp: New file.
7122 * gdb.guile/scm-disasm.c: New file.
7123 * gdb.guile/scm-disasm.exp: New file.
7124 * gdb.guile/scm-equal.c: New file.
7125 * gdb.guile/scm-equal.exp: New file.
7126 * gdb.guile/scm-error.exp: New file.
7127 * gdb.guile/scm-error.scm: New file.
7128 * gdb.guile/scm-frame-args.c: New file.
7129 * gdb.guile/scm-frame-args.exp: New file.
7130 * gdb.guile/scm-frame-args.scm: New file.
7131 * gdb.guile/scm-frame-inline.c: New file.
7132 * gdb.guile/scm-frame-inline.exp: New file.
7133 * gdb.guile/scm-frame.c: New file.
7134 * gdb.guile/scm-frame.exp: New file.
7135 * gdb.guile/scm-generics.exp: New file.
7136 * gdb.guile/scm-gsmob.exp: New file.
7137 * gdb.guile/scm-iterator.c: New file.
7138 * gdb.guile/scm-iterator.exp: New file.
7139 * gdb.guile/scm-math.c: New file.
7140 * gdb.guile/scm-math.exp: New file.
7141 * gdb.guile/scm-objfile-script-gdb.in: New file.
7142 * gdb.guile/scm-objfile-script.c: New file.
7143 * gdb.guile/scm-objfile-script.exp: New file.
7144 * gdb.guile/scm-objfile.c: New file.
7145 * gdb.guile/scm-objfile.exp: New file.
7146 * gdb.guile/scm-ports.exp: New file.
7147 * gdb.guile/scm-pretty-print.c: New file.
7148 * gdb.guile/scm-pretty-print.exp: New file.
7149 * gdb.guile/scm-pretty-print.scm: New file.
7150 * gdb.guile/scm-section-script.c: New file.
7151 * gdb.guile/scm-section-script.exp: New file.
7152 * gdb.guile/scm-section-script.scm: New file.
7153 * gdb.guile/scm-symbol.c: New file.
7154 * gdb.guile/scm-symbol.exp: New file.
7155 * gdb.guile/scm-symtab-2.c: New file.
7156 * gdb.guile/scm-symtab.c: New file.
7157 * gdb.guile/scm-symtab.exp: New file.
7158 * gdb.guile/scm-type.c: New file.
7159 * gdb.guile/scm-type.exp: New file.
7160 * gdb.guile/scm-value-cc.cc: New file.
7161 * gdb.guile/scm-value-cc.exp: New file.
7162 * gdb.guile/scm-value.c: New file.
7163 * gdb.guile/scm-value.exp: New file.
7164 * gdb.guile/source2.scm: New file.
7165 * gdb.guile/types-module.cc: New file.
7166 * gdb.guile/types-module.exp: New file.
7167
7026a7c1
YQ
71682014-02-10 Yao Qi <yao@codesourcery.com>
7169
7170 PR testsuite/16543
7171 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7172 * configure: Regenerated.
7173 * Makefile.in: New file.
7174
6c466447
AS
71752014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7176
7177 * gdb.python/py-framefilter.exp: Fix typo.
7178
6e854735
YQ
71792014-02-08 Yao Qi <yao@codesourcery.com>
7180
7181 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7182 that no =breakpoint-modified is emitted when breakpoints are
7183 modified through MI commands.
7184
d137e6dc
PA
71852014-02-07 Pedro Alves <pedro@codesourcery.com>
7186 Pedro Alves <palves@redhat.com>
7187
7188 * gdb.threads/step-after-sr-lock.c: New file.
7189 * gdb.threads/step-after-sr-lock.exp: New file.
7190
b5ee5a50
PA
71912014-02-07 Pedro Alves <palves@redhat.com>
7192
7193 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7194
3c77faf3
JK
71952014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7196
7197 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7198 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7199
6dddc817
DE
72002014-02-06 Doug Evans <xdje42@gmail.com>
7201
7202 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7203 output.
7204
7205 * gdb.gdb/python-interrupts.exp: New file.
7206
de7b2893
YQ
72072014-02-05 Yao Qi <yao@codesourcery.com>
7208
7209 * gdb.trace/report.exp (use_collected_data): Test the output
7210 of "info threads" and "info inferiors".
7211
66d032ac
YQ
72122014-02-05 Yao Qi <yao@codesourcery.com>
7213
7214 Revert this patch:
7215
7216 2013-05-24 Yao Qi <yao@codesourcery.com>
7217
7218 * gdb.trace/tfile.exp: Test inferior and thread.
7219
591a12a1
UW
72202014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7221
7222 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7223 on a function.
7224 * gdb.base/step-bt.c: Call hello via function pointer to make
7225 sure its first instruction is executed on powerpc64le-linux.
7226
0ff3e01f
UW
72272014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7228
7229 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7230
084ee545
UW
72312014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7232
7233 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7234 of the test patterns for use on little-endian systems.
7235
6ed14ff3
UW
72362014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7237
7238 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7239 (decimal_vector): Fix for little-endian.
7240
401e27fd
JM
72412014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7242
7243 * gdb.arch/sparc-sysstep.exp: New file.
7244 * gdb.arch/sparc-sysstep.c: Likewise.
7245
7246 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7247
8b924729
EBM
72482014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7249
7250 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7251
fb151210
JB
72522014-01-23 Tom Tromey <tromey@redhat.com>
7253
7254 * gdb.ada/array_char_idx: New testcase.
7255
0740f8d8
TT
72562014-01-23 Tom Tromey <tromey@redhat.com>
7257
7258 PR python/16487:
7259 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7260 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7261 classes.
7262
21909fa1
TT
72632014-01-23 Tom Tromey <tromey@redhat.com>
7264
7265 PR python/16491:
7266 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7267 string from an inferior frame.
7268 * gdb.python/py-framefilter-mi.exp: Update.
7269
87ce2a04
DE
72702014-01-22 Doug Evans <dje@google.com>
7271
7272 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7273
237b092b
AA
72742014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7275
7276 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7277
d674a709
AA
72782014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7279
7280 * gdb.trace/entry-values.exp: Remove excess space character from
7281 regex patterns. Handle s390 call instruction.
7282
20fa3390
AA
72832014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7284
7285 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7286 define "*_start" label. Make "name" static.
7287 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7288 ${name} by references to ${name}_start.
7289
78466714
AA
72902014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7291
7292 * gdb.base/info-macros.exp: Remove "debug" from the compile
7293 options.
7294
ec9f644a
IB
72952014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7296
7297 * gdb.dlang/demangle.exp: New file.
7298
94b1b47e
IB
72992014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7300
7301 * gdb.dlang/primitive-types.exp: New file.
7302
7f420862
IB
73032014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7304
7305 * configure.ac: Create gdb.dlang/Makefile.
7306 * configure: Regenerate.
7307 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7308 * gdb.dlang/Makefile.in: New file.
7309 * lib/d-support.exp: New file.
7310 * lib/gdb.exp (skip_d_tests): New proc.
7311
52834460
MM
73122014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7313
7314 * gdb.btrace/delta.exp: Check reverse stepi.
7315 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7316 * gdb.btrace/finish.exp: New.
7317 * gdb.btrace/next.exp: New.
7318 * gdb.btrace/nexti.exp: New.
7319 * gdb.btrace/record_goto.c: Add comments.
7320 * gdb.btrace/step.exp: New.
7321 * gdb.btrace/stepi.exp: New.
7322 * gdb.btrace/multi-thread-step.c: New.
7323 * gdb.btrace/multi-thread-step.exp: New.
7324 * gdb.btrace/rn-dl-bind.c: New.
7325 * gdb.btrace/rn-dl-bind.exp: New.
7326 * gdb.btrace/data.c: New.
7327 * gdb.btrace/data.exp: New.
7328 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7329
6e07b1d2
MM
73302014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7331
7332 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7333 * gdb.btrace/exception.exp: Update.
7334 * gdb.btrace/instruction_history.exp: Update.
7335 * gdb.btrace/record_goto.exp: Update.
7336 * gdb.btrace/tailcall.exp: Update.
7337 * gdb.btrace/unknown_functions.exp: Update.
7338 * gdb.btrace/delta.exp: New.
7339
0b722aec
MM
73402014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7341
7342 * gdb.btrace/record_goto.exp: Add backtrace test.
7343 * gdb.btrace/tailcall.exp: Add backtrace test.
7344
066ce621
MM
73452014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7346
7347 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7348 * gdb.btrace/record_goto.c: New.
7349 * gdb.btrace/record_goto.exp: New.
7350 * gdb.btrace/x86-record_goto.S: New.
7351
0688d04e
MM
73522014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7353
7354 * gdb.btrace/function_call_history.exp: Update tests.
7355 * gdb.btrace/instruction_history.exp: Update tests.
7356
8710b709
MM
73572014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7358
7359 * gdb.btrace/function_call_history.exp: Fix expected field
7360 order for "record function-call-history".
7361 Add new tests for "record function-call-history /c".
7362 * gdb.btrace/exception.cc: New.
7363 * gdb.btrace/exception.exp: New.
7364 * gdb.btrace/tailcall.exp: New.
7365 * gdb.btrace/x86-tailcall.S: New.
7366 * gdb.btrace/x86-tailcall.c: New.
7367 * gdb.btrace/unknown_functions.c: New.
7368 * gdb.btrace/unknown_functions.exp: New.
7369 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7370
5de9129b
MM
73712014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7372
7373 * gdb.btrace/instruction_history.exp: Update.
7374 * gdb.btrace/function_call_history.exp: Update.
7375
23a7fe75
MM
73762014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7377
7378 * gdb.btrace/function_call_history.exp: Fix expected function
7379 trace.
7380 * gdb.btrace/instruction_history.exp: Initialize traced.
7381 Remove traced_functions.
7382
724c7dd8
MM
73832014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7384
7385 * gdb.btrace/function_call_history.exp: Update
7386 * gdb.btrace/instruction_history.exp: Update.
7387
6d78d93b
MM
73882014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7389
7390 * gdb.btrace/enable.exp: Update expected text.
7391
93a360cc
OJ
73922014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7393
7394 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7395 bytes.
7396
3772b53f
MR
73972014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7398
7399 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7400
596662fa
OJ
74012014-01-15 Omair Javaid <omair.javaid@linaro.org>
7402
7403 * lib/gdb.exp (supports_process_record): Return true for
7404 arm*-linux*. (supports_reverse): Likewise.
7405
b5b08fb4
SC
74062014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7407
7408 PR python/15464
7409 PR python/16113
7410 * gdb.python/py-type.c: Enhance test case.
7411 * gdb.python/py-value-cc.cc: Likewise
7412 * gdb.python/py-type.exp: Add new tests.
7413 * gdb.python/py-value-cc.exp: Likewise
7414
52d7fb13
AA
74152014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7416 Pedro Alves <palves@redhat.com>
7417
7418 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7419 Make "name" extern.
7420 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7421 references to ${name}_start by references to ${name}.
7422
a2cd8cfe
JB
74232014-01-10 Joel Brobecker <brobecker@adacore.com>
7424
7425 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7426
4e23fced
JB
74272014-01-10 Joel Brobecker <brobecker@adacore.com>
7428
7429 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7430
c6a9e42c
PA
74312014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7432 Pedro Alves <palves@redhat.com>
7433
7434 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 7435 mi_gdb_target_load.
c6a9e42c 7436
b7ea362b
PA
74372014-01-08 Pedro Alves <palves@redhat.com>
7438
7439 * gdb.threads/reconnect-signal.c: New file.
7440 * gdb.threads/reconnect-signal.exp: New file.
7441
5e3f4fab
EBM
74422014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7443
7444 * gdb.base/source-dir.exp: New file.
7445
79301218
JB
74462014-01-07 Joel Brobecker <brobecker@adacore.com>
7447
7448 * gdb.ada/mi_interface: New testcase.
7449
8e355c5d
JB
74502014-01-07 Joel Brobecker <brobecker@adacore.com>
7451
7452 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7453 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7454 gdb.ada/pp-rec-component/pck.ads: New files.
7455
c0d48811
JB
74562014-01-07 Joel Brobecker <brobecker@adacore.com>
7457
7458 * gdb.python/py-pp-integral.c: New file.
7459 * gdb.python/py-pp-integral.py: New file.
7460 * gdb.python/py-pp-integral.exp: New file.
7461
17b609c3 7462For older changes see ChangeLog-1993-2013.
c906108c 7463\f
8d8cb839
EZ
7464;; Local Variables:
7465;; mode: change-log
7466;; left-margin: 8
7467;; fill-column: 74
7468;; version-control: never
7469;; End:
902f2ccb 7470
618f726f 7471 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
7472 Copying and distribution of this file, with or without modification,
7473 are permitted provided the copyright notice and this notice are preserved.