Fix gdb.base/catch-fork-kill.c compilation
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
6ccb54e2
PA
12016-03-01 Pedro Alves <palves@redhat.com>
2
3 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
4
30ca9da1
YQ
52016-03-01 Yao Qi <yao.qi@linaro.org>
6
7 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
8 prepare_for_testing.
9
dc856b38
YQ
102016-03-01 Yao Qi <yao.qi@linaro.org>
11
12 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
13
4a932159
AA
142016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
15
16 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
17 manually constructing the output path.
18
f2489477
AA
192016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
20
21 * gdb.arch/s390-stackless.S: New.
22 * gdb.arch/s390-stackless.exp: New.
23
38899f16
IB
242016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
25
26 * gdb.dlang/circular.c: New file.
27 * gdb.dlang/circular.exp: New file.
28
9fde51ed
YQ
292016-02-26 Yao Qi <yao.qi@linaro.org>
30
31 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
32 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
33 (testcases): Update.
34
ce90fefe
YQ
352016-02-26 Yao Qi <yao.qi@linaro.org>
36
37 * gdb.reverse/aarch64.c: Rename to ...
38 * gdb.reverse/insn-reverse.c: ... it.
39 * gdb.reverse/aarch64.exp: Rename to ...
40 * gdb.reverse/insn-reverse.exp: ... it.
41
3263bceb
YQ
422016-02-26 Yao Qi <yao.qi@linaro.org>
43
44 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
45 (testcase_ftype): New.
46 (testcases): New array.
47 (n_testcases): New.
48 (main): Call each element in testcases.
49 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
50 (read_testcase): New.
51 Do the tests in a loop.
52
6cb59ff1
YQ
532016-02-25 Yao Qi <yao.qi@linaro.org>
54
55 * gdb.base/branches.c: Remove.
56
ae91f625
MK
572016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
58
59 PR gdb/13808
60 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
61
678b48b7
MK
622016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
63
64 * gdb.trace/ftrace.exp: Remove unnecessary target check.
65
7337a6f2
MK
662016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
67
68 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
69 change x86_64 call_insn to 'callq'.
70
861ca91f
AT
712016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
72
73 * gdb.trace/tfile-avx.c: Move to...
74 * gdb.trace/tracefile-pseudo-reg.c: Here.
75 * gdb.trace/tfile-avx.exp: Move to...
76 * gdb.trace/tracefile-pseudo-reg.exp: Here.
77
bf74e428
GB
782016-02-24 Gary Benson <gbenson@redhat.com>
79
80 * gdb.base/attach-pie-noexec.exp: Do not expect an error
81 message on attach.
82
cce0e923
DE
832016-02-23 Doug Evans <dje@google.com>
84
85 * gdb.base/skip.c (test_skip): New function.
86 (end_test_skip_file_and_function): New function.
87 (test_skip_file_and_function): New function.
88 * gdb.base/skip1.c (test_skip): New function.
89 (skip1_test_skip_file_and_function): New function.
90 * gdb.base/skip.exp: Add tests for new skip options.
91 * gdb.base/skip-solib.exp: Update expected output.
92 * gdb.perf/skip-command.cc: New file.
93 * gdb.perf/skip-command.exp: New file.
94 * gdb.perf/skip-command.py: New file.
95
4000e47e
MK
962016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
97
98 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
99 info registers pattern.
100
24f75ead
IB
1012016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
102
103 * lib/future.exp: Add D support.
104 (gdb_find_gdc): New proc.
105 (gdb_default_target_compile): Add D support.
106
fbb7bcbe
WW
1072016-02-18 Wei-cheng Wang <cole945@gmail.com>
108
109 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
110 user+system time.
111 (trace_speed_test): Determine the iteration count for a time
112 between 15..30 seconds.
113
012b3a21
WT
1142016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
115
116 * gdb.arch/i386-mpx-sigsegv.c: New file.
117 * gdb.arch/i386-mpx-sigsegv.exp: New file.
118 * gdb.arch/i386-mpx-simple_segv.c: New file.
119 * gdb.arch/i386-mpx-simple_segv.exp: New file.
120
2d5189bd
YQ
1212016-02-18 Yao Qi <yao.qi@linaro.org>
122
123 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
124 Don't call setup_kfail.
125
40fb20d0
YQ
1262016-02-18 Yao Qi <yao.qi@linaro.org>
127
128 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
129 Set "set breakpoint condition-evaluation" per $cond_bp_target.
130
21b1f8d2
DE
1312016-02-16 Doug Evans <dje@google.com>
132
133 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
134 * gdb.base/skip1.c: Ditto.
135 * gdb.base/skip.exp: Whitespace cleanup.
136
4041ed77
DB
1372016-02-16 Don Breazeal <donb@codesourcery.com>
138
139 PR remote/19496
140 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
141 Remove kfail for PR remote/19496.
142
c4ef31bf
SM
1432016-02-16 Simon Marchi <simon.marchi@ericsson.com>
144
145 * lib/gdb.exp (standard_temp_file): Return a path specific to
146 the runtest invocation.
147
266b65b3
SM
1482016-02-16 Simon Marchi <simon.marchi@ericsson.com>
149
150 * gdb.trace/save-trace.exp: Change relative path to be in the
151 standard output directory.
152
a7a0a6a9
JK
1532016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
154
155 * gdb.arch/i386-prologue.c: Add missing prototypes.
156
c99dbb42
JK
1572016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
158
159 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
160 * gdb.arch/i386-prologue.exp: Likewise.
161 * gdb.arch/i386-size.exp: Likewise.
162
aa480355
SM
1632016-02-15 Simon Marchi <simon.marchi@ericsson.com>
164
165 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
166 define object file path.
167 * gdb.btrace/gcore.exp: Use standard_output_file to define core
168 file path.
169 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
170 standard_output_file to define binfile.
171
ba881f50
JK
1722016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
173
174 Fix compatibility with recent gfortran-5.3.1.
175 * gdb.fortran/vla-history.exp (print vla1 allocated)
176 (print vla2 allocated, print $2, print $3): Remove
177 (print $4): Rename to ...
178 (print $2): ... here.
179 (print $9): Rename to ...
180 (print $5): ... here.
181 (print $10): Rename to ...
182 (print $6): ... here.
183 * gdb.fortran/vla.f90: Add pvla initialization.
184
e9fb005c
JK
1852016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
186
187 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
188 New test.
189 * gdb.fortran/vla-value-sub.exp: Likewise.
190
e44e00ff
MK
1912016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
192
193 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
194
97e94151
SM
1952016-02-12 Simon Marchi <simon.marchi@ericsson.com>
196
197 * i386-biarch-core.exp: Define corefile using
198 standard_output_file.
199
01113bc1
YQ
2002016-02-12 Yao Qi <yao.qi@linaro.org>
201
202 * gdb.arch/arm-single-step-kernel-helper.c: New.
203 * gdb.arch/arm-single-step-kernel-helper.exp: New.
204
33b4777c
MM
2052016-02-12 Markus Metzger <markus.t.metzger@intel.com>
206
207 * gdb.btrace/tailcall-only.exp: New.
208 * gdb.btrace/tailcall-only.c: New.
209 * gdb.btrace/x86_64-tailcall-only.S: New.
210 * gdb.btrace/i686-tailcall-only.S: New.
211
acc23c11
PA
2122016-02-11 Pedro Alves <palves@redhat.com>
213
214 * README (Parallel testing): Add missing double quotes.
215
e352bf0a
PA
2162016-02-11 Pedro Alves <palves@redhat.com>
217
218 * README (Parallel testing): New section.
219 (GDB_PARALLEL): Rewrite.
220 (FORCE_PARALLEL): Document.
221
9f5fed78
MK
2222016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
223
224 * gdb.trace/tfile-avx.c: New test.
225 * gdb.trace/tfile-avx.exp: New test.
226
9ef9e6a6
KS
2272016-02-09 Keith Seitz <keiths@redhat.com>
228
229 PR breakpoints/19546
230 * gdb.base/infcall-exec.c: New file.
231 * gdb.base/infcall-exec2.c: New file.
232 * gdb.base/infcall-exec.exp: New file.
233
a96e36da
KS
2342016-02-09 Keith Seitz <keiths@redhat.com>
235
236 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
237 (toplevel): Call test_bkpt_address.
238
9f61929f
KS
2392016-02-09 Keith Seitz <keiths@redhat.com>
240
241 PR python/19506
242 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
243 (toplevel): Call test_bkpt_address.
244
1e94266c
SM
2452016-02-09 Simon Marchi <simon.marchi@ericsson.com>
246
247 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
248 to AC_OUTPUT.
249 * configure: Regenerate.
250
2a7f3dff
PA
2512016-02-09 Pedro Alves <palves@redhat.com>
252
253 PR breakpoints/19548
254 * gdb.base/execl-update-breakpoints.c (some_function): New
255 function.
256 (main): Call it.
257 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
258 Tighten expected GDB output.
259
2151ccc5
SM
2602016-02-08 Simon Marchi <simon.marchi@ericsson.com>
261
262 * Makefile.in (ALL_SUBDIRS): Remove.
263 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
264 (distclean maintainer-clean realclean): Likewise.
265 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
266 * configure: Regenerate.
267 * gdb.ada/Makefile.in: Delete.
268 * gdb.arch/Makefile.in: Likewise.
269 * gdb.asm/Makefile.in: Likewise.
270 * gdb.base/Makefile.in: Likewise.
271 * gdb.btrace/Makefile.in: Likewise.
272 * gdb.cell/Makefile.in: Likewise.
273 * gdb.compile/Makefile.in: Likewise.
274 * gdb.cp/Makefile.in: Likewise.
275 * gdb.disasm/Makefile.in: Likewise.
276 * gdb.dlang/Makefile.in: Likewise.
277 * gdb.dwarf2/Makefile.in: Likewise.
278 * gdb.fortran/Makefile.in: Likewise.
279 * gdb.gdb/Makefile.in: Likewise.
280 * gdb.go/Makefile.in: Likewise.
281 * gdb.guile/Makefile.in: Likewise.
282 * gdb.java/Makefile.in: Likewise.
283 * gdb.linespec/Makefile.in: Likewise.
284 * gdb.mi/Makefile.in: Likewise.
285 * gdb.modula2/Makefile.in: Likewise.
286 * gdb.multi/Makefile.in: Likewise.
287 * gdb.objc/Makefile.in: Likewise.
288 * gdb.opencl/Makefile.in: Likewise.
289 * gdb.opt/Makefile.in: Likewise.
290 * gdb.pascal/Makefile.in: Likewise.
291 * gdb.perf/Makefile.in: Likewise.
292 * gdb.python/Makefile.in: Likewise.
293 * gdb.reverse/Makefile.in: Likewise.
294 * gdb.server/Makefile.in: Likewise.
295 * gdb.stabs/Makefile.in: Likewise.
296 * gdb.threads/Makefile.in: Likewise.
297 * gdb.trace/Makefile.in: Likewise.
298 * gdb.xml/Makefile.in: Likewise.
299 * lib/gdb.exp (make_gdb_parallel_path): Add check for
300 GDB_PARALLEL.
301 (standard_output_file): Remove check for GDB_PARALLEL, always
302 return path in outputs/$subdir/$testname.
303
437277d4
SM
3042016-02-08 Simon Marchi <simon.marchi@ericsson.com>
305
306 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
307 (site.exp): Assign abs_srcdir to tcl's srcdir.
308
31d913c7
YQ
3092016-02-04 Yao Qi <yao.qi@linaro.org>
310
311 * gdb.base/foll-exec-mode.c: Include limits.h.
312 (main): Add parameters argc and argv. Get directory from
313 argv[0].
314 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
315 compilation.
316 * gdb.base/foll-exec.c: Include limits.h.
317 (main): Add parameters argc and argv.
318 Get directory from argv[0].
319 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
320 Adjust tests on the number of lines as source code changed.
321 * gdb.base/foll-vfork-exit.c: Include limits.h.
322 (main): Add one line of statement before vfork.
323 * gdb.base/foll-vfork.c: Include limits.h and string.h.
324 (main): Add parameters argc and argv. Get directory from
325 argv[0].
326 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
327 (setup_gdb): Set tbreak to skip some source lines.
328 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
329 (main): Add parameters argc and argv. Get directory from
330 argv[0].
331 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
332 compilation.
333 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
334 (main): Add parameters argc and argv. Get directory from
335 argv[0].
336 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
337 compilation.
338
9482b9fb
DE
3392016-02-01 Doug Evans <dje@google.com>
340
341 * gdb.base/skip.exp: Clean up multiple references to same test name.
342
6b2e4f10
PA
3432016-02-01 Pedro Alves <palves@redhat.com>
344
ccb6afd6 345 PR remote/19496
6b2e4f10
PA
346 * gdb.threads/forking-threads-plus-breakpoint.exp
347 (displaced_stepping_supported): New global.
348 (probe_displaced_stepping_support): New procedure.
349 (do_test): Add 'displaced' parameter, and use it.
350 (top level): Check for displaced stepping support. Add displaced
351 stepping on/off testing axis.
352
37a8db1a
AB
3532016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
354
355 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
356 pointer. Don't perform further tests on the unassociated pointer
357 if the first test fails.
358
5fdf6324
AB
3592016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
360
361 * gdb.base/max-value-size.c: New file.
362 * gdb.base/max-value-size.exp: New file.
363 * gdb.base/huge.exp: Disable max-value-size for this test.
364
935c6144
IB
3652016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
366
367 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
368
7fe8399d
YQ
3692016-01-28 Yao Qi <yao.qi@linaro.org>
370
371 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
372
a2077e25
PA
3732016-01-25 Pedro Alves <palves@redhat.com>
374
375 PR threads/19461
376 * gdb.base/fork-running-state.c: New file.
377 * gdb.base/fork-running-state.exp: New file.
378
1d2736d4
PA
3792016-01-25 Pedro Alves <palves@redhat.com>
380
381 PR gdb/19494
382 * gdb.base/catch-fork-kill.c: New file.
383 * gdb.base/catch-fork-kill.exp: New file.
384
f1da4b11
PA
3852016-01-25 Pedro Alves <palves@redhat.com>
386
387 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
388 Delete, moved to lib/gdb.exp.
389 * gdb.threads/forking-threads-plus-breakpoint.exp
390 (foreach_with_prefix): Likewise.
391 * gdb.threads/process-dies-while-handling-bp.exp
392 (foreach_with_prefix): Likewise.
393 * lib/gdb.exp (foreach_with_prefix): New procedure.
394
45f38546
MK
3952016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
396
397 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
398 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
399
dc29a1ce
MK
4002016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
401
402 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
403 endian targets.
404
092127d7
JK
4052016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
406 Pedro Alves <palves@redhat.com>
407
408 Fix testsuite compatibility with Guile.
409 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
410 number.
411
31d765d3
JK
4122016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
413
414 Fix testsuite compatibility with Guile.
415 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
416 (thread 1): New test for backtrace through signal handler.
417
1ac78c04
YQ
4182016-01-22 Yao Qi <yao.qi@linaro.org>
419
420 PR testsuite/19491
421 * gdb.base/multi-forks.c: Include
422 ../lib/unbuffer_output.c
423 (main): Call gdb_unbuffer_output.
424
4f5946a8
DE
4252016-01-21 Doug Evans <dje@google.com>
426
427 * lib/ada.exp (gdb_compile_ada): Fix typo.
428
305e13e6
JB
4292016-01-21 Joel Brobecker <brobecker@adacore.com>
430
431 * gdb.base/break-fun-addr.exp: New file.
432 * gdb.base/break-fun-addr1.c: New file.
433 * gdb.base/break-fun-addr2.c: New file.
434
5f5dfff6
SM
4352016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
436
437 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
438 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
439 enum flag values.
440
fd356fa2
AA
4412016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
442
443 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
444 when GDB can not set the vector return value. Add more comments
445 for clarification.
446
9df22175
AT
4472016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
448
449 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
450 command.
451
41d1845e
SM
4522016-01-19 Simon Marchi <simon.marchi@ericsson.com>
453
454 * Makefile.in (DO_RUNTEST): Add --status and update usages.
455
01ac6840
SM
4562016-01-19 Simon Marchi <simon.marchi@ericsson.com>
457
458 * Makefile.in (check-single): Pass --status to runtest.
459 (check/%.exp): Likewise.
460
4612016-01-19 Simon Marchi <simon.marchi@ericsson.com>
462
463 * Makefile.in (check-parallel): Propagate return code from make
464 do-check-parallel.
465
bd0a71fa
MK
4662016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
467
468 * gdb.trace/ftrace.exp: Fix expected message on continue.
469 * gdb.trace/pending.exp: Fix expected message on continue.
470 * gdb.trace/trace-break.exp: Fix expected message on continue.
471
8bcbad33
SM
4722016-01-18 Simon Marchi <simon.marchi@ericsson.com>
473
474 * lib/gdb.exp (gdb_test): Remove unused global references.
475
f303dbd6
PA
4762016-01-18 Pedro Alves <palves@redhat.com>
477
478 * gdb.base/async-shell.exp: Adjust expected output.
479 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
480 * gdb.base/siginfo-thread.exp: Adjust expected output.
481 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
482 * gdb.java/jnpe.exp: Adjust expected output.
483 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
484 * gdb.threads/continue-pending-status.exp: Adjust expected output.
485 * gdb.threads/leader-exit.exp: Adjust expected output.
486 * gdb.threads/manythreads.exp: Adjust expected output.
487 * gdb.threads/pthreads.exp: Adjust expected output.
488 * gdb.threads/schedlock.exp: Adjust expected output.
489 * gdb.threads/siginfo-threads.exp: Adjust expected output.
490 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
491 expected output.
492 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
493 output.
494 * gdb.threads/sigthread.exp: Adjust expected output.
495 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
496
b2789696
YQ
4972016-01-18 Yao Qi <yao.qi@linaro.org>
498
499 * gdb.guile/scm-section-script.c: Replace @progbits with
500 %progbits.
501 * gdb.python/py-section-script.c: Likewise.
502
71ef29a8
PA
5032016-01-15 Pedro Alves <palves@redhat.com>
504
505 * gdb.multi/tids.exp: Test star wildcard ranges.
506
3f5b7598
PA
5072016-01-15 Pedro Alves <palves@redhat.com>
508
509 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
510 command from "thread apply" invocation.
511 (thr_apply_info_thr_invalid): Default the expected output to the
512 input tid list.
513 (top level): Add tests that use convenience variables. Add tests
514 for "thread apply" with a valid TID list, but missing the command.
515
663f6d42
PA
5162016-01-13 Pedro Alves <palves@redhat.com>
517
518 * gdb.base/default.exp: Expect $_gthread as well.
519 * gdb.multi/tids.exp: Test $_gthread.
520 * gdb.threads/thread-specific.exp: Test $_gthread.
521
c84f6bbf
PA
5222016-01-13 Pedro Alves <palves@redhat.com>
523
524 * gdb.multi/tids.exp: Test "info threads -gid".
525
22a02324
PA
5262016-01-13 Pedro Alves <palves@redhat.com>
527
528 * gdb.multi/tids.exp: Test InferiorThread.global_num and
529 Breakpoint.thread.
530 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
531
5d5658a1
PA
5322016-01-07 Pedro Alves <palves@redhat.com>
533
534 * gdb.base/break.exp: Adjust to output changes.
535 * gdb.base/hbreak2.exp: Likewise.
536 * gdb.base/sepdebug.exp: Likewise.
537 * gdb.base/watch_thread_num.exp: Likewise.
538 * gdb.linespec/keywords.exp: Likewise.
539 * gdb.multi/info-threads.exp: Likewise.
540 * gdb.threads/thread-find.exp: Likewise.
541 * gdb.multi/tids.c: New file.
542 * gdb.multi/tids.exp: New file.
543
84654457
PA
5442016-01-13 Pedro Alves <palves@redhat.com>
545
546 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
547
e3940304
PA
5482016-01-13 Pedro Alves <palves@redhat.com>
549
550 * gdb.base/default.exp: Expect $_inferior as well.
551 * gdb.multi/base.exp: Test $_inferior.
552
a911d87a
PA
5532016-01-13 Pedro Alves <palves@redhat.com>
554
555 PR breakpoints/19388
556 * gdb.base/catch-signal-siginfo-cond.c: New file.
557 * gdb.base/catch-signal-siginfo-cond.exp: New file.
558
82075af2
JS
5592016-01-12 Josh Stone <jistone@redhat.com>
560 Philippe Waroquiers <philippe.waroquiers@skynet.be>
561
562 * gdb.base/catch-syscall.c (do_execve): New variable.
563 (main): Conditionally trigger an execve.
564 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
565 (test_catch_syscall_execve): New, check entry/return across execve.
566 (do_syscall_tests): Call test_catch_syscall_execve.
567
e46eeedd
PA
5682016-01-12 Pedro Alves <palves@redhat.com>
569
570 * gdb.base/random-signal.exp (do_test): New procedure, with body
571 of testcase moved in.
572
01d8c27e
JK
5732016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
574 Pedro Alves <palves@redhat.com>
575
576 * gdb.base/funcargs.exp (finish from indirectly called function):
577 Reintroduce the case for 'First'.
578
9a706302
JK
5792016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
580 Pedro Alves <palves@redhat.com>
581
582 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
583 (tcatch_vfork_then_child_follow_exec)
584 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
585 identification.
586
c0ecb95f
JK
5872016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
588
589 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
590 and repeats to unlimited.
591 * gdb.python/py-value.exp: Likewise.
592 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
593 and repeats to unlimited.
594
6cfc1fcb
JK
5952016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
596
597 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
598 and reordering the functions.
599 * gdb.multi/hangout.c: Likewise.
600 * gdb.multi/hello.c: Likewise.
601
582a1b00
SM
6022016-01-08 Simon Marchi <simon.marchi@ericsson.com>
603
604 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
605 absolute.
606 (SingleStatisticTestResult.report): Use dict.keys instead of
607 dict.iterkeys.
608
79bc59cb
PA
6092016-01-06 Pedro Alves <palves@redhat.com>
610
611 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
612
43368e1d
MM
6132016-01-04 Markus Metzger <markus.t.metzger@intel.com>
614
615 * gdb.btrace/dlopen.exp: New.
616 * gdb.btrace/dlopen.c: New.
617 * gdb.btrace/dlopen-dso.c: New.
618
79fad5b8
SL
6192015-12-25 Sandra Loosemore <sandra@codesourcery.com>
620
621 * lib/gdb.exp (gdb_test): Update comments to clarify that the
622 PATTERN argument is optional.
623
ab8314b3
JB
6242015-12-24 Joel Brobecker <brobecker@adacore.com>
625
626 * lib/ada.exp (target_compile_ada_from_dir): New function.
627 (gdb_compile_ada): Reimplement avoiding the use of project files.
628 * gdb.ada/gnat_ada.gpr: Delete.
629 * gdb.ada/cond_lang.exp: Adjust test to make path before
630 filename optional.
631 * gdb.ada/small_reg_param.exp: Likewise.
632
fe33faff
SM
6332015-12-22 Simon Marchi <simon.marchi@ericsson.com>
634
635 * gdb.base/foll-vork.exp: Remove HP-UX special case.
636
6d265cb4
TP
6372015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
638
639 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
640 case.
641
10125099
SM
6422015-12-21 Simon Marchi <simon.marchi@ericsson.com>
643
644 * gdb.base/break.exp: Remove dead code.
645 * gdb.base/sepdebug.exp: Likewise.
646
3ca22649
SM
6472015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
648
649 * gdb.asm/asm-source.exp: Remove HP-UX references.
650 * gdb.base/annota1.exp: Likewise.
651 * gdb.base/annota3.exp: Likewise.
652 * gdb.base/attach.exp: Likewise.
653 * gdb.base/bigcore.exp: Likewise.
654 * gdb.base/break.exp: Likewise.
655 * gdb.base/call-ar-st.exp: Likewise.
656 * gdb.base/callfuncs.exp: Likewise.
657 * gdb.base/catch-fork-static.exp: Likewise.
658 * gdb.base/display.exp: Likewise.
659 * gdb.base/foll-exec-mode.exp: Likewise.
660 * gdb.base/foll-exec.exp: Likewise.
661 * gdb.base/foll-fork.exp: Likewise.
662 * gdb.base/foll-vfork.exp: Likewise.
663 * gdb.base/funcargs.exp: Likewise.
664 * gdb.base/hbreak2.exp: Likewise.
665 * gdb.base/inferior-died.exp: Likewise.
666 * gdb.base/interrupt.exp: Likewise.
667 * gdb.base/multi-forks.exp: Likewise.
668 * gdb.base/nodebug.exp: Likewise.
669 * gdb.base/sepdebug.exp: Likewise.
670 * gdb.base/solib1.c: Likewise.
671 * gdb.base/step-test.exp: Likewise.
672 * gdb.mi/non-stop.c: Likewise.
673 * gdb.mi/pthreads.c: Likewise.
674 * gdb.multi/bkpt-multi-exec.ex: Likewise.
675 * gdb.threads/pthreads.c: Likewise.
676 * gdb.threads/staticthreads.exp: Likewise.
677 * lib/future.exp: Likewise.
678 * lib/gdb.exp: Likewise.
679 * gdb.base/so-indr-cl.c: Remove.
680 * gdb.base/so-indr-cl.exp: Likewise.
681 * gdb.base/solib.c: Likewise.
682 * gdb.base/solib.exp: Likewise.
683 * gdb.base/solib2.c: Likewise.
684
b6304613
SM
6852015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
686
687 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
688 * gdb.base/call-ar-st.exp: Likewise.
689 * gdb.base/callfuncs.exp: Likewise.
690 * gdb.base/condbreak.exp: Likewise.
691 * gdb.base/constvars.exp: Likewise.
692 * gdb.base/hbreak2.exp: Likewise.
693 * gdb.base/langs.exp: Likewise.
694 * gdb.base/list.exp: Likewise.
695 * gdb.base/long_long.exp: Likewise.
696 * gdb.base/ptype.exp: Likewise.
697 * gdb.base/scope.exp: Likewise.
698 * gdb.base/signals.exp: Likewise.
699 * gdb.base/so-impl-ld.exp: Likewise.
700 * gdb.base/varargs.exp: Likewise.
701 * gdb.base/volatile.exp: Likewise.
702 * gdb.base/whatis.exp: Likewise.
703 * gdb.cp/cplusfuncs.exp: Likewise.
704 * gdb.cp/inherit.exp: Likewise.
705 * gdb.cp/local.exp: Likewise.
706 * gdb.cp/member-ptr.exp: Likewise.
707 * gdb.cp/method.exp: Likewise.
708 * gdb.cp/overload.exp: Likewise.
709 * gdb.cp/templates.exp: Likewise.
710 * gdb.stabs/weird.exp: Likewise.
711 * lib/compiler.c: Likewise.
712 * lib/compiler.cc: Likewise.
713 * lib/cp-support.exp: Likewise.
714 * lib/gdb.exp: Likewise.
715
bf401b07
SM
7162015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
717
718 * configure.ac: Remove HP-UX case.
719 * configure: Regenerate.
720
aff9c0f8
SM
7212015-12-18 Simon Marchi <simon.marchi@ericsson.com>
722
723 * lib/gdb.exp (gdb_compile): Add function doc.
724
a6904d5a
PA
7252015-12-17 Pedro Alves <palves@redhat.com>
726
727 PR threads/19354
728 * gdb.multi/info-threads.exp: New file.
729
a22279dd
YQ
7302015-12-15 Yao Qi <yao.qi@linaro.org>
731
732 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
733 is aarch64*-*-*.
734
0588c796
SL
7352015-12-14 Sandra Loosemore <sandra@codesourcery.com>
736
737 * gdb.base/history-duplicates.exp: Skip if no readline support.
738
5d978e17
SL
7392015-12-14 Sandra Loosemore <sandra@codesourcery.com>
740
741 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
742
7e763b86
SL
7432015-12-14 Sandra Loosemore <sandra@codesourcery.com>
744
745 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
746
87a3a92c
SL
7472015-12-14 Sandra Loosemore <sandra@codesourcery.com>
748
749 * gdb.base/completion.exp: Skip tests that interrupt GDB with
750 ctrl-C if nointerrupts target property is set.
751 * gdb.base/double-prompt-target-event-error.exp: Likewise.
752 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
753 * gdb.base/paginate-bg-execution.exp: Likewise.
754 * gdb.base/paginate-execution-startup.exp: Likewise.
755 * gdb.base/random-signal.exp: Likewise.
756 * gdb.base/range-stepping.exp: Likewise.
757 * gdb.cp/annota2.exp: Likewise.
758 * gdb.cp/annota3.exp: Likewise.
759 * gdb.gdb/selftest.exp: Likewise.
760 * gdb.threads/continue-pending-status.exp: Likewise.
761 * gdb.threads/leader-exit.exp: Likewise.
762 * gdb.threads/manythreads.exp: Likewise.
763 * gdb.threads/pthreads.exp: Likewise.
764 * gdb.threads/schedlock.exp: Likewise.
765 * gdb.threads/sigthread.exp: Likewise.
766
a8f077dc
DB
7672015-12-11 Don Breazeal <donb@codesourcery.com>
768
769 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
770 remote.
771 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
772 * gdb.base/foll-exec.exp (main): Enable for target remote.
773 * gdb.base/foll-fork.exp (main): Likewise.
774 * gdb.base/foll-vfork.exp (main): Likewise.
775 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
776 (proc continue_to_exit_bp_loc): Use clean_restart.
777 * gdb.base/pie-execl.exp (main): Disable for target remote.
778 * gdb.base/watch-vfork.exp (main): Enable for target remote.
779 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
780 * gdb.threads/execl.exp (main): Likewise.
781 * gdb.threads/fork-child-threads.exp (main): Likewise.
782 * gdb.threads/fork-plus-threads.exp (main): Disable for target
783 remote.
784 * gdb.threads/fork-thread-pending.exp (main): Enable for target
785 remote.
786 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
787 pid.tid style ptids, instead of just tid.
788 * gdb.threads/thread-execl.exp (main): Enable for target remote.
789 * gdb.threads/watchpoint-fork.exp (main): Likewise.
790 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
791 ptids, instead of just tid.
792
3b2464a8
AB
7932015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
794
795 * gdb.base/list.exp (test_list_forward): Add end of file error
796 test.
797 (test_repeat_list_command): Add end of file error test.
798 (test_list_backwards): Add beginning of file error test.
799
a0def019
AB
8002015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
801
802 * gdb.base/list.exp (test_list_invalid_args): New function,
803 defined, and called.
804
5c000dff
AB
8052015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
806
807 * gdb.base/list.exp (test_list): Make test names unique.
808
f1637ebe
YQ
8092015-12-11 Yao Qi <yao.qi@linaro.org>
810
811 * gdb.base/coremaker2.c: Remove.
812
36d6fc0a
PA
8132015-12-10 Pedro Alves <palves@redhat.com>
814
815 * gdb.multi/base.exp: Remove stale "spaces" references.
816
762f7747
PA
8172015-12-10 Pedro Alves <palves@redhat.com>
818
819 * gdb.multi/base.exp: Don't use nowarnings.
820 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
821 * gdb.multi/hangout.c: Include stdio.h.
822 * gdb.multi/hello.c: Include stdlib.h.
823 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
824 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
825 * gdb.multi/multi-arch.exp: Don't use nowarnings.
826
28d2bfb9
AB
8272015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
828
829 * gdb.dwarf2/dw2-ranges-base.c: New file.
830 * gdb.dwarf2/dw2-ranges-base.exp: New file.
831 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
832 support additional line table, and debug ranges generation.
833 (Dwarf::ranges): New function, generate .debug_ranges.
834 (Dwarf::lines): Support generating simple line table programs.
835 (Dwarf::assemble): Initialise new namespace variables.
836
5fc2beac
KB
8372015-12-09 Kevin Buettner <kevinb@redhat.com>
838
839 * gdb.base/async.exp (proc test_background): Add case for
840 asynchronous execution not supported.
841
1c35a88f
LM
8422015-12-09 Luis Machado <lgustavo@codesourcery.com>
843
844 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
845 format and change test names to make them unique.
846
b593e3d9
RK
8472015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
848 Pedro Alves <pedro@redhat.com>
849
850 PR gdb/18702
851 Add checking of floatformats setup on x86_64 hosts.
852 * gdb.arch/i386-float.S (main): Load bigval and smallval.
853 (smallval, bigval): New labels/constants.
854 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
855 float" after loading bigval and smallval.
856
d72413e6
PMR
8572015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
858
859 * gdb.ada/fun_overload_menu.exp: New testcase.
860 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
861
ece66d65
JS
8622015-12-04 Josh Stone <jistone@redhat.com>
863
864 * gdb.base/catch-fork-static.exp: New.
865
41d0efca
YQ
8662015-12-03 Yao Qi <yao.qi@linaro.org>
867
868 * gdb.base/sizeof.c: Don't include stdio.h and
869 ../lib/unbuffer_output.c.
870 (main): New variable 'size' and 'value'. Remove printf and
871 gdb_unbuffer_output. Assign return value to size and value.
872 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
873 at the beginning.
874 (check_sizeof): Check the result by printing variable 'size'.
875 (check_valueof): Check the result by printing variable 'value'.
876
99fd02d9
YQ
8772015-12-01 Yao Qi <yao.qi@linaro.org>
878
879 * gdb.base/disp-step-syscall.exp: Define syscall instruction
880 for aarch64*-*-linux* target.
881
f2faf941
PA
8822015-11-30 Pedro Alves <palves@redhat.com>
883
884 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
885
04bf20c5
PA
8862015-11-30 Pedro Alves <palves@redhat.com>
887
888 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
889 Handle non-stop mode vCont replies.
890
09df4675
PA
8912015-11-30 Pedro Alves <palves@redhat.com>
892
893 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
894 prepare_for_testing. Start gdb with "set non-stop on" appended to
895 GDBFLAGS. Lax expected stop output.
896
58b584af
YQ
8972015-11-27 Yao Qi <yao.qi@linaro.org>
898
899 * gdb.arch/arm-neon.exp: New.
900 * gdb.arch/arm-neon.c: New.
901
dfcb77a8
YQ
9022015-11-27 Yao Qi <yao.qi@linaro.org>
903
904 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
905
88e8ec1b
YQ
9062015-11-27 Yao Qi <yao.qi@linaro.org>
907
908 * gdb.cp/annota2.exp: Allow multiple occurrences of the
909 frames-invalid annotation.
910
bfde72c2
YQ
9112015-11-27 Yao Qi <yao.qi@linaro.org>
912
913 * gdb.cp/annota2.exp: Use ${frames_invalid}.
914
f6512a69
SM
9152015-11-26 Simon Marchi <simon.marchi@ericsson.com>
916
917 * gdb.threads/names.exp: New file.
918 * gdb.threads/names.c: New file.
919 * README: Mention gdb,no_thread_names.
920
46a3515b
MM
9212015-11-26 Markus Metzger <markus.t.metzger@intel.com>
922
923 PR 19297
924 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
925 support" error.
926
62147a22
PA
9272015-11-24 Pedro Alves <palves@redhat.com>
928
929 PR 17539
930 * gdb.base/display.exp: Expect displays to be sorted in ascending
931 order. Use multi_line.
932 * gdb.base/solib-display.exp: Likewise.
933
2f341b6e
PA
9342015-11-24 Pedro Alves <palves@redhat.com>
935
936 PR 17539
937 * gdb.base/display.exp: Expect displays to be sorted in ascending
938 order. Use multi_line.
939 * gdb.base/solib-display.exp: Likewise.
940
7e0aa6aa
PA
9412015-11-24 Pedro Alves <palves@redhat.com>
942
943 PR 17539
944 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
945 threads in ascending order.
946 * gdb.base/foll-fork.exp: Likewise.
947 * gdb.base/foll-vfork.exp: Likewise.
948 * gdb.base/multi-forks.exp: Likewise.
949 * gdb.mi/mi-nonstop.exp: Likewise.
950 * gdb.mi/mi-nsintrall.exp: Likewise.
951 * gdb.multi/base.exp: Likewise.
952 * gdb.multi/multi-arch.exp: Likewise.
953 * gdb.python/py-inferior.exp: Likewise.
954 * gdb.threads/break-while-running.exp: Likewise.
955 * gdb.threads/execl.exp: Likewise.
956 * gdb.threads/gcore-thread.exp: Likewise.
957 * gdb.threads/info-threads-cur-sal.exp: Likewise.
958 * gdb.threads/kill.exp: Likewise.
959 * gdb.threads/linux-dp.exp: Likewise.
960 * gdb.threads/multiple-step-overs.exp: Likewise.
961 * gdb.threads/next-bp-other-thread.exp: Likewise.
962 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
963 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
964 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
965 * gdb.threads/thread-find.exp: Likewise.
966 * gdb.threads/tls.exp: Likewise.
967 * lib/mi-support.exp (mi_reverse_list): Delete.
968 (mi_check_thread_states): No longer reverse list.
969
2cc57ad8
PA
9702015-11-24 Pedro Alves <palves@redhat.com>
971
972 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
973 use lowercase.
974
c93e8391
SM
9752015-11-23 Simon Marchi <simon.marchi@ericsson.com>
976
977 * gdb.trace/actions.c: Include trace-common.h.
978 (main): Add a location for a fast tracepoint.
979 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
980 the normal tracepoints.
981 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
982
045ccf91
SM
9832015-11-23 Simon Marchi <simon.marchi@ericsson.com>
984
985 * save-trace.exp: Factor out code to these...
986 (gdb_save_tracepoints): New.
987 (gdb_load_tracepoints): New.
988 (do_save_load_test): New.
989
5506f9f6
KB
9902015-11-23 Kevin Buettner <kevinb@redhat.com>
991
992 * gdb.base/asmlabel.exp: New test.
993 * gdb.base/asmlabel.c: New test case.
994
16c3b12f
JB
9952015-11-23 Joel Brobecker <brobecker@adacore.com>
996
997 * gdb.base/wrong_frame_bt_full-main.c: New file.
998 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
999 * gdb.base/wrong_frame_bt_full.exp: New file.
1000
155bfbd3
JB
10012015-11-23 Joel Brobecker <brobecker@adacore.com>
1002
1003 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1004
bb097445
JM
10052015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1006
206853a0 1007 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
1008 pstate register when comparing registers values in
1009 sparc64-*-linux-gnu targets to avoid spurious differences.
1010
9c88ed8f
JM
10112015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1012
206853a0 1013 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 1014
96161e25
SL
10152015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1016
1017 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1018 as type argument to gdb_compile.
1019 * gdb.base/nested-subp2.exp: Likewise.
1020 * gdb.base/nested-subp3.exp: Likewise.
1021
340c2830
DV
10222015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1023
1024 * lib/dwarf.exp (_note): Fix left shift of negative value.
1025 * gdb.trace/trace-condition.exp: Likewise.
1026
c1862d0f
YQ
10272015-11-13 Yao Qi <yao.qi@linaro.org>
1028
1029 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1030 comments about d10v.
1031 (test_scalar_returns): Likewise.
1032 * gdb.base/d10v.ld: Remove.
1033 * gdb.base/overlays.exp: Remove the target triplet checking for
1034 d10v-*-*.
1035 * gdb.base/structs.exp (test_struct_returns): Remove the
1036 comments about d10v.
1037 (test_struct_calls): Likewise.
1038
77ae9c19
YQ
10392015-11-13 Yao Qi <yao.qi@linaro.org>
1040
1041 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1042 * gdb.base/gnu_vector.c: Don't include stdio.h.
1043 (main): Don't print res and call add_some_intvecs.
1044
430e004e
MK
10452015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1046
1047 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1048 macro.
1049 (func5): Removed.
1050 (func4): Use FAST_TRACEPOINT_LABEL.
1051 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1052 macro.
1053 (func): Removed.
1054 (thread_function): Use FAST_TRACEPOINT_LABEL.
1055 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1056 (func): Remove.
1057 (marker): Use FAST_TRACEPOINT_LABEL.
1058 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1059 (pendfunc1): Remove.
1060 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1061 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1062 (foo): Remove.
1063 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1064 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1065 macro.
1066 (func): Remove.
1067 (marker): Use FAST_TRACEPOINT_LABEL.
1068 * gdb.trace/trace-common.h: New header.
1069 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1070 macro.
1071 (func): Remove.
1072 (marker): Use FAST_TRACEPOINT_LABEL.
1073 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1074 (func): Remove.
1075 (thread_function): Use FAST_TRACEPOINT_LABEL.
1076
6e7675a7
MK
10772015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
1078
1079 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1080 in front.
1081 * gdb.trace/change-loc.exp: Use global pcreg definition.
1082 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1083 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1084 in front.
1085 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1086 * gdb.trace/pending.exp: Likewise.
1087 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1088 * gdb.trace/trace-break.exp: Likewise.
1089 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1090 in front.
1091 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1092 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1093 in front.
1094 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1095
dddc0e16
JB
10962015-11-09 Joel Brobecker <brobecker@adacore.com>
1097
1098 * gdb.ada/fin_fun_out: New testcase.
1099
c6f0b406
KB
11002015-11-07 Kevin Buettner <kevinb@redhat.com>
1101
1102 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1103 value associated with DW_AT_byte_size.
1104 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1105 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1106 DW_AT_upper_bound.
1107
f01dcfd9
KB
11082015-11-07 Kevin Buettner <kevinb@redhat.com>
1109
1110 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1111 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1112 version.
1113 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1114 gdb.dwarf2/dw2-canonicalize-type.exp,
1115 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1116 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1117 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1118 provided by gdb_target_symbol_prefix_flags_asm.
1119 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1120 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1121 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1122 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1123 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1124 macros where needed). Use this macro for symbols which require
1125 the prefix provided by SYMBOL_PREFIX.
1126
2223449a
KB
11272015-11-05 Kevin Buettner <kevinb@redhat.com>
1128
1129 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1130 New procs.
1131 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1132 representing expressions, of more than one list element.
1133 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1134 to prepend linker symbol prefix to f.
1135 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1136 table_1 and table_2.
1137 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1138 Likewise, for f and g.
1139 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1140 for ptr.
1141 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1142 for main.
1143 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1144 table_1_ptr and table_2_ptr.
1145
6f2f1a3a
JK
11462015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1147 Joel Brobecker <brobecker@adacore.com>
1148
1149 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1150
566c56c9
MK
11512015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
1152
1153 * gdb.reverse/s390-mvcle.c: New test.
1154 * gdb.reverse/s390-mvcle.exp: New file.
1155 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1156
d5f0636b
MK
11572015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1158
1159 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1160
7ad8b86c
MK
11612015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1162
1163 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1164 reaching marker2.
1165 * gdb.reverse/getresuid-reverse.exp: Likewise.
1166 * gdb.reverse/pipe-reverse.exp: Likewise.
1167 * gdb.reverse/readv-reverse.exp: Likewise.
1168 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1169 * gdb.reverse/time-reverse.exp: Likewise.
1170 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1171
4081c0f1
YQ
11722015-10-30 Yao Qi <yao.qi@linaro.org>
1173
1174 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1175 (empty_cycle): Remove.
1176 (main): Don't call empty_cycle. Don't use watch_count_done.
1177 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1178 empty_cycle. Rewrite the code counting HW watchpoints.
1179
452b4ba5
MK
11802015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
1181
1182 * gdb.reverse/fstatat-reverse.c: New test.
1183 * gdb.reverse/fstatat-reverse.exp: New file.
1184 * gdb.reverse/getresuid-reverse.c: New test.
1185 * gdb.reverse/getresuid-reverse.exp: New file.
1186 * gdb.reverse/pipe-reverse.c: New test.
1187 * gdb.reverse/pipe-reverse.exp: New file.
1188 * gdb.reverse/readv-reverse.c: New test.
1189 * gdb.reverse/readv-reverse.exp: New file.
1190 * gdb.reverse/recvmsg-reverse.c: New test.
1191 * gdb.reverse/recvmsg-reverse.exp: New file.
1192 * gdb.reverse/time-reverse.c: New test.
1193 * gdb.reverse/time-reverse.exp: New file.
1194 * gdb.reverse/waitpid-reverse.c: New test.
1195 * gdb.reverse/waitpid-reverse.exp: New file.
1196
5e2e7507
JK
11972015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1198
1199 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1200
0fde2c53
DE
12012015-10-26 Doug Evans <dje@google.com>
1202
1203 PR symtab/17391
1204 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1205 * gdb.dwarf2/bad-regnum.c: New file.
1206 * gdb.dwarf2/bad-regnum.exp: New file.
1207
1a70ae97
DE
12082015-10-26 Doug Evans <dje@google.com>
1209
1210 PR python/18938
1211 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1212 file.
1213
27dc26ab
JK
12142015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1215
1216 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1217 for a change by "Mention language in compile error message".
1218
bed91f4d
SM
12192015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1220
1221 PR python/18073
1222 * gdb.python/py-type.c (C::a_method): New.
1223 (C::a_const_method): New.
1224 (C::a_static_method): New.
1225 (a_function): New.
1226 * gdb.python/py-type.exp (test_fields): Test getting fields
1227 from function and method.
1228
3f2f83dd
KB
12292015-10-21 Keven Boell <keven.boell@intel.com>
1230
1231 * gdb.fortran/vla-alloc-assoc.exp: New file.
1232 * gdb.fortran/vla-datatypes.exp: New file.
1233 * gdb.fortran/vla-datatypes.f90: New file.
1234 * gdb.fortran/vla-history.exp: New file.
1235 * gdb.fortran/vla-ptype-sub.exp: New file.
1236 * gdb.fortran/vla-ptype.exp: New file.
1237 * gdb.fortran/vla-sizeof.exp: New file.
1238 * gdb.fortran/vla-sub.f90: New file.
1239 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1240 * gdb.fortran/vla-value-sub-finish.exp: New file.
1241 * gdb.fortran/vla-value-sub.exp: New file.
1242 * gdb.fortran/vla-value.exp: New file.
1243 * gdb.fortran/vla-ptr-info.exp: New file.
1244 * gdb.mi/mi-vla-fortran.exp: New file.
1245 * gdb.mi/vla.f90: New file.
1246
27145d50
SL
12472015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1248
1249 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1250 of hardwired timeout value.
1251
5f3ff4f8
JK
12522015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1253 Pedro Alves <palves@redhat.com>
1254
1255 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1256 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1257
bfd09d20
JS
12582015-10-19 Josh Stone <jistone@redhat.com>
1259
1260 * gdb.base/catch-syscall.c: Include <sched.h>.
1261 (unknown_syscall): New variable.
1262 (main): Trigger a vfork and an unknown syscall.
1263 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1264 (unknown_syscall_number): Likewise.
1265 (check_call_to_syscall): Accept an optional syscall pattern.
1266 (check_return_from_syscall): Likewise.
1267 (check_continue): Likewise.
1268 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1269 (test_catch_syscall_skipping_return): New test toggling off 'catch
1270 syscall' to step over the syscall return, then toggling back on.
1271 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1272 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1273 (do_syscall_tests): Call test_catch_syscall_without_args and
1274 test_catch_syscall_mid_vfork.
1275 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1276 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1277
b32b93c6
AS
12782015-10-19 Andrew Stubbs <ams@codesourcery.com>
1279
1280 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1281 print g_vE): Add new pass patterns.
1282 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1283 print various symbol names for vptr fields.
1284
9d622bda
AB
12852015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1286
1287 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1288 results.
1289
0fd8ac1c
YQ
12902015-10-12 Yao Qi <yao.qi@linaro.org>
1291
1292 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1293
34240514
YQ
12942015-10-12 Yao Qi <yao.qi@linaro.org>
1295
1296 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1297 is aarch64*-*-linux*.
1298
8240f442
YQ
12992015-10-12 Yao Qi <yao.qi@linaro.org>
1300
1301 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1302 (can_relocate_bcond_true): ... it.
1303 (can_relocate_bcond_false): New function.
1304 (foo): Likewise.
1305 (can_relocate_bl): Likewise.
1306 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1307 can_relocate_bl.
1308
2520f728
PMR
13092015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1310
1311 * gdb.base/nested-addr.c: New file.
1312 * gdb.base/nested-addr.exp: New testcase.
1313
abcef95a
MM
13142015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1315
1316 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1317 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1318 its output. Ignore the output of "record goto begin" and instead
1319 check that GDB is replaying.
1320
145e3ddb
PA
13212015-10-09 Pedro Alves <palves@redhat.com>
1322
1323 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1324 (top level): Use it in the run with no args test.
1325
d5d8c4e1
IB
13262015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1327
1328 * gdb.dlang/properties.exp: New file.
1329
06e635ef
SL
13302015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1331
1332 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1333 whether or not address 0x1000 is mapped on the target.
1334
e019fd1d
SM
13352015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1336
1337 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1338 build.
1339
77ba2a67
MM
13402015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1341
1342 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1343 instruction-history test.
1344
c60eb31f
DE
13452015-09-28 Doug Evans <dje@google.com>
1346
1347 * gdb.base/gcore.c (array_func): Add reference to static_array.
1348
9a3c8263
SM
13492015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1350
1351 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1352 source line.
1353
9720e656
SL
13542015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1355
1356 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1357 short or char as base type.
1358
938d3bf2
SL
13592015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1360
1361 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1362 to allow any size enum.
1363
e6c2c623
PMR
13642015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1365
1366 * gdb.ada/array_ptr_renaming.exp: New testcase.
1367 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1368 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1369
06da0f77
PL
13702015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1371
1372 * gdb.trace/ftrace-lock.c: New file.
1373 * gdb.trace/ftrace-lock.exp: New file.
1374
4f51c22a
PL
13752015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1376
1377 * gdb.arch/insn-reloc.c: New file.
1378 * gdb.arch/ftrace-insn-reloc.exp: New file.
1379
7041adf4
PL
13802015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1381
1382 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1383 instruction.
1384 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1385 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1386 * gdb.trace/range-stepping.c: Likewise.
1387 * gdb.trace/trace-break.c: Likewise.
1388 * gdb.trace/trace-mt.c (thread_function): Likewise.
1389 * gdb.trace/ftrace.c (marker): Likewise.
1390 * gdb.trace/trace-condition.c (marker): Likewise.
1391 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1392 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1393 is_aarch64_target.
1394
015d2e7e
DE
13952015-09-18 Doug Evans <xdje42@gmail.com>
1396
1397 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1398 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1399
26b188a2
SL
14002015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1401
1402 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1403 the breakpoint.
1404
79dc332b
SL
14052015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1406
1407 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1408 the pending breakpoint. Remove timeout override for "Run till
1409 MI pending breakpoint on pendfunc3 on thread 2" test.
1410
f57929f2
SL
14112015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1412
1413 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1414 filename pattern.
1415
3f469b17
SL
14162015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1417
1418 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1419 in breakpoint filename pattern.
1420
515b89b3
SL
14212015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1422
7800dbe4
SL
1423 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1424
14252015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1426
515b89b3
SL
1427 * gdb.linespec/explicit.exp: Check for readline support for
1428 tab-completion tests. Fix obvious typo.
1429
d2939ba2
MM
14302015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1431
1432 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1433 and replay.
1434
cbb55fa7
MM
14352015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1436
1437 * gdb.btrace/non-stop.c: New.
1438 * gdb.btrace/non-stop.exp: New.
1439
43691ca1
PL
14402015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1441 Yao Qi <yao.qi@linaro.org>
1442
1443 * gdb.trace/trace-condition.c: New file.
1444 * gdb.trace/trace-condition.exp: New file.
1445
d78908cf
WW
14462015-09-16 Wei-cheng Wang <cole945@gmail.com>
1447
1448 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1449 for testing bytecode compilation.
1450
1ed415e2
PA
14512015-09-16 Pedro Alves <palves@redhat.com>
1452 Sandra Loosemore <sandra@codesourcery.com>
1453
1454 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1455 (SECONDS): Redefine.
1456 (main): Call pthread_kill and alarm early.
1457 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1458 support.
1459 (test): If the target can't hardware step and doesn't support
1460 displaced stepping, increase the timeout.
1461
d136eff5
PA
14622015-09-16 Pedro Alves <palves@redhat.com>
1463
1464 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1465 (enable_debug): New procedures.
1466 (test): Use them. Bail out if waiting for threads fails.
1467 (top level): Bail out if a test fails.
1468
991f019c
YQ
14692015-09-16 Yao Qi <yao.qi@linaro.org>
1470
1471 * gdb.asm/asm-source.exp: Set asm-arch for
1472 aarch64*-*-* target.
1473 * gdb.asm/aarch64.inc: New file.
1474
bfca584f
PMR
14752015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1476
1477 * gdb.ada/array_of_variable_length.exp: New testcase.
1478 * gdb.ada/array_of_variable_length/foo.adb: New file.
1479 * gdb.ada/array_of_variable_length/pck.adb: New file.
1480 * gdb.ada/array_of_variable_length/pck.ads: New file.
1481
b326e587
DE
14822015-09-15 Doug Evans <dje@google.com>
1483
1484 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1485 of function static local variable.
1486
5382cfab
PW
14872015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1488
1489 * gdb.threads/tls-so_extern.exp: New test file.
1490 * gdb.threads/tls-so_extern.c: New test file.
1491 * gdb.threads/tls-so_extern_main.c: New test file.
1492
141c5cc4
JK
14932015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1494
1495 * gdb.opt/solib-intra-step-lib.c: New file.
1496 * gdb.opt/solib-intra-step-main.c: New file.
1497 * gdb.opt/solib-intra-step.exp: New file.
1498
d15dcecd
PA
14992015-09-15 Pedro Alves <palves@redhat.com>
1500
1501 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1502 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1503
4c2f2a79
PA
15042015-09-14 Pedro Alves <palves@redhat.com>
1505
1506 * gdb.base/hook-stop-continue.c: Delete.
1507 * gdb.base/hook-stop-continue.exp: Delete.
1508 * gdb.base/hook-stop-frame.c: Delete.
1509 * gdb.base/hook-stop-frame.exp: Delete.
1510 * gdb.base/hook-stop.c: New file.
1511 * gdb.base/hook-stop.exp: New file.
1512
919e6dbe
PMR
15132015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1514
1515 * gdb.ada/access_to_packed_array.exp: New testcase.
1516 * gdb.ada/access_to_packed_array/foo.adb: New file.
1517 * gdb.ada/access_to_packed_array/pack.adb: New file.
1518 * gdb.ada/access_to_packed_array/pack.ads: New file.
1519
157280a4
MM
15202015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1521
1522 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1523 buffer size test.
1524
2fd33e94
DB
15252015-09-11 Don Breazeal <donb@codesourcery.com>
1526
1527 * gdb.base/foll-exec.c: Add copyright header. Fix
1528 formatting issues.
1529 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1530 (do_exec_tests): Use clean_restart in place of zap_session,
1531 and for test initialization. Fix formatting issues. Use
1532 fail in place of perror.
1533 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1534 an expect statement to match an expression with output from
1535 the program under debug.
1536 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1537 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1538 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1539 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1540 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1541
e70b6e8e
DE
15422015-09-09 Doug Evans <dje@google.com>
1543
1544 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1545
7a551a51
DE
15462015-09-09 Doug Evans <dje@google.com>
1547
1548 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1549
4c666f84
DE
15502015-09-09 Doug Evans <dje@google.com>
1551
1552 * gdb.base/savedregs.exp: Fix typo.
1553
243a9253
PA
15542015-09-09 Pedro Alves <palves@redhat.com>
1555
1556 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1557
c0fa8fbd
SL
15582015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1559
1560 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1561 command actually switches threads. Give up on remaining
1562 tests if target fails to stop at breakpoint.
1563
cd7c1778
PMR
15642015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1565
1566 * gdb.ada/funcall_char.exp: New testcase.
1567 * gdb.ada/funcall_char/foo.adb: New file.
1568
dc5c8746
PMR
15692015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1570
1571 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1572 expected outputs. Add two testcases for completing ambiguous
1573 functions.
1574 * gdb.ada/complete/aux_pck.adb: New file.
1575 * gdb.ada/complete/aux_pck.ads: New file.
1576 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1577 Ambiguous_Func functions.
1578 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1579 * gdb.ada/complete/pck.adb: Likewise.
1580
4e83a1e7
UW
15812015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1582
1583 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1584 failures to run the test program under GDB.
1585
8ce74153
LM
15862015-08-26 Luis Machado <lgustavo@codesourcery.com>
1587
1588 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1589 to C.
1590
e9756d52
PP
15912015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1592
1593 * gdb.base/run-after-attach.exp: New test file.
1594 * gdb.base/run-after-attach.c: New test file.
1595
8d37573b
DB
15962015-08-26 Don Breazeal <donb@codesourcery.com>
1597
1598 * gdb.base/foll-exec-2.c: New test program.
1599 * gdb.base/foll-exec-2.exp: New test.
1600
63e43d3a
PMR
16012015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1602
1603 * gdb.base/nested-subp1.exp: New file.
1604 * gdb.base/nested-subp1.c: New file.
1605 * gdb.base/nested-subp2.exp: New file.
1606 * gdb.base/nested-subp2.c: New file.
1607 * gdb.base/nested-subp3.exp: New file.
1608 * gdb.base/nested-subp3.c: New file.
1609
3d40fbb5
PA
16102015-08-24 Pedro Alves <palves@redhat.com>
1611
1612 * gdb.server/connect-without-multi-process.c: New file.
1613 * gdb.server/connect-without-multi-process.exp: New file.
1614
4422ac93
LM
16152015-08-24 Luis Machado <lgustavo@codesourcery.com>
1616
1617 * gdb.opt/inline-markers.c: Make z int.
1618
91dddb86
LM
16192015-08-24 Luis Machado <lgustavo@codesourcery.com>
1620
1621 * gdb.opt/inline-markers.c: Make z volatile.
1622
a48847ee
LM
16232015-08-24 Luis Machado <lgustavo@codesourcery.com>
1624
1625 * gdb.opt/inline-bt.c: New volatile global z.
1626 * gdb.opt/inline-cmds.c: Likewise.
1627 * gdb.opt/inline-locals.c: Likewise.
1628 * gdb.opt/inline-markers.c: New extern global z.
1629 (marker): Use z.
1630 (inline_fn): Likewise.
1631
0ebbc52b
PA
16322015-08-24 Pedro Alves <palves@redhat.com>
1633
1634 * config/m32r-stub.exp: Remove file.
1635 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1636 * gdb.base/call-rt-st.exp: Likewise.
1637 * gdb.base/call-strs.exp: Likewise.
1638 * gdb.base/default.exp: Remove references to h8300-*-hms and
1639 *-*-udi*.
1640 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1641
77c365df
AA
16422015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1643
1644 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1645 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1646 and "return" use KFAIL when GDB can not read/write the vector
1647 return value.
1648
4313b8c0
GB
16492015-08-21 Gary Benson <gbenson@redhat.com>
1650
1651 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1652
0e433b32
PA
16532015-08-20 Pedro Alves <palves@redhat.com>
1654
1655 * gdb.server/solib-list.exp: No longer expect an interior stop in
1656 non-stop mode.
1657
221e1a37
PA
16582015-08-20 Pedro Alves <palves@redhat.com>
1659
1660 * gdb.server/connect-stopped-target.c: New file.
1661 * gdb.server/connect-stopped-target.exp: New file.
1662
40e3ad0e
PA
16632015-08-20 Pedro Alves <palves@redhat.com>
1664
1665 * gdb.dwarf2/comp-unit-lang.exp: New file.
1666 * gdb.dwarf2/comp-unit-lang.c: New file.
1667
af39b327
PMR
16682015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1669
1670 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1671 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1672
7d45c7c3 16732015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 1674
7d45c7c3
KB
1675 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1676 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1677
4d6cceb4
DE
16782015-08-18 Doug Evans <dje@google.com>
1679 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1680
1681 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1682 skip_python_tests. New arg prompt_regexp.
1683 (skip_python_tests): New function.
1684 * lib/mi-support.exp (mi_skip_python_tests): New function.
1685 * gdb.python/py-mi-objfile-gdb.py: New file.
1686 * gdb.python/py-mi-objfile.c: New file.
1687 * gdb.python/py-mi-objfile.exp: New file.
1688
ad89c2aa
KS
16892015-08-17 Keith Seitz <keiths@redhat.com>
1690
1691 * gdb.linespec/explicit.exp: Move strace test from here ...
1692 * gdb.trace/strace.exp: ... to here.
1693
e3ae3c43
PP
16942015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1695
1696 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1697 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1698
604b2636
DE
16992015-08-14 Doug Evans <xdje42@gmail.com>
1700
1701 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
1702 inferior before selecting a new file.
1703
6ff0ba5f
DE
17042015-08-14 Doug Evans <xdje42@gmail.com>
1705
1706 * gdb.mi/mi-disassemble.exp: Update.
1707 * gdb.base/disasm-optim.S: New file.
1708 * gdb.base/disasm-optim.c: New file.
1709 * gdb.base/disasm-optim.h: New file.
1710 * gdb.base/disasm-optim.exp: New file.
1711
9ca98f92
KS
17122015-08-14 Keith Seitz <keiths@redhat.com>
1713
1714 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
1715 "evaluated-by".
1716
52bbc560
JB
17172015-08-13 Joel Brobecker <brobecker@adacore.com>
1718
1719 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
1720
5d8c3ed3
PMR
17212015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
1722
1723 * gdb.ada/fun_renaming.exp: New testcase.
1724 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
1725 * gdb.ada/fun_renaming/pack.adb: New file.
1726 * gdb.ada/fun_renaming/pack.ads: New file.
1727
ea8812bc
KS
17282015-08-12 Keith Seitz <keiths@redhat.com>
1729
1730 * gdb.base/dso2dso.exp: Pass basename of source file in call to
1731 gdb_get_line_number.
1732
4dafcdeb
JB
17332015-08-12 Joel Brobecker <brobecker@adacore.com>
1734
1735 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
1736 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
1737 gdb.base/dso2dso.exp: New files.
1738
5ba32597
SDJ
17392015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
1740 Pedro Alves <palves@redhat.com>
1741 Keith Seitz <keiths@redhat.com>
1742
1743 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
1744 GDBFLAGS.
1745
b6dafabf
PP
17462015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1747
1748 * gdb.base/gdbhistsize-history.exp
1749 (test_histsize_history_setting): Use save_vars.
1750 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1751 Use save_vars.
1752 (test_no_truncation_of_unlimited_history_file): Use save_vars.
1753 * gdb.base/readline.exp: Use save_vars.
1754
abe8e607
PP
17552015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1756
1757 * lib/gdb.exp (save_vars): New proc.
1758
629500fa
KS
17592015-08-11 Keith Seitz <keiths@redhat.com>
1760
1761 * gdb.base/help.exp: Update help_breakpoint_text.
1762
eb8c4e2e
KS
17632015-08-11 Keith Seitz <keiths@redhat.com>
1764
1765 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
1766 (at toplevel): Call test_explicit_breakpoints.
1767 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
1768 breakpoints.
1769 * lib/mi-support.exp (mi_make_breakpoint): Add support for
1770 breakpoint conditions, "-cond".
1771
87f0e720
KS
17722015-08-11 Keith Seitz <keiths@redhat.com>
1773
1774 * gdb.linespec/3explicit.c: New file.
1775 * gdb.linespec/cpexplicit.cc: New file.
1776 * gdb.linespec/cpexplicit.exp: New file.
1777 * gdb.linespec/explicit.c: New file.
1778 * gdb.linespec/explicit.exp: New file.
1779 * gdb.linespec/explicit2.c: New file.
1780 * gdb.linespec/ls-errs.exp: Add explicit location tests.
1781 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
1782 before using in the matching pattern.
1783 Clarify that `prefix' is a regular expression.
1784
f00aae0f
KS
17852015-08-11 Keith Seitz <keiths@redhat.com>
1786
1787 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
1788 test.
1789 Add tests for missing ",FMT" and ",".
1790
e27852be
DE
17912015-08-10 Doug Evans <dje@google.com>
1792 Keith Seitz <keiths@redhat.com>
1793
1794 PR gdb/17960
1795 * gdb.base/completion.exp: Add location completer tests.
1796
7f03bd92
PA
17972015-08-07 Pedro Alves <palves@redhat.com>
1798
1799 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
1800 tests here.
1801 (top level): Run do_test with and without displaced stepping.
1802
3fc8eb30
PA
18032015-08-07 Pedro Alves <palves@redhat.com>
1804
1805 * gdb.base/valgrind-disp-step.c: New file.
1806 * gdb.base/valgrind-disp-step.exp: New file.
1807
d4569d7b
PA
18082015-08-07 Pedro Alves <palves@redhat.com>
1809
1810 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
1811 Delete function.
1812 (main): Add alarm. Run an infinite loop instead of calling
1813 wait_threads.
1814 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
1815 comment.
1816 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
1817 Delete function.
1818 (main): Add alarm. Run an infinite loop instead of calling
1819 wait_threads.
1820 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
1821 comment.
1822
e1316e60
PA
18232015-08-07 Pedro Alves <palves@redhat.com>
1824
1825 * gdb.base/checkpoint-ns.exp: New file.
1826 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
1827 standard_testfile.
1828
da8c46d2
MM
18292015-08-07 Markus Metzger <markus.t.metzger@intel.com>
1830
1831 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
1832 * gdb.btrace/instruction_history.exp: Update.
1833 * gdb.btrace/tsx.exp: New.
1834 * gdb.btrace/tsx.c: New.
1835
de1c2c52
PA
18362015-08-06 Pedro Alves <palves@redhat.com>
1837
1838 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
1839 increase timeout.
1840 * gdb.reverse/until-precsave.exp: Bump timeouts.
1841
782e0bf4
PA
18422015-08-06 Pedro Alves <palves@redhat.com>
1843
1844 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
1845
83e97ed0
PA
18462015-08-06 Pedro Alves <palves@redhat.com>
1847
1848 PR gdb/18749
1849 * gdb.threads/process-dies-while-handling-bp.c: New file.
1850 * gdb.threads/process-dies-while-handling-bp.exp: New file.
1851
863d01bd
PA
18522015-08-06 Pedro Alves <palves@redhat.com>
1853
1854 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
1855 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
1856
0a39bb32
PA
18572015-08-05 Pedro Alves <palves@redhat.com>
1858
1859 * gdb.threads/next-while-other-thread-longjmps.c: New file.
1860 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
1861
ee2d2b10
SL
18622015-08-03 Sandra Loosemore <sandra@codesourcery.com>
1863
1864 * gdb.base/bp-permanent.exp: Report test as unsupported if
1865 the target cannot stop at the permanent breakpoint.
1866
4e1bdb00
DE
18672015-08-03 Doug Evans <dje@google.com>
1868
1869 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
1870 10000.
1871
3d338901
DE
18722015-08-03 Doug Evans <dje@google.com>
1873
1874 * Makefile.in (workers/%.worker, build-perf): New rule.
1875 (GDB_PERFTEST_MODE): New variable.
1876 (check-perf): Use it.
1877 (clean): Clean up gdb.perf parallel build subdirs.
1878 * lib/build-piece.exp: New file.
1879 * lib/gdb.exp (make_gdb_parallel_path): New function
1880 (standard_output_file, standard_temp_file): Call it.
1881 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1882 of $GDB_PARALLEL.
1883 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
1884
af061d3e
DE
18852015-08-03 Doug Evans <dje@google.com>
1886
8e1afc81 1887 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
1888 (LOG_FILE_NAME): New global.
1889 (TextReporter.__init__): Initialize self.txt_sum.
1890 (TextReporter.report): Add support for multiple data-points.
1891 Move report to perftest.sum, put raw data in perftest.log.
1892 (TextReporter.start): Open sum and log files.
1893 (TextReporter.end): Close sum and log files.
8e1afc81
DE
1894 * gdb.perf/lib/perftest/testresult.py
1895 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 1896
2c8c5d37
PA
18972015-07-31 Pedro Alves <palves@redhat.com>
1898
1899 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
1900 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1901 kill_wait_spawned_process instead of explicit "kill -9".
1902 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
1903 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1904 kill_wait_spawned_process.
1905 * gdb.base/attach-twice.exp: Likewise.
1906 * gdb.base/attach.exp: Likewise.
1907 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
1908 gdb_test_multiple.
1909 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
1910 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1911 kill_wait_spawned_process.
1912 * gdb.base/valgrind-infcall.exp: Likewise.
1913 * gdb.multi/multi-attach.exp: Likewise.
1914 * gdb.python/py-prompt.exp: Likewise.
1915 * gdb.python/py-sync-interp.exp: Likewise.
1916 * gdb.server/ext-attach.exp: Likewise.
1917 * gdb.threads/attach-into-signal.exp (corefunc): Use
1918 spawn_wait_for_attach, spawn_id_get_pid and
1919 kill_wait_spawned_process.
1920 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
1921 spawn_wait_for_attach returning a spawn id instead of a pid. Use
1922 spawn_id_get_pid and kill_wait_spawned_process.
1923 * gdb.threads/attach-stopped.exp (corefunc): Use
1924 spawn_wait_for_attach, spawn_id_get_pid and
1925 kill_wait_spawned_process.
1926 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
1927 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1928 kill_wait_spawned_process instead of explicit "kill -9".
1929 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
1930 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
1931 (spawn_wait_for_attach): Use spawn instead of exec to spawn
1932 processes. Don't map cygwin/windows pids here. Now returns a
1933 spawn id list.
1934
032a0fca
SL
19352015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1936
1937 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
1938 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
1939 correct patch.
1940
61a934ca
SL
19412015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1942
1943 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
1944
4bc4d428
SL
19452015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1946
1947 Reapply:
1948 2014-05-21 Mark Wielaard <mjw@redhat.com>
1949
1950 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1951
998d452a
PA
19522015-07-30 Pedro Alves <palves@redhat.com>
1953
1954 * linux-low.c (handle_extended_wait): Set the child's last
1955 reported status to TARGET_WAITKIND_STOPPED.
1956
69dde7dc
PA
19572015-07-30 Pedro Alves <palves@redhat.com>
1958
1959 PR threads/18600
1960 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
1961 only shows inferior 1.
1962
4dd63d48
PA
19632015-07-30 Simon Marchi <simon.marchi@ericsson.com>
1964 Pedro Alves <palves@redhat.com>
1965
1966 PR threads/18600
1967 * gdb.threads/fork-plus-threads.c: New file.
1968 * gdb.threads/fork-plus-threads.exp: New file.
1969
d618e4c5
PP
19702015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1971
1972 * gdb.base/batch-preserve-term-settings.exp
1973 (test_terminal_settings_preserved_after_cli_exit): Use
1974 send_quit_command.
1975
1eef6428
PA
19762015-07-29 Pedro Alves <palves@redhat.com>
1977 Don Breazeal <donb@codesourcery.com>
1978
1979 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
1980 output from both inferior_spawn_id and gdb_spawn_id.
1981
7da5b897
SDJ
19822015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1983
1984 * gdb.threads/attach-into-signal.exp (corefunc): Use
1985 with_test_prefix on nested loops, uniquefying the test messages.
1986
dac804df
SDJ
19872015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1988
1989 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
1990 commit.
1991
06265e53
PP
19922015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1993
1994 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
1995 New proc.
1996 (test_terminal_settings_preserved_after_sigterm): New test.
1997
18206ca3
PP
19982015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1999
2000 * gdb.base/batch-preserve-term-settings.exp
2001 (test_terminal_settings_preserved_after_cli_exit): New test.
2002
90074d11
PP
20032015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2004
2005 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2006 manipulation of saved_gdbflags.
2007 (test_terminal_settings_preserved): Remove global declaration of
2008 the unused variable pagination_prompt. Remove manipulation of
2009 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2010 GDBFLAGS.
2011
eb1a7902
PA
20122015-07-29 Pedro Alves <palves@redhat.com>
2013
2014 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2015
8b75dd3b
PA
20162015-07-29 Pedro Alves <palves@redhat.com>
2017
2018 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2019 at the top.
2020
dedad4e3
PA
20212015-07-29 Pedro Alves <palves@redhat.com>
2022
2023 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2024 (main): Call gdb_unbuffer_output.
2025 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2026 (main): Call gdb_unbuffer_output.
2027 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2028 (main): Call gdb_unbuffer_output.
2029 * gdb.base/call-strs.exp: Adjust to step over the
2030 gdb_unbuffer_output call.
2031 * gdb.base/catch-gdb-caused-signals.c: Include
2032 "../lib/unbuffer_output.c".
2033 (main): Call gdb_unbuffer_output.
2034 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2035 (main): Call gdb_unbuffer_output.
2036 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2037 (main): Call gdb_unbuffer_output.
2038 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2039 (main): Call gdb_unbuffer_output.
2040 * gdb.base/shlib-call.exp: Adjust to step over the
2041 gdb_unbuffer_output call.
2042 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2043 (main): Call gdb_unbuffer_output.
2044 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2045 (main): Call gdb_unbuffer_output.
2046 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2047 (main): Rename to ...
2048 (test): ... this.
2049 (main): Reimplement.
2050 * gdb.base/varargs.exp: Run to test instead of to main.
2051 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2052 (main): Call gdb_unbuffer_output.
2053
58789a91
PA
20542015-07-29 Pedro Alves <palves@redhat.com>
2055
2056 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2057 factore out from mi_continue_dprintf. For call-style dprintfs,
2058 expect dprintf output out of $inferior_spawn_id.
2059 (mi_continue_dprintf): Use mi_expect_dprintf.
2060 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2061 (main): Call gdb_unbuffer_output.
2062
e8376742
PA
20632015-07-29 Pedro Alves <palves@redhat.com>
2064
2065 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2066 (default_mi_gdb_start): Set inferior_spawn_id instead of
2067 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2068 gdb_spawn_id.
2069 (mi_gdb_test): Always expect inferior output from both
2070 $inferior_spawn_id and $gdb_spawn_id.
2071
08280010
PA
20722015-07-29 Pedro Alves <palves@redhat.com>
2073
2074 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2075 send_inferior and $inferior_spawn_id.
2076
4d30e432
PA
20772015-07-29 Pedro Alves <palves@redhat.com>
2078
2079 * gdb.gdb/complaints.exp (test_initial_complaints)
2080 (test_serial_complaints, test_short_complaints): Use
2081 gdb_test_stdio.
2082 (test_empty_complaint): Handle $inferior_spawn_id !=
2083 $gdb_spawn_id.
2084
0d30a335
PA
20852015-07-29 Pedro Alves <palves@redhat.com>
2086
2087 * gdb.base/varargs.exp: Use gdb_test_stdio.
2088
39413b29
PA
20892015-07-29 Pedro Alves <palves@redhat.com>
2090
2091 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2092
7cb000a9
PA
20932015-07-29 Pedro Alves <palves@redhat.com>
2094
2095 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2096
d7b8ac82
PA
20972015-07-29 Pedro Alves <palves@redhat.com>
2098
2099 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2100 parameter into two new parameters, "inf_result" and "gdb_result".
2101 Expect inferior output and gdb output from $inferior_spawn_id and
2102 $gdb_spawn_id, respectively. Adjust all callers.
2103
789c3a0c
PA
21042015-07-29 Pedro Alves <palves@redhat.com>
2105
2106 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2107 of gdb_test_sequence.
2108
77e760c3
PA
21092015-07-29 Pedro Alves <palves@redhat.com>
2110
2111 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2112 (saw_spurious_output): Expect inferior output from
2113 $inferior_spawn_id. Use gdb_test_stdio.
2114
8396d2cd
PA
21152015-07-29 Pedro Alves <palves@redhat.com>
2116
2117 * gdb.base/dprintf.exp: Use standard_testfile. Change
2118 prepare_for_testing call.
2119 (srcfile): Don't set.
2120 (restart): New procedure.
2121 (test_dprintf): New procecure, use to continue over dprintfs.
2122 (test_call, test_agent): New procedures, tests moved here.
2123 Restart gdb and recreate dprintfs. Adjust expected output.
2124
2051d61f
PA
21252015-07-29 Pedro Alves <palves@redhat.com>
2126
2127 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2128
452397af
PA
21292015-07-29 Pedro Alves <palves@redhat.com>
2130
2131 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2132
8aed9555
PA
21332015-07-29 Pedro Alves <palves@redhat.com>
2134
2135 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2136 gdb_test_stdio.
2137
188a61b4
PA
21382015-07-29 Pedro Alves <palves@redhat.com>
2139
2140 * lib/gdb.exp (gdb_test_stdio): New procedure.
2141
12264a45
PA
21422015-07-29 Pedro Alves <palves@redhat.com>
2143
2144 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2145
23ffc893
PA
21462015-07-29 Pedro Alves <palves@redhat.com>
2147
2148 * gdb.base/call-signal-resume.exp: Remove check for
2149 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2150 * gdb.base/unwindonsignal.exp: Likewise.
2151 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2152 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2153
65566918
PA
21542015-07-29 Pedro Alves <palves@redhat.com>
2155
2156 * gdb.base/siginfo-addr.c (pass): New function.
2157 (handler): Call it iff si_addr is correct.
2158 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2159 Set a breakpoint at "pass" and continue to it.
2160
d60a9221
SDJ
21612015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2162
2163 * gdb.python/py-objfile.exp: Make some tests have unique names.
2164 * gdb.python/py-pp-registration.exp: Likewise.
2165
bde40b8f
PA
21662015-07-28 Pedro Alves <palves@redhat.com>
2167
2168 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2169
13e1dec8
SM
21702015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2171
2172 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2173
da33c9a7
SM
21742015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2175
2176 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2177
077836f7
PP
21782015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2179
2180 * gdb.base/gdb-sigterm-2.exp: New test.
2181
b8cc7b2e
DE
21822015-07-25 Doug Evans <xdje42@gmail.com>
2183
2184 Revert:
2185 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2186 (workers/%.worker, build-perf): New rule.
2187 (GDB_PERFTEST_MODE): New variable.
2188 (check-perf): Use it.
2189 (clean): Clean up gdb.perf parallel build subdirs.
2190 * lib/build-piece.exp: New file.
2191 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2192 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2193 name.
2194 (standard_temp_file): Ditto.
2195 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2196 of $GDB_PARALLEL.
2197
c8bd4544
DE
21982015-07-24 Doug Evans <dje@google.com>
2199
2200 * gdb.perf/lib/perftest/utils.py: New file.
2201 * gdb.perf/gm-hello.cc: New file.
2202 * gdb.perf/gm-pervasive-typedef.cc: New file.
2203 * gdb.perf/gm-pervasive-typedef.h: New file.
2204 * gdb.perf/gm-std.cc: New file.
2205 * gdb.perf/gm-std.h: New file.
2206 * gdb.perf/gm-use-cerr.cc: New file.
2207 * gdb.perf/gm-utils.h: New file.
2208 * gdb.perf/gmonster-null-lookup.py: New file.
2209 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2210 * gdb.perf/gmonster-print-cerr.py: New file.
2211 * gdb.perf/gmonster-ptype-string.py: New file.
2212 * gdb.perf/gmonster-runto-main.py: New file.
2213 * gdb.perf/gmonster-select-file.py: New file.
2214 * gdb.perf/gmonster1-null-lookup.exp: New file.
2215 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2216 * gdb.perf/gmonster1-print-cerr.exp: New file.
2217 * gdb.perf/gmonster1-ptype-string.exp: New file.
2218 * gdb.perf/gmonster1-runto-main.exp: New file.
2219 * gdb.perf/gmonster1-select-file.exp: New file.
2220 * gdb.perf/gmonster1.cc: New file.
2221 * gdb.perf/gmonster1.exp: New file.
2222 * gdb.perf/gmonster2-null-lookup.exp: New file.
2223 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2224 * gdb.perf/gmonster2-print-cerr.exp: New file.
2225 * gdb.perf/gmonster2-ptype-string.exp: New file.
2226 * gdb.perf/gmonster2-runto-main.exp: New file.
2227 * gdb.perf/gmonster2-select-file.exp: New file.
2228 * gdb.perf/gmonster2.cc: New file.
2229 * gdb.perf/gmonster2.exp: New file.
2230
6eab34f3
DE
22312015-07-24 Doug Evans <dje@google.com>
2232
2233 * gdb.perf/README: New file.
2234 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2235 * lib/gen-perf-test.exp: New file.
2236
63738bfd
DE
22372015-07-24 Doug Evans <dje@google.com>
2238
2239 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2240 (PerfTest::startup): New function.
2241 (PerfTest::run): Return result of calling body.
2242 (PerfTest::assemble): Rewrite.
2243 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2244 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2245 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2246 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2247 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2248
7b606f95
DE
22492015-07-24 Doug Evans <dje@google.com>
2250
2251 * lib/gdb.exp (clean_restart): Make executable optional.
2252
a97b16b8
DE
22532015-07-24 Doug Evans <dje@google.com>
2254
2255 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2256 compiler_info references.
2257 * gdb.cp/temargs.exp: Ditto.
2258 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2259 (get_compiler_info): Early exit if already computed. Set compiler_info
2260 to "unknown" if there was a problem.
2261 (test_compiler_info): Add function comment. Call get_compiler_info.
2262
35baa57f
DE
22632015-07-24 Doug Evans <dje@google.com>
2264
2265 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2266 (workers/%.worker, build-perf): New rule.
2267 (GDB_PERFTEST_MODE): New variable.
2268 (check-perf): Use it.
2269 (clean): Clean up gdb.perf parallel build subdirs.
2270 * lib/build-piece.exp: New file.
2271 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2272 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2273 name.
2274 (standard_temp_file): Ditto.
2275 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2276 of $GDB_PARALLEL.
2277
6ebea266
DE
22782015-07-24 Doug Evans <dje@google.com>
2279
2280 * lib/future.exp (gdb_default_target_compile): New option
2281 "early_flags".
2282 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2283 --as-needed.
2284
1e76a7e9
SDJ
22852015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2286
2287 * gdb.base/catch-syscall.exp: Call gdb_exit before
2288 gdb_skip_xml_test.
2289
5068630a
PA
22902015-07-24 Pedro Alves <palves@redhat.com>
2291
2292 * gdb.python/py-events.exp: Accept output between the stop event
2293 and the prompt.
2294 * gdb.python/py-evsignal.exp: Likewise.
2295 * gdb.python/py-evthreads.exp: Likewise.
2296
77598427
PA
22972015-07-24 Pedro Alves <palves@redhat.com>
2298
2299 PR gdb/18717
2300 * gdb.threads/non-ldr-exit.c: New file.
2301 * gdb.threads/non-ldr-exit.exp: New file.
2302
11e6c98f
YQ
23032015-07-24 Yao Qi <yao.qi@linaro.org>
2304
2305 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2306 restarting process.
2307
51aee833
YQ
23082015-07-24 Yao Qi <yao.qi@linaro.org>
2309
2310 * gdb.server/ext-restart.exp: New file.
2311
8cfe207c
YQ
23122015-07-24 Yao Qi <yao.qi@linaro.org>
2313
2314 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2315 argument options.
2316 * gdb.server/ext-wrapper.exp: New file.
2317
cc12ce38
DE
23182015-07-23 Doug Evans <dje@google.com>
2319
2320 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2321 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2322
d0d84780
PMR
23232015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2324
2325 * gdb.ada/var_arr_typedef.exp: New testcase.
2326 * gdb.ada/var_arr_typedef/pack.adb: New file.
2327 * gdb.ada/var_arr_typedef/pack.ads: New file.
2328 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2329
8b558f79
JB
23302015-07-20 Joel Brobecker <brobecker@adacore.com>
2331
2332 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2333
775a3298
JK
23342015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2335
2336 * gdb.arch/i386-biarch-core.exp: Replace istarget
2337 by "complete set gnutarget". Remove expectation for the "core-file"
2338 command.
2339
db1ff28b
JK
23402015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2341
2342 Revert the previous commit:
2343 Tests for validate symbol file using build-id.
2344
0a94970d
JK
23452015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2346
2347 Tests for validate symbol file using build-id.
2348 * gdb.base/solib-mismatch-lib.c: New file.
2349 * gdb.base/solib-mismatch-libmod.c: New file.
2350 * gdb.base/solib-mismatch.c: New file.
2351 * gdb.base/solib-mismatch.exp: New file.
2352
03346981
SL
23532015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2354
2355 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2356 nios2-*-linux*.
2357 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2358 * gdb.base/siginfo.exp: Likewise.
2359 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2360
42422cc7
PL
23612015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2362
2363 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2364 Move it to ...
2365 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2366 ... here.
2367 * gdb.trace/range-stepping.exp: Check that the target supports
2368 range stepping.
2369
cfa68bae
JK
23702015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2371
2372 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2373
8ffdba26
PA
23742015-07-14 Pedro Alves <palves@redhat.com>
2375
2376 * gdb.base/killed-outside.exp: New file.
2377 * gdb.base/killed-outside.c: New file.
2378
218a5a11
JK
23792015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2380
2381 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2382 (n at main): New.
2383 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2384
e03ed3c6
AA
23852015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2386
2387 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2388 infcall tests instead of setting up for KFAIL.
2389
485668e5
MM
23902015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2391
2392 * gdb.btrace/record_goto-step.exp: New.
2393
08464196
JK
23942015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2395
2396 PR compile/18484
2397 * gdb.compile/compile.c (struct struct_type): Add volatile to
2398 selffield's type.
2399 * gdb.compile/compile.exp
2400 (compile code struct_object.selffield = &struct_object): Skip further
2401 struct_object tests if this one xfails.
2402
bcf5c1d9
RC
24032015-07-08 Robert O'Callahan <robert@ocallahan.org>
2404
2405 PR exp/18617
2406 * gdb.trace/ax.exp: Add test.
2407
4931af25
YQ
24082015-07-07 Yao Qi <yao.qi@linaro.org>
2409
2410 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2411 instead of istarget "aarch64*-*-*".
2412 * gdb.arch/aarch64-fp.exp: Likewise.
2413 * gdb.base/float.exp: Likewise.
2414 * gdb.reverse/aarch64.exp: Likewise.
2415 * lib/gdb.exp (is_aarch64_target): New proc.
2416
9fcf688e
YQ
24172015-07-07 Yao Qi <yao.qi@linaro.org>
2418
2419 * lib/gdb.exp (is_aarch32_target): New proc.
2420 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2421 instead of "istarget "arm*-*-*"".
2422 * gdb.arch/arm-disp-step.exp: Likewise.
2423 * gdb.arch/thumb-bx-pc.exp: Likewise.
2424 * gdb.arch/thumb-prologue.exp: Likewise.
2425 * gdb.arch/thumb-singlestep.exp: Likewise.
2426 * gdb.base/disp-step-syscall.exp: Likewise.
2427 * gdb.base/float.exp: Likewise.
2428
fbd8d50d
YQ
24292015-07-07 Yao Qi <yao.qi@linaro.org>
2430
2431 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2432 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2433
71be1fdc
YQ
24342015-07-07 Yao Qi <yao.qi@linaro.org>
2435
2436 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2437 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2438 if it exists.
2439 * gdb.multi/multi-arch.exp: Likewise.
2440
3e221d36
SM
24412015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2442
2443 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2444 print.
2445
d441430b
YQ
24462015-07-07 Yao Qi <yao.qi@linaro.org>
2447
2448 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2449
06f810bd
MG
24502015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2451
2452 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2453 '[' and ']' characters.
2454
5e61e7c0
IB
24552015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2456
2457 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2458
28bf096c
PA
24592015-06-29 Pedro Alves <palves@redhat.com>
2460
2461 PR threads/18127
2462 * gdb.threads/hand-call-new-thread.c: New file.
2463 * gdb.threads/hand-call-new-thread.c: New file.
2464
ee93cd5e
KS
24652015-06-26 Keith Seitz <keiths@redhat.com>
2466 Doug Evans <dje@google.com>
2467
2468 PR 16253
2469 * gdb.cp/var-tag-2.cc: New file.
2470 * gdb.cp/var-tag-3.cc: New file.
2471 * gdb.cp/var-tag-4.cc: New file.
2472 * gdb.cp/var-tag.cc: New file.
2473 * gdb.cp/var-tag.exp: New file.
2474
fc637f04
PP
24752015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2476
2477 * gdb.base/history-duplicates.exp: New test.
2478
2e52ae68
PP
24792015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2480
2481 * gdb.base/completion.exp: Test the completion of the "focus"
2482 command.
2483
6e22494e
JK
24842015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2485
2486 * gdb.arch/amd64-prologue-skip.S: New file.
2487 * gdb.arch/amd64-prologue-skip.exp: New file.
2488
bf7b9cd9
SM
24892015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2490
2491 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2492 is_address_zero_readable check.
2493
201e8dfd
PB
24942015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2495
2496 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2497 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2498
5cd867b4
YQ
24992015-06-24 Yao Qi <yao.qi@linaro.org>
2500
2501 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2502 linux targets.
2503
4d7be007
YQ
25042015-06-24 Yao Qi <yao.qi@linaro.org>
2505
2506 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2507 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2508 * gdb.base/siginfo-thread.exp: Likewise.
2509
07fcd301
YQ
25102015-06-22 Yao Qi <yao.qi@linaro.org>
2511
2512 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2513
52042a00
YQ
25142015-06-22 Yao Qi <yao.qi@linaro.org>
2515
2516 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2517 aarch64*-*-*.
2518 (skip_hw_watchpoint_tests): Likewise.
2519
74bd41ce
PP
25202015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2521
2522 * gdb.base/gdbinit-history.exp: Test the interaction between
2523 setting GDBHISTSIZE and setting the history size via .gdbinit.
2524
bc460514
PP
25252015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2526
2527 PR gdb/16999
2528 * gdb.base/gdbhistsize-history.exp: New test.
2529
b58c513b
PP
25302015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2531
2532 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2533 with GDBHISTSIZE.
2534 * gdb.base/readline.exp: Likewise.
2535
92046791
YQ
25362015-06-17 Yao Qi <yao.qi@linaro.org>
2537
2538 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2539 line.
2540
2093d2d3
PP
25412015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2542
2543 * gdb.base/gdbinit-history.exp: Add test case to check that
2544 an unlimited history file does not get truncated on exit.
2545
e6c693af
AA
25462015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2547
2548 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2549 (VECTOR): New macro. Use it...
2550 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2551 ...for these typedefs.
2552 (int8, char1, int1, double1): New typedefs.
2553 (struct just_int2, struct two_int2): New structures.
2554 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2555 (add_structvecs, add_singlevecs): New functions.
2556 (main): Call add_some_intvecs twice.
2557 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2558 the compile and exit upon failure. Try compiling for the "native"
2559 architecture. Test inferior function calls with vector arguments
2560 and vector return value handling with "finish" and "return".
2561
c74f7d1c
JT
25622015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2563
2564 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2565 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2566 PE file.
2567 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2568
98aa42ee
AT
25692015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2570
2571 PR breakpoints/16465
2572 * gdb.mi/mi-dprintf-pending.c: New file.
2573 * gdb.mi/mi-dprintf-pending.exp: New test.
2574 * gdb.mi/mi-dprintf-pendshr.c: New file.
2575
7d73c23c 25762015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 2577 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
2578
2579 * gdb.arch/i386-mpx-map.c: New file.
2580 * gdb.arch/i386-mpx-map.exp: New File.
2581
25822015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2583
2584 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2585 * gdb.arch/i386-mpx.exp: Indentation fixed.
2586
25872015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2588
2589 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2590 function and improved indentation.
2591 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2592 gdb_test_multiple. Added additional tests to skip the test.
2593
25942015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2595
2596 * gdb.arch/i386-avx512.c: Change path in include file.
2597 * gdb.arch/i386-avx512.exp: Change include dir path
2598 compilation flag.
2599 * gdb.arch/i386-mpx.c: Change path in include file.
2600 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2601 flag.
2602
d5eba19a
JK
26032015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2604
2605 * gdb.compile/compile-print.exp (compile print *vararray@3)
2606 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2607
7f361056
JK
26082015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2609
2610 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2611 (do not keep jit in memory): ... this.
2612 (expect 5): Change it to ...
2613 (expect no 5): ... this.
2614
3b462ec2
SM
26152015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2616
2617 PR gdb/15564
2618 * gdb.mi/mi-detach.exp: New file.
2619
e0619de6
JK
26202015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2621
2622 PR symtab/18392
2623 * gdb.arch/amd64-tailcall-self.S: New file.
2624 * gdb.arch/amd64-tailcall-self.c: New file.
2625 * gdb.arch/amd64-tailcall-self.exp: New file.
2626
e970cb34
DB
26272015-05-28 Don Breazeal <donb@codesourcery.com>
2628
2629 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2630 tests for remote targets by checking is_target_gdbserver.
2631
b2e2f908
DE
26322015-05-27 Doug Evans <dje@google.com>
2633
2634 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2635 * gdb.dwarf2/opaque-type-lookup.c: New file.
2636 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2637
82c7be31
DE
26382015-05-26 Doug Evans <dje@google.com>
2639
2640 * gdb.cp/iostream.cc: New file.
2641 * gdb.cp/iostream.exp: New file.
2642
b4f54984
DE
26432015-05-26 Doug Evans <dje@google.com>
2644
2645 * gdb.dwarf2/dw2-op-call.exp: Update.
2646 * gdb.dwarf2/dw4-sig-types.exp: Update.
2647 * gdb.dwarf2/implptr.exp: Update.
2648 * gdb.mi/mi-cmd-param-changed.exp: Update.
2649
4ea6efe9
DE
26502015-05-26 Doug Evans <dje@google.com>
2651
2652 * gdb.python/py-lazy-string.c: New file.
2653 * gdb.python/py-lazy-string.exp: New file.
2654 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2655 (main): Update. Add estring3.
2656 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2657 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2658
f6bb7db3
YQ
26592015-05-26 Omair Javaid <omair.javaid@linaro.org>
2660 Yao Qi <yao.qi@linaro.org>
2661
2662 * gdb.reverse/aarch64.c: New.
2663 * gdb.reverse/aarch64.exp: New.
2664
a81bfbd0
OJ
26652015-05-26 Omair Javaid <omair.javaid@linaro.org>
2666
2667 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2668 (supports_reverse): Likewise.
2669
158bf1b4
PP
26702015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2671
2672 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2673 Use with_test_prefix.
2674
a0145030
AB
26752015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2676
2677 * gdb.base/completion.exp: Add test for completion of layout
2678 names.
2679
ebe3b578
AB
26802015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2681
2682 * lib/gdb.exp (skip_tui_tests): New proc.
2683 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2684
84204ed7
PA
26852015-05-19 Pedro Alves <palves@redhat.com>
2686
2687 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2688 Save the whole env array instead of just HOME. Unset HISTSIZE in
2689 the environment while testing. Restore whole environment
2690 afterwards.
2691
37442ce1
DE
26922015-05-16 Doug Evans <xdje42@gmail.com>
2693
2694 * gdb.guile/scm-ports.c: New file.
2695 * gdb.guile/scm-ports.exp: Add memory port tests.
2696
36de76f9
JK
26972015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2698
2699 * gdb.compile/compile-print.c: New file.
2700 * gdb.compile/compile-print.exp: New file.
2701
3a9558c4
JK
27022015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2703
2704 * gdb.compile/compile-ops.exp: Cast param to void.
2705 * gdb.compile/compile.exp: Complete type for _gdb_expr.
2706 (compile code struct_object.selffield = &struct_object): Add xfail.
2707
aa715135
JG
27082015-05-15 Joel Brobecker <brobecker@adacore.com>
2709
2710 * gdb.ada/arr_enum_with_gap: New testcase.
2711
931e5bc3
JG
27122015-05-15 Joel Brobecker <brobecker@adacore.com>
2713
2714 * gdb.ada/byte_packed_arr: New testcase.
2715
9cd4d857
JB
27162015-05-15 Joel Brobecker <brobecker@adacore.com>
2717
2718 * gdb.ada/pckd_neg: New testcase.
2719
ebfd00d2
PP
27202015-05-13 Patrick Palka <patrick@parcs.ath.cx>
2721
2722 PR gdb/17820
2723 * gdb.base/gdbinit-history.exp: New test.
2724 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
2725 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
2726
4c082a81
SC
27272015-05-09 Siva Chandra Reddy <sivachandra@google.com>
2728
2729 * gdb.python/py-xmethods.cc: Enhance test case.
2730 * gdb.python/py-xmethods.exp: New tests.
2731 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
2732 function.
2733 (B_indexoper): Likewise.
2734 (global_dm_list) : Add new xmethod worker functions.
2735
f7797074
SDJ
27362015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
2737
2738 * gdb.base/coredump-filter.exp: Correctly unset
2739 "coredump_var_addr" array.
2740
a4674e4e
PA
27412015-05-08 Pedro Alves <palves@redhat.com>
2742
2743 * gdb.server/non-existing-program.exp: Unset spawn_id.
2744
df2eb078
SC
27452015-05-08 Siva Chandra Reddy <sivachandra@google.com>
2746
2747 PR python/18291
2748 * gdb.python/py-xmethods.exp: Add tests.
2749
422349a3
YQ
27502015-05-08 Yao Qi <yao.qi@linaro.org>
2751
2752 PR gdb/18208
2753 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
2754 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
2755 function set_coredump_filter, and remove remote_exec call.
2756 Remove argument ipid. Callers update.
2757 (top level): Don't get inferior's PID.
2758
63fc80ce
AA
27592015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
2760
2761 * gdb.base/watch_thread_num.exp: Skip test on targets without
2762 access watchpoints.
2763
80ad801e
PA
27642015-05-06 Pedro Alves <palves@redhat.com>
2765
2766 PR server/18081
2767 * gdb.server/non-existing-program.exp: New file.
2768
0fa7fe50
JB
27692015-05-05 Joel Brobecker <brobecker@adacore.com>
2770
2771 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
2772
3ea89b92
PMR
27732015-05-05 Joel Brobecker <brobecker@adacore.com>
2774
2775 * gdb.ada/out_of_line_in_inlined: New testcase.
2776
87b8eff0
JB
27772015-05-05 Joel Brobecker <brobecker@adacore.com>
2778
2779 * gdb.ada/var_rec_arr: New testcase.
2780
5fccc635
YQ
27812015-04-30 Yao Qi <yao.qi@linaro.org>
2782
2783 * gdb.base/break-idempotent.exp: If
2784 skip_hw_watchpoint_multi_tests returns true, skip the tests
2785 on "rwatch" and "awatch".
2786
42d38f42
YQ
27872015-04-30 Yao Qi <yao.qi@linaro.org>
2788
2789 * gdb.base/relativedebug.exp: Invoke gdb command
2790 "info sharedlibrary", and if libc.so doesn't have debug info,
2791 skip the test.
2792
2ce1cdbf
DE
27932015-04-29 Doug Evans <dje@google.com>
2794
2795 * gdb.python/py-xmethods.exp: Add ptype tests.
2796 * gdb.python/py-xmethods.py (E_method_char_worker): Add
2797 get_result_type method.
2798
f24a38c5
LM
27992015-04-29 Luis Machado <lgustavo@codesourcery.com>
2800
2801 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
2802 the target does not support hardware watchpoints.
2803
ecbf2b3c
LM
28042015-04-29 Luis Machado <lgustavo@codesourcery.com>
2805
2806 * gdb.base/break-always.exp: Abort testing if writing to memory
2807 causes an error.
2808
34f5f757
DE
28092015-04-28 Doug Evans <dje@google.com>
2810
2811 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
2812 * gdb.python/py-pp-registration.exp: ... here. New file.
2813 * gdb.python/py-pp-registration.c: New file.
2814 * gdb.python/py-pp-registration.py: New file.
2815
69b4374a
DE
28162015-04-28 Doug Evans <dje@google.com>
2817
2818 * gdb.python/py-bad-printers.c: New file.
2819 * gdb.python/py-bad-printers.py: New file.
2820 * gdb.python/py-bad-printers.exp: New file.
2821
59fb7612
SS
28222015-04-28 Sasha Smundak <asmundak@google.com>
2823
2824 * gdb.python/py-type.exp: New test.
2825
2631b16a
AW
28262015-04-28 Andy Wingo <wingo@igalia.com>
2827
2828 * gdb.python/py-parameter.exp:
2829 * gdb.guile/scm-parameter.exp: Escape the path that we are
2830 matching against, as it might contain characters that are special
2831 to regular expressions.
2832
460efde1
JB
28332015-04-27 Joel Brobecker <brobecker@adacore.com>
2834
2835 * gdb.ada/rec_comp: New testcase.
2836
2d369d8e
SDJ
28372015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
2838
2839 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
2840 before using it.
2841
cf75d6c3
AB
28422015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
2843
2844 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
2845 new tests for verilog output.
2846
8dbe7ca5
YQ
28472015-04-24 Yao Qi <yao.qi@linaro.org>
2848
2849 * boards/remote-gdbserver-on-localhost.exp: New file.
2850
4ef9fb2f
PA
28512015-04-23 Pedro Alves <palves@redhat.com>
2852
2853 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
2854 $inferior_spawn_id instead of $inferior_spawn_id directly. On
2855 "end of file", remove $inferior_spawn_id from the indirect list.
2856
0a803169
PA
28572015-04-23 Pedro Alves <palves@redhat.com>
2858
2859 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
2860
749ef8f8
PA
28612015-04-23 Pedro Alves <palves@redhat.com>
2862
2863 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
2864 on $any_spawn_id instead of only on $gdb_spawn_id.
2865
8aae4344
PM
28662015-04-21 Pierre Muller <muller@sourceware.org>
2867
2868 PR pascal/17815
2869 * lib/pascal.exp (gpc_compile): Add new option "class".
2870 (fpc_compile): Likewise.
2871 * gdb.pascal/case-insensitive-symbols.pas: New file.
2872 * gdb.pascal/case-insensitive-symbols.exp: New file.
2873
1586c8fb
GB
28742015-04-20 Gary Benson <gbenson@redhat.com>
2875
2876 * gdb.base/attach.exp: Fix three extended remote failures.
2877
1b6e6f5c
GB
28782015-04-17 Gary Benson <gbenson@redhat.com>
2879
2880 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
2881 the main executable over the remote protocol.
2882
e797481d
PA
28832015-04-16 Pedro Alves <palves@redhat.com>
2884
2885 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
2886 a new gdbserver if gdbserver_reconnect_p is set.
2887
1ca99c42
PA
28882015-04-16 Pedro Alves <palves@redhat.com>
2889
2890 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
2891 is set, don't exit gdbserver.
2892
af9fd6f8
AA
28932015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2894
2895 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
2896 appropriate .insn, such that an older assembler can be used.
2897 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
2898 the z/Architecture instruction set on 31-bit targets as well.
2899
04ff1e61
AA
29002015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2901
2902 * gdb.go/handcall.exp: Remove all logic related to the first
2903 breakpoint and rely on go_runto_main instead.
2904 * gdb.go/strings.exp: Likewise.
2905 * gdb.go/unsafe.exp: Likewise.
2906 * gdb.go/hello.exp: Likewise. Also rename the remaining
2907 breakpoint marker to "breakpoint 1".
2908 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
2909 * gdb.go/strings.go: Likewise.
2910 * gdb.go/unsafe.go: Likewise.
2911 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
2912 "set breakpoint 2 here" and rename the remaining breakpoint marker
2913 to "breakpoint 1".
2914
40d2f8d6
SM
29152015-04-15 Simon Marchi <simon.marchi@ericsson.com>
2916
2917 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
2918 if itertools.imap is not present.
2919 * gdb.python/py-objfile.exp: Add parentheses.
2920 * gdb.python/py-type.exp: Same.
2921 * gdb.python/py-unwind-maint.py: Same.
2922
8cbc97c6
YQ
29232015-04-15 Yao Qi <yao.qi@linaro.org>
2924
2925 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
2926 of ":$ptr_size" and set its form explicitly.
2927
45fd756c
YQ
29282015-04-15 Pedro Alves <palves@redhat.com>
2929 Yao Qi <yao.qi@linaro.org>
2930
2931 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
2932 timeout by factor of 4.
2933 (test_regular_watch): Likewise.
2934 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
2935 * gdb.reverse/sigall-reverse.exp: Likewise.
2936 * gdb.reverse/until-precsave.exp: Likewise.
2937 * lib/gdb.exp (with_timeout_factor): New proc.
2938 (gdb_expect): Move some code to ...
2939 (get_largest_timeout): ... here. New procedure.
2940
9e811bc3
LM
29412015-04-14 Luis Machado <lgustavo@codesourcery.com>
2942
2943 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
2944
0ff6fcb2
LM
29452015-04-13 Luis Machado <lgustavo@codesourcery.com>
2946
2947 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
2948 to write to the .text section.
2949
7578d5f7
LM
29502015-04-13 Luis Machado <lgustavo@codesourcery.com>
2951
2952 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
2953 Handle the case of targets that do not provide PID information.
2954
2efe15c4
YQ
29552015-04-13 Yao Qi <yao.qi@linaro.org>
2956
2957 * lib/gdbserver-support.exp (gdb_exit): Catch exception
2958 and use expect instead of gdb_expect.
2959
8cd8f2f8
SDJ
29602015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
2961
2962 * gdb.base/coredump-filter.exp: Rename variable "addr" to
2963 "coredump_var_addr" to avoid naming conflict with other testcases.
2964
9ee41772
PA
29652015-04-10 Pedro Alves <palves@redhat.com>
2966
2967 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
2968 gdb_test_sequence and gdb_assert.
2969
07473109
PA
29702015-04-10 Pedro Alves <palves@redhat.com>
2971
2972 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
2973 test messages that don't include the breakpoint address.
2974
de3db44c
YQ
29752015-04-10 Yao Qi <yao.qi@linaro.org>
2976
2977 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
2978 false for some offset and width combinations which aren't
2979 supported by linux kernel.
2980
c79d856c
PA
29812015-04-10 Pedro Alves <palves@redhat.com>
2982
2983 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
2984 procedure, factored out from ...
2985 (top level): ... here. Add "set displaced-stepping" testing axis.
2986 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
2987 parameter "displaced". Use it.
2988 (top level): Use foreach and add "set displaced-stepping" testing
2989 axis.
2990
ebc90b50
PA
29912015-04-10 Pedro Alves <palves@redhat.com>
2992
2993 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
2994 Remove comment.
2995 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
2996 both the address of the instruction that triggers the watchpoint
2997 and the address of the instruction immediately after, and use
2998 those addresses for the test. Fix comment.
2999
8f572e5c
PA
30002015-04-10 Pedro Alves <palves@redhat.com>
3001
3002 * gdb.base/sigstep.exp (breakpoint_to_handler)
3003 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3004 Test "backtrace" in handler.
3005 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3006 (top level): Add new "displaced" test axis to
3007 breakpoint_to_handler, breakpoint_to_handler_entry and
3008 breakpoint_over_handler.
3009
8d707a12
PA
30102015-04-10 Pedro Alves <palves@redhat.com>
3011
3012 PR gdb/18216
3013 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3014
ef713951
YQ
30152015-04-10 Yao Qi <yao.qi@linaro.org>
3016
3017 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3018 (test_add_rn_pc): New function.
3019 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3020 (top level): Invoke test_add_rn_pc.
3021
906d60cf
PA
30222015-04-10 Pedro Alves <palves@redhat.com>
3023
3024 PR gdb/13858
3025 * gdb.base/step-over-no-symbols.exp: New file.
3026
f2983cc3
AW
30272015-04-09 Andy Wingo <wingo@igalia.com>
3028
3029 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3030 after the Python tests.
3031
6d62641c
SDJ
30322015-04-08 Keith Seitz <keiths@redhat.com>
3033
3034 PR python/16699
3035 * gdb.python/py-completion.exp: New tests for completion.
3036 * gdb.python/py-completion.py (CompleteLimit1): New class.
3037 (CompleteLimit2): Likewise.
3038 (CompleteLimit3): Likewise.
3039 (CompleteLimit4): Likewise.
3040 (CompleteLimit5): Likewise.
3041 (CompleteLimit6): Likewise.
3042 (CompleteLimit7): Likewise.
3043
f3770638
PA
30442015-04-08 Pedro Alves <palves@redhat.com>
3045
3046 PR gdb/18214
3047 PR gdb/18216
3048 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3049 function.
3050 (main): Install it as SIGUSR1 handler.
3051 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3052 parameter. Always use "setup" as prefix. Toggle "set
3053 displaced-stepping" off/on depending on global. Don't switch to
3054 thread 1 here.
3055 (top level): Add displaced stepping "off/on" test axis. Update
3056 "setup" calls. Wrap each subtest with with_test_prefix. Test
3057 continuing with a queued signal in each thread.
3058
4496bed7
PA
30592015-04-08 Pedro Alves <palves@redhat.com>
3060
3061 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3062 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3063 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3064 Return early if running to main fails.
3065 * gdb.trace/while-stepping.exp: Likewise.
3066
b97fde92
PA
30672015-04-07 Pedro Alves <palves@redhat.com>
3068
3069 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3070 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3071 interact with inferior program.
3072
f71c18e7
PA
30732015-04-07 Pedro Alves <palves@redhat.com>
3074
3075 * lib/gdb.exp (inferior_spawn_id): New global.
3076 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3077 spawn id after processing the user code.
3078 (default_gdb_start): Set inferior_spawn_id.
3079 (send_inferior): New procedure.
3080 * lib/gdbserver-support.exp (gdbserver_start): Set
3081 inferior_spawn_id.
3082 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3083
6423214f
PA
30842015-04-07 Pedro Alves <palves@redhat.com>
3085
3086 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3087 * lib/gdbserver-support.exp (gdbserver_start): Make
3088 $server_spawn_id global.
3089 (gdbserver_start): Don't wait for gdbserver's spawn id with
3090 expect_background.
3091 (close_gdbserver): New procedure.
3092 (gdb_exit): Rename the default version and reimplement.
3093
71c0ee8c
PA
30942015-04-07 Pedro Alves <palves@redhat.com>
3095
72f4393d 3096 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
3097 append the substituted item, not the original item.
3098
203bc29b
PA
30992015-04-07 Pedro Alves <palves@redhat.com>
3100
3101 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3102 gdb_expect.
3103
508a3ddf
PA
31042015-04-07 Pedro Alves <palves@redhat.com>
3105
3106 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3107 output appearing once only.
3108
9f6dbe2b
PA
31092015-04-07 Pedro Alves <palves@redhat.com>
3110
3111 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3112 that doesn't expect anything. Return early if running to main
3113 fails.
3114
337532fa
YQ
31152015-04-07 Yao Qi <yao.qi@linaro.org>
3116
3117 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3118 (child_function): Call alarm.
3119 (main): Move call to alarm into the loop.
3120 * gdb.threads/non-stop-fair-events.exp: Build program with
3121 -DTIMEOUT=$timeout.
3122
01b622d4
DE
31232015-04-06 Doug Evans <xdje42@gmail.com>
3124
3125 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3126 Fix dest parameter to board_info.
3127 (fpc_compile): Ditto.
3128 (gdb_compile_pascal): Rename dest arg to destfile.
3129
961f4160
PMR
31302015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3131
3132 * gdb.ada/funcall_ref.exp: New file.
3133 * gdb.ada/funcall_ref/foo.adb: New file.
3134
cafda597
YQ
31352015-04-02 Yao Qi <yao.qi@linaro.org>
3136
3137 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3138 is remote.
3139
fed040c6
GB
31402015-04-02 Gary Benson <gbenson@redhat.com>
3141
3142 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3143
d11916aa
SS
31442015-04-01 Sasha Smundak <asmundak@google.com>
3145
3146 * gdb.python/py-unwind-maint.c: New file.
3147 * gdb.python/py-unwind-maint.exp: New test.
3148 * gdb.python/py-unwind-maint.py: New file.
3149 * gdb.python/py-unwind.c: New file.
3150 * gdb.python/py-unwind.exp: New test.
3151 * gdb.python/py-unwind.py: New test.
3152
a1471180
PA
31532015-04-01 Pedro Alves <palves@redhat.com>
3154
3155 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3156 to fail instead of non-existent $test.
3157
0bbeccb1
PA
31582015-04-01 Pedro Alves <palves@redhat.com>
3159
3160 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3161 GDBFLAGS if not empty.
3162
3c724c8c
PMR
31632015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3164
3165 * gdb.ada/complete.exp: Remove "multi_line".
3166 * gdb.ada/info_exc.exp: Remove "multi_line".
3167 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3168 * gdb.ada/ptype_field.exp: Remove "multi_line".
3169 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3170 * gdb.ada/tagged.exp: Remove "multi_line".
3171 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3172 [multi_line ...]
3173 * gdb.btrace/delta.exp: Likewise.
3174 * gdb.btrace/exception.exp: Likewise.
3175 * gdb.btrace/function_call_history.exp: Likewise.
3176 * gdb.btrace/instruction_history.exp: Likewise.
3177 * gdb.btrace/nohist.exp: Likewise.
3178 * gdb.btrace/record_goto.exp: Likewise.
3179 * gdb.btrace/segv.exp: Likewise.
3180 * gdb.btrace/stepi.exp: Likewise.
3181 * gdb.btrace/tailcall.exp: Likewise.
3182 * gdb.btrace/unknown_functions.exp: Likewise.
3183 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3184 * lib/gdb.exp: Add the "multi_line" helper.
3185
4eec2deb
PA
31862015-04-01 Pedro Alves <palves@redhat.com>
3187
3188 * gdb.threads/tid-reuse.c: New file.
3189 * gdb.threads/tid-reuse.exp: New file.
3190
df8411da
SDJ
31912015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3192
3193 PR corefiles/16092
3194 * gdb.base/coredump-filter.c: New file.
3195 * gdb.base/coredump-filter.exp: Likewise.
3196
6ef37366
PM
31972015-03-27 Petr Machata <pmachata@redhat.com>
3198
3199 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3200 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3201 (Dwarf::assemble): Initialize them.
3202 (Dwarf::lines): New function.
3203
7ec911b0
JT
32042015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3205
3206 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3207 SYMBOL_PREFIX for x86_64-*-cygwin.
3208
ff908ebf
AW
32092015-03-26 Andy Wingo <wingo@igalia.com>
3210
3211 PR symtab/18148
3212 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3213 const_value but not a location.
3214 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3215 location defined in non-main CUs are visible.
3216
6d5f0679
YQ
32172015-03-26 Yao Qi <yao.qi@linaro.org>
3218
3219 PR testsuite/18139
3220 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3221 Add a line number entry for the same line.
3222 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3223 Add a line number entry for the same line.
3224
2898689b
YQ
32252015-03-26 Yao Qi <yao.qi@linaro.org>
3226
3227 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3228 .int 0.
3229 (func): Likewise. Add .Lfunc_1 label.
3230 Use .Lfunc_1 label.
3231 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3232 .int 0.
3233 (func): Likewise.
3234 Use .Lfunc_1 label.
3235
85180498
YQ
32362015-03-26 Yao Qi <yao.qi@linaro.org>
3237
3238 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3239 Call gdb_compile instead to compile each .s files without debug
3240 information.
3241
8aa08a8d
YQ
32422015-03-26 Yao Qi <yao.qi@linaro.org>
3243
3244 * gdb.base/savedregs.exp (process_saved_regs): Make
3245 "Saved registers:" optional in the pattern.
3246
66849923
MM
32472015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3248
3249 * gdb.btrace/next.exp: Merged into step.exp.
3250 * gdb.btrace/finish.exp: Merged into step.exp.
3251 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3252 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3253 "record goto" and checking the exact replay position.
3254 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3255 check for "Recording format" in "info record" output.
3256 * gdb.btrace/record_goto.exp: Choose test file based on target.
3257 * gdb.btrace/x86-record_goto.S: Renamed into ...
3258 * gdb.btrace/x86_64-record_goto.S: ... this.
3259 * gdb.btrace/i686-record_goto.S: New.
3260 * gdb.btrace/x86-tailcall.S: Renamed into ...
3261 * gdb.btrace/x86_64-tailcall.S: ... this.
3262 * gdb.btrace/i686-tailcall.S: New.
3263 * gdb.btrace/x86-tailcall.c: Renamed into ...
3264 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3265 separate statements. Update test.
3266 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3267 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3268 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3269 * gdb.btrace/tailcall.exp: Choose test file based on target.
3270 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3271
11cc1b74
MM
32722015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3273
3274 * gdb.btrace/exception.exp: Increase BTS buffer size.
3275
a25d8bf9
PA
32762015-03-24 Pedro Alves <palves@redhat.com>
3277
3278 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3279
856e7dd6
PA
32802015-03-24 Pedro Alves <palves@redhat.com>
3281
3282 * gdb.threads/schedlock.exp (test_step): No longer expect that
3283 "set scheduler-locking step" with "next" over a function call runs
3284 threads unlocked.
3285
ad235a41
AT
32862015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3287
3288 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3289
15630549
AT
32902015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3291
3292 PR breakpoints/16466
3293 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3294 * gdb.mi/mi-pending.c (thread_func): New function.
3295 (int main): Add threading support required.
3296 * gdb.mi/mi-pending.exp: Add tests for this issue.
3297 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3298 (pendfunc2): Remove stdio dependency.
3299 * gdb.mi/mi-pendshr2.c: New file.
3300
693dca06
KS
33012015-03-23 Keith Seitz <keiths@redhat.com>
3302
3303 * gdb.linespec/keywords.c: New file.
3304 * gdb.linespec/keywords.exp: New file.
3305
7e993ebf
KS
33062015-03-23 Keith Seitz <keiths@redhat.com>
3307
3308 PR gdb/18021
3309 * gdb.dwarf2/staticvirtual.exp: New test.
3310
bc23328c
JK
33112015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3312
3313 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3314 * README: Remove HP-UX and gdb.hp.
3315 (configuration):
3316 * configure: Regenerate.
3317 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3318 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3319 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3320 gdb.hp/gdb.defects/Makefile.
3321 * gdb.hp/Makefile.in: File deleted.
3322 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3323 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3324 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3325 * gdb.hp/gdb.aCC/run.c: File deleted.
3326 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3327 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3328 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3329 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3330 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3331 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3332 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3333 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3334 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3335 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3336 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3337 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3338 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3339 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3340 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3341 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3342 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3343 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3344 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3345 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3346 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3347 * gdb.hp/gdb.compat/average.c: File deleted.
3348 * gdb.hp/gdb.compat/sum.c: File deleted.
3349 * gdb.hp/gdb.compat/xdb.c: File deleted.
3350 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3351 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3352 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3353 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3354 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3355 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3356 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3357 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3358 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3359 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3360 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3361 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3362 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3363 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3364 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3365 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3366 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3367 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3368 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3369 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3370 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3371 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3372 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3373 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3374 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3375 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3376 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3377 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3378 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3379 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3380 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3381 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3382 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3383 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3384 * gdb.hp/tools/odump: File deleted.
3385
8bf3b159
PA
33862015-03-19 Pedro Alves <palves@redhat.com>
3387
3388 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3389 (saw_thread_3): New globals.
3390 (top level): Increment them when an event for the corresponding
3391 thread is seen.
3392 (no thread starvation): New test.
3393
eb54c8bf
PA
33942015-03-19 Pedro Alves <palves@redhat.com>
3395
3396 * gdb.threads/continue-pending-status.c: New file.
3397 * gdb.threads/continue-pending-status.exp: New file.
3398
32d2e5d6
PA
33992015-03-18 Pedro Alves <palves@redhat.com>
3400
3401 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3402 Use gdb_is_target_remote instead of is_remote. Use
3403 gdb_test_multiple instead of gdb_expect. Exit early if
3404 gdb_test_multiple hits its internal matches. Tighten stepi tests
3405 expected output. Fail on exit with any signal, instead of just
3406 SIGILL.
3407
f68f11b7
YQ
34082015-03-18 Yao Qi <yao.qi@linaro.org>
3409
3410 PR tdep/18107
3411 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3412 variable.
3413 * gdb.base/catch-syscall.exp: Don't skip it on
3414 aarch64*-*-linux* target. Remove elements in all_syscalls.
3415 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3416 target.
3417 (setup_all_syscalls): New proc.
3418
ca5fd19b
YQ
34192015-03-16 Yao Qi <yao.qi@linaro.org>
3420
3421 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3422 (top level): Skip tests if valid_addr_p returns false for
3423 $cmd1 or $cmd2.
3424
85642ba0
AW
34252015-03-11 Andy Wingo <wingo@igalia.com>
3426
3427 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3428
e03f9645
YQ
34292015-03-11 Yao Qi <yao.qi@linaro.org>
3430
3431 * gdb.base/catch-syscall.exp: Fix typo in comments.
3432
5d0962b2
YQ
34332015-03-11 Yao Qi <yao.qi@linaro.org>
3434
3435 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3436
b2df3cef
PA
34372015-03-09 Pedro Alves <palves@redhat.com>
3438
3439 * dg-extract-results.py: Delete.
3440
ef878e53
PA
34412015-03-09 Pedro Alves <palves@redhat.com>
3442
3443 Merge dg-extract-results.sh from GCC upstream (r218843).
3444
3445 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3446 * dg-extract-results.sh: Use --text with grep to avoid issues with
3447 binary files. Fall back to cat -v, if that doesn't work.
3448
9494d219
PA
34492015-03-05 Pedro Alves <palves@redhat.com>
3450
3451 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3452
a8d9763a
SM
34532015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3454
3455 * lib/mi-support.exp (mi_expect_interrupt): Accept
3456 alternative event for when in all-stop mode.
3457
be9957b8
PA
34582015-03-04 Pedro Alves <palves@redhat.com>
3459
3460 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3461
d57be0f4 34622015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
3463
3464 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3465
c214c7cf
AA
34662015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3467
3468 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3469 regexps for GDB's current line display, accept a hex address
3470 preceding the line number.
3471
6d74a497
AA
34722015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3473
3474 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3475 the 'arch1' variable for "s390*-linux*" targets.
3476
511aee7c
PA
34772015-03-04 Pedro Alves <palves@redhat.com>
3478
3479 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3480 (main): Pass missing retval argument to pthread_join call.
3481
95e50b27
PA
34822015-03-02 Pedro Alves <palves@redhat.com>
3483
3484 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3485 (top level): Call do_test with non-stop as well.
3486
28054d69
PA
34872015-03-02 Pedro Alves <palves@redhat.com>
3488
3489 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3490 -1.
3491
4fa5d7b4
AA
34922015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3493
3494 * gdb.arch/s390-vregs.exp: New test.
3495 * gdb.arch/s390-vregs.S: New file.
3496
97c18565
PA
34972015-02-27 Pedro Alves <palves@redhat.com>
3498
3499 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3500 call to catch_command_errors.
3501 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3502 catch_command_errors.
3503
a37bfa30
PA
35042015-02-27 Pedro Alves <palves@redhat.com>
3505
3506 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3507 "true" for boolean result.
3508 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3509 prototype of main.
3510
6f98576f
PA
35112015-02-27 Pedro Alves <palves@redhat.com>
3512
3513 * lib/unbuffer_output.c: New file.
3514 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3515 (main): Call gdb_unbuffer_output.
3516
eba5ab56
YQ
35172015-02-27 Yao Qi <yao.qi@linaro.org>
3518
3519 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3520 target.
3521
0def5aaa
DE
35222015-02-26 Doug Evans <dje@google.com>
3523
3524 * gdb.cp/class2.cc (Dbase, D): New classes.
3525 (main): New local delta.
3526 * gdb.cp/class2.exp: Test printing delta.
3527 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3528 (dynbar): New global.
3529 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3530
081a1c2c
JK
35312015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3532
3533 * gdb.compile/compile-ifunc.c: New file.
3534 * gdb.compile/compile-ifunc.exp: New file.
3535
2f41223f
AT
35362015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3537
3538 * gdb.base/structs.exp: Check for correct struct on finish.
3539
03eddd80
YQ
35402015-02-26 Yao Qi <yao.qi@linaro.org>
3541
3542 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3543 is zero.
3544
80c57053
JK
35452015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3546
3547 * gdb.arch/cordic.ko.bz2: New file.
3548 * gdb.arch/cordic.ko.debug.bz2: New file.
3549 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3550
21613c12
YQ
35512015-02-25 Yao Qi <yao.qi@linaro.org>
3552
3553 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3554 aarch64*-*-* target.
3555
d8b901ed
PA
35562015-02-23 Pedro Alves <palves@redhat.com>
3557
3558 * lib/gdb.exp (delete_breakpoints): Rewrite using
3559 gdb_test_multiple.
3560
e5b85ead
PA
35612015-02-23 Pedro Alves <palves@redhat.com>
3562
3563 * gdb.base/info-os.c: Include stdlib.h.
3564
85c3a371
DE
35652015-02-22 Doug Evans <xdje42@gmail.com>
3566
3567 PR symtab/17855
3568 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3569 is read after symbols have been re-read.
3570 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3571 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3572
96553a0c
DE
35732015-02-21 Doug Evans <dje@google.com>
3574
3575 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3576
97a0c697
JK
35772015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3578
3579 PR corefiles/17808
3580 * gdb.arch/i386-biarch-core.core.bz2: New file.
3581 * gdb.arch/i386-biarch-core.exp: New file.
3582
a47cd6e9
PA
35832015-02-21 Pedro Alves <palves@redhat.com>
3584
3585 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3586 runto_main fails.
3587
c5facdc4
PA
35882015-02-20 Pedro Alves <palves@redhat.com>
3589
3590 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3591 info probes.
3592
2db9a427
PA
35932015-02-20 Pedro Alves <palves@redhat.com>
3594
3595 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3596
60fb7e9e
PA
35972015-02-20 Pedro Alves <palves@redhat.com>
3598
3599 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3600 clean_restart before gdb_target_supports_trace.
3601
5c5019c2
PA
36022015-02-20 Pedro Alves <palves@redhat.com>
3603
3604 PR threads/18006
3605 * gdb.threads/clone-thread_db.c: New file.
3606 * gdb.threads/clone-thread_db.exp: New file.
3607
c9587f88
AT
36082015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3609
3610 PR breakpoints/16812
3611 * gdb.base/catch-gdb-caused-signals.c: New file.
3612 * gdb.base/catch-gdb-caused-signals.exp: New file.
3613
f6a88844
JM
36142015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3615
3616 * configure: Regenerated.
3617 * configure.ac: Use GDB_AC_TRANSFORM.
3618 * aclocal.m4: sinclude ../transform.m4.
3619
497c491b
JM
36202015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3621
3622 * lib/dtrace.exp: New file.
3623 * gdb.base/dtrace-probe.exp: Likewise.
3624 * gdb.base/dtrace-probe.d: Likewise.
3625 * gdb.base/dtrace-probe.c: Likewise.
3626 * lib/pdtrace.in: Likewise.
3627 * configure.ac: Output variables with the transformed names of
3628 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3629 * configure: Regenerated.
3630
03e98035
JM
36312015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3632
3633 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3634 expected message when trying to access $_probe_* convenience
3635 variables while not on a probe.
3636
63cc30e9
JK
36372015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3638
3639 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3640
0703599a
PA
36412015-02-11 Pedro Alves <pedro@codesourcery.com>
3642
3643 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3644 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3645
7e60a48e
DE
36462015-02-10 Doug Evans <xdje42@gmail.com>
3647
3648 * lib/gdb.exp (gdb_load): Always return a result.
3649
01b088bc
PA
36502015-02-10 Pedro Alves <palves@redhat.com>
3651
3652 * gdb.threads/signal-sigtrap.c: New file.
3653 * gdb.threads/signal-sigtrap.exp: New file.
3654
b05ec7a5
AT
36552015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3656
3657 * gdb.trace/no-attach-trace.c: New file.
3658 * gdb.trace/no-attach-trace.exp: New file.
3659
a2c2acaf
MW
36602015-02-09 Mark Wielaard <mjw@redhat.com>
3661
3662 * gdb.dwarf2/atomic.c: New file.
3663 * gdb.dwarf2/atomic-type.exp: Likewise.
3664
31fd9caa
MM
36652015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3666
3667 * gdb.btrace/buffer-size.exp: Update "info record" output.
3668 * gdb.btrace/delta.exp: Update "info record" output.
3669 * gdb.btrace/enable.exp: Update "info record" output.
3670 * gdb.btrace/finish.exp: Update "info record" output.
3671 * gdb.btrace/instruction_history.exp: Update "info record" output.
3672 * gdb.btrace/next.exp: Update "info record" output.
3673 * gdb.btrace/nexti.exp: Update "info record" output.
3674 * gdb.btrace/step.exp: Update "info record" output.
3675 * gdb.btrace/stepi.exp: Update "info record" output.
3676 * gdb.btrace/nohist.exp: Update "info record" output.
3677
d33501a5
MM
36782015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3679
3680 * gdb.btrace/buffer-size: New.
3681
f4abbc16
MM
36822015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3683
3684 * gdb.btrace/delta.exp: Update "info record" output.
3685 * gdb.btrace/enable.exp: Update "info record" output.
3686 * gdb.btrace/finish.exp: Update "info record" output.
3687 * gdb.btrace/instruction_history.exp: Update "info record" output.
3688 * gdb.btrace/next.exp: Update "info record" output.
3689 * gdb.btrace/nexti.exp: Update "info record" output.
3690 * gdb.btrace/step.exp: Update "info record" output.
3691 * gdb.btrace/stepi.exp: Update "info record" output.
3692 * gdb.btrace/nohist.exp: Update "info record" output.
3693
b9d61307
SM
36942015-02-06 Simon Marchi <simon.marchi@ericsson.com>
3695
3696 PR gdb/15678
3697 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3698
e584fdbc
PA
36992015-02-06 Pedro Alves <palves@redhat.com>
3700
3701 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
3702 macro.
3703 (seconds_left, again): New globals.
3704 (main): Wait seconds_left in a 1-second sleep loop instead of
3705 sleeping 180 seconds. If 'again' is set, reset the seconds
3706 counter.
3707 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
3708 'again' in the inferior before detaching. Print the seconds left.
3709 (options): New global.
3710 (top level): Build program with -DTIMEOUT=$timeout.
3711
77f41761
PA
37122015-02-06 Pedro Alves <palves@redhat.com>
3713
3714 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
3715 determine how many seconds to pass to 'alarm'.
3716 * gdb.base/gdb-sigterm.exp (top level): Build program with
3717 -DTIMEOUT=$timeout.
3718 (do_test): Return success/failure indication. Add more verbose
3719 logging. Don't fail if 200 single steps are seen. Instead, fail
3720 when the test times out.
3721 (passes): New global.
3722 (top level): Break the testing loop if testing fails on any
3723 iteration. Use gdb_assert.
3724
b9394193
DB
37252015-02-04 Don Breazeal <donb@codesourcery.com>
3726
3727 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
3728 and initialize them.
3729 (ipc_cleanup): New function.
3730 (main): Don't declare shmid, semid, and msqid. Add a call to
3731 atexit so that we call ipc_cleanup on exit.
3732
42d9e528
PA
37332015-02-04 Pedro Alves <palves@redhat.com>
3734
3735 * boards/native-extended-gdbserver.exp: Remove any target variant
3736 specifications from the board name before clearing the isremote
3737 flag from board_info.
3738
ae6ae975
DE
37392015-01-31 Doug Evans <xdje42@gmail.com>
3740
3741 * gdb.base/maint.exp <maint print type argc>: Update expected output.
3742
cfb069a8
GB
37432015-01-31 Gary Benson <gbenson@redhat.com>
3744
3745 * gdb.base/completion.exp: Disable completion limiting for
3746 existing tests. Add new tests to check completion limiting.
3747 * gdb.linespec/ls-errs.exp: Disable completion limiting.
3748
5dd31d79
DE
37492015-01-31 Doug Evans <xdje42@gmail.com>
3750
3751 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
3752
9f050062
DE
37532015-01-31 Doug Evans <xdje42@gmail.com>
3754
3755 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
3756 entries. Duplicate file section script entries.
3757 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
3758 inlined entries. Add test for safe-path rejection.
3759 * gdb.python/py-section-script.c: Add duplicate inlined section script
3760 entries. Duplicate file section script entries.
3761 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
3762 inlined entries. Add test for safe-path rejection.
3763
df25ebbd
JB
37642015-01-29 Joel Brobecker <brobecker@adacore.com>
3765
3766 * gdb.ada/disc_arr_bound: New testcase.
3767
4a0ca9ec
JB
37682015-01-29 Joel Brobecker <brobecker@adacore.com>
3769
3770 * gdb.ada/mi_var_array: New testcase.
3771
3a8b707a
DE
37722015-01-27 Doug Evans <dje@google.com>
3773
3774 * gdb.python/py-objfile.exp: Add tests for objfile.username.
3775 Add test for objfile.filename, objfile.username after objfile
3776 has been unloaded.
3777
f8313f6e
JB
37782015-01-26 Joel Brobecker <brobecker@adacore.com>
3779
3780 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
3781 the second test to print the name attribute of value
3782 returned by the call to gdb.lookup_type, and adjust
3783 the expected output accordingly.
3784
37bc665e
MW
37852015-01-25 Mark Wielaard <mjw@redhat.com>
3786
3787 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
3788 * gdb.base/disp-step-fork.c: Include unistd.h.
3789 * gdb.base/siginfo-obj.c: Include stdio.h.
3790 * gdb.base/siginfo-thread.c: Likewise.
3791 * gdb.mi/non-stop.c: Include unistd.h.
3792 * gdb.mi/nsthrexec.c: Include stdio.h.
3793 * gdb.mi/pthreads.c: Include unistd.h.
3794 * gdb.modula2/unbounded1.c (main): Declare returns int.
3795 * gdb.reverse/consecutive-reverse.c: Likewise.
3796 * gdb.threads/create-fail.c: Include unistd.h.
3797 * gdb.threads/killed.c: Likewise.
3798 * gdb.threads/linux-dp.c: Likewise.
3799 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
3800 * gdb.threads/non-ldr-exc-2.c: Likewise.
3801 * gdb.threads/non-ldr-exc-3.c: Likewise.
3802 * gdb.threads/non-ldr-exc-4.c: Likewise.
3803 * gdb.threads/pthreads.c: Include unistd.h.
3804 (main): Declare returns int.
3805 * gdb.threads/tls-main.c (foo): New declaration.
3806 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
3807
f7e5394d
SM
38082015-01-23 Simon Marchi <simon.marchi@ericsson.com>
3809
3810 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
3811 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
3812
743649fd
MW
38132015-01-15 Mark Wielaard <mjw@redhat.com>
3814
3815 * gdb.base/noreturn-return.c: New file.
3816 * gdb.base/noreturn-return.exp: New file.
3817 * gdb.base/noreturn-finish.c: New file.
3818 * gdb.base/noreturn-finish.exp: New file.
3819
198297aa
PA
38202015-01-23 Pedro Alves <palves@redhat.com>
3821
3822 * gdb.threads/continue-pending-after-query.c: New file.
3823 * gdb.threads/continue-pending-after-query.exp: New file.
3824
717cf30c
AG
38252015-01-22 Anders Granlund <anders.granlund@ericsson.com>
3826 Simon Marchi <simon.marchi@ericsson.com>
3827
3828 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
3829 * gdb.base/valgrind-db-attach.exp: Same.
3830 * gdb.base/valgrind-infcall.exp: Same.
3831 * lib/mi-support.exp (default_mi_gdb_start): Same.
3832 * lib/prompt.exp (default_prompt_gdb_start): Same.
3833 * lib/gdb.exp (default_gdb_spawn): Same.
3834 (gdb_interact): New.
3835
3836
4b62a76e
JK
38372015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3838
3839 * gdb.compile/compile.exp (pointer to jit function): New test.
3840
b4cdae6f
WW
38412015-01-17 Wei-cheng Wang <cole945@gmail.com>
3842
3843 * lib/gdb.exp (supports_process_record): Return true for
3844 powerpc*-*-linux*.
3845 (supports_reverse): Likewise.
3846
d221e7ef
DB
38472015-01-15 Don Breazeal <donb@codesourcery.com>
3848
3849 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
3850 instead of checking whether the target board is remote and
3851 use spawn_wait_for_attach instead of exec/sleep.
3852 * gdb.base/attach-twice.exp: Likewise.
3853
bafffb51
JB
38542015-01-15 Joel Brobecker <brobecker@adacore.com>
3855
3856 * gdb.ada/var_arr_attrs: New testcase.
3857
5589af0e
PA
38582015-01-14 Pedro Alves <palves@redhat.com>
3859 Joel Brobecker <brobecker@adacore.com>
3860
3861 PR gdb/17525
3862 * gdb.base/bp-cmds-execution-x-script.c: New file.
3863 * gdb.base/bp-cmds-execution-x-script.exp: New file.
3864 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
3865
6c400b59
PA
38662015-01-14 Pedro Alves <palves@redhat.com>
3867
3868 PR cli/17828
3869 * gdb.base/batch-preserve-term-settings.c: New file.
3870 * gdb.base/batch-preserve-term-settings.exp: New file.
3871
e02c96a7
DE
38722015-01-13 Doug Evans <dje@google.com>
3873
3874 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
3875 binary.
3876
576fd14c
JB
38772015-01-13 Joel Brobecker <brobecker@adacore.com>
3878
3879 * Makefile.in (clean mostlyclean): Do not delete *.py.
3880
04dccad0
JB
38812015-01-13 Joel Brobecker <brobecker@adacore.com>
3882
3883 * gdb.python/py-lookup-type.exp: New file.
3884
3d230f71
PA
38852015-01-12 Pedro Alves <palves@redhat.com>
3886
3887 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
3888 restore GDBFLAGS before returning.
3889
7e67715d
JK
38902015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3891
3892 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
3893 is_amd64_regs_target and is_x86_like_target.
3894
f2e0d4b4
DE
38952015-01-11 Doug Evans <xdje42@gmail.com>
3896
3897 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
3898 is given without an explicit form.
3899 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
3900 attributes.
3901 * gdb.dwarf/corrupt.exp: Ditto.
3902 * gdb.dwarf2/enum-type.exp: Ditto.
3903 * gdb.trace/entry-values.exp: Ditto.
3904 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
3905
439250fb
DE
39062015-01-11 Doug Evans <xdje42@gmail.com>
3907
3908 PR gdb/15830
3909 * gdb.base/maint.exp: Remove references to "maint demangle".
3910 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
3911 Add tests for explicitly specifying language to demangle.
3912 * gdb.dlang/demangle.exp: Ditto.
3913
ede9f622
PA
39142015-01-09 Pedro Alves <palves@redhat.com>
3915
3916 * gdb.threads/non-stop-fair-events.c: New file.
3917 * gdb.threads/non-stop-fair-events.exp: New file.
3918
a7b796db
PA
39192015-01-09 Pedro Alves <palves@redhat.com>
3920
3921 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
3922 the global scope. Set a breakpoint after all threads are started
3923 rather than stepping over two source lines. Expect the prompt.
3924 * gdb.base/watch_thread_num.c (threads_started_barrier): New
3925 global.
3926 (NUM): Now 15.
3927 (main): Use threads_started_barrier to wait for all threads to
3928 start. Main thread no longer calls thread_function. Exit after
3929 180 seconds.
3930 (loop): New function.
3931 (thread_function): Wait on threads_started_barrier barrier. Call
3932 'loop' at each iteration.
3933 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
3934 threads have started, instead of hardcoding number of "next"
3935 steps. Use an access watchpoint instead of a write watchpoint.
3936
9665ffdd
PA
39372015-01-09 Pedro Alves <palves@redhat.com>
3938
3939 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
3940 (thread_func): Wait on barrier.
3941 (main): Wait for all threads to start before stopping GDB.
3942 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
3943 global.
3944 (thread1_func, thread2_func): Wait on barrier.
3945 (main): Wait for all threads to start before stopping GDB.
3946 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
3947 New global.
3948 (thread1_func, thread2_func): Wait on barrier.
3949 (main): Wait for all threads to start before stopping GDB.
3950
c945a99f
PA
39512015-01-09 Pedro Alves <palves@redhat.com>
3952
3953 * gdb.threads/attach-many-short-lived-threads.c: New file.
3954 * gdb.threads/attach-many-short-lived-threads.exp: New file.
3955
c1a747c1
PA
39562014-01-09 Pedro Alves <palves@redhat.com>
3957
3958 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
3959 instead of to thread 2.
3960 * gdb.threads/signal-command-multiple-signals-pending.c (main):
3961 Add barrier around each pthread_create call instead of around all
3962 calls.
3963 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
3964 Set a break on thread_function and have the child threads hit it
3965 one at at a time.
3966
60b3033e
PA
39672015-01-09 Pedro Alves <palves@redhat.com>
3968
3969 * lib/gdb.exp (can_spawn_for_attach): New procedure.
3970 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
3971 false.
3972 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
3973 checking whether the target board is remote.
3974 * gdb.multi/multi-attach.exp: Likewise.
3975 * gdb.python/py-sync-interp.exp: Likewise.
3976 * gdb.server/ext-attach.exp: Likewise.
3977 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
3978 tests that need to attach, instead of checking whether the target
3979 board is remote at the top of the file.
3980
acc018ac
YQ
39812015-01-08 Yao Qi <yao@codesourcery.com>
3982
3983 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
3984
50a18af8
JK
39852015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3986
3987 Fix testcase compilation.
3988 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
3989
8503d6e1
JB
39902015-01-06 Joel Brobecker <brobecker@adacore.com>
3991
3992 * gdb.python/py-type.exp: Add a couple test about empty
3993 array creation, and negative-length array creation.
3994
cc73dbcc
DE
39952015-01-02 Doug Evans <xdje42@gmail.com>
3996
3997 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
3998
0300bbc7
DE
39992015-01-02 Doug Evans <dje@google.com>
4000
4001 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4002
9d85a0ec
YQ
40032014-12-29 Yao Qi <yao@codesourcery.com>
4004
4005 * gdb.trace/entry-values.exp: Update comments. Rename variable
4006 bar_call_foo to returned_from_foo.
4007
87186c6a
MMN
40082014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4009
4010 PR gdb/17394
4011 * gdb.linespec/break-asm-file.c: New file.
4012 * gdb.linespec/break-asm-file.exp: New file.
4013 * gdb.linespec/break-asm-file0.s: New file.
4014 * gdb.linespec/break-asm-file1.s: New file.
4015
1bab7383
YQ
40162014-12-18 Nigel Stephens <nigel@mips.com>
4017 Maciej W. Rozycki <macro@codesourcery.com>
4018
4019 * gdb.base/float.exp: Handle the new output from "info float" on
4020 MIPS targets.
4021
1bc1068a
JK
40222014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4023
4024 Fix MinGW compilation.
4025 * gdb.compile/compile-ops.exp: Update untested message if
4026 !skip_compile_feature_tests.
4027 * gdb.compile/compile-setjmp.exp: Likewise.
4028 * gdb.compile/compile-tls.exp: Likewise.
4029 * gdb.compile/compile.exp: Likewise.
4030 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4031 supported on this host".
4032
b6615d10
DE
40332014-12-16 Doug Evans <xdje42@gmail.com>
4034
4035 * boards/stabs.exp: New file.
4036
25dda427
AA
40372014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4038
4039 * gdb.base/completion.exp: Adjust to format changes of "maint
4040 print user-registers".
4041
bf330350
CU
40422014-12-16 Catalin Udma <catalin.udma@freescale.com>
4043
4044 PR server/17457
4045 * gdb.arch/aarch64-fp.c: New file.
4046 * gdb.arch/aarch64-fp.exp: New file.
4047
395cf596
SDJ
40482014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4049
4050 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4051 r210637, r210913, r211666, r215400, r215817).
4052
4053 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4054 * dg-extract-results.py: New file.
4055 * dg-extract-results.sh: Use it if the environment seems
4056 suitable.
4057
4058 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4059
4060 * dg-extract-results.py (parse_run): Handle warnings that
4061 are printed before a test harness is run.
4062
4063 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4064
4065 * dg-extract-results.py (Named): Remove __cmp__ method.
4066 (output_variation): Use a key to sort variation.harnesses.
4067
4068 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4069
4070 * dg-extract-results.py: For Python 3, force sys.stdout to
4071 handle surrogate escape sequences.
4072 (safe_open): New function.
4073 (output_segment, main): Use it.
4074
4075 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4076
4077 * dg-extract-results.py (Prog.result_re): Include options
4078 in test name.
4079
4080 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4081
4082 * dg-extract-results.py (output_variation): Always sort if
4083 do_sum.
4084
e882ef3c
SM
40852014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4086
4087 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4088 as long as we get pagination notifications.
4089
4992aa20
JM
40902014-12-15 Jason Merrill <jason@redhat.com>
4091
4092 * Makefile.in (check-gdb.%): Restore.
4093 * README: Mention it.
4094
c1b5a1a6
JB
40952014-12-13 Joel Brobecker <brobecker@adacore.com>
4096
4097 * gdb.ada/str_uninit: New testcase.
4098
5537b577
JK
40992014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4100
4101 PR symtab/17642
4102 * gdb.base/vla-stub-define.c: New file.
4103 * gdb.base/vla-stub.c: New file.
4104 * gdb.base/vla-stub.exp: New file.
4105
bb2ec1b3
TT
41062014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4107 Jan Kratochvil <jan.kratochvil@redhat.com>
4108 Tom Tromey <tromey@redhat.com>
4109
4110 * configure.ac: Add gdb.compile/.
4111 * configure: Regenerate.
4112 * gdb.compile/Makefile.in: New file.
4113 * gdb.compile/compile-ops.exp: New file.
4114 * gdb.compile/compile-ops.c: New file.
4115 * gdb.compile/compile-tls.c: New file.
4116 * gdb.compile/compile-tls.exp: New file.
4117 * gdb.compile/compile-constvar.S: New file.
4118 * gdb.compile/compile-constvar.c: New file.
4119 * gdb.compile/compile-mod.c: New file.
4120 * gdb.compile/compile-nodebug.c: New file.
4121 * gdb.compile/compile-setjmp-mod.c: New file.
4122 * gdb.compile/compile-setjmp.c: New file.
4123 * gdb.compile/compile-setjmp.exp: New file.
4124 * gdb.compile/compile-shlib.c: New file.
4125 * gdb.compile/compile.c: New file.
4126 * gdb.compile/compile.exp: New file.
4127 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4128
4ff709eb
TT
41292014-12-12 Tom Tromey <tromey@redhat.com>
4130
4131 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4132 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4133
6dddd6a5
DE
41342014-12-12 Doug Evans <dje@google.com>
4135
4136 * lib/gdb-python.exp (get_python_valueof): New function.
4137 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4138
71c24708
AA
41392014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4140
4141 * gdb.base/completion.exp: Add test for completion of "info
4142 registers ".
4143
3e29f34a
MR
41442014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4145
4146 * gdb.base/func-ptrs.c: New file.
4147 * gdb.base/func-ptrs.exp: New file.
4148
fc126975
SM
41492014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4150
4151 PR breakpoints/17012
4152 * gdb.base/dprintf-detach.c: New file.
4153 * gdb.base/dprintf-detach.exp: New file.
4154
0a46d518
SM
41552014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4156
4157 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4158 * lib/gdb.exp (target_is_gdbserver): New procedure.
4159
a0be3e44
DE
41602014-12-08 Doug Evans <dje@google.com>
4161
4162 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4163
df1b803a
YQ
41642014-12-05 Yao Qi <yao@codesourcery.com>
4165
4166 * gdb.guile/scm-error.exp: Remove the third argument to
4167 gdb_remote_download.
4168 * gdb.guile/scm-frame-args.exp: Likewise.
4169 * gdb.guile/scm-section-script.exp: Likewise.
4170
ddb9f679
YQ
41712014-12-05 Yao Qi <yao@codesourcery.com>
4172
4173 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4174
86e4ed39
DE
41752014-12-04 Doug Evans <dje@google.com>
4176
4177 * gdb.python/py-objfile.exp: Add tests for
4178 objfile.add_separate_debug_file.
4179
7c50a931
DE
41802014-12-04 Doug Evans <dje@google.com>
4181
4182 * lib/gdb.exp (get_build_id): New function.
4183 (build_id_debug_filename_get): Rewrite to use it.
4184 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4185
621661e3
MR
41862014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4187
4188 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4189 `method(long)', not just 0x0.
4190 * gdb.cp/nsalias.exp: Align code labels to 4.
4191 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4192 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4193 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4194 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4195 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4196 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4197
29f0c3b7
DE
41982014-12-02 Doug Evans <dje@google.com>
4199
e1e061e7 4200 PR symtab/17602
29f0c3b7 4201 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 4202 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
4203 * gdb.cp/anon-ns.exp: Update.
4204
162078c8
NB
42052014-12-02 Nick Bull <nicholaspbull@gmail.com>
4206
4207 * gdb.python/py-events.py (inferior_call_handler): New.
4208 (register_changed_handler, memory_changed_handler): New.
4209 (test_events.invoke): Register new handlers.
4210 * gdb.python/py-events.exp: Add tests for inferior call,
4211 memory_changed and register_changed events.
4212
fdb09caf
AA
42132014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4214
4215 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4216 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4217 if the linker doesn't understand this.
4218
55cfb2c4
SM
42192014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4220
4221 * gdb.python/python.exp: Change expected reply to help().
4222
9e8cd6df
YQ
42232014-12-01 Yao Qi <yao@codesourcery.com>
4224
4225 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4226 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4227 * configure: Re-generated.
4228
6c659fc2
SC
42292014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4230
4231 * gdb.cp/chained-calls.cc: New file.
4232 * gdb.cp/chained-calls.exp: New file.
4233 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4234
d7fc3181
SM
42352014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4236
4237 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4238 * gdb.dwarf2/symtab-producer.exp: Same.
4239 * gdb.gdb/python-interrupts.exp: Same.
4240 * gdb.gdb/python-selftest.exp: Same.
4241 * gdb.python/py-linetable.exp: Same.
4242 * gdb.python/py-type.exp: Same.
4243 * gdb.python/py-value-cc.exp: Same.
4244 * gdb.python/py-value.exp: Same.
4245
10e79639
YQ
42462014-11-28 Yao Qi <yao@codesourcery.com>
4247
4248 * gdb.base/break-probes.exp: Match library name prefixed with
4249 sysroot.
4250
f28a0564
SM
42512014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4252
4253 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4254 test expected output. Add parentheses for the call to print.
4255 Remove L suffix from integers.
4256
3fe1ce1d
DE
42572014-11-26 Doug Evans <dje@google.com>
4258
4259 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4260
84429e27
YQ
42612014-11-22 Yao Qi <yao@codesourcery.com>
4262
4263 * gdb.trace/entry-values.c: Remove asms.
4264 (foo): Add foo_label.
4265 (bar): Add bar_label.
4266 * gdb.trace/entry-values.exp: Remove code computing foo's
4267 length and bar's length.
4268 (Dwarf::assemble): Invoke function_range for bar and use
4269 MACRO_AT_func for foo.
4270
26741859
YQ
42712014-11-22 Yao Qi <yao@codesourcery.com>
4272
4273 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4274 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4275 Use .Lgcc43_procstart instead of gcc43.
4276
45e44d27
JB
42772014-11-21 Joel Brobecker <brobecker@adacore.com>
4278
4279 * gdb.ada/n_arr_bound: New testcase.
4280
458c8db8
SDJ
42812014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4282
4283 PR breakpoints/10737
4284 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4285 test_catch_syscall_multi_arch.
4286 (test_catch_syscall_multi_arch): New function.
4287
43f3e411
DE
42882014-11-20 Doug Evans <xdje42@gmail.com>
4289
4290 * gdb.base/maint.exp: Update expected output.
4291
0d7b2549
AA
42922014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4293
4294 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4295 4-byte instruction on S390.
4296
8908fca5
JB
42972014-11-19 Joel Brobecker <brobecker@adacore.com>
4298
4299 * gdb.ada/arr_arr: New testcase.
4300
4a46959e
JB
43012014-11-19 Joel Brobecker <brobecker@adacore.com>
4302
4303 * gdb.ada/pkd_arr_elem: New Testcase.
4304
470e2f4e
LM
43052014-11-18 Luis Machado <lgustavo@codesourcery.com>
4306
4307 * gdb.reverse/break-precsave: Expect completion message for
4308 core file reads.
4309 * gdb.reverse/consecutive-precsave.exp: Likewise.
4310 * gdb.reverse/finish-precsave.exp: Likewise.
4311 * gdb.reverse/i386-precsave.exp: Likewise.
4312 * gdb.reverse/machinestate-precsave.exp: Likewise.
4313 * gdb.reverse/sigall-precsave.exp: Likewise.
4314 * gdb.reverse/solib-precsave.exp: Likewise.
4315 * gdb.reverse/step-precsave.exp: Likewise.
4316 * gdb.reverse/until-precsave.exp: Likewise.
4317 * gdb.reverse/watch-precsave.exp: Likewise.
4318
a267f3ad
AA
43192014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4320
4321 * gdb.base/bp-permanent.c: Include unistd.h.
4322 * gdb.python/py-framefilter-mi.c (main): Add return type.
4323 * gdb.python/py-framefilter.c (main): Likewise.
4324 * gdb.trace/actions-changed.c (main): Likewise.
4325
12084a9a
AA
43262014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4327
4328 * gdb.mi/until.c: Add eye-catchers.
4329 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4330 line numbers.
4331
dc7e1a77
AA
43322014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4333
4334 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4335 function header variants in break1.c.
4336 * gdb.base/ena-dis-br.exp: Likewise.
4337 * gdb.base/hbreak2.exp: Likewise.
4338 * gdb.reverse/until-precsave.exp: Drop references to removed
4339 non-prototype function header variants in ur1.c.
4340 * gdb.reverse/until-reverse.exp: Likewise.
4341
41c77605
PM
43422014-11-17 Petr Machata <pmachata@redhat.com>
4343
4344 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4345 ${_cu_offset_size} bytes abbrev offset.
4346
34248c3a
DE
43472014-11-15 Doug Evans <xdje42@gmail.com>
4348
4349 PR symtab/17559
4350 * gdb.base/line-symtabs.exp: New file.
4351 * gdb.base/line-symtabs.c: New file.
4352 * gdb.base/line-symtabs.h: New file.
4353
646da059
YQ
43542014-11-14 Yao Qi <yao@codesourcery.com>
4355
4356 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4357 (func): Add label func_label.
4358 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4359 Replace low_pc and high_pc with MACRO_AT_range.
4360 Replace name, low_pc and high_pc with MACRO_AT_func.
4361
9301ebe6
YQ
43622014-11-14 Yao Qi <yao@codesourcery.com>
4363
4364 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4365 Replace name, low_pc and high_pc with MACRO_AT_func.
4366
f166b542
YQ
43672014-11-14 Yao Qi <yao@codesourcery.com>
4368
4369 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4370 produce debug information.
4371 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4372
0f6e71e3
YQ
43732014-11-14 Yao Qi <yao@codesourcery.com>
4374
4375 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4376 object and get function length.
4377 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4378 with MACRO_AT_func.
4379 (top-level): Replace gdb_compile and clean_restart with
4380 prepare_for_testing.
4381 * gdb.dwarf2/main.c (main): Add label main_label.
4382
876c4df9
YQ
43832014-11-14 Yao Qi <yao@codesourcery.com>
4384
4385 * lib/dwarf.exp (function_range): New procedure.
4386 (Dwarf::_handle_macro_at_func): New procedure.
4387 (Dwarf::_handle_macro_at_range): New procedure.
4388 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4389
02ad9cf1
YQ
43902014-11-14 Yao Qi <yao@codesourcery.com>
4391
4392 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4393 (_handle_attribute): New procedure.
4394
a59add0c
AA
43952014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4396
4397 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4398 * gdb.base/call-sc.c (zed): Likewise.
4399 * gdb.base/checkpoint.c (main): Likewise.
4400 * gdb.base/dump.c (main): Likewise.
4401 * gdb.base/gcore.c (main): Likewise.
4402 * gdb.base/huge.c (main): Likewise.
4403 * gdb.base/multi-forks.c (main): Likewise.
4404 * gdb.base/pr10179-a.c (main): Likewise.
4405 * gdb.base/savedregs.c (main): Likewise.
4406 * gdb.base/sigaltstack.c (main): Likewise.
4407 * gdb.base/siginfo.c (main): Likewise.
4408 * gdb.base/structs.c (zed): Likewise.
4409 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4410 * gdb.mi/mi-syn-frame.c (main): Likewise.
4411 * gdb.mi/until.c (foo, main): Likewise.
4412 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4413 * gdb.base/solib-weak.c (foo): Declare.
4414 * gdb.base/attach-twice.c: Include stdio.h.
4415 * gdb.base/weaklib1.c: Likewise.
4416 * gdb.base/weaklib2.c: Likewise.
4417 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4418 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4419 unistd.h.
4420 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4421 * gdb.mi/mi-exit-code.c: Likewise.
4422 * gdb.base/break-interp-lib.c: Include string.h.
4423 * gdb.base/coremaker.c: Likewise.
4424 * gdb.base/testenv.c: Likewise.
4425 * gdb.python/py-finish-breakpoint.c: Likewise.
4426 * gdb.base/inferior-died.c: Include sys/wait.h.
4427 * gdb.base/fileio.c: Include time.h.
4428 * gdb.base/async-shell.c: Include unistd.h.
4429 * gdb.base/dprintf-non-stop.c: Likewise.
4430 * gdb.base/info-os.c: Likewise.
4431 * gdb.mi/mi-console.c: Likewise.
4432 * gdb.mi/watch-nonstop.c: Likewise.
4433 * gdb.python/py-events.c: Likewise.
4434 * gdb.base/async.c (baz): Move up before its invocation.
4435 * gdb.base/code_elim2.c (my_global_func): Likewise.
4436 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4437 * gdb.base/advance.c (func2): Likewise.
4438
3b5d5997
AA
44392014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4440
4441 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4442 variant.
4443 * gdb.base/annota3.c: Likewise.
4444 * gdb.base/async.c: Likewise.
4445 * gdb.base/average.c: Likewise.
4446 * gdb.base/call-ar-st.c: Likewise.
4447 * gdb.base/call-rt-st.c: Likewise.
4448 * gdb.base/call-sc.c: Likewise.
4449 * gdb.base/call-strs.c: Likewise.
4450 * gdb.base/ending-run.c: Likewise.
4451 * gdb.base/execd-prog.c: Likewise.
4452 * gdb.base/exprs.c: Likewise.
4453 * gdb.base/foll-exec.c: Likewise.
4454 * gdb.base/foll-fork.c: Likewise.
4455 * gdb.base/foll-vfork.c: Likewise.
4456 * gdb.base/funcargs.c: Likewise.
4457 * gdb.base/gcore.c: Likewise.
4458 * gdb.base/jump.c: Likewise.
4459 * gdb.base/langs0.c: Likewise.
4460 * gdb.base/langs1.c: Likewise.
4461 * gdb.base/langs2.c: Likewise.
4462 * gdb.base/mips_pro.c: Likewise.
4463 * gdb.base/nodebug.c: Likewise.
4464 * gdb.base/opaque0.c: Likewise.
4465 * gdb.base/opaque1.c: Likewise.
4466 * gdb.base/recurse.c: Likewise.
4467 * gdb.base/run.c: Likewise.
4468 * gdb.base/scope0.c: Likewise.
4469 * gdb.base/scope1.c: Likewise.
4470 * gdb.base/setshow.c: Likewise.
4471 * gdb.base/setvar.c: Likewise.
4472 * gdb.base/shmain.c: Likewise.
4473 * gdb.base/shr1.c: Likewise.
4474 * gdb.base/shr2.c: Likewise.
4475 * gdb.base/sigall.c: Likewise.
4476 * gdb.base/signals.c: Likewise.
4477 * gdb.base/so-indr-cl.c: Likewise.
4478 * gdb.base/solib2.c: Likewise.
4479 * gdb.base/structs.c: Likewise.
4480 * gdb.base/sum.c: Likewise.
4481 * gdb.base/vforked-prog.c: Likewise.
4482 * gdb.base/watchpoint.c: Likewise.
4483 * gdb.reverse/shr2.c: Likewise.
4484 * gdb.reverse/until-reverse.c: Likewise.
4485 * gdb.reverse/ur1.c: Likewise.
4486 * gdb.reverse/watch-reverse.c: Likewise.
4487
066a77c5
AA
44882014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4489
4490 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4491 variant.
4492 * gdb.base/sepdebug.exp: Drop references to removed code.
4493
4f204ea5
AA
44942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4495
4496 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4497 variant. Preserve original line numbering.
4498 * gdb.base/list1.c: Likewise.
4499
3b377a3a
AA
45002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4501
4502 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4503 variant.
4504 * gdb.base/break1.c: Likewise.
4505 * gdb.base/break.exp: Drop references to removed code.
4506
e444df73
AA
45072014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4508
4509 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4510 variant.
4511
8008f2a7
AA
45122014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4513
4514 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4515
a5a06887
AA
45162014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4517
4518 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4519 logic into perform_all_tests() and invoke it with and without
4520 function header prototypes.
4521 (do_function_calls): Remove conditional XFAIL for PR 5318.
4522 (rerun_and_prepare): Remove duplicate code.
4523 (perform_all_tests): New. Main logic moved here.
4524
44dba9b9
AA
45252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4526
4527 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4528 code guarded by #ifdef NO_PROTOTYPES.
4529 (t_double_many_args): Likewise.
4530 (DEF_FUNC_MANY_ARGS_1): Likewise.
4531 (DEF_FUNC_VALUES_1): Likewise.
4532 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4533 guarded by #ifdef PROTOTYPES.
4534
d1fbcd56
AA
45352014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4536
4537 * gdb.mi/mi-console.c: Add eye-catcher.
4538 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4539 instead of literal line number.
4540
b0e59b8f
AA
45412014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4542
4543 * gdb.base/shr2.c: Add eye-catcher.
4544 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4545 line number.
4546
78f98cca
AA
45472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4548
4549 * gdb.base/jump.c: Add eye-catchers.
4550 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4551 numbers.
4552
58fa2af0
AA
45532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4554
4555 * gdb.base/execd-prog.c: Add eye-catchers.
4556 * gdb.base/foll-exec.c: Likewise.
4557 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4558 line numbers.
4559
04e5059b
AA
45602014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4561
4562 * gdb.base/ending-run.c: Add eye-catchers.
4563 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4564 literal line numbers.
4565
dbfdb174
AA
45662014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4567
4568 * gdb.base/call-rt-st.c: Add eye-catchers.
4569 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4570 literal line numbers.
4571
888a2ade
AA
45722014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4573
4574 * gdb.base/call-ar-st.c: Add eye-catchers.
4575 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4576 literal line numbers.
4577
6acc2dde
AA
45782014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4579
4580 * gdb.base/average.c: Add eye-catchers.
4581 * gdb.base/sum.c: Likewise.
4582 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4583 regexps dynamically.
4584
9ecfcd1d
AA
45852014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4586
4587 * gdb.base/solib1.c: Add eye-catchers.
4588 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4589 literal line numbers.
4590
78708b7c
PA
45912014-11-12 Pedro Alves <palves@redhat.com>
4592
4593 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4594 leader has exited.
4595
af48d08f
PA
45962014-11-12 Pedro Alves <palves@redhat.com>
4597
4598 * gdb.arch/i386-bp_permanent.c: New file.
4599 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4600 (srcfile): Set to i386-bp_permanent.c.
4601 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4602 that stepi does not execute the 'leave' instruction, instead of
4603 testing it does execute.
4604 * gdb.base/bp-permanent.c: New file.
4605 * gdb.base/bp-permanent.exp: New file.
4606
af3768e9
DE
46072014-11-10 Doug Evans <xdje42@gmail.com>
4608
4609 PR symtab/17564
4610 * gdb.base/symtab-search-order.exp: New file.
4611 * gdb.base/symtab-search-order.c: New file.
4612 * gdb.base/symtab-search-order-1.c: New file.
4613 * gdb.base/symtab-search-order-shlib-1.c: New file.
4614
9de00a4a
PA
46152014-11-07 Pedro Alves <palves@redhat.com>
4616
4617 PR gdb/17511
4618 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4619 i?86-*-linux*.
4620
e0f52461
SC
46212014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4622
4623 PR c++/17494
4624 * gdb.cp/pr17494.cc: New file.
4625 * gdb.cp/pr17494.exp: New file.
4626
6ce8c980
YQ
46272014-11-02 Yao Qi <yao@codesourcery.com>
4628
4629 * gdb.python/python.exp: Get working directory and match the
4630 output of "set extended-prompt \\w " with it.
4631
02be9a71
DE
46322014-10-30 Doug Evans <dje@google.com>
4633
4634 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4635 in objfiles.
4636 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4637 in progspaces.
4638
3bdff46b
LM
46392014-10-30 Janis Johnson <janisjo@codesourcery.com>
4640
4641 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4642 * gdb.base/realname-expand.exp: Likewise.
4643 * gdb.linespec/macro-relative.exp: Likewise.
4644
ab917dfb
PA
46452014-10-29 Pedro Alves <palves@redhat.com>
4646
4647 PR gdb/17408
4648 * gdb.threads/schedlock.c (some_function): New function.
4649 (call_function): New global.
4650 (MAYBE_CALL_SOME_FUNCTION): New macro.
4651 (thread_function): Call it.
4652 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4653 and use it instead of a global counter. Adjust all callers.
4654 (get_current_thread): Use "find current thread" for test message
4655 here rather than having all callers pass down the same string.
4656 (goto_loop): New procedure, factored out from ...
4657 (my_continue): ... this.
4658 (step_ten_loops): Change parameter from test message to command to
4659 use. Adjust.
4660 (list_count): Delete global.
4661 (check_result): New procedure, factored out from duplicate top
4662 level code.
4663 (continue tests): Wrap in with_test_prefix.
4664 (test_step): New procedure, factored out from duplicate top level
4665 code.
4666 (top level): Test "step" in combination with all scheduler-locking
4667 modes. Test "next" in combination with all scheduler-locking
4668 modes, and in combination with stepping over a function call or
4669 not.
4670 * gdb.threads/next-bp-other-thread.c: New file.
4671 * gdb.threads/next-bp-other-thread.exp: New file.
4672
d3d4baed
PA
46732014-10-29 Pedro Alves <palves@redhat.com>
4674
4675 PR python/17372
4676 * gdb.python/python.exp: Test a multi-line command that spawns
4677 interactive Python.
4678 * gdb.base/multi-line-starts-subshell.exp: New file.
4679
563e8d85
YQ
46802014-10-29 Yao Qi <yao@codesourcery.com>
4681
4682 * gdb.base/fileio.exp: Make directories on host.
4683
0ea4d52e
YQ
46842014-10-29 Yao Qi <yao@codesourcery.com>
4685
4686 * gdb.base/fileio.c (test_write): Close the file.
4687
7f5ef605
PA
46882014-10-28 Pedro Alves <palves@redhat.com>
4689
4690 PR gdb/12623
4691 * gdb.base/sigstep.c (no_handler): New global.
4692 (main): If 'no_handler is true, set the signal handlers to
4693 SIG_IGN.
4694 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4695 with_sw_watch and no_handler parameters. Handle them.
4696 (top level) <stepping over handler when stopped at a breakpoint
4697 test>: Add a test axis for testing with a software watchpoint, and
4698 another for testing with the signal handler set to SIG_IGN.
4699 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4700 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
4701
abbdbd03
PA
47022014-10-28 Pedro Alves <palves@redhat.com>
4703
4704 PR gdb/17511
4705 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
4706 * gdb.base/sigstep.exp (other_handler_location): New global.
4707 (advance): Support stepping into the signal handler, and running
4708 commands while in the handler.
4709 (in_handler_map): New global.
4710 (top level): In the advance test, add combinations for getting
4711 into the handler with stepping commands, and for running commands
4712 in the handler. Add comment descripting the advancei tests.
4713
1df4399f
PA
47142014-10-28 Pedro Alves <palves@redhat.com>
4715
4716 * gdb.base/sigstep.exp: Use build_executable instead of
4717 prepare_for_testing.
4718 (top level): Move code that starts GDB, runs to main and creates a
4719 display to ...
4720 (restart): ... this new procedure.
4721 (top level): Move backtrace from signal handler test to ...
4722 (validate_backtrace): ... this new procedure.
4723 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
4724 with_test_prefix. Always restart GDB.
4725 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
4726 with_test_prefix. Always restart GDB. No need to delete
4727 breakpoints after the test.
4728 (test_skip_handler): Remove prefix parameter.
4729 (skip_over_handler, breakpoint_to_handler)
4730 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
4731 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
4732 restart GDB. No need to delete breakpoints after the test.
4733 (top level): Use foreach to call the test procedures with
4734 different commands.
4735
a5b6e449
PA
47362014-10-28 Pedro Alves <palves@redhat.com>
4737
4738 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
4739 instead of GNATS numbers.
4740 * gdb.base/sigbpt.exp: Likewise.
4741 * gdb.base/siginfo.exp: Likewise.
4742 * gdb.base/sigstep.exp: Likewise.
4743
e5f8a7cc
PA
47442014-10-27 Pedro Alves <palves@redhat.com>
4745
4746 * gdb.base/sigstep.c (dummy): New global.
4747 (main): Issue a couple writes to the new global.
4748 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
4749 procedures.
4750 (skip_over_handler): Use test_skip_handler.
4751 (top level): Call skip_over_handler for stepi and nexti too.
4752 (breakpoint_over_handler): Use test_skip_handler.
4753 (top level): Call breakpoint_over_handler for stepi and nexti too.
4754
763905a3
YQ
47552014-10-27 Yao Qi <yao@codesourcery.com>
4756
4757 * gdb.trace/tfile.c (adjust_function_address)
4758 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
4759 function descriptor.
4760
6f259a23
DB
47612014-10-24 Don Breazeal <donb@codesourcery.com>
4762
4763 * gdb.base/foll-fork.exp (test_follow_fork,
4764 catch_fork_child_follow): Check for updated fork messages emitted
4765 from infrun.c.
4766 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
4767 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
4768 vfork_and_exec_child_follow_through_step): Check for updated vfork
4769 messages emitted from infrun.c.
4770
09dd9a69
PA
47712014-10-24 Pedro Alves <palves@redhat.com>
4772
4773 * gdb.base/corefile.exp: Remove references to ultrix.
4774 * gdb.base/interrupt.exp: Likewise.
4775 * gdb.base/whatis.exp: Likewise.
4776 * gdb.gdb/selftest.exp: Likewise.
4777 * gdb.threads/manythreads.exp: Likewise.
4778 * gdb.threads/print-threads.exp: Likewise.
4779 * gdb.threads/pthreads.exp:: Likewise.
4780 * gdb.threads/schedlock.exp: Likewise.
4781
3433cfa5
SC
47822014-10-24 Siva Chandra Reddy <sivachandra@google.com>
4783
4784 * gdb.cp/non-trivial-retval.cc: Add a test case.
4785 * gdb.cp/non-trivial-retval.exp: Add a test.
4786
092f880b
YQ
47872014-10-20 Yao Qi <yao@codesourcery.com>
4788
4789 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
4790 * gdb.python/py-objfile-script-gdb.py: New file.
4791 * gdb.python/py-objfile-script.exp: Update reference to
4792 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
4793 of remote_download. Remove the dest file.
4794
acbdb7f3
YQ
47952014-10-20 Yao Qi <yao@codesourcery.com>
4796
4797 * gdb.base/checkpoint.exp: Don't remove file copied on host.
4798 * gdb.base/step-line.exp: Likewise.
4799 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4800 * gdb.dwarf2/dw2-basic.exp: Likewise.
4801 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4802 * gdb.dwarf2/dw2-filename.exp: Likewise.
4803 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4804 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4805 * gdb.dwarf2/dw2-producer.exp: Likewise.
4806 * gdb.dwarf2/mac-fileno.exp: Likewise.
4807 * gdb.python/py-frame-args.exp: Likewise.
4808 * gdb.python/py-framefilter.exp: Likewise.
4809 * gdb.python/py-mi.exp: Likewise.
4810 * gdb.python/py-objfile-script.exp: Likewise
4811 * gdb.python/py-pp-integral.exp: Likewise.
4812 * gdb.python/py-pp-re-notag.exp: Likewise.
4813 * gdb.python/py-prettyprint.exp: Likewise.
4814 * gdb.python/py-section-script.exp: Likewise.
4815 * gdb.python/py-typeprint.exp: Likewise.
4816 * gdb.python/py-xmethods.exp: Likewise.
4817 * gdb.stabs/weird.exp: Likewise.
4818 * gdb.xml/tdesc-regs.exp: Likewise.
4819
bd286a29
KCY
48202014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
4821
4822 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
4823 (out_cu): Use addr_len for the size of addresses.
4824 (out_line): Likewise. Size DW_LNE_set_address instruction
4825 according to addr_len.
4826 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
4827 (FUNC): Add START_INSNS to definition.
4828
673dc4a0
YQ
48292014-10-18 Yao Qi <yao@codesourcery.com>
4830
4831 * gdb.base/argv0-symlink.exp: Check argv[0] value if
4832 gdb_has_argv0 return true.
4833 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
4834 check [target_info exists noargs], check [gdb_has_argv0]
4835 instead.
4836 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4837 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
4838 procedures.
4839
4ffbba72
DE
48402014-10-17 Doug Evans <dje@google.com>
4841
4842 * gdb.python/py-events.exp: Update expected output for clear_objfiles
4843 event.
4844 * gdb.python/py-events.py: Add clear_objfiles event.
4845
d096d8c1
DE
48462014-10-17 Doug Evans <dje@google.com>
4847
4848 * gdb.python/py-objfile.exp: Test progspace attribute.
4849
a80db015
LM
48502014-10-17 Luis Machado <lgustavo@codesourcery.com>
4851
4852 * gdb.guile/scm-breakpoint.exp: Do not assume any
4853 directory separators when matching source file paths.
4854 * gdb.python/py-breakpoint.exp: Likewise.
4855 * gdb.reverse/break-precsave.exp: Likewise.
4856 * gdb.reverse/break-reverse.exp: Likewise.
4857 * gdb.reverse/consecutive-precsave.exp: Likewise.
4858 * gdb.reverse/finish-precsave.exp: Likewise.
4859 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
4860 * gdb.reverse/finish-reverse.exp: Likewise.
4861 * gdb.reverse/i386-precsave.exp: Likewise.
4862 * gdb.reverse/i387-env-reverse.exp: Likewise.
4863 * gdb.reverse/i387-stack-reverse.exp: Likewise.
4864 * gdb.reverse/machinestate-precsave.exp: Likewise.
4865 * gdb.reverse/machinestate.exp: Likewise.
4866 * gdb.reverse/sigall-precsave.exp: Likewise.
4867 * gdb.reverse/solib-precsave.exp: Likewise.
4868 * gdb.reverse/step-precsave.exp: Likewise.
4869 * gdb.reverse/until-precsave.exp: Likewise.
4870 * gdb.reverse/watch-precsave.exp: Likewise.
4871 * gdb.reverse/watch-reverse.exp: Likewise.
4872
b22089ab
YQ
48732014-10-17 Yao Qi <yao@codesourcery.com>
4874
4875 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
4876 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
4877
6c4486e6
PA
48782014-10-17 Pedro Alves <palves@redhat.com>
4879
4880 PR gdb/17471
4881 * gdb.base/bg-execution-repeat.c: New file.
4882 * gdb.base/bg-execution-repeat.exp: New file.
4883
0ff33695
PA
48842014-10-17 Pedro Alves <palves@redhat.com>
4885
4886 PR gdb/17300
4887 * gdb.base/continue-all-already-running.c: New file.
4888 * gdb.base/continue-all-already-running.exp: New file.
4889
6fdebc3d
PA
48902014-10-17 Pedro Alves <palves@redhat.com>
4891
4892 PR gdb/17472
4893 * gdb.base/annota-input-while-running.c: New file.
4894 * gdb.base/annota-input-while-running.exp: New file.
4895
32a8097b
PA
48962014-10-17 Pedro Alves <palves@redhat.com>
4897
4898 * gdb.base/callfuncs.exp: emove references to osf.
4899 * gdb.base/sigall.exp: Likewise.
4900 * gdb.gdb/selftest.exp: Likewise.
4901 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
4902 * gdb.mi/non-stop.c: Likewise.
4903 * gdb.mi/pthreads.c: Likewise.
4904 * gdb.reverse/sigall-precsave.exp: Likewise.
4905 * gdb.reverse/sigall-reverse.exp: Likewise.
4906 * gdb.threads/pthreads.c: Likewise.
4907 * gdb.threads/pthreads.exp: Likewise.
4908
7a3517ff
YQ
49092014-10-17 Yao Qi <yao@codesourcery.com>
4910
4911 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
4912 check 'target_info exists noargs'.
4913 (test_command_prompt_position): Likewise.
4914 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
4915 Remove "set args".
4916 (progvar_simple_while_test): Likewise.
4917 (progvar_complex_if_while_test): Likewise.
4918 (if_while_breakpoint_command_test): Likewise.
4919 (infrun_breakpoint_command_test): Likewise.
4920 (breakpoint_command_test): Likewise.
4921 (watchpoint_command_test): Likewise.
4922 (bp_deleted_in_command_test): Likewise.
4923 (temporary_breakpoint_commands): Likewise.
4924
bb99c472
YQ
49252014-10-16 Yao Qi <yao@codesourcery.com>
4926
4927 * gdb.base/remotetimeout.exp: Remove noargs checking.
4928
7c16b83e
PA
49292014-10-15 Pedro Alves <palves@redhat.com>
4930
4931 PR breakpoints/9649
4932 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
4933 * gdb.base/breakpoint-in-ro-region.exp
4934 (probe_target_hardware_step): New procedure.
4935 (top level): Probe hardware stepping and hardware breakpoint
4936 support. Test stepping through a read-only region, with both
4937 "breakpoint auto-hw" on and off and both "always-inserted" on and
4938 off.
4939
35a49624
IB
49402014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
4941
4942 * gdb.dlang/demangle.exp: Update for demangling changes.
4943
2d1c107c
SC
49442014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4945
4946 * gdb.cp/non-trivial-retval.cc: Add new test cases.
4947 * gdb.cp/non-trivial-retval.exp: Add new tests.
4948
778811d5
SC
49492014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4950
4951 PR c++/13403
4952 PR c++/15154
4953 * gdb.cp/non-trivial-retval.cc: New file.
4954 * gdb.cp/non-trivial-retval.exp: New file.
4955
10c5f0a8
YQ
49562014-10-15 Yao Qi <yao@codesourcery.com>
4957
4958 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
4959 remote host.
4960
65d7b369
YQ
49612014-10-15 Yao Qi <yao@codesourcery.com>
4962
4963 * gdb.python/py-symbol.exp: Match file base name if host is
4964 remote, otherwise match file name with dir name.
4965 * gdb.python/py-symtab.exp: Likewise.
4966 * gdb.python/python.exp: Likewise.
4967
46dc1394
YQ
49682014-10-15 Yao Qi <yao@codesourcery.com>
4969
4970 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
4971 pattern.
4972 * gdb.python/py-symtab.exp: Likewise.
4973 * gdb.python/python.exp: Remove trailing ".*". Fix typo
4974 locationn.
4975
c40cc657
JB
49762014-10-14 Joel Brobecker <brobecker@adacore.com>
4977
4978 * gdb.ada/addr_arith: New testcase.
4979
2abf49e1
MR
49802014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
4981
4982 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
4983 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
4984 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
4985 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
4986
f7088df3
SDJ
49872014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
4988
4989 * gdb.arch/stap-eval-lang-ada.S: Likewise.
4990 * gdb.arch/stap-eval-lang-ada.c: Likewise.
4991 * gdb.arch/stap-eval-lang-ada.exp: New file.
4992
4dc06805
YQ
49932014-10-14 Yao Qi <yao@codesourcery.com>
4994
4995 * gdb.mi/mi-var-child.c (nothing1): New function.
4996 (nothing2): New function.
4997 (do_children_tests): Set function pointers by nothing1 and
4998 nothing2.
4999 * gdb.mi/mi-var-child.exp: Step over new added statements.
5000 Update test to match the new output.
5001 * gdb.mi/var-cmd.c (nothing1): New function.
5002 (nothing2): New function.
5003 (do_children_tests): Set function pointers by nothing1 and
5004 nothing2.
5005 * gdb.mi/mi-var-display.exp: Update test to match output.
5006 Step to the line specified by $line_dct_nothing.
5007 Increase the number of lines to step.
5008
46a93de2
YQ
50092014-10-14 Yao Qi <yao@codesourcery.com>
5010
5011 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5012 tests.
5013 * gdb.mi/mi2-var-child.exp: Likewise.
5014
14ea52ee
DE
50152014-10-13 Doug Evans <dje@google.com>
5016
5017 * gdb.python/py-objfile.exp: Change name of file name test.
5018
e5c6e92b
DE
50192014-10-13 Doug Evans <dje@google.com>
5020
5021 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5022 from the start of the CU.
5023
c780cc2f
JK
50242014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5025 Yao Qi <yao@codesourcery.com>
5026
5027 Fix "save breakpoints" for "catch" command.
5028 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5029 Remove -nonewline. Match also the added "main" line.
5030
99894e11
JK
50312014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5032
5033 Fix "save breakpoints" for "disable $bpnum" command.
5034 * gdb.base/save-bp.c (main): Add label.
5035 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5036
6e1ac5a3
JK
50372014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5038
5039 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5040
754dd2b0
YQ
50412014-10-11 Yao Qi <yao@codesourcery.com>
5042
5043 * gdb.server/server-kill.exp: Execute command
5044 "set remote trace-status-packet on" before "tstatus".
5045
f90183d7
YQ
50462014-10-11 Yao Qi <yao@codesourcery.com>
5047
5048 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5049 (main): Call getppid.
5050 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5051 and continue to it. Read variable "server_pid".
5052
bf40a607
YQ
50532014-10-11 Yao Qi <yao@codesourcery.com>
5054
5055 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5056
052ca370
YQ
50572014-10-11 Yao Qi <yao@codesourcery.com>
5058
5059 * gdb.threads/thread-find.exp: Don't execute command
5060 "info threads".
5061 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5062 * gdb.threads/linux-dp.exp: Don't check the condition
5063 $threads_created equals to zero.
5064
3831839c
PA
50652014-10-10 Pedro Alves <palves@redhat.com>
5066
5067 * gdb.base/bigcore.exp: Remove references to IRIX.
5068 * gdb.base/funcargs.exp: Likewise.
5069 * gdb.base/interrupt.exp: Likewise.
5070 * gdb.base/mips_pro.exp: Likewise.
5071 * gdb.base/nodebug.exp: Likewise.
5072 * gdb.base/setvar.exp: Likewise.
5073 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5074
8b9a549d
PA
50752014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5076 Pedro Alves <palves@redhat.com>
5077
5078 PR symtab/14466
5079 * gdb.base/vdso-warning.c: New file.
5080 * gdb.base/vdso-warning.exp: New file.
5081
d48ba5e8
DE
50822014-10-02 Doug Evans <dje@google.com>
5083
5084 * gdb.base/structs.c (main): Don't run forever.
5085
2278c276
PA
50862014-10-02 Pedro Alves <palves@redhat.com>
5087
5088 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5089 (top level) <stop threads 1, stop threads 2>: Use it.
5090
b57bacec
PA
50912014-10-02 Pedro Alves <palves@redhat.com>
5092
5093 * gdb.threads/break-while-running.exp (test): Add new
5094 'update_thread_list' argument. Skip "info threads" if false.
5095 (top level): Add new 'update_thread_list' axis.
5096
13fd3ff3
PA
50972014-10-02 Pedro Alves <palves@redhat.com>
5098
5099 PR breakpoints/17431
5100 * gdb.base/execl-update-breakpoints.c: New file.
5101 * gdb.base/execl-update-breakpoints.exp: New file.
5102
0fec99e8
PA
51032014-10-01 Pedro Alves <palves@redhat.com>
5104
5105 * gdb.base/breakpoint-in-ro-region.c: New file.
5106 * gdb.base/breakpoint-in-ro-region.exp: New file.
5107
2ddf4301
SM
51082014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5109
5110 * gdb.mi/mi-exit-code.exp: New file.
5111 * gdb.mi/mi-exit-code.c: New file.
5112
6a5f3f43
YQ
51132014-09-30 Yao Qi <yao@codesourcery.com>
5114
5115 * lib/prelink-support.exp (build_executable_own_libs): Error if
5116 the target isn't native.
5117
345bcc73
YQ
51182014-09-30 Yao Qi <yao@codesourcery.com>
5119
5120 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5121 false.
5122
a25a5a45
PA
51232014-09-22 Pedro Alves <palves@redhat.com>
5124
5125 * gdb.threads/break-while-running.exp: New file.
5126 * gdb.threads/break-while-running.c: New file.
5127
00ba3162
YQ
51282014-09-19 Yao Qi <yao@codesourcery.com>
5129
5130 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5131 Invoke test. Restart GDB with --readnow and invoke test again.
5132
c3b7b696
YQ
51332014-09-19 Yao Qi <yao@codesourcery.com>
5134
5135 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5136 proc set_breakpoint_on_gcd_function. Invoke
5137 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5138 invoke set_breakpoint_on_gcd_function again.
5139
2b4fd423
DE
51402014-09-18 Doug Evans <dje@google.com>
5141
5142 * gdb.dwarf2/symtab-producer.exp: New file.
5143
a5947601
SDJ
51442014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5145
5146 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5147 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5148 * gdb.base/global-var-nested-by-dso.c: Likewise.
5149 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5150
91c19059
SDJ
51512014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5152 Pedro Alves <palves@redhat.com>
5153
5154 * gdb.base/watch-bitfields.exp: Pass string other than test file
5155 name to prepare_for_testing.
5156 (watch): New procedure.
5157 (expect_watchpoint): Use with_test_prefix.
5158 (top level): Factor out tests to ...
5159 (test_watch_location, test_regular_watch): ... these new
5160 procedures, and use with_test_prefix and gdb_continue_to_end.
5161
bb9d5f81
PP
51622014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5163
5164 PR breakpoints/12526
5165 * gdb.base/watch-bitfields.exp: New file.
5166 * gdb.base/watch-bitfields.c: New file.
5167
635856f5
PA
51682014-09-16 Pedro Alves <palves@redhat.com>
5169
5170 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5171 software and hardware addresses, not software address against
5172 itself.
5173
7280ceea
PA
51742014-09-16 Pedro Alves <palves@redhat.com>
5175
5176 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5177 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5178
428b16bd
PA
51792014-09-16 Pedro Alves <palves@redhat.com>
5180
5181 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5182 files.
5183 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5184 "*-*-vxworks*" throughout.
5185 * gdb.base/break.exp: Likewise.
5186 * gdb.base/default.exp: Likewise.
5187 * gdb.base/scope.exp: Likewise.
5188 * gdb.base/sepdebug.exp: Likewise.
5189 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5190 throughout.
5191 * gdb.base/run.c: Likewise.
5192 * gdb.base/sepdebug.c: Likewise.
5193 * gdb.hp/gdb.aCC/run.c: Likewise.
5194 * gdb.reverse/until-reverse.c: Likewise.
5195 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5196
666d413c
YQ
51972014-09-16 Yao Qi <yao@codesourcery.com>
5198
5199 * boards/local-remote-host-native.exp: New file.
5200
57cbd724
DE
52012014-09-14 Doug Evans <xdje42@gmail.com>
5202
5203 * gdb.threads/queue-signal.c (thread_count): New variable.
5204 (thread_count_mutex, thread_count_condvar): New variables.
5205 (incr_thread_count, wait_all_threads_running): New functions.
5206 (main): Wait for all threads to be in their thread functions.
5207
81219e53
DE
52082014-09-13 Doug Evans <xdje42@gmail.com>
5209
5210 * gdb.threads/queue-signal.c: New file.
5211 * gdb.threads/queue-signal.exp: New file.
5212
3714cea7
DE
52132014-09-13 Doug Evans <xdje42@gmail.com>
5214
5215 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5216 be consistent with what default_gdb_init uses.
5217 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5218 the plain text of the prompt. Add some logging printfs.
5219 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5220
fa43b1d7
PA
52212014-09-12 Pedro Alves <palves@redhat.com>
5222
5223 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5224 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5225 * gdb.arch/i386-size-overlap.exp: Likewise.
5226 * gdb.arch/i386-size.exp: Likewise.
5227 * gdb.arch/i386-unwind.exp: Likewise.
5228 * gdb.base/a2-run.exp: Likewise.
5229 * gdb.base/break.exp: Likewise.
5230 * gdb.base/charset.exp: Likewise.
5231 * gdb.base/chng-syms.exp: Likewise.
5232 * gdb.base/commands.exp: Likewise.
5233 * gdb.base/dbx.exp: Likewise.
5234 * gdb.base/find.exp: Likewise.
5235 * gdb.base/funcargs.exp: Likewise.
5236 * gdb.base/jit-simple.exp: Likewise.
5237 * gdb.base/reread.exp: Likewise.
5238 * gdb.base/sepdebug.exp: Likewise.
5239 * gdb.base/step-bt.exp: Likewise.
5240 * gdb.cp/mb-inline.exp: Likewise.
5241 * gdb.cp/mb-templates.exp: Likewise.
5242 * gdb.objc/basicclass.exp: Likewise.
5243 * gdb.threads/killed.exp: Likewise.
5244
9d9bf2df
EBM
52452014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5246
5247 PR tdep/17379
5248 * gdb.arch/powerpc-stackless.S: New file.
5249 * gdb.arch/powerpc-stackless.exp: New file.
5250
1cf2f1b0
JK
52512014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5252
5253 * gdb.base/attach.c: Include unistd.h.
5254 (main): Call alarm. Add label postloop.
5255 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5256 gdb_breakpoint, gdb_continue_to_breakpoint.
5257 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5258
98880d46
PA
52592014-09-11 Pedro Alves <palves@redhat.com>
5260
5261 PR gdb/17347
5262 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5263 * gdb.base/attach.exp (test_command_line_attach_run): New
5264 procedure.
5265 (top level): Call it.
5266
4c92ff2c
PA
52672014-09-11 Pedro Alves <palves@redhat.com>
5268
5269 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5270 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5271 (do_command_attach_tests): Use spawn_wait_for_attach.
5272 * gdb.base/solib-overlap.exp: Likewise.
5273 * gdb.multi/multi-attach.exp: Likewise.
5274 * gdb.python/py-prompt.exp: Likewise.
5275 * gdb.python/py-sync-interp.exp: Likewise.
5276 * gdb.server/ext-attach.exp: Likewise.
5277
3adc1a7d
GKB
52782014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5279
5280 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5281 command in testcase. Simplify testcase.
5282
96334934
JB
52832014-09-10 Joel Brobecker <brobecker@adacore.com>
5284
5285 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5286
eb479039
JB
52872014-09-10 Joel Brobecker <brobecker@adacore.com>
5288
5289 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5290
deede10c
JB
52912014-09-10 Joel Brobecker <brobecker@adacore.com>
5292
5293 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5294
7828a5f5
JB
52952014-09-10 Joel Brobecker <brobecker@adacore.com>
5296
5297 * gdb.dwarf2/dynarr-ptr.c: New file.
5298 * gdb.dwarf2/dynarr-ptr.exp: New file.
5299
33aeebcf
MR
53002014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5301
5302 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5303 of 30 rather than hardcoding 120 for a slow test case. Take the
5304 `gdb,timeout' target setting into account for this calculation.
5305 Don't extend the timeout for the test cases that don't need it.
5306
7b415901
MR
53072014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5308
5309 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5310 a factor of 2 for a slow test case. Take the `gdb,timeout'
5311 target setting into account for this calculation.
5312 * gdb.reverse/until-precsave.exp: Increase the timeout by
5313 a factor of 15 and 3 respectively rather than adding 120
5314 for a pair of slow test cases. Take the `gdb,timeout'
5315 target setting into account for this calculation.
5316
4a40f85a
MR
53172014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5318
5319 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5320 timeout, don't pass one down to gdb_expect.
5321 (gdb_expect): Rework timeout selection.
5322
09635af7
MR
53232014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5324
5325 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5326 exception on timeout.
5327 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5328 (gdbserver_start_extended): Catch any `gdbserver_start' error
5329 exceptions.
5330 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5331 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5332 `gdbserver_gdb_load' error exceptions.
5333
2bdd10b7
MR
53342014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5335
5336 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5337 120 on waiting for the TCP socket to open.
5338
316935f0
DE
53392014-09-09 Doug Evans <xdje42@gmail.com>
5340
5341 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5342 _caller_matches, _any_caller_is, _any_caller_matches.
5343
83740597
DE
53442014-09-09 Doug Evans <xdje42@gmail.com>
5345
5346 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5347
4c122fc3
YQ
53482014-09-09 Yao Qi <yao@codesourcery.com>
5349
5350 * gdb.mi/mi-var-display.exp: Set print symbol off.
5351
a9f116cb
GKB
53522014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5353
5354 PR gdb/17035
5355 * gdb.base/commands.exp: Add tests to verify user-defined
5356 commands with empty bodies.
5357 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5358 python commands in `show user command`.
5359 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5360 scheme commands in `show user command`.
5361
c75bd3a2
JK
53622014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5363
5364 PR python/17355
5365 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5366 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5367 * gdb.python/py-framefilter-invalidarg.exp: New file.
5368 * gdb.python/py-framefilter-invalidarg.py: New file.
5369
faa42425
DE
53702014-09-06 Doug Evans <xdje42@gmail.com>
5371
5372 PR 15276
5373 * gdb.python/py-caller-is.c: New file.
5374 * gdb.python/py-caller-is.exp: New file.
5375
474ca4f6
SDJ
53762014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5377
5378 PR gdb/17235
5379 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5380 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5381
eb0b0463
SDJ
53822014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5383
5384 PR fortran/17237
5385 * gdb.fortran/print-formatted.exp: New file.
5386 * gdb.fortran/print-formatted.f90: Likewise.
5387
5f3b99cf
SS
53882014-09-03 Sasha Smundak <asmundak@google.com>
5389
5390 * gdb.python/py-frame.exp: Test Frame.read_register.
5391
7d793aa9
SDJ
53922014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5393
5394 PR python/16699
5395 * gdb.python/py-completion.exp: New file.
5396 * gdb.python/py-completion.py: Likewise.
5397
fb0576e9
DE
53982014-08-28 Doug Evans <dje@google.com>
5399
5400 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5401 eax,etc. are live with values set by gdb and thus the compiler can't
5402 use them.
5403 * gdb.arch/i386-pseudo.c (main): Ditto.
5404
ee92b0dd
DE
54052014-08-27 Doug Evans <dje@google.com>
5406
5407 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5408
6649db35
DE
54092014-08-25 Doug Evans <dje@google.com>
5410
5411 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5412 (main): Ditto.
5413
564b7600
DE
54142014-08-25 Doug Evans <dje@google.com>
5415
5416 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5417
3881fb67
YQ
54182014-08-24 Yao Qi <yao@codesourcery.com>
5419
5420 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5421 symbol off.
5422 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5423
a05a36a5
DE
54242014-08-22 Doug Evans <dje@google.com>
5425
5426 PR 17276
5427 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5428 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5429 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5430
7c343b48
YQ
54312014-08-22 Yao Qi <yao@codesourcery.com>
5432
5433 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5434 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5435 * gdb.python/python.exp: Likewise. Use .py file on the host
5436 instead of the build.
5437
22fd09ae
JK
54382014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5439
5440 * gdb.threads/gcore-stale-thread.c: New file.
5441 * gdb.threads/gcore-stale-thread.exp: New file.
5442
a8454a7c
PA
54432014-08-21 Pedro Alves <palves@redhat.com>
5444
5445 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5446 * gdb.base/gcore-relro-pie.exp: Likewise.
5447 * gdb.base/gcore-relro.exp: Likewise.
5448 * gdb.base/gcore.exp: Likewise.
5449 * gdb.base/print-symbol-loading.exp: Likewise.
5450 * gdb.threads/gcore-thread.exp: Likewise.
5451 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5452
2a31c623
PA
54532014-08-20 Pedro Alves <palves@redhat.com>
5454 Jan Kratochvil <jan.kratochvil@redhat.com>
5455
5456 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5457 configure.
5458 (EXPECT): Handle READ1 being set.
5459 (all): Depend on EXTRA_RULES.
5460 (check-read1, expect-read1, read1.so, read1): New rules.
5461 * README (Testsuite Parameters): Document the READ1 make variable.
5462 (Race detection): New section.
5463 * configure: Regenerate.
5464 * configure.ac: If build==host==target, and running under a
5465 GNU/glibc system, add read1 to the extra Makefile rules.
5466 (EXTRA_RULES): AC_SUBST it.
5467 * lib/read1.c: New file.
5468
d36430db
JB
54692014-08-20 Joel Brobecker <brobecker@adacore.com>
5470
5471 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5472 the handling of variables declared as a typedef to an array
5473 which a DW_AT_data_location attribute.
5474
9a0dc9e3
PA
54752014-08-19 Andrew Burgess <aburgess@broadcom.com>
5476 Pedro Alves <palves@redhat.com>
5477
5478 PR symtab/14604
5479 PR symtab/14605
5480 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5481 gdb_test.
5482
0718a8da
PA
54832014-08-19 Pedro Alves <palves@redhat.com>
5484
5485 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5486
13b448cd
YQ
54872014-08-19 Yao Qi <yao@codesourcery.com>
5488
5489 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5490 right line.
5491
1cbf5077
DB
54922014-08-18 David Blaikie <dblaikie@gmail.com>
5493
5494 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5495
bf0fae19
JB
54962014-08-18 Joel Brobecker <brobecker@adacore.com>
5497
5498 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5499 attribute in array range.
5500
3c8c5dcc
JB
55012014-08-18 Joel Brobecker <brobecker@adacore.com>
5502
5503 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5504
e66d4446
SC
55052014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5506
5507 PR c++/17132
5508 * gdb.cp/pr17132.cc: New file.
5509 * gdb.cp/pr17132.exp: New file.
5510
940df408
SC
55112014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5512
5513 * gdb.python/py-xmethods.py (A_getarrayind)
5514 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5515 Use 'print' with function call syntax.
5516 (E_method_matcher.match): Fix tab vs space indentation mixup.
5517
ebcc6c3a
YQ
55182014-08-15 Yao Qi <yao@codesourcery.com>
5519
5520 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5521 false.
5522
775e0f04
YQ
55232014-08-15 Yao Qi <yao@codesourcery.com>
5524
5525 * gdb.cp/casts.exp: Set print symbol off.
5526 * gdb.cp/class2.exp: Likewise.
5527 * gdb.cp/overload.exp: Likewise.
5528 * gdb.cp/templates.exp: Likewise.
5529
d769e349
DE
55302014-08-11 Doug Evans <dje@google.com>
5531
5532 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5533 (test_load_shlib): Update.
5534
20c6f1e1
YQ
55352014-08-09 Yao Qi <yao@codesourcery.com>
5536
5537 * gdb.base/display.exp: Invoke is_address_zero_readable.
5538 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5539 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5540 * gdb.base/hbreak-unmapped.exp: Return if
5541 is_address_zero_readable returns true.
5542 * gdb.base/signest.exp: Likewise.
5543 * gdb.base/signull.exp: Likewise.
5544 * gdb.base/sigbpt.exp: Likewise.
5545 * gdb.guile/scm-disasm.exp: Do the test if
5546 is_address_zero_readable returns false.
5547 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5548 * gdb.python/py-arch.exp: Likewise.
5549 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5550 * lib/gdb.exp (is_address_zero_readable): New proc.
5551
5792e8e3
YQ
55522014-08-09 Yao Qi <yao@codesourcery.com>
5553
5554 PR testsuite/13443
5555 * gdb.mi/mi-var-display.exp: Make test messages unique.
5556
3cecbbbe
TT
55572014-08-04 Tom Tromey <tromey@redhat.com>
5558
5559 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5560 target 0".
5561
00b51ff5
TT
55622014-08-04 Tom Tromey <tromey@redhat.com>
5563
5564 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5565 "target_resume".
5566
6908c509
JB
55672014-08-01 Joel Brobecker <brobecker@adacore.com>
5568
5569 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5570 inner_vla_struct_object_size.
5571 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5572 as xfail.
5573
cc6563d2
PA
55742014-07-30 Pedro Alves <palves@redhat.com>
5575
5576 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5577 comment.
5578
7e09a223
YQ
55792014-07-29 Yao Qi <yao@codesourcery.com>
5580
5581 PR gdb/17206
5582 * gdb.base/until-nodebug.exp: New.
5583
7ebdbe92
DE
55842014-07-28 Doug Evans <xdje42@gmail.com>
5585
5586 PR guile/17203
5587 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5588 previously existing parameter, and previously ambiguously spelled
5589 parameter.
5590
fdb1adc6
WN
55912014-07-28 Will Newton <will.newton@linaro.org>
5592
5593 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5594
186fcde0
DE
55952014-07-26 Ludovic Courtès <ludo@gnu.org>
5596 Doug Evans <xdje42@gmail.com>
5597
5598 PR guile/17146
5599 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5600
70509625
PA
56012014-07-25 Pedro Alves <palves@redhat.com>
5602
5603 * gdb.threads/signal-command-handle-nopass.c: New file.
5604 * gdb.threads/signal-command-handle-nopass.exp: New file.
5605 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5606 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5607 * gdb.threads/signal-delivered-right-thread.c: New file.
5608 * gdb.threads/signal-delivered-right-thread.exp: New file.
5609
c3f814a1
PA
56102014-07-25 Pedro Alves <palves@redhat.com>
5611
5612 * gdb.base/double-prompt-target-event-error.exp
5613 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5614 match.
5615 (cancel_pagination_in_target_event): Rework double prompt
5616 detection.
5617 * gdb.base/paginate-after-ctrl-c-running.exp
5618 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5619 <return>' match.
5620 * gdb.base/paginate-bg-execution.exp
5621 (test_bg_execution_pagination_return)
5622 (test_bg_execution_pagination_cancel): Remove '-notransfer
5623 <return>' matches.
5624 * gdb.base/paginate-execution-startup.exp
5625 (test_fg_execution_pagination_return)
5626 (test_fg_execution_pagination_cancel): Remove '-notransfer
5627 <return>' matches.
5628 * gdb.base/paginate-inferior-exit.exp
5629 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5630 match.
5631 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5632 * lib/gdb.exp (pagination_prompt): Run text through
5633 string_to_regexp.
5634 (gdb_test_multiple): Match $pagination_prompt instead of
5635 "<return>".
5636 (string_to_regexp): Move to lib/gdb-utils.exp.
5637
e214cf6c
JK
56382014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5639
5640 * gdb.arch/amd64-entry-value-paramref.S: New file.
5641 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5642 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5643 * gdb.arch/amd64-optimout-repeat.S: New file.
5644 * gdb.arch/amd64-optimout-repeat.c: New file.
5645 * gdb.arch/amd64-optimout-repeat.exp: New file.
5646
17d0c5c8
JK
56472014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5648
5649 PR gdb/17170
5650 * gdb.base/statistics.exp: New file.
5651
b8b8facf
DE
56522014-07-17 Doug Evans <dje@google.com>
5653
74b49205 5654 PR gdb/17170
b8b8facf
DE
5655 * gdb.base/maint.exp: Update testing of per-command stats.
5656
1b5d0ab3
PA
56572014-07-16 Pedro Alves <palves@redhat.com>
5658
5659 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5660 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5661 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5662 (tfile_write_buf): New functions.
5663 (add_memory_block): Rewrite using the above.
5664 (adjust_function_address): New function.
5665 (FUNCTION_ADDRESS): New macro.
5666 (write_basic_trace_file): Remove short_x local, and use
5667 tfile_write_16. Change type of func_addr local to unsigned long
5668 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5669 here. Cast argument of add_memory_block to char pointer.
5670 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5671 (main): Remove parameters.
5672 * gdb.trace/tfile.exp: Remove nowarnings.
5673
4d974e88
SM
56742014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5675
5676 * gdb.base/debug-expr.exp: Test string evaluation with
5677 "debug expression" on.
5678
41e99568
PA
56792014-07-15 Pedro Alves <palves@redhat.com>
5680
5681 * gdb.base/reread.exp: Use clean_restart.
5682
487d9753
PL
56832014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5684
5685 * gdb.arch/avr-flash-qualifer.c: New.
5686 * gdb.arch/avr-flash-qualifer.exp: New.
5687
cc1c52ad
PA
56882014-07-14 Pedro Alves <palves@redhat.com>
5689
5690 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5691 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5692
1e973570
PA
56932014-07-14 Pedro Alves <palves@redhat.com>
5694
5695 * gdb.base/double-prompt-target-event-error.c: New file.
5696 * gdb.base/double-prompt-target-event-error.exp: New file.
5697
93d6eb10
PA
56982014-07-14 Pedro Alves <palves@redhat.com>
5699
5700 PR gdb/17072
5701 * gdb.base/paginate-inferior-exit.c: New file.
5702 * gdb.base/paginate-inferior-exit.exp: New file.
5703
0017922d
PA
57042014-07-14 Pedro Alves <palves@redhat.com>
5705
5706 PR gdb/17072
5707 * gdb.base/paginate-bg-execution.c: New file.
5708 * gdb.base/paginate-bg-execution.exp: New file.
5709
94696ad3
PA
57102014-07-14 Pedro Alves <palves@redhat.com>
5711
5712 PR gdb/17072
5713 * gdb.base/paginate-execution-startup.c: New file.
5714 * gdb.base/paginate-execution-startup.exp: New file.
5715 * lib/gdb.exp (pagination_prompt): New global.
5716 (default_gdb_spawn): New procedure, factored out from
5717 default_gdb_spawn.
5718 (default_gdb_start): Adjust to call default_gdb_spawn.
5719 (gdb_spawn): New procedure.
5720
bd293940
PA
57212014-07-14 Pedro Alves <palves@redhat.com>
5722
5723 * lib/gdb.exp (gdb_assert): New procedure.
5724 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
5725
c933f875
PA
57262014-07-14 Pedro Alves <palves@redhat.com>
5727
5728 * gdb.base/execution-termios.c: New file.
5729 * gdb.base/execution-termios.exp: New file.
5730
d98b7a16
TT
57312014-07-14 Tom Tromey <tromey@redhat.com>
5732
5733 * gdb.cp/vla-cxx.cc: New file.
5734 * gdb.cp/vla-cxx.exp: New file.
5735
548740d6
TT
57362014-07-14 Tom Tromey <tromey@redhat.com>
5737
5738 * gdb.reverse/rerun-prec.c: New file.
5739 * gdb.reverse/rerun-prec.exp: New file.
5740
a25eb028
MR
57412014-07-12 Maciej W. Rozycki <macro@mips.com>
5742 Maciej W. Rozycki <macro@codesourcery.com>
5743
5744 * lib/gdb-utils.exp: New file.
5745 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
5746 inline `gdb_init_command' processing.
5747 (gdb_start_cmd): Likewise.
5748 * lib/mi-support.exp (mi_run_cmd): Likewise.
5749 * README: Document `gdb_init_command' and `gdb_init_commands'.
5750
218c2655
JK
57512014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5752
5753 Fix false FAIL running under a very long directory name.
5754 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
5755 and "set print elements 10000". Twice.
5756
5401fde3
YQ
57572014-07-11 Yao Qi <yao@codesourcery.com>
5758
5759 * gdb.base/exprs.exp: "set print symbol off".
5760
e76126e8
PA
57612014-07-11 Pedro Alves <palves@redhat.com>
5762
5763 * gdb.threads/kill.c: New file.
5764 * gdb.threads/kill.exp: New file.
5765
2d6f0de6
YQ
57662014-07-10 Yao Qi <yao@codesourcery.com>
5767
5768 * gdb.trace/tfile.c (write_basic_trace_file)
5769 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
5770 address written to trace file.
5771
7180e04a
PA
57722014-07-09 Pedro Alves <palves@redhat.com>
5773
5774 * gdb.base/attach-wait-input.exp: New file.
5775 * gdb.base/attach-wait-input.c: New file.
5776
9a9a7608
AB
57772014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5778
5779 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
5780 setting up test structures.
5781 (main): Call new test function.
5782 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
5783 test function, continue into test function and walk test
5784 structures.
5785
161ac41e
YQ
57862014-07-02 Yao Qi <yao@codesourcery.com>
5787
5788 * gdb.trace/entry-values.c: Define labels 'foo_start' and
5789 'bar_start' at the beginning of functions 'foo' and 'bar'
5790 respectively.
5791 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
5792 instead of 'foo' and 'bar'.
5793
1f267ae3
MM
57942014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5795
5796 * gdb.btrace/segv.exp: New.
5797 * gdb.btrace/segv.c: New.
5798
2b239efb
LM
57992014-07-02 Luis Machado <lgustavo@codesourcery.com>
5800
5801 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
5802 instruction.
5803
cf363f18
MW
58042014-06-30 Mark Wielaard <mjw@redhat.com>
5805
5806 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
5807 vulture, vilify, villar): New volatile array constants.
5808 (vindictive, vegetation): New const volatile array constants.
5809 * gdb.base/volatile.exp: Test volatile and const volatile array
5810 types.
5811
aebf9d24
AA
58122014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5813
5814 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
5815 target lacks support for awatch, rwatch, or hbreak.
5816
b67a2c6f
YQ
58172014-06-27 Yao Qi <yao@codesourcery.com>
5818
5819 * gdb.multi/dummy-frame-restore.exp: New.
5820 * gdb.multi/dummy-frame-restore.c: New.
5821
aef92902
MM
58222014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5823
5824 * gdb.btrace/gcore.exp: New.
5825
8e9db26e
PA
58262014-06-23 Pedro Alves <palves@redhat.com>
5827
5828 * gdb.base/watchpoint-reuse-slot.c: New file.
5829 * gdb.base/watchpoint-reuse-slot.exp: New file.
5830
70afc5b7
SC
58312014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5832
5833 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
5834 progspace's filename in 'info', 'enable' and 'disable' command
5835 tests.
5836
b972bd9c
JK
58372014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5838
5839 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
5840 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5841 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
5842
125f8a3d
GB
58432014-06-20 Gary Benson <gbenson@redhat.com>
5844
5845 * gdb.arch/i386-avx.exp: Fix include file location.
5846 * gdb.arch/i386-sse.exp: Likewise.
5847
3ed9baed
IB
58482014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5849
5850 * gdb.dlang/expression.exp: New file.
5851
034f788c
PA
58522014-06-19 Pedro Alves <palves@redhat.com>
5853
5854 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
5855 out from ...
5856 (top level): ... here. Iterate running tests under different
5857 scheduler-locking settings.
5858
45371d0c
LM
58592014-06-18 Luis Machado <lgustavo@codesourcery.com>
5860
5861 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
5862 to DW_FORM_addr and use non-zero addresses.
5863
5d376983
SC
58642014-06-18 Siva Chandra Reddy <sivachandra@google.com>
5865
5866 PR gdb/17017
5867 * gdb.python/py-xmethods.cc: Add global function call counters and
5868 increment them in their respective functions. Remove "cout"
5869 statements.
5870 * gdb.python/py-xmethods.exp: Make tests check the global function
5871 call counters instead of depending on inferior IO.
5872
a1aa2221
LM
58732014-06-18 Don Breazeal <donb@codesourcery.com>
5874
5875 * gdb.base/foll-fork.exp (default_fork_parent_follow):
5876 Deleted procedure.
5877 (explicit_fork_parent_follow): Deleted procedure.
5878 (explicit_fork_child_follow): Deleted procedure.
5879 (test_follow_fork): New procedure.
5880 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 5881 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
5882 procedure calls.
5883
0fc05997
YQ
58842014-06-17 Yao Qi <yao@codesourcery.com>
5885
5886 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
5887 CP1252.
5888
70795c52
LM
58892014-06-17 Luis Machado <lgustavo@codesourcery.com>
5890
5891 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
5892 Initialize ptr and S explicitly.
5893 (skip_type_update_when_not_use_rtti_test): Likewise.
5894
6be47f0c
KS
58952014-06-16 Keith Seitz <keiths@redhat.com>
5896
5897 PR mi/15863
5898 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
5899 the inferior is started.
5900
d03de421
PA
59012014-06-16 Pedro Alves <palves@redhat.com>
5902
5903 * gdb.base/break-main-file-remove-fail.c: New file.
5904 * gdb.base/break-main-file-remove-fail.exp: New file.
5905 * gdb.base/break-unload-file.exp: Use build_executable instead of
5906 prepare_for_testing.
5907 (test_break): New parameter "initial_load". Handle it.
5908 (top level): Add initial_load cmdline/file axis.
5909
f9579b99
TT
59102014-06-12 Tom Tromey <tromey@redhat.com>
5911
5912 * gdb.base/completion.exp: Don't use directory name in test.
5913
3657956b
GB
59142014-06-09 Gary Benson <gbenson@redhat.com>
5915
5916 * gdb.base/sigall.c [Functions to send signals]: Reorder to
5917 separate the always-available ANSI-standard signals from the
5918 signals that require checking.
5919 (main): Likewise.
5920 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
5921 Likewise.
5922 (main): Likewise.
5923
4186eb54
KS
59242014-06-07 Keith Seitz <keiths@redhat.com>
5925
5926 Revert:
5927 PR c++/16253
5928 * gdb.cp/var-tag.cc: New file.
5929 * gdb.cp/var-tag.exp: New file.
5930 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5931 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5932 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5933 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5934
25326a28 59352014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
5936
5937 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
5938
829155c9
PA
59392014-06-06 Pedro Alves <palves@redhat.com>
5940
5941 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
5942 in target debug output instead of looking at RSP packets,
5943 disabling the test on any target that uses hardware stepping.
5944 Update comments.
5945
61c8d22e
PA
59462014-06-06 Pedro Alves <palves@redhat.com>
5947
5948 * gdb.base/break-unload-file.exp: Fix typo.
5949
d9a47287
YQ
59502014-06-06 Yao Qi <yao@codesourcery.com>
5951
5952 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
5953 from "jit_function" to "^jit_function".
5954
e5e01dbf
YQ
59552014-06-06 Yao Qi <yao@codesourcery.com>
5956
5957 * gdb.base/async.c (foo): Add one statement.
5958 * gdb.base/async.exp: Get the next instruction address and
5959 match the output of "nexti" by instruction address. Match
5960 the hex address in the output of "finish".
5961
73ba372c
GB
59622014-06-06 Gary Benson <gbenson@redhat.com>
5963
5964 * gdb.base/call-signals.c: Remove preprocessor conditionals
5965 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
5966 SIGSEGV and SIGTERM.
5967 * gdb.base/sigall.c: Likewise.
5968 * gdb.base/unwindonsignal.c: Likewise.
5969 * gdb.reverse/sigall-reverse.c: Likewise.
5970
831517df
YQ
59712014-06-06 Yao Qi <yao@codesourcery.com>
5972
5973 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
5974 readable, skip the test.
5975
b8b91e98
YQ
59762014-06-06 Yao Qi <yao@codesourcery.com>
5977
5978 * gdb.threads/staticthreads.c (thread_function): Move the line
5979 setting breakpoint on forward.
5980 * gdb.threads/staticthreads.exp: Update comments.
5981
fb934770
LC
59822014-06-05 Ludovic Courtès <ludo@gnu.org>
5983
5984 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
5985 "history-append! type error".
5986
6ef284bd
SM
59872014-06-05 Simon Marchi <simon.marchi@ericsson.com>
5988
5989 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
5990 erroneous dprintf expected input.
5991
a872e241
DE
59922014-06-04 Doug Evans <xdje42@gmail.com>
5993
5994 * gdb.guile/scm-generics.exp: Delete.
5995
16f691fb
DE
59962014-06-04 Doug Evans <xdje42@gmail.com>
5997
5998 * gdb.guile/scm-breakpoint.exp: Update.
5999 Add tests for breakpoint registration.
6000
012370f6
TT
60012014-06-04 Tom Tromey <tromey@redhat.com>
6002
6003 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6004 VLA-in-union.
6005 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6006 inner_vla_struct, vla_union types. Initialize objects of those
6007 types and compute their sizes.
6008
9f5a4cef
HZ
60092014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6010 Hui Zhu <hui@codesourcery.com>
6011
6012 * gdb.base/fileio.exp: Add test for shell not available as well as
6013 available.
6014 * gdb.base/fileio.c (test_system): Check for shell twice.
6015
90a45c4d
YQ
60162014-06-04 Yao Qi <yao@codesourcery.com>
6017
6018 * gdb.base/auto-connect-native-target.exp: Remove redundant
6019 space from the regexp pattern.
6020
70017e41
YQ
60212014-06-04 Yao Qi <yao@codesourcery.com>
6022
6023 * gdb.base/default.exp: Replace "child" with "native" in
6024 regexp pattern.
6025
883964a7
SC
60262014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6027
6028 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6029 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6030 * gdb.python/py-xmethods.py: Python script supporting the
6031 new testcase and tests.
6032
ef370185
JB
60332014-06-03 Joel Brobecker <brobecker@adacore.com>
6034 Pedro Alves <palves@redhat.com>
6035
6036 PR breakpoints/17000
6037 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6038 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6039
1e2ccb61
BM
60402014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6041
6042 * gdb.base/subst.exp: Add tests to verify partial path matching
6043 output.
6044
c6ec5ab2
PA
60452014-06-03 Pedro Alves <palves@redhat.com>
6046
6047 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6048 target that doesn't use software single-stepping.
6049
835c559f
PA
60502014-06-03 Pedro Alves <palves@redhat.com>
6051
6052 PR breakpoints/17000
6053 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6054 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6055
06eb1586
DE
60562014-06-02 Doug Evans <xdje42@gmail.com>
6057
6058 * gdb.guile/scm-parameter.exp: New file.
6059
e698b8c4
DE
60602014-06-02 Doug Evans <xdje42@gmail.com>
6061
6062 * gdb.guile/scm-cmd.c: New file.
6063 * gdb.guile/scm-cmd.exp: New file.
6064
ded03782
DE
60652014-06-02 Doug Evans <xdje42@gmail.com>
6066
6067 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6068 pretty-printer lookup.
6069 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6070 (make-pp_s-printer): Call it.
6071 (make-pretty-printer-from-dict): New function.
6072 (lookup-pretty-printer-maker-from-dict): New function.
6073 (*pretty-printer*): Simplify.
6074 (make-objfile-pp_s-printer): New function.
6075 (install-objfile-pretty-printers!): New function.
6076 (make-progspace-pp_s-printer): New function.
6077 (install-progspace-pretty-printers!): New function.
6078 * gdb.guile/scm-progspace.c: New file.
6079 * gdb.guile/scm-progspace.exp: New file.
6080
41fac0cf
PA
60812014-06-02 Pedro Alves <palves@redhat.com>
6082
6083 * gdb.base/dprintf-bp-same-addr.c: New file.
6084 * gdb.base/dprintf-bp-same-addr.exp: New file.
6085
96ae5695
EBM
60862014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6087
6088 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6089 * gdb.arch/powerpc-power.s: Likewise.
6090
da02b3a8
JB
60912014-06-02 Joel Brobecker <brobecker@adacore.com>
6092
6093 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6094
c72b2e7b
YQ
60952014-06-01 Yao Qi <yao@codesourcery.com>
6096
6097 * gdb.base/watchpoint.exp (test_watch_location): Check null
6098 pointer can be dereferenced. If not, do the test, otherwise
6099 skip it.
6100
53e8a631
AB
61012014-05-30 Andrew Burgess <aburgess@broadcom.com>
6102
6103 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6104 results.
6105 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6106
938f0e2f
AB
61072014-05-30 Andrew Burgess <aburgess@broadcom.com>
6108
6109 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6110 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6111 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6112 * gdb.arch/amd64-invalid-stack-top.c: New file.
6113 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6114
9ba6657a
PA
61152014-05-30 Pedro Alves <palves@redhat.com>
6116
6117 PR breakpoints/17000
6118 * gdb.base/sss-bp-on-user-bp.c: New file.
6119 * gdb.base/sss-bp-on-user-bp.exp: New file.
6120
522c09bf
DB
61212014-05-30 David Blaikie <dblaikie@gmail.com>
6122
6123 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6124 gnu_inline semantics via attribute.
6125 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6126 source explicitly specifies the required semantics.
6127
bf4ef81e
MR
61282014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6129
6130 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6131
329ea579
PA
61322014-05-29 Pedro Alves <palves@redhat.com>
6133 Tom Tromey <tromey@redhat.com>
6134
6135 * gdb.base/async-shell.exp: Don't enable target-async.
6136 * gdb.base/async.exp
6137 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6138 parameter. Adjust.
6139 (top level): Don't test with "target-async".
6140 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6141 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6142 * gdb.base/inferior-died.exp: Don't enable target-async.
6143 * gdb.base/interrupt-noterm.exp: Likewise.
6144 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6145 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6146 * gdb.mi/mi-nonstop.exp: Likewise.
6147 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6148 * gdb.mi/mi-nsintrall.exp: Likewise.
6149 * gdb.mi/mi-nsmoribund.exp: Likewise.
6150 * gdb.mi/mi-nsthrexec.exp: Likewise.
6151 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6152 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6153 * gdb.python/py-evsignal.exp: Don't enable target-async.
6154 * gdb.python/py-evthreads.exp: Likewise.
6155 * gdb.python/py-prompt.exp: Likewise.
6156 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6157 * gdb.server/solib-list.exp: Don't enable target-async.
6158 * gdb.threads/thread-specific-bp.exp: Likewise.
6159 * lib/mi-support.exp: Adjust to use mi-async.
6160
fd664c91
PA
61612014-05-29 Pedro Alves <palves@redhat.com>
6162
6163 PR gdb/13860
6164 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6165 reason, even in sync mode.
6166
251bde03
PA
61672014-05-29 Pedro Alves <palves@redhat.com>
6168 Hui Zhu <hui@codesourcery.com>
6169
6170 PR PR15693
6171 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6172 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6173 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6174 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6175
7f3c0343
JB
61762014-05-28 Joel Brobecker <brobecker@adacore.com>
6177
6178 * config/monitor.exp (gdb_target_monitor): Replace use of
6179 "set remotebaud" by "set serial baud".
6180
b2715b27
AW
61812014-05-26 Andy Wingo <wingo@igalia.com>
6182
6183 * gdb.guile/scm-breakpoint.exp:
6184 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6185 properties instead of gdb-object-properties.
6186
498a4489
YQ
61872014-05-26 Yao Qi <yao@codesourcery.com>
6188
6189 * gdb.server/no-thread-db.exp: Specify source file name
6190 explicitly when setting a breakpoint.
6191
589fdceb
MM
61922014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6193
6194 * gdb.btrace/vdso.c: New.
6195 * gdb.btrace/vdso.exp: New.
6196
e9089e05
MM
61972014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6198
6199 * gdb.base/gcore.exp (capture_command_output): Move ...
6200 * lib/gdb.exp (capture_command_output): ... here.
6201
67b5c0c1
MM
62022014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6203
6204 * gdb.btrace/data.exp: Test memory access during btrace replay.
6205
a2199296
SM
62062014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6207
6208 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6209
17b2616c
PA
62102014-05-21 Pedro Alves <palves@redhat.com>
6211
6212 PR gdb/13860
6213 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6214 (top level): Test that output related to execution commands is
6215 sent to the console with CLI commands, but not with MI commands.
6216 Test that breakpoint events are always mirrored to the console.
6217 Also expect the new source line to be output after a "next" in
6218 async mode too. Make it a pass/fail test.
6219 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6220 output.
6221 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6222
5166082f
PA
62232014-05-21 Pedro Alves <palves@redhat.com>
6224
6225 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6226 Use them to test variations of "list" after reaching a breakpoint.
6227 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6228 Test "list" with listsize 10 after reaching a breakpoint.
6229 * gdb.python/python.exp (decode_line current location line
6230 number): Adjust expected line number.
6231
2f25d70f
SM
62322014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6233
6234 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6235 behavior for $args, pass it directly to "run".
6236
ff604a67
MR
62372014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6238
6239 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6240 30000 to 65536.
6241
6a3cb8e8
PA
62422014-05-21 Pedro Alves <palves@redhat.com>
6243
6244 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6245 auto-connect-native-target off".
6246 * gdb.base/auto-connect-native-target.c: New file.
6247 * gdb.base/auto-connect-native-target.exp: New file.
6248
4ebfc96e
PA
62492014-05-21 Pedro Alves <palves@redhat.com>
6250
6251 * gdb.base/default.exp: Test "target native" instead of "target
6252 child".
6253
36d46afb
MW
62542014-05-21 Mark Wielaard <mjw@redhat.com>
6255
6256 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6257
5876f503
JK
62582014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6259
6260 Fix TLS access for -static -pthread.
6261 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6262 <HAVE_TLS> (thread_function, main): Initialize it.
6263 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6264 Add clean_restart.
6265 <$have_tls != "">: Check TLSVAR.
6266
0256a6ac
PA
62672014-05-21 Pedro Alves <palves@redhat.com>
6268
6269 * gdb.base/dcache-line-read-error.c: New.
6270 * gdb.base/dcache-line-read-error.exp: New.
6271
936d2992
PA
62722014-05-20 Pedro Alves <palves@redhat.com>
6273
6274 * gdb.base/compare-sections.c: New file.
6275 * gdb.base/compare-sections.exp: New file.
6276
802e8e6d
PA
62772014-05-20 Pedro Alves <palves@redhat.com>
6278
6279 * gdb.base/break-idempotent.c: New file.
6280 * gdb.base/break-idempotent.exp: New file.
6281
e59fa00f
MM
62822014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6283
6284 * gdb.btrace/nohist.exp: New.
6285
8b696e31
YQ
62862014-05-20 Yao Qi <yao@codesourcery.com>
6287
6288 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6289 gdb.reverse directory and gdb_reverse_timeout exists in board
6290 setting.
6291 * README: Document gdb_reverse_timeout.
6292
73c9764f
YQ
62932014-05-20 Yao Qi <yao@codesourcery.com>
6294
6295 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6296 'test_file_name'. Treat args as a string instead of a list.
6297 (gdb_init): Rename argument 'args' by 'test_file_name'.
6298
f1f4348a
JK
62992014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6300
6301 * gdb.arch/powerpc-power.exp: New file.
6302 * gdb.arch/powerpc-power.s: New file.
6303
0dbe70ce
DE
63042014-05-16 Doug Evans <dje@google.com>
6305
6306 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
6307 * gdb.base/completion.exp: Check that all expected files exist
6308 before doing file completion.
0dbe70ce 6309
8d551b02
DE
63102014-05-16 Doug Evans <dje@google.com>
6311
6312 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6313 Update.
6314 (do_syscall_tests_without_xml): Update.
6315
73eb7709
PA
63162014-05-16 Pedro Alves <palves@redhat.com>
6317
6318 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6319 instead of "unknown output after running".
6320
3fae92fc
YQ
63212014-05-16 Yao Qi <yao@codesourcery.com>
6322
6323 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6324 file1.txt from host at the end.
6325 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6326
c2b2ccc5
DE
63272014-05-15 Doug Evans <dje@google.com>
6328
6329 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6330 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6331 loading file. Add test for TU lookup.
6332
8c217a4b
SM
63332014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6334
6335 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6336 calling "-exec-arguments" or "set args" before running the
6337 inferior.
6338
3deb39c6
SM
63392014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6340
6341 * lib/mi-support.exp (mi_expect_stop): Expect message for
6342 inferiors that exit with non-zero exit code.
6343
71a79f8c
YQ
63442014-05-14 Yao Qi <yao@codesourcery.com>
6345
6346 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6347 match absolute path on remote host.
6348 (test_file_list_exec_source_files): Remove "/" from the
6349 pattern.
6350
f23fcd46
YQ
63512014-05-14 Yao Qi <yao@codesourcery.com>
6352
6353 * boards/local-remote-host-notty.exp (${board}_file): New
6354 proc.
6355
9404b58f
KM
63562014-05-07 Kyle McMartin <kyle@redhat.com>
6357
6358 Pushed by Joel Brobecker <brobecker@adacore.com>.
6359 * gdb.arch/aarch64-atomic-inst.c: New file.
6360 * gdb.arch/aarch64-atomic-inst.exp: New file.
6361
5e45f04c
YQ
63622014-05-07 Yao Qi <yao@codesourcery.com>
6363
6364 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6365 in current context" too.
6366
c888a17d
KS
63672014-05-05 Keith Seitz <keiths@redhat.com>
6368
6369 * gdb.linespec/ls-dollar.exp: Add test for linespec
6370 file:convenience_variable.
6371
290a839c
YQ
63722014-05-05 Yao Qi <yao@codesourcery.com>
6373
6374 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6375 traceframes into tfile and ctf trace files. Read data from
6376 trace file and test collected data.
6377 (gdb_collect_locals_test): Likewise.
6378 (gdb_unavailable_registers_test): Likewise.
6379 (gdb_unavailable_floats): Likewise.
6380 (gdb_collect_globals_test): Likewise.
6381 (top-level): Append "ctf" to trace_file_targets if GDB
6382 supports.
6383
b5262cd0
YQ
63842014-05-05 Yao Qi <yao@codesourcery.com>
6385
6386 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6387 code to ...
6388 (gdb_collect_args_test_1): ... it. New proc.
6389 (gdb_collect_locals_test): Move some code to ...
6390 (gdb_collect_locals_test_1): ... it. New proc.
6391 (gdb_unavailable_registers_test): Move some code to ...
6392 (gdb_unavailable_registers_test_1): ... it. New proc.
6393 (gdb_unavailable_floats): Move some code to ...
6394 (gdb_unavailable_floats_1): ... it. New proc.
6395
30a1e6cc
SDJ
63962014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6397
6398 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6399 probes to test for bitness recognition.
6400 * gdb.arch/amd64-stap-optional-prefix.exp
6401 (test_probe_value_without_reg): New procedure.
6402 Add code to test for different kinds of bitness.
6403
f33da99a
SDJ
64042014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6405
6406 PR breakpoints/16889
6407 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6408 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6409
5b80f00d
PA
64102014-05-01 Pedro Alves <palves@redhat.com>
6411
6412 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6413 gdb_file_cmd if no file is specified.
6414 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6415 last_loaded_file to set the remote exec-file.
6416
f8c2a73c
PA
64172014-05-01 Pedro Alves <palves@redhat.com>
6418
6419 * boards/local-remote-host.exp: New file.
6420
be6e8ac7
PA
64212014-05-01 Pedro Alves <palves@redhat.com>
6422
6423 * boards/local-remote-host.exp: Rename to ...
6424 * boards/local-remote-host-notty.exp: ... this.
6425
cac0dc8f
JB
64262014-04-28 Joel Brobecker <brobecker@adacore.com>
6427
6428 * gdb.ada/dyn_arrayidx: New testcase.
6429
9730e6cc
YQ
64302014-04-26 Yao Qi <yao@codesourcery.com>
6431
6432 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6433 and compute the length of function main. Save it in
6434 $main_length.
6435 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6436 (top-level): Use gdb_compile to compile objects into
6437 executable and restart GDB. Remove invocation to
6438 prepare_for_testing.
6439
7ae1a6a6
PA
64402014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6441 Pedro Alves <palves@redhat.com>
6442
6443 PR server/16255
6444 * gdb.multi/multi-attach.c: New file.
6445 * gdb.multi/multi-attach.exp: New file.
6446
4082afcc
PA
64472014-04-25 Pedro Alves <palves@redhat.com>
6448
6449 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6450 user.
6451 (top level): Test that "set remote conditional-breakpoints-packet
6452 off" works as intended.
6453 * gdb.base/dprintf.exp: Test that "set remote
6454 breakpoint-commands-packet off" works as intended.
6455 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6456 New function.
6457 (top level): Call it.
6458 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6459 remote fast-tracepoints-packet off" works as intended.
6460 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6461 * lib/gdb.exp (gdb_is_target_remote): ... here.
6462
2abc3f8d
DB
64632014-04-24 David Blaikie <dblaikie@gmail.com>
6464
6465 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6466 ensure clang would not discard them.
6467 * gdb.base/gdbvars.c: Ditto.
6468 * gdb.base/memattr.c: Ditto.
6469 * gdb.base/whatis.c: Ditto.
6470 * gdb.python/py-prettyprint.c: Ditto.
6471 * gdb.trace/actions.c: Ditto.
6472 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6473 ensure clang would not discard it.
6474
bfd39632
DB
64752014-04-24 David Blaikie <dblaikie@gmail.com>
6476
6477 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6478 clang to emit the full definition of type required by the test
6479 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6480
22842ff6
DB
64812014-04-24 David Blaikie <dblaikie@gmail.com>
6482
6483 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6484 coax Clang into emitting the definition of the type.
6485 * gdb.cp/pr10728-x.h (y): Ditto.
6486 * gdb.cp/pr10728-y.cc (y): Ditto.
6487
c2e827ad
DB
64882014-04-24 David Blaikie <dblaikie@gmail.com>
6489
6490 * gdb.base/label.exp: XFAIL label related tests under Clang.
6491 * gdb.cp/cplabel.exp: Ditto.
6492 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6493 under Clang those using labels.
6494
4c2d33e7
YQ
64952014-04-25 Yao Qi <yao@codesourcery.com>
6496
6497 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6498 double_label.
6499 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6500 partial_label and double_label.
6501
56083b99
DB
65022014-04-24 David Blaikie <dblaikie@gmail.com>
6503
6504 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6505
25d4e99d
DB
65062014-04-24 David Blaikie <dblaikie@gmail.com>
6507
6508 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6509 of the function to work across GCC and Clang.
6510 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6511 pointer types (const void ** const V void **).
6512
01f9f808
MS
65132014-04-24 Michael Sturm <michael.sturm@mintel.com>
6514 Walfred Tedeschi <walfred.tedeschi@intel.com>
6515
6516 * Makefile.in (EXECUTABLES): Added i386-avx512.
6517 * gdb.arch/i386-avx512.c: New file.
6518 * gdb.arch/i386-avx512.exp: Likewise.
6519
4b48d439
KS
65202014-04-23 Keith Seitz <keiths@redhat.com>
6521
6522 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6523 (mi_make_breakpoint_table): New procedure.
6524 (mi_create_breakpoint): Use mi_make_breakpoint
6525 and return the result.
6526 (mi_make_breakpoint): New procedure.
6527 (mi_build_kv_pairs): New procedure.
6528
6529 * gdb.mi/mi-break.exp: Remove unused globals,
6530 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6531 All callers updated.
6532 * gdb.mi/mi-dprintf.exp: Use variable to track command
6533 number.
6534 Update all callers of mi_create_breakpoint and use
6535 mi_make_breakpoint_table.
6536 Remove any unused global variables.
6537 * gdb.mi/mi-nonstop.exp: Likewise.
6538 * gdb.mi/mi-nsintrall.exp: Likewise.
6539 * gdb.mi/mi-nsmoribund.exp: Likewise.
6540 * gdb.mi/mi-nsthrexec.exp: Likewise.
6541 * gdb.mi/mi-reverse.exp: Likewise.
6542 * gdb.mi/mi-simplerun.exp: Likewise.
6543 * gdb.mi/mi-stepn.exp: Likewise.
6544 * gdb.mi/mi-syn-frame.exp: Likewise.
6545 * gdb.mi/mi-until.exp: Likewise.
6546 * gdb.mi/mi-var-cp.exp: Likewise.
6547 * gdb.mi/mi-var-display.exp: Likewise.
6548 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6549 * gdb.mi/mi2-var-child.exp: Likewise.
6550 * gdb.mi/mi-vla-c99.exp: Likewise.
6551 * lib/mi-support.exp: Likewise.
6552
6553 From Ian Lance Taylor <iant@cygnus.com>:
6554 * lib/gdb.exp (parse_args): New procedure.
6555
08351840
PA
65562014-04-23 Pedro Alves <palves@redhat.com>
6557
6558 * gdb.base/break-unload-file.c: New file.
6559 * gdb.base/break-unload-file.exp: New file.
6560 * gdb.base/sym-file-lib.c (baz): New function.
6561 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6562 field.
6563 (load): Store the segment's mapped size.
6564 (unload): New function.
6565 (unload_shlib): New function.
6566 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6567 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6568 set a breakpoint at baz, and call it.
6569 * gdb.base/sym-file.exp: New tests for stale breakpoint
6570 instructions.
6571
076855f9
PA
65722014-04-23 Pedro Alves <palves@redhat.com>
6573
6574 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6575 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6576 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6577 * gdb.base/hbreak-unmapped.c: New file.
6578 * gdb.base/hbreak-unmapped.exp: New file.
6579 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6580 * lib/gdb.exp (gdb_is_target_remote): ... here.
6581
483805cf
PA
65822014-04-22 Pedro Alves <palves@redhat.com>
6583
6584 * gdb.base/consecutive-step-over.c: New file.
6585 * gdb.base/consecutive-step-over.exp: New file.
6586
06d97543
PA
65872014-04-22 Pedro Alves <palves@redhat.com>
6588
6589 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6590 instead of send_gdb/gdb_expect.
6591
b4429ea2
YQ
65922014-04-22 Yao Qi <yao@codesourcery.com>
6593
6594 * lib/trace-support.exp (generate_tracefile): New procedure.
6595 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6596 return 0.
6597 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6598 if generate_tracefile returns 1.
6599
51d48146
PA
66002014-04-18 Tom Tromey <palves@redhat.com>
6601 Pedro alves <tromey@redhat.com>
6602
6603 PR backtrace/15558
6604 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6605 with a backtrace limit.
6606 * gdb.python/py-frame-inline.exp: Test running to an inline
6607 function with a backtrace limit, and printing the newest frame.
6608 * gdb.python/py-frame-inline.c (main): Call f.
6609
bd1dce5f
MS
66102014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6611
6612 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6613
40d1a503
MS
66142014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6615
6616 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6617 Drop prefix from unsupported source file path.
6618
389b98f7
YQ
66192014-04-17 Yao Qi <yao@codesourcery.com>
6620
6621 * lib/gdb.exp (with_target_charset): New proc.
6622 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6623 with_target_charset.
6624 (test_print_strings): Likewise.
6625 (test_repeat_bytes): Likewise.
6626 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6627 for some tests.
6628
22869d73
KS
66292014-04-16 Keith Seitz <keiths@redhat.com>
6630
6631 PR gdb/15827
6632 * gdb.dwarf2/corrupt.c: New file.
6633 * gdb.dwarf2/corrupt.exp: New file.
6634
c4f87ca6
KS
66352014-04-16 Keith Seitz <keiths@redhat.com>
6636
6637 PR c++/16597
6638 * gdb.cp/namelessclass.cc: New file.
6639 * gdb.cp/namelessclass.exp: New file.
6640 * gdb.cp/namelessclass.S: New file.
6641
ab19de87
DE
66422014-04-16 Doug Evans <dje@google.com>
6643
6644 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6645 Add comment.
6646 (gdbserver_default_get_comm_port): New function.
6647 (gdbserver_start): Check if board file provided
6648 "gdbserver,get_comm_port" and use it if so.
6649 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6650 (gdb,socketport): Set to "stdio".
6651 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6652 (stdio_gdbserver_template): Delete.
6653 (${board}_get_remote_address): Update.
6654 (${board}_build_remote_cmd): Delete.
6655 (${board}_get_comm_port): New function.
6656 (${board}_spawn): Update.
6657 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6658 Delete.
6659 (${board}_get_remote_address): Update.
6660 (${board}_get_comm_port): New function.
6661
fc98a809
AB
66622014-04-16 Andrew Burgess <aburgess@broadcom.com>
6663
6664 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6665 appearing in any order.
6666
87fd9e6e
DE
66672014-04-15 Doug Evans <dje@google.com>
6668
6669 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6670 uninitialized value of "description".
6671
099fc3ea
KS
66722014-04-15 Keith Seitz <keiths@redhat.com>
6673
6674 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6675 Remove unused globals.
6676 (test_running_the_program): Likewise.
6677 (test_controlled_execution): Likewise.
6678 (test_controlling_breakpoints): Likewise.
6679 (test_program_termination): Likewise.
6680
5da151d4
KS
66812014-04-15 Keith Seitz <keiths@redhat.com>
6682
6683 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6684 unused globals.
6685 (test_rbreak_creation_and_listing): Likewise.
6686 (test_ignore_count): Likewise.
6687 (test_error): Likewise.
6688
35e5d2f0
PA
66892014-04-15 Pedro Alves <palves@redhat.com>
6690
6691 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6692 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6693 sym-file-loader.c.
6694 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6695 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6696 to sym-file-loader.c.
6697 (struct library): Forward declare.
6698 (load_shlib, lookup_function): Change prototypes.
6699 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6700 (translate_offset): Remove declarations.
6701 (get_text_addr): New declaration.
6702 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
6703 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
6704 sym-file-loader.h.
6705 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6706 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6707 here from sym-file-loader.h.
6708 (struct library): New structure.
6709 (load_shlib, lookup_function): Change prototypes and adjust to
6710 work with a struct library.
6711 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6712 (translate_offset): Make static.
6713 (get_text_addr): New function.
6714 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
6715
eb4c1710
PA
67162014-04-15 Pedro Alves <palves@redhat.com>
6717
6718 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
6719
2d1baf52
PA
67202014-04-15 Pedro Alves <palves@redhat.com>
6721
6722 * gdb.base/sym-file-loader.c: Include <limits.h>.
6723 (SELF_LINK): New define.
6724 (get_origin): New function.
6725 (load_shlib): Use it.
6726 * gdb.base/sym-file.exp: Don't early return if the target is
6727 remote. Use runto_main, and issue fail is that fails. Use
6728 gdb_load_shlibs.
6729 (shlib_name): Delete.
6730 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
6731
7dd6df01
PA
67322014-04-15 Pedro Alves <palves@redhat.com>
6733
6734 * gdb.base/sym-file.exp: Remove regex characters from test
6735 message. Don't refer to breakpoint numbers in test messages.
6736
b50c8614
KS
67372014-04-14 Keith Seitz <keiths@redhat.com>
6738
6739 PR c++/16253
6740 * gdb.cp/var-tag.cc: New file.
6741 * gdb.cp/var-tag.exp: New file.
6742 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6743 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6744 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6745 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6746
3d567982
TT
67472014-04-14 Tom Tromey <tromey@redhat.com>
6748
6749 * gdb.cp/classes.exp (test_enums): Handle underlying type.
6750 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
6751 type.
6752 * gdb.cp/enum-class.exp: New file.
6753 * gdb.cp/enum-class.cc: New file.
6754
0626fc76
TT
67552014-04-14 Tom Tromey <tromey@redhat.com>
6756
6757 * gdb.dwarf2/enum-type.exp: New file.
6758
dca325b3
SA
67592014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6760
6761 * gdb.mi/mi-vla-c99.exp: New file.
6762 * gdb.mi/vla.c: New file.
6763
5854b38a
SA
67642014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6765
6766 * gdb.base/vla-datatypes.c: New file.
6767 * gdb.base/vla-datatypes.exp: New file.
6768
463bb957
SA
67692014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6770
6771 * gdb.base/vla-ptr.c: New file.
6772 * gdb.base/vla-ptr.exp: New file.
6773
3dd170be
SA
67742014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6775
6776 * gdb.dwarf2/count.exp: New file.
6777
5ecaaa66
SA
67782014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6779
6780 * gdb.base/vla-sideeffect.c: New file.
6781 * gdb.base/vla-sideeffect.exp: New file.
6782
41f1ada5
DB
67832014-04-14 David Blaikie <dblaikie@gmail.com>
6784
6785 * gdb.mi/non-stop.c: Add return value for non-void function return
6786 statement.
6787 * gdb.threads/staticthreads.c: Ditto.
6788
0be03e84
DE
67892014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6790 Doug Evans <xdje42@gmail.com>
6791
6792 * gdb.guile/scm-value.c: Improve test case.
6793 * gdb.guile/scm-value.exp: Add new test.
6794
f180a1fb
DB
67952014-04-11 David Blaikie <dblaikie@gmail.com>
6796
6797 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
6798 override Clang's default.
6799
6b662e19
JB
68002014-04-11 Joel Brobecker <brobecker@adacore.com>
6801
6802 Revert the following changes (regressions):
6803
6804 * gdb.base/vla-sideeffect.c: New file.
6805 * gdb.base/vla-sideeffect.exp: New file.
6806
6807 * gdb.dwarf2/count.exp: New file.
6808
6809 * gdb.base/vla-multi.c: New file.
6810 * gdb.base/vla-multi.exp: New file.
6811
6812 * gdb.base/vla-ptr.c: New file.
6813 * gdb.base/vla-ptr.exp: New file.
6814
6815 * gdb.base/vla-datatypes.c: New file.
6816 * gdb.base/vla-datatypes.exp: New file.
6817
6818 * gdb.mi/mi-vla-c99.exp: New file.
6819 * gdb.mi/vla.c: New file.
6820
245a5f0b
KS
68212014-04-11 Keith Seitz <keiths@redhat.com>
6822
6823 PR c++/16675
6824 * gdb.cp/cpsizeof.exp: New file.
6825 * gdb.cp/cpsizeof.cc: New file.
6826
58a84dcf
SA
68272014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6828
191a8a90
JB
6829 * gdb.mi/mi-vla-c99.exp: New file.
6830 * gdb.mi/vla.c: New file.
58a84dcf 6831
c8655f75
SA
68322014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6833
6834 * gdb.base/vla-datatypes.c: New file.
6835 * gdb.base/vla-datatypes.exp: New file.
6836
024e13b4
SA
68372014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6838
6839 * gdb.base/vla-ptr.c: New file.
6840 * gdb.base/vla-ptr.exp: New file.
6841
1a237e0e
SA
68422014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6843
6844 * gdb.base/vla-multi.c: New file.
6845 * gdb.base/vla-multi.exp: New file.
6846
504f3432
SA
68472014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6848
6849 * gdb.dwarf2/count.exp: New file.
6850
3bce8237
SA
68512014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6852
191a8a90
JB
6853 * gdb.base/vla-sideeffect.c: New file.
6854 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 6855
322f9c21
YQ
68562014-04-11 Yao Qi <yao@codesourcery.com>
6857
6858 * gdb.base/completion.exp: Check file exists before running tests
6859 on file completion.
6860
d708bcd1
PA
68612014-04-10 Pedro Alves <palves@redhat.com>
6862
6863 * gdb.base/cond-eval-mode.c: New file.
6864 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
6865 prepare_for_testing to build the new file. Check result of
6866 runto_main.
6867 (test_break, test_watch): New procedures.
6868 (top level): Use them.
6869
ae1d2761
PM
68702014-04-08 Pierre Muller <muller@sourceware.org>
6871
6872 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
6873 Ctrl-V use for mingw hosts.
6874
7af389b8
SC
68752014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6876
6877 * gdb.python/py-value.c: Improve test case.
6878 * gdb.python/py-value.exp: Add new test.
6879
5e703181
DE
68802014-04-07 David Blaikie <dblaikie@gmail.com>
6881
6882 * lib/compiler.c: Identify the clang compiler.
6883 * lib/compiler.cc: Ditto.
6884
9810b410
YQ
68852014-04-03 Yao Qi <yao@codesourcery.com>
6886
6887 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
6888
98d1b8dc
AB
68892014-04-01 Anton Blanchard <anton@samba.org>
6890
6891 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
6892 messages unique.
6893
3114cea1
AB
68942014-04-01 Anton Blanchard <anton@samba.org>
6895
6896 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
6897 prepare_for_testing.
6898
62f7182c
AB
68992014-04-01 Anton Blanchard <anton@samba.org>
6900
6901 * gdb.arch/ppc64-atomic-inst.c: Remove.
6902 * gdb.arch/ppc64-atomic-inst.S: New file.
6903 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
6904
770e7fc7
DE
69052014-03-31 Doug Evans <dje@google.com>
6906
6907 * gdb.base/print-symbol-loading-lib.c: New file.
6908 * gdb.base/print-symbol-loading-main.c: New file.
6909 * gdb.base/print-symbol-loading.exp: New file.
6910
46e2bafa
YQ
69112014-03-31 Yao Qi <yao@codesourcery.com>
6912
6913 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
6914
8776cfe9
JB
69152014-03-28 Joel Brobecker <brobecker@adacore.com>
6916
6917 * gdb.ada/mi_dyn_arr: New testcase.
6918
5d1ef361
DE
69192014-03-27 Doug Evans <dje@google.com>
6920
6921 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
6922
b5bee914
YQ
69232014-03-27 Yao Qi <yao@codesourcery.com>
6924
6925 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
6926 if target is nios2-*-*.
6927
0d4d0e77
YQ
69282014-03-26 Yao Qi <yao@codesourcery.com>
6929
6930 * lib/gdb.exp (readline_is_used): New proc.
6931 * gdb.base/completion.exp: Move tests on command complete up.
6932 Skip the rest of tests if readline is not used.
6933 * gdb.ada/complete.exp: Skp the test if readline is not
6934 used.
6935 * gdb.base/filesym.exp: Likewise.
6936 * gdb.base/macscp.exp: Likewise.
6937 * gdb.base/readline-ask.exp: Likewise.
6938 * gdb.base/readline.exp: Likewise.
6939 * gdb.python/py-cmd.exp: Likewise.
6940 * gdb.trace/tfile.exp: Likewise.
6941
29361eee
YQ
69422014-03-26 Yao Qi <yao@codesourcery.com>
6943
6944 * gdb.base/macscp.exp: Fix code format issues.
6945
bc9a5525
UW
69462014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
6947
6948 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
6949 * gdb.asm/powerpc64le.inc: New file.
6950
d3839ede
PA
69512014-03-25 Pedro Alves <palves@redhat.com>
6952 Doug Evans <dje@google.com>
6953
6954 * gdb.base/source-execution.c: New file.
6955 * gdb.base/source-execution.exp: New file.
6956 * gdb.base/source-execution.gdb: New file.
6957
01672a57
DE
69582014-03-24 Doug Evans <dje@google.com>
6959
6960 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
6961 using fission.
6962
88bbeca9
HZ
69632014-03-24 Hui Zhu <hui@codesourcery.com>
6964 Pedro Alves <palves@redhat.com>
6965
6966 PR breakpoints/16101
6967 * gdb.base/dprintf.exp: Use unsupported rather than changing the
6968 test pass/fail messages. Detect missing support for dprintf when
6969 breakpoints are actually inserted.
6970 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
6971 breakpoints are actually inserted.
6972 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
6973 fails.
6974
d2348791
JK
69752014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6976
6977 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
6978
feef67ab
DE
69792014-03-22 Doug Evans <xdje42@gmail.com>
6980
6981 * gdb.python/python.exp (python not supported): Verify multi-line
6982 python command issues an error.
25d743f9 6983 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 6984 guile command issues an error.
feef67ab 6985
ecebef6a
MR
69862014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
6987
6988 * gdb.threads/thread-specific.exp: Handle the lack of usable
6989 $this_breakpoint and $this_thread.
6990
ccdd1909
HZ
69912014-03-21 Hui Zhu <hui@codesourcery.com>
6992
6993 * gdb.base/attach.exp (do_command_attach_tests): New.
6994
beb460e8
PA
69952014-03-20 Tom Tromey <tromey@redhat.com>
6996 Pedro Alves <palves@redhat.com>
6997
6998 PR cli/15718
6999 * gdb.base/condbreak-call-false.c: New file.
7000 * gdb.base/condbreak-call-false.exp: New file.
7001
40acf43a
PA
70022014-03-20 Pedro Alves <palves@redhat.com>
7003
7004 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7005 Delete.
7006 (block_signals, unblock_signals): Delete.
7007 (child_function_2, main): Remove references to deleted variable
7008 and functions.
7009
9f5e1e02
PA
70102014-03-20 Pedro Alves <palves@redhat.com>
7011
7012 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7013 Use pthread_kill to signal thread 2.
7014 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7015 Adjust to make the test send itself a signal rather than using the
7016 host's "kill" command.
7017
99619bea
PA
70182014-03-20 Pedro Alves <palves@redhat.com>
7019
7020 * gdb.threads/multiple-step-overs.c: New file.
7021 * gdb.threads/multiple-step-overs.exp: New file.
7022 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7023 Adjust expected infrun debug output.
7024
2adfaa28
PA
70252014-03-20 Pedro Alves <palves@redhat.com>
7026
7027 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7028 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7029
31e77af2
PA
70302014-03-20 Pedro Alves <palves@redhat.com>
7031
7032 PR breakpoints/7143
7033 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7034 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7035 of gdb_test_multiple.
7036 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7037 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7038
b9f437de
PA
70392014-03-20 Pedro Alves <palves@redhat.com>
7040
7041 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7042 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7043
05adc73e
PA
70442014-03-19 Pedro Alves <palves@redhat.com>
7045
7046 * gdb.base/async.exp: Remove early return.
7047
6048b950
PA
70482014-03-19 Pedro Alves <palves@redhat.com>
7049
7050 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7051
8bcfb00a
PA
70522014-03-19 Pedro Alves <palves@redhat.com>
7053
7054 * gdb.base/async.exp (test_background): Expect \r\n after
7055 "completed." in the fail pattern.
7056
884e37dc
PA
70572014-03-19 Pedro Alves <palves@redhat.com>
7058
7059 * gdb.base/async.exp (test_background): New procedure.
7060 Use it for all background execution command tests.
7061
148e57e2
PA
70622014-03-19 Pedro Alves <palves@redhat.com>
7063
7064 * gdb.base/async.exp: Use prepare_for_testing.
7065
f48088c7
PA
70662014-03-19 Pedro Alves <palves@redhat.com>
7067
7068 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7069 the same line.
7070
e2f6c966
PA
70712014-03-19 Pedro Alves <palves@redhat.com>
7072
7073 * gdb.base/async.c (main): Add "jump here" and "until here" line
7074 marker comments.
7075 * gdb.base/async.exp (jump_here): New global.
7076 (jump& test): Use it.
7077 (until_here): New global.
7078 (until& test): Use it.
7079
c30568d4
PA
70802014-03-19 Pedro Alves <palves@redhat.com>
7081
7082 * gdb.base/async.exp: Don't frob gdb_protocol.
7083
0172b6a7
DE
70842014-03-18 Doug Evans <xdje42@gmail.com>
7085
7086 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7087 Fix spelling of exec-done-display.
7088
06c868a8
JK
70892014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7090
7091 PR gdb/15358
7092 * gdb.base/gdb-sigterm.c: New file.
7093 * gdb.base/gdb-sigterm.exp: New file.
7094
0c7e1a46
PA
70952014-03-18 Pedro Alves <palves@redhat.com>
7096
7097 PR gdb/13860
7098 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7099 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7100 solib-event.
7101
f7c77d93
JB
71022014-03-17 Joel Brobecker <brobecker@adacore.com>
7103
7104 * gdb.ada/pckd_arr_ren: New testcase.
7105
5a1e8c7a
DE
71062014-03-13 Doug Evans <xdje42@gmail.com>
7107
7108 PR guile/16612
7109 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7110 collect after discarding symbols.
7111
350e1a76
DE
71122014-03-13 Ludovic Courtès <ludo@gnu.org>
7113 Doug Evans <xdje42@gmail.com>
7114
7115 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7116 to history survives a gc.
7117
a69900ae
PA
71182014-03-13 Pedro Alves <palves@redhat.com>
7119
7120 * gdb.base/default.exp: Don't test "target procfs".
7121
5db9f0bd
PA
71222014-03-13 Pedro Alves <palves@redhat.com>
7123
7124 * gdb.base/default.exp: Update "target child" and "target procfs"
7125 tests to not expect "Unix".
7126
b3ccfe11
TT
71272014-03-12 Tom Tromey <tromey@redhat.com>
7128
7129 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7130 New procs. Add target-async tests.
7131 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7132 Add target-async tests.
7133
646f4417
AA
71342014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7135
7136 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7137 'func_start' and 'func_end' for the beginning and end of the
7138 function code, respectively.
7139 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7140 'func_end' instead of 'func' and 'main'.
7141
288c211f
AA
71422014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7143
7144 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7145 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7146 generate the debug info assembler source.
7147
e0c0f156
AA
71482014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7149
7150 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7151 * gdb.dwarf2/arr-subrange.exp: Likewise.
7152 * gdb.dwarf2/dwz.exp: Likewise.
7153 * gdb.dwarf2/method-ptr.exp: Likewise.
7154 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7155 * gdb.dwarf2/subrange.exp: Likewise.
7156 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7157 * gdb.dwarf2/implptrpiece.exp: Likewise.
7158 * gdb.dwarf2/nostaticblock.exp: Likewise.
7159
0e5c4555
AA
71602014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7161
7162 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7163 directory to absolute path name arguments.
7164
5ec18f2b
JG
71652014-03-10 Joel Brobecker <brobecker@adacore.com>
7166
7167 * gdb.ada/tagged_access: New testcase.
7168
847fc4f2
MM
71692014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7170
7171 * gdb.btrace/data.exp: Update expected output.
7172
cc3da688
YQ
71732014-03-06 Yao Qi <yao@codesourcery.com>
7174
7175 * gdb.trace/pr16508.exp: New file.
7176
0f26cec1
PA
71772014-03-05 Pedro Alves <palves@redhat.com>
7178
7179 PR gdb/16575
7180 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7181 procedure.
7182 (top level): Adjust to use it. Add tests that exercise breakpoint
7183 interaction with the code-cache.
7184
7a5a839f
LC
71852014-02-26 Ludovic Courtès <ludo@gnu.org>
7186
7187 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7188 test for 'history-append!'.
7189
31aa7e4e
JB
71902014-02-26 Joel Brobecker <brobecker@adacore.com>
7191
7192 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7193 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7194 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7195 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7196 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7197 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7198
1b588015
JB
71992014-02-26 Joel Brobecker <brobecker@adacore.com>
7200
7201 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7202 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7203 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7204
55426c9d
JB
72052014-02-26 Joel Brobecker <brobecker@adacore.com>
7206
7207 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7208
dc53a7ad
JB
72092014-02-26 Joel Brobecker <brobecker@adacore.com>
7210
7211 * gdb.dwarf2/arr-stride.c: New file.
7212 * gdb.dwarf2/arr-stride.exp: New file.
7213
12ab52e9
PA
72142014-02-26 Pedro Alves <palves@redhat.com>
7215
7216 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7217 that won't ever trigger. Make sure that GDB reports the correct
7218 breakpoint that caused the stop.
7219
849c862e
JK
72202014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7221
7222 PR gdb/16626
7223 * gdb.base/auto-load-script: New file.
7224 * gdb.base/auto-load.c: New file.
7225 * gdb.base/auto-load.exp: New file.
7226
71b7d793
JK
7227 PR gdb/16626
7228 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7229
e2f0d509
JK
72302014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7231
7232 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7233 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7234
50cc37c8
DE
72352014-02-24 Doug Evans <dje@google.com>
7236
7237 * lib/gdb.exp (run_on_host): Log error output if program fails.
7238
ea4758f2
PA
72392014-02-21 Pedro Alves <palves@redhat.com>
7240
7241 * gdb.threads/step-after-sr-lock.c: Rename to ...
7242 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7243 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7244 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7245 ... this.
7246
d7b30f67
SDJ
72472014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7248
7249 PR tdep/16397
7250 * gdb.arch/amd64-stap-special-operands.exp: New file.
7251 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7252 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7253 * gdb.arch/amd64-stap-triplet.S: Likewise.
7254 * gdb.arch/amd64-stap-triplet.c: Likewise.
7255
83deb43f
JB
72562014-02-20 Joel Brobecker <brobecker@adacore.com>
7257
7258 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7259 in .section pseudo-op.
7260
adde2bff
DE
72612014-02-20 lin zuojian <manjian2006@gmail.com>
7262 Joel Brobecker <brobecker@adacore.com>
7263 Doug Evans <xdje42@gmail.com>
7264
7265 PR symtab/16581
7266 * gdb.dwarf2/dw2-icycle.S: New file.
7267 * gdb.dwarf2/dw2-icycle.c: New file.
7268 * gdb.dwarf2/dw2-icycle.exp: New file.
7269
f7bd0f78
SC
72702014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7271
7272 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7273 operations on gdb.Value objects.
7274 * gdb.python/py-value-cc.exp: Add new test to test operations on
7275 gdb.Value objects.
7276
c17ef0d5
DE
72772014-02-18 Doug Evans <dje@google.com>
7278
7279 * Makefile.in (TESTS): New variable.
7280 (expanded_tests, expanded_tests_or_none): New variables
7281 (check-single): Pass $(expanded_tests_or_none) to runtest.
7282 (check-parallel): Only run tests in $(TESTS) if non-empty.
7283 (check/no-matching-tests-found): New rule.
7284 * README: Document TESTS makefile variable.
7285
5dd3176f
DE
72862014-02-18 Doug Evans <dje@google.com>
7287
7288 * Makefile.in (check-parallel): rm -rf outputs temp.
7289
0b10be4f
JK
72902014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7291
7292 Fix "ERROR: no fileid for" in the testsuite.
7293 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7294
85f224e7
DE
72952014-02-12 Doug Evans <dje@google.com>
7296
7297 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7298 (MISCELLANEOUS): New variable.
7299 (clean): rm -rf $(MISCELLANEOUS).
7300 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7301 dwp live in the same directory as symlinks, with each symlink pointed
7302 to a differently named file in a different directory.
7303
149b30ff
DE
73042014-02-11 Doug Evans <dje@google.com>
7305
7306 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7307 of Tcl file commands.
7308
1dfdac32
MK
73092014-02-10 Mark Kettenis <kettenis@gnu.org>
7310
7311 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7312 "kill -SIGUSR1 -1".
7313
aa4fb036
JB
73142014-02-10 Joel Brobecker <brobecker@adacore.com>
7315
7316 * gdb.ada/tick_length_array_enum_idx: New testcase.
7317
ed3ef339
DE
73182014-02-10 Doug Evans <xdje42@gmail.com>
7319
7320 * configure.ac (AC_OUTPUT): Add gdb.guile.
7321 * configure: Regenerate.
7322 * lib/gdb-guile.exp: New file.
7323 * lib/gdb.exp (get_target_charset): New function.
7324 * gdb.base/help.exp: Update expected output from "apropos apropos".
7325 * gdb.guile/Makefile.in: New file.
7326 * gdb.guile/guile.exp: New file.
7327 * gdb.guile/scm-arch.c: New file.
7328 * gdb.guile/scm-arch.exp: New file.
7329 * gdb.guile/scm-block.c: New file.
7330 * gdb.guile/scm-block.exp: New file.
7331 * gdb.guile/scm-breakpoint.c: New file.
7332 * gdb.guile/scm-breakpoint.exp: New file.
7333 * gdb.guile/scm-disasm.c: New file.
7334 * gdb.guile/scm-disasm.exp: New file.
7335 * gdb.guile/scm-equal.c: New file.
7336 * gdb.guile/scm-equal.exp: New file.
7337 * gdb.guile/scm-error.exp: New file.
7338 * gdb.guile/scm-error.scm: New file.
7339 * gdb.guile/scm-frame-args.c: New file.
7340 * gdb.guile/scm-frame-args.exp: New file.
7341 * gdb.guile/scm-frame-args.scm: New file.
7342 * gdb.guile/scm-frame-inline.c: New file.
7343 * gdb.guile/scm-frame-inline.exp: New file.
7344 * gdb.guile/scm-frame.c: New file.
7345 * gdb.guile/scm-frame.exp: New file.
7346 * gdb.guile/scm-generics.exp: New file.
7347 * gdb.guile/scm-gsmob.exp: New file.
7348 * gdb.guile/scm-iterator.c: New file.
7349 * gdb.guile/scm-iterator.exp: New file.
7350 * gdb.guile/scm-math.c: New file.
7351 * gdb.guile/scm-math.exp: New file.
7352 * gdb.guile/scm-objfile-script-gdb.in: New file.
7353 * gdb.guile/scm-objfile-script.c: New file.
7354 * gdb.guile/scm-objfile-script.exp: New file.
7355 * gdb.guile/scm-objfile.c: New file.
7356 * gdb.guile/scm-objfile.exp: New file.
7357 * gdb.guile/scm-ports.exp: New file.
7358 * gdb.guile/scm-pretty-print.c: New file.
7359 * gdb.guile/scm-pretty-print.exp: New file.
7360 * gdb.guile/scm-pretty-print.scm: New file.
7361 * gdb.guile/scm-section-script.c: New file.
7362 * gdb.guile/scm-section-script.exp: New file.
7363 * gdb.guile/scm-section-script.scm: New file.
7364 * gdb.guile/scm-symbol.c: New file.
7365 * gdb.guile/scm-symbol.exp: New file.
7366 * gdb.guile/scm-symtab-2.c: New file.
7367 * gdb.guile/scm-symtab.c: New file.
7368 * gdb.guile/scm-symtab.exp: New file.
7369 * gdb.guile/scm-type.c: New file.
7370 * gdb.guile/scm-type.exp: New file.
7371 * gdb.guile/scm-value-cc.cc: New file.
7372 * gdb.guile/scm-value-cc.exp: New file.
7373 * gdb.guile/scm-value.c: New file.
7374 * gdb.guile/scm-value.exp: New file.
7375 * gdb.guile/source2.scm: New file.
7376 * gdb.guile/types-module.cc: New file.
7377 * gdb.guile/types-module.exp: New file.
7378
7026a7c1
YQ
73792014-02-10 Yao Qi <yao@codesourcery.com>
7380
7381 PR testsuite/16543
7382 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7383 * configure: Regenerated.
7384 * Makefile.in: New file.
7385
6c466447
AS
73862014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7387
7388 * gdb.python/py-framefilter.exp: Fix typo.
7389
6e854735
YQ
73902014-02-08 Yao Qi <yao@codesourcery.com>
7391
7392 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7393 that no =breakpoint-modified is emitted when breakpoints are
7394 modified through MI commands.
7395
d137e6dc
PA
73962014-02-07 Pedro Alves <pedro@codesourcery.com>
7397 Pedro Alves <palves@redhat.com>
7398
7399 * gdb.threads/step-after-sr-lock.c: New file.
7400 * gdb.threads/step-after-sr-lock.exp: New file.
7401
b5ee5a50
PA
74022014-02-07 Pedro Alves <palves@redhat.com>
7403
7404 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7405
3c77faf3
JK
74062014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7407
7408 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7409 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7410
6dddc817
DE
74112014-02-06 Doug Evans <xdje42@gmail.com>
7412
7413 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7414 output.
7415
7416 * gdb.gdb/python-interrupts.exp: New file.
7417
de7b2893
YQ
74182014-02-05 Yao Qi <yao@codesourcery.com>
7419
7420 * gdb.trace/report.exp (use_collected_data): Test the output
7421 of "info threads" and "info inferiors".
7422
66d032ac
YQ
74232014-02-05 Yao Qi <yao@codesourcery.com>
7424
7425 Revert this patch:
7426
7427 2013-05-24 Yao Qi <yao@codesourcery.com>
7428
7429 * gdb.trace/tfile.exp: Test inferior and thread.
7430
591a12a1
UW
74312014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7432
7433 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7434 on a function.
7435 * gdb.base/step-bt.c: Call hello via function pointer to make
7436 sure its first instruction is executed on powerpc64le-linux.
7437
0ff3e01f
UW
74382014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7439
7440 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7441
084ee545
UW
74422014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7443
7444 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7445 of the test patterns for use on little-endian systems.
7446
6ed14ff3
UW
74472014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7448
7449 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7450 (decimal_vector): Fix for little-endian.
7451
401e27fd
JM
74522014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7453
7454 * gdb.arch/sparc-sysstep.exp: New file.
7455 * gdb.arch/sparc-sysstep.c: Likewise.
7456
7457 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7458
8b924729
EBM
74592014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7460
7461 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7462
fb151210
JB
74632014-01-23 Tom Tromey <tromey@redhat.com>
7464
7465 * gdb.ada/array_char_idx: New testcase.
7466
0740f8d8
TT
74672014-01-23 Tom Tromey <tromey@redhat.com>
7468
7469 PR python/16487:
7470 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7471 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7472 classes.
7473
21909fa1
TT
74742014-01-23 Tom Tromey <tromey@redhat.com>
7475
7476 PR python/16491:
7477 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7478 string from an inferior frame.
7479 * gdb.python/py-framefilter-mi.exp: Update.
7480
87ce2a04
DE
74812014-01-22 Doug Evans <dje@google.com>
7482
7483 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7484
237b092b
AA
74852014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7486
7487 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7488
d674a709
AA
74892014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7490
7491 * gdb.trace/entry-values.exp: Remove excess space character from
7492 regex patterns. Handle s390 call instruction.
7493
20fa3390
AA
74942014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7495
7496 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7497 define "*_start" label. Make "name" static.
7498 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7499 ${name} by references to ${name}_start.
7500
78466714
AA
75012014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7502
7503 * gdb.base/info-macros.exp: Remove "debug" from the compile
7504 options.
7505
ec9f644a
IB
75062014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7507
7508 * gdb.dlang/demangle.exp: New file.
7509
94b1b47e
IB
75102014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7511
7512 * gdb.dlang/primitive-types.exp: New file.
7513
7f420862
IB
75142014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7515
7516 * configure.ac: Create gdb.dlang/Makefile.
7517 * configure: Regenerate.
7518 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7519 * gdb.dlang/Makefile.in: New file.
7520 * lib/d-support.exp: New file.
7521 * lib/gdb.exp (skip_d_tests): New proc.
7522
52834460
MM
75232014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7524
7525 * gdb.btrace/delta.exp: Check reverse stepi.
7526 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7527 * gdb.btrace/finish.exp: New.
7528 * gdb.btrace/next.exp: New.
7529 * gdb.btrace/nexti.exp: New.
7530 * gdb.btrace/record_goto.c: Add comments.
7531 * gdb.btrace/step.exp: New.
7532 * gdb.btrace/stepi.exp: New.
7533 * gdb.btrace/multi-thread-step.c: New.
7534 * gdb.btrace/multi-thread-step.exp: New.
7535 * gdb.btrace/rn-dl-bind.c: New.
7536 * gdb.btrace/rn-dl-bind.exp: New.
7537 * gdb.btrace/data.c: New.
7538 * gdb.btrace/data.exp: New.
7539 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7540
6e07b1d2
MM
75412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7542
7543 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7544 * gdb.btrace/exception.exp: Update.
7545 * gdb.btrace/instruction_history.exp: Update.
7546 * gdb.btrace/record_goto.exp: Update.
7547 * gdb.btrace/tailcall.exp: Update.
7548 * gdb.btrace/unknown_functions.exp: Update.
7549 * gdb.btrace/delta.exp: New.
7550
0b722aec
MM
75512014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7552
7553 * gdb.btrace/record_goto.exp: Add backtrace test.
7554 * gdb.btrace/tailcall.exp: Add backtrace test.
7555
066ce621
MM
75562014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7557
7558 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7559 * gdb.btrace/record_goto.c: New.
7560 * gdb.btrace/record_goto.exp: New.
7561 * gdb.btrace/x86-record_goto.S: New.
7562
0688d04e
MM
75632014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7564
7565 * gdb.btrace/function_call_history.exp: Update tests.
7566 * gdb.btrace/instruction_history.exp: Update tests.
7567
8710b709
MM
75682014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7569
7570 * gdb.btrace/function_call_history.exp: Fix expected field
7571 order for "record function-call-history".
7572 Add new tests for "record function-call-history /c".
7573 * gdb.btrace/exception.cc: New.
7574 * gdb.btrace/exception.exp: New.
7575 * gdb.btrace/tailcall.exp: New.
7576 * gdb.btrace/x86-tailcall.S: New.
7577 * gdb.btrace/x86-tailcall.c: New.
7578 * gdb.btrace/unknown_functions.c: New.
7579 * gdb.btrace/unknown_functions.exp: New.
7580 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7581
5de9129b
MM
75822014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7583
7584 * gdb.btrace/instruction_history.exp: Update.
7585 * gdb.btrace/function_call_history.exp: Update.
7586
23a7fe75
MM
75872014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7588
7589 * gdb.btrace/function_call_history.exp: Fix expected function
7590 trace.
7591 * gdb.btrace/instruction_history.exp: Initialize traced.
7592 Remove traced_functions.
7593
724c7dd8
MM
75942014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7595
7596 * gdb.btrace/function_call_history.exp: Update
7597 * gdb.btrace/instruction_history.exp: Update.
7598
6d78d93b
MM
75992014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7600
7601 * gdb.btrace/enable.exp: Update expected text.
7602
93a360cc
OJ
76032014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7604
7605 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7606 bytes.
7607
3772b53f
MR
76082014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7609
7610 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7611
596662fa
OJ
76122014-01-15 Omair Javaid <omair.javaid@linaro.org>
7613
7614 * lib/gdb.exp (supports_process_record): Return true for
7615 arm*-linux*. (supports_reverse): Likewise.
7616
b5b08fb4
SC
76172014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7618
7619 PR python/15464
7620 PR python/16113
7621 * gdb.python/py-type.c: Enhance test case.
7622 * gdb.python/py-value-cc.cc: Likewise
7623 * gdb.python/py-type.exp: Add new tests.
7624 * gdb.python/py-value-cc.exp: Likewise
7625
52d7fb13
AA
76262014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7627 Pedro Alves <palves@redhat.com>
7628
7629 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7630 Make "name" extern.
7631 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7632 references to ${name}_start by references to ${name}.
7633
a2cd8cfe
JB
76342014-01-10 Joel Brobecker <brobecker@adacore.com>
7635
7636 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7637
4e23fced
JB
76382014-01-10 Joel Brobecker <brobecker@adacore.com>
7639
7640 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7641
c6a9e42c
PA
76422014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7643 Pedro Alves <palves@redhat.com>
7644
7645 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 7646 mi_gdb_target_load.
c6a9e42c 7647
b7ea362b
PA
76482014-01-08 Pedro Alves <palves@redhat.com>
7649
7650 * gdb.threads/reconnect-signal.c: New file.
7651 * gdb.threads/reconnect-signal.exp: New file.
7652
5e3f4fab
EBM
76532014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7654
7655 * gdb.base/source-dir.exp: New file.
7656
79301218
JB
76572014-01-07 Joel Brobecker <brobecker@adacore.com>
7658
7659 * gdb.ada/mi_interface: New testcase.
7660
8e355c5d
JB
76612014-01-07 Joel Brobecker <brobecker@adacore.com>
7662
7663 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7664 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7665 gdb.ada/pp-rec-component/pck.ads: New files.
7666
c0d48811
JB
76672014-01-07 Joel Brobecker <brobecker@adacore.com>
7668
7669 * gdb.python/py-pp-integral.c: New file.
7670 * gdb.python/py-pp-integral.py: New file.
7671 * gdb.python/py-pp-integral.exp: New file.
7672
17b609c3 7673For older changes see ChangeLog-1993-2013.
c906108c 7674\f
8d8cb839
EZ
7675;; Local Variables:
7676;; mode: change-log
7677;; left-margin: 8
7678;; fill-column: 74
7679;; version-control: never
7680;; End:
902f2ccb 7681
618f726f 7682 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
7683 Copying and distribution of this file, with or without modification,
7684 are permitted provided the copyright notice and this notice are preserved.
This page took 3.381995 seconds and 4 git commands to generate.