]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
gdb/s390: Fill guess_tracepoint_registers hook.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
012b3a21
WT
12016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
2
3 * gdb.arch/i386-mpx-sigsegv.c: New file.
4 * gdb.arch/i386-mpx-sigsegv.exp: New file.
5 * gdb.arch/i386-mpx-simple_segv.c: New file.
6 * gdb.arch/i386-mpx-simple_segv.exp: New file.
7
2d5189bd
YQ
82016-02-18 Yao Qi <yao.qi@linaro.org>
9
10 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
11 Don't call setup_kfail.
12
40fb20d0
YQ
132016-02-18 Yao Qi <yao.qi@linaro.org>
14
15 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16 Set "set breakpoint condition-evaluation" per $cond_bp_target.
17
21b1f8d2
DE
182016-02-16 Doug Evans <dje@google.com>
19
20 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
21 * gdb.base/skip1.c: Ditto.
22 * gdb.base/skip.exp: Whitespace cleanup.
23
4041ed77
DB
242016-02-16 Don Breazeal <donb@codesourcery.com>
25
26 PR remote/19496
27 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
28 Remove kfail for PR remote/19496.
29
c4ef31bf
SM
302016-02-16 Simon Marchi <simon.marchi@ericsson.com>
31
32 * lib/gdb.exp (standard_temp_file): Return a path specific to
33 the runtest invocation.
34
266b65b3
SM
352016-02-16 Simon Marchi <simon.marchi@ericsson.com>
36
37 * gdb.trace/save-trace.exp: Change relative path to be in the
38 standard output directory.
39
a7a0a6a9
JK
402016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
41
42 * gdb.arch/i386-prologue.c: Add missing prototypes.
43
c99dbb42
JK
442016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
45
46 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
47 * gdb.arch/i386-prologue.exp: Likewise.
48 * gdb.arch/i386-size.exp: Likewise.
49
aa480355
SM
502016-02-15 Simon Marchi <simon.marchi@ericsson.com>
51
52 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
53 define object file path.
54 * gdb.btrace/gcore.exp: Use standard_output_file to define core
55 file path.
56 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
57 standard_output_file to define binfile.
58
ba881f50
JK
592016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
60
61 Fix compatibility with recent gfortran-5.3.1.
62 * gdb.fortran/vla-history.exp (print vla1 allocated)
63 (print vla2 allocated, print $2, print $3): Remove
64 (print $4): Rename to ...
65 (print $2): ... here.
66 (print $9): Rename to ...
67 (print $5): ... here.
68 (print $10): Rename to ...
69 (print $6): ... here.
70 * gdb.fortran/vla.f90: Add pvla initialization.
71
e9fb005c
JK
722016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
73
74 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
75 New test.
76 * gdb.fortran/vla-value-sub.exp: Likewise.
77
e44e00ff
MK
782016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
79
80 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
81
97e94151
SM
822016-02-12 Simon Marchi <simon.marchi@ericsson.com>
83
84 * i386-biarch-core.exp: Define corefile using
85 standard_output_file.
86
01113bc1
YQ
872016-02-12 Yao Qi <yao.qi@linaro.org>
88
89 * gdb.arch/arm-single-step-kernel-helper.c: New.
90 * gdb.arch/arm-single-step-kernel-helper.exp: New.
91
33b4777c
MM
922016-02-12 Markus Metzger <markus.t.metzger@intel.com>
93
94 * gdb.btrace/tailcall-only.exp: New.
95 * gdb.btrace/tailcall-only.c: New.
96 * gdb.btrace/x86_64-tailcall-only.S: New.
97 * gdb.btrace/i686-tailcall-only.S: New.
98
acc23c11
PA
992016-02-11 Pedro Alves <palves@redhat.com>
100
101 * README (Parallel testing): Add missing double quotes.
102
e352bf0a
PA
1032016-02-11 Pedro Alves <palves@redhat.com>
104
105 * README (Parallel testing): New section.
106 (GDB_PARALLEL): Rewrite.
107 (FORCE_PARALLEL): Document.
108
9f5fed78
MK
1092016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
110
111 * gdb.trace/tfile-avx.c: New test.
112 * gdb.trace/tfile-avx.exp: New test.
113
9ef9e6a6
KS
1142016-02-09 Keith Seitz <keiths@redhat.com>
115
116 PR breakpoints/19546
117 * gdb.base/infcall-exec.c: New file.
118 * gdb.base/infcall-exec2.c: New file.
119 * gdb.base/infcall-exec.exp: New file.
120
a96e36da
KS
1212016-02-09 Keith Seitz <keiths@redhat.com>
122
123 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
124 (toplevel): Call test_bkpt_address.
125
9f61929f
KS
1262016-02-09 Keith Seitz <keiths@redhat.com>
127
128 PR python/19506
129 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
130 (toplevel): Call test_bkpt_address.
131
1e94266c
SM
1322016-02-09 Simon Marchi <simon.marchi@ericsson.com>
133
134 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
135 to AC_OUTPUT.
136 * configure: Regenerate.
137
2a7f3dff
PA
1382016-02-09 Pedro Alves <palves@redhat.com>
139
140 PR breakpoints/19548
141 * gdb.base/execl-update-breakpoints.c (some_function): New
142 function.
143 (main): Call it.
144 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
145 Tighten expected GDB output.
146
2151ccc5
SM
1472016-02-08 Simon Marchi <simon.marchi@ericsson.com>
148
149 * Makefile.in (ALL_SUBDIRS): Remove.
150 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
151 (distclean maintainer-clean realclean): Likewise.
152 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
153 * configure: Regenerate.
154 * gdb.ada/Makefile.in: Delete.
155 * gdb.arch/Makefile.in: Likewise.
156 * gdb.asm/Makefile.in: Likewise.
157 * gdb.base/Makefile.in: Likewise.
158 * gdb.btrace/Makefile.in: Likewise.
159 * gdb.cell/Makefile.in: Likewise.
160 * gdb.compile/Makefile.in: Likewise.
161 * gdb.cp/Makefile.in: Likewise.
162 * gdb.disasm/Makefile.in: Likewise.
163 * gdb.dlang/Makefile.in: Likewise.
164 * gdb.dwarf2/Makefile.in: Likewise.
165 * gdb.fortran/Makefile.in: Likewise.
166 * gdb.gdb/Makefile.in: Likewise.
167 * gdb.go/Makefile.in: Likewise.
168 * gdb.guile/Makefile.in: Likewise.
169 * gdb.java/Makefile.in: Likewise.
170 * gdb.linespec/Makefile.in: Likewise.
171 * gdb.mi/Makefile.in: Likewise.
172 * gdb.modula2/Makefile.in: Likewise.
173 * gdb.multi/Makefile.in: Likewise.
174 * gdb.objc/Makefile.in: Likewise.
175 * gdb.opencl/Makefile.in: Likewise.
176 * gdb.opt/Makefile.in: Likewise.
177 * gdb.pascal/Makefile.in: Likewise.
178 * gdb.perf/Makefile.in: Likewise.
179 * gdb.python/Makefile.in: Likewise.
180 * gdb.reverse/Makefile.in: Likewise.
181 * gdb.server/Makefile.in: Likewise.
182 * gdb.stabs/Makefile.in: Likewise.
183 * gdb.threads/Makefile.in: Likewise.
184 * gdb.trace/Makefile.in: Likewise.
185 * gdb.xml/Makefile.in: Likewise.
186 * lib/gdb.exp (make_gdb_parallel_path): Add check for
187 GDB_PARALLEL.
188 (standard_output_file): Remove check for GDB_PARALLEL, always
189 return path in outputs/$subdir/$testname.
190
437277d4
SM
1912016-02-08 Simon Marchi <simon.marchi@ericsson.com>
192
193 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
194 (site.exp): Assign abs_srcdir to tcl's srcdir.
195
31d913c7
YQ
1962016-02-04 Yao Qi <yao.qi@linaro.org>
197
198 * gdb.base/foll-exec-mode.c: Include limits.h.
199 (main): Add parameters argc and argv. Get directory from
200 argv[0].
201 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
202 compilation.
203 * gdb.base/foll-exec.c: Include limits.h.
204 (main): Add parameters argc and argv.
205 Get directory from argv[0].
206 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
207 Adjust tests on the number of lines as source code changed.
208 * gdb.base/foll-vfork-exit.c: Include limits.h.
209 (main): Add one line of statement before vfork.
210 * gdb.base/foll-vfork.c: Include limits.h and string.h.
211 (main): Add parameters argc and argv. Get directory from
212 argv[0].
213 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
214 (setup_gdb): Set tbreak to skip some source lines.
215 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
216 (main): Add parameters argc and argv. Get directory from
217 argv[0].
218 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
219 compilation.
220 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
221 (main): Add parameters argc and argv. Get directory from
222 argv[0].
223 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
224 compilation.
225
9482b9fb
DE
2262016-02-01 Doug Evans <dje@google.com>
227
228 * gdb.base/skip.exp: Clean up multiple references to same test name.
229
6b2e4f10
PA
2302016-02-01 Pedro Alves <palves@redhat.com>
231
ccb6afd6 232 PR remote/19496
6b2e4f10
PA
233 * gdb.threads/forking-threads-plus-breakpoint.exp
234 (displaced_stepping_supported): New global.
235 (probe_displaced_stepping_support): New procedure.
236 (do_test): Add 'displaced' parameter, and use it.
237 (top level): Check for displaced stepping support. Add displaced
238 stepping on/off testing axis.
239
37a8db1a
AB
2402016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
241
242 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
243 pointer. Don't perform further tests on the unassociated pointer
244 if the first test fails.
245
5fdf6324
AB
2462016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
247
248 * gdb.base/max-value-size.c: New file.
249 * gdb.base/max-value-size.exp: New file.
250 * gdb.base/huge.exp: Disable max-value-size for this test.
251
935c6144
IB
2522016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
253
254 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
255
7fe8399d
YQ
2562016-01-28 Yao Qi <yao.qi@linaro.org>
257
258 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
259
a2077e25
PA
2602016-01-25 Pedro Alves <palves@redhat.com>
261
262 PR threads/19461
263 * gdb.base/fork-running-state.c: New file.
264 * gdb.base/fork-running-state.exp: New file.
265
1d2736d4
PA
2662016-01-25 Pedro Alves <palves@redhat.com>
267
268 PR gdb/19494
269 * gdb.base/catch-fork-kill.c: New file.
270 * gdb.base/catch-fork-kill.exp: New file.
271
f1da4b11
PA
2722016-01-25 Pedro Alves <palves@redhat.com>
273
274 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
275 Delete, moved to lib/gdb.exp.
276 * gdb.threads/forking-threads-plus-breakpoint.exp
277 (foreach_with_prefix): Likewise.
278 * gdb.threads/process-dies-while-handling-bp.exp
279 (foreach_with_prefix): Likewise.
280 * lib/gdb.exp (foreach_with_prefix): New procedure.
281
45f38546
MK
2822016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
283
284 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
285 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
286
dc29a1ce
MK
2872016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
288
289 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
290 endian targets.
291
092127d7
JK
2922016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
293 Pedro Alves <palves@redhat.com>
294
295 Fix testsuite compatibility with Guile.
296 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
297 number.
298
31d765d3
JK
2992016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
300
301 Fix testsuite compatibility with Guile.
302 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
303 (thread 1): New test for backtrace through signal handler.
304
1ac78c04
YQ
3052016-01-22 Yao Qi <yao.qi@linaro.org>
306
307 PR testsuite/19491
308 * gdb.base/multi-forks.c: Include
309 ../lib/unbuffer_output.c
310 (main): Call gdb_unbuffer_output.
311
4f5946a8
DE
3122016-01-21 Doug Evans <dje@google.com>
313
314 * lib/ada.exp (gdb_compile_ada): Fix typo.
315
305e13e6
JB
3162016-01-21 Joel Brobecker <brobecker@adacore.com>
317
318 * gdb.base/break-fun-addr.exp: New file.
319 * gdb.base/break-fun-addr1.c: New file.
320 * gdb.base/break-fun-addr2.c: New file.
321
5f5dfff6
SM
3222016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
323
324 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
325 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
326 enum flag values.
327
fd356fa2
AA
3282016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
329
330 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
331 when GDB can not set the vector return value. Add more comments
332 for clarification.
333
9df22175
AT
3342016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
335
336 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
337 command.
338
41d1845e
SM
3392016-01-19 Simon Marchi <simon.marchi@ericsson.com>
340
341 * Makefile.in (DO_RUNTEST): Add --status and update usages.
342
01ac6840
SM
3432016-01-19 Simon Marchi <simon.marchi@ericsson.com>
344
345 * Makefile.in (check-single): Pass --status to runtest.
346 (check/%.exp): Likewise.
347
3482016-01-19 Simon Marchi <simon.marchi@ericsson.com>
349
350 * Makefile.in (check-parallel): Propagate return code from make
351 do-check-parallel.
352
bd0a71fa
MK
3532016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
354
355 * gdb.trace/ftrace.exp: Fix expected message on continue.
356 * gdb.trace/pending.exp: Fix expected message on continue.
357 * gdb.trace/trace-break.exp: Fix expected message on continue.
358
8bcbad33
SM
3592016-01-18 Simon Marchi <simon.marchi@ericsson.com>
360
361 * lib/gdb.exp (gdb_test): Remove unused global references.
362
f303dbd6
PA
3632016-01-18 Pedro Alves <palves@redhat.com>
364
365 * gdb.base/async-shell.exp: Adjust expected output.
366 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
367 * gdb.base/siginfo-thread.exp: Adjust expected output.
368 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
369 * gdb.java/jnpe.exp: Adjust expected output.
370 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
371 * gdb.threads/continue-pending-status.exp: Adjust expected output.
372 * gdb.threads/leader-exit.exp: Adjust expected output.
373 * gdb.threads/manythreads.exp: Adjust expected output.
374 * gdb.threads/pthreads.exp: Adjust expected output.
375 * gdb.threads/schedlock.exp: Adjust expected output.
376 * gdb.threads/siginfo-threads.exp: Adjust expected output.
377 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
378 expected output.
379 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
380 output.
381 * gdb.threads/sigthread.exp: Adjust expected output.
382 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
383
b2789696
YQ
3842016-01-18 Yao Qi <yao.qi@linaro.org>
385
386 * gdb.guile/scm-section-script.c: Replace @progbits with
387 %progbits.
388 * gdb.python/py-section-script.c: Likewise.
389
71ef29a8
PA
3902016-01-15 Pedro Alves <palves@redhat.com>
391
392 * gdb.multi/tids.exp: Test star wildcard ranges.
393
3f5b7598
PA
3942016-01-15 Pedro Alves <palves@redhat.com>
395
396 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
397 command from "thread apply" invocation.
398 (thr_apply_info_thr_invalid): Default the expected output to the
399 input tid list.
400 (top level): Add tests that use convenience variables. Add tests
401 for "thread apply" with a valid TID list, but missing the command.
402
663f6d42
PA
4032016-01-13 Pedro Alves <palves@redhat.com>
404
405 * gdb.base/default.exp: Expect $_gthread as well.
406 * gdb.multi/tids.exp: Test $_gthread.
407 * gdb.threads/thread-specific.exp: Test $_gthread.
408
c84f6bbf
PA
4092016-01-13 Pedro Alves <palves@redhat.com>
410
411 * gdb.multi/tids.exp: Test "info threads -gid".
412
22a02324
PA
4132016-01-13 Pedro Alves <palves@redhat.com>
414
415 * gdb.multi/tids.exp: Test InferiorThread.global_num and
416 Breakpoint.thread.
417 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
418
5d5658a1
PA
4192016-01-07 Pedro Alves <palves@redhat.com>
420
421 * gdb.base/break.exp: Adjust to output changes.
422 * gdb.base/hbreak2.exp: Likewise.
423 * gdb.base/sepdebug.exp: Likewise.
424 * gdb.base/watch_thread_num.exp: Likewise.
425 * gdb.linespec/keywords.exp: Likewise.
426 * gdb.multi/info-threads.exp: Likewise.
427 * gdb.threads/thread-find.exp: Likewise.
428 * gdb.multi/tids.c: New file.
429 * gdb.multi/tids.exp: New file.
430
84654457
PA
4312016-01-13 Pedro Alves <palves@redhat.com>
432
433 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
434
e3940304
PA
4352016-01-13 Pedro Alves <palves@redhat.com>
436
437 * gdb.base/default.exp: Expect $_inferior as well.
438 * gdb.multi/base.exp: Test $_inferior.
439
a911d87a
PA
4402016-01-13 Pedro Alves <palves@redhat.com>
441
442 PR breakpoints/19388
443 * gdb.base/catch-signal-siginfo-cond.c: New file.
444 * gdb.base/catch-signal-siginfo-cond.exp: New file.
445
82075af2
JS
4462016-01-12 Josh Stone <jistone@redhat.com>
447 Philippe Waroquiers <philippe.waroquiers@skynet.be>
448
449 * gdb.base/catch-syscall.c (do_execve): New variable.
450 (main): Conditionally trigger an execve.
451 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
452 (test_catch_syscall_execve): New, check entry/return across execve.
453 (do_syscall_tests): Call test_catch_syscall_execve.
454
e46eeedd
PA
4552016-01-12 Pedro Alves <palves@redhat.com>
456
457 * gdb.base/random-signal.exp (do_test): New procedure, with body
458 of testcase moved in.
459
01d8c27e
JK
4602016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
461 Pedro Alves <palves@redhat.com>
462
463 * gdb.base/funcargs.exp (finish from indirectly called function):
464 Reintroduce the case for 'First'.
465
9a706302
JK
4662016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
467 Pedro Alves <palves@redhat.com>
468
469 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
470 (tcatch_vfork_then_child_follow_exec)
471 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
472 identification.
473
c0ecb95f
JK
4742016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
475
476 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
477 and repeats to unlimited.
478 * gdb.python/py-value.exp: Likewise.
479 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
480 and repeats to unlimited.
481
6cfc1fcb
JK
4822016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
483
484 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
485 and reordering the functions.
486 * gdb.multi/hangout.c: Likewise.
487 * gdb.multi/hello.c: Likewise.
488
582a1b00
SM
4892016-01-08 Simon Marchi <simon.marchi@ericsson.com>
490
491 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
492 absolute.
493 (SingleStatisticTestResult.report): Use dict.keys instead of
494 dict.iterkeys.
495
79bc59cb
PA
4962016-01-06 Pedro Alves <palves@redhat.com>
497
498 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
499
43368e1d
MM
5002016-01-04 Markus Metzger <markus.t.metzger@intel.com>
501
502 * gdb.btrace/dlopen.exp: New.
503 * gdb.btrace/dlopen.c: New.
504 * gdb.btrace/dlopen-dso.c: New.
505
79fad5b8
SL
5062015-12-25 Sandra Loosemore <sandra@codesourcery.com>
507
508 * lib/gdb.exp (gdb_test): Update comments to clarify that the
509 PATTERN argument is optional.
510
ab8314b3
JB
5112015-12-24 Joel Brobecker <brobecker@adacore.com>
512
513 * lib/ada.exp (target_compile_ada_from_dir): New function.
514 (gdb_compile_ada): Reimplement avoiding the use of project files.
515 * gdb.ada/gnat_ada.gpr: Delete.
516 * gdb.ada/cond_lang.exp: Adjust test to make path before
517 filename optional.
518 * gdb.ada/small_reg_param.exp: Likewise.
519
fe33faff
SM
5202015-12-22 Simon Marchi <simon.marchi@ericsson.com>
521
522 * gdb.base/foll-vork.exp: Remove HP-UX special case.
523
6d265cb4
TP
5242015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
525
526 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
527 case.
528
10125099
SM
5292015-12-21 Simon Marchi <simon.marchi@ericsson.com>
530
531 * gdb.base/break.exp: Remove dead code.
532 * gdb.base/sepdebug.exp: Likewise.
533
3ca22649
SM
5342015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
535
536 * gdb.asm/asm-source.exp: Remove HP-UX references.
537 * gdb.base/annota1.exp: Likewise.
538 * gdb.base/annota3.exp: Likewise.
539 * gdb.base/attach.exp: Likewise.
540 * gdb.base/bigcore.exp: Likewise.
541 * gdb.base/break.exp: Likewise.
542 * gdb.base/call-ar-st.exp: Likewise.
543 * gdb.base/callfuncs.exp: Likewise.
544 * gdb.base/catch-fork-static.exp: Likewise.
545 * gdb.base/display.exp: Likewise.
546 * gdb.base/foll-exec-mode.exp: Likewise.
547 * gdb.base/foll-exec.exp: Likewise.
548 * gdb.base/foll-fork.exp: Likewise.
549 * gdb.base/foll-vfork.exp: Likewise.
550 * gdb.base/funcargs.exp: Likewise.
551 * gdb.base/hbreak2.exp: Likewise.
552 * gdb.base/inferior-died.exp: Likewise.
553 * gdb.base/interrupt.exp: Likewise.
554 * gdb.base/multi-forks.exp: Likewise.
555 * gdb.base/nodebug.exp: Likewise.
556 * gdb.base/sepdebug.exp: Likewise.
557 * gdb.base/solib1.c: Likewise.
558 * gdb.base/step-test.exp: Likewise.
559 * gdb.mi/non-stop.c: Likewise.
560 * gdb.mi/pthreads.c: Likewise.
561 * gdb.multi/bkpt-multi-exec.ex: Likewise.
562 * gdb.threads/pthreads.c: Likewise.
563 * gdb.threads/staticthreads.exp: Likewise.
564 * lib/future.exp: Likewise.
565 * lib/gdb.exp: Likewise.
566 * gdb.base/so-indr-cl.c: Remove.
567 * gdb.base/so-indr-cl.exp: Likewise.
568 * gdb.base/solib.c: Likewise.
569 * gdb.base/solib.exp: Likewise.
570 * gdb.base/solib2.c: Likewise.
571
b6304613
SM
5722015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
573
574 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
575 * gdb.base/call-ar-st.exp: Likewise.
576 * gdb.base/callfuncs.exp: Likewise.
577 * gdb.base/condbreak.exp: Likewise.
578 * gdb.base/constvars.exp: Likewise.
579 * gdb.base/hbreak2.exp: Likewise.
580 * gdb.base/langs.exp: Likewise.
581 * gdb.base/list.exp: Likewise.
582 * gdb.base/long_long.exp: Likewise.
583 * gdb.base/ptype.exp: Likewise.
584 * gdb.base/scope.exp: Likewise.
585 * gdb.base/signals.exp: Likewise.
586 * gdb.base/so-impl-ld.exp: Likewise.
587 * gdb.base/varargs.exp: Likewise.
588 * gdb.base/volatile.exp: Likewise.
589 * gdb.base/whatis.exp: Likewise.
590 * gdb.cp/cplusfuncs.exp: Likewise.
591 * gdb.cp/inherit.exp: Likewise.
592 * gdb.cp/local.exp: Likewise.
593 * gdb.cp/member-ptr.exp: Likewise.
594 * gdb.cp/method.exp: Likewise.
595 * gdb.cp/overload.exp: Likewise.
596 * gdb.cp/templates.exp: Likewise.
597 * gdb.stabs/weird.exp: Likewise.
598 * lib/compiler.c: Likewise.
599 * lib/compiler.cc: Likewise.
600 * lib/cp-support.exp: Likewise.
601 * lib/gdb.exp: Likewise.
602
bf401b07
SM
6032015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
604
605 * configure.ac: Remove HP-UX case.
606 * configure: Regenerate.
607
aff9c0f8
SM
6082015-12-18 Simon Marchi <simon.marchi@ericsson.com>
609
610 * lib/gdb.exp (gdb_compile): Add function doc.
611
a6904d5a
PA
6122015-12-17 Pedro Alves <palves@redhat.com>
613
614 PR threads/19354
615 * gdb.multi/info-threads.exp: New file.
616
a22279dd
YQ
6172015-12-15 Yao Qi <yao.qi@linaro.org>
618
619 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
620 is aarch64*-*-*.
621
0588c796
SL
6222015-12-14 Sandra Loosemore <sandra@codesourcery.com>
623
624 * gdb.base/history-duplicates.exp: Skip if no readline support.
625
5d978e17
SL
6262015-12-14 Sandra Loosemore <sandra@codesourcery.com>
627
628 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
629
7e763b86
SL
6302015-12-14 Sandra Loosemore <sandra@codesourcery.com>
631
632 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
633
87a3a92c
SL
6342015-12-14 Sandra Loosemore <sandra@codesourcery.com>
635
636 * gdb.base/completion.exp: Skip tests that interrupt GDB with
637 ctrl-C if nointerrupts target property is set.
638 * gdb.base/double-prompt-target-event-error.exp: Likewise.
639 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
640 * gdb.base/paginate-bg-execution.exp: Likewise.
641 * gdb.base/paginate-execution-startup.exp: Likewise.
642 * gdb.base/random-signal.exp: Likewise.
643 * gdb.base/range-stepping.exp: Likewise.
644 * gdb.cp/annota2.exp: Likewise.
645 * gdb.cp/annota3.exp: Likewise.
646 * gdb.gdb/selftest.exp: Likewise.
647 * gdb.threads/continue-pending-status.exp: Likewise.
648 * gdb.threads/leader-exit.exp: Likewise.
649 * gdb.threads/manythreads.exp: Likewise.
650 * gdb.threads/pthreads.exp: Likewise.
651 * gdb.threads/schedlock.exp: Likewise.
652 * gdb.threads/sigthread.exp: Likewise.
653
a8f077dc
DB
6542015-12-11 Don Breazeal <donb@codesourcery.com>
655
656 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
657 remote.
658 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
659 * gdb.base/foll-exec.exp (main): Enable for target remote.
660 * gdb.base/foll-fork.exp (main): Likewise.
661 * gdb.base/foll-vfork.exp (main): Likewise.
662 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
663 (proc continue_to_exit_bp_loc): Use clean_restart.
664 * gdb.base/pie-execl.exp (main): Disable for target remote.
665 * gdb.base/watch-vfork.exp (main): Enable for target remote.
666 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
667 * gdb.threads/execl.exp (main): Likewise.
668 * gdb.threads/fork-child-threads.exp (main): Likewise.
669 * gdb.threads/fork-plus-threads.exp (main): Disable for target
670 remote.
671 * gdb.threads/fork-thread-pending.exp (main): Enable for target
672 remote.
673 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
674 pid.tid style ptids, instead of just tid.
675 * gdb.threads/thread-execl.exp (main): Enable for target remote.
676 * gdb.threads/watchpoint-fork.exp (main): Likewise.
677 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
678 ptids, instead of just tid.
679
3b2464a8
AB
6802015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
681
682 * gdb.base/list.exp (test_list_forward): Add end of file error
683 test.
684 (test_repeat_list_command): Add end of file error test.
685 (test_list_backwards): Add beginning of file error test.
686
a0def019
AB
6872015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
688
689 * gdb.base/list.exp (test_list_invalid_args): New function,
690 defined, and called.
691
5c000dff
AB
6922015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
693
694 * gdb.base/list.exp (test_list): Make test names unique.
695
f1637ebe
YQ
6962015-12-11 Yao Qi <yao.qi@linaro.org>
697
698 * gdb.base/coremaker2.c: Remove.
699
36d6fc0a
PA
7002015-12-10 Pedro Alves <palves@redhat.com>
701
702 * gdb.multi/base.exp: Remove stale "spaces" references.
703
762f7747
PA
7042015-12-10 Pedro Alves <palves@redhat.com>
705
706 * gdb.multi/base.exp: Don't use nowarnings.
707 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
708 * gdb.multi/hangout.c: Include stdio.h.
709 * gdb.multi/hello.c: Include stdlib.h.
710 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
711 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
712 * gdb.multi/multi-arch.exp: Don't use nowarnings.
713
28d2bfb9
AB
7142015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
715
716 * gdb.dwarf2/dw2-ranges-base.c: New file.
717 * gdb.dwarf2/dw2-ranges-base.exp: New file.
718 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
719 support additional line table, and debug ranges generation.
720 (Dwarf::ranges): New function, generate .debug_ranges.
721 (Dwarf::lines): Support generating simple line table programs.
722 (Dwarf::assemble): Initialise new namespace variables.
723
5fc2beac
KB
7242015-12-09 Kevin Buettner <kevinb@redhat.com>
725
726 * gdb.base/async.exp (proc test_background): Add case for
727 asynchronous execution not supported.
728
1c35a88f
LM
7292015-12-09 Luis Machado <lgustavo@codesourcery.com>
730
731 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
732 format and change test names to make them unique.
733
b593e3d9
RK
7342015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
735 Pedro Alves <pedro@redhat.com>
736
737 PR gdb/18702
738 Add checking of floatformats setup on x86_64 hosts.
739 * gdb.arch/i386-float.S (main): Load bigval and smallval.
740 (smallval, bigval): New labels/constants.
741 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
742 float" after loading bigval and smallval.
743
d72413e6
PMR
7442015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
745
746 * gdb.ada/fun_overload_menu.exp: New testcase.
747 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
748
ece66d65
JS
7492015-12-04 Josh Stone <jistone@redhat.com>
750
751 * gdb.base/catch-fork-static.exp: New.
752
41d0efca
YQ
7532015-12-03 Yao Qi <yao.qi@linaro.org>
754
755 * gdb.base/sizeof.c: Don't include stdio.h and
756 ../lib/unbuffer_output.c.
757 (main): New variable 'size' and 'value'. Remove printf and
758 gdb_unbuffer_output. Assign return value to size and value.
759 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
760 at the beginning.
761 (check_sizeof): Check the result by printing variable 'size'.
762 (check_valueof): Check the result by printing variable 'value'.
763
99fd02d9
YQ
7642015-12-01 Yao Qi <yao.qi@linaro.org>
765
766 * gdb.base/disp-step-syscall.exp: Define syscall instruction
767 for aarch64*-*-linux* target.
768
f2faf941
PA
7692015-11-30 Pedro Alves <palves@redhat.com>
770
771 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
772
04bf20c5
PA
7732015-11-30 Pedro Alves <palves@redhat.com>
774
775 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
776 Handle non-stop mode vCont replies.
777
09df4675
PA
7782015-11-30 Pedro Alves <palves@redhat.com>
779
780 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
781 prepare_for_testing. Start gdb with "set non-stop on" appended to
782 GDBFLAGS. Lax expected stop output.
783
58b584af
YQ
7842015-11-27 Yao Qi <yao.qi@linaro.org>
785
786 * gdb.arch/arm-neon.exp: New.
787 * gdb.arch/arm-neon.c: New.
788
dfcb77a8
YQ
7892015-11-27 Yao Qi <yao.qi@linaro.org>
790
791 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
792
88e8ec1b
YQ
7932015-11-27 Yao Qi <yao.qi@linaro.org>
794
795 * gdb.cp/annota2.exp: Allow multiple occurrences of the
796 frames-invalid annotation.
797
bfde72c2
YQ
7982015-11-27 Yao Qi <yao.qi@linaro.org>
799
800 * gdb.cp/annota2.exp: Use ${frames_invalid}.
801
f6512a69
SM
8022015-11-26 Simon Marchi <simon.marchi@ericsson.com>
803
804 * gdb.threads/names.exp: New file.
805 * gdb.threads/names.c: New file.
806 * README: Mention gdb,no_thread_names.
807
46a3515b
MM
8082015-11-26 Markus Metzger <markus.t.metzger@intel.com>
809
810 PR 19297
811 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
812 support" error.
813
62147a22
PA
8142015-11-24 Pedro Alves <palves@redhat.com>
815
816 PR 17539
817 * gdb.base/display.exp: Expect displays to be sorted in ascending
818 order. Use multi_line.
819 * gdb.base/solib-display.exp: Likewise.
820
2f341b6e
PA
8212015-11-24 Pedro Alves <palves@redhat.com>
822
823 PR 17539
824 * gdb.base/display.exp: Expect displays to be sorted in ascending
825 order. Use multi_line.
826 * gdb.base/solib-display.exp: Likewise.
827
7e0aa6aa
PA
8282015-11-24 Pedro Alves <palves@redhat.com>
829
830 PR 17539
831 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
832 threads in ascending order.
833 * gdb.base/foll-fork.exp: Likewise.
834 * gdb.base/foll-vfork.exp: Likewise.
835 * gdb.base/multi-forks.exp: Likewise.
836 * gdb.mi/mi-nonstop.exp: Likewise.
837 * gdb.mi/mi-nsintrall.exp: Likewise.
838 * gdb.multi/base.exp: Likewise.
839 * gdb.multi/multi-arch.exp: Likewise.
840 * gdb.python/py-inferior.exp: Likewise.
841 * gdb.threads/break-while-running.exp: Likewise.
842 * gdb.threads/execl.exp: Likewise.
843 * gdb.threads/gcore-thread.exp: Likewise.
844 * gdb.threads/info-threads-cur-sal.exp: Likewise.
845 * gdb.threads/kill.exp: Likewise.
846 * gdb.threads/linux-dp.exp: Likewise.
847 * gdb.threads/multiple-step-overs.exp: Likewise.
848 * gdb.threads/next-bp-other-thread.exp: Likewise.
849 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
850 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
851 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
852 * gdb.threads/thread-find.exp: Likewise.
853 * gdb.threads/tls.exp: Likewise.
854 * lib/mi-support.exp (mi_reverse_list): Delete.
855 (mi_check_thread_states): No longer reverse list.
856
2cc57ad8
PA
8572015-11-24 Pedro Alves <palves@redhat.com>
858
859 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
860 use lowercase.
861
c93e8391
SM
8622015-11-23 Simon Marchi <simon.marchi@ericsson.com>
863
864 * gdb.trace/actions.c: Include trace-common.h.
865 (main): Add a location for a fast tracepoint.
866 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
867 the normal tracepoints.
868 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
869
045ccf91
SM
8702015-11-23 Simon Marchi <simon.marchi@ericsson.com>
871
872 * save-trace.exp: Factor out code to these...
873 (gdb_save_tracepoints): New.
874 (gdb_load_tracepoints): New.
875 (do_save_load_test): New.
876
5506f9f6
KB
8772015-11-23 Kevin Buettner <kevinb@redhat.com>
878
879 * gdb.base/asmlabel.exp: New test.
880 * gdb.base/asmlabel.c: New test case.
881
16c3b12f
JB
8822015-11-23 Joel Brobecker <brobecker@adacore.com>
883
884 * gdb.base/wrong_frame_bt_full-main.c: New file.
885 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
886 * gdb.base/wrong_frame_bt_full.exp: New file.
887
155bfbd3
JB
8882015-11-23 Joel Brobecker <brobecker@adacore.com>
889
890 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
891
bb097445
JM
8922015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
893
206853a0 894 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
895 pstate register when comparing registers values in
896 sparc64-*-linux-gnu targets to avoid spurious differences.
897
9c88ed8f
JM
8982015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
899
206853a0 900 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 901
96161e25
SL
9022015-11-19 Sandra Loosemore <sandra@codesourcery.com>
903
904 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
905 as type argument to gdb_compile.
906 * gdb.base/nested-subp2.exp: Likewise.
907 * gdb.base/nested-subp3.exp: Likewise.
908
340c2830
DV
9092015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
910
911 * lib/dwarf.exp (_note): Fix left shift of negative value.
912 * gdb.trace/trace-condition.exp: Likewise.
913
c1862d0f
YQ
9142015-11-13 Yao Qi <yao.qi@linaro.org>
915
916 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
917 comments about d10v.
918 (test_scalar_returns): Likewise.
919 * gdb.base/d10v.ld: Remove.
920 * gdb.base/overlays.exp: Remove the target triplet checking for
921 d10v-*-*.
922 * gdb.base/structs.exp (test_struct_returns): Remove the
923 comments about d10v.
924 (test_struct_calls): Likewise.
925
77ae9c19
YQ
9262015-11-13 Yao Qi <yao.qi@linaro.org>
927
928 * gdb.base/gnu_vector.exp: Check the return value by "p res".
929 * gdb.base/gnu_vector.c: Don't include stdio.h.
930 (main): Don't print res and call add_some_intvecs.
931
430e004e
MK
9322015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
933
934 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
935 macro.
936 (func5): Removed.
937 (func4): Use FAST_TRACEPOINT_LABEL.
938 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
939 macro.
940 (func): Removed.
941 (thread_function): Use FAST_TRACEPOINT_LABEL.
942 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
943 (func): Remove.
944 (marker): Use FAST_TRACEPOINT_LABEL.
945 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
946 (pendfunc1): Remove.
947 (pendfunc): Use FAST_TRACEPOINT_LABEL.
948 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
949 (foo): Remove.
950 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
951 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
952 macro.
953 (func): Remove.
954 (marker): Use FAST_TRACEPOINT_LABEL.
955 * gdb.trace/trace-common.h: New header.
956 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
957 macro.
958 (func): Remove.
959 (marker): Use FAST_TRACEPOINT_LABEL.
960 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
961 (func): Remove.
962 (thread_function): Use FAST_TRACEPOINT_LABEL.
963
6e7675a7
MK
9642015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
965
966 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
967 in front.
968 * gdb.trace/change-loc.exp: Use global pcreg definition.
969 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
970 * gdb.trace/entry-values.exp: Use global spreg definition, add $
971 in front.
972 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
973 * gdb.trace/pending.exp: Likewise.
974 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
975 * gdb.trace/trace-break.exp: Likewise.
976 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
977 in front.
978 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
979 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
980 in front.
981 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
982
dddc0e16
JB
9832015-11-09 Joel Brobecker <brobecker@adacore.com>
984
985 * gdb.ada/fin_fun_out: New testcase.
986
c6f0b406
KB
9872015-11-07 Kevin Buettner <kevinb@redhat.com>
988
989 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
990 value associated with DW_AT_byte_size.
991 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
992 constants for DW_AT_byte_size, DW_AT_lower_bound, and
993 DW_AT_upper_bound.
994
f01dcfd9
KB
9952015-11-07 Kevin Buettner <kevinb@redhat.com>
996
997 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
998 (gdb_target_symbol_prefix_flags): Define in terms of _asm
999 version.
1000 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1001 gdb.dwarf2/dw2-canonicalize-type.exp,
1002 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1003 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1004 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1005 provided by gdb_target_symbol_prefix_flags_asm.
1006 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1007 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1008 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1009 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1010 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1011 macros where needed). Use this macro for symbols which require
1012 the prefix provided by SYMBOL_PREFIX.
1013
2223449a
KB
10142015-11-05 Kevin Buettner <kevinb@redhat.com>
1015
1016 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1017 New procs.
1018 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1019 representing expressions, of more than one list element.
1020 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1021 to prepend linker symbol prefix to f.
1022 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1023 table_1 and table_2.
1024 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1025 Likewise, for f and g.
1026 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1027 for ptr.
1028 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1029 for main.
1030 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1031 table_1_ptr and table_2_ptr.
1032
6f2f1a3a
JK
10332015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1034 Joel Brobecker <brobecker@adacore.com>
1035
1036 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1037
566c56c9
MK
10382015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
1039
1040 * gdb.reverse/s390-mvcle.c: New test.
1041 * gdb.reverse/s390-mvcle.exp: New file.
1042 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1043
d5f0636b
MK
10442015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1045
1046 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1047
7ad8b86c
MK
10482015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1049
1050 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1051 reaching marker2.
1052 * gdb.reverse/getresuid-reverse.exp: Likewise.
1053 * gdb.reverse/pipe-reverse.exp: Likewise.
1054 * gdb.reverse/readv-reverse.exp: Likewise.
1055 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1056 * gdb.reverse/time-reverse.exp: Likewise.
1057 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1058
4081c0f1
YQ
10592015-10-30 Yao Qi <yao.qi@linaro.org>
1060
1061 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1062 (empty_cycle): Remove.
1063 (main): Don't call empty_cycle. Don't use watch_count_done.
1064 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1065 empty_cycle. Rewrite the code counting HW watchpoints.
1066
452b4ba5
MK
10672015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
1068
1069 * gdb.reverse/fstatat-reverse.c: New test.
1070 * gdb.reverse/fstatat-reverse.exp: New file.
1071 * gdb.reverse/getresuid-reverse.c: New test.
1072 * gdb.reverse/getresuid-reverse.exp: New file.
1073 * gdb.reverse/pipe-reverse.c: New test.
1074 * gdb.reverse/pipe-reverse.exp: New file.
1075 * gdb.reverse/readv-reverse.c: New test.
1076 * gdb.reverse/readv-reverse.exp: New file.
1077 * gdb.reverse/recvmsg-reverse.c: New test.
1078 * gdb.reverse/recvmsg-reverse.exp: New file.
1079 * gdb.reverse/time-reverse.c: New test.
1080 * gdb.reverse/time-reverse.exp: New file.
1081 * gdb.reverse/waitpid-reverse.c: New test.
1082 * gdb.reverse/waitpid-reverse.exp: New file.
1083
5e2e7507
JK
10842015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1085
1086 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1087
0fde2c53
DE
10882015-10-26 Doug Evans <dje@google.com>
1089
1090 PR symtab/17391
1091 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1092 * gdb.dwarf2/bad-regnum.c: New file.
1093 * gdb.dwarf2/bad-regnum.exp: New file.
1094
1a70ae97
DE
10952015-10-26 Doug Evans <dje@google.com>
1096
1097 PR python/18938
1098 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1099 file.
1100
27dc26ab
JK
11012015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1102
1103 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1104 for a change by "Mention language in compile error message".
1105
bed91f4d
SM
11062015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1107
1108 PR python/18073
1109 * gdb.python/py-type.c (C::a_method): New.
1110 (C::a_const_method): New.
1111 (C::a_static_method): New.
1112 (a_function): New.
1113 * gdb.python/py-type.exp (test_fields): Test getting fields
1114 from function and method.
1115
3f2f83dd
KB
11162015-10-21 Keven Boell <keven.boell@intel.com>
1117
1118 * gdb.fortran/vla-alloc-assoc.exp: New file.
1119 * gdb.fortran/vla-datatypes.exp: New file.
1120 * gdb.fortran/vla-datatypes.f90: New file.
1121 * gdb.fortran/vla-history.exp: New file.
1122 * gdb.fortran/vla-ptype-sub.exp: New file.
1123 * gdb.fortran/vla-ptype.exp: New file.
1124 * gdb.fortran/vla-sizeof.exp: New file.
1125 * gdb.fortran/vla-sub.f90: New file.
1126 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1127 * gdb.fortran/vla-value-sub-finish.exp: New file.
1128 * gdb.fortran/vla-value-sub.exp: New file.
1129 * gdb.fortran/vla-value.exp: New file.
1130 * gdb.fortran/vla-ptr-info.exp: New file.
1131 * gdb.mi/mi-vla-fortran.exp: New file.
1132 * gdb.mi/vla.f90: New file.
1133
27145d50
SL
11342015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1135
1136 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1137 of hardwired timeout value.
1138
5f3ff4f8
JK
11392015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1140 Pedro Alves <palves@redhat.com>
1141
1142 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1143 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1144
bfd09d20
JS
11452015-10-19 Josh Stone <jistone@redhat.com>
1146
1147 * gdb.base/catch-syscall.c: Include <sched.h>.
1148 (unknown_syscall): New variable.
1149 (main): Trigger a vfork and an unknown syscall.
1150 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1151 (unknown_syscall_number): Likewise.
1152 (check_call_to_syscall): Accept an optional syscall pattern.
1153 (check_return_from_syscall): Likewise.
1154 (check_continue): Likewise.
1155 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1156 (test_catch_syscall_skipping_return): New test toggling off 'catch
1157 syscall' to step over the syscall return, then toggling back on.
1158 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1159 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1160 (do_syscall_tests): Call test_catch_syscall_without_args and
1161 test_catch_syscall_mid_vfork.
1162 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1163 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1164
b32b93c6
AS
11652015-10-19 Andrew Stubbs <ams@codesourcery.com>
1166
1167 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1168 print g_vE): Add new pass patterns.
1169 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1170 print various symbol names for vptr fields.
1171
9d622bda
AB
11722015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1173
1174 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1175 results.
1176
0fd8ac1c
YQ
11772015-10-12 Yao Qi <yao.qi@linaro.org>
1178
1179 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1180
34240514
YQ
11812015-10-12 Yao Qi <yao.qi@linaro.org>
1182
1183 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1184 is aarch64*-*-linux*.
1185
8240f442
YQ
11862015-10-12 Yao Qi <yao.qi@linaro.org>
1187
1188 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1189 (can_relocate_bcond_true): ... it.
1190 (can_relocate_bcond_false): New function.
1191 (foo): Likewise.
1192 (can_relocate_bl): Likewise.
1193 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1194 can_relocate_bl.
1195
2520f728
PMR
11962015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1197
1198 * gdb.base/nested-addr.c: New file.
1199 * gdb.base/nested-addr.exp: New testcase.
1200
abcef95a
MM
12012015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1202
1203 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1204 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1205 its output. Ignore the output of "record goto begin" and instead
1206 check that GDB is replaying.
1207
145e3ddb
PA
12082015-10-09 Pedro Alves <palves@redhat.com>
1209
1210 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1211 (top level): Use it in the run with no args test.
1212
d5d8c4e1
IB
12132015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1214
1215 * gdb.dlang/properties.exp: New file.
1216
06e635ef
SL
12172015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1218
1219 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1220 whether or not address 0x1000 is mapped on the target.
1221
e019fd1d
SM
12222015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1223
1224 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1225 build.
1226
77ba2a67
MM
12272015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1228
1229 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1230 instruction-history test.
1231
c60eb31f
DE
12322015-09-28 Doug Evans <dje@google.com>
1233
1234 * gdb.base/gcore.c (array_func): Add reference to static_array.
1235
9a3c8263
SM
12362015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1237
1238 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1239 source line.
1240
9720e656
SL
12412015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1242
1243 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1244 short or char as base type.
1245
938d3bf2
SL
12462015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1247
1248 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1249 to allow any size enum.
1250
e6c2c623
PMR
12512015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1252
1253 * gdb.ada/array_ptr_renaming.exp: New testcase.
1254 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1255 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1256
06da0f77
PL
12572015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1258
1259 * gdb.trace/ftrace-lock.c: New file.
1260 * gdb.trace/ftrace-lock.exp: New file.
1261
4f51c22a
PL
12622015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1263
1264 * gdb.arch/insn-reloc.c: New file.
1265 * gdb.arch/ftrace-insn-reloc.exp: New file.
1266
7041adf4
PL
12672015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1268
1269 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1270 instruction.
1271 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1272 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1273 * gdb.trace/range-stepping.c: Likewise.
1274 * gdb.trace/trace-break.c: Likewise.
1275 * gdb.trace/trace-mt.c (thread_function): Likewise.
1276 * gdb.trace/ftrace.c (marker): Likewise.
1277 * gdb.trace/trace-condition.c (marker): Likewise.
1278 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1279 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1280 is_aarch64_target.
1281
015d2e7e
DE
12822015-09-18 Doug Evans <xdje42@gmail.com>
1283
1284 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1285 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1286
26b188a2
SL
12872015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1288
1289 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1290 the breakpoint.
1291
79dc332b
SL
12922015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1293
1294 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1295 the pending breakpoint. Remove timeout override for "Run till
1296 MI pending breakpoint on pendfunc3 on thread 2" test.
1297
f57929f2
SL
12982015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1299
1300 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1301 filename pattern.
1302
3f469b17
SL
13032015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1304
1305 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1306 in breakpoint filename pattern.
1307
515b89b3
SL
13082015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1309
7800dbe4
SL
1310 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1311
13122015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1313
515b89b3
SL
1314 * gdb.linespec/explicit.exp: Check for readline support for
1315 tab-completion tests. Fix obvious typo.
1316
d2939ba2
MM
13172015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1318
1319 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1320 and replay.
1321
cbb55fa7
MM
13222015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1323
1324 * gdb.btrace/non-stop.c: New.
1325 * gdb.btrace/non-stop.exp: New.
1326
43691ca1
PL
13272015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1328 Yao Qi <yao.qi@linaro.org>
1329
1330 * gdb.trace/trace-condition.c: New file.
1331 * gdb.trace/trace-condition.exp: New file.
1332
d78908cf
WW
13332015-09-16 Wei-cheng Wang <cole945@gmail.com>
1334
1335 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1336 for testing bytecode compilation.
1337
1ed415e2
PA
13382015-09-16 Pedro Alves <palves@redhat.com>
1339 Sandra Loosemore <sandra@codesourcery.com>
1340
1341 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1342 (SECONDS): Redefine.
1343 (main): Call pthread_kill and alarm early.
1344 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1345 support.
1346 (test): If the target can't hardware step and doesn't support
1347 displaced stepping, increase the timeout.
1348
d136eff5
PA
13492015-09-16 Pedro Alves <palves@redhat.com>
1350
1351 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1352 (enable_debug): New procedures.
1353 (test): Use them. Bail out if waiting for threads fails.
1354 (top level): Bail out if a test fails.
1355
991f019c
YQ
13562015-09-16 Yao Qi <yao.qi@linaro.org>
1357
1358 * gdb.asm/asm-source.exp: Set asm-arch for
1359 aarch64*-*-* target.
1360 * gdb.asm/aarch64.inc: New file.
1361
bfca584f
PMR
13622015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1363
1364 * gdb.ada/array_of_variable_length.exp: New testcase.
1365 * gdb.ada/array_of_variable_length/foo.adb: New file.
1366 * gdb.ada/array_of_variable_length/pck.adb: New file.
1367 * gdb.ada/array_of_variable_length/pck.ads: New file.
1368
b326e587
DE
13692015-09-15 Doug Evans <dje@google.com>
1370
1371 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1372 of function static local variable.
1373
5382cfab
PW
13742015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1375
1376 * gdb.threads/tls-so_extern.exp: New test file.
1377 * gdb.threads/tls-so_extern.c: New test file.
1378 * gdb.threads/tls-so_extern_main.c: New test file.
1379
141c5cc4
JK
13802015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1381
1382 * gdb.opt/solib-intra-step-lib.c: New file.
1383 * gdb.opt/solib-intra-step-main.c: New file.
1384 * gdb.opt/solib-intra-step.exp: New file.
1385
d15dcecd
PA
13862015-09-15 Pedro Alves <palves@redhat.com>
1387
1388 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1389 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1390
4c2f2a79
PA
13912015-09-14 Pedro Alves <palves@redhat.com>
1392
1393 * gdb.base/hook-stop-continue.c: Delete.
1394 * gdb.base/hook-stop-continue.exp: Delete.
1395 * gdb.base/hook-stop-frame.c: Delete.
1396 * gdb.base/hook-stop-frame.exp: Delete.
1397 * gdb.base/hook-stop.c: New file.
1398 * gdb.base/hook-stop.exp: New file.
1399
919e6dbe
PMR
14002015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1401
1402 * gdb.ada/access_to_packed_array.exp: New testcase.
1403 * gdb.ada/access_to_packed_array/foo.adb: New file.
1404 * gdb.ada/access_to_packed_array/pack.adb: New file.
1405 * gdb.ada/access_to_packed_array/pack.ads: New file.
1406
157280a4
MM
14072015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1408
1409 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1410 buffer size test.
1411
2fd33e94
DB
14122015-09-11 Don Breazeal <donb@codesourcery.com>
1413
1414 * gdb.base/foll-exec.c: Add copyright header. Fix
1415 formatting issues.
1416 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1417 (do_exec_tests): Use clean_restart in place of zap_session,
1418 and for test initialization. Fix formatting issues. Use
1419 fail in place of perror.
1420 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1421 an expect statement to match an expression with output from
1422 the program under debug.
1423 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1424 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1425 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1426 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1427 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1428
e70b6e8e
DE
14292015-09-09 Doug Evans <dje@google.com>
1430
1431 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1432
7a551a51
DE
14332015-09-09 Doug Evans <dje@google.com>
1434
1435 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1436
4c666f84
DE
14372015-09-09 Doug Evans <dje@google.com>
1438
1439 * gdb.base/savedregs.exp: Fix typo.
1440
243a9253
PA
14412015-09-09 Pedro Alves <palves@redhat.com>
1442
1443 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1444
c0fa8fbd
SL
14452015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1446
1447 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1448 command actually switches threads. Give up on remaining
1449 tests if target fails to stop at breakpoint.
1450
cd7c1778
PMR
14512015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1452
1453 * gdb.ada/funcall_char.exp: New testcase.
1454 * gdb.ada/funcall_char/foo.adb: New file.
1455
dc5c8746
PMR
14562015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1457
1458 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1459 expected outputs. Add two testcases for completing ambiguous
1460 functions.
1461 * gdb.ada/complete/aux_pck.adb: New file.
1462 * gdb.ada/complete/aux_pck.ads: New file.
1463 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1464 Ambiguous_Func functions.
1465 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1466 * gdb.ada/complete/pck.adb: Likewise.
1467
4e83a1e7
UW
14682015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1469
1470 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1471 failures to run the test program under GDB.
1472
8ce74153
LM
14732015-08-26 Luis Machado <lgustavo@codesourcery.com>
1474
1475 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1476 to C.
1477
e9756d52
PP
14782015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1479
1480 * gdb.base/run-after-attach.exp: New test file.
1481 * gdb.base/run-after-attach.c: New test file.
1482
8d37573b
DB
14832015-08-26 Don Breazeal <donb@codesourcery.com>
1484
1485 * gdb.base/foll-exec-2.c: New test program.
1486 * gdb.base/foll-exec-2.exp: New test.
1487
63e43d3a
PMR
14882015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1489
1490 * gdb.base/nested-subp1.exp: New file.
1491 * gdb.base/nested-subp1.c: New file.
1492 * gdb.base/nested-subp2.exp: New file.
1493 * gdb.base/nested-subp2.c: New file.
1494 * gdb.base/nested-subp3.exp: New file.
1495 * gdb.base/nested-subp3.c: New file.
1496
3d40fbb5
PA
14972015-08-24 Pedro Alves <palves@redhat.com>
1498
1499 * gdb.server/connect-without-multi-process.c: New file.
1500 * gdb.server/connect-without-multi-process.exp: New file.
1501
4422ac93
LM
15022015-08-24 Luis Machado <lgustavo@codesourcery.com>
1503
1504 * gdb.opt/inline-markers.c: Make z int.
1505
91dddb86
LM
15062015-08-24 Luis Machado <lgustavo@codesourcery.com>
1507
1508 * gdb.opt/inline-markers.c: Make z volatile.
1509
a48847ee
LM
15102015-08-24 Luis Machado <lgustavo@codesourcery.com>
1511
1512 * gdb.opt/inline-bt.c: New volatile global z.
1513 * gdb.opt/inline-cmds.c: Likewise.
1514 * gdb.opt/inline-locals.c: Likewise.
1515 * gdb.opt/inline-markers.c: New extern global z.
1516 (marker): Use z.
1517 (inline_fn): Likewise.
1518
0ebbc52b
PA
15192015-08-24 Pedro Alves <palves@redhat.com>
1520
1521 * config/m32r-stub.exp: Remove file.
1522 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1523 * gdb.base/call-rt-st.exp: Likewise.
1524 * gdb.base/call-strs.exp: Likewise.
1525 * gdb.base/default.exp: Remove references to h8300-*-hms and
1526 *-*-udi*.
1527 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1528
77c365df
AA
15292015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1530
1531 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1532 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1533 and "return" use KFAIL when GDB can not read/write the vector
1534 return value.
1535
4313b8c0
GB
15362015-08-21 Gary Benson <gbenson@redhat.com>
1537
1538 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1539
0e433b32
PA
15402015-08-20 Pedro Alves <palves@redhat.com>
1541
1542 * gdb.server/solib-list.exp: No longer expect an interior stop in
1543 non-stop mode.
1544
221e1a37
PA
15452015-08-20 Pedro Alves <palves@redhat.com>
1546
1547 * gdb.server/connect-stopped-target.c: New file.
1548 * gdb.server/connect-stopped-target.exp: New file.
1549
40e3ad0e
PA
15502015-08-20 Pedro Alves <palves@redhat.com>
1551
1552 * gdb.dwarf2/comp-unit-lang.exp: New file.
1553 * gdb.dwarf2/comp-unit-lang.c: New file.
1554
af39b327
PMR
15552015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1556
1557 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1558 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1559
7d45c7c3 15602015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 1561
7d45c7c3
KB
1562 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1563 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1564
4d6cceb4
DE
15652015-08-18 Doug Evans <dje@google.com>
1566 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1567
1568 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1569 skip_python_tests. New arg prompt_regexp.
1570 (skip_python_tests): New function.
1571 * lib/mi-support.exp (mi_skip_python_tests): New function.
1572 * gdb.python/py-mi-objfile-gdb.py: New file.
1573 * gdb.python/py-mi-objfile.c: New file.
1574 * gdb.python/py-mi-objfile.exp: New file.
1575
ad89c2aa
KS
15762015-08-17 Keith Seitz <keiths@redhat.com>
1577
1578 * gdb.linespec/explicit.exp: Move strace test from here ...
1579 * gdb.trace/strace.exp: ... to here.
1580
e3ae3c43
PP
15812015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1582
1583 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1584 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1585
604b2636
DE
15862015-08-14 Doug Evans <xdje42@gmail.com>
1587
1588 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
1589 inferior before selecting a new file.
1590
6ff0ba5f
DE
15912015-08-14 Doug Evans <xdje42@gmail.com>
1592
1593 * gdb.mi/mi-disassemble.exp: Update.
1594 * gdb.base/disasm-optim.S: New file.
1595 * gdb.base/disasm-optim.c: New file.
1596 * gdb.base/disasm-optim.h: New file.
1597 * gdb.base/disasm-optim.exp: New file.
1598
9ca98f92
KS
15992015-08-14 Keith Seitz <keiths@redhat.com>
1600
1601 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
1602 "evaluated-by".
1603
52bbc560
JB
16042015-08-13 Joel Brobecker <brobecker@adacore.com>
1605
1606 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
1607
5d8c3ed3
PMR
16082015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
1609
1610 * gdb.ada/fun_renaming.exp: New testcase.
1611 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
1612 * gdb.ada/fun_renaming/pack.adb: New file.
1613 * gdb.ada/fun_renaming/pack.ads: New file.
1614
ea8812bc
KS
16152015-08-12 Keith Seitz <keiths@redhat.com>
1616
1617 * gdb.base/dso2dso.exp: Pass basename of source file in call to
1618 gdb_get_line_number.
1619
4dafcdeb
JB
16202015-08-12 Joel Brobecker <brobecker@adacore.com>
1621
1622 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
1623 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
1624 gdb.base/dso2dso.exp: New files.
1625
5ba32597
SDJ
16262015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
1627 Pedro Alves <palves@redhat.com>
1628 Keith Seitz <keiths@redhat.com>
1629
1630 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
1631 GDBFLAGS.
1632
b6dafabf
PP
16332015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1634
1635 * gdb.base/gdbhistsize-history.exp
1636 (test_histsize_history_setting): Use save_vars.
1637 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1638 Use save_vars.
1639 (test_no_truncation_of_unlimited_history_file): Use save_vars.
1640 * gdb.base/readline.exp: Use save_vars.
1641
abe8e607
PP
16422015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1643
1644 * lib/gdb.exp (save_vars): New proc.
1645
629500fa
KS
16462015-08-11 Keith Seitz <keiths@redhat.com>
1647
1648 * gdb.base/help.exp: Update help_breakpoint_text.
1649
eb8c4e2e
KS
16502015-08-11 Keith Seitz <keiths@redhat.com>
1651
1652 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
1653 (at toplevel): Call test_explicit_breakpoints.
1654 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
1655 breakpoints.
1656 * lib/mi-support.exp (mi_make_breakpoint): Add support for
1657 breakpoint conditions, "-cond".
1658
87f0e720
KS
16592015-08-11 Keith Seitz <keiths@redhat.com>
1660
1661 * gdb.linespec/3explicit.c: New file.
1662 * gdb.linespec/cpexplicit.cc: New file.
1663 * gdb.linespec/cpexplicit.exp: New file.
1664 * gdb.linespec/explicit.c: New file.
1665 * gdb.linespec/explicit.exp: New file.
1666 * gdb.linespec/explicit2.c: New file.
1667 * gdb.linespec/ls-errs.exp: Add explicit location tests.
1668 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
1669 before using in the matching pattern.
1670 Clarify that `prefix' is a regular expression.
1671
f00aae0f
KS
16722015-08-11 Keith Seitz <keiths@redhat.com>
1673
1674 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
1675 test.
1676 Add tests for missing ",FMT" and ",".
1677
e27852be
DE
16782015-08-10 Doug Evans <dje@google.com>
1679 Keith Seitz <keiths@redhat.com>
1680
1681 PR gdb/17960
1682 * gdb.base/completion.exp: Add location completer tests.
1683
7f03bd92
PA
16842015-08-07 Pedro Alves <palves@redhat.com>
1685
1686 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
1687 tests here.
1688 (top level): Run do_test with and without displaced stepping.
1689
3fc8eb30
PA
16902015-08-07 Pedro Alves <palves@redhat.com>
1691
1692 * gdb.base/valgrind-disp-step.c: New file.
1693 * gdb.base/valgrind-disp-step.exp: New file.
1694
d4569d7b
PA
16952015-08-07 Pedro Alves <palves@redhat.com>
1696
1697 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
1698 Delete function.
1699 (main): Add alarm. Run an infinite loop instead of calling
1700 wait_threads.
1701 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
1702 comment.
1703 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
1704 Delete function.
1705 (main): Add alarm. Run an infinite loop instead of calling
1706 wait_threads.
1707 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
1708 comment.
1709
e1316e60
PA
17102015-08-07 Pedro Alves <palves@redhat.com>
1711
1712 * gdb.base/checkpoint-ns.exp: New file.
1713 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
1714 standard_testfile.
1715
da8c46d2
MM
17162015-08-07 Markus Metzger <markus.t.metzger@intel.com>
1717
1718 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
1719 * gdb.btrace/instruction_history.exp: Update.
1720 * gdb.btrace/tsx.exp: New.
1721 * gdb.btrace/tsx.c: New.
1722
de1c2c52
PA
17232015-08-06 Pedro Alves <palves@redhat.com>
1724
1725 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
1726 increase timeout.
1727 * gdb.reverse/until-precsave.exp: Bump timeouts.
1728
782e0bf4
PA
17292015-08-06 Pedro Alves <palves@redhat.com>
1730
1731 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
1732
83e97ed0
PA
17332015-08-06 Pedro Alves <palves@redhat.com>
1734
1735 PR gdb/18749
1736 * gdb.threads/process-dies-while-handling-bp.c: New file.
1737 * gdb.threads/process-dies-while-handling-bp.exp: New file.
1738
863d01bd
PA
17392015-08-06 Pedro Alves <palves@redhat.com>
1740
1741 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
1742 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
1743
0a39bb32
PA
17442015-08-05 Pedro Alves <palves@redhat.com>
1745
1746 * gdb.threads/next-while-other-thread-longjmps.c: New file.
1747 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
1748
ee2d2b10
SL
17492015-08-03 Sandra Loosemore <sandra@codesourcery.com>
1750
1751 * gdb.base/bp-permanent.exp: Report test as unsupported if
1752 the target cannot stop at the permanent breakpoint.
1753
4e1bdb00
DE
17542015-08-03 Doug Evans <dje@google.com>
1755
1756 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
1757 10000.
1758
3d338901
DE
17592015-08-03 Doug Evans <dje@google.com>
1760
1761 * Makefile.in (workers/%.worker, build-perf): New rule.
1762 (GDB_PERFTEST_MODE): New variable.
1763 (check-perf): Use it.
1764 (clean): Clean up gdb.perf parallel build subdirs.
1765 * lib/build-piece.exp: New file.
1766 * lib/gdb.exp (make_gdb_parallel_path): New function
1767 (standard_output_file, standard_temp_file): Call it.
1768 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1769 of $GDB_PARALLEL.
1770 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
1771
af061d3e
DE
17722015-08-03 Doug Evans <dje@google.com>
1773
8e1afc81 1774 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
1775 (LOG_FILE_NAME): New global.
1776 (TextReporter.__init__): Initialize self.txt_sum.
1777 (TextReporter.report): Add support for multiple data-points.
1778 Move report to perftest.sum, put raw data in perftest.log.
1779 (TextReporter.start): Open sum and log files.
1780 (TextReporter.end): Close sum and log files.
8e1afc81
DE
1781 * gdb.perf/lib/perftest/testresult.py
1782 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 1783
2c8c5d37
PA
17842015-07-31 Pedro Alves <palves@redhat.com>
1785
1786 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
1787 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1788 kill_wait_spawned_process instead of explicit "kill -9".
1789 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
1790 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1791 kill_wait_spawned_process.
1792 * gdb.base/attach-twice.exp: Likewise.
1793 * gdb.base/attach.exp: Likewise.
1794 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
1795 gdb_test_multiple.
1796 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
1797 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1798 kill_wait_spawned_process.
1799 * gdb.base/valgrind-infcall.exp: Likewise.
1800 * gdb.multi/multi-attach.exp: Likewise.
1801 * gdb.python/py-prompt.exp: Likewise.
1802 * gdb.python/py-sync-interp.exp: Likewise.
1803 * gdb.server/ext-attach.exp: Likewise.
1804 * gdb.threads/attach-into-signal.exp (corefunc): Use
1805 spawn_wait_for_attach, spawn_id_get_pid and
1806 kill_wait_spawned_process.
1807 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
1808 spawn_wait_for_attach returning a spawn id instead of a pid. Use
1809 spawn_id_get_pid and kill_wait_spawned_process.
1810 * gdb.threads/attach-stopped.exp (corefunc): Use
1811 spawn_wait_for_attach, spawn_id_get_pid and
1812 kill_wait_spawned_process.
1813 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
1814 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1815 kill_wait_spawned_process instead of explicit "kill -9".
1816 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
1817 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
1818 (spawn_wait_for_attach): Use spawn instead of exec to spawn
1819 processes. Don't map cygwin/windows pids here. Now returns a
1820 spawn id list.
1821
032a0fca
SL
18222015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1823
1824 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
1825 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
1826 correct patch.
1827
61a934ca
SL
18282015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1829
1830 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
1831
4bc4d428
SL
18322015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1833
1834 Reapply:
1835 2014-05-21 Mark Wielaard <mjw@redhat.com>
1836
1837 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1838
998d452a
PA
18392015-07-30 Pedro Alves <palves@redhat.com>
1840
1841 * linux-low.c (handle_extended_wait): Set the child's last
1842 reported status to TARGET_WAITKIND_STOPPED.
1843
69dde7dc
PA
18442015-07-30 Pedro Alves <palves@redhat.com>
1845
1846 PR threads/18600
1847 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
1848 only shows inferior 1.
1849
4dd63d48
PA
18502015-07-30 Simon Marchi <simon.marchi@ericsson.com>
1851 Pedro Alves <palves@redhat.com>
1852
1853 PR threads/18600
1854 * gdb.threads/fork-plus-threads.c: New file.
1855 * gdb.threads/fork-plus-threads.exp: New file.
1856
d618e4c5
PP
18572015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1858
1859 * gdb.base/batch-preserve-term-settings.exp
1860 (test_terminal_settings_preserved_after_cli_exit): Use
1861 send_quit_command.
1862
1eef6428
PA
18632015-07-29 Pedro Alves <palves@redhat.com>
1864 Don Breazeal <donb@codesourcery.com>
1865
1866 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
1867 output from both inferior_spawn_id and gdb_spawn_id.
1868
7da5b897
SDJ
18692015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1870
1871 * gdb.threads/attach-into-signal.exp (corefunc): Use
1872 with_test_prefix on nested loops, uniquefying the test messages.
1873
dac804df
SDJ
18742015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1875
1876 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
1877 commit.
1878
06265e53
PP
18792015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1880
1881 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
1882 New proc.
1883 (test_terminal_settings_preserved_after_sigterm): New test.
1884
18206ca3
PP
18852015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1886
1887 * gdb.base/batch-preserve-term-settings.exp
1888 (test_terminal_settings_preserved_after_cli_exit): New test.
1889
90074d11
PP
18902015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1891
1892 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
1893 manipulation of saved_gdbflags.
1894 (test_terminal_settings_preserved): Remove global declaration of
1895 the unused variable pagination_prompt. Remove manipulation of
1896 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
1897 GDBFLAGS.
1898
eb1a7902
PA
18992015-07-29 Pedro Alves <palves@redhat.com>
1900
1901 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
1902
8b75dd3b
PA
19032015-07-29 Pedro Alves <palves@redhat.com>
1904
1905 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
1906 at the top.
1907
dedad4e3
PA
19082015-07-29 Pedro Alves <palves@redhat.com>
1909
1910 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
1911 (main): Call gdb_unbuffer_output.
1912 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
1913 (main): Call gdb_unbuffer_output.
1914 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
1915 (main): Call gdb_unbuffer_output.
1916 * gdb.base/call-strs.exp: Adjust to step over the
1917 gdb_unbuffer_output call.
1918 * gdb.base/catch-gdb-caused-signals.c: Include
1919 "../lib/unbuffer_output.c".
1920 (main): Call gdb_unbuffer_output.
1921 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
1922 (main): Call gdb_unbuffer_output.
1923 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
1924 (main): Call gdb_unbuffer_output.
1925 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
1926 (main): Call gdb_unbuffer_output.
1927 * gdb.base/shlib-call.exp: Adjust to step over the
1928 gdb_unbuffer_output call.
1929 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
1930 (main): Call gdb_unbuffer_output.
1931 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
1932 (main): Call gdb_unbuffer_output.
1933 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
1934 (main): Rename to ...
1935 (test): ... this.
1936 (main): Reimplement.
1937 * gdb.base/varargs.exp: Run to test instead of to main.
1938 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
1939 (main): Call gdb_unbuffer_output.
1940
58789a91
PA
19412015-07-29 Pedro Alves <palves@redhat.com>
1942
1943 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
1944 factore out from mi_continue_dprintf. For call-style dprintfs,
1945 expect dprintf output out of $inferior_spawn_id.
1946 (mi_continue_dprintf): Use mi_expect_dprintf.
1947 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
1948 (main): Call gdb_unbuffer_output.
1949
e8376742
PA
19502015-07-29 Pedro Alves <palves@redhat.com>
1951
1952 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
1953 (default_mi_gdb_start): Set inferior_spawn_id instead of
1954 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
1955 gdb_spawn_id.
1956 (mi_gdb_test): Always expect inferior output from both
1957 $inferior_spawn_id and $gdb_spawn_id.
1958
08280010
PA
19592015-07-29 Pedro Alves <palves@redhat.com>
1960
1961 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
1962 send_inferior and $inferior_spawn_id.
1963
4d30e432
PA
19642015-07-29 Pedro Alves <palves@redhat.com>
1965
1966 * gdb.gdb/complaints.exp (test_initial_complaints)
1967 (test_serial_complaints, test_short_complaints): Use
1968 gdb_test_stdio.
1969 (test_empty_complaint): Handle $inferior_spawn_id !=
1970 $gdb_spawn_id.
1971
0d30a335
PA
19722015-07-29 Pedro Alves <palves@redhat.com>
1973
1974 * gdb.base/varargs.exp: Use gdb_test_stdio.
1975
39413b29
PA
19762015-07-29 Pedro Alves <palves@redhat.com>
1977
1978 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
1979
7cb000a9
PA
19802015-07-29 Pedro Alves <palves@redhat.com>
1981
1982 * gdb.base/ending-run.exp: Use gdb_test_stdio.
1983
d7b8ac82
PA
19842015-07-29 Pedro Alves <palves@redhat.com>
1985
1986 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
1987 parameter into two new parameters, "inf_result" and "gdb_result".
1988 Expect inferior output and gdb output from $inferior_spawn_id and
1989 $gdb_spawn_id, respectively. Adjust all callers.
1990
789c3a0c
PA
19912015-07-29 Pedro Alves <palves@redhat.com>
1992
1993 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
1994 of gdb_test_sequence.
1995
77e760c3
PA
19962015-07-29 Pedro Alves <palves@redhat.com>
1997
1998 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
1999 (saw_spurious_output): Expect inferior output from
2000 $inferior_spawn_id. Use gdb_test_stdio.
2001
8396d2cd
PA
20022015-07-29 Pedro Alves <palves@redhat.com>
2003
2004 * gdb.base/dprintf.exp: Use standard_testfile. Change
2005 prepare_for_testing call.
2006 (srcfile): Don't set.
2007 (restart): New procedure.
2008 (test_dprintf): New procecure, use to continue over dprintfs.
2009 (test_call, test_agent): New procedures, tests moved here.
2010 Restart gdb and recreate dprintfs. Adjust expected output.
2011
2051d61f
PA
20122015-07-29 Pedro Alves <palves@redhat.com>
2013
2014 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2015
452397af
PA
20162015-07-29 Pedro Alves <palves@redhat.com>
2017
2018 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2019
8aed9555
PA
20202015-07-29 Pedro Alves <palves@redhat.com>
2021
2022 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2023 gdb_test_stdio.
2024
188a61b4
PA
20252015-07-29 Pedro Alves <palves@redhat.com>
2026
2027 * lib/gdb.exp (gdb_test_stdio): New procedure.
2028
12264a45
PA
20292015-07-29 Pedro Alves <palves@redhat.com>
2030
2031 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2032
23ffc893
PA
20332015-07-29 Pedro Alves <palves@redhat.com>
2034
2035 * gdb.base/call-signal-resume.exp: Remove check for
2036 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2037 * gdb.base/unwindonsignal.exp: Likewise.
2038 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2039 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2040
65566918
PA
20412015-07-29 Pedro Alves <palves@redhat.com>
2042
2043 * gdb.base/siginfo-addr.c (pass): New function.
2044 (handler): Call it iff si_addr is correct.
2045 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2046 Set a breakpoint at "pass" and continue to it.
2047
d60a9221
SDJ
20482015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2049
2050 * gdb.python/py-objfile.exp: Make some tests have unique names.
2051 * gdb.python/py-pp-registration.exp: Likewise.
2052
bde40b8f
PA
20532015-07-28 Pedro Alves <palves@redhat.com>
2054
2055 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2056
13e1dec8
SM
20572015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2058
2059 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2060
da33c9a7
SM
20612015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2062
2063 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2064
077836f7
PP
20652015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2066
2067 * gdb.base/gdb-sigterm-2.exp: New test.
2068
b8cc7b2e
DE
20692015-07-25 Doug Evans <xdje42@gmail.com>
2070
2071 Revert:
2072 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2073 (workers/%.worker, build-perf): New rule.
2074 (GDB_PERFTEST_MODE): New variable.
2075 (check-perf): Use it.
2076 (clean): Clean up gdb.perf parallel build subdirs.
2077 * lib/build-piece.exp: New file.
2078 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2079 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2080 name.
2081 (standard_temp_file): Ditto.
2082 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2083 of $GDB_PARALLEL.
2084
c8bd4544
DE
20852015-07-24 Doug Evans <dje@google.com>
2086
2087 * gdb.perf/lib/perftest/utils.py: New file.
2088 * gdb.perf/gm-hello.cc: New file.
2089 * gdb.perf/gm-pervasive-typedef.cc: New file.
2090 * gdb.perf/gm-pervasive-typedef.h: New file.
2091 * gdb.perf/gm-std.cc: New file.
2092 * gdb.perf/gm-std.h: New file.
2093 * gdb.perf/gm-use-cerr.cc: New file.
2094 * gdb.perf/gm-utils.h: New file.
2095 * gdb.perf/gmonster-null-lookup.py: New file.
2096 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2097 * gdb.perf/gmonster-print-cerr.py: New file.
2098 * gdb.perf/gmonster-ptype-string.py: New file.
2099 * gdb.perf/gmonster-runto-main.py: New file.
2100 * gdb.perf/gmonster-select-file.py: New file.
2101 * gdb.perf/gmonster1-null-lookup.exp: New file.
2102 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2103 * gdb.perf/gmonster1-print-cerr.exp: New file.
2104 * gdb.perf/gmonster1-ptype-string.exp: New file.
2105 * gdb.perf/gmonster1-runto-main.exp: New file.
2106 * gdb.perf/gmonster1-select-file.exp: New file.
2107 * gdb.perf/gmonster1.cc: New file.
2108 * gdb.perf/gmonster1.exp: New file.
2109 * gdb.perf/gmonster2-null-lookup.exp: New file.
2110 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2111 * gdb.perf/gmonster2-print-cerr.exp: New file.
2112 * gdb.perf/gmonster2-ptype-string.exp: New file.
2113 * gdb.perf/gmonster2-runto-main.exp: New file.
2114 * gdb.perf/gmonster2-select-file.exp: New file.
2115 * gdb.perf/gmonster2.cc: New file.
2116 * gdb.perf/gmonster2.exp: New file.
2117
6eab34f3
DE
21182015-07-24 Doug Evans <dje@google.com>
2119
2120 * gdb.perf/README: New file.
2121 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2122 * lib/gen-perf-test.exp: New file.
2123
63738bfd
DE
21242015-07-24 Doug Evans <dje@google.com>
2125
2126 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2127 (PerfTest::startup): New function.
2128 (PerfTest::run): Return result of calling body.
2129 (PerfTest::assemble): Rewrite.
2130 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2131 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2132 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2133 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2134 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2135
7b606f95
DE
21362015-07-24 Doug Evans <dje@google.com>
2137
2138 * lib/gdb.exp (clean_restart): Make executable optional.
2139
a97b16b8
DE
21402015-07-24 Doug Evans <dje@google.com>
2141
2142 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2143 compiler_info references.
2144 * gdb.cp/temargs.exp: Ditto.
2145 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2146 (get_compiler_info): Early exit if already computed. Set compiler_info
2147 to "unknown" if there was a problem.
2148 (test_compiler_info): Add function comment. Call get_compiler_info.
2149
35baa57f
DE
21502015-07-24 Doug Evans <dje@google.com>
2151
2152 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2153 (workers/%.worker, build-perf): New rule.
2154 (GDB_PERFTEST_MODE): New variable.
2155 (check-perf): Use it.
2156 (clean): Clean up gdb.perf parallel build subdirs.
2157 * lib/build-piece.exp: New file.
2158 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2159 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2160 name.
2161 (standard_temp_file): Ditto.
2162 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2163 of $GDB_PARALLEL.
2164
6ebea266
DE
21652015-07-24 Doug Evans <dje@google.com>
2166
2167 * lib/future.exp (gdb_default_target_compile): New option
2168 "early_flags".
2169 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2170 --as-needed.
2171
1e76a7e9
SDJ
21722015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2173
2174 * gdb.base/catch-syscall.exp: Call gdb_exit before
2175 gdb_skip_xml_test.
2176
5068630a
PA
21772015-07-24 Pedro Alves <palves@redhat.com>
2178
2179 * gdb.python/py-events.exp: Accept output between the stop event
2180 and the prompt.
2181 * gdb.python/py-evsignal.exp: Likewise.
2182 * gdb.python/py-evthreads.exp: Likewise.
2183
77598427
PA
21842015-07-24 Pedro Alves <palves@redhat.com>
2185
2186 PR gdb/18717
2187 * gdb.threads/non-ldr-exit.c: New file.
2188 * gdb.threads/non-ldr-exit.exp: New file.
2189
11e6c98f
YQ
21902015-07-24 Yao Qi <yao.qi@linaro.org>
2191
2192 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2193 restarting process.
2194
51aee833
YQ
21952015-07-24 Yao Qi <yao.qi@linaro.org>
2196
2197 * gdb.server/ext-restart.exp: New file.
2198
8cfe207c
YQ
21992015-07-24 Yao Qi <yao.qi@linaro.org>
2200
2201 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2202 argument options.
2203 * gdb.server/ext-wrapper.exp: New file.
2204
cc12ce38
DE
22052015-07-23 Doug Evans <dje@google.com>
2206
2207 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2208 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2209
d0d84780
PMR
22102015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2211
2212 * gdb.ada/var_arr_typedef.exp: New testcase.
2213 * gdb.ada/var_arr_typedef/pack.adb: New file.
2214 * gdb.ada/var_arr_typedef/pack.ads: New file.
2215 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2216
8b558f79
JB
22172015-07-20 Joel Brobecker <brobecker@adacore.com>
2218
2219 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2220
775a3298
JK
22212015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2222
2223 * gdb.arch/i386-biarch-core.exp: Replace istarget
2224 by "complete set gnutarget". Remove expectation for the "core-file"
2225 command.
2226
db1ff28b
JK
22272015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2228
2229 Revert the previous commit:
2230 Tests for validate symbol file using build-id.
2231
0a94970d
JK
22322015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2233
2234 Tests for validate symbol file using build-id.
2235 * gdb.base/solib-mismatch-lib.c: New file.
2236 * gdb.base/solib-mismatch-libmod.c: New file.
2237 * gdb.base/solib-mismatch.c: New file.
2238 * gdb.base/solib-mismatch.exp: New file.
2239
03346981
SL
22402015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2241
2242 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2243 nios2-*-linux*.
2244 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2245 * gdb.base/siginfo.exp: Likewise.
2246 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2247
42422cc7
PL
22482015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2249
2250 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2251 Move it to ...
2252 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2253 ... here.
2254 * gdb.trace/range-stepping.exp: Check that the target supports
2255 range stepping.
2256
cfa68bae
JK
22572015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2258
2259 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2260
8ffdba26
PA
22612015-07-14 Pedro Alves <palves@redhat.com>
2262
2263 * gdb.base/killed-outside.exp: New file.
2264 * gdb.base/killed-outside.c: New file.
2265
218a5a11
JK
22662015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2267
2268 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2269 (n at main): New.
2270 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2271
e03ed3c6
AA
22722015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2273
2274 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2275 infcall tests instead of setting up for KFAIL.
2276
485668e5
MM
22772015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2278
2279 * gdb.btrace/record_goto-step.exp: New.
2280
08464196
JK
22812015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2282
2283 PR compile/18484
2284 * gdb.compile/compile.c (struct struct_type): Add volatile to
2285 selffield's type.
2286 * gdb.compile/compile.exp
2287 (compile code struct_object.selffield = &struct_object): Skip further
2288 struct_object tests if this one xfails.
2289
bcf5c1d9
RC
22902015-07-08 Robert O'Callahan <robert@ocallahan.org>
2291
2292 PR exp/18617
2293 * gdb.trace/ax.exp: Add test.
2294
4931af25
YQ
22952015-07-07 Yao Qi <yao.qi@linaro.org>
2296
2297 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2298 instead of istarget "aarch64*-*-*".
2299 * gdb.arch/aarch64-fp.exp: Likewise.
2300 * gdb.base/float.exp: Likewise.
2301 * gdb.reverse/aarch64.exp: Likewise.
2302 * lib/gdb.exp (is_aarch64_target): New proc.
2303
9fcf688e
YQ
23042015-07-07 Yao Qi <yao.qi@linaro.org>
2305
2306 * lib/gdb.exp (is_aarch32_target): New proc.
2307 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2308 instead of "istarget "arm*-*-*"".
2309 * gdb.arch/arm-disp-step.exp: Likewise.
2310 * gdb.arch/thumb-bx-pc.exp: Likewise.
2311 * gdb.arch/thumb-prologue.exp: Likewise.
2312 * gdb.arch/thumb-singlestep.exp: Likewise.
2313 * gdb.base/disp-step-syscall.exp: Likewise.
2314 * gdb.base/float.exp: Likewise.
2315
fbd8d50d
YQ
23162015-07-07 Yao Qi <yao.qi@linaro.org>
2317
2318 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2319 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2320
71be1fdc
YQ
23212015-07-07 Yao Qi <yao.qi@linaro.org>
2322
2323 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2324 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2325 if it exists.
2326 * gdb.multi/multi-arch.exp: Likewise.
2327
3e221d36
SM
23282015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2329
2330 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2331 print.
2332
d441430b
YQ
23332015-07-07 Yao Qi <yao.qi@linaro.org>
2334
2335 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2336
06f810bd
MG
23372015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2338
2339 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2340 '[' and ']' characters.
2341
5e61e7c0
IB
23422015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2343
2344 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2345
28bf096c
PA
23462015-06-29 Pedro Alves <palves@redhat.com>
2347
2348 PR threads/18127
2349 * gdb.threads/hand-call-new-thread.c: New file.
2350 * gdb.threads/hand-call-new-thread.c: New file.
2351
ee93cd5e
KS
23522015-06-26 Keith Seitz <keiths@redhat.com>
2353 Doug Evans <dje@google.com>
2354
2355 PR 16253
2356 * gdb.cp/var-tag-2.cc: New file.
2357 * gdb.cp/var-tag-3.cc: New file.
2358 * gdb.cp/var-tag-4.cc: New file.
2359 * gdb.cp/var-tag.cc: New file.
2360 * gdb.cp/var-tag.exp: New file.
2361
fc637f04
PP
23622015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2363
2364 * gdb.base/history-duplicates.exp: New test.
2365
2e52ae68
PP
23662015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2367
2368 * gdb.base/completion.exp: Test the completion of the "focus"
2369 command.
2370
6e22494e
JK
23712015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2372
2373 * gdb.arch/amd64-prologue-skip.S: New file.
2374 * gdb.arch/amd64-prologue-skip.exp: New file.
2375
bf7b9cd9
SM
23762015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2377
2378 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2379 is_address_zero_readable check.
2380
201e8dfd
PB
23812015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2382
2383 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2384 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2385
5cd867b4
YQ
23862015-06-24 Yao Qi <yao.qi@linaro.org>
2387
2388 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2389 linux targets.
2390
4d7be007
YQ
23912015-06-24 Yao Qi <yao.qi@linaro.org>
2392
2393 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2394 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2395 * gdb.base/siginfo-thread.exp: Likewise.
2396
07fcd301
YQ
23972015-06-22 Yao Qi <yao.qi@linaro.org>
2398
2399 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2400
52042a00
YQ
24012015-06-22 Yao Qi <yao.qi@linaro.org>
2402
2403 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2404 aarch64*-*-*.
2405 (skip_hw_watchpoint_tests): Likewise.
2406
74bd41ce
PP
24072015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2408
2409 * gdb.base/gdbinit-history.exp: Test the interaction between
2410 setting GDBHISTSIZE and setting the history size via .gdbinit.
2411
bc460514
PP
24122015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2413
2414 PR gdb/16999
2415 * gdb.base/gdbhistsize-history.exp: New test.
2416
b58c513b
PP
24172015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2418
2419 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2420 with GDBHISTSIZE.
2421 * gdb.base/readline.exp: Likewise.
2422
92046791
YQ
24232015-06-17 Yao Qi <yao.qi@linaro.org>
2424
2425 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2426 line.
2427
2093d2d3
PP
24282015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2429
2430 * gdb.base/gdbinit-history.exp: Add test case to check that
2431 an unlimited history file does not get truncated on exit.
2432
e6c693af
AA
24332015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2434
2435 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2436 (VECTOR): New macro. Use it...
2437 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2438 ...for these typedefs.
2439 (int8, char1, int1, double1): New typedefs.
2440 (struct just_int2, struct two_int2): New structures.
2441 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2442 (add_structvecs, add_singlevecs): New functions.
2443 (main): Call add_some_intvecs twice.
2444 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2445 the compile and exit upon failure. Try compiling for the "native"
2446 architecture. Test inferior function calls with vector arguments
2447 and vector return value handling with "finish" and "return".
2448
c74f7d1c
JT
24492015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2450
2451 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2452 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2453 PE file.
2454 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2455
98aa42ee
AT
24562015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2457
2458 PR breakpoints/16465
2459 * gdb.mi/mi-dprintf-pending.c: New file.
2460 * gdb.mi/mi-dprintf-pending.exp: New test.
2461 * gdb.mi/mi-dprintf-pendshr.c: New file.
2462
7d73c23c 24632015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 2464 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
2465
2466 * gdb.arch/i386-mpx-map.c: New file.
2467 * gdb.arch/i386-mpx-map.exp: New File.
2468
24692015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2470
2471 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2472 * gdb.arch/i386-mpx.exp: Indentation fixed.
2473
24742015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2475
2476 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2477 function and improved indentation.
2478 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2479 gdb_test_multiple. Added additional tests to skip the test.
2480
24812015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2482
2483 * gdb.arch/i386-avx512.c: Change path in include file.
2484 * gdb.arch/i386-avx512.exp: Change include dir path
2485 compilation flag.
2486 * gdb.arch/i386-mpx.c: Change path in include file.
2487 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2488 flag.
2489
d5eba19a
JK
24902015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2491
2492 * gdb.compile/compile-print.exp (compile print *vararray@3)
2493 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2494
7f361056
JK
24952015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2496
2497 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2498 (do not keep jit in memory): ... this.
2499 (expect 5): Change it to ...
2500 (expect no 5): ... this.
2501
3b462ec2
SM
25022015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2503
2504 PR gdb/15564
2505 * gdb.mi/mi-detach.exp: New file.
2506
e0619de6
JK
25072015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2508
2509 PR symtab/18392
2510 * gdb.arch/amd64-tailcall-self.S: New file.
2511 * gdb.arch/amd64-tailcall-self.c: New file.
2512 * gdb.arch/amd64-tailcall-self.exp: New file.
2513
e970cb34
DB
25142015-05-28 Don Breazeal <donb@codesourcery.com>
2515
2516 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2517 tests for remote targets by checking is_target_gdbserver.
2518
b2e2f908
DE
25192015-05-27 Doug Evans <dje@google.com>
2520
2521 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2522 * gdb.dwarf2/opaque-type-lookup.c: New file.
2523 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2524
82c7be31
DE
25252015-05-26 Doug Evans <dje@google.com>
2526
2527 * gdb.cp/iostream.cc: New file.
2528 * gdb.cp/iostream.exp: New file.
2529
b4f54984
DE
25302015-05-26 Doug Evans <dje@google.com>
2531
2532 * gdb.dwarf2/dw2-op-call.exp: Update.
2533 * gdb.dwarf2/dw4-sig-types.exp: Update.
2534 * gdb.dwarf2/implptr.exp: Update.
2535 * gdb.mi/mi-cmd-param-changed.exp: Update.
2536
4ea6efe9
DE
25372015-05-26 Doug Evans <dje@google.com>
2538
2539 * gdb.python/py-lazy-string.c: New file.
2540 * gdb.python/py-lazy-string.exp: New file.
2541 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2542 (main): Update. Add estring3.
2543 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2544 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2545
f6bb7db3
YQ
25462015-05-26 Omair Javaid <omair.javaid@linaro.org>
2547 Yao Qi <yao.qi@linaro.org>
2548
2549 * gdb.reverse/aarch64.c: New.
2550 * gdb.reverse/aarch64.exp: New.
2551
a81bfbd0
OJ
25522015-05-26 Omair Javaid <omair.javaid@linaro.org>
2553
2554 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2555 (supports_reverse): Likewise.
2556
158bf1b4
PP
25572015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2558
2559 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2560 Use with_test_prefix.
2561
a0145030
AB
25622015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2563
2564 * gdb.base/completion.exp: Add test for completion of layout
2565 names.
2566
ebe3b578
AB
25672015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2568
2569 * lib/gdb.exp (skip_tui_tests): New proc.
2570 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2571
84204ed7
PA
25722015-05-19 Pedro Alves <palves@redhat.com>
2573
2574 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2575 Save the whole env array instead of just HOME. Unset HISTSIZE in
2576 the environment while testing. Restore whole environment
2577 afterwards.
2578
37442ce1
DE
25792015-05-16 Doug Evans <xdje42@gmail.com>
2580
2581 * gdb.guile/scm-ports.c: New file.
2582 * gdb.guile/scm-ports.exp: Add memory port tests.
2583
36de76f9
JK
25842015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2585
2586 * gdb.compile/compile-print.c: New file.
2587 * gdb.compile/compile-print.exp: New file.
2588
3a9558c4
JK
25892015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2590
2591 * gdb.compile/compile-ops.exp: Cast param to void.
2592 * gdb.compile/compile.exp: Complete type for _gdb_expr.
2593 (compile code struct_object.selffield = &struct_object): Add xfail.
2594
aa715135
JG
25952015-05-15 Joel Brobecker <brobecker@adacore.com>
2596
2597 * gdb.ada/arr_enum_with_gap: New testcase.
2598
931e5bc3
JG
25992015-05-15 Joel Brobecker <brobecker@adacore.com>
2600
2601 * gdb.ada/byte_packed_arr: New testcase.
2602
9cd4d857
JB
26032015-05-15 Joel Brobecker <brobecker@adacore.com>
2604
2605 * gdb.ada/pckd_neg: New testcase.
2606
ebfd00d2
PP
26072015-05-13 Patrick Palka <patrick@parcs.ath.cx>
2608
2609 PR gdb/17820
2610 * gdb.base/gdbinit-history.exp: New test.
2611 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
2612 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
2613
4c082a81
SC
26142015-05-09 Siva Chandra Reddy <sivachandra@google.com>
2615
2616 * gdb.python/py-xmethods.cc: Enhance test case.
2617 * gdb.python/py-xmethods.exp: New tests.
2618 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
2619 function.
2620 (B_indexoper): Likewise.
2621 (global_dm_list) : Add new xmethod worker functions.
2622
f7797074
SDJ
26232015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
2624
2625 * gdb.base/coredump-filter.exp: Correctly unset
2626 "coredump_var_addr" array.
2627
a4674e4e
PA
26282015-05-08 Pedro Alves <palves@redhat.com>
2629
2630 * gdb.server/non-existing-program.exp: Unset spawn_id.
2631
df2eb078
SC
26322015-05-08 Siva Chandra Reddy <sivachandra@google.com>
2633
2634 PR python/18291
2635 * gdb.python/py-xmethods.exp: Add tests.
2636
422349a3
YQ
26372015-05-08 Yao Qi <yao.qi@linaro.org>
2638
2639 PR gdb/18208
2640 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
2641 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
2642 function set_coredump_filter, and remove remote_exec call.
2643 Remove argument ipid. Callers update.
2644 (top level): Don't get inferior's PID.
2645
63fc80ce
AA
26462015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
2647
2648 * gdb.base/watch_thread_num.exp: Skip test on targets without
2649 access watchpoints.
2650
80ad801e
PA
26512015-05-06 Pedro Alves <palves@redhat.com>
2652
2653 PR server/18081
2654 * gdb.server/non-existing-program.exp: New file.
2655
0fa7fe50
JB
26562015-05-05 Joel Brobecker <brobecker@adacore.com>
2657
2658 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
2659
3ea89b92
PMR
26602015-05-05 Joel Brobecker <brobecker@adacore.com>
2661
2662 * gdb.ada/out_of_line_in_inlined: New testcase.
2663
87b8eff0
JB
26642015-05-05 Joel Brobecker <brobecker@adacore.com>
2665
2666 * gdb.ada/var_rec_arr: New testcase.
2667
5fccc635
YQ
26682015-04-30 Yao Qi <yao.qi@linaro.org>
2669
2670 * gdb.base/break-idempotent.exp: If
2671 skip_hw_watchpoint_multi_tests returns true, skip the tests
2672 on "rwatch" and "awatch".
2673
42d38f42
YQ
26742015-04-30 Yao Qi <yao.qi@linaro.org>
2675
2676 * gdb.base/relativedebug.exp: Invoke gdb command
2677 "info sharedlibrary", and if libc.so doesn't have debug info,
2678 skip the test.
2679
2ce1cdbf
DE
26802015-04-29 Doug Evans <dje@google.com>
2681
2682 * gdb.python/py-xmethods.exp: Add ptype tests.
2683 * gdb.python/py-xmethods.py (E_method_char_worker): Add
2684 get_result_type method.
2685
f24a38c5
LM
26862015-04-29 Luis Machado <lgustavo@codesourcery.com>
2687
2688 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
2689 the target does not support hardware watchpoints.
2690
ecbf2b3c
LM
26912015-04-29 Luis Machado <lgustavo@codesourcery.com>
2692
2693 * gdb.base/break-always.exp: Abort testing if writing to memory
2694 causes an error.
2695
34f5f757
DE
26962015-04-28 Doug Evans <dje@google.com>
2697
2698 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
2699 * gdb.python/py-pp-registration.exp: ... here. New file.
2700 * gdb.python/py-pp-registration.c: New file.
2701 * gdb.python/py-pp-registration.py: New file.
2702
69b4374a
DE
27032015-04-28 Doug Evans <dje@google.com>
2704
2705 * gdb.python/py-bad-printers.c: New file.
2706 * gdb.python/py-bad-printers.py: New file.
2707 * gdb.python/py-bad-printers.exp: New file.
2708
59fb7612
SS
27092015-04-28 Sasha Smundak <asmundak@google.com>
2710
2711 * gdb.python/py-type.exp: New test.
2712
2631b16a
AW
27132015-04-28 Andy Wingo <wingo@igalia.com>
2714
2715 * gdb.python/py-parameter.exp:
2716 * gdb.guile/scm-parameter.exp: Escape the path that we are
2717 matching against, as it might contain characters that are special
2718 to regular expressions.
2719
460efde1
JB
27202015-04-27 Joel Brobecker <brobecker@adacore.com>
2721
2722 * gdb.ada/rec_comp: New testcase.
2723
2d369d8e
SDJ
27242015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
2725
2726 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
2727 before using it.
2728
cf75d6c3
AB
27292015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
2730
2731 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
2732 new tests for verilog output.
2733
8dbe7ca5
YQ
27342015-04-24 Yao Qi <yao.qi@linaro.org>
2735
2736 * boards/remote-gdbserver-on-localhost.exp: New file.
2737
4ef9fb2f
PA
27382015-04-23 Pedro Alves <palves@redhat.com>
2739
2740 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
2741 $inferior_spawn_id instead of $inferior_spawn_id directly. On
2742 "end of file", remove $inferior_spawn_id from the indirect list.
2743
0a803169
PA
27442015-04-23 Pedro Alves <palves@redhat.com>
2745
2746 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
2747
749ef8f8
PA
27482015-04-23 Pedro Alves <palves@redhat.com>
2749
2750 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
2751 on $any_spawn_id instead of only on $gdb_spawn_id.
2752
8aae4344
PM
27532015-04-21 Pierre Muller <muller@sourceware.org>
2754
2755 PR pascal/17815
2756 * lib/pascal.exp (gpc_compile): Add new option "class".
2757 (fpc_compile): Likewise.
2758 * gdb.pascal/case-insensitive-symbols.pas: New file.
2759 * gdb.pascal/case-insensitive-symbols.exp: New file.
2760
1586c8fb
GB
27612015-04-20 Gary Benson <gbenson@redhat.com>
2762
2763 * gdb.base/attach.exp: Fix three extended remote failures.
2764
1b6e6f5c
GB
27652015-04-17 Gary Benson <gbenson@redhat.com>
2766
2767 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
2768 the main executable over the remote protocol.
2769
e797481d
PA
27702015-04-16 Pedro Alves <palves@redhat.com>
2771
2772 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
2773 a new gdbserver if gdbserver_reconnect_p is set.
2774
1ca99c42
PA
27752015-04-16 Pedro Alves <palves@redhat.com>
2776
2777 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
2778 is set, don't exit gdbserver.
2779
af9fd6f8
AA
27802015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2781
2782 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
2783 appropriate .insn, such that an older assembler can be used.
2784 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
2785 the z/Architecture instruction set on 31-bit targets as well.
2786
04ff1e61
AA
27872015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2788
2789 * gdb.go/handcall.exp: Remove all logic related to the first
2790 breakpoint and rely on go_runto_main instead.
2791 * gdb.go/strings.exp: Likewise.
2792 * gdb.go/unsafe.exp: Likewise.
2793 * gdb.go/hello.exp: Likewise. Also rename the remaining
2794 breakpoint marker to "breakpoint 1".
2795 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
2796 * gdb.go/strings.go: Likewise.
2797 * gdb.go/unsafe.go: Likewise.
2798 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
2799 "set breakpoint 2 here" and rename the remaining breakpoint marker
2800 to "breakpoint 1".
2801
40d2f8d6
SM
28022015-04-15 Simon Marchi <simon.marchi@ericsson.com>
2803
2804 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
2805 if itertools.imap is not present.
2806 * gdb.python/py-objfile.exp: Add parentheses.
2807 * gdb.python/py-type.exp: Same.
2808 * gdb.python/py-unwind-maint.py: Same.
2809
8cbc97c6
YQ
28102015-04-15 Yao Qi <yao.qi@linaro.org>
2811
2812 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
2813 of ":$ptr_size" and set its form explicitly.
2814
45fd756c
YQ
28152015-04-15 Pedro Alves <palves@redhat.com>
2816 Yao Qi <yao.qi@linaro.org>
2817
2818 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
2819 timeout by factor of 4.
2820 (test_regular_watch): Likewise.
2821 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
2822 * gdb.reverse/sigall-reverse.exp: Likewise.
2823 * gdb.reverse/until-precsave.exp: Likewise.
2824 * lib/gdb.exp (with_timeout_factor): New proc.
2825 (gdb_expect): Move some code to ...
2826 (get_largest_timeout): ... here. New procedure.
2827
9e811bc3
LM
28282015-04-14 Luis Machado <lgustavo@codesourcery.com>
2829
2830 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
2831
0ff6fcb2
LM
28322015-04-13 Luis Machado <lgustavo@codesourcery.com>
2833
2834 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
2835 to write to the .text section.
2836
7578d5f7
LM
28372015-04-13 Luis Machado <lgustavo@codesourcery.com>
2838
2839 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
2840 Handle the case of targets that do not provide PID information.
2841
2efe15c4
YQ
28422015-04-13 Yao Qi <yao.qi@linaro.org>
2843
2844 * lib/gdbserver-support.exp (gdb_exit): Catch exception
2845 and use expect instead of gdb_expect.
2846
8cd8f2f8
SDJ
28472015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
2848
2849 * gdb.base/coredump-filter.exp: Rename variable "addr" to
2850 "coredump_var_addr" to avoid naming conflict with other testcases.
2851
9ee41772
PA
28522015-04-10 Pedro Alves <palves@redhat.com>
2853
2854 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
2855 gdb_test_sequence and gdb_assert.
2856
07473109
PA
28572015-04-10 Pedro Alves <palves@redhat.com>
2858
2859 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
2860 test messages that don't include the breakpoint address.
2861
de3db44c
YQ
28622015-04-10 Yao Qi <yao.qi@linaro.org>
2863
2864 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
2865 false for some offset and width combinations which aren't
2866 supported by linux kernel.
2867
c79d856c
PA
28682015-04-10 Pedro Alves <palves@redhat.com>
2869
2870 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
2871 procedure, factored out from ...
2872 (top level): ... here. Add "set displaced-stepping" testing axis.
2873 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
2874 parameter "displaced". Use it.
2875 (top level): Use foreach and add "set displaced-stepping" testing
2876 axis.
2877
ebc90b50
PA
28782015-04-10 Pedro Alves <palves@redhat.com>
2879
2880 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
2881 Remove comment.
2882 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
2883 both the address of the instruction that triggers the watchpoint
2884 and the address of the instruction immediately after, and use
2885 those addresses for the test. Fix comment.
2886
8f572e5c
PA
28872015-04-10 Pedro Alves <palves@redhat.com>
2888
2889 * gdb.base/sigstep.exp (breakpoint_to_handler)
2890 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
2891 Test "backtrace" in handler.
2892 (breakpoint_over_handler): New parameter 'displaced'. Use it.
2893 (top level): Add new "displaced" test axis to
2894 breakpoint_to_handler, breakpoint_to_handler_entry and
2895 breakpoint_over_handler.
2896
8d707a12
PA
28972015-04-10 Pedro Alves <palves@redhat.com>
2898
2899 PR gdb/18216
2900 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
2901
ef713951
YQ
29022015-04-10 Yao Qi <yao.qi@linaro.org>
2903
2904 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
2905 (test_add_rn_pc): New function.
2906 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
2907 (top level): Invoke test_add_rn_pc.
2908
906d60cf
PA
29092015-04-10 Pedro Alves <palves@redhat.com>
2910
2911 PR gdb/13858
2912 * gdb.base/step-over-no-symbols.exp: New file.
2913
f2983cc3
AW
29142015-04-09 Andy Wingo <wingo@igalia.com>
2915
2916 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
2917 after the Python tests.
2918
6d62641c
SDJ
29192015-04-08 Keith Seitz <keiths@redhat.com>
2920
2921 PR python/16699
2922 * gdb.python/py-completion.exp: New tests for completion.
2923 * gdb.python/py-completion.py (CompleteLimit1): New class.
2924 (CompleteLimit2): Likewise.
2925 (CompleteLimit3): Likewise.
2926 (CompleteLimit4): Likewise.
2927 (CompleteLimit5): Likewise.
2928 (CompleteLimit6): Likewise.
2929 (CompleteLimit7): Likewise.
2930
f3770638
PA
29312015-04-08 Pedro Alves <palves@redhat.com>
2932
2933 PR gdb/18214
2934 PR gdb/18216
2935 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
2936 function.
2937 (main): Install it as SIGUSR1 handler.
2938 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
2939 parameter. Always use "setup" as prefix. Toggle "set
2940 displaced-stepping" off/on depending on global. Don't switch to
2941 thread 1 here.
2942 (top level): Add displaced stepping "off/on" test axis. Update
2943 "setup" calls. Wrap each subtest with with_test_prefix. Test
2944 continuing with a queued signal in each thread.
2945
4496bed7
PA
29462015-04-08 Pedro Alves <palves@redhat.com>
2947
2948 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
2949 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
2950 gdb_breakpoint instead of gdb_test that doesn't expect anything.
2951 Return early if running to main fails.
2952 * gdb.trace/while-stepping.exp: Likewise.
2953
b97fde92
PA
29542015-04-07 Pedro Alves <palves@redhat.com>
2955
2956 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
2957 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
2958 interact with inferior program.
2959
f71c18e7
PA
29602015-04-07 Pedro Alves <palves@redhat.com>
2961
2962 * lib/gdb.exp (inferior_spawn_id): New global.
2963 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
2964 spawn id after processing the user code.
2965 (default_gdb_start): Set inferior_spawn_id.
2966 (send_inferior): New procedure.
2967 * lib/gdbserver-support.exp (gdbserver_start): Set
2968 inferior_spawn_id.
2969 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
2970
6423214f
PA
29712015-04-07 Pedro Alves <palves@redhat.com>
2972
2973 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
2974 * lib/gdbserver-support.exp (gdbserver_start): Make
2975 $server_spawn_id global.
2976 (gdbserver_start): Don't wait for gdbserver's spawn id with
2977 expect_background.
2978 (close_gdbserver): New procedure.
2979 (gdb_exit): Rename the default version and reimplement.
2980
71c0ee8c
PA
29812015-04-07 Pedro Alves <palves@redhat.com>
2982
72f4393d 2983 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
2984 append the substituted item, not the original item.
2985
203bc29b
PA
29862015-04-07 Pedro Alves <palves@redhat.com>
2987
2988 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
2989 gdb_expect.
2990
508a3ddf
PA
29912015-04-07 Pedro Alves <palves@redhat.com>
2992
2993 * gdb.base/interrupt.exp: Don't handle the case of the inferior
2994 output appearing once only.
2995
9f6dbe2b
PA
29962015-04-07 Pedro Alves <palves@redhat.com>
2997
2998 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
2999 that doesn't expect anything. Return early if running to main
3000 fails.
3001
337532fa
YQ
30022015-04-07 Yao Qi <yao.qi@linaro.org>
3003
3004 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3005 (child_function): Call alarm.
3006 (main): Move call to alarm into the loop.
3007 * gdb.threads/non-stop-fair-events.exp: Build program with
3008 -DTIMEOUT=$timeout.
3009
01b622d4
DE
30102015-04-06 Doug Evans <xdje42@gmail.com>
3011
3012 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3013 Fix dest parameter to board_info.
3014 (fpc_compile): Ditto.
3015 (gdb_compile_pascal): Rename dest arg to destfile.
3016
961f4160
PMR
30172015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3018
3019 * gdb.ada/funcall_ref.exp: New file.
3020 * gdb.ada/funcall_ref/foo.adb: New file.
3021
cafda597
YQ
30222015-04-02 Yao Qi <yao.qi@linaro.org>
3023
3024 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3025 is remote.
3026
fed040c6
GB
30272015-04-02 Gary Benson <gbenson@redhat.com>
3028
3029 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3030
d11916aa
SS
30312015-04-01 Sasha Smundak <asmundak@google.com>
3032
3033 * gdb.python/py-unwind-maint.c: New file.
3034 * gdb.python/py-unwind-maint.exp: New test.
3035 * gdb.python/py-unwind-maint.py: New file.
3036 * gdb.python/py-unwind.c: New file.
3037 * gdb.python/py-unwind.exp: New test.
3038 * gdb.python/py-unwind.py: New test.
3039
a1471180
PA
30402015-04-01 Pedro Alves <palves@redhat.com>
3041
3042 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3043 to fail instead of non-existent $test.
3044
0bbeccb1
PA
30452015-04-01 Pedro Alves <palves@redhat.com>
3046
3047 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3048 GDBFLAGS if not empty.
3049
3c724c8c
PMR
30502015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3051
3052 * gdb.ada/complete.exp: Remove "multi_line".
3053 * gdb.ada/info_exc.exp: Remove "multi_line".
3054 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3055 * gdb.ada/ptype_field.exp: Remove "multi_line".
3056 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3057 * gdb.ada/tagged.exp: Remove "multi_line".
3058 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3059 [multi_line ...]
3060 * gdb.btrace/delta.exp: Likewise.
3061 * gdb.btrace/exception.exp: Likewise.
3062 * gdb.btrace/function_call_history.exp: Likewise.
3063 * gdb.btrace/instruction_history.exp: Likewise.
3064 * gdb.btrace/nohist.exp: Likewise.
3065 * gdb.btrace/record_goto.exp: Likewise.
3066 * gdb.btrace/segv.exp: Likewise.
3067 * gdb.btrace/stepi.exp: Likewise.
3068 * gdb.btrace/tailcall.exp: Likewise.
3069 * gdb.btrace/unknown_functions.exp: Likewise.
3070 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3071 * lib/gdb.exp: Add the "multi_line" helper.
3072
4eec2deb
PA
30732015-04-01 Pedro Alves <palves@redhat.com>
3074
3075 * gdb.threads/tid-reuse.c: New file.
3076 * gdb.threads/tid-reuse.exp: New file.
3077
df8411da
SDJ
30782015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3079
3080 PR corefiles/16092
3081 * gdb.base/coredump-filter.c: New file.
3082 * gdb.base/coredump-filter.exp: Likewise.
3083
6ef37366
PM
30842015-03-27 Petr Machata <pmachata@redhat.com>
3085
3086 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3087 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3088 (Dwarf::assemble): Initialize them.
3089 (Dwarf::lines): New function.
3090
7ec911b0
JT
30912015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3092
3093 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3094 SYMBOL_PREFIX for x86_64-*-cygwin.
3095
ff908ebf
AW
30962015-03-26 Andy Wingo <wingo@igalia.com>
3097
3098 PR symtab/18148
3099 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3100 const_value but not a location.
3101 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3102 location defined in non-main CUs are visible.
3103
6d5f0679
YQ
31042015-03-26 Yao Qi <yao.qi@linaro.org>
3105
3106 PR testsuite/18139
3107 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3108 Add a line number entry for the same line.
3109 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3110 Add a line number entry for the same line.
3111
2898689b
YQ
31122015-03-26 Yao Qi <yao.qi@linaro.org>
3113
3114 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3115 .int 0.
3116 (func): Likewise. Add .Lfunc_1 label.
3117 Use .Lfunc_1 label.
3118 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3119 .int 0.
3120 (func): Likewise.
3121 Use .Lfunc_1 label.
3122
85180498
YQ
31232015-03-26 Yao Qi <yao.qi@linaro.org>
3124
3125 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3126 Call gdb_compile instead to compile each .s files without debug
3127 information.
3128
8aa08a8d
YQ
31292015-03-26 Yao Qi <yao.qi@linaro.org>
3130
3131 * gdb.base/savedregs.exp (process_saved_regs): Make
3132 "Saved registers:" optional in the pattern.
3133
66849923
MM
31342015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3135
3136 * gdb.btrace/next.exp: Merged into step.exp.
3137 * gdb.btrace/finish.exp: Merged into step.exp.
3138 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3139 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3140 "record goto" and checking the exact replay position.
3141 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3142 check for "Recording format" in "info record" output.
3143 * gdb.btrace/record_goto.exp: Choose test file based on target.
3144 * gdb.btrace/x86-record_goto.S: Renamed into ...
3145 * gdb.btrace/x86_64-record_goto.S: ... this.
3146 * gdb.btrace/i686-record_goto.S: New.
3147 * gdb.btrace/x86-tailcall.S: Renamed into ...
3148 * gdb.btrace/x86_64-tailcall.S: ... this.
3149 * gdb.btrace/i686-tailcall.S: New.
3150 * gdb.btrace/x86-tailcall.c: Renamed into ...
3151 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3152 separate statements. Update test.
3153 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3154 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3155 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3156 * gdb.btrace/tailcall.exp: Choose test file based on target.
3157 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3158
11cc1b74
MM
31592015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3160
3161 * gdb.btrace/exception.exp: Increase BTS buffer size.
3162
a25d8bf9
PA
31632015-03-24 Pedro Alves <palves@redhat.com>
3164
3165 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3166
856e7dd6
PA
31672015-03-24 Pedro Alves <palves@redhat.com>
3168
3169 * gdb.threads/schedlock.exp (test_step): No longer expect that
3170 "set scheduler-locking step" with "next" over a function call runs
3171 threads unlocked.
3172
ad235a41
AT
31732015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3174
3175 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3176
15630549
AT
31772015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3178
3179 PR breakpoints/16466
3180 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3181 * gdb.mi/mi-pending.c (thread_func): New function.
3182 (int main): Add threading support required.
3183 * gdb.mi/mi-pending.exp: Add tests for this issue.
3184 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3185 (pendfunc2): Remove stdio dependency.
3186 * gdb.mi/mi-pendshr2.c: New file.
3187
693dca06
KS
31882015-03-23 Keith Seitz <keiths@redhat.com>
3189
3190 * gdb.linespec/keywords.c: New file.
3191 * gdb.linespec/keywords.exp: New file.
3192
7e993ebf
KS
31932015-03-23 Keith Seitz <keiths@redhat.com>
3194
3195 PR gdb/18021
3196 * gdb.dwarf2/staticvirtual.exp: New test.
3197
bc23328c
JK
31982015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3199
3200 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3201 * README: Remove HP-UX and gdb.hp.
3202 (configuration):
3203 * configure: Regenerate.
3204 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3205 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3206 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3207 gdb.hp/gdb.defects/Makefile.
3208 * gdb.hp/Makefile.in: File deleted.
3209 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3210 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3211 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3212 * gdb.hp/gdb.aCC/run.c: File deleted.
3213 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3214 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3215 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3216 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3217 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3218 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3219 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3220 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3221 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3222 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3223 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3224 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3225 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3226 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3227 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3228 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3229 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3230 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3231 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3232 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3233 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3234 * gdb.hp/gdb.compat/average.c: File deleted.
3235 * gdb.hp/gdb.compat/sum.c: File deleted.
3236 * gdb.hp/gdb.compat/xdb.c: File deleted.
3237 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3238 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3239 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3240 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3241 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3242 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3243 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3244 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3245 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3246 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3247 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3248 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3249 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3250 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3251 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3252 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3253 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3254 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3255 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3256 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3257 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3258 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3259 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3260 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3261 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3262 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3263 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3264 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3265 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3266 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3267 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3268 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3269 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3270 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3271 * gdb.hp/tools/odump: File deleted.
3272
8bf3b159
PA
32732015-03-19 Pedro Alves <palves@redhat.com>
3274
3275 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3276 (saw_thread_3): New globals.
3277 (top level): Increment them when an event for the corresponding
3278 thread is seen.
3279 (no thread starvation): New test.
3280
eb54c8bf
PA
32812015-03-19 Pedro Alves <palves@redhat.com>
3282
3283 * gdb.threads/continue-pending-status.c: New file.
3284 * gdb.threads/continue-pending-status.exp: New file.
3285
32d2e5d6
PA
32862015-03-18 Pedro Alves <palves@redhat.com>
3287
3288 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3289 Use gdb_is_target_remote instead of is_remote. Use
3290 gdb_test_multiple instead of gdb_expect. Exit early if
3291 gdb_test_multiple hits its internal matches. Tighten stepi tests
3292 expected output. Fail on exit with any signal, instead of just
3293 SIGILL.
3294
f68f11b7
YQ
32952015-03-18 Yao Qi <yao.qi@linaro.org>
3296
3297 PR tdep/18107
3298 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3299 variable.
3300 * gdb.base/catch-syscall.exp: Don't skip it on
3301 aarch64*-*-linux* target. Remove elements in all_syscalls.
3302 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3303 target.
3304 (setup_all_syscalls): New proc.
3305
ca5fd19b
YQ
33062015-03-16 Yao Qi <yao.qi@linaro.org>
3307
3308 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3309 (top level): Skip tests if valid_addr_p returns false for
3310 $cmd1 or $cmd2.
3311
85642ba0
AW
33122015-03-11 Andy Wingo <wingo@igalia.com>
3313
3314 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3315
e03f9645
YQ
33162015-03-11 Yao Qi <yao.qi@linaro.org>
3317
3318 * gdb.base/catch-syscall.exp: Fix typo in comments.
3319
5d0962b2
YQ
33202015-03-11 Yao Qi <yao.qi@linaro.org>
3321
3322 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3323
b2df3cef
PA
33242015-03-09 Pedro Alves <palves@redhat.com>
3325
3326 * dg-extract-results.py: Delete.
3327
ef878e53
PA
33282015-03-09 Pedro Alves <palves@redhat.com>
3329
3330 Merge dg-extract-results.sh from GCC upstream (r218843).
3331
3332 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3333 * dg-extract-results.sh: Use --text with grep to avoid issues with
3334 binary files. Fall back to cat -v, if that doesn't work.
3335
9494d219
PA
33362015-03-05 Pedro Alves <palves@redhat.com>
3337
3338 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3339
a8d9763a
SM
33402015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3341
3342 * lib/mi-support.exp (mi_expect_interrupt): Accept
3343 alternative event for when in all-stop mode.
3344
be9957b8
PA
33452015-03-04 Pedro Alves <palves@redhat.com>
3346
3347 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3348
d57be0f4 33492015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
3350
3351 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3352
c214c7cf
AA
33532015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3354
3355 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3356 regexps for GDB's current line display, accept a hex address
3357 preceding the line number.
3358
6d74a497
AA
33592015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3360
3361 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3362 the 'arch1' variable for "s390*-linux*" targets.
3363
511aee7c
PA
33642015-03-04 Pedro Alves <palves@redhat.com>
3365
3366 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3367 (main): Pass missing retval argument to pthread_join call.
3368
95e50b27
PA
33692015-03-02 Pedro Alves <palves@redhat.com>
3370
3371 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3372 (top level): Call do_test with non-stop as well.
3373
28054d69
PA
33742015-03-02 Pedro Alves <palves@redhat.com>
3375
3376 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3377 -1.
3378
4fa5d7b4
AA
33792015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3380
3381 * gdb.arch/s390-vregs.exp: New test.
3382 * gdb.arch/s390-vregs.S: New file.
3383
97c18565
PA
33842015-02-27 Pedro Alves <palves@redhat.com>
3385
3386 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3387 call to catch_command_errors.
3388 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3389 catch_command_errors.
3390
a37bfa30
PA
33912015-02-27 Pedro Alves <palves@redhat.com>
3392
3393 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3394 "true" for boolean result.
3395 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3396 prototype of main.
3397
6f98576f
PA
33982015-02-27 Pedro Alves <palves@redhat.com>
3399
3400 * lib/unbuffer_output.c: New file.
3401 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3402 (main): Call gdb_unbuffer_output.
3403
eba5ab56
YQ
34042015-02-27 Yao Qi <yao.qi@linaro.org>
3405
3406 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3407 target.
3408
0def5aaa
DE
34092015-02-26 Doug Evans <dje@google.com>
3410
3411 * gdb.cp/class2.cc (Dbase, D): New classes.
3412 (main): New local delta.
3413 * gdb.cp/class2.exp: Test printing delta.
3414 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3415 (dynbar): New global.
3416 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3417
081a1c2c
JK
34182015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3419
3420 * gdb.compile/compile-ifunc.c: New file.
3421 * gdb.compile/compile-ifunc.exp: New file.
3422
2f41223f
AT
34232015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3424
3425 * gdb.base/structs.exp: Check for correct struct on finish.
3426
03eddd80
YQ
34272015-02-26 Yao Qi <yao.qi@linaro.org>
3428
3429 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3430 is zero.
3431
80c57053
JK
34322015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3433
3434 * gdb.arch/cordic.ko.bz2: New file.
3435 * gdb.arch/cordic.ko.debug.bz2: New file.
3436 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3437
21613c12
YQ
34382015-02-25 Yao Qi <yao.qi@linaro.org>
3439
3440 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3441 aarch64*-*-* target.
3442
d8b901ed
PA
34432015-02-23 Pedro Alves <palves@redhat.com>
3444
3445 * lib/gdb.exp (delete_breakpoints): Rewrite using
3446 gdb_test_multiple.
3447
e5b85ead
PA
34482015-02-23 Pedro Alves <palves@redhat.com>
3449
3450 * gdb.base/info-os.c: Include stdlib.h.
3451
85c3a371
DE
34522015-02-22 Doug Evans <xdje42@gmail.com>
3453
3454 PR symtab/17855
3455 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3456 is read after symbols have been re-read.
3457 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3458 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3459
96553a0c
DE
34602015-02-21 Doug Evans <dje@google.com>
3461
3462 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3463
97a0c697
JK
34642015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3465
3466 PR corefiles/17808
3467 * gdb.arch/i386-biarch-core.core.bz2: New file.
3468 * gdb.arch/i386-biarch-core.exp: New file.
3469
a47cd6e9
PA
34702015-02-21 Pedro Alves <palves@redhat.com>
3471
3472 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3473 runto_main fails.
3474
c5facdc4
PA
34752015-02-20 Pedro Alves <palves@redhat.com>
3476
3477 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3478 info probes.
3479
2db9a427
PA
34802015-02-20 Pedro Alves <palves@redhat.com>
3481
3482 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3483
60fb7e9e
PA
34842015-02-20 Pedro Alves <palves@redhat.com>
3485
3486 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3487 clean_restart before gdb_target_supports_trace.
3488
5c5019c2
PA
34892015-02-20 Pedro Alves <palves@redhat.com>
3490
3491 PR threads/18006
3492 * gdb.threads/clone-thread_db.c: New file.
3493 * gdb.threads/clone-thread_db.exp: New file.
3494
c9587f88
AT
34952015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3496
3497 PR breakpoints/16812
3498 * gdb.base/catch-gdb-caused-signals.c: New file.
3499 * gdb.base/catch-gdb-caused-signals.exp: New file.
3500
f6a88844
JM
35012015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3502
3503 * configure: Regenerated.
3504 * configure.ac: Use GDB_AC_TRANSFORM.
3505 * aclocal.m4: sinclude ../transform.m4.
3506
497c491b
JM
35072015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3508
3509 * lib/dtrace.exp: New file.
3510 * gdb.base/dtrace-probe.exp: Likewise.
3511 * gdb.base/dtrace-probe.d: Likewise.
3512 * gdb.base/dtrace-probe.c: Likewise.
3513 * lib/pdtrace.in: Likewise.
3514 * configure.ac: Output variables with the transformed names of
3515 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3516 * configure: Regenerated.
3517
03e98035
JM
35182015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3519
3520 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3521 expected message when trying to access $_probe_* convenience
3522 variables while not on a probe.
3523
63cc30e9
JK
35242015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3525
3526 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3527
0703599a
PA
35282015-02-11 Pedro Alves <pedro@codesourcery.com>
3529
3530 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3531 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3532
7e60a48e
DE
35332015-02-10 Doug Evans <xdje42@gmail.com>
3534
3535 * lib/gdb.exp (gdb_load): Always return a result.
3536
01b088bc
PA
35372015-02-10 Pedro Alves <palves@redhat.com>
3538
3539 * gdb.threads/signal-sigtrap.c: New file.
3540 * gdb.threads/signal-sigtrap.exp: New file.
3541
b05ec7a5
AT
35422015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3543
3544 * gdb.trace/no-attach-trace.c: New file.
3545 * gdb.trace/no-attach-trace.exp: New file.
3546
a2c2acaf
MW
35472015-02-09 Mark Wielaard <mjw@redhat.com>
3548
3549 * gdb.dwarf2/atomic.c: New file.
3550 * gdb.dwarf2/atomic-type.exp: Likewise.
3551
31fd9caa
MM
35522015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3553
3554 * gdb.btrace/buffer-size.exp: Update "info record" output.
3555 * gdb.btrace/delta.exp: Update "info record" output.
3556 * gdb.btrace/enable.exp: Update "info record" output.
3557 * gdb.btrace/finish.exp: Update "info record" output.
3558 * gdb.btrace/instruction_history.exp: Update "info record" output.
3559 * gdb.btrace/next.exp: Update "info record" output.
3560 * gdb.btrace/nexti.exp: Update "info record" output.
3561 * gdb.btrace/step.exp: Update "info record" output.
3562 * gdb.btrace/stepi.exp: Update "info record" output.
3563 * gdb.btrace/nohist.exp: Update "info record" output.
3564
d33501a5
MM
35652015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3566
3567 * gdb.btrace/buffer-size: New.
3568
f4abbc16
MM
35692015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3570
3571 * gdb.btrace/delta.exp: Update "info record" output.
3572 * gdb.btrace/enable.exp: Update "info record" output.
3573 * gdb.btrace/finish.exp: Update "info record" output.
3574 * gdb.btrace/instruction_history.exp: Update "info record" output.
3575 * gdb.btrace/next.exp: Update "info record" output.
3576 * gdb.btrace/nexti.exp: Update "info record" output.
3577 * gdb.btrace/step.exp: Update "info record" output.
3578 * gdb.btrace/stepi.exp: Update "info record" output.
3579 * gdb.btrace/nohist.exp: Update "info record" output.
3580
b9d61307
SM
35812015-02-06 Simon Marchi <simon.marchi@ericsson.com>
3582
3583 PR gdb/15678
3584 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3585
e584fdbc
PA
35862015-02-06 Pedro Alves <palves@redhat.com>
3587
3588 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
3589 macro.
3590 (seconds_left, again): New globals.
3591 (main): Wait seconds_left in a 1-second sleep loop instead of
3592 sleeping 180 seconds. If 'again' is set, reset the seconds
3593 counter.
3594 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
3595 'again' in the inferior before detaching. Print the seconds left.
3596 (options): New global.
3597 (top level): Build program with -DTIMEOUT=$timeout.
3598
77f41761
PA
35992015-02-06 Pedro Alves <palves@redhat.com>
3600
3601 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
3602 determine how many seconds to pass to 'alarm'.
3603 * gdb.base/gdb-sigterm.exp (top level): Build program with
3604 -DTIMEOUT=$timeout.
3605 (do_test): Return success/failure indication. Add more verbose
3606 logging. Don't fail if 200 single steps are seen. Instead, fail
3607 when the test times out.
3608 (passes): New global.
3609 (top level): Break the testing loop if testing fails on any
3610 iteration. Use gdb_assert.
3611
b9394193
DB
36122015-02-04 Don Breazeal <donb@codesourcery.com>
3613
3614 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
3615 and initialize them.
3616 (ipc_cleanup): New function.
3617 (main): Don't declare shmid, semid, and msqid. Add a call to
3618 atexit so that we call ipc_cleanup on exit.
3619
42d9e528
PA
36202015-02-04 Pedro Alves <palves@redhat.com>
3621
3622 * boards/native-extended-gdbserver.exp: Remove any target variant
3623 specifications from the board name before clearing the isremote
3624 flag from board_info.
3625
ae6ae975
DE
36262015-01-31 Doug Evans <xdje42@gmail.com>
3627
3628 * gdb.base/maint.exp <maint print type argc>: Update expected output.
3629
cfb069a8
GB
36302015-01-31 Gary Benson <gbenson@redhat.com>
3631
3632 * gdb.base/completion.exp: Disable completion limiting for
3633 existing tests. Add new tests to check completion limiting.
3634 * gdb.linespec/ls-errs.exp: Disable completion limiting.
3635
5dd31d79
DE
36362015-01-31 Doug Evans <xdje42@gmail.com>
3637
3638 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
3639
9f050062
DE
36402015-01-31 Doug Evans <xdje42@gmail.com>
3641
3642 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
3643 entries. Duplicate file section script entries.
3644 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
3645 inlined entries. Add test for safe-path rejection.
3646 * gdb.python/py-section-script.c: Add duplicate inlined section script
3647 entries. Duplicate file section script entries.
3648 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
3649 inlined entries. Add test for safe-path rejection.
3650
df25ebbd
JB
36512015-01-29 Joel Brobecker <brobecker@adacore.com>
3652
3653 * gdb.ada/disc_arr_bound: New testcase.
3654
4a0ca9ec
JB
36552015-01-29 Joel Brobecker <brobecker@adacore.com>
3656
3657 * gdb.ada/mi_var_array: New testcase.
3658
3a8b707a
DE
36592015-01-27 Doug Evans <dje@google.com>
3660
3661 * gdb.python/py-objfile.exp: Add tests for objfile.username.
3662 Add test for objfile.filename, objfile.username after objfile
3663 has been unloaded.
3664
f8313f6e
JB
36652015-01-26 Joel Brobecker <brobecker@adacore.com>
3666
3667 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
3668 the second test to print the name attribute of value
3669 returned by the call to gdb.lookup_type, and adjust
3670 the expected output accordingly.
3671
37bc665e
MW
36722015-01-25 Mark Wielaard <mjw@redhat.com>
3673
3674 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
3675 * gdb.base/disp-step-fork.c: Include unistd.h.
3676 * gdb.base/siginfo-obj.c: Include stdio.h.
3677 * gdb.base/siginfo-thread.c: Likewise.
3678 * gdb.mi/non-stop.c: Include unistd.h.
3679 * gdb.mi/nsthrexec.c: Include stdio.h.
3680 * gdb.mi/pthreads.c: Include unistd.h.
3681 * gdb.modula2/unbounded1.c (main): Declare returns int.
3682 * gdb.reverse/consecutive-reverse.c: Likewise.
3683 * gdb.threads/create-fail.c: Include unistd.h.
3684 * gdb.threads/killed.c: Likewise.
3685 * gdb.threads/linux-dp.c: Likewise.
3686 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
3687 * gdb.threads/non-ldr-exc-2.c: Likewise.
3688 * gdb.threads/non-ldr-exc-3.c: Likewise.
3689 * gdb.threads/non-ldr-exc-4.c: Likewise.
3690 * gdb.threads/pthreads.c: Include unistd.h.
3691 (main): Declare returns int.
3692 * gdb.threads/tls-main.c (foo): New declaration.
3693 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
3694
f7e5394d
SM
36952015-01-23 Simon Marchi <simon.marchi@ericsson.com>
3696
3697 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
3698 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
3699
743649fd
MW
37002015-01-15 Mark Wielaard <mjw@redhat.com>
3701
3702 * gdb.base/noreturn-return.c: New file.
3703 * gdb.base/noreturn-return.exp: New file.
3704 * gdb.base/noreturn-finish.c: New file.
3705 * gdb.base/noreturn-finish.exp: New file.
3706
198297aa
PA
37072015-01-23 Pedro Alves <palves@redhat.com>
3708
3709 * gdb.threads/continue-pending-after-query.c: New file.
3710 * gdb.threads/continue-pending-after-query.exp: New file.
3711
717cf30c
AG
37122015-01-22 Anders Granlund <anders.granlund@ericsson.com>
3713 Simon Marchi <simon.marchi@ericsson.com>
3714
3715 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
3716 * gdb.base/valgrind-db-attach.exp: Same.
3717 * gdb.base/valgrind-infcall.exp: Same.
3718 * lib/mi-support.exp (default_mi_gdb_start): Same.
3719 * lib/prompt.exp (default_prompt_gdb_start): Same.
3720 * lib/gdb.exp (default_gdb_spawn): Same.
3721 (gdb_interact): New.
3722
3723
4b62a76e
JK
37242015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3725
3726 * gdb.compile/compile.exp (pointer to jit function): New test.
3727
b4cdae6f
WW
37282015-01-17 Wei-cheng Wang <cole945@gmail.com>
3729
3730 * lib/gdb.exp (supports_process_record): Return true for
3731 powerpc*-*-linux*.
3732 (supports_reverse): Likewise.
3733
d221e7ef
DB
37342015-01-15 Don Breazeal <donb@codesourcery.com>
3735
3736 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
3737 instead of checking whether the target board is remote and
3738 use spawn_wait_for_attach instead of exec/sleep.
3739 * gdb.base/attach-twice.exp: Likewise.
3740
bafffb51
JB
37412015-01-15 Joel Brobecker <brobecker@adacore.com>
3742
3743 * gdb.ada/var_arr_attrs: New testcase.
3744
5589af0e
PA
37452015-01-14 Pedro Alves <palves@redhat.com>
3746 Joel Brobecker <brobecker@adacore.com>
3747
3748 PR gdb/17525
3749 * gdb.base/bp-cmds-execution-x-script.c: New file.
3750 * gdb.base/bp-cmds-execution-x-script.exp: New file.
3751 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
3752
6c400b59
PA
37532015-01-14 Pedro Alves <palves@redhat.com>
3754
3755 PR cli/17828
3756 * gdb.base/batch-preserve-term-settings.c: New file.
3757 * gdb.base/batch-preserve-term-settings.exp: New file.
3758
e02c96a7
DE
37592015-01-13 Doug Evans <dje@google.com>
3760
3761 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
3762 binary.
3763
576fd14c
JB
37642015-01-13 Joel Brobecker <brobecker@adacore.com>
3765
3766 * Makefile.in (clean mostlyclean): Do not delete *.py.
3767
04dccad0
JB
37682015-01-13 Joel Brobecker <brobecker@adacore.com>
3769
3770 * gdb.python/py-lookup-type.exp: New file.
3771
3d230f71
PA
37722015-01-12 Pedro Alves <palves@redhat.com>
3773
3774 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
3775 restore GDBFLAGS before returning.
3776
7e67715d
JK
37772015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3778
3779 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
3780 is_amd64_regs_target and is_x86_like_target.
3781
f2e0d4b4
DE
37822015-01-11 Doug Evans <xdje42@gmail.com>
3783
3784 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
3785 is given without an explicit form.
3786 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
3787 attributes.
3788 * gdb.dwarf/corrupt.exp: Ditto.
3789 * gdb.dwarf2/enum-type.exp: Ditto.
3790 * gdb.trace/entry-values.exp: Ditto.
3791 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
3792
439250fb
DE
37932015-01-11 Doug Evans <xdje42@gmail.com>
3794
3795 PR gdb/15830
3796 * gdb.base/maint.exp: Remove references to "maint demangle".
3797 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
3798 Add tests for explicitly specifying language to demangle.
3799 * gdb.dlang/demangle.exp: Ditto.
3800
ede9f622
PA
38012015-01-09 Pedro Alves <palves@redhat.com>
3802
3803 * gdb.threads/non-stop-fair-events.c: New file.
3804 * gdb.threads/non-stop-fair-events.exp: New file.
3805
a7b796db
PA
38062015-01-09 Pedro Alves <palves@redhat.com>
3807
3808 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
3809 the global scope. Set a breakpoint after all threads are started
3810 rather than stepping over two source lines. Expect the prompt.
3811 * gdb.base/watch_thread_num.c (threads_started_barrier): New
3812 global.
3813 (NUM): Now 15.
3814 (main): Use threads_started_barrier to wait for all threads to
3815 start. Main thread no longer calls thread_function. Exit after
3816 180 seconds.
3817 (loop): New function.
3818 (thread_function): Wait on threads_started_barrier barrier. Call
3819 'loop' at each iteration.
3820 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
3821 threads have started, instead of hardcoding number of "next"
3822 steps. Use an access watchpoint instead of a write watchpoint.
3823
9665ffdd
PA
38242015-01-09 Pedro Alves <palves@redhat.com>
3825
3826 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
3827 (thread_func): Wait on barrier.
3828 (main): Wait for all threads to start before stopping GDB.
3829 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
3830 global.
3831 (thread1_func, thread2_func): Wait on barrier.
3832 (main): Wait for all threads to start before stopping GDB.
3833 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
3834 New global.
3835 (thread1_func, thread2_func): Wait on barrier.
3836 (main): Wait for all threads to start before stopping GDB.
3837
c945a99f
PA
38382015-01-09 Pedro Alves <palves@redhat.com>
3839
3840 * gdb.threads/attach-many-short-lived-threads.c: New file.
3841 * gdb.threads/attach-many-short-lived-threads.exp: New file.
3842
c1a747c1
PA
38432014-01-09 Pedro Alves <palves@redhat.com>
3844
3845 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
3846 instead of to thread 2.
3847 * gdb.threads/signal-command-multiple-signals-pending.c (main):
3848 Add barrier around each pthread_create call instead of around all
3849 calls.
3850 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
3851 Set a break on thread_function and have the child threads hit it
3852 one at at a time.
3853
60b3033e
PA
38542015-01-09 Pedro Alves <palves@redhat.com>
3855
3856 * lib/gdb.exp (can_spawn_for_attach): New procedure.
3857 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
3858 false.
3859 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
3860 checking whether the target board is remote.
3861 * gdb.multi/multi-attach.exp: Likewise.
3862 * gdb.python/py-sync-interp.exp: Likewise.
3863 * gdb.server/ext-attach.exp: Likewise.
3864 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
3865 tests that need to attach, instead of checking whether the target
3866 board is remote at the top of the file.
3867
acc018ac
YQ
38682015-01-08 Yao Qi <yao@codesourcery.com>
3869
3870 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
3871
50a18af8
JK
38722015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3873
3874 Fix testcase compilation.
3875 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
3876
8503d6e1
JB
38772015-01-06 Joel Brobecker <brobecker@adacore.com>
3878
3879 * gdb.python/py-type.exp: Add a couple test about empty
3880 array creation, and negative-length array creation.
3881
cc73dbcc
DE
38822015-01-02 Doug Evans <xdje42@gmail.com>
3883
3884 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
3885
0300bbc7
DE
38862015-01-02 Doug Evans <dje@google.com>
3887
3888 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
3889
9d85a0ec
YQ
38902014-12-29 Yao Qi <yao@codesourcery.com>
3891
3892 * gdb.trace/entry-values.exp: Update comments. Rename variable
3893 bar_call_foo to returned_from_foo.
3894
87186c6a
MMN
38952014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
3896
3897 PR gdb/17394
3898 * gdb.linespec/break-asm-file.c: New file.
3899 * gdb.linespec/break-asm-file.exp: New file.
3900 * gdb.linespec/break-asm-file0.s: New file.
3901 * gdb.linespec/break-asm-file1.s: New file.
3902
1bab7383
YQ
39032014-12-18 Nigel Stephens <nigel@mips.com>
3904 Maciej W. Rozycki <macro@codesourcery.com>
3905
3906 * gdb.base/float.exp: Handle the new output from "info float" on
3907 MIPS targets.
3908
1bc1068a
JK
39092014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3910
3911 Fix MinGW compilation.
3912 * gdb.compile/compile-ops.exp: Update untested message if
3913 !skip_compile_feature_tests.
3914 * gdb.compile/compile-setjmp.exp: Likewise.
3915 * gdb.compile/compile-tls.exp: Likewise.
3916 * gdb.compile/compile.exp: Likewise.
3917 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
3918 supported on this host".
3919
b6615d10
DE
39202014-12-16 Doug Evans <xdje42@gmail.com>
3921
3922 * boards/stabs.exp: New file.
3923
25dda427
AA
39242014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
3925
3926 * gdb.base/completion.exp: Adjust to format changes of "maint
3927 print user-registers".
3928
bf330350
CU
39292014-12-16 Catalin Udma <catalin.udma@freescale.com>
3930
3931 PR server/17457
3932 * gdb.arch/aarch64-fp.c: New file.
3933 * gdb.arch/aarch64-fp.exp: New file.
3934
395cf596
SDJ
39352014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
3936
3937 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
3938 r210637, r210913, r211666, r215400, r215817).
3939
3940 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
3941 * dg-extract-results.py: New file.
3942 * dg-extract-results.sh: Use it if the environment seems
3943 suitable.
3944
3945 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
3946
3947 * dg-extract-results.py (parse_run): Handle warnings that
3948 are printed before a test harness is run.
3949
3950 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
3951
3952 * dg-extract-results.py (Named): Remove __cmp__ method.
3953 (output_variation): Use a key to sort variation.harnesses.
3954
3955 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
3956
3957 * dg-extract-results.py: For Python 3, force sys.stdout to
3958 handle surrogate escape sequences.
3959 (safe_open): New function.
3960 (output_segment, main): Use it.
3961
3962 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
3963
3964 * dg-extract-results.py (Prog.result_re): Include options
3965 in test name.
3966
3967 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
3968
3969 * dg-extract-results.py (output_variation): Always sort if
3970 do_sum.
3971
e882ef3c
SM
39722014-12-15 Simon Marchi <simon.marchi@ericsson.com>
3973
3974 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
3975 as long as we get pagination notifications.
3976
4992aa20
JM
39772014-12-15 Jason Merrill <jason@redhat.com>
3978
3979 * Makefile.in (check-gdb.%): Restore.
3980 * README: Mention it.
3981
c1b5a1a6
JB
39822014-12-13 Joel Brobecker <brobecker@adacore.com>
3983
3984 * gdb.ada/str_uninit: New testcase.
3985
5537b577
JK
39862014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3987
3988 PR symtab/17642
3989 * gdb.base/vla-stub-define.c: New file.
3990 * gdb.base/vla-stub.c: New file.
3991 * gdb.base/vla-stub.exp: New file.
3992
bb2ec1b3
TT
39932014-12-12 Phil Muldoon <pmuldoon@redhat.com>
3994 Jan Kratochvil <jan.kratochvil@redhat.com>
3995 Tom Tromey <tromey@redhat.com>
3996
3997 * configure.ac: Add gdb.compile/.
3998 * configure: Regenerate.
3999 * gdb.compile/Makefile.in: New file.
4000 * gdb.compile/compile-ops.exp: New file.
4001 * gdb.compile/compile-ops.c: New file.
4002 * gdb.compile/compile-tls.c: New file.
4003 * gdb.compile/compile-tls.exp: New file.
4004 * gdb.compile/compile-constvar.S: New file.
4005 * gdb.compile/compile-constvar.c: New file.
4006 * gdb.compile/compile-mod.c: New file.
4007 * gdb.compile/compile-nodebug.c: New file.
4008 * gdb.compile/compile-setjmp-mod.c: New file.
4009 * gdb.compile/compile-setjmp.c: New file.
4010 * gdb.compile/compile-setjmp.exp: New file.
4011 * gdb.compile/compile-shlib.c: New file.
4012 * gdb.compile/compile.c: New file.
4013 * gdb.compile/compile.exp: New file.
4014 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4015
4ff709eb
TT
40162014-12-12 Tom Tromey <tromey@redhat.com>
4017
4018 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4019 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4020
6dddd6a5
DE
40212014-12-12 Doug Evans <dje@google.com>
4022
4023 * lib/gdb-python.exp (get_python_valueof): New function.
4024 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4025
71c24708
AA
40262014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4027
4028 * gdb.base/completion.exp: Add test for completion of "info
4029 registers ".
4030
3e29f34a
MR
40312014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4032
4033 * gdb.base/func-ptrs.c: New file.
4034 * gdb.base/func-ptrs.exp: New file.
4035
fc126975
SM
40362014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4037
4038 PR breakpoints/17012
4039 * gdb.base/dprintf-detach.c: New file.
4040 * gdb.base/dprintf-detach.exp: New file.
4041
0a46d518
SM
40422014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4043
4044 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4045 * lib/gdb.exp (target_is_gdbserver): New procedure.
4046
a0be3e44
DE
40472014-12-08 Doug Evans <dje@google.com>
4048
4049 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4050
df1b803a
YQ
40512014-12-05 Yao Qi <yao@codesourcery.com>
4052
4053 * gdb.guile/scm-error.exp: Remove the third argument to
4054 gdb_remote_download.
4055 * gdb.guile/scm-frame-args.exp: Likewise.
4056 * gdb.guile/scm-section-script.exp: Likewise.
4057
ddb9f679
YQ
40582014-12-05 Yao Qi <yao@codesourcery.com>
4059
4060 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4061
86e4ed39
DE
40622014-12-04 Doug Evans <dje@google.com>
4063
4064 * gdb.python/py-objfile.exp: Add tests for
4065 objfile.add_separate_debug_file.
4066
7c50a931
DE
40672014-12-04 Doug Evans <dje@google.com>
4068
4069 * lib/gdb.exp (get_build_id): New function.
4070 (build_id_debug_filename_get): Rewrite to use it.
4071 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4072
621661e3
MR
40732014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4074
4075 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4076 `method(long)', not just 0x0.
4077 * gdb.cp/nsalias.exp: Align code labels to 4.
4078 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4079 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4080 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4081 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4082 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4083 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4084
29f0c3b7
DE
40852014-12-02 Doug Evans <dje@google.com>
4086
e1e061e7 4087 PR symtab/17602
29f0c3b7 4088 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 4089 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
4090 * gdb.cp/anon-ns.exp: Update.
4091
162078c8
NB
40922014-12-02 Nick Bull <nicholaspbull@gmail.com>
4093
4094 * gdb.python/py-events.py (inferior_call_handler): New.
4095 (register_changed_handler, memory_changed_handler): New.
4096 (test_events.invoke): Register new handlers.
4097 * gdb.python/py-events.exp: Add tests for inferior call,
4098 memory_changed and register_changed events.
4099
fdb09caf
AA
41002014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4101
4102 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4103 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4104 if the linker doesn't understand this.
4105
55cfb2c4
SM
41062014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4107
4108 * gdb.python/python.exp: Change expected reply to help().
4109
9e8cd6df
YQ
41102014-12-01 Yao Qi <yao@codesourcery.com>
4111
4112 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4113 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4114 * configure: Re-generated.
4115
6c659fc2
SC
41162014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4117
4118 * gdb.cp/chained-calls.cc: New file.
4119 * gdb.cp/chained-calls.exp: New file.
4120 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4121
d7fc3181
SM
41222014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4123
4124 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4125 * gdb.dwarf2/symtab-producer.exp: Same.
4126 * gdb.gdb/python-interrupts.exp: Same.
4127 * gdb.gdb/python-selftest.exp: Same.
4128 * gdb.python/py-linetable.exp: Same.
4129 * gdb.python/py-type.exp: Same.
4130 * gdb.python/py-value-cc.exp: Same.
4131 * gdb.python/py-value.exp: Same.
4132
10e79639
YQ
41332014-11-28 Yao Qi <yao@codesourcery.com>
4134
4135 * gdb.base/break-probes.exp: Match library name prefixed with
4136 sysroot.
4137
f28a0564
SM
41382014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4139
4140 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4141 test expected output. Add parentheses for the call to print.
4142 Remove L suffix from integers.
4143
3fe1ce1d
DE
41442014-11-26 Doug Evans <dje@google.com>
4145
4146 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4147
84429e27
YQ
41482014-11-22 Yao Qi <yao@codesourcery.com>
4149
4150 * gdb.trace/entry-values.c: Remove asms.
4151 (foo): Add foo_label.
4152 (bar): Add bar_label.
4153 * gdb.trace/entry-values.exp: Remove code computing foo's
4154 length and bar's length.
4155 (Dwarf::assemble): Invoke function_range for bar and use
4156 MACRO_AT_func for foo.
4157
26741859
YQ
41582014-11-22 Yao Qi <yao@codesourcery.com>
4159
4160 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4161 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4162 Use .Lgcc43_procstart instead of gcc43.
4163
45e44d27
JB
41642014-11-21 Joel Brobecker <brobecker@adacore.com>
4165
4166 * gdb.ada/n_arr_bound: New testcase.
4167
458c8db8
SDJ
41682014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4169
4170 PR breakpoints/10737
4171 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4172 test_catch_syscall_multi_arch.
4173 (test_catch_syscall_multi_arch): New function.
4174
43f3e411
DE
41752014-11-20 Doug Evans <xdje42@gmail.com>
4176
4177 * gdb.base/maint.exp: Update expected output.
4178
0d7b2549
AA
41792014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4180
4181 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4182 4-byte instruction on S390.
4183
8908fca5
JB
41842014-11-19 Joel Brobecker <brobecker@adacore.com>
4185
4186 * gdb.ada/arr_arr: New testcase.
4187
4a46959e
JB
41882014-11-19 Joel Brobecker <brobecker@adacore.com>
4189
4190 * gdb.ada/pkd_arr_elem: New Testcase.
4191
470e2f4e
LM
41922014-11-18 Luis Machado <lgustavo@codesourcery.com>
4193
4194 * gdb.reverse/break-precsave: Expect completion message for
4195 core file reads.
4196 * gdb.reverse/consecutive-precsave.exp: Likewise.
4197 * gdb.reverse/finish-precsave.exp: Likewise.
4198 * gdb.reverse/i386-precsave.exp: Likewise.
4199 * gdb.reverse/machinestate-precsave.exp: Likewise.
4200 * gdb.reverse/sigall-precsave.exp: Likewise.
4201 * gdb.reverse/solib-precsave.exp: Likewise.
4202 * gdb.reverse/step-precsave.exp: Likewise.
4203 * gdb.reverse/until-precsave.exp: Likewise.
4204 * gdb.reverse/watch-precsave.exp: Likewise.
4205
a267f3ad
AA
42062014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4207
4208 * gdb.base/bp-permanent.c: Include unistd.h.
4209 * gdb.python/py-framefilter-mi.c (main): Add return type.
4210 * gdb.python/py-framefilter.c (main): Likewise.
4211 * gdb.trace/actions-changed.c (main): Likewise.
4212
12084a9a
AA
42132014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4214
4215 * gdb.mi/until.c: Add eye-catchers.
4216 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4217 line numbers.
4218
dc7e1a77
AA
42192014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4220
4221 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4222 function header variants in break1.c.
4223 * gdb.base/ena-dis-br.exp: Likewise.
4224 * gdb.base/hbreak2.exp: Likewise.
4225 * gdb.reverse/until-precsave.exp: Drop references to removed
4226 non-prototype function header variants in ur1.c.
4227 * gdb.reverse/until-reverse.exp: Likewise.
4228
41c77605
PM
42292014-11-17 Petr Machata <pmachata@redhat.com>
4230
4231 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4232 ${_cu_offset_size} bytes abbrev offset.
4233
34248c3a
DE
42342014-11-15 Doug Evans <xdje42@gmail.com>
4235
4236 PR symtab/17559
4237 * gdb.base/line-symtabs.exp: New file.
4238 * gdb.base/line-symtabs.c: New file.
4239 * gdb.base/line-symtabs.h: New file.
4240
646da059
YQ
42412014-11-14 Yao Qi <yao@codesourcery.com>
4242
4243 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4244 (func): Add label func_label.
4245 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4246 Replace low_pc and high_pc with MACRO_AT_range.
4247 Replace name, low_pc and high_pc with MACRO_AT_func.
4248
9301ebe6
YQ
42492014-11-14 Yao Qi <yao@codesourcery.com>
4250
4251 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4252 Replace name, low_pc and high_pc with MACRO_AT_func.
4253
f166b542
YQ
42542014-11-14 Yao Qi <yao@codesourcery.com>
4255
4256 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4257 produce debug information.
4258 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4259
0f6e71e3
YQ
42602014-11-14 Yao Qi <yao@codesourcery.com>
4261
4262 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4263 object and get function length.
4264 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4265 with MACRO_AT_func.
4266 (top-level): Replace gdb_compile and clean_restart with
4267 prepare_for_testing.
4268 * gdb.dwarf2/main.c (main): Add label main_label.
4269
876c4df9
YQ
42702014-11-14 Yao Qi <yao@codesourcery.com>
4271
4272 * lib/dwarf.exp (function_range): New procedure.
4273 (Dwarf::_handle_macro_at_func): New procedure.
4274 (Dwarf::_handle_macro_at_range): New procedure.
4275 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4276
02ad9cf1
YQ
42772014-11-14 Yao Qi <yao@codesourcery.com>
4278
4279 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4280 (_handle_attribute): New procedure.
4281
a59add0c
AA
42822014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4283
4284 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4285 * gdb.base/call-sc.c (zed): Likewise.
4286 * gdb.base/checkpoint.c (main): Likewise.
4287 * gdb.base/dump.c (main): Likewise.
4288 * gdb.base/gcore.c (main): Likewise.
4289 * gdb.base/huge.c (main): Likewise.
4290 * gdb.base/multi-forks.c (main): Likewise.
4291 * gdb.base/pr10179-a.c (main): Likewise.
4292 * gdb.base/savedregs.c (main): Likewise.
4293 * gdb.base/sigaltstack.c (main): Likewise.
4294 * gdb.base/siginfo.c (main): Likewise.
4295 * gdb.base/structs.c (zed): Likewise.
4296 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4297 * gdb.mi/mi-syn-frame.c (main): Likewise.
4298 * gdb.mi/until.c (foo, main): Likewise.
4299 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4300 * gdb.base/solib-weak.c (foo): Declare.
4301 * gdb.base/attach-twice.c: Include stdio.h.
4302 * gdb.base/weaklib1.c: Likewise.
4303 * gdb.base/weaklib2.c: Likewise.
4304 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4305 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4306 unistd.h.
4307 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4308 * gdb.mi/mi-exit-code.c: Likewise.
4309 * gdb.base/break-interp-lib.c: Include string.h.
4310 * gdb.base/coremaker.c: Likewise.
4311 * gdb.base/testenv.c: Likewise.
4312 * gdb.python/py-finish-breakpoint.c: Likewise.
4313 * gdb.base/inferior-died.c: Include sys/wait.h.
4314 * gdb.base/fileio.c: Include time.h.
4315 * gdb.base/async-shell.c: Include unistd.h.
4316 * gdb.base/dprintf-non-stop.c: Likewise.
4317 * gdb.base/info-os.c: Likewise.
4318 * gdb.mi/mi-console.c: Likewise.
4319 * gdb.mi/watch-nonstop.c: Likewise.
4320 * gdb.python/py-events.c: Likewise.
4321 * gdb.base/async.c (baz): Move up before its invocation.
4322 * gdb.base/code_elim2.c (my_global_func): Likewise.
4323 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4324 * gdb.base/advance.c (func2): Likewise.
4325
3b5d5997
AA
43262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4327
4328 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4329 variant.
4330 * gdb.base/annota3.c: Likewise.
4331 * gdb.base/async.c: Likewise.
4332 * gdb.base/average.c: Likewise.
4333 * gdb.base/call-ar-st.c: Likewise.
4334 * gdb.base/call-rt-st.c: Likewise.
4335 * gdb.base/call-sc.c: Likewise.
4336 * gdb.base/call-strs.c: Likewise.
4337 * gdb.base/ending-run.c: Likewise.
4338 * gdb.base/execd-prog.c: Likewise.
4339 * gdb.base/exprs.c: Likewise.
4340 * gdb.base/foll-exec.c: Likewise.
4341 * gdb.base/foll-fork.c: Likewise.
4342 * gdb.base/foll-vfork.c: Likewise.
4343 * gdb.base/funcargs.c: Likewise.
4344 * gdb.base/gcore.c: Likewise.
4345 * gdb.base/jump.c: Likewise.
4346 * gdb.base/langs0.c: Likewise.
4347 * gdb.base/langs1.c: Likewise.
4348 * gdb.base/langs2.c: Likewise.
4349 * gdb.base/mips_pro.c: Likewise.
4350 * gdb.base/nodebug.c: Likewise.
4351 * gdb.base/opaque0.c: Likewise.
4352 * gdb.base/opaque1.c: Likewise.
4353 * gdb.base/recurse.c: Likewise.
4354 * gdb.base/run.c: Likewise.
4355 * gdb.base/scope0.c: Likewise.
4356 * gdb.base/scope1.c: Likewise.
4357 * gdb.base/setshow.c: Likewise.
4358 * gdb.base/setvar.c: Likewise.
4359 * gdb.base/shmain.c: Likewise.
4360 * gdb.base/shr1.c: Likewise.
4361 * gdb.base/shr2.c: Likewise.
4362 * gdb.base/sigall.c: Likewise.
4363 * gdb.base/signals.c: Likewise.
4364 * gdb.base/so-indr-cl.c: Likewise.
4365 * gdb.base/solib2.c: Likewise.
4366 * gdb.base/structs.c: Likewise.
4367 * gdb.base/sum.c: Likewise.
4368 * gdb.base/vforked-prog.c: Likewise.
4369 * gdb.base/watchpoint.c: Likewise.
4370 * gdb.reverse/shr2.c: Likewise.
4371 * gdb.reverse/until-reverse.c: Likewise.
4372 * gdb.reverse/ur1.c: Likewise.
4373 * gdb.reverse/watch-reverse.c: Likewise.
4374
066a77c5
AA
43752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4376
4377 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4378 variant.
4379 * gdb.base/sepdebug.exp: Drop references to removed code.
4380
4f204ea5
AA
43812014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4382
4383 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4384 variant. Preserve original line numbering.
4385 * gdb.base/list1.c: Likewise.
4386
3b377a3a
AA
43872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4388
4389 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4390 variant.
4391 * gdb.base/break1.c: Likewise.
4392 * gdb.base/break.exp: Drop references to removed code.
4393
e444df73
AA
43942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4395
4396 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4397 variant.
4398
8008f2a7
AA
43992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4400
4401 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4402
a5a06887
AA
44032014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4404
4405 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4406 logic into perform_all_tests() and invoke it with and without
4407 function header prototypes.
4408 (do_function_calls): Remove conditional XFAIL for PR 5318.
4409 (rerun_and_prepare): Remove duplicate code.
4410 (perform_all_tests): New. Main logic moved here.
4411
44dba9b9
AA
44122014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4413
4414 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4415 code guarded by #ifdef NO_PROTOTYPES.
4416 (t_double_many_args): Likewise.
4417 (DEF_FUNC_MANY_ARGS_1): Likewise.
4418 (DEF_FUNC_VALUES_1): Likewise.
4419 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4420 guarded by #ifdef PROTOTYPES.
4421
d1fbcd56
AA
44222014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4423
4424 * gdb.mi/mi-console.c: Add eye-catcher.
4425 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4426 instead of literal line number.
4427
b0e59b8f
AA
44282014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4429
4430 * gdb.base/shr2.c: Add eye-catcher.
4431 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4432 line number.
4433
78f98cca
AA
44342014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4435
4436 * gdb.base/jump.c: Add eye-catchers.
4437 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4438 numbers.
4439
58fa2af0
AA
44402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4441
4442 * gdb.base/execd-prog.c: Add eye-catchers.
4443 * gdb.base/foll-exec.c: Likewise.
4444 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4445 line numbers.
4446
04e5059b
AA
44472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4448
4449 * gdb.base/ending-run.c: Add eye-catchers.
4450 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4451 literal line numbers.
4452
dbfdb174
AA
44532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4454
4455 * gdb.base/call-rt-st.c: Add eye-catchers.
4456 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4457 literal line numbers.
4458
888a2ade
AA
44592014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4460
4461 * gdb.base/call-ar-st.c: Add eye-catchers.
4462 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4463 literal line numbers.
4464
6acc2dde
AA
44652014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4466
4467 * gdb.base/average.c: Add eye-catchers.
4468 * gdb.base/sum.c: Likewise.
4469 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4470 regexps dynamically.
4471
9ecfcd1d
AA
44722014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4473
4474 * gdb.base/solib1.c: Add eye-catchers.
4475 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4476 literal line numbers.
4477
78708b7c
PA
44782014-11-12 Pedro Alves <palves@redhat.com>
4479
4480 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4481 leader has exited.
4482
af48d08f
PA
44832014-11-12 Pedro Alves <palves@redhat.com>
4484
4485 * gdb.arch/i386-bp_permanent.c: New file.
4486 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4487 (srcfile): Set to i386-bp_permanent.c.
4488 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4489 that stepi does not execute the 'leave' instruction, instead of
4490 testing it does execute.
4491 * gdb.base/bp-permanent.c: New file.
4492 * gdb.base/bp-permanent.exp: New file.
4493
af3768e9
DE
44942014-11-10 Doug Evans <xdje42@gmail.com>
4495
4496 PR symtab/17564
4497 * gdb.base/symtab-search-order.exp: New file.
4498 * gdb.base/symtab-search-order.c: New file.
4499 * gdb.base/symtab-search-order-1.c: New file.
4500 * gdb.base/symtab-search-order-shlib-1.c: New file.
4501
9de00a4a
PA
45022014-11-07 Pedro Alves <palves@redhat.com>
4503
4504 PR gdb/17511
4505 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4506 i?86-*-linux*.
4507
e0f52461
SC
45082014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4509
4510 PR c++/17494
4511 * gdb.cp/pr17494.cc: New file.
4512 * gdb.cp/pr17494.exp: New file.
4513
6ce8c980
YQ
45142014-11-02 Yao Qi <yao@codesourcery.com>
4515
4516 * gdb.python/python.exp: Get working directory and match the
4517 output of "set extended-prompt \\w " with it.
4518
02be9a71
DE
45192014-10-30 Doug Evans <dje@google.com>
4520
4521 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4522 in objfiles.
4523 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4524 in progspaces.
4525
3bdff46b
LM
45262014-10-30 Janis Johnson <janisjo@codesourcery.com>
4527
4528 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4529 * gdb.base/realname-expand.exp: Likewise.
4530 * gdb.linespec/macro-relative.exp: Likewise.
4531
ab917dfb
PA
45322014-10-29 Pedro Alves <palves@redhat.com>
4533
4534 PR gdb/17408
4535 * gdb.threads/schedlock.c (some_function): New function.
4536 (call_function): New global.
4537 (MAYBE_CALL_SOME_FUNCTION): New macro.
4538 (thread_function): Call it.
4539 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4540 and use it instead of a global counter. Adjust all callers.
4541 (get_current_thread): Use "find current thread" for test message
4542 here rather than having all callers pass down the same string.
4543 (goto_loop): New procedure, factored out from ...
4544 (my_continue): ... this.
4545 (step_ten_loops): Change parameter from test message to command to
4546 use. Adjust.
4547 (list_count): Delete global.
4548 (check_result): New procedure, factored out from duplicate top
4549 level code.
4550 (continue tests): Wrap in with_test_prefix.
4551 (test_step): New procedure, factored out from duplicate top level
4552 code.
4553 (top level): Test "step" in combination with all scheduler-locking
4554 modes. Test "next" in combination with all scheduler-locking
4555 modes, and in combination with stepping over a function call or
4556 not.
4557 * gdb.threads/next-bp-other-thread.c: New file.
4558 * gdb.threads/next-bp-other-thread.exp: New file.
4559
d3d4baed
PA
45602014-10-29 Pedro Alves <palves@redhat.com>
4561
4562 PR python/17372
4563 * gdb.python/python.exp: Test a multi-line command that spawns
4564 interactive Python.
4565 * gdb.base/multi-line-starts-subshell.exp: New file.
4566
563e8d85
YQ
45672014-10-29 Yao Qi <yao@codesourcery.com>
4568
4569 * gdb.base/fileio.exp: Make directories on host.
4570
0ea4d52e
YQ
45712014-10-29 Yao Qi <yao@codesourcery.com>
4572
4573 * gdb.base/fileio.c (test_write): Close the file.
4574
7f5ef605
PA
45752014-10-28 Pedro Alves <palves@redhat.com>
4576
4577 PR gdb/12623
4578 * gdb.base/sigstep.c (no_handler): New global.
4579 (main): If 'no_handler is true, set the signal handlers to
4580 SIG_IGN.
4581 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4582 with_sw_watch and no_handler parameters. Handle them.
4583 (top level) <stepping over handler when stopped at a breakpoint
4584 test>: Add a test axis for testing with a software watchpoint, and
4585 another for testing with the signal handler set to SIG_IGN.
4586 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4587 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
4588
abbdbd03
PA
45892014-10-28 Pedro Alves <palves@redhat.com>
4590
4591 PR gdb/17511
4592 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
4593 * gdb.base/sigstep.exp (other_handler_location): New global.
4594 (advance): Support stepping into the signal handler, and running
4595 commands while in the handler.
4596 (in_handler_map): New global.
4597 (top level): In the advance test, add combinations for getting
4598 into the handler with stepping commands, and for running commands
4599 in the handler. Add comment descripting the advancei tests.
4600
1df4399f
PA
46012014-10-28 Pedro Alves <palves@redhat.com>
4602
4603 * gdb.base/sigstep.exp: Use build_executable instead of
4604 prepare_for_testing.
4605 (top level): Move code that starts GDB, runs to main and creates a
4606 display to ...
4607 (restart): ... this new procedure.
4608 (top level): Move backtrace from signal handler test to ...
4609 (validate_backtrace): ... this new procedure.
4610 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
4611 with_test_prefix. Always restart GDB.
4612 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
4613 with_test_prefix. Always restart GDB. No need to delete
4614 breakpoints after the test.
4615 (test_skip_handler): Remove prefix parameter.
4616 (skip_over_handler, breakpoint_to_handler)
4617 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
4618 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
4619 restart GDB. No need to delete breakpoints after the test.
4620 (top level): Use foreach to call the test procedures with
4621 different commands.
4622
a5b6e449
PA
46232014-10-28 Pedro Alves <palves@redhat.com>
4624
4625 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
4626 instead of GNATS numbers.
4627 * gdb.base/sigbpt.exp: Likewise.
4628 * gdb.base/siginfo.exp: Likewise.
4629 * gdb.base/sigstep.exp: Likewise.
4630
e5f8a7cc
PA
46312014-10-27 Pedro Alves <palves@redhat.com>
4632
4633 * gdb.base/sigstep.c (dummy): New global.
4634 (main): Issue a couple writes to the new global.
4635 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
4636 procedures.
4637 (skip_over_handler): Use test_skip_handler.
4638 (top level): Call skip_over_handler for stepi and nexti too.
4639 (breakpoint_over_handler): Use test_skip_handler.
4640 (top level): Call breakpoint_over_handler for stepi and nexti too.
4641
763905a3
YQ
46422014-10-27 Yao Qi <yao@codesourcery.com>
4643
4644 * gdb.trace/tfile.c (adjust_function_address)
4645 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
4646 function descriptor.
4647
6f259a23
DB
46482014-10-24 Don Breazeal <donb@codesourcery.com>
4649
4650 * gdb.base/foll-fork.exp (test_follow_fork,
4651 catch_fork_child_follow): Check for updated fork messages emitted
4652 from infrun.c.
4653 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
4654 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
4655 vfork_and_exec_child_follow_through_step): Check for updated vfork
4656 messages emitted from infrun.c.
4657
09dd9a69
PA
46582014-10-24 Pedro Alves <palves@redhat.com>
4659
4660 * gdb.base/corefile.exp: Remove references to ultrix.
4661 * gdb.base/interrupt.exp: Likewise.
4662 * gdb.base/whatis.exp: Likewise.
4663 * gdb.gdb/selftest.exp: Likewise.
4664 * gdb.threads/manythreads.exp: Likewise.
4665 * gdb.threads/print-threads.exp: Likewise.
4666 * gdb.threads/pthreads.exp:: Likewise.
4667 * gdb.threads/schedlock.exp: Likewise.
4668
3433cfa5
SC
46692014-10-24 Siva Chandra Reddy <sivachandra@google.com>
4670
4671 * gdb.cp/non-trivial-retval.cc: Add a test case.
4672 * gdb.cp/non-trivial-retval.exp: Add a test.
4673
092f880b
YQ
46742014-10-20 Yao Qi <yao@codesourcery.com>
4675
4676 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
4677 * gdb.python/py-objfile-script-gdb.py: New file.
4678 * gdb.python/py-objfile-script.exp: Update reference to
4679 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
4680 of remote_download. Remove the dest file.
4681
acbdb7f3
YQ
46822014-10-20 Yao Qi <yao@codesourcery.com>
4683
4684 * gdb.base/checkpoint.exp: Don't remove file copied on host.
4685 * gdb.base/step-line.exp: Likewise.
4686 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4687 * gdb.dwarf2/dw2-basic.exp: Likewise.
4688 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4689 * gdb.dwarf2/dw2-filename.exp: Likewise.
4690 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4691 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4692 * gdb.dwarf2/dw2-producer.exp: Likewise.
4693 * gdb.dwarf2/mac-fileno.exp: Likewise.
4694 * gdb.python/py-frame-args.exp: Likewise.
4695 * gdb.python/py-framefilter.exp: Likewise.
4696 * gdb.python/py-mi.exp: Likewise.
4697 * gdb.python/py-objfile-script.exp: Likewise
4698 * gdb.python/py-pp-integral.exp: Likewise.
4699 * gdb.python/py-pp-re-notag.exp: Likewise.
4700 * gdb.python/py-prettyprint.exp: Likewise.
4701 * gdb.python/py-section-script.exp: Likewise.
4702 * gdb.python/py-typeprint.exp: Likewise.
4703 * gdb.python/py-xmethods.exp: Likewise.
4704 * gdb.stabs/weird.exp: Likewise.
4705 * gdb.xml/tdesc-regs.exp: Likewise.
4706
bd286a29
KCY
47072014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
4708
4709 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
4710 (out_cu): Use addr_len for the size of addresses.
4711 (out_line): Likewise. Size DW_LNE_set_address instruction
4712 according to addr_len.
4713 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
4714 (FUNC): Add START_INSNS to definition.
4715
673dc4a0
YQ
47162014-10-18 Yao Qi <yao@codesourcery.com>
4717
4718 * gdb.base/argv0-symlink.exp: Check argv[0] value if
4719 gdb_has_argv0 return true.
4720 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
4721 check [target_info exists noargs], check [gdb_has_argv0]
4722 instead.
4723 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4724 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
4725 procedures.
4726
4ffbba72
DE
47272014-10-17 Doug Evans <dje@google.com>
4728
4729 * gdb.python/py-events.exp: Update expected output for clear_objfiles
4730 event.
4731 * gdb.python/py-events.py: Add clear_objfiles event.
4732
d096d8c1
DE
47332014-10-17 Doug Evans <dje@google.com>
4734
4735 * gdb.python/py-objfile.exp: Test progspace attribute.
4736
a80db015
LM
47372014-10-17 Luis Machado <lgustavo@codesourcery.com>
4738
4739 * gdb.guile/scm-breakpoint.exp: Do not assume any
4740 directory separators when matching source file paths.
4741 * gdb.python/py-breakpoint.exp: Likewise.
4742 * gdb.reverse/break-precsave.exp: Likewise.
4743 * gdb.reverse/break-reverse.exp: Likewise.
4744 * gdb.reverse/consecutive-precsave.exp: Likewise.
4745 * gdb.reverse/finish-precsave.exp: Likewise.
4746 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
4747 * gdb.reverse/finish-reverse.exp: Likewise.
4748 * gdb.reverse/i386-precsave.exp: Likewise.
4749 * gdb.reverse/i387-env-reverse.exp: Likewise.
4750 * gdb.reverse/i387-stack-reverse.exp: Likewise.
4751 * gdb.reverse/machinestate-precsave.exp: Likewise.
4752 * gdb.reverse/machinestate.exp: Likewise.
4753 * gdb.reverse/sigall-precsave.exp: Likewise.
4754 * gdb.reverse/solib-precsave.exp: Likewise.
4755 * gdb.reverse/step-precsave.exp: Likewise.
4756 * gdb.reverse/until-precsave.exp: Likewise.
4757 * gdb.reverse/watch-precsave.exp: Likewise.
4758 * gdb.reverse/watch-reverse.exp: Likewise.
4759
b22089ab
YQ
47602014-10-17 Yao Qi <yao@codesourcery.com>
4761
4762 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
4763 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
4764
6c4486e6
PA
47652014-10-17 Pedro Alves <palves@redhat.com>
4766
4767 PR gdb/17471
4768 * gdb.base/bg-execution-repeat.c: New file.
4769 * gdb.base/bg-execution-repeat.exp: New file.
4770
0ff33695
PA
47712014-10-17 Pedro Alves <palves@redhat.com>
4772
4773 PR gdb/17300
4774 * gdb.base/continue-all-already-running.c: New file.
4775 * gdb.base/continue-all-already-running.exp: New file.
4776
6fdebc3d
PA
47772014-10-17 Pedro Alves <palves@redhat.com>
4778
4779 PR gdb/17472
4780 * gdb.base/annota-input-while-running.c: New file.
4781 * gdb.base/annota-input-while-running.exp: New file.
4782
32a8097b
PA
47832014-10-17 Pedro Alves <palves@redhat.com>
4784
4785 * gdb.base/callfuncs.exp: emove references to osf.
4786 * gdb.base/sigall.exp: Likewise.
4787 * gdb.gdb/selftest.exp: Likewise.
4788 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
4789 * gdb.mi/non-stop.c: Likewise.
4790 * gdb.mi/pthreads.c: Likewise.
4791 * gdb.reverse/sigall-precsave.exp: Likewise.
4792 * gdb.reverse/sigall-reverse.exp: Likewise.
4793 * gdb.threads/pthreads.c: Likewise.
4794 * gdb.threads/pthreads.exp: Likewise.
4795
7a3517ff
YQ
47962014-10-17 Yao Qi <yao@codesourcery.com>
4797
4798 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
4799 check 'target_info exists noargs'.
4800 (test_command_prompt_position): Likewise.
4801 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
4802 Remove "set args".
4803 (progvar_simple_while_test): Likewise.
4804 (progvar_complex_if_while_test): Likewise.
4805 (if_while_breakpoint_command_test): Likewise.
4806 (infrun_breakpoint_command_test): Likewise.
4807 (breakpoint_command_test): Likewise.
4808 (watchpoint_command_test): Likewise.
4809 (bp_deleted_in_command_test): Likewise.
4810 (temporary_breakpoint_commands): Likewise.
4811
bb99c472
YQ
48122014-10-16 Yao Qi <yao@codesourcery.com>
4813
4814 * gdb.base/remotetimeout.exp: Remove noargs checking.
4815
7c16b83e
PA
48162014-10-15 Pedro Alves <palves@redhat.com>
4817
4818 PR breakpoints/9649
4819 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
4820 * gdb.base/breakpoint-in-ro-region.exp
4821 (probe_target_hardware_step): New procedure.
4822 (top level): Probe hardware stepping and hardware breakpoint
4823 support. Test stepping through a read-only region, with both
4824 "breakpoint auto-hw" on and off and both "always-inserted" on and
4825 off.
4826
35a49624
IB
48272014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
4828
4829 * gdb.dlang/demangle.exp: Update for demangling changes.
4830
2d1c107c
SC
48312014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4832
4833 * gdb.cp/non-trivial-retval.cc: Add new test cases.
4834 * gdb.cp/non-trivial-retval.exp: Add new tests.
4835
778811d5
SC
48362014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4837
4838 PR c++/13403
4839 PR c++/15154
4840 * gdb.cp/non-trivial-retval.cc: New file.
4841 * gdb.cp/non-trivial-retval.exp: New file.
4842
10c5f0a8
YQ
48432014-10-15 Yao Qi <yao@codesourcery.com>
4844
4845 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
4846 remote host.
4847
65d7b369
YQ
48482014-10-15 Yao Qi <yao@codesourcery.com>
4849
4850 * gdb.python/py-symbol.exp: Match file base name if host is
4851 remote, otherwise match file name with dir name.
4852 * gdb.python/py-symtab.exp: Likewise.
4853 * gdb.python/python.exp: Likewise.
4854
46dc1394
YQ
48552014-10-15 Yao Qi <yao@codesourcery.com>
4856
4857 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
4858 pattern.
4859 * gdb.python/py-symtab.exp: Likewise.
4860 * gdb.python/python.exp: Remove trailing ".*". Fix typo
4861 locationn.
4862
c40cc657
JB
48632014-10-14 Joel Brobecker <brobecker@adacore.com>
4864
4865 * gdb.ada/addr_arith: New testcase.
4866
2abf49e1
MR
48672014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
4868
4869 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
4870 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
4871 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
4872 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
4873
f7088df3
SDJ
48742014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
4875
4876 * gdb.arch/stap-eval-lang-ada.S: Likewise.
4877 * gdb.arch/stap-eval-lang-ada.c: Likewise.
4878 * gdb.arch/stap-eval-lang-ada.exp: New file.
4879
4dc06805
YQ
48802014-10-14 Yao Qi <yao@codesourcery.com>
4881
4882 * gdb.mi/mi-var-child.c (nothing1): New function.
4883 (nothing2): New function.
4884 (do_children_tests): Set function pointers by nothing1 and
4885 nothing2.
4886 * gdb.mi/mi-var-child.exp: Step over new added statements.
4887 Update test to match the new output.
4888 * gdb.mi/var-cmd.c (nothing1): New function.
4889 (nothing2): New function.
4890 (do_children_tests): Set function pointers by nothing1 and
4891 nothing2.
4892 * gdb.mi/mi-var-display.exp: Update test to match output.
4893 Step to the line specified by $line_dct_nothing.
4894 Increase the number of lines to step.
4895
46a93de2
YQ
48962014-10-14 Yao Qi <yao@codesourcery.com>
4897
4898 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
4899 tests.
4900 * gdb.mi/mi2-var-child.exp: Likewise.
4901
14ea52ee
DE
49022014-10-13 Doug Evans <dje@google.com>
4903
4904 * gdb.python/py-objfile.exp: Change name of file name test.
4905
e5c6e92b
DE
49062014-10-13 Doug Evans <dje@google.com>
4907
4908 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
4909 from the start of the CU.
4910
c780cc2f
JK
49112014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4912 Yao Qi <yao@codesourcery.com>
4913
4914 Fix "save breakpoints" for "catch" command.
4915 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
4916 Remove -nonewline. Match also the added "main" line.
4917
99894e11
JK
49182014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4919
4920 Fix "save breakpoints" for "disable $bpnum" command.
4921 * gdb.base/save-bp.c (main): Add label.
4922 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
4923
6e1ac5a3
JK
49242014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4925
4926 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
4927
754dd2b0
YQ
49282014-10-11 Yao Qi <yao@codesourcery.com>
4929
4930 * gdb.server/server-kill.exp: Execute command
4931 "set remote trace-status-packet on" before "tstatus".
4932
f90183d7
YQ
49332014-10-11 Yao Qi <yao@codesourcery.com>
4934
4935 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
4936 (main): Call getppid.
4937 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
4938 and continue to it. Read variable "server_pid".
4939
bf40a607
YQ
49402014-10-11 Yao Qi <yao@codesourcery.com>
4941
4942 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
4943
052ca370
YQ
49442014-10-11 Yao Qi <yao@codesourcery.com>
4945
4946 * gdb.threads/thread-find.exp: Don't execute command
4947 "info threads".
4948 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
4949 * gdb.threads/linux-dp.exp: Don't check the condition
4950 $threads_created equals to zero.
4951
3831839c
PA
49522014-10-10 Pedro Alves <palves@redhat.com>
4953
4954 * gdb.base/bigcore.exp: Remove references to IRIX.
4955 * gdb.base/funcargs.exp: Likewise.
4956 * gdb.base/interrupt.exp: Likewise.
4957 * gdb.base/mips_pro.exp: Likewise.
4958 * gdb.base/nodebug.exp: Likewise.
4959 * gdb.base/setvar.exp: Likewise.
4960 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
4961
8b9a549d
PA
49622014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4963 Pedro Alves <palves@redhat.com>
4964
4965 PR symtab/14466
4966 * gdb.base/vdso-warning.c: New file.
4967 * gdb.base/vdso-warning.exp: New file.
4968
d48ba5e8
DE
49692014-10-02 Doug Evans <dje@google.com>
4970
4971 * gdb.base/structs.c (main): Don't run forever.
4972
2278c276
PA
49732014-10-02 Pedro Alves <palves@redhat.com>
4974
4975 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
4976 (top level) <stop threads 1, stop threads 2>: Use it.
4977
b57bacec
PA
49782014-10-02 Pedro Alves <palves@redhat.com>
4979
4980 * gdb.threads/break-while-running.exp (test): Add new
4981 'update_thread_list' argument. Skip "info threads" if false.
4982 (top level): Add new 'update_thread_list' axis.
4983
13fd3ff3
PA
49842014-10-02 Pedro Alves <palves@redhat.com>
4985
4986 PR breakpoints/17431
4987 * gdb.base/execl-update-breakpoints.c: New file.
4988 * gdb.base/execl-update-breakpoints.exp: New file.
4989
0fec99e8
PA
49902014-10-01 Pedro Alves <palves@redhat.com>
4991
4992 * gdb.base/breakpoint-in-ro-region.c: New file.
4993 * gdb.base/breakpoint-in-ro-region.exp: New file.
4994
2ddf4301
SM
49952014-10-01 Simon Marchi <simon.marchi@ericsson.com>
4996
4997 * gdb.mi/mi-exit-code.exp: New file.
4998 * gdb.mi/mi-exit-code.c: New file.
4999
6a5f3f43
YQ
50002014-09-30 Yao Qi <yao@codesourcery.com>
5001
5002 * lib/prelink-support.exp (build_executable_own_libs): Error if
5003 the target isn't native.
5004
345bcc73
YQ
50052014-09-30 Yao Qi <yao@codesourcery.com>
5006
5007 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5008 false.
5009
a25a5a45
PA
50102014-09-22 Pedro Alves <palves@redhat.com>
5011
5012 * gdb.threads/break-while-running.exp: New file.
5013 * gdb.threads/break-while-running.c: New file.
5014
00ba3162
YQ
50152014-09-19 Yao Qi <yao@codesourcery.com>
5016
5017 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5018 Invoke test. Restart GDB with --readnow and invoke test again.
5019
c3b7b696
YQ
50202014-09-19 Yao Qi <yao@codesourcery.com>
5021
5022 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5023 proc set_breakpoint_on_gcd_function. Invoke
5024 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5025 invoke set_breakpoint_on_gcd_function again.
5026
2b4fd423
DE
50272014-09-18 Doug Evans <dje@google.com>
5028
5029 * gdb.dwarf2/symtab-producer.exp: New file.
5030
a5947601
SDJ
50312014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5032
5033 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5034 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5035 * gdb.base/global-var-nested-by-dso.c: Likewise.
5036 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5037
91c19059
SDJ
50382014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5039 Pedro Alves <palves@redhat.com>
5040
5041 * gdb.base/watch-bitfields.exp: Pass string other than test file
5042 name to prepare_for_testing.
5043 (watch): New procedure.
5044 (expect_watchpoint): Use with_test_prefix.
5045 (top level): Factor out tests to ...
5046 (test_watch_location, test_regular_watch): ... these new
5047 procedures, and use with_test_prefix and gdb_continue_to_end.
5048
bb9d5f81
PP
50492014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5050
5051 PR breakpoints/12526
5052 * gdb.base/watch-bitfields.exp: New file.
5053 * gdb.base/watch-bitfields.c: New file.
5054
635856f5
PA
50552014-09-16 Pedro Alves <palves@redhat.com>
5056
5057 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5058 software and hardware addresses, not software address against
5059 itself.
5060
7280ceea
PA
50612014-09-16 Pedro Alves <palves@redhat.com>
5062
5063 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5064 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5065
428b16bd
PA
50662014-09-16 Pedro Alves <palves@redhat.com>
5067
5068 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5069 files.
5070 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5071 "*-*-vxworks*" throughout.
5072 * gdb.base/break.exp: Likewise.
5073 * gdb.base/default.exp: Likewise.
5074 * gdb.base/scope.exp: Likewise.
5075 * gdb.base/sepdebug.exp: Likewise.
5076 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5077 throughout.
5078 * gdb.base/run.c: Likewise.
5079 * gdb.base/sepdebug.c: Likewise.
5080 * gdb.hp/gdb.aCC/run.c: Likewise.
5081 * gdb.reverse/until-reverse.c: Likewise.
5082 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5083
666d413c
YQ
50842014-09-16 Yao Qi <yao@codesourcery.com>
5085
5086 * boards/local-remote-host-native.exp: New file.
5087
57cbd724
DE
50882014-09-14 Doug Evans <xdje42@gmail.com>
5089
5090 * gdb.threads/queue-signal.c (thread_count): New variable.
5091 (thread_count_mutex, thread_count_condvar): New variables.
5092 (incr_thread_count, wait_all_threads_running): New functions.
5093 (main): Wait for all threads to be in their thread functions.
5094
81219e53
DE
50952014-09-13 Doug Evans <xdje42@gmail.com>
5096
5097 * gdb.threads/queue-signal.c: New file.
5098 * gdb.threads/queue-signal.exp: New file.
5099
3714cea7
DE
51002014-09-13 Doug Evans <xdje42@gmail.com>
5101
5102 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5103 be consistent with what default_gdb_init uses.
5104 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5105 the plain text of the prompt. Add some logging printfs.
5106 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5107
fa43b1d7
PA
51082014-09-12 Pedro Alves <palves@redhat.com>
5109
5110 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5111 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5112 * gdb.arch/i386-size-overlap.exp: Likewise.
5113 * gdb.arch/i386-size.exp: Likewise.
5114 * gdb.arch/i386-unwind.exp: Likewise.
5115 * gdb.base/a2-run.exp: Likewise.
5116 * gdb.base/break.exp: Likewise.
5117 * gdb.base/charset.exp: Likewise.
5118 * gdb.base/chng-syms.exp: Likewise.
5119 * gdb.base/commands.exp: Likewise.
5120 * gdb.base/dbx.exp: Likewise.
5121 * gdb.base/find.exp: Likewise.
5122 * gdb.base/funcargs.exp: Likewise.
5123 * gdb.base/jit-simple.exp: Likewise.
5124 * gdb.base/reread.exp: Likewise.
5125 * gdb.base/sepdebug.exp: Likewise.
5126 * gdb.base/step-bt.exp: Likewise.
5127 * gdb.cp/mb-inline.exp: Likewise.
5128 * gdb.cp/mb-templates.exp: Likewise.
5129 * gdb.objc/basicclass.exp: Likewise.
5130 * gdb.threads/killed.exp: Likewise.
5131
9d9bf2df
EBM
51322014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5133
5134 PR tdep/17379
5135 * gdb.arch/powerpc-stackless.S: New file.
5136 * gdb.arch/powerpc-stackless.exp: New file.
5137
1cf2f1b0
JK
51382014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5139
5140 * gdb.base/attach.c: Include unistd.h.
5141 (main): Call alarm. Add label postloop.
5142 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5143 gdb_breakpoint, gdb_continue_to_breakpoint.
5144 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5145
98880d46
PA
51462014-09-11 Pedro Alves <palves@redhat.com>
5147
5148 PR gdb/17347
5149 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5150 * gdb.base/attach.exp (test_command_line_attach_run): New
5151 procedure.
5152 (top level): Call it.
5153
4c92ff2c
PA
51542014-09-11 Pedro Alves <palves@redhat.com>
5155
5156 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5157 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5158 (do_command_attach_tests): Use spawn_wait_for_attach.
5159 * gdb.base/solib-overlap.exp: Likewise.
5160 * gdb.multi/multi-attach.exp: Likewise.
5161 * gdb.python/py-prompt.exp: Likewise.
5162 * gdb.python/py-sync-interp.exp: Likewise.
5163 * gdb.server/ext-attach.exp: Likewise.
5164
3adc1a7d
GKB
51652014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5166
5167 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5168 command in testcase. Simplify testcase.
5169
96334934
JB
51702014-09-10 Joel Brobecker <brobecker@adacore.com>
5171
5172 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5173
eb479039
JB
51742014-09-10 Joel Brobecker <brobecker@adacore.com>
5175
5176 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5177
deede10c
JB
51782014-09-10 Joel Brobecker <brobecker@adacore.com>
5179
5180 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5181
7828a5f5
JB
51822014-09-10 Joel Brobecker <brobecker@adacore.com>
5183
5184 * gdb.dwarf2/dynarr-ptr.c: New file.
5185 * gdb.dwarf2/dynarr-ptr.exp: New file.
5186
33aeebcf
MR
51872014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5188
5189 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5190 of 30 rather than hardcoding 120 for a slow test case. Take the
5191 `gdb,timeout' target setting into account for this calculation.
5192 Don't extend the timeout for the test cases that don't need it.
5193
7b415901
MR
51942014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5195
5196 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5197 a factor of 2 for a slow test case. Take the `gdb,timeout'
5198 target setting into account for this calculation.
5199 * gdb.reverse/until-precsave.exp: Increase the timeout by
5200 a factor of 15 and 3 respectively rather than adding 120
5201 for a pair of slow test cases. Take the `gdb,timeout'
5202 target setting into account for this calculation.
5203
4a40f85a
MR
52042014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5205
5206 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5207 timeout, don't pass one down to gdb_expect.
5208 (gdb_expect): Rework timeout selection.
5209
09635af7
MR
52102014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5211
5212 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5213 exception on timeout.
5214 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5215 (gdbserver_start_extended): Catch any `gdbserver_start' error
5216 exceptions.
5217 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5218 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5219 `gdbserver_gdb_load' error exceptions.
5220
2bdd10b7
MR
52212014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5222
5223 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5224 120 on waiting for the TCP socket to open.
5225
316935f0
DE
52262014-09-09 Doug Evans <xdje42@gmail.com>
5227
5228 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5229 _caller_matches, _any_caller_is, _any_caller_matches.
5230
83740597
DE
52312014-09-09 Doug Evans <xdje42@gmail.com>
5232
5233 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5234
4c122fc3
YQ
52352014-09-09 Yao Qi <yao@codesourcery.com>
5236
5237 * gdb.mi/mi-var-display.exp: Set print symbol off.
5238
a9f116cb
GKB
52392014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5240
5241 PR gdb/17035
5242 * gdb.base/commands.exp: Add tests to verify user-defined
5243 commands with empty bodies.
5244 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5245 python commands in `show user command`.
5246 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5247 scheme commands in `show user command`.
5248
c75bd3a2
JK
52492014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5250
5251 PR python/17355
5252 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5253 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5254 * gdb.python/py-framefilter-invalidarg.exp: New file.
5255 * gdb.python/py-framefilter-invalidarg.py: New file.
5256
faa42425
DE
52572014-09-06 Doug Evans <xdje42@gmail.com>
5258
5259 PR 15276
5260 * gdb.python/py-caller-is.c: New file.
5261 * gdb.python/py-caller-is.exp: New file.
5262
474ca4f6
SDJ
52632014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5264
5265 PR gdb/17235
5266 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5267 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5268
eb0b0463
SDJ
52692014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5270
5271 PR fortran/17237
5272 * gdb.fortran/print-formatted.exp: New file.
5273 * gdb.fortran/print-formatted.f90: Likewise.
5274
5f3b99cf
SS
52752014-09-03 Sasha Smundak <asmundak@google.com>
5276
5277 * gdb.python/py-frame.exp: Test Frame.read_register.
5278
7d793aa9
SDJ
52792014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5280
5281 PR python/16699
5282 * gdb.python/py-completion.exp: New file.
5283 * gdb.python/py-completion.py: Likewise.
5284
fb0576e9
DE
52852014-08-28 Doug Evans <dje@google.com>
5286
5287 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5288 eax,etc. are live with values set by gdb and thus the compiler can't
5289 use them.
5290 * gdb.arch/i386-pseudo.c (main): Ditto.
5291
ee92b0dd
DE
52922014-08-27 Doug Evans <dje@google.com>
5293
5294 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5295
6649db35
DE
52962014-08-25 Doug Evans <dje@google.com>
5297
5298 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5299 (main): Ditto.
5300
564b7600
DE
53012014-08-25 Doug Evans <dje@google.com>
5302
5303 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5304
3881fb67
YQ
53052014-08-24 Yao Qi <yao@codesourcery.com>
5306
5307 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5308 symbol off.
5309 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5310
a05a36a5
DE
53112014-08-22 Doug Evans <dje@google.com>
5312
5313 PR 17276
5314 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5315 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5316 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5317
7c343b48
YQ
53182014-08-22 Yao Qi <yao@codesourcery.com>
5319
5320 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5321 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5322 * gdb.python/python.exp: Likewise. Use .py file on the host
5323 instead of the build.
5324
22fd09ae
JK
53252014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5326
5327 * gdb.threads/gcore-stale-thread.c: New file.
5328 * gdb.threads/gcore-stale-thread.exp: New file.
5329
a8454a7c
PA
53302014-08-21 Pedro Alves <palves@redhat.com>
5331
5332 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5333 * gdb.base/gcore-relro-pie.exp: Likewise.
5334 * gdb.base/gcore-relro.exp: Likewise.
5335 * gdb.base/gcore.exp: Likewise.
5336 * gdb.base/print-symbol-loading.exp: Likewise.
5337 * gdb.threads/gcore-thread.exp: Likewise.
5338 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5339
2a31c623
PA
53402014-08-20 Pedro Alves <palves@redhat.com>
5341 Jan Kratochvil <jan.kratochvil@redhat.com>
5342
5343 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5344 configure.
5345 (EXPECT): Handle READ1 being set.
5346 (all): Depend on EXTRA_RULES.
5347 (check-read1, expect-read1, read1.so, read1): New rules.
5348 * README (Testsuite Parameters): Document the READ1 make variable.
5349 (Race detection): New section.
5350 * configure: Regenerate.
5351 * configure.ac: If build==host==target, and running under a
5352 GNU/glibc system, add read1 to the extra Makefile rules.
5353 (EXTRA_RULES): AC_SUBST it.
5354 * lib/read1.c: New file.
5355
d36430db
JB
53562014-08-20 Joel Brobecker <brobecker@adacore.com>
5357
5358 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5359 the handling of variables declared as a typedef to an array
5360 which a DW_AT_data_location attribute.
5361
9a0dc9e3
PA
53622014-08-19 Andrew Burgess <aburgess@broadcom.com>
5363 Pedro Alves <palves@redhat.com>
5364
5365 PR symtab/14604
5366 PR symtab/14605
5367 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5368 gdb_test.
5369
0718a8da
PA
53702014-08-19 Pedro Alves <palves@redhat.com>
5371
5372 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5373
13b448cd
YQ
53742014-08-19 Yao Qi <yao@codesourcery.com>
5375
5376 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5377 right line.
5378
1cbf5077
DB
53792014-08-18 David Blaikie <dblaikie@gmail.com>
5380
5381 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5382
bf0fae19
JB
53832014-08-18 Joel Brobecker <brobecker@adacore.com>
5384
5385 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5386 attribute in array range.
5387
3c8c5dcc
JB
53882014-08-18 Joel Brobecker <brobecker@adacore.com>
5389
5390 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5391
e66d4446
SC
53922014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5393
5394 PR c++/17132
5395 * gdb.cp/pr17132.cc: New file.
5396 * gdb.cp/pr17132.exp: New file.
5397
940df408
SC
53982014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5399
5400 * gdb.python/py-xmethods.py (A_getarrayind)
5401 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5402 Use 'print' with function call syntax.
5403 (E_method_matcher.match): Fix tab vs space indentation mixup.
5404
ebcc6c3a
YQ
54052014-08-15 Yao Qi <yao@codesourcery.com>
5406
5407 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5408 false.
5409
775e0f04
YQ
54102014-08-15 Yao Qi <yao@codesourcery.com>
5411
5412 * gdb.cp/casts.exp: Set print symbol off.
5413 * gdb.cp/class2.exp: Likewise.
5414 * gdb.cp/overload.exp: Likewise.
5415 * gdb.cp/templates.exp: Likewise.
5416
d769e349
DE
54172014-08-11 Doug Evans <dje@google.com>
5418
5419 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5420 (test_load_shlib): Update.
5421
20c6f1e1
YQ
54222014-08-09 Yao Qi <yao@codesourcery.com>
5423
5424 * gdb.base/display.exp: Invoke is_address_zero_readable.
5425 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5426 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5427 * gdb.base/hbreak-unmapped.exp: Return if
5428 is_address_zero_readable returns true.
5429 * gdb.base/signest.exp: Likewise.
5430 * gdb.base/signull.exp: Likewise.
5431 * gdb.base/sigbpt.exp: Likewise.
5432 * gdb.guile/scm-disasm.exp: Do the test if
5433 is_address_zero_readable returns false.
5434 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5435 * gdb.python/py-arch.exp: Likewise.
5436 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5437 * lib/gdb.exp (is_address_zero_readable): New proc.
5438
5792e8e3
YQ
54392014-08-09 Yao Qi <yao@codesourcery.com>
5440
5441 PR testsuite/13443
5442 * gdb.mi/mi-var-display.exp: Make test messages unique.
5443
3cecbbbe
TT
54442014-08-04 Tom Tromey <tromey@redhat.com>
5445
5446 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5447 target 0".
5448
00b51ff5
TT
54492014-08-04 Tom Tromey <tromey@redhat.com>
5450
5451 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5452 "target_resume".
5453
6908c509
JB
54542014-08-01 Joel Brobecker <brobecker@adacore.com>
5455
5456 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5457 inner_vla_struct_object_size.
5458 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5459 as xfail.
5460
cc6563d2
PA
54612014-07-30 Pedro Alves <palves@redhat.com>
5462
5463 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5464 comment.
5465
7e09a223
YQ
54662014-07-29 Yao Qi <yao@codesourcery.com>
5467
5468 PR gdb/17206
5469 * gdb.base/until-nodebug.exp: New.
5470
7ebdbe92
DE
54712014-07-28 Doug Evans <xdje42@gmail.com>
5472
5473 PR guile/17203
5474 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5475 previously existing parameter, and previously ambiguously spelled
5476 parameter.
5477
fdb1adc6
WN
54782014-07-28 Will Newton <will.newton@linaro.org>
5479
5480 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5481
186fcde0
DE
54822014-07-26 Ludovic Courtès <ludo@gnu.org>
5483 Doug Evans <xdje42@gmail.com>
5484
5485 PR guile/17146
5486 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5487
70509625
PA
54882014-07-25 Pedro Alves <palves@redhat.com>
5489
5490 * gdb.threads/signal-command-handle-nopass.c: New file.
5491 * gdb.threads/signal-command-handle-nopass.exp: New file.
5492 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5493 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5494 * gdb.threads/signal-delivered-right-thread.c: New file.
5495 * gdb.threads/signal-delivered-right-thread.exp: New file.
5496
c3f814a1
PA
54972014-07-25 Pedro Alves <palves@redhat.com>
5498
5499 * gdb.base/double-prompt-target-event-error.exp
5500 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5501 match.
5502 (cancel_pagination_in_target_event): Rework double prompt
5503 detection.
5504 * gdb.base/paginate-after-ctrl-c-running.exp
5505 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5506 <return>' match.
5507 * gdb.base/paginate-bg-execution.exp
5508 (test_bg_execution_pagination_return)
5509 (test_bg_execution_pagination_cancel): Remove '-notransfer
5510 <return>' matches.
5511 * gdb.base/paginate-execution-startup.exp
5512 (test_fg_execution_pagination_return)
5513 (test_fg_execution_pagination_cancel): Remove '-notransfer
5514 <return>' matches.
5515 * gdb.base/paginate-inferior-exit.exp
5516 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5517 match.
5518 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5519 * lib/gdb.exp (pagination_prompt): Run text through
5520 string_to_regexp.
5521 (gdb_test_multiple): Match $pagination_prompt instead of
5522 "<return>".
5523 (string_to_regexp): Move to lib/gdb-utils.exp.
5524
e214cf6c
JK
55252014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5526
5527 * gdb.arch/amd64-entry-value-paramref.S: New file.
5528 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5529 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5530 * gdb.arch/amd64-optimout-repeat.S: New file.
5531 * gdb.arch/amd64-optimout-repeat.c: New file.
5532 * gdb.arch/amd64-optimout-repeat.exp: New file.
5533
17d0c5c8
JK
55342014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5535
5536 PR gdb/17170
5537 * gdb.base/statistics.exp: New file.
5538
b8b8facf
DE
55392014-07-17 Doug Evans <dje@google.com>
5540
74b49205 5541 PR gdb/17170
b8b8facf
DE
5542 * gdb.base/maint.exp: Update testing of per-command stats.
5543
1b5d0ab3
PA
55442014-07-16 Pedro Alves <palves@redhat.com>
5545
5546 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5547 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5548 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5549 (tfile_write_buf): New functions.
5550 (add_memory_block): Rewrite using the above.
5551 (adjust_function_address): New function.
5552 (FUNCTION_ADDRESS): New macro.
5553 (write_basic_trace_file): Remove short_x local, and use
5554 tfile_write_16. Change type of func_addr local to unsigned long
5555 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5556 here. Cast argument of add_memory_block to char pointer.
5557 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5558 (main): Remove parameters.
5559 * gdb.trace/tfile.exp: Remove nowarnings.
5560
4d974e88
SM
55612014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5562
5563 * gdb.base/debug-expr.exp: Test string evaluation with
5564 "debug expression" on.
5565
41e99568
PA
55662014-07-15 Pedro Alves <palves@redhat.com>
5567
5568 * gdb.base/reread.exp: Use clean_restart.
5569
487d9753
PL
55702014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5571
5572 * gdb.arch/avr-flash-qualifer.c: New.
5573 * gdb.arch/avr-flash-qualifer.exp: New.
5574
cc1c52ad
PA
55752014-07-14 Pedro Alves <palves@redhat.com>
5576
5577 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5578 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5579
1e973570
PA
55802014-07-14 Pedro Alves <palves@redhat.com>
5581
5582 * gdb.base/double-prompt-target-event-error.c: New file.
5583 * gdb.base/double-prompt-target-event-error.exp: New file.
5584
93d6eb10
PA
55852014-07-14 Pedro Alves <palves@redhat.com>
5586
5587 PR gdb/17072
5588 * gdb.base/paginate-inferior-exit.c: New file.
5589 * gdb.base/paginate-inferior-exit.exp: New file.
5590
0017922d
PA
55912014-07-14 Pedro Alves <palves@redhat.com>
5592
5593 PR gdb/17072
5594 * gdb.base/paginate-bg-execution.c: New file.
5595 * gdb.base/paginate-bg-execution.exp: New file.
5596
94696ad3
PA
55972014-07-14 Pedro Alves <palves@redhat.com>
5598
5599 PR gdb/17072
5600 * gdb.base/paginate-execution-startup.c: New file.
5601 * gdb.base/paginate-execution-startup.exp: New file.
5602 * lib/gdb.exp (pagination_prompt): New global.
5603 (default_gdb_spawn): New procedure, factored out from
5604 default_gdb_spawn.
5605 (default_gdb_start): Adjust to call default_gdb_spawn.
5606 (gdb_spawn): New procedure.
5607
bd293940
PA
56082014-07-14 Pedro Alves <palves@redhat.com>
5609
5610 * lib/gdb.exp (gdb_assert): New procedure.
5611 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
5612
c933f875
PA
56132014-07-14 Pedro Alves <palves@redhat.com>
5614
5615 * gdb.base/execution-termios.c: New file.
5616 * gdb.base/execution-termios.exp: New file.
5617
d98b7a16
TT
56182014-07-14 Tom Tromey <tromey@redhat.com>
5619
5620 * gdb.cp/vla-cxx.cc: New file.
5621 * gdb.cp/vla-cxx.exp: New file.
5622
548740d6
TT
56232014-07-14 Tom Tromey <tromey@redhat.com>
5624
5625 * gdb.reverse/rerun-prec.c: New file.
5626 * gdb.reverse/rerun-prec.exp: New file.
5627
a25eb028
MR
56282014-07-12 Maciej W. Rozycki <macro@mips.com>
5629 Maciej W. Rozycki <macro@codesourcery.com>
5630
5631 * lib/gdb-utils.exp: New file.
5632 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
5633 inline `gdb_init_command' processing.
5634 (gdb_start_cmd): Likewise.
5635 * lib/mi-support.exp (mi_run_cmd): Likewise.
5636 * README: Document `gdb_init_command' and `gdb_init_commands'.
5637
218c2655
JK
56382014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5639
5640 Fix false FAIL running under a very long directory name.
5641 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
5642 and "set print elements 10000". Twice.
5643
5401fde3
YQ
56442014-07-11 Yao Qi <yao@codesourcery.com>
5645
5646 * gdb.base/exprs.exp: "set print symbol off".
5647
e76126e8
PA
56482014-07-11 Pedro Alves <palves@redhat.com>
5649
5650 * gdb.threads/kill.c: New file.
5651 * gdb.threads/kill.exp: New file.
5652
2d6f0de6
YQ
56532014-07-10 Yao Qi <yao@codesourcery.com>
5654
5655 * gdb.trace/tfile.c (write_basic_trace_file)
5656 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
5657 address written to trace file.
5658
7180e04a
PA
56592014-07-09 Pedro Alves <palves@redhat.com>
5660
5661 * gdb.base/attach-wait-input.exp: New file.
5662 * gdb.base/attach-wait-input.c: New file.
5663
9a9a7608
AB
56642014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5665
5666 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
5667 setting up test structures.
5668 (main): Call new test function.
5669 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
5670 test function, continue into test function and walk test
5671 structures.
5672
161ac41e
YQ
56732014-07-02 Yao Qi <yao@codesourcery.com>
5674
5675 * gdb.trace/entry-values.c: Define labels 'foo_start' and
5676 'bar_start' at the beginning of functions 'foo' and 'bar'
5677 respectively.
5678 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
5679 instead of 'foo' and 'bar'.
5680
1f267ae3
MM
56812014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5682
5683 * gdb.btrace/segv.exp: New.
5684 * gdb.btrace/segv.c: New.
5685
2b239efb
LM
56862014-07-02 Luis Machado <lgustavo@codesourcery.com>
5687
5688 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
5689 instruction.
5690
cf363f18
MW
56912014-06-30 Mark Wielaard <mjw@redhat.com>
5692
5693 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
5694 vulture, vilify, villar): New volatile array constants.
5695 (vindictive, vegetation): New const volatile array constants.
5696 * gdb.base/volatile.exp: Test volatile and const volatile array
5697 types.
5698
aebf9d24
AA
56992014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5700
5701 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
5702 target lacks support for awatch, rwatch, or hbreak.
5703
b67a2c6f
YQ
57042014-06-27 Yao Qi <yao@codesourcery.com>
5705
5706 * gdb.multi/dummy-frame-restore.exp: New.
5707 * gdb.multi/dummy-frame-restore.c: New.
5708
aef92902
MM
57092014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5710
5711 * gdb.btrace/gcore.exp: New.
5712
8e9db26e
PA
57132014-06-23 Pedro Alves <palves@redhat.com>
5714
5715 * gdb.base/watchpoint-reuse-slot.c: New file.
5716 * gdb.base/watchpoint-reuse-slot.exp: New file.
5717
70afc5b7
SC
57182014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5719
5720 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
5721 progspace's filename in 'info', 'enable' and 'disable' command
5722 tests.
5723
b972bd9c
JK
57242014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5725
5726 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
5727 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5728 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
5729
125f8a3d
GB
57302014-06-20 Gary Benson <gbenson@redhat.com>
5731
5732 * gdb.arch/i386-avx.exp: Fix include file location.
5733 * gdb.arch/i386-sse.exp: Likewise.
5734
3ed9baed
IB
57352014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5736
5737 * gdb.dlang/expression.exp: New file.
5738
034f788c
PA
57392014-06-19 Pedro Alves <palves@redhat.com>
5740
5741 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
5742 out from ...
5743 (top level): ... here. Iterate running tests under different
5744 scheduler-locking settings.
5745
45371d0c
LM
57462014-06-18 Luis Machado <lgustavo@codesourcery.com>
5747
5748 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
5749 to DW_FORM_addr and use non-zero addresses.
5750
5d376983
SC
57512014-06-18 Siva Chandra Reddy <sivachandra@google.com>
5752
5753 PR gdb/17017
5754 * gdb.python/py-xmethods.cc: Add global function call counters and
5755 increment them in their respective functions. Remove "cout"
5756 statements.
5757 * gdb.python/py-xmethods.exp: Make tests check the global function
5758 call counters instead of depending on inferior IO.
5759
a1aa2221
LM
57602014-06-18 Don Breazeal <donb@codesourcery.com>
5761
5762 * gdb.base/foll-fork.exp (default_fork_parent_follow):
5763 Deleted procedure.
5764 (explicit_fork_parent_follow): Deleted procedure.
5765 (explicit_fork_child_follow): Deleted procedure.
5766 (test_follow_fork): New procedure.
5767 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 5768 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
5769 procedure calls.
5770
0fc05997
YQ
57712014-06-17 Yao Qi <yao@codesourcery.com>
5772
5773 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
5774 CP1252.
5775
70795c52
LM
57762014-06-17 Luis Machado <lgustavo@codesourcery.com>
5777
5778 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
5779 Initialize ptr and S explicitly.
5780 (skip_type_update_when_not_use_rtti_test): Likewise.
5781
6be47f0c
KS
57822014-06-16 Keith Seitz <keiths@redhat.com>
5783
5784 PR mi/15863
5785 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
5786 the inferior is started.
5787
d03de421
PA
57882014-06-16 Pedro Alves <palves@redhat.com>
5789
5790 * gdb.base/break-main-file-remove-fail.c: New file.
5791 * gdb.base/break-main-file-remove-fail.exp: New file.
5792 * gdb.base/break-unload-file.exp: Use build_executable instead of
5793 prepare_for_testing.
5794 (test_break): New parameter "initial_load". Handle it.
5795 (top level): Add initial_load cmdline/file axis.
5796
f9579b99
TT
57972014-06-12 Tom Tromey <tromey@redhat.com>
5798
5799 * gdb.base/completion.exp: Don't use directory name in test.
5800
3657956b
GB
58012014-06-09 Gary Benson <gbenson@redhat.com>
5802
5803 * gdb.base/sigall.c [Functions to send signals]: Reorder to
5804 separate the always-available ANSI-standard signals from the
5805 signals that require checking.
5806 (main): Likewise.
5807 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
5808 Likewise.
5809 (main): Likewise.
5810
4186eb54
KS
58112014-06-07 Keith Seitz <keiths@redhat.com>
5812
5813 Revert:
5814 PR c++/16253
5815 * gdb.cp/var-tag.cc: New file.
5816 * gdb.cp/var-tag.exp: New file.
5817 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5818 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5819 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5820 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5821
25326a28 58222014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
5823
5824 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
5825
829155c9
PA
58262014-06-06 Pedro Alves <palves@redhat.com>
5827
5828 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
5829 in target debug output instead of looking at RSP packets,
5830 disabling the test on any target that uses hardware stepping.
5831 Update comments.
5832
61c8d22e
PA
58332014-06-06 Pedro Alves <palves@redhat.com>
5834
5835 * gdb.base/break-unload-file.exp: Fix typo.
5836
d9a47287
YQ
58372014-06-06 Yao Qi <yao@codesourcery.com>
5838
5839 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
5840 from "jit_function" to "^jit_function".
5841
e5e01dbf
YQ
58422014-06-06 Yao Qi <yao@codesourcery.com>
5843
5844 * gdb.base/async.c (foo): Add one statement.
5845 * gdb.base/async.exp: Get the next instruction address and
5846 match the output of "nexti" by instruction address. Match
5847 the hex address in the output of "finish".
5848
73ba372c
GB
58492014-06-06 Gary Benson <gbenson@redhat.com>
5850
5851 * gdb.base/call-signals.c: Remove preprocessor conditionals
5852 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
5853 SIGSEGV and SIGTERM.
5854 * gdb.base/sigall.c: Likewise.
5855 * gdb.base/unwindonsignal.c: Likewise.
5856 * gdb.reverse/sigall-reverse.c: Likewise.
5857
831517df
YQ
58582014-06-06 Yao Qi <yao@codesourcery.com>
5859
5860 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
5861 readable, skip the test.
5862
b8b91e98
YQ
58632014-06-06 Yao Qi <yao@codesourcery.com>
5864
5865 * gdb.threads/staticthreads.c (thread_function): Move the line
5866 setting breakpoint on forward.
5867 * gdb.threads/staticthreads.exp: Update comments.
5868
fb934770
LC
58692014-06-05 Ludovic Courtès <ludo@gnu.org>
5870
5871 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
5872 "history-append! type error".
5873
6ef284bd
SM
58742014-06-05 Simon Marchi <simon.marchi@ericsson.com>
5875
5876 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
5877 erroneous dprintf expected input.
5878
a872e241
DE
58792014-06-04 Doug Evans <xdje42@gmail.com>
5880
5881 * gdb.guile/scm-generics.exp: Delete.
5882
16f691fb
DE
58832014-06-04 Doug Evans <xdje42@gmail.com>
5884
5885 * gdb.guile/scm-breakpoint.exp: Update.
5886 Add tests for breakpoint registration.
5887
012370f6
TT
58882014-06-04 Tom Tromey <tromey@redhat.com>
5889
5890 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
5891 VLA-in-union.
5892 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
5893 inner_vla_struct, vla_union types. Initialize objects of those
5894 types and compute their sizes.
5895
9f5a4cef
HZ
58962014-06-04 Nathan Sidwell <nathan@codesourcery.com>
5897 Hui Zhu <hui@codesourcery.com>
5898
5899 * gdb.base/fileio.exp: Add test for shell not available as well as
5900 available.
5901 * gdb.base/fileio.c (test_system): Check for shell twice.
5902
90a45c4d
YQ
59032014-06-04 Yao Qi <yao@codesourcery.com>
5904
5905 * gdb.base/auto-connect-native-target.exp: Remove redundant
5906 space from the regexp pattern.
5907
70017e41
YQ
59082014-06-04 Yao Qi <yao@codesourcery.com>
5909
5910 * gdb.base/default.exp: Replace "child" with "native" in
5911 regexp pattern.
5912
883964a7
SC
59132014-06-03 Siva Chandra Reddy <sivachandra@google.com>
5914
5915 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
5916 * gdb.python/py-xmethods.exp: New tests to test xmethods.
5917 * gdb.python/py-xmethods.py: Python script supporting the
5918 new testcase and tests.
5919
ef370185
JB
59202014-06-03 Joel Brobecker <brobecker@adacore.com>
5921 Pedro Alves <palves@redhat.com>
5922
5923 PR breakpoints/17000
5924 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
5925 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
5926
1e2ccb61
BM
59272014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
5928
5929 * gdb.base/subst.exp: Add tests to verify partial path matching
5930 output.
5931
c6ec5ab2
PA
59322014-06-03 Pedro Alves <palves@redhat.com>
5933
5934 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
5935 target that doesn't use software single-stepping.
5936
835c559f
PA
59372014-06-03 Pedro Alves <palves@redhat.com>
5938
5939 PR breakpoints/17000
5940 * gdb.base/sss-bp-on-user-bp-2.c: New file.
5941 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
5942
06eb1586
DE
59432014-06-02 Doug Evans <xdje42@gmail.com>
5944
5945 * gdb.guile/scm-parameter.exp: New file.
5946
e698b8c4
DE
59472014-06-02 Doug Evans <xdje42@gmail.com>
5948
5949 * gdb.guile/scm-cmd.c: New file.
5950 * gdb.guile/scm-cmd.exp: New file.
5951
ded03782
DE
59522014-06-02 Doug Evans <xdje42@gmail.com>
5953
5954 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
5955 pretty-printer lookup.
5956 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
5957 (make-pp_s-printer): Call it.
5958 (make-pretty-printer-from-dict): New function.
5959 (lookup-pretty-printer-maker-from-dict): New function.
5960 (*pretty-printer*): Simplify.
5961 (make-objfile-pp_s-printer): New function.
5962 (install-objfile-pretty-printers!): New function.
5963 (make-progspace-pp_s-printer): New function.
5964 (install-progspace-pretty-printers!): New function.
5965 * gdb.guile/scm-progspace.c: New file.
5966 * gdb.guile/scm-progspace.exp: New file.
5967
41fac0cf
PA
59682014-06-02 Pedro Alves <palves@redhat.com>
5969
5970 * gdb.base/dprintf-bp-same-addr.c: New file.
5971 * gdb.base/dprintf-bp-same-addr.exp: New file.
5972
96ae5695
EBM
59732014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5974
5975 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
5976 * gdb.arch/powerpc-power.s: Likewise.
5977
da02b3a8
JB
59782014-06-02 Joel Brobecker <brobecker@adacore.com>
5979
5980 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
5981
c72b2e7b
YQ
59822014-06-01 Yao Qi <yao@codesourcery.com>
5983
5984 * gdb.base/watchpoint.exp (test_watch_location): Check null
5985 pointer can be dereferenced. If not, do the test, otherwise
5986 skip it.
5987
53e8a631
AB
59882014-05-30 Andrew Burgess <aburgess@broadcom.com>
5989
5990 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
5991 results.
5992 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
5993
938f0e2f
AB
59942014-05-30 Andrew Burgess <aburgess@broadcom.com>
5995
5996 * gdb.arch/amd64-invalid-stack-middle.S: New file.
5997 * gdb.arch/amd64-invalid-stack-middle.c: New file.
5998 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
5999 * gdb.arch/amd64-invalid-stack-top.c: New file.
6000 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6001
9ba6657a
PA
60022014-05-30 Pedro Alves <palves@redhat.com>
6003
6004 PR breakpoints/17000
6005 * gdb.base/sss-bp-on-user-bp.c: New file.
6006 * gdb.base/sss-bp-on-user-bp.exp: New file.
6007
522c09bf
DB
60082014-05-30 David Blaikie <dblaikie@gmail.com>
6009
6010 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6011 gnu_inline semantics via attribute.
6012 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6013 source explicitly specifies the required semantics.
6014
bf4ef81e
MR
60152014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6016
6017 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6018
329ea579
PA
60192014-05-29 Pedro Alves <palves@redhat.com>
6020 Tom Tromey <tromey@redhat.com>
6021
6022 * gdb.base/async-shell.exp: Don't enable target-async.
6023 * gdb.base/async.exp
6024 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6025 parameter. Adjust.
6026 (top level): Don't test with "target-async".
6027 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6028 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6029 * gdb.base/inferior-died.exp: Don't enable target-async.
6030 * gdb.base/interrupt-noterm.exp: Likewise.
6031 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6032 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6033 * gdb.mi/mi-nonstop.exp: Likewise.
6034 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6035 * gdb.mi/mi-nsintrall.exp: Likewise.
6036 * gdb.mi/mi-nsmoribund.exp: Likewise.
6037 * gdb.mi/mi-nsthrexec.exp: Likewise.
6038 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6039 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6040 * gdb.python/py-evsignal.exp: Don't enable target-async.
6041 * gdb.python/py-evthreads.exp: Likewise.
6042 * gdb.python/py-prompt.exp: Likewise.
6043 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6044 * gdb.server/solib-list.exp: Don't enable target-async.
6045 * gdb.threads/thread-specific-bp.exp: Likewise.
6046 * lib/mi-support.exp: Adjust to use mi-async.
6047
fd664c91
PA
60482014-05-29 Pedro Alves <palves@redhat.com>
6049
6050 PR gdb/13860
6051 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6052 reason, even in sync mode.
6053
251bde03
PA
60542014-05-29 Pedro Alves <palves@redhat.com>
6055 Hui Zhu <hui@codesourcery.com>
6056
6057 PR PR15693
6058 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6059 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6060 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6061 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6062
7f3c0343
JB
60632014-05-28 Joel Brobecker <brobecker@adacore.com>
6064
6065 * config/monitor.exp (gdb_target_monitor): Replace use of
6066 "set remotebaud" by "set serial baud".
6067
b2715b27
AW
60682014-05-26 Andy Wingo <wingo@igalia.com>
6069
6070 * gdb.guile/scm-breakpoint.exp:
6071 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6072 properties instead of gdb-object-properties.
6073
498a4489
YQ
60742014-05-26 Yao Qi <yao@codesourcery.com>
6075
6076 * gdb.server/no-thread-db.exp: Specify source file name
6077 explicitly when setting a breakpoint.
6078
589fdceb
MM
60792014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6080
6081 * gdb.btrace/vdso.c: New.
6082 * gdb.btrace/vdso.exp: New.
6083
e9089e05
MM
60842014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6085
6086 * gdb.base/gcore.exp (capture_command_output): Move ...
6087 * lib/gdb.exp (capture_command_output): ... here.
6088
67b5c0c1
MM
60892014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6090
6091 * gdb.btrace/data.exp: Test memory access during btrace replay.
6092
a2199296
SM
60932014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6094
6095 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6096
17b2616c
PA
60972014-05-21 Pedro Alves <palves@redhat.com>
6098
6099 PR gdb/13860
6100 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6101 (top level): Test that output related to execution commands is
6102 sent to the console with CLI commands, but not with MI commands.
6103 Test that breakpoint events are always mirrored to the console.
6104 Also expect the new source line to be output after a "next" in
6105 async mode too. Make it a pass/fail test.
6106 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6107 output.
6108 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6109
5166082f
PA
61102014-05-21 Pedro Alves <palves@redhat.com>
6111
6112 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6113 Use them to test variations of "list" after reaching a breakpoint.
6114 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6115 Test "list" with listsize 10 after reaching a breakpoint.
6116 * gdb.python/python.exp (decode_line current location line
6117 number): Adjust expected line number.
6118
2f25d70f
SM
61192014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6120
6121 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6122 behavior for $args, pass it directly to "run".
6123
ff604a67
MR
61242014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6125
6126 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6127 30000 to 65536.
6128
6a3cb8e8
PA
61292014-05-21 Pedro Alves <palves@redhat.com>
6130
6131 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6132 auto-connect-native-target off".
6133 * gdb.base/auto-connect-native-target.c: New file.
6134 * gdb.base/auto-connect-native-target.exp: New file.
6135
4ebfc96e
PA
61362014-05-21 Pedro Alves <palves@redhat.com>
6137
6138 * gdb.base/default.exp: Test "target native" instead of "target
6139 child".
6140
36d46afb
MW
61412014-05-21 Mark Wielaard <mjw@redhat.com>
6142
6143 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6144
5876f503
JK
61452014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6146
6147 Fix TLS access for -static -pthread.
6148 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6149 <HAVE_TLS> (thread_function, main): Initialize it.
6150 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6151 Add clean_restart.
6152 <$have_tls != "">: Check TLSVAR.
6153
0256a6ac
PA
61542014-05-21 Pedro Alves <palves@redhat.com>
6155
6156 * gdb.base/dcache-line-read-error.c: New.
6157 * gdb.base/dcache-line-read-error.exp: New.
6158
936d2992
PA
61592014-05-20 Pedro Alves <palves@redhat.com>
6160
6161 * gdb.base/compare-sections.c: New file.
6162 * gdb.base/compare-sections.exp: New file.
6163
802e8e6d
PA
61642014-05-20 Pedro Alves <palves@redhat.com>
6165
6166 * gdb.base/break-idempotent.c: New file.
6167 * gdb.base/break-idempotent.exp: New file.
6168
e59fa00f
MM
61692014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6170
6171 * gdb.btrace/nohist.exp: New.
6172
8b696e31
YQ
61732014-05-20 Yao Qi <yao@codesourcery.com>
6174
6175 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6176 gdb.reverse directory and gdb_reverse_timeout exists in board
6177 setting.
6178 * README: Document gdb_reverse_timeout.
6179
73c9764f
YQ
61802014-05-20 Yao Qi <yao@codesourcery.com>
6181
6182 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6183 'test_file_name'. Treat args as a string instead of a list.
6184 (gdb_init): Rename argument 'args' by 'test_file_name'.
6185
f1f4348a
JK
61862014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6187
6188 * gdb.arch/powerpc-power.exp: New file.
6189 * gdb.arch/powerpc-power.s: New file.
6190
0dbe70ce
DE
61912014-05-16 Doug Evans <dje@google.com>
6192
6193 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
6194 * gdb.base/completion.exp: Check that all expected files exist
6195 before doing file completion.
0dbe70ce 6196
8d551b02
DE
61972014-05-16 Doug Evans <dje@google.com>
6198
6199 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6200 Update.
6201 (do_syscall_tests_without_xml): Update.
6202
73eb7709
PA
62032014-05-16 Pedro Alves <palves@redhat.com>
6204
6205 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6206 instead of "unknown output after running".
6207
3fae92fc
YQ
62082014-05-16 Yao Qi <yao@codesourcery.com>
6209
6210 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6211 file1.txt from host at the end.
6212 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6213
c2b2ccc5
DE
62142014-05-15 Doug Evans <dje@google.com>
6215
6216 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6217 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6218 loading file. Add test for TU lookup.
6219
8c217a4b
SM
62202014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6221
6222 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6223 calling "-exec-arguments" or "set args" before running the
6224 inferior.
6225
3deb39c6
SM
62262014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6227
6228 * lib/mi-support.exp (mi_expect_stop): Expect message for
6229 inferiors that exit with non-zero exit code.
6230
71a79f8c
YQ
62312014-05-14 Yao Qi <yao@codesourcery.com>
6232
6233 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6234 match absolute path on remote host.
6235 (test_file_list_exec_source_files): Remove "/" from the
6236 pattern.
6237
f23fcd46
YQ
62382014-05-14 Yao Qi <yao@codesourcery.com>
6239
6240 * boards/local-remote-host-notty.exp (${board}_file): New
6241 proc.
6242
9404b58f
KM
62432014-05-07 Kyle McMartin <kyle@redhat.com>
6244
6245 Pushed by Joel Brobecker <brobecker@adacore.com>.
6246 * gdb.arch/aarch64-atomic-inst.c: New file.
6247 * gdb.arch/aarch64-atomic-inst.exp: New file.
6248
5e45f04c
YQ
62492014-05-07 Yao Qi <yao@codesourcery.com>
6250
6251 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6252 in current context" too.
6253
c888a17d
KS
62542014-05-05 Keith Seitz <keiths@redhat.com>
6255
6256 * gdb.linespec/ls-dollar.exp: Add test for linespec
6257 file:convenience_variable.
6258
290a839c
YQ
62592014-05-05 Yao Qi <yao@codesourcery.com>
6260
6261 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6262 traceframes into tfile and ctf trace files. Read data from
6263 trace file and test collected data.
6264 (gdb_collect_locals_test): Likewise.
6265 (gdb_unavailable_registers_test): Likewise.
6266 (gdb_unavailable_floats): Likewise.
6267 (gdb_collect_globals_test): Likewise.
6268 (top-level): Append "ctf" to trace_file_targets if GDB
6269 supports.
6270
b5262cd0
YQ
62712014-05-05 Yao Qi <yao@codesourcery.com>
6272
6273 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6274 code to ...
6275 (gdb_collect_args_test_1): ... it. New proc.
6276 (gdb_collect_locals_test): Move some code to ...
6277 (gdb_collect_locals_test_1): ... it. New proc.
6278 (gdb_unavailable_registers_test): Move some code to ...
6279 (gdb_unavailable_registers_test_1): ... it. New proc.
6280 (gdb_unavailable_floats): Move some code to ...
6281 (gdb_unavailable_floats_1): ... it. New proc.
6282
30a1e6cc
SDJ
62832014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6284
6285 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6286 probes to test for bitness recognition.
6287 * gdb.arch/amd64-stap-optional-prefix.exp
6288 (test_probe_value_without_reg): New procedure.
6289 Add code to test for different kinds of bitness.
6290
f33da99a
SDJ
62912014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6292
6293 PR breakpoints/16889
6294 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6295 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6296
5b80f00d
PA
62972014-05-01 Pedro Alves <palves@redhat.com>
6298
6299 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6300 gdb_file_cmd if no file is specified.
6301 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6302 last_loaded_file to set the remote exec-file.
6303
f8c2a73c
PA
63042014-05-01 Pedro Alves <palves@redhat.com>
6305
6306 * boards/local-remote-host.exp: New file.
6307
be6e8ac7
PA
63082014-05-01 Pedro Alves <palves@redhat.com>
6309
6310 * boards/local-remote-host.exp: Rename to ...
6311 * boards/local-remote-host-notty.exp: ... this.
6312
cac0dc8f
JB
63132014-04-28 Joel Brobecker <brobecker@adacore.com>
6314
6315 * gdb.ada/dyn_arrayidx: New testcase.
6316
9730e6cc
YQ
63172014-04-26 Yao Qi <yao@codesourcery.com>
6318
6319 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6320 and compute the length of function main. Save it in
6321 $main_length.
6322 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6323 (top-level): Use gdb_compile to compile objects into
6324 executable and restart GDB. Remove invocation to
6325 prepare_for_testing.
6326
7ae1a6a6
PA
63272014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6328 Pedro Alves <palves@redhat.com>
6329
6330 PR server/16255
6331 * gdb.multi/multi-attach.c: New file.
6332 * gdb.multi/multi-attach.exp: New file.
6333
4082afcc
PA
63342014-04-25 Pedro Alves <palves@redhat.com>
6335
6336 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6337 user.
6338 (top level): Test that "set remote conditional-breakpoints-packet
6339 off" works as intended.
6340 * gdb.base/dprintf.exp: Test that "set remote
6341 breakpoint-commands-packet off" works as intended.
6342 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6343 New function.
6344 (top level): Call it.
6345 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6346 remote fast-tracepoints-packet off" works as intended.
6347 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6348 * lib/gdb.exp (gdb_is_target_remote): ... here.
6349
2abc3f8d
DB
63502014-04-24 David Blaikie <dblaikie@gmail.com>
6351
6352 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6353 ensure clang would not discard them.
6354 * gdb.base/gdbvars.c: Ditto.
6355 * gdb.base/memattr.c: Ditto.
6356 * gdb.base/whatis.c: Ditto.
6357 * gdb.python/py-prettyprint.c: Ditto.
6358 * gdb.trace/actions.c: Ditto.
6359 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6360 ensure clang would not discard it.
6361
bfd39632
DB
63622014-04-24 David Blaikie <dblaikie@gmail.com>
6363
6364 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6365 clang to emit the full definition of type required by the test
6366 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6367
22842ff6
DB
63682014-04-24 David Blaikie <dblaikie@gmail.com>
6369
6370 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6371 coax Clang into emitting the definition of the type.
6372 * gdb.cp/pr10728-x.h (y): Ditto.
6373 * gdb.cp/pr10728-y.cc (y): Ditto.
6374
c2e827ad
DB
63752014-04-24 David Blaikie <dblaikie@gmail.com>
6376
6377 * gdb.base/label.exp: XFAIL label related tests under Clang.
6378 * gdb.cp/cplabel.exp: Ditto.
6379 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6380 under Clang those using labels.
6381
4c2d33e7
YQ
63822014-04-25 Yao Qi <yao@codesourcery.com>
6383
6384 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6385 double_label.
6386 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6387 partial_label and double_label.
6388
56083b99
DB
63892014-04-24 David Blaikie <dblaikie@gmail.com>
6390
6391 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6392
25d4e99d
DB
63932014-04-24 David Blaikie <dblaikie@gmail.com>
6394
6395 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6396 of the function to work across GCC and Clang.
6397 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6398 pointer types (const void ** const V void **).
6399
01f9f808
MS
64002014-04-24 Michael Sturm <michael.sturm@mintel.com>
6401 Walfred Tedeschi <walfred.tedeschi@intel.com>
6402
6403 * Makefile.in (EXECUTABLES): Added i386-avx512.
6404 * gdb.arch/i386-avx512.c: New file.
6405 * gdb.arch/i386-avx512.exp: Likewise.
6406
4b48d439
KS
64072014-04-23 Keith Seitz <keiths@redhat.com>
6408
6409 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6410 (mi_make_breakpoint_table): New procedure.
6411 (mi_create_breakpoint): Use mi_make_breakpoint
6412 and return the result.
6413 (mi_make_breakpoint): New procedure.
6414 (mi_build_kv_pairs): New procedure.
6415
6416 * gdb.mi/mi-break.exp: Remove unused globals,
6417 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6418 All callers updated.
6419 * gdb.mi/mi-dprintf.exp: Use variable to track command
6420 number.
6421 Update all callers of mi_create_breakpoint and use
6422 mi_make_breakpoint_table.
6423 Remove any unused global variables.
6424 * gdb.mi/mi-nonstop.exp: Likewise.
6425 * gdb.mi/mi-nsintrall.exp: Likewise.
6426 * gdb.mi/mi-nsmoribund.exp: Likewise.
6427 * gdb.mi/mi-nsthrexec.exp: Likewise.
6428 * gdb.mi/mi-reverse.exp: Likewise.
6429 * gdb.mi/mi-simplerun.exp: Likewise.
6430 * gdb.mi/mi-stepn.exp: Likewise.
6431 * gdb.mi/mi-syn-frame.exp: Likewise.
6432 * gdb.mi/mi-until.exp: Likewise.
6433 * gdb.mi/mi-var-cp.exp: Likewise.
6434 * gdb.mi/mi-var-display.exp: Likewise.
6435 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6436 * gdb.mi/mi2-var-child.exp: Likewise.
6437 * gdb.mi/mi-vla-c99.exp: Likewise.
6438 * lib/mi-support.exp: Likewise.
6439
6440 From Ian Lance Taylor <iant@cygnus.com>:
6441 * lib/gdb.exp (parse_args): New procedure.
6442
08351840
PA
64432014-04-23 Pedro Alves <palves@redhat.com>
6444
6445 * gdb.base/break-unload-file.c: New file.
6446 * gdb.base/break-unload-file.exp: New file.
6447 * gdb.base/sym-file-lib.c (baz): New function.
6448 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6449 field.
6450 (load): Store the segment's mapped size.
6451 (unload): New function.
6452 (unload_shlib): New function.
6453 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6454 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6455 set a breakpoint at baz, and call it.
6456 * gdb.base/sym-file.exp: New tests for stale breakpoint
6457 instructions.
6458
076855f9
PA
64592014-04-23 Pedro Alves <palves@redhat.com>
6460
6461 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6462 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6463 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6464 * gdb.base/hbreak-unmapped.c: New file.
6465 * gdb.base/hbreak-unmapped.exp: New file.
6466 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6467 * lib/gdb.exp (gdb_is_target_remote): ... here.
6468
483805cf
PA
64692014-04-22 Pedro Alves <palves@redhat.com>
6470
6471 * gdb.base/consecutive-step-over.c: New file.
6472 * gdb.base/consecutive-step-over.exp: New file.
6473
06d97543
PA
64742014-04-22 Pedro Alves <palves@redhat.com>
6475
6476 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6477 instead of send_gdb/gdb_expect.
6478
b4429ea2
YQ
64792014-04-22 Yao Qi <yao@codesourcery.com>
6480
6481 * lib/trace-support.exp (generate_tracefile): New procedure.
6482 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6483 return 0.
6484 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6485 if generate_tracefile returns 1.
6486
51d48146
PA
64872014-04-18 Tom Tromey <palves@redhat.com>
6488 Pedro alves <tromey@redhat.com>
6489
6490 PR backtrace/15558
6491 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6492 with a backtrace limit.
6493 * gdb.python/py-frame-inline.exp: Test running to an inline
6494 function with a backtrace limit, and printing the newest frame.
6495 * gdb.python/py-frame-inline.c (main): Call f.
6496
bd1dce5f
MS
64972014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6498
6499 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6500
40d1a503
MS
65012014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6502
6503 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6504 Drop prefix from unsupported source file path.
6505
389b98f7
YQ
65062014-04-17 Yao Qi <yao@codesourcery.com>
6507
6508 * lib/gdb.exp (with_target_charset): New proc.
6509 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6510 with_target_charset.
6511 (test_print_strings): Likewise.
6512 (test_repeat_bytes): Likewise.
6513 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6514 for some tests.
6515
22869d73
KS
65162014-04-16 Keith Seitz <keiths@redhat.com>
6517
6518 PR gdb/15827
6519 * gdb.dwarf2/corrupt.c: New file.
6520 * gdb.dwarf2/corrupt.exp: New file.
6521
c4f87ca6
KS
65222014-04-16 Keith Seitz <keiths@redhat.com>
6523
6524 PR c++/16597
6525 * gdb.cp/namelessclass.cc: New file.
6526 * gdb.cp/namelessclass.exp: New file.
6527 * gdb.cp/namelessclass.S: New file.
6528
ab19de87
DE
65292014-04-16 Doug Evans <dje@google.com>
6530
6531 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6532 Add comment.
6533 (gdbserver_default_get_comm_port): New function.
6534 (gdbserver_start): Check if board file provided
6535 "gdbserver,get_comm_port" and use it if so.
6536 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6537 (gdb,socketport): Set to "stdio".
6538 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6539 (stdio_gdbserver_template): Delete.
6540 (${board}_get_remote_address): Update.
6541 (${board}_build_remote_cmd): Delete.
6542 (${board}_get_comm_port): New function.
6543 (${board}_spawn): Update.
6544 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6545 Delete.
6546 (${board}_get_remote_address): Update.
6547 (${board}_get_comm_port): New function.
6548
fc98a809
AB
65492014-04-16 Andrew Burgess <aburgess@broadcom.com>
6550
6551 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6552 appearing in any order.
6553
87fd9e6e
DE
65542014-04-15 Doug Evans <dje@google.com>
6555
6556 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6557 uninitialized value of "description".
6558
099fc3ea
KS
65592014-04-15 Keith Seitz <keiths@redhat.com>
6560
6561 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6562 Remove unused globals.
6563 (test_running_the_program): Likewise.
6564 (test_controlled_execution): Likewise.
6565 (test_controlling_breakpoints): Likewise.
6566 (test_program_termination): Likewise.
6567
5da151d4
KS
65682014-04-15 Keith Seitz <keiths@redhat.com>
6569
6570 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6571 unused globals.
6572 (test_rbreak_creation_and_listing): Likewise.
6573 (test_ignore_count): Likewise.
6574 (test_error): Likewise.
6575
35e5d2f0
PA
65762014-04-15 Pedro Alves <palves@redhat.com>
6577
6578 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6579 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6580 sym-file-loader.c.
6581 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6582 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6583 to sym-file-loader.c.
6584 (struct library): Forward declare.
6585 (load_shlib, lookup_function): Change prototypes.
6586 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6587 (translate_offset): Remove declarations.
6588 (get_text_addr): New declaration.
6589 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
6590 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
6591 sym-file-loader.h.
6592 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6593 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6594 here from sym-file-loader.h.
6595 (struct library): New structure.
6596 (load_shlib, lookup_function): Change prototypes and adjust to
6597 work with a struct library.
6598 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6599 (translate_offset): Make static.
6600 (get_text_addr): New function.
6601 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
6602
eb4c1710
PA
66032014-04-15 Pedro Alves <palves@redhat.com>
6604
6605 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
6606
2d1baf52
PA
66072014-04-15 Pedro Alves <palves@redhat.com>
6608
6609 * gdb.base/sym-file-loader.c: Include <limits.h>.
6610 (SELF_LINK): New define.
6611 (get_origin): New function.
6612 (load_shlib): Use it.
6613 * gdb.base/sym-file.exp: Don't early return if the target is
6614 remote. Use runto_main, and issue fail is that fails. Use
6615 gdb_load_shlibs.
6616 (shlib_name): Delete.
6617 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
6618
7dd6df01
PA
66192014-04-15 Pedro Alves <palves@redhat.com>
6620
6621 * gdb.base/sym-file.exp: Remove regex characters from test
6622 message. Don't refer to breakpoint numbers in test messages.
6623
b50c8614
KS
66242014-04-14 Keith Seitz <keiths@redhat.com>
6625
6626 PR c++/16253
6627 * gdb.cp/var-tag.cc: New file.
6628 * gdb.cp/var-tag.exp: New file.
6629 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6630 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6631 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6632 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6633
3d567982
TT
66342014-04-14 Tom Tromey <tromey@redhat.com>
6635
6636 * gdb.cp/classes.exp (test_enums): Handle underlying type.
6637 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
6638 type.
6639 * gdb.cp/enum-class.exp: New file.
6640 * gdb.cp/enum-class.cc: New file.
6641
0626fc76
TT
66422014-04-14 Tom Tromey <tromey@redhat.com>
6643
6644 * gdb.dwarf2/enum-type.exp: New file.
6645
dca325b3
SA
66462014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6647
6648 * gdb.mi/mi-vla-c99.exp: New file.
6649 * gdb.mi/vla.c: New file.
6650
5854b38a
SA
66512014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6652
6653 * gdb.base/vla-datatypes.c: New file.
6654 * gdb.base/vla-datatypes.exp: New file.
6655
463bb957
SA
66562014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6657
6658 * gdb.base/vla-ptr.c: New file.
6659 * gdb.base/vla-ptr.exp: New file.
6660
3dd170be
SA
66612014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6662
6663 * gdb.dwarf2/count.exp: New file.
6664
5ecaaa66
SA
66652014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6666
6667 * gdb.base/vla-sideeffect.c: New file.
6668 * gdb.base/vla-sideeffect.exp: New file.
6669
41f1ada5
DB
66702014-04-14 David Blaikie <dblaikie@gmail.com>
6671
6672 * gdb.mi/non-stop.c: Add return value for non-void function return
6673 statement.
6674 * gdb.threads/staticthreads.c: Ditto.
6675
0be03e84
DE
66762014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6677 Doug Evans <xdje42@gmail.com>
6678
6679 * gdb.guile/scm-value.c: Improve test case.
6680 * gdb.guile/scm-value.exp: Add new test.
6681
f180a1fb
DB
66822014-04-11 David Blaikie <dblaikie@gmail.com>
6683
6684 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
6685 override Clang's default.
6686
6b662e19
JB
66872014-04-11 Joel Brobecker <brobecker@adacore.com>
6688
6689 Revert the following changes (regressions):
6690
6691 * gdb.base/vla-sideeffect.c: New file.
6692 * gdb.base/vla-sideeffect.exp: New file.
6693
6694 * gdb.dwarf2/count.exp: New file.
6695
6696 * gdb.base/vla-multi.c: New file.
6697 * gdb.base/vla-multi.exp: New file.
6698
6699 * gdb.base/vla-ptr.c: New file.
6700 * gdb.base/vla-ptr.exp: New file.
6701
6702 * gdb.base/vla-datatypes.c: New file.
6703 * gdb.base/vla-datatypes.exp: New file.
6704
6705 * gdb.mi/mi-vla-c99.exp: New file.
6706 * gdb.mi/vla.c: New file.
6707
245a5f0b
KS
67082014-04-11 Keith Seitz <keiths@redhat.com>
6709
6710 PR c++/16675
6711 * gdb.cp/cpsizeof.exp: New file.
6712 * gdb.cp/cpsizeof.cc: New file.
6713
58a84dcf
SA
67142014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6715
191a8a90
JB
6716 * gdb.mi/mi-vla-c99.exp: New file.
6717 * gdb.mi/vla.c: New file.
58a84dcf 6718
c8655f75
SA
67192014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6720
6721 * gdb.base/vla-datatypes.c: New file.
6722 * gdb.base/vla-datatypes.exp: New file.
6723
024e13b4
SA
67242014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6725
6726 * gdb.base/vla-ptr.c: New file.
6727 * gdb.base/vla-ptr.exp: New file.
6728
1a237e0e
SA
67292014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6730
6731 * gdb.base/vla-multi.c: New file.
6732 * gdb.base/vla-multi.exp: New file.
6733
504f3432
SA
67342014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6735
6736 * gdb.dwarf2/count.exp: New file.
6737
3bce8237
SA
67382014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6739
191a8a90
JB
6740 * gdb.base/vla-sideeffect.c: New file.
6741 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 6742
322f9c21
YQ
67432014-04-11 Yao Qi <yao@codesourcery.com>
6744
6745 * gdb.base/completion.exp: Check file exists before running tests
6746 on file completion.
6747
d708bcd1
PA
67482014-04-10 Pedro Alves <palves@redhat.com>
6749
6750 * gdb.base/cond-eval-mode.c: New file.
6751 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
6752 prepare_for_testing to build the new file. Check result of
6753 runto_main.
6754 (test_break, test_watch): New procedures.
6755 (top level): Use them.
6756
ae1d2761
PM
67572014-04-08 Pierre Muller <muller@sourceware.org>
6758
6759 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
6760 Ctrl-V use for mingw hosts.
6761
7af389b8
SC
67622014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6763
6764 * gdb.python/py-value.c: Improve test case.
6765 * gdb.python/py-value.exp: Add new test.
6766
5e703181
DE
67672014-04-07 David Blaikie <dblaikie@gmail.com>
6768
6769 * lib/compiler.c: Identify the clang compiler.
6770 * lib/compiler.cc: Ditto.
6771
9810b410
YQ
67722014-04-03 Yao Qi <yao@codesourcery.com>
6773
6774 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
6775
98d1b8dc
AB
67762014-04-01 Anton Blanchard <anton@samba.org>
6777
6778 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
6779 messages unique.
6780
3114cea1
AB
67812014-04-01 Anton Blanchard <anton@samba.org>
6782
6783 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
6784 prepare_for_testing.
6785
62f7182c
AB
67862014-04-01 Anton Blanchard <anton@samba.org>
6787
6788 * gdb.arch/ppc64-atomic-inst.c: Remove.
6789 * gdb.arch/ppc64-atomic-inst.S: New file.
6790 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
6791
770e7fc7
DE
67922014-03-31 Doug Evans <dje@google.com>
6793
6794 * gdb.base/print-symbol-loading-lib.c: New file.
6795 * gdb.base/print-symbol-loading-main.c: New file.
6796 * gdb.base/print-symbol-loading.exp: New file.
6797
46e2bafa
YQ
67982014-03-31 Yao Qi <yao@codesourcery.com>
6799
6800 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
6801
8776cfe9
JB
68022014-03-28 Joel Brobecker <brobecker@adacore.com>
6803
6804 * gdb.ada/mi_dyn_arr: New testcase.
6805
5d1ef361
DE
68062014-03-27 Doug Evans <dje@google.com>
6807
6808 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
6809
b5bee914
YQ
68102014-03-27 Yao Qi <yao@codesourcery.com>
6811
6812 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
6813 if target is nios2-*-*.
6814
0d4d0e77
YQ
68152014-03-26 Yao Qi <yao@codesourcery.com>
6816
6817 * lib/gdb.exp (readline_is_used): New proc.
6818 * gdb.base/completion.exp: Move tests on command complete up.
6819 Skip the rest of tests if readline is not used.
6820 * gdb.ada/complete.exp: Skp the test if readline is not
6821 used.
6822 * gdb.base/filesym.exp: Likewise.
6823 * gdb.base/macscp.exp: Likewise.
6824 * gdb.base/readline-ask.exp: Likewise.
6825 * gdb.base/readline.exp: Likewise.
6826 * gdb.python/py-cmd.exp: Likewise.
6827 * gdb.trace/tfile.exp: Likewise.
6828
29361eee
YQ
68292014-03-26 Yao Qi <yao@codesourcery.com>
6830
6831 * gdb.base/macscp.exp: Fix code format issues.
6832
bc9a5525
UW
68332014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
6834
6835 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
6836 * gdb.asm/powerpc64le.inc: New file.
6837
d3839ede
PA
68382014-03-25 Pedro Alves <palves@redhat.com>
6839 Doug Evans <dje@google.com>
6840
6841 * gdb.base/source-execution.c: New file.
6842 * gdb.base/source-execution.exp: New file.
6843 * gdb.base/source-execution.gdb: New file.
6844
01672a57
DE
68452014-03-24 Doug Evans <dje@google.com>
6846
6847 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
6848 using fission.
6849
88bbeca9
HZ
68502014-03-24 Hui Zhu <hui@codesourcery.com>
6851 Pedro Alves <palves@redhat.com>
6852
6853 PR breakpoints/16101
6854 * gdb.base/dprintf.exp: Use unsupported rather than changing the
6855 test pass/fail messages. Detect missing support for dprintf when
6856 breakpoints are actually inserted.
6857 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
6858 breakpoints are actually inserted.
6859 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
6860 fails.
6861
d2348791
JK
68622014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6863
6864 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
6865
feef67ab
DE
68662014-03-22 Doug Evans <xdje42@gmail.com>
6867
6868 * gdb.python/python.exp (python not supported): Verify multi-line
6869 python command issues an error.
25d743f9 6870 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 6871 guile command issues an error.
feef67ab 6872
ecebef6a
MR
68732014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
6874
6875 * gdb.threads/thread-specific.exp: Handle the lack of usable
6876 $this_breakpoint and $this_thread.
6877
ccdd1909
HZ
68782014-03-21 Hui Zhu <hui@codesourcery.com>
6879
6880 * gdb.base/attach.exp (do_command_attach_tests): New.
6881
beb460e8
PA
68822014-03-20 Tom Tromey <tromey@redhat.com>
6883 Pedro Alves <palves@redhat.com>
6884
6885 PR cli/15718
6886 * gdb.base/condbreak-call-false.c: New file.
6887 * gdb.base/condbreak-call-false.exp: New file.
6888
40acf43a
PA
68892014-03-20 Pedro Alves <palves@redhat.com>
6890
6891 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
6892 Delete.
6893 (block_signals, unblock_signals): Delete.
6894 (child_function_2, main): Remove references to deleted variable
6895 and functions.
6896
9f5e1e02
PA
68972014-03-20 Pedro Alves <palves@redhat.com>
6898
6899 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
6900 Use pthread_kill to signal thread 2.
6901 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6902 Adjust to make the test send itself a signal rather than using the
6903 host's "kill" command.
6904
99619bea
PA
69052014-03-20 Pedro Alves <palves@redhat.com>
6906
6907 * gdb.threads/multiple-step-overs.c: New file.
6908 * gdb.threads/multiple-step-overs.exp: New file.
6909 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6910 Adjust expected infrun debug output.
6911
2adfaa28
PA
69122014-03-20 Pedro Alves <palves@redhat.com>
6913
6914 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
6915 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
6916
31e77af2
PA
69172014-03-20 Pedro Alves <palves@redhat.com>
6918
6919 PR breakpoints/7143
6920 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
6921 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
6922 of gdb_test_multiple.
6923 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
6924 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
6925
b9f437de
PA
69262014-03-20 Pedro Alves <palves@redhat.com>
6927
6928 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
6929 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
6930
05adc73e
PA
69312014-03-19 Pedro Alves <palves@redhat.com>
6932
6933 * gdb.base/async.exp: Remove early return.
6934
6048b950
PA
69352014-03-19 Pedro Alves <palves@redhat.com>
6936
6937 * gdb.base/async.exp (step& tests): Pass explicit test messages.
6938
8bcfb00a
PA
69392014-03-19 Pedro Alves <palves@redhat.com>
6940
6941 * gdb.base/async.exp (test_background): Expect \r\n after
6942 "completed." in the fail pattern.
6943
884e37dc
PA
69442014-03-19 Pedro Alves <palves@redhat.com>
6945
6946 * gdb.base/async.exp (test_background): New procedure.
6947 Use it for all background execution command tests.
6948
148e57e2
PA
69492014-03-19 Pedro Alves <palves@redhat.com>
6950
6951 * gdb.base/async.exp: Use prepare_for_testing.
6952
f48088c7
PA
69532014-03-19 Pedro Alves <palves@redhat.com>
6954
6955 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
6956 the same line.
6957
e2f6c966
PA
69582014-03-19 Pedro Alves <palves@redhat.com>
6959
6960 * gdb.base/async.c (main): Add "jump here" and "until here" line
6961 marker comments.
6962 * gdb.base/async.exp (jump_here): New global.
6963 (jump& test): Use it.
6964 (until_here): New global.
6965 (until& test): Use it.
6966
c30568d4
PA
69672014-03-19 Pedro Alves <palves@redhat.com>
6968
6969 * gdb.base/async.exp: Don't frob gdb_protocol.
6970
0172b6a7
DE
69712014-03-18 Doug Evans <xdje42@gmail.com>
6972
6973 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
6974 Fix spelling of exec-done-display.
6975
06c868a8
JK
69762014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6977
6978 PR gdb/15358
6979 * gdb.base/gdb-sigterm.c: New file.
6980 * gdb.base/gdb-sigterm.exp: New file.
6981
0c7e1a46
PA
69822014-03-18 Pedro Alves <palves@redhat.com>
6983
6984 PR gdb/13860
6985 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
6986 * lib/mi-support.exp (mi_expect_stop): Add special handling for
6987 solib-event.
6988
f7c77d93
JB
69892014-03-17 Joel Brobecker <brobecker@adacore.com>
6990
6991 * gdb.ada/pckd_arr_ren: New testcase.
6992
5a1e8c7a
DE
69932014-03-13 Doug Evans <xdje42@gmail.com>
6994
6995 PR guile/16612
6996 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
6997 collect after discarding symbols.
6998
350e1a76
DE
69992014-03-13 Ludovic Courtès <ludo@gnu.org>
7000 Doug Evans <xdje42@gmail.com>
7001
7002 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7003 to history survives a gc.
7004
a69900ae
PA
70052014-03-13 Pedro Alves <palves@redhat.com>
7006
7007 * gdb.base/default.exp: Don't test "target procfs".
7008
5db9f0bd
PA
70092014-03-13 Pedro Alves <palves@redhat.com>
7010
7011 * gdb.base/default.exp: Update "target child" and "target procfs"
7012 tests to not expect "Unix".
7013
b3ccfe11
TT
70142014-03-12 Tom Tromey <tromey@redhat.com>
7015
7016 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7017 New procs. Add target-async tests.
7018 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7019 Add target-async tests.
7020
646f4417
AA
70212014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7022
7023 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7024 'func_start' and 'func_end' for the beginning and end of the
7025 function code, respectively.
7026 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7027 'func_end' instead of 'func' and 'main'.
7028
288c211f
AA
70292014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7030
7031 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7032 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7033 generate the debug info assembler source.
7034
e0c0f156
AA
70352014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7036
7037 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7038 * gdb.dwarf2/arr-subrange.exp: Likewise.
7039 * gdb.dwarf2/dwz.exp: Likewise.
7040 * gdb.dwarf2/method-ptr.exp: Likewise.
7041 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7042 * gdb.dwarf2/subrange.exp: Likewise.
7043 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7044 * gdb.dwarf2/implptrpiece.exp: Likewise.
7045 * gdb.dwarf2/nostaticblock.exp: Likewise.
7046
0e5c4555
AA
70472014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7048
7049 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7050 directory to absolute path name arguments.
7051
5ec18f2b
JG
70522014-03-10 Joel Brobecker <brobecker@adacore.com>
7053
7054 * gdb.ada/tagged_access: New testcase.
7055
847fc4f2
MM
70562014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7057
7058 * gdb.btrace/data.exp: Update expected output.
7059
cc3da688
YQ
70602014-03-06 Yao Qi <yao@codesourcery.com>
7061
7062 * gdb.trace/pr16508.exp: New file.
7063
0f26cec1
PA
70642014-03-05 Pedro Alves <palves@redhat.com>
7065
7066 PR gdb/16575
7067 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7068 procedure.
7069 (top level): Adjust to use it. Add tests that exercise breakpoint
7070 interaction with the code-cache.
7071
7a5a839f
LC
70722014-02-26 Ludovic Courtès <ludo@gnu.org>
7073
7074 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7075 test for 'history-append!'.
7076
31aa7e4e
JB
70772014-02-26 Joel Brobecker <brobecker@adacore.com>
7078
7079 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7080 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7081 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7082 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7083 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7084 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7085
1b588015
JB
70862014-02-26 Joel Brobecker <brobecker@adacore.com>
7087
7088 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7089 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7090 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7091
55426c9d
JB
70922014-02-26 Joel Brobecker <brobecker@adacore.com>
7093
7094 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7095
dc53a7ad
JB
70962014-02-26 Joel Brobecker <brobecker@adacore.com>
7097
7098 * gdb.dwarf2/arr-stride.c: New file.
7099 * gdb.dwarf2/arr-stride.exp: New file.
7100
12ab52e9
PA
71012014-02-26 Pedro Alves <palves@redhat.com>
7102
7103 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7104 that won't ever trigger. Make sure that GDB reports the correct
7105 breakpoint that caused the stop.
7106
849c862e
JK
71072014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7108
7109 PR gdb/16626
7110 * gdb.base/auto-load-script: New file.
7111 * gdb.base/auto-load.c: New file.
7112 * gdb.base/auto-load.exp: New file.
7113
71b7d793
JK
7114 PR gdb/16626
7115 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7116
e2f0d509
JK
71172014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7118
7119 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7120 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7121
50cc37c8
DE
71222014-02-24 Doug Evans <dje@google.com>
7123
7124 * lib/gdb.exp (run_on_host): Log error output if program fails.
7125
ea4758f2
PA
71262014-02-21 Pedro Alves <palves@redhat.com>
7127
7128 * gdb.threads/step-after-sr-lock.c: Rename to ...
7129 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7130 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7131 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7132 ... this.
7133
d7b30f67
SDJ
71342014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7135
7136 PR tdep/16397
7137 * gdb.arch/amd64-stap-special-operands.exp: New file.
7138 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7139 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7140 * gdb.arch/amd64-stap-triplet.S: Likewise.
7141 * gdb.arch/amd64-stap-triplet.c: Likewise.
7142
83deb43f
JB
71432014-02-20 Joel Brobecker <brobecker@adacore.com>
7144
7145 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7146 in .section pseudo-op.
7147
adde2bff
DE
71482014-02-20 lin zuojian <manjian2006@gmail.com>
7149 Joel Brobecker <brobecker@adacore.com>
7150 Doug Evans <xdje42@gmail.com>
7151
7152 PR symtab/16581
7153 * gdb.dwarf2/dw2-icycle.S: New file.
7154 * gdb.dwarf2/dw2-icycle.c: New file.
7155 * gdb.dwarf2/dw2-icycle.exp: New file.
7156
f7bd0f78
SC
71572014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7158
7159 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7160 operations on gdb.Value objects.
7161 * gdb.python/py-value-cc.exp: Add new test to test operations on
7162 gdb.Value objects.
7163
c17ef0d5
DE
71642014-02-18 Doug Evans <dje@google.com>
7165
7166 * Makefile.in (TESTS): New variable.
7167 (expanded_tests, expanded_tests_or_none): New variables
7168 (check-single): Pass $(expanded_tests_or_none) to runtest.
7169 (check-parallel): Only run tests in $(TESTS) if non-empty.
7170 (check/no-matching-tests-found): New rule.
7171 * README: Document TESTS makefile variable.
7172
5dd3176f
DE
71732014-02-18 Doug Evans <dje@google.com>
7174
7175 * Makefile.in (check-parallel): rm -rf outputs temp.
7176
0b10be4f
JK
71772014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7178
7179 Fix "ERROR: no fileid for" in the testsuite.
7180 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7181
85f224e7
DE
71822014-02-12 Doug Evans <dje@google.com>
7183
7184 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7185 (MISCELLANEOUS): New variable.
7186 (clean): rm -rf $(MISCELLANEOUS).
7187 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7188 dwp live in the same directory as symlinks, with each symlink pointed
7189 to a differently named file in a different directory.
7190
149b30ff
DE
71912014-02-11 Doug Evans <dje@google.com>
7192
7193 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7194 of Tcl file commands.
7195
1dfdac32
MK
71962014-02-10 Mark Kettenis <kettenis@gnu.org>
7197
7198 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7199 "kill -SIGUSR1 -1".
7200
aa4fb036
JB
72012014-02-10 Joel Brobecker <brobecker@adacore.com>
7202
7203 * gdb.ada/tick_length_array_enum_idx: New testcase.
7204
ed3ef339
DE
72052014-02-10 Doug Evans <xdje42@gmail.com>
7206
7207 * configure.ac (AC_OUTPUT): Add gdb.guile.
7208 * configure: Regenerate.
7209 * lib/gdb-guile.exp: New file.
7210 * lib/gdb.exp (get_target_charset): New function.
7211 * gdb.base/help.exp: Update expected output from "apropos apropos".
7212 * gdb.guile/Makefile.in: New file.
7213 * gdb.guile/guile.exp: New file.
7214 * gdb.guile/scm-arch.c: New file.
7215 * gdb.guile/scm-arch.exp: New file.
7216 * gdb.guile/scm-block.c: New file.
7217 * gdb.guile/scm-block.exp: New file.
7218 * gdb.guile/scm-breakpoint.c: New file.
7219 * gdb.guile/scm-breakpoint.exp: New file.
7220 * gdb.guile/scm-disasm.c: New file.
7221 * gdb.guile/scm-disasm.exp: New file.
7222 * gdb.guile/scm-equal.c: New file.
7223 * gdb.guile/scm-equal.exp: New file.
7224 * gdb.guile/scm-error.exp: New file.
7225 * gdb.guile/scm-error.scm: New file.
7226 * gdb.guile/scm-frame-args.c: New file.
7227 * gdb.guile/scm-frame-args.exp: New file.
7228 * gdb.guile/scm-frame-args.scm: New file.
7229 * gdb.guile/scm-frame-inline.c: New file.
7230 * gdb.guile/scm-frame-inline.exp: New file.
7231 * gdb.guile/scm-frame.c: New file.
7232 * gdb.guile/scm-frame.exp: New file.
7233 * gdb.guile/scm-generics.exp: New file.
7234 * gdb.guile/scm-gsmob.exp: New file.
7235 * gdb.guile/scm-iterator.c: New file.
7236 * gdb.guile/scm-iterator.exp: New file.
7237 * gdb.guile/scm-math.c: New file.
7238 * gdb.guile/scm-math.exp: New file.
7239 * gdb.guile/scm-objfile-script-gdb.in: New file.
7240 * gdb.guile/scm-objfile-script.c: New file.
7241 * gdb.guile/scm-objfile-script.exp: New file.
7242 * gdb.guile/scm-objfile.c: New file.
7243 * gdb.guile/scm-objfile.exp: New file.
7244 * gdb.guile/scm-ports.exp: New file.
7245 * gdb.guile/scm-pretty-print.c: New file.
7246 * gdb.guile/scm-pretty-print.exp: New file.
7247 * gdb.guile/scm-pretty-print.scm: New file.
7248 * gdb.guile/scm-section-script.c: New file.
7249 * gdb.guile/scm-section-script.exp: New file.
7250 * gdb.guile/scm-section-script.scm: New file.
7251 * gdb.guile/scm-symbol.c: New file.
7252 * gdb.guile/scm-symbol.exp: New file.
7253 * gdb.guile/scm-symtab-2.c: New file.
7254 * gdb.guile/scm-symtab.c: New file.
7255 * gdb.guile/scm-symtab.exp: New file.
7256 * gdb.guile/scm-type.c: New file.
7257 * gdb.guile/scm-type.exp: New file.
7258 * gdb.guile/scm-value-cc.cc: New file.
7259 * gdb.guile/scm-value-cc.exp: New file.
7260 * gdb.guile/scm-value.c: New file.
7261 * gdb.guile/scm-value.exp: New file.
7262 * gdb.guile/source2.scm: New file.
7263 * gdb.guile/types-module.cc: New file.
7264 * gdb.guile/types-module.exp: New file.
7265
7026a7c1
YQ
72662014-02-10 Yao Qi <yao@codesourcery.com>
7267
7268 PR testsuite/16543
7269 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7270 * configure: Regenerated.
7271 * Makefile.in: New file.
7272
6c466447
AS
72732014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7274
7275 * gdb.python/py-framefilter.exp: Fix typo.
7276
6e854735
YQ
72772014-02-08 Yao Qi <yao@codesourcery.com>
7278
7279 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7280 that no =breakpoint-modified is emitted when breakpoints are
7281 modified through MI commands.
7282
d137e6dc
PA
72832014-02-07 Pedro Alves <pedro@codesourcery.com>
7284 Pedro Alves <palves@redhat.com>
7285
7286 * gdb.threads/step-after-sr-lock.c: New file.
7287 * gdb.threads/step-after-sr-lock.exp: New file.
7288
b5ee5a50
PA
72892014-02-07 Pedro Alves <palves@redhat.com>
7290
7291 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7292
3c77faf3
JK
72932014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7294
7295 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7296 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7297
6dddc817
DE
72982014-02-06 Doug Evans <xdje42@gmail.com>
7299
7300 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7301 output.
7302
7303 * gdb.gdb/python-interrupts.exp: New file.
7304
de7b2893
YQ
73052014-02-05 Yao Qi <yao@codesourcery.com>
7306
7307 * gdb.trace/report.exp (use_collected_data): Test the output
7308 of "info threads" and "info inferiors".
7309
66d032ac
YQ
73102014-02-05 Yao Qi <yao@codesourcery.com>
7311
7312 Revert this patch:
7313
7314 2013-05-24 Yao Qi <yao@codesourcery.com>
7315
7316 * gdb.trace/tfile.exp: Test inferior and thread.
7317
591a12a1
UW
73182014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7319
7320 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7321 on a function.
7322 * gdb.base/step-bt.c: Call hello via function pointer to make
7323 sure its first instruction is executed on powerpc64le-linux.
7324
0ff3e01f
UW
73252014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7326
7327 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7328
084ee545
UW
73292014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7330
7331 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7332 of the test patterns for use on little-endian systems.
7333
6ed14ff3
UW
73342014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7335
7336 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7337 (decimal_vector): Fix for little-endian.
7338
401e27fd
JM
73392014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7340
7341 * gdb.arch/sparc-sysstep.exp: New file.
7342 * gdb.arch/sparc-sysstep.c: Likewise.
7343
7344 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7345
8b924729
EBM
73462014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7347
7348 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7349
fb151210
JB
73502014-01-23 Tom Tromey <tromey@redhat.com>
7351
7352 * gdb.ada/array_char_idx: New testcase.
7353
0740f8d8
TT
73542014-01-23 Tom Tromey <tromey@redhat.com>
7355
7356 PR python/16487:
7357 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7358 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7359 classes.
7360
21909fa1
TT
73612014-01-23 Tom Tromey <tromey@redhat.com>
7362
7363 PR python/16491:
7364 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7365 string from an inferior frame.
7366 * gdb.python/py-framefilter-mi.exp: Update.
7367
87ce2a04
DE
73682014-01-22 Doug Evans <dje@google.com>
7369
7370 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7371
237b092b
AA
73722014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7373
7374 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7375
d674a709
AA
73762014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7377
7378 * gdb.trace/entry-values.exp: Remove excess space character from
7379 regex patterns. Handle s390 call instruction.
7380
20fa3390
AA
73812014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7382
7383 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7384 define "*_start" label. Make "name" static.
7385 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7386 ${name} by references to ${name}_start.
7387
78466714
AA
73882014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7389
7390 * gdb.base/info-macros.exp: Remove "debug" from the compile
7391 options.
7392
ec9f644a
IB
73932014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7394
7395 * gdb.dlang/demangle.exp: New file.
7396
94b1b47e
IB
73972014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7398
7399 * gdb.dlang/primitive-types.exp: New file.
7400
7f420862
IB
74012014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7402
7403 * configure.ac: Create gdb.dlang/Makefile.
7404 * configure: Regenerate.
7405 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7406 * gdb.dlang/Makefile.in: New file.
7407 * lib/d-support.exp: New file.
7408 * lib/gdb.exp (skip_d_tests): New proc.
7409
52834460
MM
74102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7411
7412 * gdb.btrace/delta.exp: Check reverse stepi.
7413 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7414 * gdb.btrace/finish.exp: New.
7415 * gdb.btrace/next.exp: New.
7416 * gdb.btrace/nexti.exp: New.
7417 * gdb.btrace/record_goto.c: Add comments.
7418 * gdb.btrace/step.exp: New.
7419 * gdb.btrace/stepi.exp: New.
7420 * gdb.btrace/multi-thread-step.c: New.
7421 * gdb.btrace/multi-thread-step.exp: New.
7422 * gdb.btrace/rn-dl-bind.c: New.
7423 * gdb.btrace/rn-dl-bind.exp: New.
7424 * gdb.btrace/data.c: New.
7425 * gdb.btrace/data.exp: New.
7426 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7427
6e07b1d2
MM
74282014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7429
7430 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7431 * gdb.btrace/exception.exp: Update.
7432 * gdb.btrace/instruction_history.exp: Update.
7433 * gdb.btrace/record_goto.exp: Update.
7434 * gdb.btrace/tailcall.exp: Update.
7435 * gdb.btrace/unknown_functions.exp: Update.
7436 * gdb.btrace/delta.exp: New.
7437
0b722aec
MM
74382014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7439
7440 * gdb.btrace/record_goto.exp: Add backtrace test.
7441 * gdb.btrace/tailcall.exp: Add backtrace test.
7442
066ce621
MM
74432014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7444
7445 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7446 * gdb.btrace/record_goto.c: New.
7447 * gdb.btrace/record_goto.exp: New.
7448 * gdb.btrace/x86-record_goto.S: New.
7449
0688d04e
MM
74502014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7451
7452 * gdb.btrace/function_call_history.exp: Update tests.
7453 * gdb.btrace/instruction_history.exp: Update tests.
7454
8710b709
MM
74552014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7456
7457 * gdb.btrace/function_call_history.exp: Fix expected field
7458 order for "record function-call-history".
7459 Add new tests for "record function-call-history /c".
7460 * gdb.btrace/exception.cc: New.
7461 * gdb.btrace/exception.exp: New.
7462 * gdb.btrace/tailcall.exp: New.
7463 * gdb.btrace/x86-tailcall.S: New.
7464 * gdb.btrace/x86-tailcall.c: New.
7465 * gdb.btrace/unknown_functions.c: New.
7466 * gdb.btrace/unknown_functions.exp: New.
7467 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7468
5de9129b
MM
74692014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7470
7471 * gdb.btrace/instruction_history.exp: Update.
7472 * gdb.btrace/function_call_history.exp: Update.
7473
23a7fe75
MM
74742014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7475
7476 * gdb.btrace/function_call_history.exp: Fix expected function
7477 trace.
7478 * gdb.btrace/instruction_history.exp: Initialize traced.
7479 Remove traced_functions.
7480
724c7dd8
MM
74812014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7482
7483 * gdb.btrace/function_call_history.exp: Update
7484 * gdb.btrace/instruction_history.exp: Update.
7485
6d78d93b
MM
74862014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7487
7488 * gdb.btrace/enable.exp: Update expected text.
7489
93a360cc
OJ
74902014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7491
7492 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7493 bytes.
7494
3772b53f
MR
74952014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7496
7497 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7498
596662fa
OJ
74992014-01-15 Omair Javaid <omair.javaid@linaro.org>
7500
7501 * lib/gdb.exp (supports_process_record): Return true for
7502 arm*-linux*. (supports_reverse): Likewise.
7503
b5b08fb4
SC
75042014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7505
7506 PR python/15464
7507 PR python/16113
7508 * gdb.python/py-type.c: Enhance test case.
7509 * gdb.python/py-value-cc.cc: Likewise
7510 * gdb.python/py-type.exp: Add new tests.
7511 * gdb.python/py-value-cc.exp: Likewise
7512
52d7fb13
AA
75132014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7514 Pedro Alves <palves@redhat.com>
7515
7516 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7517 Make "name" extern.
7518 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7519 references to ${name}_start by references to ${name}.
7520
a2cd8cfe
JB
75212014-01-10 Joel Brobecker <brobecker@adacore.com>
7522
7523 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7524
4e23fced
JB
75252014-01-10 Joel Brobecker <brobecker@adacore.com>
7526
7527 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7528
c6a9e42c
PA
75292014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7530 Pedro Alves <palves@redhat.com>
7531
7532 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 7533 mi_gdb_target_load.
c6a9e42c 7534
b7ea362b
PA
75352014-01-08 Pedro Alves <palves@redhat.com>
7536
7537 * gdb.threads/reconnect-signal.c: New file.
7538 * gdb.threads/reconnect-signal.exp: New file.
7539
5e3f4fab
EBM
75402014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7541
7542 * gdb.base/source-dir.exp: New file.
7543
79301218
JB
75442014-01-07 Joel Brobecker <brobecker@adacore.com>
7545
7546 * gdb.ada/mi_interface: New testcase.
7547
8e355c5d
JB
75482014-01-07 Joel Brobecker <brobecker@adacore.com>
7549
7550 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7551 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7552 gdb.ada/pp-rec-component/pck.ads: New files.
7553
c0d48811
JB
75542014-01-07 Joel Brobecker <brobecker@adacore.com>
7555
7556 * gdb.python/py-pp-integral.c: New file.
7557 * gdb.python/py-pp-integral.py: New file.
7558 * gdb.python/py-pp-integral.exp: New file.
7559
17b609c3 7560For older changes see ChangeLog-1993-2013.
c906108c 7561\f
8d8cb839
EZ
7562;; Local Variables:
7563;; mode: change-log
7564;; left-margin: 8
7565;; fill-column: 74
7566;; version-control: never
7567;; End:
902f2ccb 7568
618f726f 7569 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
7570 Copying and distribution of this file, with or without modification,
7571 are permitted provided the copyright notice and this notice are preserved.