]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Reformat gdb.base/step-over-syscall.exp
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
ea507862
YQ
12016-03-03 Yao Qi <yao.qi@linaro.org>
2
3 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
4 code format.
5
8fc8cbda
YQ
62016-03-03 Yao Qi <yao.qi@linaro.org>
7
8 * gdb.base/disp-step-fork.c: Rename to ...
9 * gdb.base/step-over-fork.c: ... it. New file.
10 * gdb.base/disp-step-vfork.c: Rename to ...
11 * gdb.base/step-over-vfork.c: ... it. New file.
12 * gdb.base/disp-step-syscall.exp: Rename to ...
13 * gdb.base/step-over-syscall.exp: ... it. New file.
14 (disp_step_cross_syscall): Rename to ...
15 (step_over_syscall): ... it.
16
92fa70b0
YQ
172016-03-03 Yao Qi <yao.qi@linaro.org>
18
19 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
20 If target supports condition evaluation on target, invoke
21 break_cond_on_syscall for fork and vfork.
22
e197ad3c
YQ
232016-03-03 Yao Qi <yao.qi@linaro.org>
24
25 * gdb.base/disp-step-syscall.exp: Don't invoke
26 support_displaced_stepping.
27 (disp_step_cross_syscall): Test with displaced stepping off and
28 on if supported.
29
0b47da9f
YQ
302016-03-03 Yao Qi <yao.qi@linaro.org>
31
32 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
33 proc.
34 (setup): New proc.
35 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
36 and setup.
37
065ab6dc
BH
382016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
39
40 * gdb.fortran/vla-history.exp: Remove breakpoint.
41
07e448ad 422016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
43
44 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
45
9ac2d526 462016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
47
48 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
49
17807369
BH
502016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
51
52 * gdb.mi/vla.f90: Nullify pointer after declaration.
53
86e501af
PA
542016-03-01 Pedro Alves <palves@redhat.com>
55
56 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
57
1e903e32
PA
582016-03-01 Pedro Alves <palves@redhat.com>
59
60 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
61 before anything else.
62 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
63 _GNU_SOURCE here.
64 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
65 before anything else.
66 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
67
6ccb54e2
PA
682016-03-01 Pedro Alves <palves@redhat.com>
69
70 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
71
30ca9da1
YQ
722016-03-01 Yao Qi <yao.qi@linaro.org>
73
74 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
75 prepare_for_testing.
76
dc856b38
YQ
772016-03-01 Yao Qi <yao.qi@linaro.org>
78
79 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
80
4a932159
AA
812016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
82
83 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
84 manually constructing the output path.
85
f2489477
AA
862016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
87
88 * gdb.arch/s390-stackless.S: New.
89 * gdb.arch/s390-stackless.exp: New.
90
38899f16
IB
912016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
92
93 * gdb.dlang/circular.c: New file.
94 * gdb.dlang/circular.exp: New file.
95
9fde51ed
YQ
962016-02-26 Yao Qi <yao.qi@linaro.org>
97
98 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
99 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
100 (testcases): Update.
101
ce90fefe
YQ
1022016-02-26 Yao Qi <yao.qi@linaro.org>
103
104 * gdb.reverse/aarch64.c: Rename to ...
105 * gdb.reverse/insn-reverse.c: ... it.
106 * gdb.reverse/aarch64.exp: Rename to ...
107 * gdb.reverse/insn-reverse.exp: ... it.
108
3263bceb
YQ
1092016-02-26 Yao Qi <yao.qi@linaro.org>
110
111 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
112 (testcase_ftype): New.
113 (testcases): New array.
114 (n_testcases): New.
115 (main): Call each element in testcases.
116 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
117 (read_testcase): New.
118 Do the tests in a loop.
119
6cb59ff1
YQ
1202016-02-25 Yao Qi <yao.qi@linaro.org>
121
122 * gdb.base/branches.c: Remove.
123
ae91f625
MK
1242016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
125
126 PR gdb/13808
127 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
128
678b48b7
MK
1292016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
130
131 * gdb.trace/ftrace.exp: Remove unnecessary target check.
132
7337a6f2
MK
1332016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
134
135 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
136 change x86_64 call_insn to 'callq'.
137
861ca91f
AT
1382016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
139
140 * gdb.trace/tfile-avx.c: Move to...
141 * gdb.trace/tracefile-pseudo-reg.c: Here.
142 * gdb.trace/tfile-avx.exp: Move to...
143 * gdb.trace/tracefile-pseudo-reg.exp: Here.
144
bf74e428
GB
1452016-02-24 Gary Benson <gbenson@redhat.com>
146
147 * gdb.base/attach-pie-noexec.exp: Do not expect an error
148 message on attach.
149
cce0e923
DE
1502016-02-23 Doug Evans <dje@google.com>
151
152 * gdb.base/skip.c (test_skip): New function.
153 (end_test_skip_file_and_function): New function.
154 (test_skip_file_and_function): New function.
155 * gdb.base/skip1.c (test_skip): New function.
156 (skip1_test_skip_file_and_function): New function.
157 * gdb.base/skip.exp: Add tests for new skip options.
158 * gdb.base/skip-solib.exp: Update expected output.
159 * gdb.perf/skip-command.cc: New file.
160 * gdb.perf/skip-command.exp: New file.
161 * gdb.perf/skip-command.py: New file.
162
4000e47e
MK
1632016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
164
165 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
166 info registers pattern.
167
24f75ead
IB
1682016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
169
170 * lib/future.exp: Add D support.
171 (gdb_find_gdc): New proc.
172 (gdb_default_target_compile): Add D support.
173
fbb7bcbe
WW
1742016-02-18 Wei-cheng Wang <cole945@gmail.com>
175
176 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
177 user+system time.
178 (trace_speed_test): Determine the iteration count for a time
179 between 15..30 seconds.
180
012b3a21
WT
1812016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
182
183 * gdb.arch/i386-mpx-sigsegv.c: New file.
184 * gdb.arch/i386-mpx-sigsegv.exp: New file.
185 * gdb.arch/i386-mpx-simple_segv.c: New file.
186 * gdb.arch/i386-mpx-simple_segv.exp: New file.
187
2d5189bd
YQ
1882016-02-18 Yao Qi <yao.qi@linaro.org>
189
190 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
191 Don't call setup_kfail.
192
40fb20d0
YQ
1932016-02-18 Yao Qi <yao.qi@linaro.org>
194
195 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
196 Set "set breakpoint condition-evaluation" per $cond_bp_target.
197
21b1f8d2
DE
1982016-02-16 Doug Evans <dje@google.com>
199
200 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
201 * gdb.base/skip1.c: Ditto.
202 * gdb.base/skip.exp: Whitespace cleanup.
203
4041ed77
DB
2042016-02-16 Don Breazeal <donb@codesourcery.com>
205
206 PR remote/19496
207 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
208 Remove kfail for PR remote/19496.
209
c4ef31bf
SM
2102016-02-16 Simon Marchi <simon.marchi@ericsson.com>
211
212 * lib/gdb.exp (standard_temp_file): Return a path specific to
213 the runtest invocation.
214
266b65b3
SM
2152016-02-16 Simon Marchi <simon.marchi@ericsson.com>
216
217 * gdb.trace/save-trace.exp: Change relative path to be in the
218 standard output directory.
219
a7a0a6a9
JK
2202016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
221
222 * gdb.arch/i386-prologue.c: Add missing prototypes.
223
c99dbb42
JK
2242016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
225
226 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
227 * gdb.arch/i386-prologue.exp: Likewise.
228 * gdb.arch/i386-size.exp: Likewise.
229
aa480355
SM
2302016-02-15 Simon Marchi <simon.marchi@ericsson.com>
231
232 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
233 define object file path.
234 * gdb.btrace/gcore.exp: Use standard_output_file to define core
235 file path.
236 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
237 standard_output_file to define binfile.
238
ba881f50
JK
2392016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
240
241 Fix compatibility with recent gfortran-5.3.1.
242 * gdb.fortran/vla-history.exp (print vla1 allocated)
243 (print vla2 allocated, print $2, print $3): Remove
244 (print $4): Rename to ...
245 (print $2): ... here.
246 (print $9): Rename to ...
247 (print $5): ... here.
248 (print $10): Rename to ...
249 (print $6): ... here.
250 * gdb.fortran/vla.f90: Add pvla initialization.
251
e9fb005c
JK
2522016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
253
254 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
255 New test.
256 * gdb.fortran/vla-value-sub.exp: Likewise.
257
e44e00ff
MK
2582016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
259
260 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
261
97e94151
SM
2622016-02-12 Simon Marchi <simon.marchi@ericsson.com>
263
264 * i386-biarch-core.exp: Define corefile using
265 standard_output_file.
266
01113bc1
YQ
2672016-02-12 Yao Qi <yao.qi@linaro.org>
268
269 * gdb.arch/arm-single-step-kernel-helper.c: New.
270 * gdb.arch/arm-single-step-kernel-helper.exp: New.
271
33b4777c
MM
2722016-02-12 Markus Metzger <markus.t.metzger@intel.com>
273
274 * gdb.btrace/tailcall-only.exp: New.
275 * gdb.btrace/tailcall-only.c: New.
276 * gdb.btrace/x86_64-tailcall-only.S: New.
277 * gdb.btrace/i686-tailcall-only.S: New.
278
acc23c11
PA
2792016-02-11 Pedro Alves <palves@redhat.com>
280
281 * README (Parallel testing): Add missing double quotes.
282
e352bf0a
PA
2832016-02-11 Pedro Alves <palves@redhat.com>
284
285 * README (Parallel testing): New section.
286 (GDB_PARALLEL): Rewrite.
287 (FORCE_PARALLEL): Document.
288
9f5fed78
MK
2892016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
290
291 * gdb.trace/tfile-avx.c: New test.
292 * gdb.trace/tfile-avx.exp: New test.
293
9ef9e6a6
KS
2942016-02-09 Keith Seitz <keiths@redhat.com>
295
296 PR breakpoints/19546
297 * gdb.base/infcall-exec.c: New file.
298 * gdb.base/infcall-exec2.c: New file.
299 * gdb.base/infcall-exec.exp: New file.
300
a96e36da
KS
3012016-02-09 Keith Seitz <keiths@redhat.com>
302
303 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
304 (toplevel): Call test_bkpt_address.
305
9f61929f
KS
3062016-02-09 Keith Seitz <keiths@redhat.com>
307
308 PR python/19506
309 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
310 (toplevel): Call test_bkpt_address.
311
1e94266c
SM
3122016-02-09 Simon Marchi <simon.marchi@ericsson.com>
313
314 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
315 to AC_OUTPUT.
316 * configure: Regenerate.
317
2a7f3dff
PA
3182016-02-09 Pedro Alves <palves@redhat.com>
319
320 PR breakpoints/19548
321 * gdb.base/execl-update-breakpoints.c (some_function): New
322 function.
323 (main): Call it.
324 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
325 Tighten expected GDB output.
326
2151ccc5
SM
3272016-02-08 Simon Marchi <simon.marchi@ericsson.com>
328
329 * Makefile.in (ALL_SUBDIRS): Remove.
330 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
331 (distclean maintainer-clean realclean): Likewise.
332 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
333 * configure: Regenerate.
334 * gdb.ada/Makefile.in: Delete.
335 * gdb.arch/Makefile.in: Likewise.
336 * gdb.asm/Makefile.in: Likewise.
337 * gdb.base/Makefile.in: Likewise.
338 * gdb.btrace/Makefile.in: Likewise.
339 * gdb.cell/Makefile.in: Likewise.
340 * gdb.compile/Makefile.in: Likewise.
341 * gdb.cp/Makefile.in: Likewise.
342 * gdb.disasm/Makefile.in: Likewise.
343 * gdb.dlang/Makefile.in: Likewise.
344 * gdb.dwarf2/Makefile.in: Likewise.
345 * gdb.fortran/Makefile.in: Likewise.
346 * gdb.gdb/Makefile.in: Likewise.
347 * gdb.go/Makefile.in: Likewise.
348 * gdb.guile/Makefile.in: Likewise.
349 * gdb.java/Makefile.in: Likewise.
350 * gdb.linespec/Makefile.in: Likewise.
351 * gdb.mi/Makefile.in: Likewise.
352 * gdb.modula2/Makefile.in: Likewise.
353 * gdb.multi/Makefile.in: Likewise.
354 * gdb.objc/Makefile.in: Likewise.
355 * gdb.opencl/Makefile.in: Likewise.
356 * gdb.opt/Makefile.in: Likewise.
357 * gdb.pascal/Makefile.in: Likewise.
358 * gdb.perf/Makefile.in: Likewise.
359 * gdb.python/Makefile.in: Likewise.
360 * gdb.reverse/Makefile.in: Likewise.
361 * gdb.server/Makefile.in: Likewise.
362 * gdb.stabs/Makefile.in: Likewise.
363 * gdb.threads/Makefile.in: Likewise.
364 * gdb.trace/Makefile.in: Likewise.
365 * gdb.xml/Makefile.in: Likewise.
366 * lib/gdb.exp (make_gdb_parallel_path): Add check for
367 GDB_PARALLEL.
368 (standard_output_file): Remove check for GDB_PARALLEL, always
369 return path in outputs/$subdir/$testname.
370
437277d4
SM
3712016-02-08 Simon Marchi <simon.marchi@ericsson.com>
372
373 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
374 (site.exp): Assign abs_srcdir to tcl's srcdir.
375
31d913c7
YQ
3762016-02-04 Yao Qi <yao.qi@linaro.org>
377
378 * gdb.base/foll-exec-mode.c: Include limits.h.
379 (main): Add parameters argc and argv. Get directory from
380 argv[0].
381 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
382 compilation.
383 * gdb.base/foll-exec.c: Include limits.h.
384 (main): Add parameters argc and argv.
385 Get directory from argv[0].
386 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
387 Adjust tests on the number of lines as source code changed.
388 * gdb.base/foll-vfork-exit.c: Include limits.h.
389 (main): Add one line of statement before vfork.
390 * gdb.base/foll-vfork.c: Include limits.h and string.h.
391 (main): Add parameters argc and argv. Get directory from
392 argv[0].
393 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
394 (setup_gdb): Set tbreak to skip some source lines.
395 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
396 (main): Add parameters argc and argv. Get directory from
397 argv[0].
398 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
399 compilation.
400 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
401 (main): Add parameters argc and argv. Get directory from
402 argv[0].
403 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
404 compilation.
405
9482b9fb
DE
4062016-02-01 Doug Evans <dje@google.com>
407
408 * gdb.base/skip.exp: Clean up multiple references to same test name.
409
6b2e4f10
PA
4102016-02-01 Pedro Alves <palves@redhat.com>
411
ccb6afd6 412 PR remote/19496
6b2e4f10
PA
413 * gdb.threads/forking-threads-plus-breakpoint.exp
414 (displaced_stepping_supported): New global.
415 (probe_displaced_stepping_support): New procedure.
416 (do_test): Add 'displaced' parameter, and use it.
417 (top level): Check for displaced stepping support. Add displaced
418 stepping on/off testing axis.
419
37a8db1a
AB
4202016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
421
422 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
423 pointer. Don't perform further tests on the unassociated pointer
424 if the first test fails.
425
5fdf6324
AB
4262016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
427
428 * gdb.base/max-value-size.c: New file.
429 * gdb.base/max-value-size.exp: New file.
430 * gdb.base/huge.exp: Disable max-value-size for this test.
431
935c6144
IB
4322016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
433
434 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
435
7fe8399d
YQ
4362016-01-28 Yao Qi <yao.qi@linaro.org>
437
438 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
439
a2077e25
PA
4402016-01-25 Pedro Alves <palves@redhat.com>
441
442 PR threads/19461
443 * gdb.base/fork-running-state.c: New file.
444 * gdb.base/fork-running-state.exp: New file.
445
1d2736d4
PA
4462016-01-25 Pedro Alves <palves@redhat.com>
447
448 PR gdb/19494
449 * gdb.base/catch-fork-kill.c: New file.
450 * gdb.base/catch-fork-kill.exp: New file.
451
f1da4b11
PA
4522016-01-25 Pedro Alves <palves@redhat.com>
453
454 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
455 Delete, moved to lib/gdb.exp.
456 * gdb.threads/forking-threads-plus-breakpoint.exp
457 (foreach_with_prefix): Likewise.
458 * gdb.threads/process-dies-while-handling-bp.exp
459 (foreach_with_prefix): Likewise.
460 * lib/gdb.exp (foreach_with_prefix): New procedure.
461
45f38546
MK
4622016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
463
464 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
465 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
466
dc29a1ce
MK
4672016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
468
469 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
470 endian targets.
471
092127d7
JK
4722016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
473 Pedro Alves <palves@redhat.com>
474
475 Fix testsuite compatibility with Guile.
476 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
477 number.
478
31d765d3
JK
4792016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
480
481 Fix testsuite compatibility with Guile.
482 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
483 (thread 1): New test for backtrace through signal handler.
484
1ac78c04
YQ
4852016-01-22 Yao Qi <yao.qi@linaro.org>
486
487 PR testsuite/19491
488 * gdb.base/multi-forks.c: Include
489 ../lib/unbuffer_output.c
490 (main): Call gdb_unbuffer_output.
491
4f5946a8
DE
4922016-01-21 Doug Evans <dje@google.com>
493
494 * lib/ada.exp (gdb_compile_ada): Fix typo.
495
305e13e6
JB
4962016-01-21 Joel Brobecker <brobecker@adacore.com>
497
498 * gdb.base/break-fun-addr.exp: New file.
499 * gdb.base/break-fun-addr1.c: New file.
500 * gdb.base/break-fun-addr2.c: New file.
501
5f5dfff6
SM
5022016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
503
504 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
505 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
506 enum flag values.
507
fd356fa2
AA
5082016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
509
510 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
511 when GDB can not set the vector return value. Add more comments
512 for clarification.
513
9df22175
AT
5142016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
515
516 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
517 command.
518
41d1845e
SM
5192016-01-19 Simon Marchi <simon.marchi@ericsson.com>
520
521 * Makefile.in (DO_RUNTEST): Add --status and update usages.
522
01ac6840
SM
5232016-01-19 Simon Marchi <simon.marchi@ericsson.com>
524
525 * Makefile.in (check-single): Pass --status to runtest.
526 (check/%.exp): Likewise.
527
5282016-01-19 Simon Marchi <simon.marchi@ericsson.com>
529
530 * Makefile.in (check-parallel): Propagate return code from make
531 do-check-parallel.
532
bd0a71fa
MK
5332016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
534
535 * gdb.trace/ftrace.exp: Fix expected message on continue.
536 * gdb.trace/pending.exp: Fix expected message on continue.
537 * gdb.trace/trace-break.exp: Fix expected message on continue.
538
8bcbad33
SM
5392016-01-18 Simon Marchi <simon.marchi@ericsson.com>
540
541 * lib/gdb.exp (gdb_test): Remove unused global references.
542
f303dbd6
PA
5432016-01-18 Pedro Alves <palves@redhat.com>
544
545 * gdb.base/async-shell.exp: Adjust expected output.
546 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
547 * gdb.base/siginfo-thread.exp: Adjust expected output.
548 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
549 * gdb.java/jnpe.exp: Adjust expected output.
550 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
551 * gdb.threads/continue-pending-status.exp: Adjust expected output.
552 * gdb.threads/leader-exit.exp: Adjust expected output.
553 * gdb.threads/manythreads.exp: Adjust expected output.
554 * gdb.threads/pthreads.exp: Adjust expected output.
555 * gdb.threads/schedlock.exp: Adjust expected output.
556 * gdb.threads/siginfo-threads.exp: Adjust expected output.
557 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
558 expected output.
559 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
560 output.
561 * gdb.threads/sigthread.exp: Adjust expected output.
562 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
563
b2789696
YQ
5642016-01-18 Yao Qi <yao.qi@linaro.org>
565
566 * gdb.guile/scm-section-script.c: Replace @progbits with
567 %progbits.
568 * gdb.python/py-section-script.c: Likewise.
569
71ef29a8
PA
5702016-01-15 Pedro Alves <palves@redhat.com>
571
572 * gdb.multi/tids.exp: Test star wildcard ranges.
573
3f5b7598
PA
5742016-01-15 Pedro Alves <palves@redhat.com>
575
576 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
577 command from "thread apply" invocation.
578 (thr_apply_info_thr_invalid): Default the expected output to the
579 input tid list.
580 (top level): Add tests that use convenience variables. Add tests
581 for "thread apply" with a valid TID list, but missing the command.
582
663f6d42
PA
5832016-01-13 Pedro Alves <palves@redhat.com>
584
585 * gdb.base/default.exp: Expect $_gthread as well.
586 * gdb.multi/tids.exp: Test $_gthread.
587 * gdb.threads/thread-specific.exp: Test $_gthread.
588
c84f6bbf
PA
5892016-01-13 Pedro Alves <palves@redhat.com>
590
591 * gdb.multi/tids.exp: Test "info threads -gid".
592
22a02324
PA
5932016-01-13 Pedro Alves <palves@redhat.com>
594
595 * gdb.multi/tids.exp: Test InferiorThread.global_num and
596 Breakpoint.thread.
597 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
598
5d5658a1
PA
5992016-01-07 Pedro Alves <palves@redhat.com>
600
601 * gdb.base/break.exp: Adjust to output changes.
602 * gdb.base/hbreak2.exp: Likewise.
603 * gdb.base/sepdebug.exp: Likewise.
604 * gdb.base/watch_thread_num.exp: Likewise.
605 * gdb.linespec/keywords.exp: Likewise.
606 * gdb.multi/info-threads.exp: Likewise.
607 * gdb.threads/thread-find.exp: Likewise.
608 * gdb.multi/tids.c: New file.
609 * gdb.multi/tids.exp: New file.
610
84654457
PA
6112016-01-13 Pedro Alves <palves@redhat.com>
612
613 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
614
e3940304
PA
6152016-01-13 Pedro Alves <palves@redhat.com>
616
617 * gdb.base/default.exp: Expect $_inferior as well.
618 * gdb.multi/base.exp: Test $_inferior.
619
a911d87a
PA
6202016-01-13 Pedro Alves <palves@redhat.com>
621
622 PR breakpoints/19388
623 * gdb.base/catch-signal-siginfo-cond.c: New file.
624 * gdb.base/catch-signal-siginfo-cond.exp: New file.
625
82075af2
JS
6262016-01-12 Josh Stone <jistone@redhat.com>
627 Philippe Waroquiers <philippe.waroquiers@skynet.be>
628
629 * gdb.base/catch-syscall.c (do_execve): New variable.
630 (main): Conditionally trigger an execve.
631 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
632 (test_catch_syscall_execve): New, check entry/return across execve.
633 (do_syscall_tests): Call test_catch_syscall_execve.
634
e46eeedd
PA
6352016-01-12 Pedro Alves <palves@redhat.com>
636
637 * gdb.base/random-signal.exp (do_test): New procedure, with body
638 of testcase moved in.
639
01d8c27e
JK
6402016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
641 Pedro Alves <palves@redhat.com>
642
643 * gdb.base/funcargs.exp (finish from indirectly called function):
644 Reintroduce the case for 'First'.
645
9a706302
JK
6462016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
647 Pedro Alves <palves@redhat.com>
648
649 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
650 (tcatch_vfork_then_child_follow_exec)
651 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
652 identification.
653
c0ecb95f
JK
6542016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
655
656 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
657 and repeats to unlimited.
658 * gdb.python/py-value.exp: Likewise.
659 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
660 and repeats to unlimited.
661
6cfc1fcb
JK
6622016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
663
664 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
665 and reordering the functions.
666 * gdb.multi/hangout.c: Likewise.
667 * gdb.multi/hello.c: Likewise.
668
582a1b00
SM
6692016-01-08 Simon Marchi <simon.marchi@ericsson.com>
670
671 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
672 absolute.
673 (SingleStatisticTestResult.report): Use dict.keys instead of
674 dict.iterkeys.
675
79bc59cb
PA
6762016-01-06 Pedro Alves <palves@redhat.com>
677
678 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
679
43368e1d
MM
6802016-01-04 Markus Metzger <markus.t.metzger@intel.com>
681
682 * gdb.btrace/dlopen.exp: New.
683 * gdb.btrace/dlopen.c: New.
684 * gdb.btrace/dlopen-dso.c: New.
685
79fad5b8
SL
6862015-12-25 Sandra Loosemore <sandra@codesourcery.com>
687
688 * lib/gdb.exp (gdb_test): Update comments to clarify that the
689 PATTERN argument is optional.
690
ab8314b3
JB
6912015-12-24 Joel Brobecker <brobecker@adacore.com>
692
693 * lib/ada.exp (target_compile_ada_from_dir): New function.
694 (gdb_compile_ada): Reimplement avoiding the use of project files.
695 * gdb.ada/gnat_ada.gpr: Delete.
696 * gdb.ada/cond_lang.exp: Adjust test to make path before
697 filename optional.
698 * gdb.ada/small_reg_param.exp: Likewise.
699
fe33faff
SM
7002015-12-22 Simon Marchi <simon.marchi@ericsson.com>
701
702 * gdb.base/foll-vork.exp: Remove HP-UX special case.
703
6d265cb4
TP
7042015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
705
706 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
707 case.
708
10125099
SM
7092015-12-21 Simon Marchi <simon.marchi@ericsson.com>
710
711 * gdb.base/break.exp: Remove dead code.
712 * gdb.base/sepdebug.exp: Likewise.
713
3ca22649
SM
7142015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
715
716 * gdb.asm/asm-source.exp: Remove HP-UX references.
717 * gdb.base/annota1.exp: Likewise.
718 * gdb.base/annota3.exp: Likewise.
719 * gdb.base/attach.exp: Likewise.
720 * gdb.base/bigcore.exp: Likewise.
721 * gdb.base/break.exp: Likewise.
722 * gdb.base/call-ar-st.exp: Likewise.
723 * gdb.base/callfuncs.exp: Likewise.
724 * gdb.base/catch-fork-static.exp: Likewise.
725 * gdb.base/display.exp: Likewise.
726 * gdb.base/foll-exec-mode.exp: Likewise.
727 * gdb.base/foll-exec.exp: Likewise.
728 * gdb.base/foll-fork.exp: Likewise.
729 * gdb.base/foll-vfork.exp: Likewise.
730 * gdb.base/funcargs.exp: Likewise.
731 * gdb.base/hbreak2.exp: Likewise.
732 * gdb.base/inferior-died.exp: Likewise.
733 * gdb.base/interrupt.exp: Likewise.
734 * gdb.base/multi-forks.exp: Likewise.
735 * gdb.base/nodebug.exp: Likewise.
736 * gdb.base/sepdebug.exp: Likewise.
737 * gdb.base/solib1.c: Likewise.
738 * gdb.base/step-test.exp: Likewise.
739 * gdb.mi/non-stop.c: Likewise.
740 * gdb.mi/pthreads.c: Likewise.
741 * gdb.multi/bkpt-multi-exec.ex: Likewise.
742 * gdb.threads/pthreads.c: Likewise.
743 * gdb.threads/staticthreads.exp: Likewise.
744 * lib/future.exp: Likewise.
745 * lib/gdb.exp: Likewise.
746 * gdb.base/so-indr-cl.c: Remove.
747 * gdb.base/so-indr-cl.exp: Likewise.
748 * gdb.base/solib.c: Likewise.
749 * gdb.base/solib.exp: Likewise.
750 * gdb.base/solib2.c: Likewise.
751
b6304613
SM
7522015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
753
754 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
755 * gdb.base/call-ar-st.exp: Likewise.
756 * gdb.base/callfuncs.exp: Likewise.
757 * gdb.base/condbreak.exp: Likewise.
758 * gdb.base/constvars.exp: Likewise.
759 * gdb.base/hbreak2.exp: Likewise.
760 * gdb.base/langs.exp: Likewise.
761 * gdb.base/list.exp: Likewise.
762 * gdb.base/long_long.exp: Likewise.
763 * gdb.base/ptype.exp: Likewise.
764 * gdb.base/scope.exp: Likewise.
765 * gdb.base/signals.exp: Likewise.
766 * gdb.base/so-impl-ld.exp: Likewise.
767 * gdb.base/varargs.exp: Likewise.
768 * gdb.base/volatile.exp: Likewise.
769 * gdb.base/whatis.exp: Likewise.
770 * gdb.cp/cplusfuncs.exp: Likewise.
771 * gdb.cp/inherit.exp: Likewise.
772 * gdb.cp/local.exp: Likewise.
773 * gdb.cp/member-ptr.exp: Likewise.
774 * gdb.cp/method.exp: Likewise.
775 * gdb.cp/overload.exp: Likewise.
776 * gdb.cp/templates.exp: Likewise.
777 * gdb.stabs/weird.exp: Likewise.
778 * lib/compiler.c: Likewise.
779 * lib/compiler.cc: Likewise.
780 * lib/cp-support.exp: Likewise.
781 * lib/gdb.exp: Likewise.
782
bf401b07
SM
7832015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
784
785 * configure.ac: Remove HP-UX case.
786 * configure: Regenerate.
787
aff9c0f8
SM
7882015-12-18 Simon Marchi <simon.marchi@ericsson.com>
789
790 * lib/gdb.exp (gdb_compile): Add function doc.
791
a6904d5a
PA
7922015-12-17 Pedro Alves <palves@redhat.com>
793
794 PR threads/19354
795 * gdb.multi/info-threads.exp: New file.
796
a22279dd
YQ
7972015-12-15 Yao Qi <yao.qi@linaro.org>
798
799 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
800 is aarch64*-*-*.
801
0588c796
SL
8022015-12-14 Sandra Loosemore <sandra@codesourcery.com>
803
804 * gdb.base/history-duplicates.exp: Skip if no readline support.
805
5d978e17
SL
8062015-12-14 Sandra Loosemore <sandra@codesourcery.com>
807
808 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
809
7e763b86
SL
8102015-12-14 Sandra Loosemore <sandra@codesourcery.com>
811
812 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
813
87a3a92c
SL
8142015-12-14 Sandra Loosemore <sandra@codesourcery.com>
815
816 * gdb.base/completion.exp: Skip tests that interrupt GDB with
817 ctrl-C if nointerrupts target property is set.
818 * gdb.base/double-prompt-target-event-error.exp: Likewise.
819 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
820 * gdb.base/paginate-bg-execution.exp: Likewise.
821 * gdb.base/paginate-execution-startup.exp: Likewise.
822 * gdb.base/random-signal.exp: Likewise.
823 * gdb.base/range-stepping.exp: Likewise.
824 * gdb.cp/annota2.exp: Likewise.
825 * gdb.cp/annota3.exp: Likewise.
826 * gdb.gdb/selftest.exp: Likewise.
827 * gdb.threads/continue-pending-status.exp: Likewise.
828 * gdb.threads/leader-exit.exp: Likewise.
829 * gdb.threads/manythreads.exp: Likewise.
830 * gdb.threads/pthreads.exp: Likewise.
831 * gdb.threads/schedlock.exp: Likewise.
832 * gdb.threads/sigthread.exp: Likewise.
833
a8f077dc
DB
8342015-12-11 Don Breazeal <donb@codesourcery.com>
835
836 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
837 remote.
838 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
839 * gdb.base/foll-exec.exp (main): Enable for target remote.
840 * gdb.base/foll-fork.exp (main): Likewise.
841 * gdb.base/foll-vfork.exp (main): Likewise.
842 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
843 (proc continue_to_exit_bp_loc): Use clean_restart.
844 * gdb.base/pie-execl.exp (main): Disable for target remote.
845 * gdb.base/watch-vfork.exp (main): Enable for target remote.
846 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
847 * gdb.threads/execl.exp (main): Likewise.
848 * gdb.threads/fork-child-threads.exp (main): Likewise.
849 * gdb.threads/fork-plus-threads.exp (main): Disable for target
850 remote.
851 * gdb.threads/fork-thread-pending.exp (main): Enable for target
852 remote.
853 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
854 pid.tid style ptids, instead of just tid.
855 * gdb.threads/thread-execl.exp (main): Enable for target remote.
856 * gdb.threads/watchpoint-fork.exp (main): Likewise.
857 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
858 ptids, instead of just tid.
859
3b2464a8
AB
8602015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
861
862 * gdb.base/list.exp (test_list_forward): Add end of file error
863 test.
864 (test_repeat_list_command): Add end of file error test.
865 (test_list_backwards): Add beginning of file error test.
866
a0def019
AB
8672015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
868
869 * gdb.base/list.exp (test_list_invalid_args): New function,
870 defined, and called.
871
5c000dff
AB
8722015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
873
874 * gdb.base/list.exp (test_list): Make test names unique.
875
f1637ebe
YQ
8762015-12-11 Yao Qi <yao.qi@linaro.org>
877
878 * gdb.base/coremaker2.c: Remove.
879
36d6fc0a
PA
8802015-12-10 Pedro Alves <palves@redhat.com>
881
882 * gdb.multi/base.exp: Remove stale "spaces" references.
883
762f7747
PA
8842015-12-10 Pedro Alves <palves@redhat.com>
885
886 * gdb.multi/base.exp: Don't use nowarnings.
887 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
888 * gdb.multi/hangout.c: Include stdio.h.
889 * gdb.multi/hello.c: Include stdlib.h.
890 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
891 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
892 * gdb.multi/multi-arch.exp: Don't use nowarnings.
893
28d2bfb9
AB
8942015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
895
896 * gdb.dwarf2/dw2-ranges-base.c: New file.
897 * gdb.dwarf2/dw2-ranges-base.exp: New file.
898 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
899 support additional line table, and debug ranges generation.
900 (Dwarf::ranges): New function, generate .debug_ranges.
901 (Dwarf::lines): Support generating simple line table programs.
902 (Dwarf::assemble): Initialise new namespace variables.
903
5fc2beac
KB
9042015-12-09 Kevin Buettner <kevinb@redhat.com>
905
906 * gdb.base/async.exp (proc test_background): Add case for
907 asynchronous execution not supported.
908
1c35a88f
LM
9092015-12-09 Luis Machado <lgustavo@codesourcery.com>
910
911 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
912 format and change test names to make them unique.
913
b593e3d9
RK
9142015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
915 Pedro Alves <pedro@redhat.com>
916
917 PR gdb/18702
918 Add checking of floatformats setup on x86_64 hosts.
919 * gdb.arch/i386-float.S (main): Load bigval and smallval.
920 (smallval, bigval): New labels/constants.
921 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
922 float" after loading bigval and smallval.
923
d72413e6
PMR
9242015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
925
926 * gdb.ada/fun_overload_menu.exp: New testcase.
927 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
928
ece66d65
JS
9292015-12-04 Josh Stone <jistone@redhat.com>
930
931 * gdb.base/catch-fork-static.exp: New.
932
41d0efca
YQ
9332015-12-03 Yao Qi <yao.qi@linaro.org>
934
935 * gdb.base/sizeof.c: Don't include stdio.h and
936 ../lib/unbuffer_output.c.
937 (main): New variable 'size' and 'value'. Remove printf and
938 gdb_unbuffer_output. Assign return value to size and value.
939 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
940 at the beginning.
941 (check_sizeof): Check the result by printing variable 'size'.
942 (check_valueof): Check the result by printing variable 'value'.
943
99fd02d9
YQ
9442015-12-01 Yao Qi <yao.qi@linaro.org>
945
946 * gdb.base/disp-step-syscall.exp: Define syscall instruction
947 for aarch64*-*-linux* target.
948
f2faf941
PA
9492015-11-30 Pedro Alves <palves@redhat.com>
950
951 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
952
04bf20c5
PA
9532015-11-30 Pedro Alves <palves@redhat.com>
954
955 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
956 Handle non-stop mode vCont replies.
957
09df4675
PA
9582015-11-30 Pedro Alves <palves@redhat.com>
959
960 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
961 prepare_for_testing. Start gdb with "set non-stop on" appended to
962 GDBFLAGS. Lax expected stop output.
963
58b584af
YQ
9642015-11-27 Yao Qi <yao.qi@linaro.org>
965
966 * gdb.arch/arm-neon.exp: New.
967 * gdb.arch/arm-neon.c: New.
968
dfcb77a8
YQ
9692015-11-27 Yao Qi <yao.qi@linaro.org>
970
971 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
972
88e8ec1b
YQ
9732015-11-27 Yao Qi <yao.qi@linaro.org>
974
975 * gdb.cp/annota2.exp: Allow multiple occurrences of the
976 frames-invalid annotation.
977
bfde72c2
YQ
9782015-11-27 Yao Qi <yao.qi@linaro.org>
979
980 * gdb.cp/annota2.exp: Use ${frames_invalid}.
981
f6512a69
SM
9822015-11-26 Simon Marchi <simon.marchi@ericsson.com>
983
984 * gdb.threads/names.exp: New file.
985 * gdb.threads/names.c: New file.
986 * README: Mention gdb,no_thread_names.
987
46a3515b
MM
9882015-11-26 Markus Metzger <markus.t.metzger@intel.com>
989
990 PR 19297
991 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
992 support" error.
993
62147a22
PA
9942015-11-24 Pedro Alves <palves@redhat.com>
995
996 PR 17539
997 * gdb.base/display.exp: Expect displays to be sorted in ascending
998 order. Use multi_line.
999 * gdb.base/solib-display.exp: Likewise.
1000
2f341b6e
PA
10012015-11-24 Pedro Alves <palves@redhat.com>
1002
1003 PR 17539
1004 * gdb.base/display.exp: Expect displays to be sorted in ascending
1005 order. Use multi_line.
1006 * gdb.base/solib-display.exp: Likewise.
1007
7e0aa6aa
PA
10082015-11-24 Pedro Alves <palves@redhat.com>
1009
1010 PR 17539
1011 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1012 threads in ascending order.
1013 * gdb.base/foll-fork.exp: Likewise.
1014 * gdb.base/foll-vfork.exp: Likewise.
1015 * gdb.base/multi-forks.exp: Likewise.
1016 * gdb.mi/mi-nonstop.exp: Likewise.
1017 * gdb.mi/mi-nsintrall.exp: Likewise.
1018 * gdb.multi/base.exp: Likewise.
1019 * gdb.multi/multi-arch.exp: Likewise.
1020 * gdb.python/py-inferior.exp: Likewise.
1021 * gdb.threads/break-while-running.exp: Likewise.
1022 * gdb.threads/execl.exp: Likewise.
1023 * gdb.threads/gcore-thread.exp: Likewise.
1024 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1025 * gdb.threads/kill.exp: Likewise.
1026 * gdb.threads/linux-dp.exp: Likewise.
1027 * gdb.threads/multiple-step-overs.exp: Likewise.
1028 * gdb.threads/next-bp-other-thread.exp: Likewise.
1029 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1030 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1031 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1032 * gdb.threads/thread-find.exp: Likewise.
1033 * gdb.threads/tls.exp: Likewise.
1034 * lib/mi-support.exp (mi_reverse_list): Delete.
1035 (mi_check_thread_states): No longer reverse list.
1036
2cc57ad8
PA
10372015-11-24 Pedro Alves <palves@redhat.com>
1038
1039 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1040 use lowercase.
1041
c93e8391
SM
10422015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1043
1044 * gdb.trace/actions.c: Include trace-common.h.
1045 (main): Add a location for a fast tracepoint.
1046 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1047 the normal tracepoints.
1048 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1049
045ccf91
SM
10502015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1051
1052 * save-trace.exp: Factor out code to these...
1053 (gdb_save_tracepoints): New.
1054 (gdb_load_tracepoints): New.
1055 (do_save_load_test): New.
1056
5506f9f6
KB
10572015-11-23 Kevin Buettner <kevinb@redhat.com>
1058
1059 * gdb.base/asmlabel.exp: New test.
1060 * gdb.base/asmlabel.c: New test case.
1061
16c3b12f
JB
10622015-11-23 Joel Brobecker <brobecker@adacore.com>
1063
1064 * gdb.base/wrong_frame_bt_full-main.c: New file.
1065 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1066 * gdb.base/wrong_frame_bt_full.exp: New file.
1067
155bfbd3
JB
10682015-11-23 Joel Brobecker <brobecker@adacore.com>
1069
1070 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1071
bb097445
JM
10722015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1073
206853a0 1074 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
1075 pstate register when comparing registers values in
1076 sparc64-*-linux-gnu targets to avoid spurious differences.
1077
9c88ed8f
JM
10782015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1079
206853a0 1080 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 1081
96161e25
SL
10822015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1083
1084 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1085 as type argument to gdb_compile.
1086 * gdb.base/nested-subp2.exp: Likewise.
1087 * gdb.base/nested-subp3.exp: Likewise.
1088
340c2830
DV
10892015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1090
1091 * lib/dwarf.exp (_note): Fix left shift of negative value.
1092 * gdb.trace/trace-condition.exp: Likewise.
1093
c1862d0f
YQ
10942015-11-13 Yao Qi <yao.qi@linaro.org>
1095
1096 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1097 comments about d10v.
1098 (test_scalar_returns): Likewise.
1099 * gdb.base/d10v.ld: Remove.
1100 * gdb.base/overlays.exp: Remove the target triplet checking for
1101 d10v-*-*.
1102 * gdb.base/structs.exp (test_struct_returns): Remove the
1103 comments about d10v.
1104 (test_struct_calls): Likewise.
1105
77ae9c19
YQ
11062015-11-13 Yao Qi <yao.qi@linaro.org>
1107
1108 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1109 * gdb.base/gnu_vector.c: Don't include stdio.h.
1110 (main): Don't print res and call add_some_intvecs.
1111
430e004e
MK
11122015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1113
1114 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1115 macro.
1116 (func5): Removed.
1117 (func4): Use FAST_TRACEPOINT_LABEL.
1118 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1119 macro.
1120 (func): Removed.
1121 (thread_function): Use FAST_TRACEPOINT_LABEL.
1122 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1123 (func): Remove.
1124 (marker): Use FAST_TRACEPOINT_LABEL.
1125 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1126 (pendfunc1): Remove.
1127 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1128 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1129 (foo): Remove.
1130 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1131 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1132 macro.
1133 (func): Remove.
1134 (marker): Use FAST_TRACEPOINT_LABEL.
1135 * gdb.trace/trace-common.h: New header.
1136 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1137 macro.
1138 (func): Remove.
1139 (marker): Use FAST_TRACEPOINT_LABEL.
1140 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1141 (func): Remove.
1142 (thread_function): Use FAST_TRACEPOINT_LABEL.
1143
6e7675a7
MK
11442015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
1145
1146 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1147 in front.
1148 * gdb.trace/change-loc.exp: Use global pcreg definition.
1149 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1150 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1151 in front.
1152 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1153 * gdb.trace/pending.exp: Likewise.
1154 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1155 * gdb.trace/trace-break.exp: Likewise.
1156 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1157 in front.
1158 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1159 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1160 in front.
1161 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1162
dddc0e16
JB
11632015-11-09 Joel Brobecker <brobecker@adacore.com>
1164
1165 * gdb.ada/fin_fun_out: New testcase.
1166
c6f0b406
KB
11672015-11-07 Kevin Buettner <kevinb@redhat.com>
1168
1169 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1170 value associated with DW_AT_byte_size.
1171 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1172 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1173 DW_AT_upper_bound.
1174
f01dcfd9
KB
11752015-11-07 Kevin Buettner <kevinb@redhat.com>
1176
1177 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1178 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1179 version.
1180 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1181 gdb.dwarf2/dw2-canonicalize-type.exp,
1182 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1183 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1184 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1185 provided by gdb_target_symbol_prefix_flags_asm.
1186 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1187 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1188 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1189 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1190 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1191 macros where needed). Use this macro for symbols which require
1192 the prefix provided by SYMBOL_PREFIX.
1193
2223449a
KB
11942015-11-05 Kevin Buettner <kevinb@redhat.com>
1195
1196 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1197 New procs.
1198 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1199 representing expressions, of more than one list element.
1200 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1201 to prepend linker symbol prefix to f.
1202 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1203 table_1 and table_2.
1204 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1205 Likewise, for f and g.
1206 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1207 for ptr.
1208 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1209 for main.
1210 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1211 table_1_ptr and table_2_ptr.
1212
6f2f1a3a
JK
12132015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1214 Joel Brobecker <brobecker@adacore.com>
1215
1216 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1217
566c56c9
MK
12182015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
1219
1220 * gdb.reverse/s390-mvcle.c: New test.
1221 * gdb.reverse/s390-mvcle.exp: New file.
1222 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1223
d5f0636b
MK
12242015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1225
1226 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1227
7ad8b86c
MK
12282015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1229
1230 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1231 reaching marker2.
1232 * gdb.reverse/getresuid-reverse.exp: Likewise.
1233 * gdb.reverse/pipe-reverse.exp: Likewise.
1234 * gdb.reverse/readv-reverse.exp: Likewise.
1235 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1236 * gdb.reverse/time-reverse.exp: Likewise.
1237 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1238
4081c0f1
YQ
12392015-10-30 Yao Qi <yao.qi@linaro.org>
1240
1241 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1242 (empty_cycle): Remove.
1243 (main): Don't call empty_cycle. Don't use watch_count_done.
1244 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1245 empty_cycle. Rewrite the code counting HW watchpoints.
1246
452b4ba5
MK
12472015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
1248
1249 * gdb.reverse/fstatat-reverse.c: New test.
1250 * gdb.reverse/fstatat-reverse.exp: New file.
1251 * gdb.reverse/getresuid-reverse.c: New test.
1252 * gdb.reverse/getresuid-reverse.exp: New file.
1253 * gdb.reverse/pipe-reverse.c: New test.
1254 * gdb.reverse/pipe-reverse.exp: New file.
1255 * gdb.reverse/readv-reverse.c: New test.
1256 * gdb.reverse/readv-reverse.exp: New file.
1257 * gdb.reverse/recvmsg-reverse.c: New test.
1258 * gdb.reverse/recvmsg-reverse.exp: New file.
1259 * gdb.reverse/time-reverse.c: New test.
1260 * gdb.reverse/time-reverse.exp: New file.
1261 * gdb.reverse/waitpid-reverse.c: New test.
1262 * gdb.reverse/waitpid-reverse.exp: New file.
1263
5e2e7507
JK
12642015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1265
1266 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1267
0fde2c53
DE
12682015-10-26 Doug Evans <dje@google.com>
1269
1270 PR symtab/17391
1271 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1272 * gdb.dwarf2/bad-regnum.c: New file.
1273 * gdb.dwarf2/bad-regnum.exp: New file.
1274
1a70ae97
DE
12752015-10-26 Doug Evans <dje@google.com>
1276
1277 PR python/18938
1278 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1279 file.
1280
27dc26ab
JK
12812015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1282
1283 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1284 for a change by "Mention language in compile error message".
1285
bed91f4d
SM
12862015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1287
1288 PR python/18073
1289 * gdb.python/py-type.c (C::a_method): New.
1290 (C::a_const_method): New.
1291 (C::a_static_method): New.
1292 (a_function): New.
1293 * gdb.python/py-type.exp (test_fields): Test getting fields
1294 from function and method.
1295
3f2f83dd
KB
12962015-10-21 Keven Boell <keven.boell@intel.com>
1297
1298 * gdb.fortran/vla-alloc-assoc.exp: New file.
1299 * gdb.fortran/vla-datatypes.exp: New file.
1300 * gdb.fortran/vla-datatypes.f90: New file.
1301 * gdb.fortran/vla-history.exp: New file.
1302 * gdb.fortran/vla-ptype-sub.exp: New file.
1303 * gdb.fortran/vla-ptype.exp: New file.
1304 * gdb.fortran/vla-sizeof.exp: New file.
1305 * gdb.fortran/vla-sub.f90: New file.
1306 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1307 * gdb.fortran/vla-value-sub-finish.exp: New file.
1308 * gdb.fortran/vla-value-sub.exp: New file.
1309 * gdb.fortran/vla-value.exp: New file.
1310 * gdb.fortran/vla-ptr-info.exp: New file.
1311 * gdb.mi/mi-vla-fortran.exp: New file.
1312 * gdb.mi/vla.f90: New file.
1313
27145d50
SL
13142015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1315
1316 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1317 of hardwired timeout value.
1318
5f3ff4f8
JK
13192015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1320 Pedro Alves <palves@redhat.com>
1321
1322 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1323 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1324
bfd09d20
JS
13252015-10-19 Josh Stone <jistone@redhat.com>
1326
1327 * gdb.base/catch-syscall.c: Include <sched.h>.
1328 (unknown_syscall): New variable.
1329 (main): Trigger a vfork and an unknown syscall.
1330 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1331 (unknown_syscall_number): Likewise.
1332 (check_call_to_syscall): Accept an optional syscall pattern.
1333 (check_return_from_syscall): Likewise.
1334 (check_continue): Likewise.
1335 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1336 (test_catch_syscall_skipping_return): New test toggling off 'catch
1337 syscall' to step over the syscall return, then toggling back on.
1338 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1339 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1340 (do_syscall_tests): Call test_catch_syscall_without_args and
1341 test_catch_syscall_mid_vfork.
1342 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1343 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1344
b32b93c6
AS
13452015-10-19 Andrew Stubbs <ams@codesourcery.com>
1346
1347 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1348 print g_vE): Add new pass patterns.
1349 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1350 print various symbol names for vptr fields.
1351
9d622bda
AB
13522015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1353
1354 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1355 results.
1356
0fd8ac1c
YQ
13572015-10-12 Yao Qi <yao.qi@linaro.org>
1358
1359 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1360
34240514
YQ
13612015-10-12 Yao Qi <yao.qi@linaro.org>
1362
1363 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1364 is aarch64*-*-linux*.
1365
8240f442
YQ
13662015-10-12 Yao Qi <yao.qi@linaro.org>
1367
1368 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1369 (can_relocate_bcond_true): ... it.
1370 (can_relocate_bcond_false): New function.
1371 (foo): Likewise.
1372 (can_relocate_bl): Likewise.
1373 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1374 can_relocate_bl.
1375
2520f728
PMR
13762015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1377
1378 * gdb.base/nested-addr.c: New file.
1379 * gdb.base/nested-addr.exp: New testcase.
1380
abcef95a
MM
13812015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1382
1383 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1384 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1385 its output. Ignore the output of "record goto begin" and instead
1386 check that GDB is replaying.
1387
145e3ddb
PA
13882015-10-09 Pedro Alves <palves@redhat.com>
1389
1390 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1391 (top level): Use it in the run with no args test.
1392
d5d8c4e1
IB
13932015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1394
1395 * gdb.dlang/properties.exp: New file.
1396
06e635ef
SL
13972015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1398
1399 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1400 whether or not address 0x1000 is mapped on the target.
1401
e019fd1d
SM
14022015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1403
1404 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1405 build.
1406
77ba2a67
MM
14072015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1408
1409 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1410 instruction-history test.
1411
c60eb31f
DE
14122015-09-28 Doug Evans <dje@google.com>
1413
1414 * gdb.base/gcore.c (array_func): Add reference to static_array.
1415
9a3c8263
SM
14162015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1417
1418 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1419 source line.
1420
9720e656
SL
14212015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1422
1423 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1424 short or char as base type.
1425
938d3bf2
SL
14262015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1427
1428 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1429 to allow any size enum.
1430
e6c2c623
PMR
14312015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1432
1433 * gdb.ada/array_ptr_renaming.exp: New testcase.
1434 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1435 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1436
06da0f77
PL
14372015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1438
1439 * gdb.trace/ftrace-lock.c: New file.
1440 * gdb.trace/ftrace-lock.exp: New file.
1441
4f51c22a
PL
14422015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1443
1444 * gdb.arch/insn-reloc.c: New file.
1445 * gdb.arch/ftrace-insn-reloc.exp: New file.
1446
7041adf4
PL
14472015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1448
1449 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1450 instruction.
1451 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1452 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1453 * gdb.trace/range-stepping.c: Likewise.
1454 * gdb.trace/trace-break.c: Likewise.
1455 * gdb.trace/trace-mt.c (thread_function): Likewise.
1456 * gdb.trace/ftrace.c (marker): Likewise.
1457 * gdb.trace/trace-condition.c (marker): Likewise.
1458 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1459 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1460 is_aarch64_target.
1461
015d2e7e
DE
14622015-09-18 Doug Evans <xdje42@gmail.com>
1463
1464 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1465 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1466
26b188a2
SL
14672015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1468
1469 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1470 the breakpoint.
1471
79dc332b
SL
14722015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1473
1474 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1475 the pending breakpoint. Remove timeout override for "Run till
1476 MI pending breakpoint on pendfunc3 on thread 2" test.
1477
f57929f2
SL
14782015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1479
1480 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1481 filename pattern.
1482
3f469b17
SL
14832015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1484
1485 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1486 in breakpoint filename pattern.
1487
515b89b3
SL
14882015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1489
7800dbe4
SL
1490 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1491
14922015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1493
515b89b3
SL
1494 * gdb.linespec/explicit.exp: Check for readline support for
1495 tab-completion tests. Fix obvious typo.
1496
d2939ba2
MM
14972015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1498
1499 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1500 and replay.
1501
cbb55fa7
MM
15022015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1503
1504 * gdb.btrace/non-stop.c: New.
1505 * gdb.btrace/non-stop.exp: New.
1506
43691ca1
PL
15072015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1508 Yao Qi <yao.qi@linaro.org>
1509
1510 * gdb.trace/trace-condition.c: New file.
1511 * gdb.trace/trace-condition.exp: New file.
1512
d78908cf
WW
15132015-09-16 Wei-cheng Wang <cole945@gmail.com>
1514
1515 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1516 for testing bytecode compilation.
1517
1ed415e2
PA
15182015-09-16 Pedro Alves <palves@redhat.com>
1519 Sandra Loosemore <sandra@codesourcery.com>
1520
1521 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1522 (SECONDS): Redefine.
1523 (main): Call pthread_kill and alarm early.
1524 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1525 support.
1526 (test): If the target can't hardware step and doesn't support
1527 displaced stepping, increase the timeout.
1528
d136eff5
PA
15292015-09-16 Pedro Alves <palves@redhat.com>
1530
1531 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1532 (enable_debug): New procedures.
1533 (test): Use them. Bail out if waiting for threads fails.
1534 (top level): Bail out if a test fails.
1535
991f019c
YQ
15362015-09-16 Yao Qi <yao.qi@linaro.org>
1537
1538 * gdb.asm/asm-source.exp: Set asm-arch for
1539 aarch64*-*-* target.
1540 * gdb.asm/aarch64.inc: New file.
1541
bfca584f
PMR
15422015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1543
1544 * gdb.ada/array_of_variable_length.exp: New testcase.
1545 * gdb.ada/array_of_variable_length/foo.adb: New file.
1546 * gdb.ada/array_of_variable_length/pck.adb: New file.
1547 * gdb.ada/array_of_variable_length/pck.ads: New file.
1548
b326e587
DE
15492015-09-15 Doug Evans <dje@google.com>
1550
1551 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1552 of function static local variable.
1553
5382cfab
PW
15542015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1555
1556 * gdb.threads/tls-so_extern.exp: New test file.
1557 * gdb.threads/tls-so_extern.c: New test file.
1558 * gdb.threads/tls-so_extern_main.c: New test file.
1559
141c5cc4
JK
15602015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1561
1562 * gdb.opt/solib-intra-step-lib.c: New file.
1563 * gdb.opt/solib-intra-step-main.c: New file.
1564 * gdb.opt/solib-intra-step.exp: New file.
1565
d15dcecd
PA
15662015-09-15 Pedro Alves <palves@redhat.com>
1567
1568 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1569 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1570
4c2f2a79
PA
15712015-09-14 Pedro Alves <palves@redhat.com>
1572
1573 * gdb.base/hook-stop-continue.c: Delete.
1574 * gdb.base/hook-stop-continue.exp: Delete.
1575 * gdb.base/hook-stop-frame.c: Delete.
1576 * gdb.base/hook-stop-frame.exp: Delete.
1577 * gdb.base/hook-stop.c: New file.
1578 * gdb.base/hook-stop.exp: New file.
1579
919e6dbe
PMR
15802015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1581
1582 * gdb.ada/access_to_packed_array.exp: New testcase.
1583 * gdb.ada/access_to_packed_array/foo.adb: New file.
1584 * gdb.ada/access_to_packed_array/pack.adb: New file.
1585 * gdb.ada/access_to_packed_array/pack.ads: New file.
1586
157280a4
MM
15872015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1588
1589 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1590 buffer size test.
1591
2fd33e94
DB
15922015-09-11 Don Breazeal <donb@codesourcery.com>
1593
1594 * gdb.base/foll-exec.c: Add copyright header. Fix
1595 formatting issues.
1596 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1597 (do_exec_tests): Use clean_restart in place of zap_session,
1598 and for test initialization. Fix formatting issues. Use
1599 fail in place of perror.
1600 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1601 an expect statement to match an expression with output from
1602 the program under debug.
1603 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1604 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1605 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1606 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1607 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1608
e70b6e8e
DE
16092015-09-09 Doug Evans <dje@google.com>
1610
1611 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1612
7a551a51
DE
16132015-09-09 Doug Evans <dje@google.com>
1614
1615 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1616
4c666f84
DE
16172015-09-09 Doug Evans <dje@google.com>
1618
1619 * gdb.base/savedregs.exp: Fix typo.
1620
243a9253
PA
16212015-09-09 Pedro Alves <palves@redhat.com>
1622
1623 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1624
c0fa8fbd
SL
16252015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1626
1627 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1628 command actually switches threads. Give up on remaining
1629 tests if target fails to stop at breakpoint.
1630
cd7c1778
PMR
16312015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1632
1633 * gdb.ada/funcall_char.exp: New testcase.
1634 * gdb.ada/funcall_char/foo.adb: New file.
1635
dc5c8746
PMR
16362015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1637
1638 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1639 expected outputs. Add two testcases for completing ambiguous
1640 functions.
1641 * gdb.ada/complete/aux_pck.adb: New file.
1642 * gdb.ada/complete/aux_pck.ads: New file.
1643 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1644 Ambiguous_Func functions.
1645 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1646 * gdb.ada/complete/pck.adb: Likewise.
1647
4e83a1e7
UW
16482015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1649
1650 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1651 failures to run the test program under GDB.
1652
8ce74153
LM
16532015-08-26 Luis Machado <lgustavo@codesourcery.com>
1654
1655 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1656 to C.
1657
e9756d52
PP
16582015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1659
1660 * gdb.base/run-after-attach.exp: New test file.
1661 * gdb.base/run-after-attach.c: New test file.
1662
8d37573b
DB
16632015-08-26 Don Breazeal <donb@codesourcery.com>
1664
1665 * gdb.base/foll-exec-2.c: New test program.
1666 * gdb.base/foll-exec-2.exp: New test.
1667
63e43d3a
PMR
16682015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1669
1670 * gdb.base/nested-subp1.exp: New file.
1671 * gdb.base/nested-subp1.c: New file.
1672 * gdb.base/nested-subp2.exp: New file.
1673 * gdb.base/nested-subp2.c: New file.
1674 * gdb.base/nested-subp3.exp: New file.
1675 * gdb.base/nested-subp3.c: New file.
1676
3d40fbb5
PA
16772015-08-24 Pedro Alves <palves@redhat.com>
1678
1679 * gdb.server/connect-without-multi-process.c: New file.
1680 * gdb.server/connect-without-multi-process.exp: New file.
1681
4422ac93
LM
16822015-08-24 Luis Machado <lgustavo@codesourcery.com>
1683
1684 * gdb.opt/inline-markers.c: Make z int.
1685
91dddb86
LM
16862015-08-24 Luis Machado <lgustavo@codesourcery.com>
1687
1688 * gdb.opt/inline-markers.c: Make z volatile.
1689
a48847ee
LM
16902015-08-24 Luis Machado <lgustavo@codesourcery.com>
1691
1692 * gdb.opt/inline-bt.c: New volatile global z.
1693 * gdb.opt/inline-cmds.c: Likewise.
1694 * gdb.opt/inline-locals.c: Likewise.
1695 * gdb.opt/inline-markers.c: New extern global z.
1696 (marker): Use z.
1697 (inline_fn): Likewise.
1698
0ebbc52b
PA
16992015-08-24 Pedro Alves <palves@redhat.com>
1700
1701 * config/m32r-stub.exp: Remove file.
1702 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1703 * gdb.base/call-rt-st.exp: Likewise.
1704 * gdb.base/call-strs.exp: Likewise.
1705 * gdb.base/default.exp: Remove references to h8300-*-hms and
1706 *-*-udi*.
1707 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1708
77c365df
AA
17092015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1710
1711 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1712 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1713 and "return" use KFAIL when GDB can not read/write the vector
1714 return value.
1715
4313b8c0
GB
17162015-08-21 Gary Benson <gbenson@redhat.com>
1717
1718 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1719
0e433b32
PA
17202015-08-20 Pedro Alves <palves@redhat.com>
1721
1722 * gdb.server/solib-list.exp: No longer expect an interior stop in
1723 non-stop mode.
1724
221e1a37
PA
17252015-08-20 Pedro Alves <palves@redhat.com>
1726
1727 * gdb.server/connect-stopped-target.c: New file.
1728 * gdb.server/connect-stopped-target.exp: New file.
1729
40e3ad0e
PA
17302015-08-20 Pedro Alves <palves@redhat.com>
1731
1732 * gdb.dwarf2/comp-unit-lang.exp: New file.
1733 * gdb.dwarf2/comp-unit-lang.c: New file.
1734
af39b327
PMR
17352015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1736
1737 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1738 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1739
7d45c7c3 17402015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 1741
7d45c7c3
KB
1742 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1743 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1744
4d6cceb4
DE
17452015-08-18 Doug Evans <dje@google.com>
1746 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1747
1748 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1749 skip_python_tests. New arg prompt_regexp.
1750 (skip_python_tests): New function.
1751 * lib/mi-support.exp (mi_skip_python_tests): New function.
1752 * gdb.python/py-mi-objfile-gdb.py: New file.
1753 * gdb.python/py-mi-objfile.c: New file.
1754 * gdb.python/py-mi-objfile.exp: New file.
1755
ad89c2aa
KS
17562015-08-17 Keith Seitz <keiths@redhat.com>
1757
1758 * gdb.linespec/explicit.exp: Move strace test from here ...
1759 * gdb.trace/strace.exp: ... to here.
1760
e3ae3c43
PP
17612015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1762
1763 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1764 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1765
604b2636
DE
17662015-08-14 Doug Evans <xdje42@gmail.com>
1767
1768 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
1769 inferior before selecting a new file.
1770
6ff0ba5f
DE
17712015-08-14 Doug Evans <xdje42@gmail.com>
1772
1773 * gdb.mi/mi-disassemble.exp: Update.
1774 * gdb.base/disasm-optim.S: New file.
1775 * gdb.base/disasm-optim.c: New file.
1776 * gdb.base/disasm-optim.h: New file.
1777 * gdb.base/disasm-optim.exp: New file.
1778
9ca98f92
KS
17792015-08-14 Keith Seitz <keiths@redhat.com>
1780
1781 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
1782 "evaluated-by".
1783
52bbc560
JB
17842015-08-13 Joel Brobecker <brobecker@adacore.com>
1785
1786 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
1787
5d8c3ed3
PMR
17882015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
1789
1790 * gdb.ada/fun_renaming.exp: New testcase.
1791 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
1792 * gdb.ada/fun_renaming/pack.adb: New file.
1793 * gdb.ada/fun_renaming/pack.ads: New file.
1794
ea8812bc
KS
17952015-08-12 Keith Seitz <keiths@redhat.com>
1796
1797 * gdb.base/dso2dso.exp: Pass basename of source file in call to
1798 gdb_get_line_number.
1799
4dafcdeb
JB
18002015-08-12 Joel Brobecker <brobecker@adacore.com>
1801
1802 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
1803 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
1804 gdb.base/dso2dso.exp: New files.
1805
5ba32597
SDJ
18062015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
1807 Pedro Alves <palves@redhat.com>
1808 Keith Seitz <keiths@redhat.com>
1809
1810 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
1811 GDBFLAGS.
1812
b6dafabf
PP
18132015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1814
1815 * gdb.base/gdbhistsize-history.exp
1816 (test_histsize_history_setting): Use save_vars.
1817 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1818 Use save_vars.
1819 (test_no_truncation_of_unlimited_history_file): Use save_vars.
1820 * gdb.base/readline.exp: Use save_vars.
1821
abe8e607
PP
18222015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1823
1824 * lib/gdb.exp (save_vars): New proc.
1825
629500fa
KS
18262015-08-11 Keith Seitz <keiths@redhat.com>
1827
1828 * gdb.base/help.exp: Update help_breakpoint_text.
1829
eb8c4e2e
KS
18302015-08-11 Keith Seitz <keiths@redhat.com>
1831
1832 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
1833 (at toplevel): Call test_explicit_breakpoints.
1834 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
1835 breakpoints.
1836 * lib/mi-support.exp (mi_make_breakpoint): Add support for
1837 breakpoint conditions, "-cond".
1838
87f0e720
KS
18392015-08-11 Keith Seitz <keiths@redhat.com>
1840
1841 * gdb.linespec/3explicit.c: New file.
1842 * gdb.linespec/cpexplicit.cc: New file.
1843 * gdb.linespec/cpexplicit.exp: New file.
1844 * gdb.linespec/explicit.c: New file.
1845 * gdb.linespec/explicit.exp: New file.
1846 * gdb.linespec/explicit2.c: New file.
1847 * gdb.linespec/ls-errs.exp: Add explicit location tests.
1848 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
1849 before using in the matching pattern.
1850 Clarify that `prefix' is a regular expression.
1851
f00aae0f
KS
18522015-08-11 Keith Seitz <keiths@redhat.com>
1853
1854 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
1855 test.
1856 Add tests for missing ",FMT" and ",".
1857
e27852be
DE
18582015-08-10 Doug Evans <dje@google.com>
1859 Keith Seitz <keiths@redhat.com>
1860
1861 PR gdb/17960
1862 * gdb.base/completion.exp: Add location completer tests.
1863
7f03bd92
PA
18642015-08-07 Pedro Alves <palves@redhat.com>
1865
1866 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
1867 tests here.
1868 (top level): Run do_test with and without displaced stepping.
1869
3fc8eb30
PA
18702015-08-07 Pedro Alves <palves@redhat.com>
1871
1872 * gdb.base/valgrind-disp-step.c: New file.
1873 * gdb.base/valgrind-disp-step.exp: New file.
1874
d4569d7b
PA
18752015-08-07 Pedro Alves <palves@redhat.com>
1876
1877 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
1878 Delete function.
1879 (main): Add alarm. Run an infinite loop instead of calling
1880 wait_threads.
1881 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
1882 comment.
1883 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
1884 Delete function.
1885 (main): Add alarm. Run an infinite loop instead of calling
1886 wait_threads.
1887 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
1888 comment.
1889
e1316e60
PA
18902015-08-07 Pedro Alves <palves@redhat.com>
1891
1892 * gdb.base/checkpoint-ns.exp: New file.
1893 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
1894 standard_testfile.
1895
da8c46d2
MM
18962015-08-07 Markus Metzger <markus.t.metzger@intel.com>
1897
1898 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
1899 * gdb.btrace/instruction_history.exp: Update.
1900 * gdb.btrace/tsx.exp: New.
1901 * gdb.btrace/tsx.c: New.
1902
de1c2c52
PA
19032015-08-06 Pedro Alves <palves@redhat.com>
1904
1905 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
1906 increase timeout.
1907 * gdb.reverse/until-precsave.exp: Bump timeouts.
1908
782e0bf4
PA
19092015-08-06 Pedro Alves <palves@redhat.com>
1910
1911 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
1912
83e97ed0
PA
19132015-08-06 Pedro Alves <palves@redhat.com>
1914
1915 PR gdb/18749
1916 * gdb.threads/process-dies-while-handling-bp.c: New file.
1917 * gdb.threads/process-dies-while-handling-bp.exp: New file.
1918
863d01bd
PA
19192015-08-06 Pedro Alves <palves@redhat.com>
1920
1921 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
1922 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
1923
0a39bb32
PA
19242015-08-05 Pedro Alves <palves@redhat.com>
1925
1926 * gdb.threads/next-while-other-thread-longjmps.c: New file.
1927 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
1928
ee2d2b10
SL
19292015-08-03 Sandra Loosemore <sandra@codesourcery.com>
1930
1931 * gdb.base/bp-permanent.exp: Report test as unsupported if
1932 the target cannot stop at the permanent breakpoint.
1933
4e1bdb00
DE
19342015-08-03 Doug Evans <dje@google.com>
1935
1936 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
1937 10000.
1938
3d338901
DE
19392015-08-03 Doug Evans <dje@google.com>
1940
1941 * Makefile.in (workers/%.worker, build-perf): New rule.
1942 (GDB_PERFTEST_MODE): New variable.
1943 (check-perf): Use it.
1944 (clean): Clean up gdb.perf parallel build subdirs.
1945 * lib/build-piece.exp: New file.
1946 * lib/gdb.exp (make_gdb_parallel_path): New function
1947 (standard_output_file, standard_temp_file): Call it.
1948 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1949 of $GDB_PARALLEL.
1950 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
1951
af061d3e
DE
19522015-08-03 Doug Evans <dje@google.com>
1953
8e1afc81 1954 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
1955 (LOG_FILE_NAME): New global.
1956 (TextReporter.__init__): Initialize self.txt_sum.
1957 (TextReporter.report): Add support for multiple data-points.
1958 Move report to perftest.sum, put raw data in perftest.log.
1959 (TextReporter.start): Open sum and log files.
1960 (TextReporter.end): Close sum and log files.
8e1afc81
DE
1961 * gdb.perf/lib/perftest/testresult.py
1962 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 1963
2c8c5d37
PA
19642015-07-31 Pedro Alves <palves@redhat.com>
1965
1966 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
1967 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1968 kill_wait_spawned_process instead of explicit "kill -9".
1969 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
1970 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1971 kill_wait_spawned_process.
1972 * gdb.base/attach-twice.exp: Likewise.
1973 * gdb.base/attach.exp: Likewise.
1974 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
1975 gdb_test_multiple.
1976 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
1977 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1978 kill_wait_spawned_process.
1979 * gdb.base/valgrind-infcall.exp: Likewise.
1980 * gdb.multi/multi-attach.exp: Likewise.
1981 * gdb.python/py-prompt.exp: Likewise.
1982 * gdb.python/py-sync-interp.exp: Likewise.
1983 * gdb.server/ext-attach.exp: Likewise.
1984 * gdb.threads/attach-into-signal.exp (corefunc): Use
1985 spawn_wait_for_attach, spawn_id_get_pid and
1986 kill_wait_spawned_process.
1987 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
1988 spawn_wait_for_attach returning a spawn id instead of a pid. Use
1989 spawn_id_get_pid and kill_wait_spawned_process.
1990 * gdb.threads/attach-stopped.exp (corefunc): Use
1991 spawn_wait_for_attach, spawn_id_get_pid and
1992 kill_wait_spawned_process.
1993 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
1994 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1995 kill_wait_spawned_process instead of explicit "kill -9".
1996 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
1997 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
1998 (spawn_wait_for_attach): Use spawn instead of exec to spawn
1999 processes. Don't map cygwin/windows pids here. Now returns a
2000 spawn id list.
2001
032a0fca
SL
20022015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2003
2004 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2005 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2006 correct patch.
2007
61a934ca
SL
20082015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2009
2010 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2011
4bc4d428
SL
20122015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2013
2014 Reapply:
2015 2014-05-21 Mark Wielaard <mjw@redhat.com>
2016
2017 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2018
998d452a
PA
20192015-07-30 Pedro Alves <palves@redhat.com>
2020
2021 * linux-low.c (handle_extended_wait): Set the child's last
2022 reported status to TARGET_WAITKIND_STOPPED.
2023
69dde7dc
PA
20242015-07-30 Pedro Alves <palves@redhat.com>
2025
2026 PR threads/18600
2027 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2028 only shows inferior 1.
2029
4dd63d48
PA
20302015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2031 Pedro Alves <palves@redhat.com>
2032
2033 PR threads/18600
2034 * gdb.threads/fork-plus-threads.c: New file.
2035 * gdb.threads/fork-plus-threads.exp: New file.
2036
d618e4c5
PP
20372015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2038
2039 * gdb.base/batch-preserve-term-settings.exp
2040 (test_terminal_settings_preserved_after_cli_exit): Use
2041 send_quit_command.
2042
1eef6428
PA
20432015-07-29 Pedro Alves <palves@redhat.com>
2044 Don Breazeal <donb@codesourcery.com>
2045
2046 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2047 output from both inferior_spawn_id and gdb_spawn_id.
2048
7da5b897
SDJ
20492015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2050
2051 * gdb.threads/attach-into-signal.exp (corefunc): Use
2052 with_test_prefix on nested loops, uniquefying the test messages.
2053
dac804df
SDJ
20542015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2055
2056 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2057 commit.
2058
06265e53
PP
20592015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2060
2061 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2062 New proc.
2063 (test_terminal_settings_preserved_after_sigterm): New test.
2064
18206ca3
PP
20652015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2066
2067 * gdb.base/batch-preserve-term-settings.exp
2068 (test_terminal_settings_preserved_after_cli_exit): New test.
2069
90074d11
PP
20702015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2071
2072 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2073 manipulation of saved_gdbflags.
2074 (test_terminal_settings_preserved): Remove global declaration of
2075 the unused variable pagination_prompt. Remove manipulation of
2076 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2077 GDBFLAGS.
2078
eb1a7902
PA
20792015-07-29 Pedro Alves <palves@redhat.com>
2080
2081 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2082
8b75dd3b
PA
20832015-07-29 Pedro Alves <palves@redhat.com>
2084
2085 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2086 at the top.
2087
dedad4e3
PA
20882015-07-29 Pedro Alves <palves@redhat.com>
2089
2090 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2091 (main): Call gdb_unbuffer_output.
2092 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2093 (main): Call gdb_unbuffer_output.
2094 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2095 (main): Call gdb_unbuffer_output.
2096 * gdb.base/call-strs.exp: Adjust to step over the
2097 gdb_unbuffer_output call.
2098 * gdb.base/catch-gdb-caused-signals.c: Include
2099 "../lib/unbuffer_output.c".
2100 (main): Call gdb_unbuffer_output.
2101 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2102 (main): Call gdb_unbuffer_output.
2103 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2104 (main): Call gdb_unbuffer_output.
2105 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2106 (main): Call gdb_unbuffer_output.
2107 * gdb.base/shlib-call.exp: Adjust to step over the
2108 gdb_unbuffer_output call.
2109 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2110 (main): Call gdb_unbuffer_output.
2111 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2112 (main): Call gdb_unbuffer_output.
2113 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2114 (main): Rename to ...
2115 (test): ... this.
2116 (main): Reimplement.
2117 * gdb.base/varargs.exp: Run to test instead of to main.
2118 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2119 (main): Call gdb_unbuffer_output.
2120
58789a91
PA
21212015-07-29 Pedro Alves <palves@redhat.com>
2122
2123 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2124 factore out from mi_continue_dprintf. For call-style dprintfs,
2125 expect dprintf output out of $inferior_spawn_id.
2126 (mi_continue_dprintf): Use mi_expect_dprintf.
2127 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2128 (main): Call gdb_unbuffer_output.
2129
e8376742
PA
21302015-07-29 Pedro Alves <palves@redhat.com>
2131
2132 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2133 (default_mi_gdb_start): Set inferior_spawn_id instead of
2134 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2135 gdb_spawn_id.
2136 (mi_gdb_test): Always expect inferior output from both
2137 $inferior_spawn_id and $gdb_spawn_id.
2138
08280010
PA
21392015-07-29 Pedro Alves <palves@redhat.com>
2140
2141 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2142 send_inferior and $inferior_spawn_id.
2143
4d30e432
PA
21442015-07-29 Pedro Alves <palves@redhat.com>
2145
2146 * gdb.gdb/complaints.exp (test_initial_complaints)
2147 (test_serial_complaints, test_short_complaints): Use
2148 gdb_test_stdio.
2149 (test_empty_complaint): Handle $inferior_spawn_id !=
2150 $gdb_spawn_id.
2151
0d30a335
PA
21522015-07-29 Pedro Alves <palves@redhat.com>
2153
2154 * gdb.base/varargs.exp: Use gdb_test_stdio.
2155
39413b29
PA
21562015-07-29 Pedro Alves <palves@redhat.com>
2157
2158 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2159
7cb000a9
PA
21602015-07-29 Pedro Alves <palves@redhat.com>
2161
2162 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2163
d7b8ac82
PA
21642015-07-29 Pedro Alves <palves@redhat.com>
2165
2166 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2167 parameter into two new parameters, "inf_result" and "gdb_result".
2168 Expect inferior output and gdb output from $inferior_spawn_id and
2169 $gdb_spawn_id, respectively. Adjust all callers.
2170
789c3a0c
PA
21712015-07-29 Pedro Alves <palves@redhat.com>
2172
2173 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2174 of gdb_test_sequence.
2175
77e760c3
PA
21762015-07-29 Pedro Alves <palves@redhat.com>
2177
2178 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2179 (saw_spurious_output): Expect inferior output from
2180 $inferior_spawn_id. Use gdb_test_stdio.
2181
8396d2cd
PA
21822015-07-29 Pedro Alves <palves@redhat.com>
2183
2184 * gdb.base/dprintf.exp: Use standard_testfile. Change
2185 prepare_for_testing call.
2186 (srcfile): Don't set.
2187 (restart): New procedure.
2188 (test_dprintf): New procecure, use to continue over dprintfs.
2189 (test_call, test_agent): New procedures, tests moved here.
2190 Restart gdb and recreate dprintfs. Adjust expected output.
2191
2051d61f
PA
21922015-07-29 Pedro Alves <palves@redhat.com>
2193
2194 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2195
452397af
PA
21962015-07-29 Pedro Alves <palves@redhat.com>
2197
2198 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2199
8aed9555
PA
22002015-07-29 Pedro Alves <palves@redhat.com>
2201
2202 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2203 gdb_test_stdio.
2204
188a61b4
PA
22052015-07-29 Pedro Alves <palves@redhat.com>
2206
2207 * lib/gdb.exp (gdb_test_stdio): New procedure.
2208
12264a45
PA
22092015-07-29 Pedro Alves <palves@redhat.com>
2210
2211 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2212
23ffc893
PA
22132015-07-29 Pedro Alves <palves@redhat.com>
2214
2215 * gdb.base/call-signal-resume.exp: Remove check for
2216 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2217 * gdb.base/unwindonsignal.exp: Likewise.
2218 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2219 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2220
65566918
PA
22212015-07-29 Pedro Alves <palves@redhat.com>
2222
2223 * gdb.base/siginfo-addr.c (pass): New function.
2224 (handler): Call it iff si_addr is correct.
2225 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2226 Set a breakpoint at "pass" and continue to it.
2227
d60a9221
SDJ
22282015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2229
2230 * gdb.python/py-objfile.exp: Make some tests have unique names.
2231 * gdb.python/py-pp-registration.exp: Likewise.
2232
bde40b8f
PA
22332015-07-28 Pedro Alves <palves@redhat.com>
2234
2235 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2236
13e1dec8
SM
22372015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2238
2239 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2240
da33c9a7
SM
22412015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2242
2243 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2244
077836f7
PP
22452015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2246
2247 * gdb.base/gdb-sigterm-2.exp: New test.
2248
b8cc7b2e
DE
22492015-07-25 Doug Evans <xdje42@gmail.com>
2250
2251 Revert:
2252 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2253 (workers/%.worker, build-perf): New rule.
2254 (GDB_PERFTEST_MODE): New variable.
2255 (check-perf): Use it.
2256 (clean): Clean up gdb.perf parallel build subdirs.
2257 * lib/build-piece.exp: New file.
2258 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2259 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2260 name.
2261 (standard_temp_file): Ditto.
2262 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2263 of $GDB_PARALLEL.
2264
c8bd4544
DE
22652015-07-24 Doug Evans <dje@google.com>
2266
2267 * gdb.perf/lib/perftest/utils.py: New file.
2268 * gdb.perf/gm-hello.cc: New file.
2269 * gdb.perf/gm-pervasive-typedef.cc: New file.
2270 * gdb.perf/gm-pervasive-typedef.h: New file.
2271 * gdb.perf/gm-std.cc: New file.
2272 * gdb.perf/gm-std.h: New file.
2273 * gdb.perf/gm-use-cerr.cc: New file.
2274 * gdb.perf/gm-utils.h: New file.
2275 * gdb.perf/gmonster-null-lookup.py: New file.
2276 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2277 * gdb.perf/gmonster-print-cerr.py: New file.
2278 * gdb.perf/gmonster-ptype-string.py: New file.
2279 * gdb.perf/gmonster-runto-main.py: New file.
2280 * gdb.perf/gmonster-select-file.py: New file.
2281 * gdb.perf/gmonster1-null-lookup.exp: New file.
2282 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2283 * gdb.perf/gmonster1-print-cerr.exp: New file.
2284 * gdb.perf/gmonster1-ptype-string.exp: New file.
2285 * gdb.perf/gmonster1-runto-main.exp: New file.
2286 * gdb.perf/gmonster1-select-file.exp: New file.
2287 * gdb.perf/gmonster1.cc: New file.
2288 * gdb.perf/gmonster1.exp: New file.
2289 * gdb.perf/gmonster2-null-lookup.exp: New file.
2290 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2291 * gdb.perf/gmonster2-print-cerr.exp: New file.
2292 * gdb.perf/gmonster2-ptype-string.exp: New file.
2293 * gdb.perf/gmonster2-runto-main.exp: New file.
2294 * gdb.perf/gmonster2-select-file.exp: New file.
2295 * gdb.perf/gmonster2.cc: New file.
2296 * gdb.perf/gmonster2.exp: New file.
2297
6eab34f3
DE
22982015-07-24 Doug Evans <dje@google.com>
2299
2300 * gdb.perf/README: New file.
2301 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2302 * lib/gen-perf-test.exp: New file.
2303
63738bfd
DE
23042015-07-24 Doug Evans <dje@google.com>
2305
2306 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2307 (PerfTest::startup): New function.
2308 (PerfTest::run): Return result of calling body.
2309 (PerfTest::assemble): Rewrite.
2310 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2311 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2312 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2313 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2314 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2315
7b606f95
DE
23162015-07-24 Doug Evans <dje@google.com>
2317
2318 * lib/gdb.exp (clean_restart): Make executable optional.
2319
a97b16b8
DE
23202015-07-24 Doug Evans <dje@google.com>
2321
2322 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2323 compiler_info references.
2324 * gdb.cp/temargs.exp: Ditto.
2325 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2326 (get_compiler_info): Early exit if already computed. Set compiler_info
2327 to "unknown" if there was a problem.
2328 (test_compiler_info): Add function comment. Call get_compiler_info.
2329
35baa57f
DE
23302015-07-24 Doug Evans <dje@google.com>
2331
2332 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2333 (workers/%.worker, build-perf): New rule.
2334 (GDB_PERFTEST_MODE): New variable.
2335 (check-perf): Use it.
2336 (clean): Clean up gdb.perf parallel build subdirs.
2337 * lib/build-piece.exp: New file.
2338 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2339 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2340 name.
2341 (standard_temp_file): Ditto.
2342 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2343 of $GDB_PARALLEL.
2344
6ebea266
DE
23452015-07-24 Doug Evans <dje@google.com>
2346
2347 * lib/future.exp (gdb_default_target_compile): New option
2348 "early_flags".
2349 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2350 --as-needed.
2351
1e76a7e9
SDJ
23522015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2353
2354 * gdb.base/catch-syscall.exp: Call gdb_exit before
2355 gdb_skip_xml_test.
2356
5068630a
PA
23572015-07-24 Pedro Alves <palves@redhat.com>
2358
2359 * gdb.python/py-events.exp: Accept output between the stop event
2360 and the prompt.
2361 * gdb.python/py-evsignal.exp: Likewise.
2362 * gdb.python/py-evthreads.exp: Likewise.
2363
77598427
PA
23642015-07-24 Pedro Alves <palves@redhat.com>
2365
2366 PR gdb/18717
2367 * gdb.threads/non-ldr-exit.c: New file.
2368 * gdb.threads/non-ldr-exit.exp: New file.
2369
11e6c98f
YQ
23702015-07-24 Yao Qi <yao.qi@linaro.org>
2371
2372 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2373 restarting process.
2374
51aee833
YQ
23752015-07-24 Yao Qi <yao.qi@linaro.org>
2376
2377 * gdb.server/ext-restart.exp: New file.
2378
8cfe207c
YQ
23792015-07-24 Yao Qi <yao.qi@linaro.org>
2380
2381 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2382 argument options.
2383 * gdb.server/ext-wrapper.exp: New file.
2384
cc12ce38
DE
23852015-07-23 Doug Evans <dje@google.com>
2386
2387 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2388 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2389
d0d84780
PMR
23902015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2391
2392 * gdb.ada/var_arr_typedef.exp: New testcase.
2393 * gdb.ada/var_arr_typedef/pack.adb: New file.
2394 * gdb.ada/var_arr_typedef/pack.ads: New file.
2395 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2396
8b558f79
JB
23972015-07-20 Joel Brobecker <brobecker@adacore.com>
2398
2399 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2400
775a3298
JK
24012015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2402
2403 * gdb.arch/i386-biarch-core.exp: Replace istarget
2404 by "complete set gnutarget". Remove expectation for the "core-file"
2405 command.
2406
db1ff28b
JK
24072015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2408
2409 Revert the previous commit:
2410 Tests for validate symbol file using build-id.
2411
0a94970d
JK
24122015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2413
2414 Tests for validate symbol file using build-id.
2415 * gdb.base/solib-mismatch-lib.c: New file.
2416 * gdb.base/solib-mismatch-libmod.c: New file.
2417 * gdb.base/solib-mismatch.c: New file.
2418 * gdb.base/solib-mismatch.exp: New file.
2419
03346981
SL
24202015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2421
2422 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2423 nios2-*-linux*.
2424 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2425 * gdb.base/siginfo.exp: Likewise.
2426 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2427
42422cc7
PL
24282015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2429
2430 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2431 Move it to ...
2432 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2433 ... here.
2434 * gdb.trace/range-stepping.exp: Check that the target supports
2435 range stepping.
2436
cfa68bae
JK
24372015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2438
2439 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2440
8ffdba26
PA
24412015-07-14 Pedro Alves <palves@redhat.com>
2442
2443 * gdb.base/killed-outside.exp: New file.
2444 * gdb.base/killed-outside.c: New file.
2445
218a5a11
JK
24462015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2447
2448 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2449 (n at main): New.
2450 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2451
e03ed3c6
AA
24522015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2453
2454 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2455 infcall tests instead of setting up for KFAIL.
2456
485668e5
MM
24572015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2458
2459 * gdb.btrace/record_goto-step.exp: New.
2460
08464196
JK
24612015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2462
2463 PR compile/18484
2464 * gdb.compile/compile.c (struct struct_type): Add volatile to
2465 selffield's type.
2466 * gdb.compile/compile.exp
2467 (compile code struct_object.selffield = &struct_object): Skip further
2468 struct_object tests if this one xfails.
2469
bcf5c1d9
RC
24702015-07-08 Robert O'Callahan <robert@ocallahan.org>
2471
2472 PR exp/18617
2473 * gdb.trace/ax.exp: Add test.
2474
4931af25
YQ
24752015-07-07 Yao Qi <yao.qi@linaro.org>
2476
2477 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2478 instead of istarget "aarch64*-*-*".
2479 * gdb.arch/aarch64-fp.exp: Likewise.
2480 * gdb.base/float.exp: Likewise.
2481 * gdb.reverse/aarch64.exp: Likewise.
2482 * lib/gdb.exp (is_aarch64_target): New proc.
2483
9fcf688e
YQ
24842015-07-07 Yao Qi <yao.qi@linaro.org>
2485
2486 * lib/gdb.exp (is_aarch32_target): New proc.
2487 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2488 instead of "istarget "arm*-*-*"".
2489 * gdb.arch/arm-disp-step.exp: Likewise.
2490 * gdb.arch/thumb-bx-pc.exp: Likewise.
2491 * gdb.arch/thumb-prologue.exp: Likewise.
2492 * gdb.arch/thumb-singlestep.exp: Likewise.
2493 * gdb.base/disp-step-syscall.exp: Likewise.
2494 * gdb.base/float.exp: Likewise.
2495
fbd8d50d
YQ
24962015-07-07 Yao Qi <yao.qi@linaro.org>
2497
2498 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2499 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2500
71be1fdc
YQ
25012015-07-07 Yao Qi <yao.qi@linaro.org>
2502
2503 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2504 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2505 if it exists.
2506 * gdb.multi/multi-arch.exp: Likewise.
2507
3e221d36
SM
25082015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2509
2510 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2511 print.
2512
d441430b
YQ
25132015-07-07 Yao Qi <yao.qi@linaro.org>
2514
2515 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2516
06f810bd
MG
25172015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2518
2519 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2520 '[' and ']' characters.
2521
5e61e7c0
IB
25222015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2523
2524 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2525
28bf096c
PA
25262015-06-29 Pedro Alves <palves@redhat.com>
2527
2528 PR threads/18127
2529 * gdb.threads/hand-call-new-thread.c: New file.
2530 * gdb.threads/hand-call-new-thread.c: New file.
2531
ee93cd5e
KS
25322015-06-26 Keith Seitz <keiths@redhat.com>
2533 Doug Evans <dje@google.com>
2534
2535 PR 16253
2536 * gdb.cp/var-tag-2.cc: New file.
2537 * gdb.cp/var-tag-3.cc: New file.
2538 * gdb.cp/var-tag-4.cc: New file.
2539 * gdb.cp/var-tag.cc: New file.
2540 * gdb.cp/var-tag.exp: New file.
2541
fc637f04
PP
25422015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2543
2544 * gdb.base/history-duplicates.exp: New test.
2545
2e52ae68
PP
25462015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2547
2548 * gdb.base/completion.exp: Test the completion of the "focus"
2549 command.
2550
6e22494e
JK
25512015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2552
2553 * gdb.arch/amd64-prologue-skip.S: New file.
2554 * gdb.arch/amd64-prologue-skip.exp: New file.
2555
bf7b9cd9
SM
25562015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2557
2558 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2559 is_address_zero_readable check.
2560
201e8dfd
PB
25612015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2562
2563 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2564 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2565
5cd867b4
YQ
25662015-06-24 Yao Qi <yao.qi@linaro.org>
2567
2568 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2569 linux targets.
2570
4d7be007
YQ
25712015-06-24 Yao Qi <yao.qi@linaro.org>
2572
2573 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2574 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2575 * gdb.base/siginfo-thread.exp: Likewise.
2576
07fcd301
YQ
25772015-06-22 Yao Qi <yao.qi@linaro.org>
2578
2579 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2580
52042a00
YQ
25812015-06-22 Yao Qi <yao.qi@linaro.org>
2582
2583 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2584 aarch64*-*-*.
2585 (skip_hw_watchpoint_tests): Likewise.
2586
74bd41ce
PP
25872015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2588
2589 * gdb.base/gdbinit-history.exp: Test the interaction between
2590 setting GDBHISTSIZE and setting the history size via .gdbinit.
2591
bc460514
PP
25922015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2593
2594 PR gdb/16999
2595 * gdb.base/gdbhistsize-history.exp: New test.
2596
b58c513b
PP
25972015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2598
2599 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2600 with GDBHISTSIZE.
2601 * gdb.base/readline.exp: Likewise.
2602
92046791
YQ
26032015-06-17 Yao Qi <yao.qi@linaro.org>
2604
2605 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2606 line.
2607
2093d2d3
PP
26082015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2609
2610 * gdb.base/gdbinit-history.exp: Add test case to check that
2611 an unlimited history file does not get truncated on exit.
2612
e6c693af
AA
26132015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2614
2615 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2616 (VECTOR): New macro. Use it...
2617 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2618 ...for these typedefs.
2619 (int8, char1, int1, double1): New typedefs.
2620 (struct just_int2, struct two_int2): New structures.
2621 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2622 (add_structvecs, add_singlevecs): New functions.
2623 (main): Call add_some_intvecs twice.
2624 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2625 the compile and exit upon failure. Try compiling for the "native"
2626 architecture. Test inferior function calls with vector arguments
2627 and vector return value handling with "finish" and "return".
2628
c74f7d1c
JT
26292015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2630
2631 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2632 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2633 PE file.
2634 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2635
98aa42ee
AT
26362015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2637
2638 PR breakpoints/16465
2639 * gdb.mi/mi-dprintf-pending.c: New file.
2640 * gdb.mi/mi-dprintf-pending.exp: New test.
2641 * gdb.mi/mi-dprintf-pendshr.c: New file.
2642
7d73c23c 26432015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 2644 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
2645
2646 * gdb.arch/i386-mpx-map.c: New file.
2647 * gdb.arch/i386-mpx-map.exp: New File.
2648
26492015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2650
2651 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2652 * gdb.arch/i386-mpx.exp: Indentation fixed.
2653
26542015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2655
2656 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2657 function and improved indentation.
2658 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2659 gdb_test_multiple. Added additional tests to skip the test.
2660
26612015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2662
2663 * gdb.arch/i386-avx512.c: Change path in include file.
2664 * gdb.arch/i386-avx512.exp: Change include dir path
2665 compilation flag.
2666 * gdb.arch/i386-mpx.c: Change path in include file.
2667 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2668 flag.
2669
d5eba19a
JK
26702015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2671
2672 * gdb.compile/compile-print.exp (compile print *vararray@3)
2673 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2674
7f361056
JK
26752015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2676
2677 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2678 (do not keep jit in memory): ... this.
2679 (expect 5): Change it to ...
2680 (expect no 5): ... this.
2681
3b462ec2
SM
26822015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2683
2684 PR gdb/15564
2685 * gdb.mi/mi-detach.exp: New file.
2686
e0619de6
JK
26872015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2688
2689 PR symtab/18392
2690 * gdb.arch/amd64-tailcall-self.S: New file.
2691 * gdb.arch/amd64-tailcall-self.c: New file.
2692 * gdb.arch/amd64-tailcall-self.exp: New file.
2693
e970cb34
DB
26942015-05-28 Don Breazeal <donb@codesourcery.com>
2695
2696 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2697 tests for remote targets by checking is_target_gdbserver.
2698
b2e2f908
DE
26992015-05-27 Doug Evans <dje@google.com>
2700
2701 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2702 * gdb.dwarf2/opaque-type-lookup.c: New file.
2703 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2704
82c7be31
DE
27052015-05-26 Doug Evans <dje@google.com>
2706
2707 * gdb.cp/iostream.cc: New file.
2708 * gdb.cp/iostream.exp: New file.
2709
b4f54984
DE
27102015-05-26 Doug Evans <dje@google.com>
2711
2712 * gdb.dwarf2/dw2-op-call.exp: Update.
2713 * gdb.dwarf2/dw4-sig-types.exp: Update.
2714 * gdb.dwarf2/implptr.exp: Update.
2715 * gdb.mi/mi-cmd-param-changed.exp: Update.
2716
4ea6efe9
DE
27172015-05-26 Doug Evans <dje@google.com>
2718
2719 * gdb.python/py-lazy-string.c: New file.
2720 * gdb.python/py-lazy-string.exp: New file.
2721 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2722 (main): Update. Add estring3.
2723 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2724 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2725
f6bb7db3
YQ
27262015-05-26 Omair Javaid <omair.javaid@linaro.org>
2727 Yao Qi <yao.qi@linaro.org>
2728
2729 * gdb.reverse/aarch64.c: New.
2730 * gdb.reverse/aarch64.exp: New.
2731
a81bfbd0
OJ
27322015-05-26 Omair Javaid <omair.javaid@linaro.org>
2733
2734 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2735 (supports_reverse): Likewise.
2736
158bf1b4
PP
27372015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2738
2739 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2740 Use with_test_prefix.
2741
a0145030
AB
27422015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2743
2744 * gdb.base/completion.exp: Add test for completion of layout
2745 names.
2746
ebe3b578
AB
27472015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2748
2749 * lib/gdb.exp (skip_tui_tests): New proc.
2750 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2751
84204ed7
PA
27522015-05-19 Pedro Alves <palves@redhat.com>
2753
2754 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2755 Save the whole env array instead of just HOME. Unset HISTSIZE in
2756 the environment while testing. Restore whole environment
2757 afterwards.
2758
37442ce1
DE
27592015-05-16 Doug Evans <xdje42@gmail.com>
2760
2761 * gdb.guile/scm-ports.c: New file.
2762 * gdb.guile/scm-ports.exp: Add memory port tests.
2763
36de76f9
JK
27642015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2765
2766 * gdb.compile/compile-print.c: New file.
2767 * gdb.compile/compile-print.exp: New file.
2768
3a9558c4
JK
27692015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2770
2771 * gdb.compile/compile-ops.exp: Cast param to void.
2772 * gdb.compile/compile.exp: Complete type for _gdb_expr.
2773 (compile code struct_object.selffield = &struct_object): Add xfail.
2774
aa715135
JG
27752015-05-15 Joel Brobecker <brobecker@adacore.com>
2776
2777 * gdb.ada/arr_enum_with_gap: New testcase.
2778
931e5bc3
JG
27792015-05-15 Joel Brobecker <brobecker@adacore.com>
2780
2781 * gdb.ada/byte_packed_arr: New testcase.
2782
9cd4d857
JB
27832015-05-15 Joel Brobecker <brobecker@adacore.com>
2784
2785 * gdb.ada/pckd_neg: New testcase.
2786
ebfd00d2
PP
27872015-05-13 Patrick Palka <patrick@parcs.ath.cx>
2788
2789 PR gdb/17820
2790 * gdb.base/gdbinit-history.exp: New test.
2791 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
2792 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
2793
4c082a81
SC
27942015-05-09 Siva Chandra Reddy <sivachandra@google.com>
2795
2796 * gdb.python/py-xmethods.cc: Enhance test case.
2797 * gdb.python/py-xmethods.exp: New tests.
2798 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
2799 function.
2800 (B_indexoper): Likewise.
2801 (global_dm_list) : Add new xmethod worker functions.
2802
f7797074
SDJ
28032015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
2804
2805 * gdb.base/coredump-filter.exp: Correctly unset
2806 "coredump_var_addr" array.
2807
a4674e4e
PA
28082015-05-08 Pedro Alves <palves@redhat.com>
2809
2810 * gdb.server/non-existing-program.exp: Unset spawn_id.
2811
df2eb078
SC
28122015-05-08 Siva Chandra Reddy <sivachandra@google.com>
2813
2814 PR python/18291
2815 * gdb.python/py-xmethods.exp: Add tests.
2816
422349a3
YQ
28172015-05-08 Yao Qi <yao.qi@linaro.org>
2818
2819 PR gdb/18208
2820 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
2821 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
2822 function set_coredump_filter, and remove remote_exec call.
2823 Remove argument ipid. Callers update.
2824 (top level): Don't get inferior's PID.
2825
63fc80ce
AA
28262015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
2827
2828 * gdb.base/watch_thread_num.exp: Skip test on targets without
2829 access watchpoints.
2830
80ad801e
PA
28312015-05-06 Pedro Alves <palves@redhat.com>
2832
2833 PR server/18081
2834 * gdb.server/non-existing-program.exp: New file.
2835
0fa7fe50
JB
28362015-05-05 Joel Brobecker <brobecker@adacore.com>
2837
2838 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
2839
3ea89b92
PMR
28402015-05-05 Joel Brobecker <brobecker@adacore.com>
2841
2842 * gdb.ada/out_of_line_in_inlined: New testcase.
2843
87b8eff0
JB
28442015-05-05 Joel Brobecker <brobecker@adacore.com>
2845
2846 * gdb.ada/var_rec_arr: New testcase.
2847
5fccc635
YQ
28482015-04-30 Yao Qi <yao.qi@linaro.org>
2849
2850 * gdb.base/break-idempotent.exp: If
2851 skip_hw_watchpoint_multi_tests returns true, skip the tests
2852 on "rwatch" and "awatch".
2853
42d38f42
YQ
28542015-04-30 Yao Qi <yao.qi@linaro.org>
2855
2856 * gdb.base/relativedebug.exp: Invoke gdb command
2857 "info sharedlibrary", and if libc.so doesn't have debug info,
2858 skip the test.
2859
2ce1cdbf
DE
28602015-04-29 Doug Evans <dje@google.com>
2861
2862 * gdb.python/py-xmethods.exp: Add ptype tests.
2863 * gdb.python/py-xmethods.py (E_method_char_worker): Add
2864 get_result_type method.
2865
f24a38c5
LM
28662015-04-29 Luis Machado <lgustavo@codesourcery.com>
2867
2868 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
2869 the target does not support hardware watchpoints.
2870
ecbf2b3c
LM
28712015-04-29 Luis Machado <lgustavo@codesourcery.com>
2872
2873 * gdb.base/break-always.exp: Abort testing if writing to memory
2874 causes an error.
2875
34f5f757
DE
28762015-04-28 Doug Evans <dje@google.com>
2877
2878 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
2879 * gdb.python/py-pp-registration.exp: ... here. New file.
2880 * gdb.python/py-pp-registration.c: New file.
2881 * gdb.python/py-pp-registration.py: New file.
2882
69b4374a
DE
28832015-04-28 Doug Evans <dje@google.com>
2884
2885 * gdb.python/py-bad-printers.c: New file.
2886 * gdb.python/py-bad-printers.py: New file.
2887 * gdb.python/py-bad-printers.exp: New file.
2888
59fb7612
SS
28892015-04-28 Sasha Smundak <asmundak@google.com>
2890
2891 * gdb.python/py-type.exp: New test.
2892
2631b16a
AW
28932015-04-28 Andy Wingo <wingo@igalia.com>
2894
2895 * gdb.python/py-parameter.exp:
2896 * gdb.guile/scm-parameter.exp: Escape the path that we are
2897 matching against, as it might contain characters that are special
2898 to regular expressions.
2899
460efde1
JB
29002015-04-27 Joel Brobecker <brobecker@adacore.com>
2901
2902 * gdb.ada/rec_comp: New testcase.
2903
2d369d8e
SDJ
29042015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
2905
2906 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
2907 before using it.
2908
cf75d6c3
AB
29092015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
2910
2911 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
2912 new tests for verilog output.
2913
8dbe7ca5
YQ
29142015-04-24 Yao Qi <yao.qi@linaro.org>
2915
2916 * boards/remote-gdbserver-on-localhost.exp: New file.
2917
4ef9fb2f
PA
29182015-04-23 Pedro Alves <palves@redhat.com>
2919
2920 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
2921 $inferior_spawn_id instead of $inferior_spawn_id directly. On
2922 "end of file", remove $inferior_spawn_id from the indirect list.
2923
0a803169
PA
29242015-04-23 Pedro Alves <palves@redhat.com>
2925
2926 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
2927
749ef8f8
PA
29282015-04-23 Pedro Alves <palves@redhat.com>
2929
2930 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
2931 on $any_spawn_id instead of only on $gdb_spawn_id.
2932
8aae4344
PM
29332015-04-21 Pierre Muller <muller@sourceware.org>
2934
2935 PR pascal/17815
2936 * lib/pascal.exp (gpc_compile): Add new option "class".
2937 (fpc_compile): Likewise.
2938 * gdb.pascal/case-insensitive-symbols.pas: New file.
2939 * gdb.pascal/case-insensitive-symbols.exp: New file.
2940
1586c8fb
GB
29412015-04-20 Gary Benson <gbenson@redhat.com>
2942
2943 * gdb.base/attach.exp: Fix three extended remote failures.
2944
1b6e6f5c
GB
29452015-04-17 Gary Benson <gbenson@redhat.com>
2946
2947 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
2948 the main executable over the remote protocol.
2949
e797481d
PA
29502015-04-16 Pedro Alves <palves@redhat.com>
2951
2952 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
2953 a new gdbserver if gdbserver_reconnect_p is set.
2954
1ca99c42
PA
29552015-04-16 Pedro Alves <palves@redhat.com>
2956
2957 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
2958 is set, don't exit gdbserver.
2959
af9fd6f8
AA
29602015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2961
2962 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
2963 appropriate .insn, such that an older assembler can be used.
2964 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
2965 the z/Architecture instruction set on 31-bit targets as well.
2966
04ff1e61
AA
29672015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2968
2969 * gdb.go/handcall.exp: Remove all logic related to the first
2970 breakpoint and rely on go_runto_main instead.
2971 * gdb.go/strings.exp: Likewise.
2972 * gdb.go/unsafe.exp: Likewise.
2973 * gdb.go/hello.exp: Likewise. Also rename the remaining
2974 breakpoint marker to "breakpoint 1".
2975 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
2976 * gdb.go/strings.go: Likewise.
2977 * gdb.go/unsafe.go: Likewise.
2978 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
2979 "set breakpoint 2 here" and rename the remaining breakpoint marker
2980 to "breakpoint 1".
2981
40d2f8d6
SM
29822015-04-15 Simon Marchi <simon.marchi@ericsson.com>
2983
2984 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
2985 if itertools.imap is not present.
2986 * gdb.python/py-objfile.exp: Add parentheses.
2987 * gdb.python/py-type.exp: Same.
2988 * gdb.python/py-unwind-maint.py: Same.
2989
8cbc97c6
YQ
29902015-04-15 Yao Qi <yao.qi@linaro.org>
2991
2992 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
2993 of ":$ptr_size" and set its form explicitly.
2994
45fd756c
YQ
29952015-04-15 Pedro Alves <palves@redhat.com>
2996 Yao Qi <yao.qi@linaro.org>
2997
2998 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
2999 timeout by factor of 4.
3000 (test_regular_watch): Likewise.
3001 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3002 * gdb.reverse/sigall-reverse.exp: Likewise.
3003 * gdb.reverse/until-precsave.exp: Likewise.
3004 * lib/gdb.exp (with_timeout_factor): New proc.
3005 (gdb_expect): Move some code to ...
3006 (get_largest_timeout): ... here. New procedure.
3007
9e811bc3
LM
30082015-04-14 Luis Machado <lgustavo@codesourcery.com>
3009
3010 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3011
0ff6fcb2
LM
30122015-04-13 Luis Machado <lgustavo@codesourcery.com>
3013
3014 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3015 to write to the .text section.
3016
7578d5f7
LM
30172015-04-13 Luis Machado <lgustavo@codesourcery.com>
3018
3019 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3020 Handle the case of targets that do not provide PID information.
3021
2efe15c4
YQ
30222015-04-13 Yao Qi <yao.qi@linaro.org>
3023
3024 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3025 and use expect instead of gdb_expect.
3026
8cd8f2f8
SDJ
30272015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3028
3029 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3030 "coredump_var_addr" to avoid naming conflict with other testcases.
3031
9ee41772
PA
30322015-04-10 Pedro Alves <palves@redhat.com>
3033
3034 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3035 gdb_test_sequence and gdb_assert.
3036
07473109
PA
30372015-04-10 Pedro Alves <palves@redhat.com>
3038
3039 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3040 test messages that don't include the breakpoint address.
3041
de3db44c
YQ
30422015-04-10 Yao Qi <yao.qi@linaro.org>
3043
3044 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3045 false for some offset and width combinations which aren't
3046 supported by linux kernel.
3047
c79d856c
PA
30482015-04-10 Pedro Alves <palves@redhat.com>
3049
3050 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3051 procedure, factored out from ...
3052 (top level): ... here. Add "set displaced-stepping" testing axis.
3053 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3054 parameter "displaced". Use it.
3055 (top level): Use foreach and add "set displaced-stepping" testing
3056 axis.
3057
ebc90b50
PA
30582015-04-10 Pedro Alves <palves@redhat.com>
3059
3060 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3061 Remove comment.
3062 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3063 both the address of the instruction that triggers the watchpoint
3064 and the address of the instruction immediately after, and use
3065 those addresses for the test. Fix comment.
3066
8f572e5c
PA
30672015-04-10 Pedro Alves <palves@redhat.com>
3068
3069 * gdb.base/sigstep.exp (breakpoint_to_handler)
3070 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3071 Test "backtrace" in handler.
3072 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3073 (top level): Add new "displaced" test axis to
3074 breakpoint_to_handler, breakpoint_to_handler_entry and
3075 breakpoint_over_handler.
3076
8d707a12
PA
30772015-04-10 Pedro Alves <palves@redhat.com>
3078
3079 PR gdb/18216
3080 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3081
ef713951
YQ
30822015-04-10 Yao Qi <yao.qi@linaro.org>
3083
3084 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3085 (test_add_rn_pc): New function.
3086 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3087 (top level): Invoke test_add_rn_pc.
3088
906d60cf
PA
30892015-04-10 Pedro Alves <palves@redhat.com>
3090
3091 PR gdb/13858
3092 * gdb.base/step-over-no-symbols.exp: New file.
3093
f2983cc3
AW
30942015-04-09 Andy Wingo <wingo@igalia.com>
3095
3096 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3097 after the Python tests.
3098
6d62641c
SDJ
30992015-04-08 Keith Seitz <keiths@redhat.com>
3100
3101 PR python/16699
3102 * gdb.python/py-completion.exp: New tests for completion.
3103 * gdb.python/py-completion.py (CompleteLimit1): New class.
3104 (CompleteLimit2): Likewise.
3105 (CompleteLimit3): Likewise.
3106 (CompleteLimit4): Likewise.
3107 (CompleteLimit5): Likewise.
3108 (CompleteLimit6): Likewise.
3109 (CompleteLimit7): Likewise.
3110
f3770638
PA
31112015-04-08 Pedro Alves <palves@redhat.com>
3112
3113 PR gdb/18214
3114 PR gdb/18216
3115 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3116 function.
3117 (main): Install it as SIGUSR1 handler.
3118 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3119 parameter. Always use "setup" as prefix. Toggle "set
3120 displaced-stepping" off/on depending on global. Don't switch to
3121 thread 1 here.
3122 (top level): Add displaced stepping "off/on" test axis. Update
3123 "setup" calls. Wrap each subtest with with_test_prefix. Test
3124 continuing with a queued signal in each thread.
3125
4496bed7
PA
31262015-04-08 Pedro Alves <palves@redhat.com>
3127
3128 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3129 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3130 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3131 Return early if running to main fails.
3132 * gdb.trace/while-stepping.exp: Likewise.
3133
b97fde92
PA
31342015-04-07 Pedro Alves <palves@redhat.com>
3135
3136 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3137 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3138 interact with inferior program.
3139
f71c18e7
PA
31402015-04-07 Pedro Alves <palves@redhat.com>
3141
3142 * lib/gdb.exp (inferior_spawn_id): New global.
3143 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3144 spawn id after processing the user code.
3145 (default_gdb_start): Set inferior_spawn_id.
3146 (send_inferior): New procedure.
3147 * lib/gdbserver-support.exp (gdbserver_start): Set
3148 inferior_spawn_id.
3149 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3150
6423214f
PA
31512015-04-07 Pedro Alves <palves@redhat.com>
3152
3153 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3154 * lib/gdbserver-support.exp (gdbserver_start): Make
3155 $server_spawn_id global.
3156 (gdbserver_start): Don't wait for gdbserver's spawn id with
3157 expect_background.
3158 (close_gdbserver): New procedure.
3159 (gdb_exit): Rename the default version and reimplement.
3160
71c0ee8c
PA
31612015-04-07 Pedro Alves <palves@redhat.com>
3162
72f4393d 3163 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
3164 append the substituted item, not the original item.
3165
203bc29b
PA
31662015-04-07 Pedro Alves <palves@redhat.com>
3167
3168 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3169 gdb_expect.
3170
508a3ddf
PA
31712015-04-07 Pedro Alves <palves@redhat.com>
3172
3173 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3174 output appearing once only.
3175
9f6dbe2b
PA
31762015-04-07 Pedro Alves <palves@redhat.com>
3177
3178 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3179 that doesn't expect anything. Return early if running to main
3180 fails.
3181
337532fa
YQ
31822015-04-07 Yao Qi <yao.qi@linaro.org>
3183
3184 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3185 (child_function): Call alarm.
3186 (main): Move call to alarm into the loop.
3187 * gdb.threads/non-stop-fair-events.exp: Build program with
3188 -DTIMEOUT=$timeout.
3189
01b622d4
DE
31902015-04-06 Doug Evans <xdje42@gmail.com>
3191
3192 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3193 Fix dest parameter to board_info.
3194 (fpc_compile): Ditto.
3195 (gdb_compile_pascal): Rename dest arg to destfile.
3196
961f4160
PMR
31972015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3198
3199 * gdb.ada/funcall_ref.exp: New file.
3200 * gdb.ada/funcall_ref/foo.adb: New file.
3201
cafda597
YQ
32022015-04-02 Yao Qi <yao.qi@linaro.org>
3203
3204 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3205 is remote.
3206
fed040c6
GB
32072015-04-02 Gary Benson <gbenson@redhat.com>
3208
3209 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3210
d11916aa
SS
32112015-04-01 Sasha Smundak <asmundak@google.com>
3212
3213 * gdb.python/py-unwind-maint.c: New file.
3214 * gdb.python/py-unwind-maint.exp: New test.
3215 * gdb.python/py-unwind-maint.py: New file.
3216 * gdb.python/py-unwind.c: New file.
3217 * gdb.python/py-unwind.exp: New test.
3218 * gdb.python/py-unwind.py: New test.
3219
a1471180
PA
32202015-04-01 Pedro Alves <palves@redhat.com>
3221
3222 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3223 to fail instead of non-existent $test.
3224
0bbeccb1
PA
32252015-04-01 Pedro Alves <palves@redhat.com>
3226
3227 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3228 GDBFLAGS if not empty.
3229
3c724c8c
PMR
32302015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3231
3232 * gdb.ada/complete.exp: Remove "multi_line".
3233 * gdb.ada/info_exc.exp: Remove "multi_line".
3234 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3235 * gdb.ada/ptype_field.exp: Remove "multi_line".
3236 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3237 * gdb.ada/tagged.exp: Remove "multi_line".
3238 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3239 [multi_line ...]
3240 * gdb.btrace/delta.exp: Likewise.
3241 * gdb.btrace/exception.exp: Likewise.
3242 * gdb.btrace/function_call_history.exp: Likewise.
3243 * gdb.btrace/instruction_history.exp: Likewise.
3244 * gdb.btrace/nohist.exp: Likewise.
3245 * gdb.btrace/record_goto.exp: Likewise.
3246 * gdb.btrace/segv.exp: Likewise.
3247 * gdb.btrace/stepi.exp: Likewise.
3248 * gdb.btrace/tailcall.exp: Likewise.
3249 * gdb.btrace/unknown_functions.exp: Likewise.
3250 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3251 * lib/gdb.exp: Add the "multi_line" helper.
3252
4eec2deb
PA
32532015-04-01 Pedro Alves <palves@redhat.com>
3254
3255 * gdb.threads/tid-reuse.c: New file.
3256 * gdb.threads/tid-reuse.exp: New file.
3257
df8411da
SDJ
32582015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3259
3260 PR corefiles/16092
3261 * gdb.base/coredump-filter.c: New file.
3262 * gdb.base/coredump-filter.exp: Likewise.
3263
6ef37366
PM
32642015-03-27 Petr Machata <pmachata@redhat.com>
3265
3266 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3267 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3268 (Dwarf::assemble): Initialize them.
3269 (Dwarf::lines): New function.
3270
7ec911b0
JT
32712015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3272
3273 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3274 SYMBOL_PREFIX for x86_64-*-cygwin.
3275
ff908ebf
AW
32762015-03-26 Andy Wingo <wingo@igalia.com>
3277
3278 PR symtab/18148
3279 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3280 const_value but not a location.
3281 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3282 location defined in non-main CUs are visible.
3283
6d5f0679
YQ
32842015-03-26 Yao Qi <yao.qi@linaro.org>
3285
3286 PR testsuite/18139
3287 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3288 Add a line number entry for the same line.
3289 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3290 Add a line number entry for the same line.
3291
2898689b
YQ
32922015-03-26 Yao Qi <yao.qi@linaro.org>
3293
3294 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3295 .int 0.
3296 (func): Likewise. Add .Lfunc_1 label.
3297 Use .Lfunc_1 label.
3298 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3299 .int 0.
3300 (func): Likewise.
3301 Use .Lfunc_1 label.
3302
85180498
YQ
33032015-03-26 Yao Qi <yao.qi@linaro.org>
3304
3305 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3306 Call gdb_compile instead to compile each .s files without debug
3307 information.
3308
8aa08a8d
YQ
33092015-03-26 Yao Qi <yao.qi@linaro.org>
3310
3311 * gdb.base/savedregs.exp (process_saved_regs): Make
3312 "Saved registers:" optional in the pattern.
3313
66849923
MM
33142015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3315
3316 * gdb.btrace/next.exp: Merged into step.exp.
3317 * gdb.btrace/finish.exp: Merged into step.exp.
3318 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3319 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3320 "record goto" and checking the exact replay position.
3321 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3322 check for "Recording format" in "info record" output.
3323 * gdb.btrace/record_goto.exp: Choose test file based on target.
3324 * gdb.btrace/x86-record_goto.S: Renamed into ...
3325 * gdb.btrace/x86_64-record_goto.S: ... this.
3326 * gdb.btrace/i686-record_goto.S: New.
3327 * gdb.btrace/x86-tailcall.S: Renamed into ...
3328 * gdb.btrace/x86_64-tailcall.S: ... this.
3329 * gdb.btrace/i686-tailcall.S: New.
3330 * gdb.btrace/x86-tailcall.c: Renamed into ...
3331 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3332 separate statements. Update test.
3333 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3334 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3335 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3336 * gdb.btrace/tailcall.exp: Choose test file based on target.
3337 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3338
11cc1b74
MM
33392015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3340
3341 * gdb.btrace/exception.exp: Increase BTS buffer size.
3342
a25d8bf9
PA
33432015-03-24 Pedro Alves <palves@redhat.com>
3344
3345 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3346
856e7dd6
PA
33472015-03-24 Pedro Alves <palves@redhat.com>
3348
3349 * gdb.threads/schedlock.exp (test_step): No longer expect that
3350 "set scheduler-locking step" with "next" over a function call runs
3351 threads unlocked.
3352
ad235a41
AT
33532015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3354
3355 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3356
15630549
AT
33572015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3358
3359 PR breakpoints/16466
3360 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3361 * gdb.mi/mi-pending.c (thread_func): New function.
3362 (int main): Add threading support required.
3363 * gdb.mi/mi-pending.exp: Add tests for this issue.
3364 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3365 (pendfunc2): Remove stdio dependency.
3366 * gdb.mi/mi-pendshr2.c: New file.
3367
693dca06
KS
33682015-03-23 Keith Seitz <keiths@redhat.com>
3369
3370 * gdb.linespec/keywords.c: New file.
3371 * gdb.linespec/keywords.exp: New file.
3372
7e993ebf
KS
33732015-03-23 Keith Seitz <keiths@redhat.com>
3374
3375 PR gdb/18021
3376 * gdb.dwarf2/staticvirtual.exp: New test.
3377
bc23328c
JK
33782015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3379
3380 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3381 * README: Remove HP-UX and gdb.hp.
3382 (configuration):
3383 * configure: Regenerate.
3384 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3385 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3386 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3387 gdb.hp/gdb.defects/Makefile.
3388 * gdb.hp/Makefile.in: File deleted.
3389 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3390 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3391 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3392 * gdb.hp/gdb.aCC/run.c: File deleted.
3393 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3394 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3395 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3396 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3397 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3398 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3399 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3400 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3401 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3402 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3403 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3404 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3405 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3406 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3407 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3408 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3409 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3410 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3411 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3412 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3413 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3414 * gdb.hp/gdb.compat/average.c: File deleted.
3415 * gdb.hp/gdb.compat/sum.c: File deleted.
3416 * gdb.hp/gdb.compat/xdb.c: File deleted.
3417 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3418 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3419 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3420 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3421 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3422 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3423 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3424 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3425 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3426 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3427 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3428 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3429 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3430 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3431 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3432 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3433 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3434 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3435 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3436 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3437 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3438 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3439 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3440 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3441 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3442 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3443 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3444 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3445 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3446 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3447 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3448 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3449 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3450 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3451 * gdb.hp/tools/odump: File deleted.
3452
8bf3b159
PA
34532015-03-19 Pedro Alves <palves@redhat.com>
3454
3455 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3456 (saw_thread_3): New globals.
3457 (top level): Increment them when an event for the corresponding
3458 thread is seen.
3459 (no thread starvation): New test.
3460
eb54c8bf
PA
34612015-03-19 Pedro Alves <palves@redhat.com>
3462
3463 * gdb.threads/continue-pending-status.c: New file.
3464 * gdb.threads/continue-pending-status.exp: New file.
3465
32d2e5d6
PA
34662015-03-18 Pedro Alves <palves@redhat.com>
3467
3468 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3469 Use gdb_is_target_remote instead of is_remote. Use
3470 gdb_test_multiple instead of gdb_expect. Exit early if
3471 gdb_test_multiple hits its internal matches. Tighten stepi tests
3472 expected output. Fail on exit with any signal, instead of just
3473 SIGILL.
3474
f68f11b7
YQ
34752015-03-18 Yao Qi <yao.qi@linaro.org>
3476
3477 PR tdep/18107
3478 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3479 variable.
3480 * gdb.base/catch-syscall.exp: Don't skip it on
3481 aarch64*-*-linux* target. Remove elements in all_syscalls.
3482 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3483 target.
3484 (setup_all_syscalls): New proc.
3485
ca5fd19b
YQ
34862015-03-16 Yao Qi <yao.qi@linaro.org>
3487
3488 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3489 (top level): Skip tests if valid_addr_p returns false for
3490 $cmd1 or $cmd2.
3491
85642ba0
AW
34922015-03-11 Andy Wingo <wingo@igalia.com>
3493
3494 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3495
e03f9645
YQ
34962015-03-11 Yao Qi <yao.qi@linaro.org>
3497
3498 * gdb.base/catch-syscall.exp: Fix typo in comments.
3499
5d0962b2
YQ
35002015-03-11 Yao Qi <yao.qi@linaro.org>
3501
3502 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3503
b2df3cef
PA
35042015-03-09 Pedro Alves <palves@redhat.com>
3505
3506 * dg-extract-results.py: Delete.
3507
ef878e53
PA
35082015-03-09 Pedro Alves <palves@redhat.com>
3509
3510 Merge dg-extract-results.sh from GCC upstream (r218843).
3511
3512 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3513 * dg-extract-results.sh: Use --text with grep to avoid issues with
3514 binary files. Fall back to cat -v, if that doesn't work.
3515
9494d219
PA
35162015-03-05 Pedro Alves <palves@redhat.com>
3517
3518 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3519
a8d9763a
SM
35202015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3521
3522 * lib/mi-support.exp (mi_expect_interrupt): Accept
3523 alternative event for when in all-stop mode.
3524
be9957b8
PA
35252015-03-04 Pedro Alves <palves@redhat.com>
3526
3527 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3528
d57be0f4 35292015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
3530
3531 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3532
c214c7cf
AA
35332015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3534
3535 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3536 regexps for GDB's current line display, accept a hex address
3537 preceding the line number.
3538
6d74a497
AA
35392015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3540
3541 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3542 the 'arch1' variable for "s390*-linux*" targets.
3543
511aee7c
PA
35442015-03-04 Pedro Alves <palves@redhat.com>
3545
3546 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3547 (main): Pass missing retval argument to pthread_join call.
3548
95e50b27
PA
35492015-03-02 Pedro Alves <palves@redhat.com>
3550
3551 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3552 (top level): Call do_test with non-stop as well.
3553
28054d69
PA
35542015-03-02 Pedro Alves <palves@redhat.com>
3555
3556 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3557 -1.
3558
4fa5d7b4
AA
35592015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3560
3561 * gdb.arch/s390-vregs.exp: New test.
3562 * gdb.arch/s390-vregs.S: New file.
3563
97c18565
PA
35642015-02-27 Pedro Alves <palves@redhat.com>
3565
3566 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3567 call to catch_command_errors.
3568 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3569 catch_command_errors.
3570
a37bfa30
PA
35712015-02-27 Pedro Alves <palves@redhat.com>
3572
3573 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3574 "true" for boolean result.
3575 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3576 prototype of main.
3577
6f98576f
PA
35782015-02-27 Pedro Alves <palves@redhat.com>
3579
3580 * lib/unbuffer_output.c: New file.
3581 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3582 (main): Call gdb_unbuffer_output.
3583
eba5ab56
YQ
35842015-02-27 Yao Qi <yao.qi@linaro.org>
3585
3586 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3587 target.
3588
0def5aaa
DE
35892015-02-26 Doug Evans <dje@google.com>
3590
3591 * gdb.cp/class2.cc (Dbase, D): New classes.
3592 (main): New local delta.
3593 * gdb.cp/class2.exp: Test printing delta.
3594 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3595 (dynbar): New global.
3596 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3597
081a1c2c
JK
35982015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3599
3600 * gdb.compile/compile-ifunc.c: New file.
3601 * gdb.compile/compile-ifunc.exp: New file.
3602
2f41223f
AT
36032015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3604
3605 * gdb.base/structs.exp: Check for correct struct on finish.
3606
03eddd80
YQ
36072015-02-26 Yao Qi <yao.qi@linaro.org>
3608
3609 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3610 is zero.
3611
80c57053
JK
36122015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3613
3614 * gdb.arch/cordic.ko.bz2: New file.
3615 * gdb.arch/cordic.ko.debug.bz2: New file.
3616 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3617
21613c12
YQ
36182015-02-25 Yao Qi <yao.qi@linaro.org>
3619
3620 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3621 aarch64*-*-* target.
3622
d8b901ed
PA
36232015-02-23 Pedro Alves <palves@redhat.com>
3624
3625 * lib/gdb.exp (delete_breakpoints): Rewrite using
3626 gdb_test_multiple.
3627
e5b85ead
PA
36282015-02-23 Pedro Alves <palves@redhat.com>
3629
3630 * gdb.base/info-os.c: Include stdlib.h.
3631
85c3a371
DE
36322015-02-22 Doug Evans <xdje42@gmail.com>
3633
3634 PR symtab/17855
3635 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3636 is read after symbols have been re-read.
3637 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3638 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3639
96553a0c
DE
36402015-02-21 Doug Evans <dje@google.com>
3641
3642 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3643
97a0c697
JK
36442015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3645
3646 PR corefiles/17808
3647 * gdb.arch/i386-biarch-core.core.bz2: New file.
3648 * gdb.arch/i386-biarch-core.exp: New file.
3649
a47cd6e9
PA
36502015-02-21 Pedro Alves <palves@redhat.com>
3651
3652 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3653 runto_main fails.
3654
c5facdc4
PA
36552015-02-20 Pedro Alves <palves@redhat.com>
3656
3657 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3658 info probes.
3659
2db9a427
PA
36602015-02-20 Pedro Alves <palves@redhat.com>
3661
3662 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3663
60fb7e9e
PA
36642015-02-20 Pedro Alves <palves@redhat.com>
3665
3666 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3667 clean_restart before gdb_target_supports_trace.
3668
5c5019c2
PA
36692015-02-20 Pedro Alves <palves@redhat.com>
3670
3671 PR threads/18006
3672 * gdb.threads/clone-thread_db.c: New file.
3673 * gdb.threads/clone-thread_db.exp: New file.
3674
c9587f88
AT
36752015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3676
3677 PR breakpoints/16812
3678 * gdb.base/catch-gdb-caused-signals.c: New file.
3679 * gdb.base/catch-gdb-caused-signals.exp: New file.
3680
f6a88844
JM
36812015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3682
3683 * configure: Regenerated.
3684 * configure.ac: Use GDB_AC_TRANSFORM.
3685 * aclocal.m4: sinclude ../transform.m4.
3686
497c491b
JM
36872015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3688
3689 * lib/dtrace.exp: New file.
3690 * gdb.base/dtrace-probe.exp: Likewise.
3691 * gdb.base/dtrace-probe.d: Likewise.
3692 * gdb.base/dtrace-probe.c: Likewise.
3693 * lib/pdtrace.in: Likewise.
3694 * configure.ac: Output variables with the transformed names of
3695 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3696 * configure: Regenerated.
3697
03e98035
JM
36982015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3699
3700 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3701 expected message when trying to access $_probe_* convenience
3702 variables while not on a probe.
3703
63cc30e9
JK
37042015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3705
3706 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3707
0703599a
PA
37082015-02-11 Pedro Alves <pedro@codesourcery.com>
3709
3710 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3711 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3712
7e60a48e
DE
37132015-02-10 Doug Evans <xdje42@gmail.com>
3714
3715 * lib/gdb.exp (gdb_load): Always return a result.
3716
01b088bc
PA
37172015-02-10 Pedro Alves <palves@redhat.com>
3718
3719 * gdb.threads/signal-sigtrap.c: New file.
3720 * gdb.threads/signal-sigtrap.exp: New file.
3721
b05ec7a5
AT
37222015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3723
3724 * gdb.trace/no-attach-trace.c: New file.
3725 * gdb.trace/no-attach-trace.exp: New file.
3726
a2c2acaf
MW
37272015-02-09 Mark Wielaard <mjw@redhat.com>
3728
3729 * gdb.dwarf2/atomic.c: New file.
3730 * gdb.dwarf2/atomic-type.exp: Likewise.
3731
31fd9caa
MM
37322015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3733
3734 * gdb.btrace/buffer-size.exp: Update "info record" output.
3735 * gdb.btrace/delta.exp: Update "info record" output.
3736 * gdb.btrace/enable.exp: Update "info record" output.
3737 * gdb.btrace/finish.exp: Update "info record" output.
3738 * gdb.btrace/instruction_history.exp: Update "info record" output.
3739 * gdb.btrace/next.exp: Update "info record" output.
3740 * gdb.btrace/nexti.exp: Update "info record" output.
3741 * gdb.btrace/step.exp: Update "info record" output.
3742 * gdb.btrace/stepi.exp: Update "info record" output.
3743 * gdb.btrace/nohist.exp: Update "info record" output.
3744
d33501a5
MM
37452015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3746
3747 * gdb.btrace/buffer-size: New.
3748
f4abbc16
MM
37492015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3750
3751 * gdb.btrace/delta.exp: Update "info record" output.
3752 * gdb.btrace/enable.exp: Update "info record" output.
3753 * gdb.btrace/finish.exp: Update "info record" output.
3754 * gdb.btrace/instruction_history.exp: Update "info record" output.
3755 * gdb.btrace/next.exp: Update "info record" output.
3756 * gdb.btrace/nexti.exp: Update "info record" output.
3757 * gdb.btrace/step.exp: Update "info record" output.
3758 * gdb.btrace/stepi.exp: Update "info record" output.
3759 * gdb.btrace/nohist.exp: Update "info record" output.
3760
b9d61307
SM
37612015-02-06 Simon Marchi <simon.marchi@ericsson.com>
3762
3763 PR gdb/15678
3764 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3765
e584fdbc
PA
37662015-02-06 Pedro Alves <palves@redhat.com>
3767
3768 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
3769 macro.
3770 (seconds_left, again): New globals.
3771 (main): Wait seconds_left in a 1-second sleep loop instead of
3772 sleeping 180 seconds. If 'again' is set, reset the seconds
3773 counter.
3774 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
3775 'again' in the inferior before detaching. Print the seconds left.
3776 (options): New global.
3777 (top level): Build program with -DTIMEOUT=$timeout.
3778
77f41761
PA
37792015-02-06 Pedro Alves <palves@redhat.com>
3780
3781 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
3782 determine how many seconds to pass to 'alarm'.
3783 * gdb.base/gdb-sigterm.exp (top level): Build program with
3784 -DTIMEOUT=$timeout.
3785 (do_test): Return success/failure indication. Add more verbose
3786 logging. Don't fail if 200 single steps are seen. Instead, fail
3787 when the test times out.
3788 (passes): New global.
3789 (top level): Break the testing loop if testing fails on any
3790 iteration. Use gdb_assert.
3791
b9394193
DB
37922015-02-04 Don Breazeal <donb@codesourcery.com>
3793
3794 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
3795 and initialize them.
3796 (ipc_cleanup): New function.
3797 (main): Don't declare shmid, semid, and msqid. Add a call to
3798 atexit so that we call ipc_cleanup on exit.
3799
42d9e528
PA
38002015-02-04 Pedro Alves <palves@redhat.com>
3801
3802 * boards/native-extended-gdbserver.exp: Remove any target variant
3803 specifications from the board name before clearing the isremote
3804 flag from board_info.
3805
ae6ae975
DE
38062015-01-31 Doug Evans <xdje42@gmail.com>
3807
3808 * gdb.base/maint.exp <maint print type argc>: Update expected output.
3809
cfb069a8
GB
38102015-01-31 Gary Benson <gbenson@redhat.com>
3811
3812 * gdb.base/completion.exp: Disable completion limiting for
3813 existing tests. Add new tests to check completion limiting.
3814 * gdb.linespec/ls-errs.exp: Disable completion limiting.
3815
5dd31d79
DE
38162015-01-31 Doug Evans <xdje42@gmail.com>
3817
3818 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
3819
9f050062
DE
38202015-01-31 Doug Evans <xdje42@gmail.com>
3821
3822 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
3823 entries. Duplicate file section script entries.
3824 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
3825 inlined entries. Add test for safe-path rejection.
3826 * gdb.python/py-section-script.c: Add duplicate inlined section script
3827 entries. Duplicate file section script entries.
3828 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
3829 inlined entries. Add test for safe-path rejection.
3830
df25ebbd
JB
38312015-01-29 Joel Brobecker <brobecker@adacore.com>
3832
3833 * gdb.ada/disc_arr_bound: New testcase.
3834
4a0ca9ec
JB
38352015-01-29 Joel Brobecker <brobecker@adacore.com>
3836
3837 * gdb.ada/mi_var_array: New testcase.
3838
3a8b707a
DE
38392015-01-27 Doug Evans <dje@google.com>
3840
3841 * gdb.python/py-objfile.exp: Add tests for objfile.username.
3842 Add test for objfile.filename, objfile.username after objfile
3843 has been unloaded.
3844
f8313f6e
JB
38452015-01-26 Joel Brobecker <brobecker@adacore.com>
3846
3847 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
3848 the second test to print the name attribute of value
3849 returned by the call to gdb.lookup_type, and adjust
3850 the expected output accordingly.
3851
37bc665e
MW
38522015-01-25 Mark Wielaard <mjw@redhat.com>
3853
3854 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
3855 * gdb.base/disp-step-fork.c: Include unistd.h.
3856 * gdb.base/siginfo-obj.c: Include stdio.h.
3857 * gdb.base/siginfo-thread.c: Likewise.
3858 * gdb.mi/non-stop.c: Include unistd.h.
3859 * gdb.mi/nsthrexec.c: Include stdio.h.
3860 * gdb.mi/pthreads.c: Include unistd.h.
3861 * gdb.modula2/unbounded1.c (main): Declare returns int.
3862 * gdb.reverse/consecutive-reverse.c: Likewise.
3863 * gdb.threads/create-fail.c: Include unistd.h.
3864 * gdb.threads/killed.c: Likewise.
3865 * gdb.threads/linux-dp.c: Likewise.
3866 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
3867 * gdb.threads/non-ldr-exc-2.c: Likewise.
3868 * gdb.threads/non-ldr-exc-3.c: Likewise.
3869 * gdb.threads/non-ldr-exc-4.c: Likewise.
3870 * gdb.threads/pthreads.c: Include unistd.h.
3871 (main): Declare returns int.
3872 * gdb.threads/tls-main.c (foo): New declaration.
3873 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
3874
f7e5394d
SM
38752015-01-23 Simon Marchi <simon.marchi@ericsson.com>
3876
3877 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
3878 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
3879
743649fd
MW
38802015-01-15 Mark Wielaard <mjw@redhat.com>
3881
3882 * gdb.base/noreturn-return.c: New file.
3883 * gdb.base/noreturn-return.exp: New file.
3884 * gdb.base/noreturn-finish.c: New file.
3885 * gdb.base/noreturn-finish.exp: New file.
3886
198297aa
PA
38872015-01-23 Pedro Alves <palves@redhat.com>
3888
3889 * gdb.threads/continue-pending-after-query.c: New file.
3890 * gdb.threads/continue-pending-after-query.exp: New file.
3891
717cf30c
AG
38922015-01-22 Anders Granlund <anders.granlund@ericsson.com>
3893 Simon Marchi <simon.marchi@ericsson.com>
3894
3895 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
3896 * gdb.base/valgrind-db-attach.exp: Same.
3897 * gdb.base/valgrind-infcall.exp: Same.
3898 * lib/mi-support.exp (default_mi_gdb_start): Same.
3899 * lib/prompt.exp (default_prompt_gdb_start): Same.
3900 * lib/gdb.exp (default_gdb_spawn): Same.
3901 (gdb_interact): New.
3902
3903
4b62a76e
JK
39042015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3905
3906 * gdb.compile/compile.exp (pointer to jit function): New test.
3907
b4cdae6f
WW
39082015-01-17 Wei-cheng Wang <cole945@gmail.com>
3909
3910 * lib/gdb.exp (supports_process_record): Return true for
3911 powerpc*-*-linux*.
3912 (supports_reverse): Likewise.
3913
d221e7ef
DB
39142015-01-15 Don Breazeal <donb@codesourcery.com>
3915
3916 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
3917 instead of checking whether the target board is remote and
3918 use spawn_wait_for_attach instead of exec/sleep.
3919 * gdb.base/attach-twice.exp: Likewise.
3920
bafffb51
JB
39212015-01-15 Joel Brobecker <brobecker@adacore.com>
3922
3923 * gdb.ada/var_arr_attrs: New testcase.
3924
5589af0e
PA
39252015-01-14 Pedro Alves <palves@redhat.com>
3926 Joel Brobecker <brobecker@adacore.com>
3927
3928 PR gdb/17525
3929 * gdb.base/bp-cmds-execution-x-script.c: New file.
3930 * gdb.base/bp-cmds-execution-x-script.exp: New file.
3931 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
3932
6c400b59
PA
39332015-01-14 Pedro Alves <palves@redhat.com>
3934
3935 PR cli/17828
3936 * gdb.base/batch-preserve-term-settings.c: New file.
3937 * gdb.base/batch-preserve-term-settings.exp: New file.
3938
e02c96a7
DE
39392015-01-13 Doug Evans <dje@google.com>
3940
3941 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
3942 binary.
3943
576fd14c
JB
39442015-01-13 Joel Brobecker <brobecker@adacore.com>
3945
3946 * Makefile.in (clean mostlyclean): Do not delete *.py.
3947
04dccad0
JB
39482015-01-13 Joel Brobecker <brobecker@adacore.com>
3949
3950 * gdb.python/py-lookup-type.exp: New file.
3951
3d230f71
PA
39522015-01-12 Pedro Alves <palves@redhat.com>
3953
3954 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
3955 restore GDBFLAGS before returning.
3956
7e67715d
JK
39572015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3958
3959 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
3960 is_amd64_regs_target and is_x86_like_target.
3961
f2e0d4b4
DE
39622015-01-11 Doug Evans <xdje42@gmail.com>
3963
3964 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
3965 is given without an explicit form.
3966 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
3967 attributes.
3968 * gdb.dwarf/corrupt.exp: Ditto.
3969 * gdb.dwarf2/enum-type.exp: Ditto.
3970 * gdb.trace/entry-values.exp: Ditto.
3971 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
3972
439250fb
DE
39732015-01-11 Doug Evans <xdje42@gmail.com>
3974
3975 PR gdb/15830
3976 * gdb.base/maint.exp: Remove references to "maint demangle".
3977 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
3978 Add tests for explicitly specifying language to demangle.
3979 * gdb.dlang/demangle.exp: Ditto.
3980
ede9f622
PA
39812015-01-09 Pedro Alves <palves@redhat.com>
3982
3983 * gdb.threads/non-stop-fair-events.c: New file.
3984 * gdb.threads/non-stop-fair-events.exp: New file.
3985
a7b796db
PA
39862015-01-09 Pedro Alves <palves@redhat.com>
3987
3988 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
3989 the global scope. Set a breakpoint after all threads are started
3990 rather than stepping over two source lines. Expect the prompt.
3991 * gdb.base/watch_thread_num.c (threads_started_barrier): New
3992 global.
3993 (NUM): Now 15.
3994 (main): Use threads_started_barrier to wait for all threads to
3995 start. Main thread no longer calls thread_function. Exit after
3996 180 seconds.
3997 (loop): New function.
3998 (thread_function): Wait on threads_started_barrier barrier. Call
3999 'loop' at each iteration.
4000 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4001 threads have started, instead of hardcoding number of "next"
4002 steps. Use an access watchpoint instead of a write watchpoint.
4003
9665ffdd
PA
40042015-01-09 Pedro Alves <palves@redhat.com>
4005
4006 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4007 (thread_func): Wait on barrier.
4008 (main): Wait for all threads to start before stopping GDB.
4009 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4010 global.
4011 (thread1_func, thread2_func): Wait on barrier.
4012 (main): Wait for all threads to start before stopping GDB.
4013 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4014 New global.
4015 (thread1_func, thread2_func): Wait on barrier.
4016 (main): Wait for all threads to start before stopping GDB.
4017
c945a99f
PA
40182015-01-09 Pedro Alves <palves@redhat.com>
4019
4020 * gdb.threads/attach-many-short-lived-threads.c: New file.
4021 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4022
c1a747c1
PA
40232014-01-09 Pedro Alves <palves@redhat.com>
4024
4025 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4026 instead of to thread 2.
4027 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4028 Add barrier around each pthread_create call instead of around all
4029 calls.
4030 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4031 Set a break on thread_function and have the child threads hit it
4032 one at at a time.
4033
60b3033e
PA
40342015-01-09 Pedro Alves <palves@redhat.com>
4035
4036 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4037 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4038 false.
4039 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4040 checking whether the target board is remote.
4041 * gdb.multi/multi-attach.exp: Likewise.
4042 * gdb.python/py-sync-interp.exp: Likewise.
4043 * gdb.server/ext-attach.exp: Likewise.
4044 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4045 tests that need to attach, instead of checking whether the target
4046 board is remote at the top of the file.
4047
acc018ac
YQ
40482015-01-08 Yao Qi <yao@codesourcery.com>
4049
4050 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4051
50a18af8
JK
40522015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4053
4054 Fix testcase compilation.
4055 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4056
8503d6e1
JB
40572015-01-06 Joel Brobecker <brobecker@adacore.com>
4058
4059 * gdb.python/py-type.exp: Add a couple test about empty
4060 array creation, and negative-length array creation.
4061
cc73dbcc
DE
40622015-01-02 Doug Evans <xdje42@gmail.com>
4063
4064 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4065
0300bbc7
DE
40662015-01-02 Doug Evans <dje@google.com>
4067
4068 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4069
9d85a0ec
YQ
40702014-12-29 Yao Qi <yao@codesourcery.com>
4071
4072 * gdb.trace/entry-values.exp: Update comments. Rename variable
4073 bar_call_foo to returned_from_foo.
4074
87186c6a
MMN
40752014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4076
4077 PR gdb/17394
4078 * gdb.linespec/break-asm-file.c: New file.
4079 * gdb.linespec/break-asm-file.exp: New file.
4080 * gdb.linespec/break-asm-file0.s: New file.
4081 * gdb.linespec/break-asm-file1.s: New file.
4082
1bab7383
YQ
40832014-12-18 Nigel Stephens <nigel@mips.com>
4084 Maciej W. Rozycki <macro@codesourcery.com>
4085
4086 * gdb.base/float.exp: Handle the new output from "info float" on
4087 MIPS targets.
4088
1bc1068a
JK
40892014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4090
4091 Fix MinGW compilation.
4092 * gdb.compile/compile-ops.exp: Update untested message if
4093 !skip_compile_feature_tests.
4094 * gdb.compile/compile-setjmp.exp: Likewise.
4095 * gdb.compile/compile-tls.exp: Likewise.
4096 * gdb.compile/compile.exp: Likewise.
4097 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4098 supported on this host".
4099
b6615d10
DE
41002014-12-16 Doug Evans <xdje42@gmail.com>
4101
4102 * boards/stabs.exp: New file.
4103
25dda427
AA
41042014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4105
4106 * gdb.base/completion.exp: Adjust to format changes of "maint
4107 print user-registers".
4108
bf330350
CU
41092014-12-16 Catalin Udma <catalin.udma@freescale.com>
4110
4111 PR server/17457
4112 * gdb.arch/aarch64-fp.c: New file.
4113 * gdb.arch/aarch64-fp.exp: New file.
4114
395cf596
SDJ
41152014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4116
4117 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4118 r210637, r210913, r211666, r215400, r215817).
4119
4120 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4121 * dg-extract-results.py: New file.
4122 * dg-extract-results.sh: Use it if the environment seems
4123 suitable.
4124
4125 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4126
4127 * dg-extract-results.py (parse_run): Handle warnings that
4128 are printed before a test harness is run.
4129
4130 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4131
4132 * dg-extract-results.py (Named): Remove __cmp__ method.
4133 (output_variation): Use a key to sort variation.harnesses.
4134
4135 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4136
4137 * dg-extract-results.py: For Python 3, force sys.stdout to
4138 handle surrogate escape sequences.
4139 (safe_open): New function.
4140 (output_segment, main): Use it.
4141
4142 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4143
4144 * dg-extract-results.py (Prog.result_re): Include options
4145 in test name.
4146
4147 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4148
4149 * dg-extract-results.py (output_variation): Always sort if
4150 do_sum.
4151
e882ef3c
SM
41522014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4153
4154 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4155 as long as we get pagination notifications.
4156
4992aa20
JM
41572014-12-15 Jason Merrill <jason@redhat.com>
4158
4159 * Makefile.in (check-gdb.%): Restore.
4160 * README: Mention it.
4161
c1b5a1a6
JB
41622014-12-13 Joel Brobecker <brobecker@adacore.com>
4163
4164 * gdb.ada/str_uninit: New testcase.
4165
5537b577
JK
41662014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4167
4168 PR symtab/17642
4169 * gdb.base/vla-stub-define.c: New file.
4170 * gdb.base/vla-stub.c: New file.
4171 * gdb.base/vla-stub.exp: New file.
4172
bb2ec1b3
TT
41732014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4174 Jan Kratochvil <jan.kratochvil@redhat.com>
4175 Tom Tromey <tromey@redhat.com>
4176
4177 * configure.ac: Add gdb.compile/.
4178 * configure: Regenerate.
4179 * gdb.compile/Makefile.in: New file.
4180 * gdb.compile/compile-ops.exp: New file.
4181 * gdb.compile/compile-ops.c: New file.
4182 * gdb.compile/compile-tls.c: New file.
4183 * gdb.compile/compile-tls.exp: New file.
4184 * gdb.compile/compile-constvar.S: New file.
4185 * gdb.compile/compile-constvar.c: New file.
4186 * gdb.compile/compile-mod.c: New file.
4187 * gdb.compile/compile-nodebug.c: New file.
4188 * gdb.compile/compile-setjmp-mod.c: New file.
4189 * gdb.compile/compile-setjmp.c: New file.
4190 * gdb.compile/compile-setjmp.exp: New file.
4191 * gdb.compile/compile-shlib.c: New file.
4192 * gdb.compile/compile.c: New file.
4193 * gdb.compile/compile.exp: New file.
4194 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4195
4ff709eb
TT
41962014-12-12 Tom Tromey <tromey@redhat.com>
4197
4198 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4199 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4200
6dddd6a5
DE
42012014-12-12 Doug Evans <dje@google.com>
4202
4203 * lib/gdb-python.exp (get_python_valueof): New function.
4204 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4205
71c24708
AA
42062014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4207
4208 * gdb.base/completion.exp: Add test for completion of "info
4209 registers ".
4210
3e29f34a
MR
42112014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4212
4213 * gdb.base/func-ptrs.c: New file.
4214 * gdb.base/func-ptrs.exp: New file.
4215
fc126975
SM
42162014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4217
4218 PR breakpoints/17012
4219 * gdb.base/dprintf-detach.c: New file.
4220 * gdb.base/dprintf-detach.exp: New file.
4221
0a46d518
SM
42222014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4223
4224 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4225 * lib/gdb.exp (target_is_gdbserver): New procedure.
4226
a0be3e44
DE
42272014-12-08 Doug Evans <dje@google.com>
4228
4229 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4230
df1b803a
YQ
42312014-12-05 Yao Qi <yao@codesourcery.com>
4232
4233 * gdb.guile/scm-error.exp: Remove the third argument to
4234 gdb_remote_download.
4235 * gdb.guile/scm-frame-args.exp: Likewise.
4236 * gdb.guile/scm-section-script.exp: Likewise.
4237
ddb9f679
YQ
42382014-12-05 Yao Qi <yao@codesourcery.com>
4239
4240 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4241
86e4ed39
DE
42422014-12-04 Doug Evans <dje@google.com>
4243
4244 * gdb.python/py-objfile.exp: Add tests for
4245 objfile.add_separate_debug_file.
4246
7c50a931
DE
42472014-12-04 Doug Evans <dje@google.com>
4248
4249 * lib/gdb.exp (get_build_id): New function.
4250 (build_id_debug_filename_get): Rewrite to use it.
4251 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4252
621661e3
MR
42532014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4254
4255 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4256 `method(long)', not just 0x0.
4257 * gdb.cp/nsalias.exp: Align code labels to 4.
4258 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4259 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4260 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4261 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4262 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4263 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4264
29f0c3b7
DE
42652014-12-02 Doug Evans <dje@google.com>
4266
e1e061e7 4267 PR symtab/17602
29f0c3b7 4268 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 4269 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
4270 * gdb.cp/anon-ns.exp: Update.
4271
162078c8
NB
42722014-12-02 Nick Bull <nicholaspbull@gmail.com>
4273
4274 * gdb.python/py-events.py (inferior_call_handler): New.
4275 (register_changed_handler, memory_changed_handler): New.
4276 (test_events.invoke): Register new handlers.
4277 * gdb.python/py-events.exp: Add tests for inferior call,
4278 memory_changed and register_changed events.
4279
fdb09caf
AA
42802014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4281
4282 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4283 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4284 if the linker doesn't understand this.
4285
55cfb2c4
SM
42862014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4287
4288 * gdb.python/python.exp: Change expected reply to help().
4289
9e8cd6df
YQ
42902014-12-01 Yao Qi <yao@codesourcery.com>
4291
4292 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4293 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4294 * configure: Re-generated.
4295
6c659fc2
SC
42962014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4297
4298 * gdb.cp/chained-calls.cc: New file.
4299 * gdb.cp/chained-calls.exp: New file.
4300 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4301
d7fc3181
SM
43022014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4303
4304 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4305 * gdb.dwarf2/symtab-producer.exp: Same.
4306 * gdb.gdb/python-interrupts.exp: Same.
4307 * gdb.gdb/python-selftest.exp: Same.
4308 * gdb.python/py-linetable.exp: Same.
4309 * gdb.python/py-type.exp: Same.
4310 * gdb.python/py-value-cc.exp: Same.
4311 * gdb.python/py-value.exp: Same.
4312
10e79639
YQ
43132014-11-28 Yao Qi <yao@codesourcery.com>
4314
4315 * gdb.base/break-probes.exp: Match library name prefixed with
4316 sysroot.
4317
f28a0564
SM
43182014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4319
4320 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4321 test expected output. Add parentheses for the call to print.
4322 Remove L suffix from integers.
4323
3fe1ce1d
DE
43242014-11-26 Doug Evans <dje@google.com>
4325
4326 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4327
84429e27
YQ
43282014-11-22 Yao Qi <yao@codesourcery.com>
4329
4330 * gdb.trace/entry-values.c: Remove asms.
4331 (foo): Add foo_label.
4332 (bar): Add bar_label.
4333 * gdb.trace/entry-values.exp: Remove code computing foo's
4334 length and bar's length.
4335 (Dwarf::assemble): Invoke function_range for bar and use
4336 MACRO_AT_func for foo.
4337
26741859
YQ
43382014-11-22 Yao Qi <yao@codesourcery.com>
4339
4340 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4341 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4342 Use .Lgcc43_procstart instead of gcc43.
4343
45e44d27
JB
43442014-11-21 Joel Brobecker <brobecker@adacore.com>
4345
4346 * gdb.ada/n_arr_bound: New testcase.
4347
458c8db8
SDJ
43482014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4349
4350 PR breakpoints/10737
4351 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4352 test_catch_syscall_multi_arch.
4353 (test_catch_syscall_multi_arch): New function.
4354
43f3e411
DE
43552014-11-20 Doug Evans <xdje42@gmail.com>
4356
4357 * gdb.base/maint.exp: Update expected output.
4358
0d7b2549
AA
43592014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4360
4361 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4362 4-byte instruction on S390.
4363
8908fca5
JB
43642014-11-19 Joel Brobecker <brobecker@adacore.com>
4365
4366 * gdb.ada/arr_arr: New testcase.
4367
4a46959e
JB
43682014-11-19 Joel Brobecker <brobecker@adacore.com>
4369
4370 * gdb.ada/pkd_arr_elem: New Testcase.
4371
470e2f4e
LM
43722014-11-18 Luis Machado <lgustavo@codesourcery.com>
4373
4374 * gdb.reverse/break-precsave: Expect completion message for
4375 core file reads.
4376 * gdb.reverse/consecutive-precsave.exp: Likewise.
4377 * gdb.reverse/finish-precsave.exp: Likewise.
4378 * gdb.reverse/i386-precsave.exp: Likewise.
4379 * gdb.reverse/machinestate-precsave.exp: Likewise.
4380 * gdb.reverse/sigall-precsave.exp: Likewise.
4381 * gdb.reverse/solib-precsave.exp: Likewise.
4382 * gdb.reverse/step-precsave.exp: Likewise.
4383 * gdb.reverse/until-precsave.exp: Likewise.
4384 * gdb.reverse/watch-precsave.exp: Likewise.
4385
a267f3ad
AA
43862014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4387
4388 * gdb.base/bp-permanent.c: Include unistd.h.
4389 * gdb.python/py-framefilter-mi.c (main): Add return type.
4390 * gdb.python/py-framefilter.c (main): Likewise.
4391 * gdb.trace/actions-changed.c (main): Likewise.
4392
12084a9a
AA
43932014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4394
4395 * gdb.mi/until.c: Add eye-catchers.
4396 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4397 line numbers.
4398
dc7e1a77
AA
43992014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4400
4401 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4402 function header variants in break1.c.
4403 * gdb.base/ena-dis-br.exp: Likewise.
4404 * gdb.base/hbreak2.exp: Likewise.
4405 * gdb.reverse/until-precsave.exp: Drop references to removed
4406 non-prototype function header variants in ur1.c.
4407 * gdb.reverse/until-reverse.exp: Likewise.
4408
41c77605
PM
44092014-11-17 Petr Machata <pmachata@redhat.com>
4410
4411 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4412 ${_cu_offset_size} bytes abbrev offset.
4413
34248c3a
DE
44142014-11-15 Doug Evans <xdje42@gmail.com>
4415
4416 PR symtab/17559
4417 * gdb.base/line-symtabs.exp: New file.
4418 * gdb.base/line-symtabs.c: New file.
4419 * gdb.base/line-symtabs.h: New file.
4420
646da059
YQ
44212014-11-14 Yao Qi <yao@codesourcery.com>
4422
4423 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4424 (func): Add label func_label.
4425 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4426 Replace low_pc and high_pc with MACRO_AT_range.
4427 Replace name, low_pc and high_pc with MACRO_AT_func.
4428
9301ebe6
YQ
44292014-11-14 Yao Qi <yao@codesourcery.com>
4430
4431 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4432 Replace name, low_pc and high_pc with MACRO_AT_func.
4433
f166b542
YQ
44342014-11-14 Yao Qi <yao@codesourcery.com>
4435
4436 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4437 produce debug information.
4438 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4439
0f6e71e3
YQ
44402014-11-14 Yao Qi <yao@codesourcery.com>
4441
4442 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4443 object and get function length.
4444 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4445 with MACRO_AT_func.
4446 (top-level): Replace gdb_compile and clean_restart with
4447 prepare_for_testing.
4448 * gdb.dwarf2/main.c (main): Add label main_label.
4449
876c4df9
YQ
44502014-11-14 Yao Qi <yao@codesourcery.com>
4451
4452 * lib/dwarf.exp (function_range): New procedure.
4453 (Dwarf::_handle_macro_at_func): New procedure.
4454 (Dwarf::_handle_macro_at_range): New procedure.
4455 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4456
02ad9cf1
YQ
44572014-11-14 Yao Qi <yao@codesourcery.com>
4458
4459 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4460 (_handle_attribute): New procedure.
4461
a59add0c
AA
44622014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4463
4464 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4465 * gdb.base/call-sc.c (zed): Likewise.
4466 * gdb.base/checkpoint.c (main): Likewise.
4467 * gdb.base/dump.c (main): Likewise.
4468 * gdb.base/gcore.c (main): Likewise.
4469 * gdb.base/huge.c (main): Likewise.
4470 * gdb.base/multi-forks.c (main): Likewise.
4471 * gdb.base/pr10179-a.c (main): Likewise.
4472 * gdb.base/savedregs.c (main): Likewise.
4473 * gdb.base/sigaltstack.c (main): Likewise.
4474 * gdb.base/siginfo.c (main): Likewise.
4475 * gdb.base/structs.c (zed): Likewise.
4476 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4477 * gdb.mi/mi-syn-frame.c (main): Likewise.
4478 * gdb.mi/until.c (foo, main): Likewise.
4479 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4480 * gdb.base/solib-weak.c (foo): Declare.
4481 * gdb.base/attach-twice.c: Include stdio.h.
4482 * gdb.base/weaklib1.c: Likewise.
4483 * gdb.base/weaklib2.c: Likewise.
4484 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4485 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4486 unistd.h.
4487 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4488 * gdb.mi/mi-exit-code.c: Likewise.
4489 * gdb.base/break-interp-lib.c: Include string.h.
4490 * gdb.base/coremaker.c: Likewise.
4491 * gdb.base/testenv.c: Likewise.
4492 * gdb.python/py-finish-breakpoint.c: Likewise.
4493 * gdb.base/inferior-died.c: Include sys/wait.h.
4494 * gdb.base/fileio.c: Include time.h.
4495 * gdb.base/async-shell.c: Include unistd.h.
4496 * gdb.base/dprintf-non-stop.c: Likewise.
4497 * gdb.base/info-os.c: Likewise.
4498 * gdb.mi/mi-console.c: Likewise.
4499 * gdb.mi/watch-nonstop.c: Likewise.
4500 * gdb.python/py-events.c: Likewise.
4501 * gdb.base/async.c (baz): Move up before its invocation.
4502 * gdb.base/code_elim2.c (my_global_func): Likewise.
4503 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4504 * gdb.base/advance.c (func2): Likewise.
4505
3b5d5997
AA
45062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4507
4508 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4509 variant.
4510 * gdb.base/annota3.c: Likewise.
4511 * gdb.base/async.c: Likewise.
4512 * gdb.base/average.c: Likewise.
4513 * gdb.base/call-ar-st.c: Likewise.
4514 * gdb.base/call-rt-st.c: Likewise.
4515 * gdb.base/call-sc.c: Likewise.
4516 * gdb.base/call-strs.c: Likewise.
4517 * gdb.base/ending-run.c: Likewise.
4518 * gdb.base/execd-prog.c: Likewise.
4519 * gdb.base/exprs.c: Likewise.
4520 * gdb.base/foll-exec.c: Likewise.
4521 * gdb.base/foll-fork.c: Likewise.
4522 * gdb.base/foll-vfork.c: Likewise.
4523 * gdb.base/funcargs.c: Likewise.
4524 * gdb.base/gcore.c: Likewise.
4525 * gdb.base/jump.c: Likewise.
4526 * gdb.base/langs0.c: Likewise.
4527 * gdb.base/langs1.c: Likewise.
4528 * gdb.base/langs2.c: Likewise.
4529 * gdb.base/mips_pro.c: Likewise.
4530 * gdb.base/nodebug.c: Likewise.
4531 * gdb.base/opaque0.c: Likewise.
4532 * gdb.base/opaque1.c: Likewise.
4533 * gdb.base/recurse.c: Likewise.
4534 * gdb.base/run.c: Likewise.
4535 * gdb.base/scope0.c: Likewise.
4536 * gdb.base/scope1.c: Likewise.
4537 * gdb.base/setshow.c: Likewise.
4538 * gdb.base/setvar.c: Likewise.
4539 * gdb.base/shmain.c: Likewise.
4540 * gdb.base/shr1.c: Likewise.
4541 * gdb.base/shr2.c: Likewise.
4542 * gdb.base/sigall.c: Likewise.
4543 * gdb.base/signals.c: Likewise.
4544 * gdb.base/so-indr-cl.c: Likewise.
4545 * gdb.base/solib2.c: Likewise.
4546 * gdb.base/structs.c: Likewise.
4547 * gdb.base/sum.c: Likewise.
4548 * gdb.base/vforked-prog.c: Likewise.
4549 * gdb.base/watchpoint.c: Likewise.
4550 * gdb.reverse/shr2.c: Likewise.
4551 * gdb.reverse/until-reverse.c: Likewise.
4552 * gdb.reverse/ur1.c: Likewise.
4553 * gdb.reverse/watch-reverse.c: Likewise.
4554
066a77c5
AA
45552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4556
4557 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4558 variant.
4559 * gdb.base/sepdebug.exp: Drop references to removed code.
4560
4f204ea5
AA
45612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4562
4563 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4564 variant. Preserve original line numbering.
4565 * gdb.base/list1.c: Likewise.
4566
3b377a3a
AA
45672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4568
4569 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4570 variant.
4571 * gdb.base/break1.c: Likewise.
4572 * gdb.base/break.exp: Drop references to removed code.
4573
e444df73
AA
45742014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4575
4576 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4577 variant.
4578
8008f2a7
AA
45792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4580
4581 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4582
a5a06887
AA
45832014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4584
4585 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4586 logic into perform_all_tests() and invoke it with and without
4587 function header prototypes.
4588 (do_function_calls): Remove conditional XFAIL for PR 5318.
4589 (rerun_and_prepare): Remove duplicate code.
4590 (perform_all_tests): New. Main logic moved here.
4591
44dba9b9
AA
45922014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4593
4594 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4595 code guarded by #ifdef NO_PROTOTYPES.
4596 (t_double_many_args): Likewise.
4597 (DEF_FUNC_MANY_ARGS_1): Likewise.
4598 (DEF_FUNC_VALUES_1): Likewise.
4599 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4600 guarded by #ifdef PROTOTYPES.
4601
d1fbcd56
AA
46022014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4603
4604 * gdb.mi/mi-console.c: Add eye-catcher.
4605 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4606 instead of literal line number.
4607
b0e59b8f
AA
46082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4609
4610 * gdb.base/shr2.c: Add eye-catcher.
4611 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4612 line number.
4613
78f98cca
AA
46142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4615
4616 * gdb.base/jump.c: Add eye-catchers.
4617 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4618 numbers.
4619
58fa2af0
AA
46202014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4621
4622 * gdb.base/execd-prog.c: Add eye-catchers.
4623 * gdb.base/foll-exec.c: Likewise.
4624 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4625 line numbers.
4626
04e5059b
AA
46272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4628
4629 * gdb.base/ending-run.c: Add eye-catchers.
4630 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4631 literal line numbers.
4632
dbfdb174
AA
46332014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4634
4635 * gdb.base/call-rt-st.c: Add eye-catchers.
4636 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4637 literal line numbers.
4638
888a2ade
AA
46392014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4640
4641 * gdb.base/call-ar-st.c: Add eye-catchers.
4642 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4643 literal line numbers.
4644
6acc2dde
AA
46452014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4646
4647 * gdb.base/average.c: Add eye-catchers.
4648 * gdb.base/sum.c: Likewise.
4649 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4650 regexps dynamically.
4651
9ecfcd1d
AA
46522014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4653
4654 * gdb.base/solib1.c: Add eye-catchers.
4655 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4656 literal line numbers.
4657
78708b7c
PA
46582014-11-12 Pedro Alves <palves@redhat.com>
4659
4660 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4661 leader has exited.
4662
af48d08f
PA
46632014-11-12 Pedro Alves <palves@redhat.com>
4664
4665 * gdb.arch/i386-bp_permanent.c: New file.
4666 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4667 (srcfile): Set to i386-bp_permanent.c.
4668 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4669 that stepi does not execute the 'leave' instruction, instead of
4670 testing it does execute.
4671 * gdb.base/bp-permanent.c: New file.
4672 * gdb.base/bp-permanent.exp: New file.
4673
af3768e9
DE
46742014-11-10 Doug Evans <xdje42@gmail.com>
4675
4676 PR symtab/17564
4677 * gdb.base/symtab-search-order.exp: New file.
4678 * gdb.base/symtab-search-order.c: New file.
4679 * gdb.base/symtab-search-order-1.c: New file.
4680 * gdb.base/symtab-search-order-shlib-1.c: New file.
4681
9de00a4a
PA
46822014-11-07 Pedro Alves <palves@redhat.com>
4683
4684 PR gdb/17511
4685 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4686 i?86-*-linux*.
4687
e0f52461
SC
46882014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4689
4690 PR c++/17494
4691 * gdb.cp/pr17494.cc: New file.
4692 * gdb.cp/pr17494.exp: New file.
4693
6ce8c980
YQ
46942014-11-02 Yao Qi <yao@codesourcery.com>
4695
4696 * gdb.python/python.exp: Get working directory and match the
4697 output of "set extended-prompt \\w " with it.
4698
02be9a71
DE
46992014-10-30 Doug Evans <dje@google.com>
4700
4701 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4702 in objfiles.
4703 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4704 in progspaces.
4705
3bdff46b
LM
47062014-10-30 Janis Johnson <janisjo@codesourcery.com>
4707
4708 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4709 * gdb.base/realname-expand.exp: Likewise.
4710 * gdb.linespec/macro-relative.exp: Likewise.
4711
ab917dfb
PA
47122014-10-29 Pedro Alves <palves@redhat.com>
4713
4714 PR gdb/17408
4715 * gdb.threads/schedlock.c (some_function): New function.
4716 (call_function): New global.
4717 (MAYBE_CALL_SOME_FUNCTION): New macro.
4718 (thread_function): Call it.
4719 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4720 and use it instead of a global counter. Adjust all callers.
4721 (get_current_thread): Use "find current thread" for test message
4722 here rather than having all callers pass down the same string.
4723 (goto_loop): New procedure, factored out from ...
4724 (my_continue): ... this.
4725 (step_ten_loops): Change parameter from test message to command to
4726 use. Adjust.
4727 (list_count): Delete global.
4728 (check_result): New procedure, factored out from duplicate top
4729 level code.
4730 (continue tests): Wrap in with_test_prefix.
4731 (test_step): New procedure, factored out from duplicate top level
4732 code.
4733 (top level): Test "step" in combination with all scheduler-locking
4734 modes. Test "next" in combination with all scheduler-locking
4735 modes, and in combination with stepping over a function call or
4736 not.
4737 * gdb.threads/next-bp-other-thread.c: New file.
4738 * gdb.threads/next-bp-other-thread.exp: New file.
4739
d3d4baed
PA
47402014-10-29 Pedro Alves <palves@redhat.com>
4741
4742 PR python/17372
4743 * gdb.python/python.exp: Test a multi-line command that spawns
4744 interactive Python.
4745 * gdb.base/multi-line-starts-subshell.exp: New file.
4746
563e8d85
YQ
47472014-10-29 Yao Qi <yao@codesourcery.com>
4748
4749 * gdb.base/fileio.exp: Make directories on host.
4750
0ea4d52e
YQ
47512014-10-29 Yao Qi <yao@codesourcery.com>
4752
4753 * gdb.base/fileio.c (test_write): Close the file.
4754
7f5ef605
PA
47552014-10-28 Pedro Alves <palves@redhat.com>
4756
4757 PR gdb/12623
4758 * gdb.base/sigstep.c (no_handler): New global.
4759 (main): If 'no_handler is true, set the signal handlers to
4760 SIG_IGN.
4761 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4762 with_sw_watch and no_handler parameters. Handle them.
4763 (top level) <stepping over handler when stopped at a breakpoint
4764 test>: Add a test axis for testing with a software watchpoint, and
4765 another for testing with the signal handler set to SIG_IGN.
4766 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4767 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
4768
abbdbd03
PA
47692014-10-28 Pedro Alves <palves@redhat.com>
4770
4771 PR gdb/17511
4772 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
4773 * gdb.base/sigstep.exp (other_handler_location): New global.
4774 (advance): Support stepping into the signal handler, and running
4775 commands while in the handler.
4776 (in_handler_map): New global.
4777 (top level): In the advance test, add combinations for getting
4778 into the handler with stepping commands, and for running commands
4779 in the handler. Add comment descripting the advancei tests.
4780
1df4399f
PA
47812014-10-28 Pedro Alves <palves@redhat.com>
4782
4783 * gdb.base/sigstep.exp: Use build_executable instead of
4784 prepare_for_testing.
4785 (top level): Move code that starts GDB, runs to main and creates a
4786 display to ...
4787 (restart): ... this new procedure.
4788 (top level): Move backtrace from signal handler test to ...
4789 (validate_backtrace): ... this new procedure.
4790 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
4791 with_test_prefix. Always restart GDB.
4792 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
4793 with_test_prefix. Always restart GDB. No need to delete
4794 breakpoints after the test.
4795 (test_skip_handler): Remove prefix parameter.
4796 (skip_over_handler, breakpoint_to_handler)
4797 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
4798 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
4799 restart GDB. No need to delete breakpoints after the test.
4800 (top level): Use foreach to call the test procedures with
4801 different commands.
4802
a5b6e449
PA
48032014-10-28 Pedro Alves <palves@redhat.com>
4804
4805 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
4806 instead of GNATS numbers.
4807 * gdb.base/sigbpt.exp: Likewise.
4808 * gdb.base/siginfo.exp: Likewise.
4809 * gdb.base/sigstep.exp: Likewise.
4810
e5f8a7cc
PA
48112014-10-27 Pedro Alves <palves@redhat.com>
4812
4813 * gdb.base/sigstep.c (dummy): New global.
4814 (main): Issue a couple writes to the new global.
4815 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
4816 procedures.
4817 (skip_over_handler): Use test_skip_handler.
4818 (top level): Call skip_over_handler for stepi and nexti too.
4819 (breakpoint_over_handler): Use test_skip_handler.
4820 (top level): Call breakpoint_over_handler for stepi and nexti too.
4821
763905a3
YQ
48222014-10-27 Yao Qi <yao@codesourcery.com>
4823
4824 * gdb.trace/tfile.c (adjust_function_address)
4825 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
4826 function descriptor.
4827
6f259a23
DB
48282014-10-24 Don Breazeal <donb@codesourcery.com>
4829
4830 * gdb.base/foll-fork.exp (test_follow_fork,
4831 catch_fork_child_follow): Check for updated fork messages emitted
4832 from infrun.c.
4833 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
4834 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
4835 vfork_and_exec_child_follow_through_step): Check for updated vfork
4836 messages emitted from infrun.c.
4837
09dd9a69
PA
48382014-10-24 Pedro Alves <palves@redhat.com>
4839
4840 * gdb.base/corefile.exp: Remove references to ultrix.
4841 * gdb.base/interrupt.exp: Likewise.
4842 * gdb.base/whatis.exp: Likewise.
4843 * gdb.gdb/selftest.exp: Likewise.
4844 * gdb.threads/manythreads.exp: Likewise.
4845 * gdb.threads/print-threads.exp: Likewise.
4846 * gdb.threads/pthreads.exp:: Likewise.
4847 * gdb.threads/schedlock.exp: Likewise.
4848
3433cfa5
SC
48492014-10-24 Siva Chandra Reddy <sivachandra@google.com>
4850
4851 * gdb.cp/non-trivial-retval.cc: Add a test case.
4852 * gdb.cp/non-trivial-retval.exp: Add a test.
4853
092f880b
YQ
48542014-10-20 Yao Qi <yao@codesourcery.com>
4855
4856 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
4857 * gdb.python/py-objfile-script-gdb.py: New file.
4858 * gdb.python/py-objfile-script.exp: Update reference to
4859 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
4860 of remote_download. Remove the dest file.
4861
acbdb7f3
YQ
48622014-10-20 Yao Qi <yao@codesourcery.com>
4863
4864 * gdb.base/checkpoint.exp: Don't remove file copied on host.
4865 * gdb.base/step-line.exp: Likewise.
4866 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4867 * gdb.dwarf2/dw2-basic.exp: Likewise.
4868 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4869 * gdb.dwarf2/dw2-filename.exp: Likewise.
4870 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4871 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4872 * gdb.dwarf2/dw2-producer.exp: Likewise.
4873 * gdb.dwarf2/mac-fileno.exp: Likewise.
4874 * gdb.python/py-frame-args.exp: Likewise.
4875 * gdb.python/py-framefilter.exp: Likewise.
4876 * gdb.python/py-mi.exp: Likewise.
4877 * gdb.python/py-objfile-script.exp: Likewise
4878 * gdb.python/py-pp-integral.exp: Likewise.
4879 * gdb.python/py-pp-re-notag.exp: Likewise.
4880 * gdb.python/py-prettyprint.exp: Likewise.
4881 * gdb.python/py-section-script.exp: Likewise.
4882 * gdb.python/py-typeprint.exp: Likewise.
4883 * gdb.python/py-xmethods.exp: Likewise.
4884 * gdb.stabs/weird.exp: Likewise.
4885 * gdb.xml/tdesc-regs.exp: Likewise.
4886
bd286a29
KCY
48872014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
4888
4889 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
4890 (out_cu): Use addr_len for the size of addresses.
4891 (out_line): Likewise. Size DW_LNE_set_address instruction
4892 according to addr_len.
4893 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
4894 (FUNC): Add START_INSNS to definition.
4895
673dc4a0
YQ
48962014-10-18 Yao Qi <yao@codesourcery.com>
4897
4898 * gdb.base/argv0-symlink.exp: Check argv[0] value if
4899 gdb_has_argv0 return true.
4900 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
4901 check [target_info exists noargs], check [gdb_has_argv0]
4902 instead.
4903 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4904 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
4905 procedures.
4906
4ffbba72
DE
49072014-10-17 Doug Evans <dje@google.com>
4908
4909 * gdb.python/py-events.exp: Update expected output for clear_objfiles
4910 event.
4911 * gdb.python/py-events.py: Add clear_objfiles event.
4912
d096d8c1
DE
49132014-10-17 Doug Evans <dje@google.com>
4914
4915 * gdb.python/py-objfile.exp: Test progspace attribute.
4916
a80db015
LM
49172014-10-17 Luis Machado <lgustavo@codesourcery.com>
4918
4919 * gdb.guile/scm-breakpoint.exp: Do not assume any
4920 directory separators when matching source file paths.
4921 * gdb.python/py-breakpoint.exp: Likewise.
4922 * gdb.reverse/break-precsave.exp: Likewise.
4923 * gdb.reverse/break-reverse.exp: Likewise.
4924 * gdb.reverse/consecutive-precsave.exp: Likewise.
4925 * gdb.reverse/finish-precsave.exp: Likewise.
4926 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
4927 * gdb.reverse/finish-reverse.exp: Likewise.
4928 * gdb.reverse/i386-precsave.exp: Likewise.
4929 * gdb.reverse/i387-env-reverse.exp: Likewise.
4930 * gdb.reverse/i387-stack-reverse.exp: Likewise.
4931 * gdb.reverse/machinestate-precsave.exp: Likewise.
4932 * gdb.reverse/machinestate.exp: Likewise.
4933 * gdb.reverse/sigall-precsave.exp: Likewise.
4934 * gdb.reverse/solib-precsave.exp: Likewise.
4935 * gdb.reverse/step-precsave.exp: Likewise.
4936 * gdb.reverse/until-precsave.exp: Likewise.
4937 * gdb.reverse/watch-precsave.exp: Likewise.
4938 * gdb.reverse/watch-reverse.exp: Likewise.
4939
b22089ab
YQ
49402014-10-17 Yao Qi <yao@codesourcery.com>
4941
4942 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
4943 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
4944
6c4486e6
PA
49452014-10-17 Pedro Alves <palves@redhat.com>
4946
4947 PR gdb/17471
4948 * gdb.base/bg-execution-repeat.c: New file.
4949 * gdb.base/bg-execution-repeat.exp: New file.
4950
0ff33695
PA
49512014-10-17 Pedro Alves <palves@redhat.com>
4952
4953 PR gdb/17300
4954 * gdb.base/continue-all-already-running.c: New file.
4955 * gdb.base/continue-all-already-running.exp: New file.
4956
6fdebc3d
PA
49572014-10-17 Pedro Alves <palves@redhat.com>
4958
4959 PR gdb/17472
4960 * gdb.base/annota-input-while-running.c: New file.
4961 * gdb.base/annota-input-while-running.exp: New file.
4962
32a8097b
PA
49632014-10-17 Pedro Alves <palves@redhat.com>
4964
4965 * gdb.base/callfuncs.exp: emove references to osf.
4966 * gdb.base/sigall.exp: Likewise.
4967 * gdb.gdb/selftest.exp: Likewise.
4968 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
4969 * gdb.mi/non-stop.c: Likewise.
4970 * gdb.mi/pthreads.c: Likewise.
4971 * gdb.reverse/sigall-precsave.exp: Likewise.
4972 * gdb.reverse/sigall-reverse.exp: Likewise.
4973 * gdb.threads/pthreads.c: Likewise.
4974 * gdb.threads/pthreads.exp: Likewise.
4975
7a3517ff
YQ
49762014-10-17 Yao Qi <yao@codesourcery.com>
4977
4978 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
4979 check 'target_info exists noargs'.
4980 (test_command_prompt_position): Likewise.
4981 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
4982 Remove "set args".
4983 (progvar_simple_while_test): Likewise.
4984 (progvar_complex_if_while_test): Likewise.
4985 (if_while_breakpoint_command_test): Likewise.
4986 (infrun_breakpoint_command_test): Likewise.
4987 (breakpoint_command_test): Likewise.
4988 (watchpoint_command_test): Likewise.
4989 (bp_deleted_in_command_test): Likewise.
4990 (temporary_breakpoint_commands): Likewise.
4991
bb99c472
YQ
49922014-10-16 Yao Qi <yao@codesourcery.com>
4993
4994 * gdb.base/remotetimeout.exp: Remove noargs checking.
4995
7c16b83e
PA
49962014-10-15 Pedro Alves <palves@redhat.com>
4997
4998 PR breakpoints/9649
4999 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5000 * gdb.base/breakpoint-in-ro-region.exp
5001 (probe_target_hardware_step): New procedure.
5002 (top level): Probe hardware stepping and hardware breakpoint
5003 support. Test stepping through a read-only region, with both
5004 "breakpoint auto-hw" on and off and both "always-inserted" on and
5005 off.
5006
35a49624
IB
50072014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5008
5009 * gdb.dlang/demangle.exp: Update for demangling changes.
5010
2d1c107c
SC
50112014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5012
5013 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5014 * gdb.cp/non-trivial-retval.exp: Add new tests.
5015
778811d5
SC
50162014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5017
5018 PR c++/13403
5019 PR c++/15154
5020 * gdb.cp/non-trivial-retval.cc: New file.
5021 * gdb.cp/non-trivial-retval.exp: New file.
5022
10c5f0a8
YQ
50232014-10-15 Yao Qi <yao@codesourcery.com>
5024
5025 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5026 remote host.
5027
65d7b369
YQ
50282014-10-15 Yao Qi <yao@codesourcery.com>
5029
5030 * gdb.python/py-symbol.exp: Match file base name if host is
5031 remote, otherwise match file name with dir name.
5032 * gdb.python/py-symtab.exp: Likewise.
5033 * gdb.python/python.exp: Likewise.
5034
46dc1394
YQ
50352014-10-15 Yao Qi <yao@codesourcery.com>
5036
5037 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5038 pattern.
5039 * gdb.python/py-symtab.exp: Likewise.
5040 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5041 locationn.
5042
c40cc657
JB
50432014-10-14 Joel Brobecker <brobecker@adacore.com>
5044
5045 * gdb.ada/addr_arith: New testcase.
5046
2abf49e1
MR
50472014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5048
5049 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5050 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5051 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5052 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5053
f7088df3
SDJ
50542014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5055
5056 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5057 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5058 * gdb.arch/stap-eval-lang-ada.exp: New file.
5059
4dc06805
YQ
50602014-10-14 Yao Qi <yao@codesourcery.com>
5061
5062 * gdb.mi/mi-var-child.c (nothing1): New function.
5063 (nothing2): New function.
5064 (do_children_tests): Set function pointers by nothing1 and
5065 nothing2.
5066 * gdb.mi/mi-var-child.exp: Step over new added statements.
5067 Update test to match the new output.
5068 * gdb.mi/var-cmd.c (nothing1): New function.
5069 (nothing2): New function.
5070 (do_children_tests): Set function pointers by nothing1 and
5071 nothing2.
5072 * gdb.mi/mi-var-display.exp: Update test to match output.
5073 Step to the line specified by $line_dct_nothing.
5074 Increase the number of lines to step.
5075
46a93de2
YQ
50762014-10-14 Yao Qi <yao@codesourcery.com>
5077
5078 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5079 tests.
5080 * gdb.mi/mi2-var-child.exp: Likewise.
5081
14ea52ee
DE
50822014-10-13 Doug Evans <dje@google.com>
5083
5084 * gdb.python/py-objfile.exp: Change name of file name test.
5085
e5c6e92b
DE
50862014-10-13 Doug Evans <dje@google.com>
5087
5088 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5089 from the start of the CU.
5090
c780cc2f
JK
50912014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5092 Yao Qi <yao@codesourcery.com>
5093
5094 Fix "save breakpoints" for "catch" command.
5095 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5096 Remove -nonewline. Match also the added "main" line.
5097
99894e11
JK
50982014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5099
5100 Fix "save breakpoints" for "disable $bpnum" command.
5101 * gdb.base/save-bp.c (main): Add label.
5102 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5103
6e1ac5a3
JK
51042014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5105
5106 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5107
754dd2b0
YQ
51082014-10-11 Yao Qi <yao@codesourcery.com>
5109
5110 * gdb.server/server-kill.exp: Execute command
5111 "set remote trace-status-packet on" before "tstatus".
5112
f90183d7
YQ
51132014-10-11 Yao Qi <yao@codesourcery.com>
5114
5115 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5116 (main): Call getppid.
5117 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5118 and continue to it. Read variable "server_pid".
5119
bf40a607
YQ
51202014-10-11 Yao Qi <yao@codesourcery.com>
5121
5122 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5123
052ca370
YQ
51242014-10-11 Yao Qi <yao@codesourcery.com>
5125
5126 * gdb.threads/thread-find.exp: Don't execute command
5127 "info threads".
5128 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5129 * gdb.threads/linux-dp.exp: Don't check the condition
5130 $threads_created equals to zero.
5131
3831839c
PA
51322014-10-10 Pedro Alves <palves@redhat.com>
5133
5134 * gdb.base/bigcore.exp: Remove references to IRIX.
5135 * gdb.base/funcargs.exp: Likewise.
5136 * gdb.base/interrupt.exp: Likewise.
5137 * gdb.base/mips_pro.exp: Likewise.
5138 * gdb.base/nodebug.exp: Likewise.
5139 * gdb.base/setvar.exp: Likewise.
5140 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5141
8b9a549d
PA
51422014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5143 Pedro Alves <palves@redhat.com>
5144
5145 PR symtab/14466
5146 * gdb.base/vdso-warning.c: New file.
5147 * gdb.base/vdso-warning.exp: New file.
5148
d48ba5e8
DE
51492014-10-02 Doug Evans <dje@google.com>
5150
5151 * gdb.base/structs.c (main): Don't run forever.
5152
2278c276
PA
51532014-10-02 Pedro Alves <palves@redhat.com>
5154
5155 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5156 (top level) <stop threads 1, stop threads 2>: Use it.
5157
b57bacec
PA
51582014-10-02 Pedro Alves <palves@redhat.com>
5159
5160 * gdb.threads/break-while-running.exp (test): Add new
5161 'update_thread_list' argument. Skip "info threads" if false.
5162 (top level): Add new 'update_thread_list' axis.
5163
13fd3ff3
PA
51642014-10-02 Pedro Alves <palves@redhat.com>
5165
5166 PR breakpoints/17431
5167 * gdb.base/execl-update-breakpoints.c: New file.
5168 * gdb.base/execl-update-breakpoints.exp: New file.
5169
0fec99e8
PA
51702014-10-01 Pedro Alves <palves@redhat.com>
5171
5172 * gdb.base/breakpoint-in-ro-region.c: New file.
5173 * gdb.base/breakpoint-in-ro-region.exp: New file.
5174
2ddf4301
SM
51752014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5176
5177 * gdb.mi/mi-exit-code.exp: New file.
5178 * gdb.mi/mi-exit-code.c: New file.
5179
6a5f3f43
YQ
51802014-09-30 Yao Qi <yao@codesourcery.com>
5181
5182 * lib/prelink-support.exp (build_executable_own_libs): Error if
5183 the target isn't native.
5184
345bcc73
YQ
51852014-09-30 Yao Qi <yao@codesourcery.com>
5186
5187 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5188 false.
5189
a25a5a45
PA
51902014-09-22 Pedro Alves <palves@redhat.com>
5191
5192 * gdb.threads/break-while-running.exp: New file.
5193 * gdb.threads/break-while-running.c: New file.
5194
00ba3162
YQ
51952014-09-19 Yao Qi <yao@codesourcery.com>
5196
5197 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5198 Invoke test. Restart GDB with --readnow and invoke test again.
5199
c3b7b696
YQ
52002014-09-19 Yao Qi <yao@codesourcery.com>
5201
5202 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5203 proc set_breakpoint_on_gcd_function. Invoke
5204 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5205 invoke set_breakpoint_on_gcd_function again.
5206
2b4fd423
DE
52072014-09-18 Doug Evans <dje@google.com>
5208
5209 * gdb.dwarf2/symtab-producer.exp: New file.
5210
a5947601
SDJ
52112014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5212
5213 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5214 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5215 * gdb.base/global-var-nested-by-dso.c: Likewise.
5216 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5217
91c19059
SDJ
52182014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5219 Pedro Alves <palves@redhat.com>
5220
5221 * gdb.base/watch-bitfields.exp: Pass string other than test file
5222 name to prepare_for_testing.
5223 (watch): New procedure.
5224 (expect_watchpoint): Use with_test_prefix.
5225 (top level): Factor out tests to ...
5226 (test_watch_location, test_regular_watch): ... these new
5227 procedures, and use with_test_prefix and gdb_continue_to_end.
5228
bb9d5f81
PP
52292014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5230
5231 PR breakpoints/12526
5232 * gdb.base/watch-bitfields.exp: New file.
5233 * gdb.base/watch-bitfields.c: New file.
5234
635856f5
PA
52352014-09-16 Pedro Alves <palves@redhat.com>
5236
5237 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5238 software and hardware addresses, not software address against
5239 itself.
5240
7280ceea
PA
52412014-09-16 Pedro Alves <palves@redhat.com>
5242
5243 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5244 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5245
428b16bd
PA
52462014-09-16 Pedro Alves <palves@redhat.com>
5247
5248 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5249 files.
5250 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5251 "*-*-vxworks*" throughout.
5252 * gdb.base/break.exp: Likewise.
5253 * gdb.base/default.exp: Likewise.
5254 * gdb.base/scope.exp: Likewise.
5255 * gdb.base/sepdebug.exp: Likewise.
5256 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5257 throughout.
5258 * gdb.base/run.c: Likewise.
5259 * gdb.base/sepdebug.c: Likewise.
5260 * gdb.hp/gdb.aCC/run.c: Likewise.
5261 * gdb.reverse/until-reverse.c: Likewise.
5262 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5263
666d413c
YQ
52642014-09-16 Yao Qi <yao@codesourcery.com>
5265
5266 * boards/local-remote-host-native.exp: New file.
5267
57cbd724
DE
52682014-09-14 Doug Evans <xdje42@gmail.com>
5269
5270 * gdb.threads/queue-signal.c (thread_count): New variable.
5271 (thread_count_mutex, thread_count_condvar): New variables.
5272 (incr_thread_count, wait_all_threads_running): New functions.
5273 (main): Wait for all threads to be in their thread functions.
5274
81219e53
DE
52752014-09-13 Doug Evans <xdje42@gmail.com>
5276
5277 * gdb.threads/queue-signal.c: New file.
5278 * gdb.threads/queue-signal.exp: New file.
5279
3714cea7
DE
52802014-09-13 Doug Evans <xdje42@gmail.com>
5281
5282 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5283 be consistent with what default_gdb_init uses.
5284 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5285 the plain text of the prompt. Add some logging printfs.
5286 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5287
fa43b1d7
PA
52882014-09-12 Pedro Alves <palves@redhat.com>
5289
5290 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5291 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5292 * gdb.arch/i386-size-overlap.exp: Likewise.
5293 * gdb.arch/i386-size.exp: Likewise.
5294 * gdb.arch/i386-unwind.exp: Likewise.
5295 * gdb.base/a2-run.exp: Likewise.
5296 * gdb.base/break.exp: Likewise.
5297 * gdb.base/charset.exp: Likewise.
5298 * gdb.base/chng-syms.exp: Likewise.
5299 * gdb.base/commands.exp: Likewise.
5300 * gdb.base/dbx.exp: Likewise.
5301 * gdb.base/find.exp: Likewise.
5302 * gdb.base/funcargs.exp: Likewise.
5303 * gdb.base/jit-simple.exp: Likewise.
5304 * gdb.base/reread.exp: Likewise.
5305 * gdb.base/sepdebug.exp: Likewise.
5306 * gdb.base/step-bt.exp: Likewise.
5307 * gdb.cp/mb-inline.exp: Likewise.
5308 * gdb.cp/mb-templates.exp: Likewise.
5309 * gdb.objc/basicclass.exp: Likewise.
5310 * gdb.threads/killed.exp: Likewise.
5311
9d9bf2df
EBM
53122014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5313
5314 PR tdep/17379
5315 * gdb.arch/powerpc-stackless.S: New file.
5316 * gdb.arch/powerpc-stackless.exp: New file.
5317
1cf2f1b0
JK
53182014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5319
5320 * gdb.base/attach.c: Include unistd.h.
5321 (main): Call alarm. Add label postloop.
5322 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5323 gdb_breakpoint, gdb_continue_to_breakpoint.
5324 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5325
98880d46
PA
53262014-09-11 Pedro Alves <palves@redhat.com>
5327
5328 PR gdb/17347
5329 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5330 * gdb.base/attach.exp (test_command_line_attach_run): New
5331 procedure.
5332 (top level): Call it.
5333
4c92ff2c
PA
53342014-09-11 Pedro Alves <palves@redhat.com>
5335
5336 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5337 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5338 (do_command_attach_tests): Use spawn_wait_for_attach.
5339 * gdb.base/solib-overlap.exp: Likewise.
5340 * gdb.multi/multi-attach.exp: Likewise.
5341 * gdb.python/py-prompt.exp: Likewise.
5342 * gdb.python/py-sync-interp.exp: Likewise.
5343 * gdb.server/ext-attach.exp: Likewise.
5344
3adc1a7d
GKB
53452014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5346
5347 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5348 command in testcase. Simplify testcase.
5349
96334934
JB
53502014-09-10 Joel Brobecker <brobecker@adacore.com>
5351
5352 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5353
eb479039
JB
53542014-09-10 Joel Brobecker <brobecker@adacore.com>
5355
5356 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5357
deede10c
JB
53582014-09-10 Joel Brobecker <brobecker@adacore.com>
5359
5360 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5361
7828a5f5
JB
53622014-09-10 Joel Brobecker <brobecker@adacore.com>
5363
5364 * gdb.dwarf2/dynarr-ptr.c: New file.
5365 * gdb.dwarf2/dynarr-ptr.exp: New file.
5366
33aeebcf
MR
53672014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5368
5369 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5370 of 30 rather than hardcoding 120 for a slow test case. Take the
5371 `gdb,timeout' target setting into account for this calculation.
5372 Don't extend the timeout for the test cases that don't need it.
5373
7b415901
MR
53742014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5375
5376 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5377 a factor of 2 for a slow test case. Take the `gdb,timeout'
5378 target setting into account for this calculation.
5379 * gdb.reverse/until-precsave.exp: Increase the timeout by
5380 a factor of 15 and 3 respectively rather than adding 120
5381 for a pair of slow test cases. Take the `gdb,timeout'
5382 target setting into account for this calculation.
5383
4a40f85a
MR
53842014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5385
5386 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5387 timeout, don't pass one down to gdb_expect.
5388 (gdb_expect): Rework timeout selection.
5389
09635af7
MR
53902014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5391
5392 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5393 exception on timeout.
5394 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5395 (gdbserver_start_extended): Catch any `gdbserver_start' error
5396 exceptions.
5397 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5398 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5399 `gdbserver_gdb_load' error exceptions.
5400
2bdd10b7
MR
54012014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5402
5403 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5404 120 on waiting for the TCP socket to open.
5405
316935f0
DE
54062014-09-09 Doug Evans <xdje42@gmail.com>
5407
5408 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5409 _caller_matches, _any_caller_is, _any_caller_matches.
5410
83740597
DE
54112014-09-09 Doug Evans <xdje42@gmail.com>
5412
5413 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5414
4c122fc3
YQ
54152014-09-09 Yao Qi <yao@codesourcery.com>
5416
5417 * gdb.mi/mi-var-display.exp: Set print symbol off.
5418
a9f116cb
GKB
54192014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5420
5421 PR gdb/17035
5422 * gdb.base/commands.exp: Add tests to verify user-defined
5423 commands with empty bodies.
5424 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5425 python commands in `show user command`.
5426 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5427 scheme commands in `show user command`.
5428
c75bd3a2
JK
54292014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5430
5431 PR python/17355
5432 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5433 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5434 * gdb.python/py-framefilter-invalidarg.exp: New file.
5435 * gdb.python/py-framefilter-invalidarg.py: New file.
5436
faa42425
DE
54372014-09-06 Doug Evans <xdje42@gmail.com>
5438
5439 PR 15276
5440 * gdb.python/py-caller-is.c: New file.
5441 * gdb.python/py-caller-is.exp: New file.
5442
474ca4f6
SDJ
54432014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5444
5445 PR gdb/17235
5446 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5447 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5448
eb0b0463
SDJ
54492014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5450
5451 PR fortran/17237
5452 * gdb.fortran/print-formatted.exp: New file.
5453 * gdb.fortran/print-formatted.f90: Likewise.
5454
5f3b99cf
SS
54552014-09-03 Sasha Smundak <asmundak@google.com>
5456
5457 * gdb.python/py-frame.exp: Test Frame.read_register.
5458
7d793aa9
SDJ
54592014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5460
5461 PR python/16699
5462 * gdb.python/py-completion.exp: New file.
5463 * gdb.python/py-completion.py: Likewise.
5464
fb0576e9
DE
54652014-08-28 Doug Evans <dje@google.com>
5466
5467 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5468 eax,etc. are live with values set by gdb and thus the compiler can't
5469 use them.
5470 * gdb.arch/i386-pseudo.c (main): Ditto.
5471
ee92b0dd
DE
54722014-08-27 Doug Evans <dje@google.com>
5473
5474 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5475
6649db35
DE
54762014-08-25 Doug Evans <dje@google.com>
5477
5478 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5479 (main): Ditto.
5480
564b7600
DE
54812014-08-25 Doug Evans <dje@google.com>
5482
5483 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5484
3881fb67
YQ
54852014-08-24 Yao Qi <yao@codesourcery.com>
5486
5487 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5488 symbol off.
5489 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5490
a05a36a5
DE
54912014-08-22 Doug Evans <dje@google.com>
5492
5493 PR 17276
5494 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5495 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5496 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5497
7c343b48
YQ
54982014-08-22 Yao Qi <yao@codesourcery.com>
5499
5500 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5501 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5502 * gdb.python/python.exp: Likewise. Use .py file on the host
5503 instead of the build.
5504
22fd09ae
JK
55052014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5506
5507 * gdb.threads/gcore-stale-thread.c: New file.
5508 * gdb.threads/gcore-stale-thread.exp: New file.
5509
a8454a7c
PA
55102014-08-21 Pedro Alves <palves@redhat.com>
5511
5512 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5513 * gdb.base/gcore-relro-pie.exp: Likewise.
5514 * gdb.base/gcore-relro.exp: Likewise.
5515 * gdb.base/gcore.exp: Likewise.
5516 * gdb.base/print-symbol-loading.exp: Likewise.
5517 * gdb.threads/gcore-thread.exp: Likewise.
5518 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5519
2a31c623
PA
55202014-08-20 Pedro Alves <palves@redhat.com>
5521 Jan Kratochvil <jan.kratochvil@redhat.com>
5522
5523 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5524 configure.
5525 (EXPECT): Handle READ1 being set.
5526 (all): Depend on EXTRA_RULES.
5527 (check-read1, expect-read1, read1.so, read1): New rules.
5528 * README (Testsuite Parameters): Document the READ1 make variable.
5529 (Race detection): New section.
5530 * configure: Regenerate.
5531 * configure.ac: If build==host==target, and running under a
5532 GNU/glibc system, add read1 to the extra Makefile rules.
5533 (EXTRA_RULES): AC_SUBST it.
5534 * lib/read1.c: New file.
5535
d36430db
JB
55362014-08-20 Joel Brobecker <brobecker@adacore.com>
5537
5538 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5539 the handling of variables declared as a typedef to an array
5540 which a DW_AT_data_location attribute.
5541
9a0dc9e3
PA
55422014-08-19 Andrew Burgess <aburgess@broadcom.com>
5543 Pedro Alves <palves@redhat.com>
5544
5545 PR symtab/14604
5546 PR symtab/14605
5547 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5548 gdb_test.
5549
0718a8da
PA
55502014-08-19 Pedro Alves <palves@redhat.com>
5551
5552 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5553
13b448cd
YQ
55542014-08-19 Yao Qi <yao@codesourcery.com>
5555
5556 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5557 right line.
5558
1cbf5077
DB
55592014-08-18 David Blaikie <dblaikie@gmail.com>
5560
5561 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5562
bf0fae19
JB
55632014-08-18 Joel Brobecker <brobecker@adacore.com>
5564
5565 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5566 attribute in array range.
5567
3c8c5dcc
JB
55682014-08-18 Joel Brobecker <brobecker@adacore.com>
5569
5570 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5571
e66d4446
SC
55722014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5573
5574 PR c++/17132
5575 * gdb.cp/pr17132.cc: New file.
5576 * gdb.cp/pr17132.exp: New file.
5577
940df408
SC
55782014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5579
5580 * gdb.python/py-xmethods.py (A_getarrayind)
5581 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5582 Use 'print' with function call syntax.
5583 (E_method_matcher.match): Fix tab vs space indentation mixup.
5584
ebcc6c3a
YQ
55852014-08-15 Yao Qi <yao@codesourcery.com>
5586
5587 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5588 false.
5589
775e0f04
YQ
55902014-08-15 Yao Qi <yao@codesourcery.com>
5591
5592 * gdb.cp/casts.exp: Set print symbol off.
5593 * gdb.cp/class2.exp: Likewise.
5594 * gdb.cp/overload.exp: Likewise.
5595 * gdb.cp/templates.exp: Likewise.
5596
d769e349
DE
55972014-08-11 Doug Evans <dje@google.com>
5598
5599 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5600 (test_load_shlib): Update.
5601
20c6f1e1
YQ
56022014-08-09 Yao Qi <yao@codesourcery.com>
5603
5604 * gdb.base/display.exp: Invoke is_address_zero_readable.
5605 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5606 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5607 * gdb.base/hbreak-unmapped.exp: Return if
5608 is_address_zero_readable returns true.
5609 * gdb.base/signest.exp: Likewise.
5610 * gdb.base/signull.exp: Likewise.
5611 * gdb.base/sigbpt.exp: Likewise.
5612 * gdb.guile/scm-disasm.exp: Do the test if
5613 is_address_zero_readable returns false.
5614 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5615 * gdb.python/py-arch.exp: Likewise.
5616 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5617 * lib/gdb.exp (is_address_zero_readable): New proc.
5618
5792e8e3
YQ
56192014-08-09 Yao Qi <yao@codesourcery.com>
5620
5621 PR testsuite/13443
5622 * gdb.mi/mi-var-display.exp: Make test messages unique.
5623
3cecbbbe
TT
56242014-08-04 Tom Tromey <tromey@redhat.com>
5625
5626 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5627 target 0".
5628
00b51ff5
TT
56292014-08-04 Tom Tromey <tromey@redhat.com>
5630
5631 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5632 "target_resume".
5633
6908c509
JB
56342014-08-01 Joel Brobecker <brobecker@adacore.com>
5635
5636 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5637 inner_vla_struct_object_size.
5638 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5639 as xfail.
5640
cc6563d2
PA
56412014-07-30 Pedro Alves <palves@redhat.com>
5642
5643 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5644 comment.
5645
7e09a223
YQ
56462014-07-29 Yao Qi <yao@codesourcery.com>
5647
5648 PR gdb/17206
5649 * gdb.base/until-nodebug.exp: New.
5650
7ebdbe92
DE
56512014-07-28 Doug Evans <xdje42@gmail.com>
5652
5653 PR guile/17203
5654 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5655 previously existing parameter, and previously ambiguously spelled
5656 parameter.
5657
fdb1adc6
WN
56582014-07-28 Will Newton <will.newton@linaro.org>
5659
5660 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5661
186fcde0
DE
56622014-07-26 Ludovic Courtès <ludo@gnu.org>
5663 Doug Evans <xdje42@gmail.com>
5664
5665 PR guile/17146
5666 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5667
70509625
PA
56682014-07-25 Pedro Alves <palves@redhat.com>
5669
5670 * gdb.threads/signal-command-handle-nopass.c: New file.
5671 * gdb.threads/signal-command-handle-nopass.exp: New file.
5672 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5673 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5674 * gdb.threads/signal-delivered-right-thread.c: New file.
5675 * gdb.threads/signal-delivered-right-thread.exp: New file.
5676
c3f814a1
PA
56772014-07-25 Pedro Alves <palves@redhat.com>
5678
5679 * gdb.base/double-prompt-target-event-error.exp
5680 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5681 match.
5682 (cancel_pagination_in_target_event): Rework double prompt
5683 detection.
5684 * gdb.base/paginate-after-ctrl-c-running.exp
5685 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5686 <return>' match.
5687 * gdb.base/paginate-bg-execution.exp
5688 (test_bg_execution_pagination_return)
5689 (test_bg_execution_pagination_cancel): Remove '-notransfer
5690 <return>' matches.
5691 * gdb.base/paginate-execution-startup.exp
5692 (test_fg_execution_pagination_return)
5693 (test_fg_execution_pagination_cancel): Remove '-notransfer
5694 <return>' matches.
5695 * gdb.base/paginate-inferior-exit.exp
5696 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5697 match.
5698 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5699 * lib/gdb.exp (pagination_prompt): Run text through
5700 string_to_regexp.
5701 (gdb_test_multiple): Match $pagination_prompt instead of
5702 "<return>".
5703 (string_to_regexp): Move to lib/gdb-utils.exp.
5704
e214cf6c
JK
57052014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5706
5707 * gdb.arch/amd64-entry-value-paramref.S: New file.
5708 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5709 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5710 * gdb.arch/amd64-optimout-repeat.S: New file.
5711 * gdb.arch/amd64-optimout-repeat.c: New file.
5712 * gdb.arch/amd64-optimout-repeat.exp: New file.
5713
17d0c5c8
JK
57142014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5715
5716 PR gdb/17170
5717 * gdb.base/statistics.exp: New file.
5718
b8b8facf
DE
57192014-07-17 Doug Evans <dje@google.com>
5720
74b49205 5721 PR gdb/17170
b8b8facf
DE
5722 * gdb.base/maint.exp: Update testing of per-command stats.
5723
1b5d0ab3
PA
57242014-07-16 Pedro Alves <palves@redhat.com>
5725
5726 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5727 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5728 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5729 (tfile_write_buf): New functions.
5730 (add_memory_block): Rewrite using the above.
5731 (adjust_function_address): New function.
5732 (FUNCTION_ADDRESS): New macro.
5733 (write_basic_trace_file): Remove short_x local, and use
5734 tfile_write_16. Change type of func_addr local to unsigned long
5735 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5736 here. Cast argument of add_memory_block to char pointer.
5737 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5738 (main): Remove parameters.
5739 * gdb.trace/tfile.exp: Remove nowarnings.
5740
4d974e88
SM
57412014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5742
5743 * gdb.base/debug-expr.exp: Test string evaluation with
5744 "debug expression" on.
5745
41e99568
PA
57462014-07-15 Pedro Alves <palves@redhat.com>
5747
5748 * gdb.base/reread.exp: Use clean_restart.
5749
487d9753
PL
57502014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5751
5752 * gdb.arch/avr-flash-qualifer.c: New.
5753 * gdb.arch/avr-flash-qualifer.exp: New.
5754
cc1c52ad
PA
57552014-07-14 Pedro Alves <palves@redhat.com>
5756
5757 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5758 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5759
1e973570
PA
57602014-07-14 Pedro Alves <palves@redhat.com>
5761
5762 * gdb.base/double-prompt-target-event-error.c: New file.
5763 * gdb.base/double-prompt-target-event-error.exp: New file.
5764
93d6eb10
PA
57652014-07-14 Pedro Alves <palves@redhat.com>
5766
5767 PR gdb/17072
5768 * gdb.base/paginate-inferior-exit.c: New file.
5769 * gdb.base/paginate-inferior-exit.exp: New file.
5770
0017922d
PA
57712014-07-14 Pedro Alves <palves@redhat.com>
5772
5773 PR gdb/17072
5774 * gdb.base/paginate-bg-execution.c: New file.
5775 * gdb.base/paginate-bg-execution.exp: New file.
5776
94696ad3
PA
57772014-07-14 Pedro Alves <palves@redhat.com>
5778
5779 PR gdb/17072
5780 * gdb.base/paginate-execution-startup.c: New file.
5781 * gdb.base/paginate-execution-startup.exp: New file.
5782 * lib/gdb.exp (pagination_prompt): New global.
5783 (default_gdb_spawn): New procedure, factored out from
5784 default_gdb_spawn.
5785 (default_gdb_start): Adjust to call default_gdb_spawn.
5786 (gdb_spawn): New procedure.
5787
bd293940
PA
57882014-07-14 Pedro Alves <palves@redhat.com>
5789
5790 * lib/gdb.exp (gdb_assert): New procedure.
5791 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
5792
c933f875
PA
57932014-07-14 Pedro Alves <palves@redhat.com>
5794
5795 * gdb.base/execution-termios.c: New file.
5796 * gdb.base/execution-termios.exp: New file.
5797
d98b7a16
TT
57982014-07-14 Tom Tromey <tromey@redhat.com>
5799
5800 * gdb.cp/vla-cxx.cc: New file.
5801 * gdb.cp/vla-cxx.exp: New file.
5802
548740d6
TT
58032014-07-14 Tom Tromey <tromey@redhat.com>
5804
5805 * gdb.reverse/rerun-prec.c: New file.
5806 * gdb.reverse/rerun-prec.exp: New file.
5807
a25eb028
MR
58082014-07-12 Maciej W. Rozycki <macro@mips.com>
5809 Maciej W. Rozycki <macro@codesourcery.com>
5810
5811 * lib/gdb-utils.exp: New file.
5812 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
5813 inline `gdb_init_command' processing.
5814 (gdb_start_cmd): Likewise.
5815 * lib/mi-support.exp (mi_run_cmd): Likewise.
5816 * README: Document `gdb_init_command' and `gdb_init_commands'.
5817
218c2655
JK
58182014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5819
5820 Fix false FAIL running under a very long directory name.
5821 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
5822 and "set print elements 10000". Twice.
5823
5401fde3
YQ
58242014-07-11 Yao Qi <yao@codesourcery.com>
5825
5826 * gdb.base/exprs.exp: "set print symbol off".
5827
e76126e8
PA
58282014-07-11 Pedro Alves <palves@redhat.com>
5829
5830 * gdb.threads/kill.c: New file.
5831 * gdb.threads/kill.exp: New file.
5832
2d6f0de6
YQ
58332014-07-10 Yao Qi <yao@codesourcery.com>
5834
5835 * gdb.trace/tfile.c (write_basic_trace_file)
5836 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
5837 address written to trace file.
5838
7180e04a
PA
58392014-07-09 Pedro Alves <palves@redhat.com>
5840
5841 * gdb.base/attach-wait-input.exp: New file.
5842 * gdb.base/attach-wait-input.c: New file.
5843
9a9a7608
AB
58442014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5845
5846 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
5847 setting up test structures.
5848 (main): Call new test function.
5849 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
5850 test function, continue into test function and walk test
5851 structures.
5852
161ac41e
YQ
58532014-07-02 Yao Qi <yao@codesourcery.com>
5854
5855 * gdb.trace/entry-values.c: Define labels 'foo_start' and
5856 'bar_start' at the beginning of functions 'foo' and 'bar'
5857 respectively.
5858 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
5859 instead of 'foo' and 'bar'.
5860
1f267ae3
MM
58612014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5862
5863 * gdb.btrace/segv.exp: New.
5864 * gdb.btrace/segv.c: New.
5865
2b239efb
LM
58662014-07-02 Luis Machado <lgustavo@codesourcery.com>
5867
5868 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
5869 instruction.
5870
cf363f18
MW
58712014-06-30 Mark Wielaard <mjw@redhat.com>
5872
5873 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
5874 vulture, vilify, villar): New volatile array constants.
5875 (vindictive, vegetation): New const volatile array constants.
5876 * gdb.base/volatile.exp: Test volatile and const volatile array
5877 types.
5878
aebf9d24
AA
58792014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5880
5881 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
5882 target lacks support for awatch, rwatch, or hbreak.
5883
b67a2c6f
YQ
58842014-06-27 Yao Qi <yao@codesourcery.com>
5885
5886 * gdb.multi/dummy-frame-restore.exp: New.
5887 * gdb.multi/dummy-frame-restore.c: New.
5888
aef92902
MM
58892014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5890
5891 * gdb.btrace/gcore.exp: New.
5892
8e9db26e
PA
58932014-06-23 Pedro Alves <palves@redhat.com>
5894
5895 * gdb.base/watchpoint-reuse-slot.c: New file.
5896 * gdb.base/watchpoint-reuse-slot.exp: New file.
5897
70afc5b7
SC
58982014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5899
5900 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
5901 progspace's filename in 'info', 'enable' and 'disable' command
5902 tests.
5903
b972bd9c
JK
59042014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5905
5906 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
5907 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5908 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
5909
125f8a3d
GB
59102014-06-20 Gary Benson <gbenson@redhat.com>
5911
5912 * gdb.arch/i386-avx.exp: Fix include file location.
5913 * gdb.arch/i386-sse.exp: Likewise.
5914
3ed9baed
IB
59152014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5916
5917 * gdb.dlang/expression.exp: New file.
5918
034f788c
PA
59192014-06-19 Pedro Alves <palves@redhat.com>
5920
5921 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
5922 out from ...
5923 (top level): ... here. Iterate running tests under different
5924 scheduler-locking settings.
5925
45371d0c
LM
59262014-06-18 Luis Machado <lgustavo@codesourcery.com>
5927
5928 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
5929 to DW_FORM_addr and use non-zero addresses.
5930
5d376983
SC
59312014-06-18 Siva Chandra Reddy <sivachandra@google.com>
5932
5933 PR gdb/17017
5934 * gdb.python/py-xmethods.cc: Add global function call counters and
5935 increment them in their respective functions. Remove "cout"
5936 statements.
5937 * gdb.python/py-xmethods.exp: Make tests check the global function
5938 call counters instead of depending on inferior IO.
5939
a1aa2221
LM
59402014-06-18 Don Breazeal <donb@codesourcery.com>
5941
5942 * gdb.base/foll-fork.exp (default_fork_parent_follow):
5943 Deleted procedure.
5944 (explicit_fork_parent_follow): Deleted procedure.
5945 (explicit_fork_child_follow): Deleted procedure.
5946 (test_follow_fork): New procedure.
5947 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 5948 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
5949 procedure calls.
5950
0fc05997
YQ
59512014-06-17 Yao Qi <yao@codesourcery.com>
5952
5953 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
5954 CP1252.
5955
70795c52
LM
59562014-06-17 Luis Machado <lgustavo@codesourcery.com>
5957
5958 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
5959 Initialize ptr and S explicitly.
5960 (skip_type_update_when_not_use_rtti_test): Likewise.
5961
6be47f0c
KS
59622014-06-16 Keith Seitz <keiths@redhat.com>
5963
5964 PR mi/15863
5965 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
5966 the inferior is started.
5967
d03de421
PA
59682014-06-16 Pedro Alves <palves@redhat.com>
5969
5970 * gdb.base/break-main-file-remove-fail.c: New file.
5971 * gdb.base/break-main-file-remove-fail.exp: New file.
5972 * gdb.base/break-unload-file.exp: Use build_executable instead of
5973 prepare_for_testing.
5974 (test_break): New parameter "initial_load". Handle it.
5975 (top level): Add initial_load cmdline/file axis.
5976
f9579b99
TT
59772014-06-12 Tom Tromey <tromey@redhat.com>
5978
5979 * gdb.base/completion.exp: Don't use directory name in test.
5980
3657956b
GB
59812014-06-09 Gary Benson <gbenson@redhat.com>
5982
5983 * gdb.base/sigall.c [Functions to send signals]: Reorder to
5984 separate the always-available ANSI-standard signals from the
5985 signals that require checking.
5986 (main): Likewise.
5987 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
5988 Likewise.
5989 (main): Likewise.
5990
4186eb54
KS
59912014-06-07 Keith Seitz <keiths@redhat.com>
5992
5993 Revert:
5994 PR c++/16253
5995 * gdb.cp/var-tag.cc: New file.
5996 * gdb.cp/var-tag.exp: New file.
5997 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5998 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5999 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6000 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6001
25326a28 60022014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
6003
6004 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6005
829155c9
PA
60062014-06-06 Pedro Alves <palves@redhat.com>
6007
6008 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6009 in target debug output instead of looking at RSP packets,
6010 disabling the test on any target that uses hardware stepping.
6011 Update comments.
6012
61c8d22e
PA
60132014-06-06 Pedro Alves <palves@redhat.com>
6014
6015 * gdb.base/break-unload-file.exp: Fix typo.
6016
d9a47287
YQ
60172014-06-06 Yao Qi <yao@codesourcery.com>
6018
6019 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6020 from "jit_function" to "^jit_function".
6021
e5e01dbf
YQ
60222014-06-06 Yao Qi <yao@codesourcery.com>
6023
6024 * gdb.base/async.c (foo): Add one statement.
6025 * gdb.base/async.exp: Get the next instruction address and
6026 match the output of "nexti" by instruction address. Match
6027 the hex address in the output of "finish".
6028
73ba372c
GB
60292014-06-06 Gary Benson <gbenson@redhat.com>
6030
6031 * gdb.base/call-signals.c: Remove preprocessor conditionals
6032 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6033 SIGSEGV and SIGTERM.
6034 * gdb.base/sigall.c: Likewise.
6035 * gdb.base/unwindonsignal.c: Likewise.
6036 * gdb.reverse/sigall-reverse.c: Likewise.
6037
831517df
YQ
60382014-06-06 Yao Qi <yao@codesourcery.com>
6039
6040 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6041 readable, skip the test.
6042
b8b91e98
YQ
60432014-06-06 Yao Qi <yao@codesourcery.com>
6044
6045 * gdb.threads/staticthreads.c (thread_function): Move the line
6046 setting breakpoint on forward.
6047 * gdb.threads/staticthreads.exp: Update comments.
6048
fb934770
LC
60492014-06-05 Ludovic Courtès <ludo@gnu.org>
6050
6051 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6052 "history-append! type error".
6053
6ef284bd
SM
60542014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6055
6056 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6057 erroneous dprintf expected input.
6058
a872e241
DE
60592014-06-04 Doug Evans <xdje42@gmail.com>
6060
6061 * gdb.guile/scm-generics.exp: Delete.
6062
16f691fb
DE
60632014-06-04 Doug Evans <xdje42@gmail.com>
6064
6065 * gdb.guile/scm-breakpoint.exp: Update.
6066 Add tests for breakpoint registration.
6067
012370f6
TT
60682014-06-04 Tom Tromey <tromey@redhat.com>
6069
6070 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6071 VLA-in-union.
6072 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6073 inner_vla_struct, vla_union types. Initialize objects of those
6074 types and compute their sizes.
6075
9f5a4cef
HZ
60762014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6077 Hui Zhu <hui@codesourcery.com>
6078
6079 * gdb.base/fileio.exp: Add test for shell not available as well as
6080 available.
6081 * gdb.base/fileio.c (test_system): Check for shell twice.
6082
90a45c4d
YQ
60832014-06-04 Yao Qi <yao@codesourcery.com>
6084
6085 * gdb.base/auto-connect-native-target.exp: Remove redundant
6086 space from the regexp pattern.
6087
70017e41
YQ
60882014-06-04 Yao Qi <yao@codesourcery.com>
6089
6090 * gdb.base/default.exp: Replace "child" with "native" in
6091 regexp pattern.
6092
883964a7
SC
60932014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6094
6095 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6096 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6097 * gdb.python/py-xmethods.py: Python script supporting the
6098 new testcase and tests.
6099
ef370185
JB
61002014-06-03 Joel Brobecker <brobecker@adacore.com>
6101 Pedro Alves <palves@redhat.com>
6102
6103 PR breakpoints/17000
6104 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6105 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6106
1e2ccb61
BM
61072014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6108
6109 * gdb.base/subst.exp: Add tests to verify partial path matching
6110 output.
6111
c6ec5ab2
PA
61122014-06-03 Pedro Alves <palves@redhat.com>
6113
6114 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6115 target that doesn't use software single-stepping.
6116
835c559f
PA
61172014-06-03 Pedro Alves <palves@redhat.com>
6118
6119 PR breakpoints/17000
6120 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6121 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6122
06eb1586
DE
61232014-06-02 Doug Evans <xdje42@gmail.com>
6124
6125 * gdb.guile/scm-parameter.exp: New file.
6126
e698b8c4
DE
61272014-06-02 Doug Evans <xdje42@gmail.com>
6128
6129 * gdb.guile/scm-cmd.c: New file.
6130 * gdb.guile/scm-cmd.exp: New file.
6131
ded03782
DE
61322014-06-02 Doug Evans <xdje42@gmail.com>
6133
6134 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6135 pretty-printer lookup.
6136 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6137 (make-pp_s-printer): Call it.
6138 (make-pretty-printer-from-dict): New function.
6139 (lookup-pretty-printer-maker-from-dict): New function.
6140 (*pretty-printer*): Simplify.
6141 (make-objfile-pp_s-printer): New function.
6142 (install-objfile-pretty-printers!): New function.
6143 (make-progspace-pp_s-printer): New function.
6144 (install-progspace-pretty-printers!): New function.
6145 * gdb.guile/scm-progspace.c: New file.
6146 * gdb.guile/scm-progspace.exp: New file.
6147
41fac0cf
PA
61482014-06-02 Pedro Alves <palves@redhat.com>
6149
6150 * gdb.base/dprintf-bp-same-addr.c: New file.
6151 * gdb.base/dprintf-bp-same-addr.exp: New file.
6152
96ae5695
EBM
61532014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6154
6155 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6156 * gdb.arch/powerpc-power.s: Likewise.
6157
da02b3a8
JB
61582014-06-02 Joel Brobecker <brobecker@adacore.com>
6159
6160 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6161
c72b2e7b
YQ
61622014-06-01 Yao Qi <yao@codesourcery.com>
6163
6164 * gdb.base/watchpoint.exp (test_watch_location): Check null
6165 pointer can be dereferenced. If not, do the test, otherwise
6166 skip it.
6167
53e8a631
AB
61682014-05-30 Andrew Burgess <aburgess@broadcom.com>
6169
6170 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6171 results.
6172 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6173
938f0e2f
AB
61742014-05-30 Andrew Burgess <aburgess@broadcom.com>
6175
6176 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6177 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6178 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6179 * gdb.arch/amd64-invalid-stack-top.c: New file.
6180 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6181
9ba6657a
PA
61822014-05-30 Pedro Alves <palves@redhat.com>
6183
6184 PR breakpoints/17000
6185 * gdb.base/sss-bp-on-user-bp.c: New file.
6186 * gdb.base/sss-bp-on-user-bp.exp: New file.
6187
522c09bf
DB
61882014-05-30 David Blaikie <dblaikie@gmail.com>
6189
6190 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6191 gnu_inline semantics via attribute.
6192 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6193 source explicitly specifies the required semantics.
6194
bf4ef81e
MR
61952014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6196
6197 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6198
329ea579
PA
61992014-05-29 Pedro Alves <palves@redhat.com>
6200 Tom Tromey <tromey@redhat.com>
6201
6202 * gdb.base/async-shell.exp: Don't enable target-async.
6203 * gdb.base/async.exp
6204 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6205 parameter. Adjust.
6206 (top level): Don't test with "target-async".
6207 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6208 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6209 * gdb.base/inferior-died.exp: Don't enable target-async.
6210 * gdb.base/interrupt-noterm.exp: Likewise.
6211 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6212 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6213 * gdb.mi/mi-nonstop.exp: Likewise.
6214 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6215 * gdb.mi/mi-nsintrall.exp: Likewise.
6216 * gdb.mi/mi-nsmoribund.exp: Likewise.
6217 * gdb.mi/mi-nsthrexec.exp: Likewise.
6218 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6219 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6220 * gdb.python/py-evsignal.exp: Don't enable target-async.
6221 * gdb.python/py-evthreads.exp: Likewise.
6222 * gdb.python/py-prompt.exp: Likewise.
6223 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6224 * gdb.server/solib-list.exp: Don't enable target-async.
6225 * gdb.threads/thread-specific-bp.exp: Likewise.
6226 * lib/mi-support.exp: Adjust to use mi-async.
6227
fd664c91
PA
62282014-05-29 Pedro Alves <palves@redhat.com>
6229
6230 PR gdb/13860
6231 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6232 reason, even in sync mode.
6233
251bde03
PA
62342014-05-29 Pedro Alves <palves@redhat.com>
6235 Hui Zhu <hui@codesourcery.com>
6236
6237 PR PR15693
6238 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6239 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6240 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6241 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6242
7f3c0343
JB
62432014-05-28 Joel Brobecker <brobecker@adacore.com>
6244
6245 * config/monitor.exp (gdb_target_monitor): Replace use of
6246 "set remotebaud" by "set serial baud".
6247
b2715b27
AW
62482014-05-26 Andy Wingo <wingo@igalia.com>
6249
6250 * gdb.guile/scm-breakpoint.exp:
6251 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6252 properties instead of gdb-object-properties.
6253
498a4489
YQ
62542014-05-26 Yao Qi <yao@codesourcery.com>
6255
6256 * gdb.server/no-thread-db.exp: Specify source file name
6257 explicitly when setting a breakpoint.
6258
589fdceb
MM
62592014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6260
6261 * gdb.btrace/vdso.c: New.
6262 * gdb.btrace/vdso.exp: New.
6263
e9089e05
MM
62642014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6265
6266 * gdb.base/gcore.exp (capture_command_output): Move ...
6267 * lib/gdb.exp (capture_command_output): ... here.
6268
67b5c0c1
MM
62692014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6270
6271 * gdb.btrace/data.exp: Test memory access during btrace replay.
6272
a2199296
SM
62732014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6274
6275 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6276
17b2616c
PA
62772014-05-21 Pedro Alves <palves@redhat.com>
6278
6279 PR gdb/13860
6280 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6281 (top level): Test that output related to execution commands is
6282 sent to the console with CLI commands, but not with MI commands.
6283 Test that breakpoint events are always mirrored to the console.
6284 Also expect the new source line to be output after a "next" in
6285 async mode too. Make it a pass/fail test.
6286 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6287 output.
6288 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6289
5166082f
PA
62902014-05-21 Pedro Alves <palves@redhat.com>
6291
6292 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6293 Use them to test variations of "list" after reaching a breakpoint.
6294 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6295 Test "list" with listsize 10 after reaching a breakpoint.
6296 * gdb.python/python.exp (decode_line current location line
6297 number): Adjust expected line number.
6298
2f25d70f
SM
62992014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6300
6301 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6302 behavior for $args, pass it directly to "run".
6303
ff604a67
MR
63042014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6305
6306 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6307 30000 to 65536.
6308
6a3cb8e8
PA
63092014-05-21 Pedro Alves <palves@redhat.com>
6310
6311 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6312 auto-connect-native-target off".
6313 * gdb.base/auto-connect-native-target.c: New file.
6314 * gdb.base/auto-connect-native-target.exp: New file.
6315
4ebfc96e
PA
63162014-05-21 Pedro Alves <palves@redhat.com>
6317
6318 * gdb.base/default.exp: Test "target native" instead of "target
6319 child".
6320
36d46afb
MW
63212014-05-21 Mark Wielaard <mjw@redhat.com>
6322
6323 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6324
5876f503
JK
63252014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6326
6327 Fix TLS access for -static -pthread.
6328 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6329 <HAVE_TLS> (thread_function, main): Initialize it.
6330 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6331 Add clean_restart.
6332 <$have_tls != "">: Check TLSVAR.
6333
0256a6ac
PA
63342014-05-21 Pedro Alves <palves@redhat.com>
6335
6336 * gdb.base/dcache-line-read-error.c: New.
6337 * gdb.base/dcache-line-read-error.exp: New.
6338
936d2992
PA
63392014-05-20 Pedro Alves <palves@redhat.com>
6340
6341 * gdb.base/compare-sections.c: New file.
6342 * gdb.base/compare-sections.exp: New file.
6343
802e8e6d
PA
63442014-05-20 Pedro Alves <palves@redhat.com>
6345
6346 * gdb.base/break-idempotent.c: New file.
6347 * gdb.base/break-idempotent.exp: New file.
6348
e59fa00f
MM
63492014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6350
6351 * gdb.btrace/nohist.exp: New.
6352
8b696e31
YQ
63532014-05-20 Yao Qi <yao@codesourcery.com>
6354
6355 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6356 gdb.reverse directory and gdb_reverse_timeout exists in board
6357 setting.
6358 * README: Document gdb_reverse_timeout.
6359
73c9764f
YQ
63602014-05-20 Yao Qi <yao@codesourcery.com>
6361
6362 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6363 'test_file_name'. Treat args as a string instead of a list.
6364 (gdb_init): Rename argument 'args' by 'test_file_name'.
6365
f1f4348a
JK
63662014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6367
6368 * gdb.arch/powerpc-power.exp: New file.
6369 * gdb.arch/powerpc-power.s: New file.
6370
0dbe70ce
DE
63712014-05-16 Doug Evans <dje@google.com>
6372
6373 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
6374 * gdb.base/completion.exp: Check that all expected files exist
6375 before doing file completion.
0dbe70ce 6376
8d551b02
DE
63772014-05-16 Doug Evans <dje@google.com>
6378
6379 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6380 Update.
6381 (do_syscall_tests_without_xml): Update.
6382
73eb7709
PA
63832014-05-16 Pedro Alves <palves@redhat.com>
6384
6385 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6386 instead of "unknown output after running".
6387
3fae92fc
YQ
63882014-05-16 Yao Qi <yao@codesourcery.com>
6389
6390 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6391 file1.txt from host at the end.
6392 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6393
c2b2ccc5
DE
63942014-05-15 Doug Evans <dje@google.com>
6395
6396 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6397 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6398 loading file. Add test for TU lookup.
6399
8c217a4b
SM
64002014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6401
6402 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6403 calling "-exec-arguments" or "set args" before running the
6404 inferior.
6405
3deb39c6
SM
64062014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6407
6408 * lib/mi-support.exp (mi_expect_stop): Expect message for
6409 inferiors that exit with non-zero exit code.
6410
71a79f8c
YQ
64112014-05-14 Yao Qi <yao@codesourcery.com>
6412
6413 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6414 match absolute path on remote host.
6415 (test_file_list_exec_source_files): Remove "/" from the
6416 pattern.
6417
f23fcd46
YQ
64182014-05-14 Yao Qi <yao@codesourcery.com>
6419
6420 * boards/local-remote-host-notty.exp (${board}_file): New
6421 proc.
6422
9404b58f
KM
64232014-05-07 Kyle McMartin <kyle@redhat.com>
6424
6425 Pushed by Joel Brobecker <brobecker@adacore.com>.
6426 * gdb.arch/aarch64-atomic-inst.c: New file.
6427 * gdb.arch/aarch64-atomic-inst.exp: New file.
6428
5e45f04c
YQ
64292014-05-07 Yao Qi <yao@codesourcery.com>
6430
6431 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6432 in current context" too.
6433
c888a17d
KS
64342014-05-05 Keith Seitz <keiths@redhat.com>
6435
6436 * gdb.linespec/ls-dollar.exp: Add test for linespec
6437 file:convenience_variable.
6438
290a839c
YQ
64392014-05-05 Yao Qi <yao@codesourcery.com>
6440
6441 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6442 traceframes into tfile and ctf trace files. Read data from
6443 trace file and test collected data.
6444 (gdb_collect_locals_test): Likewise.
6445 (gdb_unavailable_registers_test): Likewise.
6446 (gdb_unavailable_floats): Likewise.
6447 (gdb_collect_globals_test): Likewise.
6448 (top-level): Append "ctf" to trace_file_targets if GDB
6449 supports.
6450
b5262cd0
YQ
64512014-05-05 Yao Qi <yao@codesourcery.com>
6452
6453 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6454 code to ...
6455 (gdb_collect_args_test_1): ... it. New proc.
6456 (gdb_collect_locals_test): Move some code to ...
6457 (gdb_collect_locals_test_1): ... it. New proc.
6458 (gdb_unavailable_registers_test): Move some code to ...
6459 (gdb_unavailable_registers_test_1): ... it. New proc.
6460 (gdb_unavailable_floats): Move some code to ...
6461 (gdb_unavailable_floats_1): ... it. New proc.
6462
30a1e6cc
SDJ
64632014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6464
6465 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6466 probes to test for bitness recognition.
6467 * gdb.arch/amd64-stap-optional-prefix.exp
6468 (test_probe_value_without_reg): New procedure.
6469 Add code to test for different kinds of bitness.
6470
f33da99a
SDJ
64712014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6472
6473 PR breakpoints/16889
6474 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6475 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6476
5b80f00d
PA
64772014-05-01 Pedro Alves <palves@redhat.com>
6478
6479 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6480 gdb_file_cmd if no file is specified.
6481 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6482 last_loaded_file to set the remote exec-file.
6483
f8c2a73c
PA
64842014-05-01 Pedro Alves <palves@redhat.com>
6485
6486 * boards/local-remote-host.exp: New file.
6487
be6e8ac7
PA
64882014-05-01 Pedro Alves <palves@redhat.com>
6489
6490 * boards/local-remote-host.exp: Rename to ...
6491 * boards/local-remote-host-notty.exp: ... this.
6492
cac0dc8f
JB
64932014-04-28 Joel Brobecker <brobecker@adacore.com>
6494
6495 * gdb.ada/dyn_arrayidx: New testcase.
6496
9730e6cc
YQ
64972014-04-26 Yao Qi <yao@codesourcery.com>
6498
6499 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6500 and compute the length of function main. Save it in
6501 $main_length.
6502 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6503 (top-level): Use gdb_compile to compile objects into
6504 executable and restart GDB. Remove invocation to
6505 prepare_for_testing.
6506
7ae1a6a6
PA
65072014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6508 Pedro Alves <palves@redhat.com>
6509
6510 PR server/16255
6511 * gdb.multi/multi-attach.c: New file.
6512 * gdb.multi/multi-attach.exp: New file.
6513
4082afcc
PA
65142014-04-25 Pedro Alves <palves@redhat.com>
6515
6516 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6517 user.
6518 (top level): Test that "set remote conditional-breakpoints-packet
6519 off" works as intended.
6520 * gdb.base/dprintf.exp: Test that "set remote
6521 breakpoint-commands-packet off" works as intended.
6522 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6523 New function.
6524 (top level): Call it.
6525 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6526 remote fast-tracepoints-packet off" works as intended.
6527 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6528 * lib/gdb.exp (gdb_is_target_remote): ... here.
6529
2abc3f8d
DB
65302014-04-24 David Blaikie <dblaikie@gmail.com>
6531
6532 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6533 ensure clang would not discard them.
6534 * gdb.base/gdbvars.c: Ditto.
6535 * gdb.base/memattr.c: Ditto.
6536 * gdb.base/whatis.c: Ditto.
6537 * gdb.python/py-prettyprint.c: Ditto.
6538 * gdb.trace/actions.c: Ditto.
6539 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6540 ensure clang would not discard it.
6541
bfd39632
DB
65422014-04-24 David Blaikie <dblaikie@gmail.com>
6543
6544 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6545 clang to emit the full definition of type required by the test
6546 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6547
22842ff6
DB
65482014-04-24 David Blaikie <dblaikie@gmail.com>
6549
6550 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6551 coax Clang into emitting the definition of the type.
6552 * gdb.cp/pr10728-x.h (y): Ditto.
6553 * gdb.cp/pr10728-y.cc (y): Ditto.
6554
c2e827ad
DB
65552014-04-24 David Blaikie <dblaikie@gmail.com>
6556
6557 * gdb.base/label.exp: XFAIL label related tests under Clang.
6558 * gdb.cp/cplabel.exp: Ditto.
6559 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6560 under Clang those using labels.
6561
4c2d33e7
YQ
65622014-04-25 Yao Qi <yao@codesourcery.com>
6563
6564 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6565 double_label.
6566 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6567 partial_label and double_label.
6568
56083b99
DB
65692014-04-24 David Blaikie <dblaikie@gmail.com>
6570
6571 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6572
25d4e99d
DB
65732014-04-24 David Blaikie <dblaikie@gmail.com>
6574
6575 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6576 of the function to work across GCC and Clang.
6577 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6578 pointer types (const void ** const V void **).
6579
01f9f808
MS
65802014-04-24 Michael Sturm <michael.sturm@mintel.com>
6581 Walfred Tedeschi <walfred.tedeschi@intel.com>
6582
6583 * Makefile.in (EXECUTABLES): Added i386-avx512.
6584 * gdb.arch/i386-avx512.c: New file.
6585 * gdb.arch/i386-avx512.exp: Likewise.
6586
4b48d439
KS
65872014-04-23 Keith Seitz <keiths@redhat.com>
6588
6589 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6590 (mi_make_breakpoint_table): New procedure.
6591 (mi_create_breakpoint): Use mi_make_breakpoint
6592 and return the result.
6593 (mi_make_breakpoint): New procedure.
6594 (mi_build_kv_pairs): New procedure.
6595
6596 * gdb.mi/mi-break.exp: Remove unused globals,
6597 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6598 All callers updated.
6599 * gdb.mi/mi-dprintf.exp: Use variable to track command
6600 number.
6601 Update all callers of mi_create_breakpoint and use
6602 mi_make_breakpoint_table.
6603 Remove any unused global variables.
6604 * gdb.mi/mi-nonstop.exp: Likewise.
6605 * gdb.mi/mi-nsintrall.exp: Likewise.
6606 * gdb.mi/mi-nsmoribund.exp: Likewise.
6607 * gdb.mi/mi-nsthrexec.exp: Likewise.
6608 * gdb.mi/mi-reverse.exp: Likewise.
6609 * gdb.mi/mi-simplerun.exp: Likewise.
6610 * gdb.mi/mi-stepn.exp: Likewise.
6611 * gdb.mi/mi-syn-frame.exp: Likewise.
6612 * gdb.mi/mi-until.exp: Likewise.
6613 * gdb.mi/mi-var-cp.exp: Likewise.
6614 * gdb.mi/mi-var-display.exp: Likewise.
6615 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6616 * gdb.mi/mi2-var-child.exp: Likewise.
6617 * gdb.mi/mi-vla-c99.exp: Likewise.
6618 * lib/mi-support.exp: Likewise.
6619
6620 From Ian Lance Taylor <iant@cygnus.com>:
6621 * lib/gdb.exp (parse_args): New procedure.
6622
08351840
PA
66232014-04-23 Pedro Alves <palves@redhat.com>
6624
6625 * gdb.base/break-unload-file.c: New file.
6626 * gdb.base/break-unload-file.exp: New file.
6627 * gdb.base/sym-file-lib.c (baz): New function.
6628 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6629 field.
6630 (load): Store the segment's mapped size.
6631 (unload): New function.
6632 (unload_shlib): New function.
6633 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6634 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6635 set a breakpoint at baz, and call it.
6636 * gdb.base/sym-file.exp: New tests for stale breakpoint
6637 instructions.
6638
076855f9
PA
66392014-04-23 Pedro Alves <palves@redhat.com>
6640
6641 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6642 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6643 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6644 * gdb.base/hbreak-unmapped.c: New file.
6645 * gdb.base/hbreak-unmapped.exp: New file.
6646 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6647 * lib/gdb.exp (gdb_is_target_remote): ... here.
6648
483805cf
PA
66492014-04-22 Pedro Alves <palves@redhat.com>
6650
6651 * gdb.base/consecutive-step-over.c: New file.
6652 * gdb.base/consecutive-step-over.exp: New file.
6653
06d97543
PA
66542014-04-22 Pedro Alves <palves@redhat.com>
6655
6656 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6657 instead of send_gdb/gdb_expect.
6658
b4429ea2
YQ
66592014-04-22 Yao Qi <yao@codesourcery.com>
6660
6661 * lib/trace-support.exp (generate_tracefile): New procedure.
6662 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6663 return 0.
6664 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6665 if generate_tracefile returns 1.
6666
51d48146
PA
66672014-04-18 Tom Tromey <palves@redhat.com>
6668 Pedro alves <tromey@redhat.com>
6669
6670 PR backtrace/15558
6671 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6672 with a backtrace limit.
6673 * gdb.python/py-frame-inline.exp: Test running to an inline
6674 function with a backtrace limit, and printing the newest frame.
6675 * gdb.python/py-frame-inline.c (main): Call f.
6676
bd1dce5f
MS
66772014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6678
6679 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6680
40d1a503
MS
66812014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6682
6683 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6684 Drop prefix from unsupported source file path.
6685
389b98f7
YQ
66862014-04-17 Yao Qi <yao@codesourcery.com>
6687
6688 * lib/gdb.exp (with_target_charset): New proc.
6689 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6690 with_target_charset.
6691 (test_print_strings): Likewise.
6692 (test_repeat_bytes): Likewise.
6693 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6694 for some tests.
6695
22869d73
KS
66962014-04-16 Keith Seitz <keiths@redhat.com>
6697
6698 PR gdb/15827
6699 * gdb.dwarf2/corrupt.c: New file.
6700 * gdb.dwarf2/corrupt.exp: New file.
6701
c4f87ca6
KS
67022014-04-16 Keith Seitz <keiths@redhat.com>
6703
6704 PR c++/16597
6705 * gdb.cp/namelessclass.cc: New file.
6706 * gdb.cp/namelessclass.exp: New file.
6707 * gdb.cp/namelessclass.S: New file.
6708
ab19de87
DE
67092014-04-16 Doug Evans <dje@google.com>
6710
6711 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6712 Add comment.
6713 (gdbserver_default_get_comm_port): New function.
6714 (gdbserver_start): Check if board file provided
6715 "gdbserver,get_comm_port" and use it if so.
6716 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6717 (gdb,socketport): Set to "stdio".
6718 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6719 (stdio_gdbserver_template): Delete.
6720 (${board}_get_remote_address): Update.
6721 (${board}_build_remote_cmd): Delete.
6722 (${board}_get_comm_port): New function.
6723 (${board}_spawn): Update.
6724 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6725 Delete.
6726 (${board}_get_remote_address): Update.
6727 (${board}_get_comm_port): New function.
6728
fc98a809
AB
67292014-04-16 Andrew Burgess <aburgess@broadcom.com>
6730
6731 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6732 appearing in any order.
6733
87fd9e6e
DE
67342014-04-15 Doug Evans <dje@google.com>
6735
6736 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6737 uninitialized value of "description".
6738
099fc3ea
KS
67392014-04-15 Keith Seitz <keiths@redhat.com>
6740
6741 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6742 Remove unused globals.
6743 (test_running_the_program): Likewise.
6744 (test_controlled_execution): Likewise.
6745 (test_controlling_breakpoints): Likewise.
6746 (test_program_termination): Likewise.
6747
5da151d4
KS
67482014-04-15 Keith Seitz <keiths@redhat.com>
6749
6750 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6751 unused globals.
6752 (test_rbreak_creation_and_listing): Likewise.
6753 (test_ignore_count): Likewise.
6754 (test_error): Likewise.
6755
35e5d2f0
PA
67562014-04-15 Pedro Alves <palves@redhat.com>
6757
6758 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6759 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6760 sym-file-loader.c.
6761 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6762 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6763 to sym-file-loader.c.
6764 (struct library): Forward declare.
6765 (load_shlib, lookup_function): Change prototypes.
6766 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6767 (translate_offset): Remove declarations.
6768 (get_text_addr): New declaration.
6769 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
6770 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
6771 sym-file-loader.h.
6772 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6773 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6774 here from sym-file-loader.h.
6775 (struct library): New structure.
6776 (load_shlib, lookup_function): Change prototypes and adjust to
6777 work with a struct library.
6778 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6779 (translate_offset): Make static.
6780 (get_text_addr): New function.
6781 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
6782
eb4c1710
PA
67832014-04-15 Pedro Alves <palves@redhat.com>
6784
6785 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
6786
2d1baf52
PA
67872014-04-15 Pedro Alves <palves@redhat.com>
6788
6789 * gdb.base/sym-file-loader.c: Include <limits.h>.
6790 (SELF_LINK): New define.
6791 (get_origin): New function.
6792 (load_shlib): Use it.
6793 * gdb.base/sym-file.exp: Don't early return if the target is
6794 remote. Use runto_main, and issue fail is that fails. Use
6795 gdb_load_shlibs.
6796 (shlib_name): Delete.
6797 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
6798
7dd6df01
PA
67992014-04-15 Pedro Alves <palves@redhat.com>
6800
6801 * gdb.base/sym-file.exp: Remove regex characters from test
6802 message. Don't refer to breakpoint numbers in test messages.
6803
b50c8614
KS
68042014-04-14 Keith Seitz <keiths@redhat.com>
6805
6806 PR c++/16253
6807 * gdb.cp/var-tag.cc: New file.
6808 * gdb.cp/var-tag.exp: New file.
6809 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6810 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6811 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6812 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6813
3d567982
TT
68142014-04-14 Tom Tromey <tromey@redhat.com>
6815
6816 * gdb.cp/classes.exp (test_enums): Handle underlying type.
6817 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
6818 type.
6819 * gdb.cp/enum-class.exp: New file.
6820 * gdb.cp/enum-class.cc: New file.
6821
0626fc76
TT
68222014-04-14 Tom Tromey <tromey@redhat.com>
6823
6824 * gdb.dwarf2/enum-type.exp: New file.
6825
dca325b3
SA
68262014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6827
6828 * gdb.mi/mi-vla-c99.exp: New file.
6829 * gdb.mi/vla.c: New file.
6830
5854b38a
SA
68312014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6832
6833 * gdb.base/vla-datatypes.c: New file.
6834 * gdb.base/vla-datatypes.exp: New file.
6835
463bb957
SA
68362014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6837
6838 * gdb.base/vla-ptr.c: New file.
6839 * gdb.base/vla-ptr.exp: New file.
6840
3dd170be
SA
68412014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6842
6843 * gdb.dwarf2/count.exp: New file.
6844
5ecaaa66
SA
68452014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6846
6847 * gdb.base/vla-sideeffect.c: New file.
6848 * gdb.base/vla-sideeffect.exp: New file.
6849
41f1ada5
DB
68502014-04-14 David Blaikie <dblaikie@gmail.com>
6851
6852 * gdb.mi/non-stop.c: Add return value for non-void function return
6853 statement.
6854 * gdb.threads/staticthreads.c: Ditto.
6855
0be03e84
DE
68562014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6857 Doug Evans <xdje42@gmail.com>
6858
6859 * gdb.guile/scm-value.c: Improve test case.
6860 * gdb.guile/scm-value.exp: Add new test.
6861
f180a1fb
DB
68622014-04-11 David Blaikie <dblaikie@gmail.com>
6863
6864 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
6865 override Clang's default.
6866
6b662e19
JB
68672014-04-11 Joel Brobecker <brobecker@adacore.com>
6868
6869 Revert the following changes (regressions):
6870
6871 * gdb.base/vla-sideeffect.c: New file.
6872 * gdb.base/vla-sideeffect.exp: New file.
6873
6874 * gdb.dwarf2/count.exp: New file.
6875
6876 * gdb.base/vla-multi.c: New file.
6877 * gdb.base/vla-multi.exp: New file.
6878
6879 * gdb.base/vla-ptr.c: New file.
6880 * gdb.base/vla-ptr.exp: New file.
6881
6882 * gdb.base/vla-datatypes.c: New file.
6883 * gdb.base/vla-datatypes.exp: New file.
6884
6885 * gdb.mi/mi-vla-c99.exp: New file.
6886 * gdb.mi/vla.c: New file.
6887
245a5f0b
KS
68882014-04-11 Keith Seitz <keiths@redhat.com>
6889
6890 PR c++/16675
6891 * gdb.cp/cpsizeof.exp: New file.
6892 * gdb.cp/cpsizeof.cc: New file.
6893
58a84dcf
SA
68942014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6895
191a8a90
JB
6896 * gdb.mi/mi-vla-c99.exp: New file.
6897 * gdb.mi/vla.c: New file.
58a84dcf 6898
c8655f75
SA
68992014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6900
6901 * gdb.base/vla-datatypes.c: New file.
6902 * gdb.base/vla-datatypes.exp: New file.
6903
024e13b4
SA
69042014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6905
6906 * gdb.base/vla-ptr.c: New file.
6907 * gdb.base/vla-ptr.exp: New file.
6908
1a237e0e
SA
69092014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6910
6911 * gdb.base/vla-multi.c: New file.
6912 * gdb.base/vla-multi.exp: New file.
6913
504f3432
SA
69142014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6915
6916 * gdb.dwarf2/count.exp: New file.
6917
3bce8237
SA
69182014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6919
191a8a90
JB
6920 * gdb.base/vla-sideeffect.c: New file.
6921 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 6922
322f9c21
YQ
69232014-04-11 Yao Qi <yao@codesourcery.com>
6924
6925 * gdb.base/completion.exp: Check file exists before running tests
6926 on file completion.
6927
d708bcd1
PA
69282014-04-10 Pedro Alves <palves@redhat.com>
6929
6930 * gdb.base/cond-eval-mode.c: New file.
6931 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
6932 prepare_for_testing to build the new file. Check result of
6933 runto_main.
6934 (test_break, test_watch): New procedures.
6935 (top level): Use them.
6936
ae1d2761
PM
69372014-04-08 Pierre Muller <muller@sourceware.org>
6938
6939 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
6940 Ctrl-V use for mingw hosts.
6941
7af389b8
SC
69422014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6943
6944 * gdb.python/py-value.c: Improve test case.
6945 * gdb.python/py-value.exp: Add new test.
6946
5e703181
DE
69472014-04-07 David Blaikie <dblaikie@gmail.com>
6948
6949 * lib/compiler.c: Identify the clang compiler.
6950 * lib/compiler.cc: Ditto.
6951
9810b410
YQ
69522014-04-03 Yao Qi <yao@codesourcery.com>
6953
6954 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
6955
98d1b8dc
AB
69562014-04-01 Anton Blanchard <anton@samba.org>
6957
6958 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
6959 messages unique.
6960
3114cea1
AB
69612014-04-01 Anton Blanchard <anton@samba.org>
6962
6963 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
6964 prepare_for_testing.
6965
62f7182c
AB
69662014-04-01 Anton Blanchard <anton@samba.org>
6967
6968 * gdb.arch/ppc64-atomic-inst.c: Remove.
6969 * gdb.arch/ppc64-atomic-inst.S: New file.
6970 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
6971
770e7fc7
DE
69722014-03-31 Doug Evans <dje@google.com>
6973
6974 * gdb.base/print-symbol-loading-lib.c: New file.
6975 * gdb.base/print-symbol-loading-main.c: New file.
6976 * gdb.base/print-symbol-loading.exp: New file.
6977
46e2bafa
YQ
69782014-03-31 Yao Qi <yao@codesourcery.com>
6979
6980 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
6981
8776cfe9
JB
69822014-03-28 Joel Brobecker <brobecker@adacore.com>
6983
6984 * gdb.ada/mi_dyn_arr: New testcase.
6985
5d1ef361
DE
69862014-03-27 Doug Evans <dje@google.com>
6987
6988 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
6989
b5bee914
YQ
69902014-03-27 Yao Qi <yao@codesourcery.com>
6991
6992 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
6993 if target is nios2-*-*.
6994
0d4d0e77
YQ
69952014-03-26 Yao Qi <yao@codesourcery.com>
6996
6997 * lib/gdb.exp (readline_is_used): New proc.
6998 * gdb.base/completion.exp: Move tests on command complete up.
6999 Skip the rest of tests if readline is not used.
7000 * gdb.ada/complete.exp: Skp the test if readline is not
7001 used.
7002 * gdb.base/filesym.exp: Likewise.
7003 * gdb.base/macscp.exp: Likewise.
7004 * gdb.base/readline-ask.exp: Likewise.
7005 * gdb.base/readline.exp: Likewise.
7006 * gdb.python/py-cmd.exp: Likewise.
7007 * gdb.trace/tfile.exp: Likewise.
7008
29361eee
YQ
70092014-03-26 Yao Qi <yao@codesourcery.com>
7010
7011 * gdb.base/macscp.exp: Fix code format issues.
7012
bc9a5525
UW
70132014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7014
7015 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7016 * gdb.asm/powerpc64le.inc: New file.
7017
d3839ede
PA
70182014-03-25 Pedro Alves <palves@redhat.com>
7019 Doug Evans <dje@google.com>
7020
7021 * gdb.base/source-execution.c: New file.
7022 * gdb.base/source-execution.exp: New file.
7023 * gdb.base/source-execution.gdb: New file.
7024
01672a57
DE
70252014-03-24 Doug Evans <dje@google.com>
7026
7027 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7028 using fission.
7029
88bbeca9
HZ
70302014-03-24 Hui Zhu <hui@codesourcery.com>
7031 Pedro Alves <palves@redhat.com>
7032
7033 PR breakpoints/16101
7034 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7035 test pass/fail messages. Detect missing support for dprintf when
7036 breakpoints are actually inserted.
7037 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7038 breakpoints are actually inserted.
7039 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7040 fails.
7041
d2348791
JK
70422014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7043
7044 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7045
feef67ab
DE
70462014-03-22 Doug Evans <xdje42@gmail.com>
7047
7048 * gdb.python/python.exp (python not supported): Verify multi-line
7049 python command issues an error.
25d743f9 7050 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 7051 guile command issues an error.
feef67ab 7052
ecebef6a
MR
70532014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7054
7055 * gdb.threads/thread-specific.exp: Handle the lack of usable
7056 $this_breakpoint and $this_thread.
7057
ccdd1909
HZ
70582014-03-21 Hui Zhu <hui@codesourcery.com>
7059
7060 * gdb.base/attach.exp (do_command_attach_tests): New.
7061
beb460e8
PA
70622014-03-20 Tom Tromey <tromey@redhat.com>
7063 Pedro Alves <palves@redhat.com>
7064
7065 PR cli/15718
7066 * gdb.base/condbreak-call-false.c: New file.
7067 * gdb.base/condbreak-call-false.exp: New file.
7068
40acf43a
PA
70692014-03-20 Pedro Alves <palves@redhat.com>
7070
7071 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7072 Delete.
7073 (block_signals, unblock_signals): Delete.
7074 (child_function_2, main): Remove references to deleted variable
7075 and functions.
7076
9f5e1e02
PA
70772014-03-20 Pedro Alves <palves@redhat.com>
7078
7079 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7080 Use pthread_kill to signal thread 2.
7081 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7082 Adjust to make the test send itself a signal rather than using the
7083 host's "kill" command.
7084
99619bea
PA
70852014-03-20 Pedro Alves <palves@redhat.com>
7086
7087 * gdb.threads/multiple-step-overs.c: New file.
7088 * gdb.threads/multiple-step-overs.exp: New file.
7089 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7090 Adjust expected infrun debug output.
7091
2adfaa28
PA
70922014-03-20 Pedro Alves <palves@redhat.com>
7093
7094 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7095 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7096
31e77af2
PA
70972014-03-20 Pedro Alves <palves@redhat.com>
7098
7099 PR breakpoints/7143
7100 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7101 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7102 of gdb_test_multiple.
7103 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7104 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7105
b9f437de
PA
71062014-03-20 Pedro Alves <palves@redhat.com>
7107
7108 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7109 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7110
05adc73e
PA
71112014-03-19 Pedro Alves <palves@redhat.com>
7112
7113 * gdb.base/async.exp: Remove early return.
7114
6048b950
PA
71152014-03-19 Pedro Alves <palves@redhat.com>
7116
7117 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7118
8bcfb00a
PA
71192014-03-19 Pedro Alves <palves@redhat.com>
7120
7121 * gdb.base/async.exp (test_background): Expect \r\n after
7122 "completed." in the fail pattern.
7123
884e37dc
PA
71242014-03-19 Pedro Alves <palves@redhat.com>
7125
7126 * gdb.base/async.exp (test_background): New procedure.
7127 Use it for all background execution command tests.
7128
148e57e2
PA
71292014-03-19 Pedro Alves <palves@redhat.com>
7130
7131 * gdb.base/async.exp: Use prepare_for_testing.
7132
f48088c7
PA
71332014-03-19 Pedro Alves <palves@redhat.com>
7134
7135 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7136 the same line.
7137
e2f6c966
PA
71382014-03-19 Pedro Alves <palves@redhat.com>
7139
7140 * gdb.base/async.c (main): Add "jump here" and "until here" line
7141 marker comments.
7142 * gdb.base/async.exp (jump_here): New global.
7143 (jump& test): Use it.
7144 (until_here): New global.
7145 (until& test): Use it.
7146
c30568d4
PA
71472014-03-19 Pedro Alves <palves@redhat.com>
7148
7149 * gdb.base/async.exp: Don't frob gdb_protocol.
7150
0172b6a7
DE
71512014-03-18 Doug Evans <xdje42@gmail.com>
7152
7153 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7154 Fix spelling of exec-done-display.
7155
06c868a8
JK
71562014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7157
7158 PR gdb/15358
7159 * gdb.base/gdb-sigterm.c: New file.
7160 * gdb.base/gdb-sigterm.exp: New file.
7161
0c7e1a46
PA
71622014-03-18 Pedro Alves <palves@redhat.com>
7163
7164 PR gdb/13860
7165 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7166 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7167 solib-event.
7168
f7c77d93
JB
71692014-03-17 Joel Brobecker <brobecker@adacore.com>
7170
7171 * gdb.ada/pckd_arr_ren: New testcase.
7172
5a1e8c7a
DE
71732014-03-13 Doug Evans <xdje42@gmail.com>
7174
7175 PR guile/16612
7176 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7177 collect after discarding symbols.
7178
350e1a76
DE
71792014-03-13 Ludovic Courtès <ludo@gnu.org>
7180 Doug Evans <xdje42@gmail.com>
7181
7182 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7183 to history survives a gc.
7184
a69900ae
PA
71852014-03-13 Pedro Alves <palves@redhat.com>
7186
7187 * gdb.base/default.exp: Don't test "target procfs".
7188
5db9f0bd
PA
71892014-03-13 Pedro Alves <palves@redhat.com>
7190
7191 * gdb.base/default.exp: Update "target child" and "target procfs"
7192 tests to not expect "Unix".
7193
b3ccfe11
TT
71942014-03-12 Tom Tromey <tromey@redhat.com>
7195
7196 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7197 New procs. Add target-async tests.
7198 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7199 Add target-async tests.
7200
646f4417
AA
72012014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7202
7203 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7204 'func_start' and 'func_end' for the beginning and end of the
7205 function code, respectively.
7206 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7207 'func_end' instead of 'func' and 'main'.
7208
288c211f
AA
72092014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7210
7211 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7212 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7213 generate the debug info assembler source.
7214
e0c0f156
AA
72152014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7216
7217 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7218 * gdb.dwarf2/arr-subrange.exp: Likewise.
7219 * gdb.dwarf2/dwz.exp: Likewise.
7220 * gdb.dwarf2/method-ptr.exp: Likewise.
7221 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7222 * gdb.dwarf2/subrange.exp: Likewise.
7223 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7224 * gdb.dwarf2/implptrpiece.exp: Likewise.
7225 * gdb.dwarf2/nostaticblock.exp: Likewise.
7226
0e5c4555
AA
72272014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7228
7229 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7230 directory to absolute path name arguments.
7231
5ec18f2b
JG
72322014-03-10 Joel Brobecker <brobecker@adacore.com>
7233
7234 * gdb.ada/tagged_access: New testcase.
7235
847fc4f2
MM
72362014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7237
7238 * gdb.btrace/data.exp: Update expected output.
7239
cc3da688
YQ
72402014-03-06 Yao Qi <yao@codesourcery.com>
7241
7242 * gdb.trace/pr16508.exp: New file.
7243
0f26cec1
PA
72442014-03-05 Pedro Alves <palves@redhat.com>
7245
7246 PR gdb/16575
7247 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7248 procedure.
7249 (top level): Adjust to use it. Add tests that exercise breakpoint
7250 interaction with the code-cache.
7251
7a5a839f
LC
72522014-02-26 Ludovic Courtès <ludo@gnu.org>
7253
7254 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7255 test for 'history-append!'.
7256
31aa7e4e
JB
72572014-02-26 Joel Brobecker <brobecker@adacore.com>
7258
7259 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7260 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7261 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7262 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7263 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7264 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7265
1b588015
JB
72662014-02-26 Joel Brobecker <brobecker@adacore.com>
7267
7268 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7269 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7270 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7271
55426c9d
JB
72722014-02-26 Joel Brobecker <brobecker@adacore.com>
7273
7274 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7275
dc53a7ad
JB
72762014-02-26 Joel Brobecker <brobecker@adacore.com>
7277
7278 * gdb.dwarf2/arr-stride.c: New file.
7279 * gdb.dwarf2/arr-stride.exp: New file.
7280
12ab52e9
PA
72812014-02-26 Pedro Alves <palves@redhat.com>
7282
7283 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7284 that won't ever trigger. Make sure that GDB reports the correct
7285 breakpoint that caused the stop.
7286
849c862e
JK
72872014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7288
7289 PR gdb/16626
7290 * gdb.base/auto-load-script: New file.
7291 * gdb.base/auto-load.c: New file.
7292 * gdb.base/auto-load.exp: New file.
7293
71b7d793
JK
7294 PR gdb/16626
7295 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7296
e2f0d509
JK
72972014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7298
7299 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7300 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7301
50cc37c8
DE
73022014-02-24 Doug Evans <dje@google.com>
7303
7304 * lib/gdb.exp (run_on_host): Log error output if program fails.
7305
ea4758f2
PA
73062014-02-21 Pedro Alves <palves@redhat.com>
7307
7308 * gdb.threads/step-after-sr-lock.c: Rename to ...
7309 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7310 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7311 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7312 ... this.
7313
d7b30f67
SDJ
73142014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7315
7316 PR tdep/16397
7317 * gdb.arch/amd64-stap-special-operands.exp: New file.
7318 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7319 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7320 * gdb.arch/amd64-stap-triplet.S: Likewise.
7321 * gdb.arch/amd64-stap-triplet.c: Likewise.
7322
83deb43f
JB
73232014-02-20 Joel Brobecker <brobecker@adacore.com>
7324
7325 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7326 in .section pseudo-op.
7327
adde2bff
DE
73282014-02-20 lin zuojian <manjian2006@gmail.com>
7329 Joel Brobecker <brobecker@adacore.com>
7330 Doug Evans <xdje42@gmail.com>
7331
7332 PR symtab/16581
7333 * gdb.dwarf2/dw2-icycle.S: New file.
7334 * gdb.dwarf2/dw2-icycle.c: New file.
7335 * gdb.dwarf2/dw2-icycle.exp: New file.
7336
f7bd0f78
SC
73372014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7338
7339 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7340 operations on gdb.Value objects.
7341 * gdb.python/py-value-cc.exp: Add new test to test operations on
7342 gdb.Value objects.
7343
c17ef0d5
DE
73442014-02-18 Doug Evans <dje@google.com>
7345
7346 * Makefile.in (TESTS): New variable.
7347 (expanded_tests, expanded_tests_or_none): New variables
7348 (check-single): Pass $(expanded_tests_or_none) to runtest.
7349 (check-parallel): Only run tests in $(TESTS) if non-empty.
7350 (check/no-matching-tests-found): New rule.
7351 * README: Document TESTS makefile variable.
7352
5dd3176f
DE
73532014-02-18 Doug Evans <dje@google.com>
7354
7355 * Makefile.in (check-parallel): rm -rf outputs temp.
7356
0b10be4f
JK
73572014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7358
7359 Fix "ERROR: no fileid for" in the testsuite.
7360 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7361
85f224e7
DE
73622014-02-12 Doug Evans <dje@google.com>
7363
7364 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7365 (MISCELLANEOUS): New variable.
7366 (clean): rm -rf $(MISCELLANEOUS).
7367 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7368 dwp live in the same directory as symlinks, with each symlink pointed
7369 to a differently named file in a different directory.
7370
149b30ff
DE
73712014-02-11 Doug Evans <dje@google.com>
7372
7373 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7374 of Tcl file commands.
7375
1dfdac32
MK
73762014-02-10 Mark Kettenis <kettenis@gnu.org>
7377
7378 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7379 "kill -SIGUSR1 -1".
7380
aa4fb036
JB
73812014-02-10 Joel Brobecker <brobecker@adacore.com>
7382
7383 * gdb.ada/tick_length_array_enum_idx: New testcase.
7384
ed3ef339
DE
73852014-02-10 Doug Evans <xdje42@gmail.com>
7386
7387 * configure.ac (AC_OUTPUT): Add gdb.guile.
7388 * configure: Regenerate.
7389 * lib/gdb-guile.exp: New file.
7390 * lib/gdb.exp (get_target_charset): New function.
7391 * gdb.base/help.exp: Update expected output from "apropos apropos".
7392 * gdb.guile/Makefile.in: New file.
7393 * gdb.guile/guile.exp: New file.
7394 * gdb.guile/scm-arch.c: New file.
7395 * gdb.guile/scm-arch.exp: New file.
7396 * gdb.guile/scm-block.c: New file.
7397 * gdb.guile/scm-block.exp: New file.
7398 * gdb.guile/scm-breakpoint.c: New file.
7399 * gdb.guile/scm-breakpoint.exp: New file.
7400 * gdb.guile/scm-disasm.c: New file.
7401 * gdb.guile/scm-disasm.exp: New file.
7402 * gdb.guile/scm-equal.c: New file.
7403 * gdb.guile/scm-equal.exp: New file.
7404 * gdb.guile/scm-error.exp: New file.
7405 * gdb.guile/scm-error.scm: New file.
7406 * gdb.guile/scm-frame-args.c: New file.
7407 * gdb.guile/scm-frame-args.exp: New file.
7408 * gdb.guile/scm-frame-args.scm: New file.
7409 * gdb.guile/scm-frame-inline.c: New file.
7410 * gdb.guile/scm-frame-inline.exp: New file.
7411 * gdb.guile/scm-frame.c: New file.
7412 * gdb.guile/scm-frame.exp: New file.
7413 * gdb.guile/scm-generics.exp: New file.
7414 * gdb.guile/scm-gsmob.exp: New file.
7415 * gdb.guile/scm-iterator.c: New file.
7416 * gdb.guile/scm-iterator.exp: New file.
7417 * gdb.guile/scm-math.c: New file.
7418 * gdb.guile/scm-math.exp: New file.
7419 * gdb.guile/scm-objfile-script-gdb.in: New file.
7420 * gdb.guile/scm-objfile-script.c: New file.
7421 * gdb.guile/scm-objfile-script.exp: New file.
7422 * gdb.guile/scm-objfile.c: New file.
7423 * gdb.guile/scm-objfile.exp: New file.
7424 * gdb.guile/scm-ports.exp: New file.
7425 * gdb.guile/scm-pretty-print.c: New file.
7426 * gdb.guile/scm-pretty-print.exp: New file.
7427 * gdb.guile/scm-pretty-print.scm: New file.
7428 * gdb.guile/scm-section-script.c: New file.
7429 * gdb.guile/scm-section-script.exp: New file.
7430 * gdb.guile/scm-section-script.scm: New file.
7431 * gdb.guile/scm-symbol.c: New file.
7432 * gdb.guile/scm-symbol.exp: New file.
7433 * gdb.guile/scm-symtab-2.c: New file.
7434 * gdb.guile/scm-symtab.c: New file.
7435 * gdb.guile/scm-symtab.exp: New file.
7436 * gdb.guile/scm-type.c: New file.
7437 * gdb.guile/scm-type.exp: New file.
7438 * gdb.guile/scm-value-cc.cc: New file.
7439 * gdb.guile/scm-value-cc.exp: New file.
7440 * gdb.guile/scm-value.c: New file.
7441 * gdb.guile/scm-value.exp: New file.
7442 * gdb.guile/source2.scm: New file.
7443 * gdb.guile/types-module.cc: New file.
7444 * gdb.guile/types-module.exp: New file.
7445
7026a7c1
YQ
74462014-02-10 Yao Qi <yao@codesourcery.com>
7447
7448 PR testsuite/16543
7449 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7450 * configure: Regenerated.
7451 * Makefile.in: New file.
7452
6c466447
AS
74532014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7454
7455 * gdb.python/py-framefilter.exp: Fix typo.
7456
6e854735
YQ
74572014-02-08 Yao Qi <yao@codesourcery.com>
7458
7459 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7460 that no =breakpoint-modified is emitted when breakpoints are
7461 modified through MI commands.
7462
d137e6dc
PA
74632014-02-07 Pedro Alves <pedro@codesourcery.com>
7464 Pedro Alves <palves@redhat.com>
7465
7466 * gdb.threads/step-after-sr-lock.c: New file.
7467 * gdb.threads/step-after-sr-lock.exp: New file.
7468
b5ee5a50
PA
74692014-02-07 Pedro Alves <palves@redhat.com>
7470
7471 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7472
3c77faf3
JK
74732014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7474
7475 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7476 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7477
6dddc817
DE
74782014-02-06 Doug Evans <xdje42@gmail.com>
7479
7480 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7481 output.
7482
7483 * gdb.gdb/python-interrupts.exp: New file.
7484
de7b2893
YQ
74852014-02-05 Yao Qi <yao@codesourcery.com>
7486
7487 * gdb.trace/report.exp (use_collected_data): Test the output
7488 of "info threads" and "info inferiors".
7489
66d032ac
YQ
74902014-02-05 Yao Qi <yao@codesourcery.com>
7491
7492 Revert this patch:
7493
7494 2013-05-24 Yao Qi <yao@codesourcery.com>
7495
7496 * gdb.trace/tfile.exp: Test inferior and thread.
7497
591a12a1
UW
74982014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7499
7500 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7501 on a function.
7502 * gdb.base/step-bt.c: Call hello via function pointer to make
7503 sure its first instruction is executed on powerpc64le-linux.
7504
0ff3e01f
UW
75052014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7506
7507 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7508
084ee545
UW
75092014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7510
7511 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7512 of the test patterns for use on little-endian systems.
7513
6ed14ff3
UW
75142014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7515
7516 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7517 (decimal_vector): Fix for little-endian.
7518
401e27fd
JM
75192014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7520
7521 * gdb.arch/sparc-sysstep.exp: New file.
7522 * gdb.arch/sparc-sysstep.c: Likewise.
7523
7524 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7525
8b924729
EBM
75262014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7527
7528 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7529
fb151210
JB
75302014-01-23 Tom Tromey <tromey@redhat.com>
7531
7532 * gdb.ada/array_char_idx: New testcase.
7533
0740f8d8
TT
75342014-01-23 Tom Tromey <tromey@redhat.com>
7535
7536 PR python/16487:
7537 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7538 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7539 classes.
7540
21909fa1
TT
75412014-01-23 Tom Tromey <tromey@redhat.com>
7542
7543 PR python/16491:
7544 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7545 string from an inferior frame.
7546 * gdb.python/py-framefilter-mi.exp: Update.
7547
87ce2a04
DE
75482014-01-22 Doug Evans <dje@google.com>
7549
7550 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7551
237b092b
AA
75522014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7553
7554 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7555
d674a709
AA
75562014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7557
7558 * gdb.trace/entry-values.exp: Remove excess space character from
7559 regex patterns. Handle s390 call instruction.
7560
20fa3390
AA
75612014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7562
7563 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7564 define "*_start" label. Make "name" static.
7565 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7566 ${name} by references to ${name}_start.
7567
78466714
AA
75682014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7569
7570 * gdb.base/info-macros.exp: Remove "debug" from the compile
7571 options.
7572
ec9f644a
IB
75732014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7574
7575 * gdb.dlang/demangle.exp: New file.
7576
94b1b47e
IB
75772014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7578
7579 * gdb.dlang/primitive-types.exp: New file.
7580
7f420862
IB
75812014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7582
7583 * configure.ac: Create gdb.dlang/Makefile.
7584 * configure: Regenerate.
7585 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7586 * gdb.dlang/Makefile.in: New file.
7587 * lib/d-support.exp: New file.
7588 * lib/gdb.exp (skip_d_tests): New proc.
7589
52834460
MM
75902014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7591
7592 * gdb.btrace/delta.exp: Check reverse stepi.
7593 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7594 * gdb.btrace/finish.exp: New.
7595 * gdb.btrace/next.exp: New.
7596 * gdb.btrace/nexti.exp: New.
7597 * gdb.btrace/record_goto.c: Add comments.
7598 * gdb.btrace/step.exp: New.
7599 * gdb.btrace/stepi.exp: New.
7600 * gdb.btrace/multi-thread-step.c: New.
7601 * gdb.btrace/multi-thread-step.exp: New.
7602 * gdb.btrace/rn-dl-bind.c: New.
7603 * gdb.btrace/rn-dl-bind.exp: New.
7604 * gdb.btrace/data.c: New.
7605 * gdb.btrace/data.exp: New.
7606 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7607
6e07b1d2
MM
76082014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7609
7610 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7611 * gdb.btrace/exception.exp: Update.
7612 * gdb.btrace/instruction_history.exp: Update.
7613 * gdb.btrace/record_goto.exp: Update.
7614 * gdb.btrace/tailcall.exp: Update.
7615 * gdb.btrace/unknown_functions.exp: Update.
7616 * gdb.btrace/delta.exp: New.
7617
0b722aec
MM
76182014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7619
7620 * gdb.btrace/record_goto.exp: Add backtrace test.
7621 * gdb.btrace/tailcall.exp: Add backtrace test.
7622
066ce621
MM
76232014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7624
7625 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7626 * gdb.btrace/record_goto.c: New.
7627 * gdb.btrace/record_goto.exp: New.
7628 * gdb.btrace/x86-record_goto.S: New.
7629
0688d04e
MM
76302014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7631
7632 * gdb.btrace/function_call_history.exp: Update tests.
7633 * gdb.btrace/instruction_history.exp: Update tests.
7634
8710b709
MM
76352014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7636
7637 * gdb.btrace/function_call_history.exp: Fix expected field
7638 order for "record function-call-history".
7639 Add new tests for "record function-call-history /c".
7640 * gdb.btrace/exception.cc: New.
7641 * gdb.btrace/exception.exp: New.
7642 * gdb.btrace/tailcall.exp: New.
7643 * gdb.btrace/x86-tailcall.S: New.
7644 * gdb.btrace/x86-tailcall.c: New.
7645 * gdb.btrace/unknown_functions.c: New.
7646 * gdb.btrace/unknown_functions.exp: New.
7647 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7648
5de9129b
MM
76492014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7650
7651 * gdb.btrace/instruction_history.exp: Update.
7652 * gdb.btrace/function_call_history.exp: Update.
7653
23a7fe75
MM
76542014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7655
7656 * gdb.btrace/function_call_history.exp: Fix expected function
7657 trace.
7658 * gdb.btrace/instruction_history.exp: Initialize traced.
7659 Remove traced_functions.
7660
724c7dd8
MM
76612014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7662
7663 * gdb.btrace/function_call_history.exp: Update
7664 * gdb.btrace/instruction_history.exp: Update.
7665
6d78d93b
MM
76662014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7667
7668 * gdb.btrace/enable.exp: Update expected text.
7669
93a360cc
OJ
76702014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7671
7672 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7673 bytes.
7674
3772b53f
MR
76752014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7676
7677 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7678
596662fa
OJ
76792014-01-15 Omair Javaid <omair.javaid@linaro.org>
7680
7681 * lib/gdb.exp (supports_process_record): Return true for
7682 arm*-linux*. (supports_reverse): Likewise.
7683
b5b08fb4
SC
76842014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7685
7686 PR python/15464
7687 PR python/16113
7688 * gdb.python/py-type.c: Enhance test case.
7689 * gdb.python/py-value-cc.cc: Likewise
7690 * gdb.python/py-type.exp: Add new tests.
7691 * gdb.python/py-value-cc.exp: Likewise
7692
52d7fb13
AA
76932014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7694 Pedro Alves <palves@redhat.com>
7695
7696 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7697 Make "name" extern.
7698 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7699 references to ${name}_start by references to ${name}.
7700
a2cd8cfe
JB
77012014-01-10 Joel Brobecker <brobecker@adacore.com>
7702
7703 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7704
4e23fced
JB
77052014-01-10 Joel Brobecker <brobecker@adacore.com>
7706
7707 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7708
c6a9e42c
PA
77092014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7710 Pedro Alves <palves@redhat.com>
7711
7712 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 7713 mi_gdb_target_load.
c6a9e42c 7714
b7ea362b
PA
77152014-01-08 Pedro Alves <palves@redhat.com>
7716
7717 * gdb.threads/reconnect-signal.c: New file.
7718 * gdb.threads/reconnect-signal.exp: New file.
7719
5e3f4fab
EBM
77202014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7721
7722 * gdb.base/source-dir.exp: New file.
7723
79301218
JB
77242014-01-07 Joel Brobecker <brobecker@adacore.com>
7725
7726 * gdb.ada/mi_interface: New testcase.
7727
8e355c5d
JB
77282014-01-07 Joel Brobecker <brobecker@adacore.com>
7729
7730 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7731 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7732 gdb.ada/pp-rec-component/pck.ads: New files.
7733
c0d48811
JB
77342014-01-07 Joel Brobecker <brobecker@adacore.com>
7735
7736 * gdb.python/py-pp-integral.c: New file.
7737 * gdb.python/py-pp-integral.py: New file.
7738 * gdb.python/py-pp-integral.exp: New file.
7739
17b609c3 7740For older changes see ChangeLog-1993-2013.
c906108c 7741\f
8d8cb839
EZ
7742;; Local Variables:
7743;; mode: change-log
7744;; left-margin: 8
7745;; fill-column: 74
7746;; version-control: never
7747;; End:
902f2ccb 7748
618f726f 7749 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
7750 Copying and distribution of this file, with or without modification,
7751 are permitted provided the copyright notice and this notice are preserved.